Skip to content

Commit f4f6f4c

Browse files
feat(apim): update the api
#### apim:v1alpha The following keys were added: - resources.projects.resources.locations.methods.listApiObservationTags (Total Keys: 16) - resources.projects.resources.locations.resources.observationJobs.resources.apiObservations.methods.batchEditTags (Total Keys: 12) - schemas.BatchEditTagsApiObservationsRequest (Total Keys: 4) - schemas.BatchEditTagsApiObservationsResponse (Total Keys: 4) - schemas.EditTagsApiObservationsRequest (Total Keys: 5) - schemas.ListApiObservationTagsResponse (Total Keys: 5) - schemas.TagAction (Total Keys: 4)
1 parent 642222f commit f4f6f4c

6 files changed

+268
-13
lines changed

docs/dyn/apim_v1alpha.projects.locations.html

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ <h2>Instance Methods</h2>
9898
<p class="toc_element">
9999
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100100
<p class="firstline">Lists information about the supported locations for this service.</p>
101+
<p class="toc_element">
102+
<code><a href="#listApiObservationTags">listApiObservationTags(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
103+
<p class="firstline">ListApiObservationTags lists all extant tags on any observation in the given project.</p>
104+
<p class="toc_element">
105+
<code><a href="#listApiObservationTags_next">listApiObservationTags_next()</a></code></p>
106+
<p class="firstline">Retrieves the next page of results.</p>
101107
<p class="toc_element">
102108
<code><a href="#list_next">list_next()</a></code></p>
103109
<p class="firstline">Retrieves the next page of results.</p>
@@ -169,6 +175,44 @@ <h3>Method Details</h3>
169175
}</pre>
170176
</div>
171177

178+
<div class="method">
179+
<code class="details" id="listApiObservationTags">listApiObservationTags(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
180+
<pre>ListApiObservationTags lists all extant tags on any observation in the given project.
181+
182+
Args:
183+
parent: string, Required. The parent, which owns this collection of tags. Format: projects/{project}/locations/{location} (required)
184+
pageSize: integer, Optional. The maximum number of tags to return. The service may return fewer than this value. If unspecified, at most 10 tags will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
185+
pageToken: string, Optional. A page token, received from a previous `ListApiObservationTags` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListApiObservationTags` must match the call that provided the page token.
186+
x__xgafv: string, V1 error format.
187+
Allowed values
188+
1 - v1 error format
189+
2 - v2 error format
190+
191+
Returns:
192+
An object of the form:
193+
194+
{ # Message for response to listing tags
195+
&quot;apiObservationTags&quot;: [ # The tags from the specified project
196+
&quot;A String&quot;,
197+
],
198+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
199+
}</pre>
200+
</div>
201+
202+
<div class="method">
203+
<code class="details" id="listApiObservationTags_next">listApiObservationTags_next()</code>
204+
<pre>Retrieves the next page of results.
205+
206+
Args:
207+
previous_request: The request for the previous page. (required)
208+
previous_response: The response from the request for the previous page. (required)
209+
210+
Returns:
211+
A request object that you can call &#x27;execute()&#x27; on to request the next
212+
page. Returns None if there are no more items in the collection.
213+
</pre>
214+
</div>
215+
172216
<div class="method">
173217
<code class="details" id="list_next">list_next()</code>
174218
<pre>Retrieves the next page of results.

docs/dyn/apim_v1alpha.projects.locations.observationJobs.apiObservations.apiOperations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">GetApiOperation retrieves a single ApiOperation by name.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation</p>
85+
<p class="firstline">ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.</p>
8686
<p class="toc_element">
8787
<code><a href="#list_next">list_next()</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
@@ -154,7 +154,7 @@ <h3>Method Details</h3>
154154

155155
<div class="method">
156156
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
157-
<pre>ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation
157+
<pre>ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.
158158

159159
Args:
160160
parent: string, Required. The parent, which owns this collection of ApiOperations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}/apiObservations/{api_observation} (required)

docs/dyn/apim_v1alpha.projects.locations.observationJobs.apiObservations.html

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the apiOperations Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="#batchEditTags">batchEditTags(parent, body=None, x__xgafv=None)</a></code></p>
84+
<p class="firstline">BatchEditTagsApiObservations adds or removes Tags for ApiObservations.</p>
8285
<p class="toc_element">
8386
<code><a href="#close">close()</a></code></p>
8487
<p class="firstline">Close httplib2 connections.</p>
@@ -87,11 +90,66 @@ <h2>Instance Methods</h2>
8790
<p class="firstline">GetApiObservation retrieves a single ApiObservation by name.</p>
8891
<p class="toc_element">
8992
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90-
<p class="firstline">ListApiObservations gets all ApiObservations for a given project and location and ObservationJob</p>
93+
<p class="firstline">ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.</p>
9194
<p class="toc_element">
9295
<code><a href="#list_next">list_next()</a></code></p>
9396
<p class="firstline">Retrieves the next page of results.</p>
9497
<h3>Method Details</h3>
98+
<div class="method">
99+
<code class="details" id="batchEditTags">batchEditTags(parent, body=None, x__xgafv=None)</code>
100+
<pre>BatchEditTagsApiObservations adds or removes Tags for ApiObservations.
101+
102+
Args:
103+
parent: string, Required. The parent resource shared by all ApiObservations being edited. Format: projects/{project}/locations/{location}/observationJobs/{observation_job} (required)
104+
body: object, The request body.
105+
The object takes the form of:
106+
107+
{ # Message for requesting batch edit tags for ApiObservations
108+
&quot;requests&quot;: [ # Required. The request message specifying the resources to update. A maximum of 1000 apiObservations can be modified in a batch.
109+
{ # Message for requesting edit tags for ApiObservation
110+
&quot;apiObservationId&quot;: &quot;A String&quot;, # Required. Identifier of ApiObservation need to be edit tags Format example: &quot;apigee.googleapis.com|us-west1|443&quot;
111+
&quot;tagActions&quot;: [ # Required. Tag actions to be applied
112+
{ # Message for edit tag action
113+
&quot;action&quot;: &quot;A String&quot;, # Required. Action to be applied
114+
&quot;tag&quot;: &quot;A String&quot;, # Required. Tag to be added or removed
115+
},
116+
],
117+
},
118+
],
119+
}
120+
121+
x__xgafv: string, V1 error format.
122+
Allowed values
123+
1 - v1 error format
124+
2 - v2 error format
125+
126+
Returns:
127+
An object of the form:
128+
129+
{ # Message for response to edit Tags for ApiObservations
130+
&quot;apiObservations&quot;: [ # ApiObservations that were changed
131+
{ # Message describing ApiObservation object
132+
&quot;apiOperationCount&quot;: &quot;A String&quot;, # The number of observed API Operations.
133+
&quot;createTime&quot;: &quot;A String&quot;, # Create time stamp
134+
&quot;hostname&quot;: &quot;A String&quot;, # The hostname of requests processed for this Observation.
135+
&quot;lastEventDetectedTime&quot;: &quot;A String&quot;, # Last event detected time stamp
136+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Name of resource
137+
&quot;serverIps&quot;: [ # The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: `&quot;192.168.1.1&quot;`, `&quot;10.0.0.1:80&quot;`, `&quot;FE80::0202:B3FF:FE1E:8329&quot;`.
138+
&quot;A String&quot;,
139+
],
140+
&quot;sourceLocations&quot;: [ # Location of the Observation Source, for example &quot;us-central1&quot; or &quot;europe-west1.&quot;
141+
&quot;A String&quot;,
142+
],
143+
&quot;style&quot;: &quot;A String&quot;, # Style of ApiObservation
144+
&quot;tags&quot;: [ # User-defined tags to organize and sort
145+
&quot;A String&quot;,
146+
],
147+
&quot;updateTime&quot;: &quot;A String&quot;, # Update time stamp
148+
},
149+
],
150+
}</pre>
151+
</div>
152+
95153
<div class="method">
96154
<code class="details" id="close">close()</code>
97155
<pre>Close httplib2 connections.</pre>
@@ -133,7 +191,7 @@ <h3>Method Details</h3>
133191

134192
<div class="method">
135193
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
136-
<pre>ListApiObservations gets all ApiObservations for a given project and location and ObservationJob
194+
<pre>ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.
137195

138196
Args:
139197
parent: string, Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job} (required)

docs/dyn/apim_v1alpha.projects.locations.observationJobs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2>Instance Methods</h2>
9999
<p class="firstline">GetObservationJob retrieves a single ObservationJob by name.</p>
100100
<p class="toc_element">
101101
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
102-
<p class="firstline">ListObservationJobs gets all ObservationJobs for a given project and location</p>
102+
<p class="firstline">ListObservationJobs gets all ObservationJobs for a given project and location.</p>
103103
<p class="toc_element">
104104
<code><a href="#list_next">list_next()</a></code></p>
105105
<p class="firstline">Retrieves the next page of results.</p>
@@ -303,7 +303,7 @@ <h3>Method Details</h3>
303303

304304
<div class="method">
305305
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
306-
<pre>ListObservationJobs gets all ObservationJobs for a given project and location
306+
<pre>ListObservationJobs gets all ObservationJobs for a given project and location.
307307

308308
Args:
309309
parent: string, Required. The parent, which owns this collection of ObservationJobs. Format: projects/{project}/locations/{location} (required)

docs/dyn/apim_v1alpha.projects.locations.observationSources.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
8888
<p class="firstline">GetObservationSource retrieves a single ObservationSource by name.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">ListObservationSources gets all ObservationSources for a given project and location</p>
91+
<p class="firstline">ListObservationSources gets all ObservationSources for a given project and location.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
@@ -220,7 +220,7 @@ <h3>Method Details</h3>
220220

221221
<div class="method">
222222
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
223-
<pre>ListObservationSources gets all ObservationSources for a given project and location
223+
<pre>ListObservationSources gets all ObservationSources for a given project and location.
224224

225225
Args:
226226
parent: string, Required. The parent, which owns this collection of ObservationSources. Format: projects/{project}/locations/{location} (required)

0 commit comments

Comments
 (0)