You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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
+
"apiObservationTags": [ # The tags from the specified project
196
+
"A String",
197
+
],
198
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
<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.
158
158
159
159
Args:
160
160
parent: string, Required. The parent, which owns this collection of ApiOperations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}/apiObservations/{api_observation} (required)
<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
+
"requests": [ # 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
+
"apiObservationId": "A String", # Required. Identifier of ApiObservation need to be edit tags Format example: "apigee.googleapis.com|us-west1|443"
111
+
"tagActions": [ # Required. Tag actions to be applied
112
+
{ # Message for edit tag action
113
+
"action": "A String", # Required. Action to be applied
114
+
"tag": "A String", # 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
+
"apiObservations": [ # ApiObservations that were changed
131
+
{ # Message describing ApiObservation object
132
+
"apiOperationCount": "A String", # The number of observed API Operations.
133
+
"createTime": "A String", # Create time stamp
134
+
"hostname": "A String", # The hostname of requests processed for this Observation.
135
+
"lastEventDetectedTime": "A String", # Last event detected time stamp
136
+
"name": "A String", # Identifier. Name of resource
137
+
"serverIps": [ # The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
138
+
"A String",
139
+
],
140
+
"sourceLocations": [ # Location of the Observation Source, for example "us-central1" or "europe-west1."
141
+
"A String",
142
+
],
143
+
"style": "A String", # Style of ApiObservation
144
+
"tags": [ # User-defined tags to organize and sort
145
+
"A String",
146
+
],
147
+
"updateTime": "A String", # Update time stamp
<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.
137
195
138
196
Args:
139
197
parent: string, Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job} (required)
0 commit comments