OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/monitoring": { | |
6 "description": "View and write monitoring data for all of yo
ur Google and third-party Cloud and API projects" | |
7 }, | |
8 "https://www.googleapis.com/auth/monitoring.write": { | 5 "https://www.googleapis.com/auth/monitoring.write": { |
9 "description": "Publish metric data to your Google Cloud pro
jects" | 6 "description": "Publish metric data to your Google Cloud pro
jects" |
10 }, | 7 }, |
11 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
12 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
13 }, | 10 }, |
14 "https://www.googleapis.com/auth/monitoring.read": { | 11 "https://www.googleapis.com/auth/monitoring.read": { |
15 "description": "View monitoring data for all of your Google
Cloud and third-party projects" | 12 "description": "View monitoring data for all of your Google
Cloud and third-party projects" |
| 13 }, |
| 14 "https://www.googleapis.com/auth/monitoring": { |
| 15 "description": "View and write monitoring data for all of yo
ur Google and third-party Cloud and API projects" |
16 } | 16 } |
17 } | 17 } |
18 } | 18 } |
19 }, | 19 }, |
20 "basePath": "", | 20 "basePath": "", |
21 "baseUrl": "https://monitoring.googleapis.com/", | 21 "baseUrl": "https://monitoring.googleapis.com/", |
22 "batchPath": "batch", | 22 "batchPath": "batch", |
23 "canonicalName": "Monitoring", | 23 "canonicalName": "Monitoring", |
24 "description": "Manages your Stackdriver Monitoring data and configurations.
Most projects must be associated with a Stackdriver account, with a few excepti
ons as noted on the individual method pages.", | 24 "description": "Manages your Stackdriver Monitoring data and configurations.
Most projects must be associated with a Stackdriver account, with a few excepti
ons as noted on the individual method pages.", |
25 "discoveryVersion": "v1", | 25 "discoveryVersion": "v1", |
26 "documentationLink": "https://cloud.google.com/monitoring/api/", | 26 "documentationLink": "https://cloud.google.com/monitoring/api/", |
27 "icons": { | 27 "icons": { |
28 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 28 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
29 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 29 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
30 }, | 30 }, |
31 "id": "monitoring:v3", | 31 "id": "monitoring:v3", |
32 "kind": "discovery#restDescription", | 32 "kind": "discovery#restDescription", |
33 "name": "monitoring", | 33 "name": "monitoring", |
34 "ownerDomain": "google.com", | 34 "ownerDomain": "google.com", |
35 "ownerName": "Google", | 35 "ownerName": "Google", |
36 "parameters": { | 36 "parameters": { |
37 "quotaUser": { | 37 "fields": { |
38 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 38 "description": "Selector specifying which fields to include in a par
tial response.", |
39 "location": "query", | 39 "location": "query", |
40 "type": "string" | 40 "type": "string" |
41 }, | 41 }, |
42 "pp": { | |
43 "default": "true", | |
44 "description": "Pretty-print response.", | |
45 "location": "query", | |
46 "type": "boolean" | |
47 }, | |
48 "bearer_token": { | |
49 "description": "OAuth bearer token.", | |
50 "location": "query", | |
51 "type": "string" | |
52 }, | |
53 "oauth_token": { | |
54 "description": "OAuth 2.0 token for the current user.", | |
55 "location": "query", | |
56 "type": "string" | |
57 }, | |
58 "upload_protocol": { | |
59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
60 "location": "query", | |
61 "type": "string" | |
62 }, | |
63 "prettyPrint": { | |
64 "default": "true", | |
65 "description": "Returns response with indentations and line breaks."
, | |
66 "location": "query", | |
67 "type": "boolean" | |
68 }, | |
69 "uploadType": { | 42 "uploadType": { |
70 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
71 "location": "query", | 44 "location": "query", |
72 "type": "string" | 45 "type": "string" |
73 }, | 46 }, |
74 "fields": { | |
75 "description": "Selector specifying which fields to include in a par
tial response.", | |
76 "location": "query", | |
77 "type": "string" | |
78 }, | |
79 "callback": { | 47 "callback": { |
80 "description": "JSONP", | 48 "description": "JSONP", |
81 "location": "query", | 49 "location": "query", |
82 "type": "string" | 50 "type": "string" |
83 }, | 51 }, |
84 "$.xgafv": { | 52 "$.xgafv": { |
85 "description": "V1 error format.", | 53 "description": "V1 error format.", |
86 "enum": [ | 54 "enum": [ |
87 "1", | 55 "1", |
88 "2" | 56 "2" |
(...skipping 14 matching lines...) Expand all Loading... |
103 "proto" | 71 "proto" |
104 ], | 72 ], |
105 "enumDescriptions": [ | 73 "enumDescriptions": [ |
106 "Responses with Content-Type of application/json", | 74 "Responses with Content-Type of application/json", |
107 "Media download with context-dependent Content-Type", | 75 "Media download with context-dependent Content-Type", |
108 "Responses with Content-Type of application/x-protobuf" | 76 "Responses with Content-Type of application/x-protobuf" |
109 ], | 77 ], |
110 "location": "query", | 78 "location": "query", |
111 "type": "string" | 79 "type": "string" |
112 }, | 80 }, |
| 81 "access_token": { |
| 82 "description": "OAuth access token.", |
| 83 "location": "query", |
| 84 "type": "string" |
| 85 }, |
113 "key": { | 86 "key": { |
114 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 87 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
115 "location": "query", | 88 "location": "query", |
116 "type": "string" | 89 "type": "string" |
117 }, | 90 }, |
118 "access_token": { | 91 "quotaUser": { |
119 "description": "OAuth access token.", | 92 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
120 "location": "query", | 93 "location": "query", |
121 "type": "string" | 94 "type": "string" |
| 95 }, |
| 96 "pp": { |
| 97 "default": "true", |
| 98 "description": "Pretty-print response.", |
| 99 "location": "query", |
| 100 "type": "boolean" |
| 101 }, |
| 102 "bearer_token": { |
| 103 "description": "OAuth bearer token.", |
| 104 "location": "query", |
| 105 "type": "string" |
| 106 }, |
| 107 "oauth_token": { |
| 108 "description": "OAuth 2.0 token for the current user.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "upload_protocol": { |
| 113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 114 "location": "query", |
| 115 "type": "string" |
| 116 }, |
| 117 "prettyPrint": { |
| 118 "default": "true", |
| 119 "description": "Returns response with indentations and line breaks."
, |
| 120 "location": "query", |
| 121 "type": "boolean" |
122 } | 122 } |
123 }, | 123 }, |
124 "protocol": "rest", | 124 "protocol": "rest", |
125 "resources": { | 125 "resources": { |
126 "projects": { | 126 "projects": { |
127 "resources": { | 127 "resources": { |
128 "metricDescriptors": { | 128 "groups": { |
129 "methods": { | 129 "methods": { |
130 "list": { | 130 "delete": { |
131 "description": "Lists metric descriptors that match
a filter. This method does not require a Stackdriver account.", | 131 "description": "Deletes an existing group.", |
132 "httpMethod": "GET", | 132 "httpMethod": "DELETE", |
133 "id": "monitoring.projects.metricDescriptors.list", | 133 "id": "monitoring.projects.groups.delete", |
134 "parameterOrder": [ | 134 "parameterOrder": [ |
135 "name" | 135 "name" |
136 ], | 136 ], |
137 "parameters": { | 137 "parameters": { |
138 "name": { | 138 "name": { |
139 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", | 139 "description": "The group to delete. The for
mat is \"projects/{project_id_or_number}/groups/{group_id}\".", |
140 "location": "path", | 140 "location": "path", |
141 "pattern": "^projects/[^/]+$", | 141 "pattern": "^projects/[^/]+/groups/[^/]+$", |
142 "required": true, | 142 "required": true, |
143 "type": "string" | 143 "type": "string" |
| 144 } |
| 145 }, |
| 146 "path": "v3/{+name}", |
| 147 "response": { |
| 148 "$ref": "Empty" |
| 149 }, |
| 150 "scopes": [ |
| 151 "https://www.googleapis.com/auth/cloud-platform"
, |
| 152 "https://www.googleapis.com/auth/monitoring" |
| 153 ] |
| 154 }, |
| 155 "list": { |
| 156 "description": "Lists the existing groups.", |
| 157 "httpMethod": "GET", |
| 158 "id": "monitoring.projects.groups.list", |
| 159 "parameterOrder": [ |
| 160 "name" |
| 161 ], |
| 162 "parameters": { |
| 163 "childrenOfGroup": { |
| 164 "description": "A group name: \"projects/{pr
oject_id_or_number}/groups/{group_id}\". Returns groups whose parentName field c
ontains the group name. If no groups have this parent, the results are empty.", |
| 165 "location": "query", |
| 166 "type": "string" |
| 167 }, |
| 168 "descendantsOfGroup": { |
| 169 "description": "A group name: \"projects/{pr
oject_id_or_number}/groups/{group_id}\". Returns the descendants of the specifie
d group. This is a superset of the results returned by the childrenOfGroup filte
r, and includes children-of-children, and so forth.", |
| 170 "location": "query", |
| 171 "type": "string" |
144 }, | 172 }, |
145 "pageToken": { | 173 "pageToken": { |
146 "description": "If this field is not empty t
hen it must contain the nextPageToken value returned by a previous call to this
method. Using this field causes the method to return additional results from the
previous method call.", | 174 "description": "If this field is not empty t
hen it must contain the nextPageToken value returned by a previous call to this
method. Using this field causes the method to return additional results from the
previous method call.", |
147 "location": "query", | 175 "location": "query", |
148 "type": "string" | 176 "type": "string" |
149 }, | 177 }, |
150 "pageSize": { | 178 "pageSize": { |
151 "description": "A positive number that is th
e maximum number of results to return.", | 179 "description": "A positive number that is th
e maximum number of results to return.", |
152 "format": "int32", | 180 "format": "int32", |
153 "location": "query", | 181 "location": "query", |
154 "type": "integer" | 182 "type": "integer" |
155 }, | 183 }, |
156 "filter": { | |
157 "description": "If this field is empty, all
custom and system-defined metric descriptors are returned. Otherwise, the filter
specifies which metric descriptors are to be returned. For example, the followi
ng filter matches all custom metrics:\nmetric.type = starts_with(\"custom.google
apis.com/\")\n", | |
158 "location": "query", | |
159 "type": "string" | |
160 } | |
161 }, | |
162 "path": "v3/{+name}/metricDescriptors", | |
163 "response": { | |
164 "$ref": "ListMetricDescriptorsResponse" | |
165 }, | |
166 "scopes": [ | |
167 "https://www.googleapis.com/auth/cloud-platform"
, | |
168 "https://www.googleapis.com/auth/monitoring", | |
169 "https://www.googleapis.com/auth/monitoring.read
", | |
170 "https://www.googleapis.com/auth/monitoring.writ
e" | |
171 ] | |
172 }, | |
173 "get": { | |
174 "description": "Gets a single metric descriptor. Thi
s method does not require a Stackdriver account.", | |
175 "httpMethod": "GET", | |
176 "id": "monitoring.projects.metricDescriptors.get", | |
177 "parameterOrder": [ | |
178 "name" | |
179 ], | |
180 "parameters": { | |
181 "name": { | |
182 "description": "The metric descriptor on whi
ch to execute the request. The format is \"projects/{project_id_or_number}/metri
cDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googlea
pis.com/instance/disk/read_bytes_count\".", | |
183 "location": "path", | |
184 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", | |
185 "required": true, | |
186 "type": "string" | |
187 } | |
188 }, | |
189 "path": "v3/{+name}", | |
190 "response": { | |
191 "$ref": "MetricDescriptor" | |
192 }, | |
193 "scopes": [ | |
194 "https://www.googleapis.com/auth/cloud-platform"
, | |
195 "https://www.googleapis.com/auth/monitoring", | |
196 "https://www.googleapis.com/auth/monitoring.read
", | |
197 "https://www.googleapis.com/auth/monitoring.writ
e" | |
198 ] | |
199 }, | |
200 "create": { | |
201 "description": "Creates a new metric descriptor. Use
r-created metric descriptors define custom metrics.", | |
202 "httpMethod": "POST", | |
203 "id": "monitoring.projects.metricDescriptors.create"
, | |
204 "parameterOrder": [ | |
205 "name" | |
206 ], | |
207 "parameters": { | |
208 "name": { | |
209 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", | |
210 "location": "path", | |
211 "pattern": "^projects/[^/]+$", | |
212 "required": true, | |
213 "type": "string" | |
214 } | |
215 }, | |
216 "path": "v3/{+name}/metricDescriptors", | |
217 "request": { | |
218 "$ref": "MetricDescriptor" | |
219 }, | |
220 "response": { | |
221 "$ref": "MetricDescriptor" | |
222 }, | |
223 "scopes": [ | |
224 "https://www.googleapis.com/auth/cloud-platform"
, | |
225 "https://www.googleapis.com/auth/monitoring", | |
226 "https://www.googleapis.com/auth/monitoring.writ
e" | |
227 ] | |
228 }, | |
229 "delete": { | |
230 "description": "Deletes a metric descriptor. Only us
er-created custom metrics can be deleted.", | |
231 "httpMethod": "DELETE", | |
232 "id": "monitoring.projects.metricDescriptors.delete"
, | |
233 "parameterOrder": [ | |
234 "name" | |
235 ], | |
236 "parameters": { | |
237 "name": { | |
238 "description": "The metric descriptor on whi
ch to execute the request. The format is \"projects/{project_id_or_number}/metri
cDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.co
m/my_test_metric\".", | |
239 "location": "path", | |
240 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", | |
241 "required": true, | |
242 "type": "string" | |
243 } | |
244 }, | |
245 "path": "v3/{+name}", | |
246 "response": { | |
247 "$ref": "Empty" | |
248 }, | |
249 "scopes": [ | |
250 "https://www.googleapis.com/auth/cloud-platform"
, | |
251 "https://www.googleapis.com/auth/monitoring" | |
252 ] | |
253 } | |
254 } | |
255 }, | |
256 "monitoredResourceDescriptors": { | |
257 "methods": { | |
258 "list": { | |
259 "description": "Lists monitored resource descriptors
that match a filter. This method does not require a Stackdriver account.", | |
260 "httpMethod": "GET", | |
261 "id": "monitoring.projects.monitoredResourceDescript
ors.list", | |
262 "parameterOrder": [ | |
263 "name" | |
264 ], | |
265 "parameters": { | |
266 "filter": { | |
267 "description": "An optional filter describin
g the descriptors to be returned. The filter can reference the descriptor's type
and labels. For example, the following filter returns only Google Compute Engin
e descriptors that have an id label:\nresource.type = starts_with(\"gce_\") AND
resource.label:id\n", | |
268 "location": "query", | |
269 "type": "string" | |
270 }, | |
271 "name": { | |
272 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", | |
273 "location": "path", | |
274 "pattern": "^projects/[^/]+$", | |
275 "required": true, | |
276 "type": "string" | |
277 }, | |
278 "pageToken": { | |
279 "description": "If this field is not empty t
hen it must contain the nextPageToken value returned by a previous call to this
method. Using this field causes the method to return additional results from the
previous method call.", | |
280 "location": "query", | |
281 "type": "string" | |
282 }, | |
283 "pageSize": { | |
284 "description": "A positive number that is th
e maximum number of results to return.", | |
285 "format": "int32", | |
286 "location": "query", | |
287 "type": "integer" | |
288 } | |
289 }, | |
290 "path": "v3/{+name}/monitoredResourceDescriptors", | |
291 "response": { | |
292 "$ref": "ListMonitoredResourceDescriptorsRespons
e" | |
293 }, | |
294 "scopes": [ | |
295 "https://www.googleapis.com/auth/cloud-platform"
, | |
296 "https://www.googleapis.com/auth/monitoring", | |
297 "https://www.googleapis.com/auth/monitoring.read
", | |
298 "https://www.googleapis.com/auth/monitoring.writ
e" | |
299 ] | |
300 }, | |
301 "get": { | |
302 "description": "Gets a single monitored resource des
criptor. This method does not require a Stackdriver account.", | |
303 "httpMethod": "GET", | |
304 "id": "monitoring.projects.monitoredResourceDescript
ors.get", | |
305 "parameterOrder": [ | |
306 "name" | |
307 ], | |
308 "parameters": { | |
309 "name": { | |
310 "description": "The monitored resource descr
iptor to get. The format is \"projects/{project_id_or_number}/monitoredResourceD
escriptors/{resource_type}\". The {resource_type} is a predefined type, such as
cloudsql_database.", | |
311 "location": "path", | |
312 "pattern": "^projects/[^/]+/monitoredResourc
eDescriptors/[^/]+$", | |
313 "required": true, | |
314 "type": "string" | |
315 } | |
316 }, | |
317 "path": "v3/{+name}", | |
318 "response": { | |
319 "$ref": "MonitoredResourceDescriptor" | |
320 }, | |
321 "scopes": [ | |
322 "https://www.googleapis.com/auth/cloud-platform"
, | |
323 "https://www.googleapis.com/auth/monitoring", | |
324 "https://www.googleapis.com/auth/monitoring.read
", | |
325 "https://www.googleapis.com/auth/monitoring.writ
e" | |
326 ] | |
327 } | |
328 } | |
329 }, | |
330 "groups": { | |
331 "methods": { | |
332 "delete": { | |
333 "description": "Deletes an existing group.", | |
334 "httpMethod": "DELETE", | |
335 "id": "monitoring.projects.groups.delete", | |
336 "parameterOrder": [ | |
337 "name" | |
338 ], | |
339 "parameters": { | |
340 "name": { | |
341 "description": "The group to delete. The for
mat is \"projects/{project_id_or_number}/groups/{group_id}\".", | |
342 "location": "path", | |
343 "pattern": "^projects/[^/]+/groups/[^/]+$", | |
344 "required": true, | |
345 "type": "string" | |
346 } | |
347 }, | |
348 "path": "v3/{+name}", | |
349 "response": { | |
350 "$ref": "Empty" | |
351 }, | |
352 "scopes": [ | |
353 "https://www.googleapis.com/auth/cloud-platform"
, | |
354 "https://www.googleapis.com/auth/monitoring" | |
355 ] | |
356 }, | |
357 "list": { | |
358 "description": "Lists the existing groups.", | |
359 "httpMethod": "GET", | |
360 "id": "monitoring.projects.groups.list", | |
361 "parameterOrder": [ | |
362 "name" | |
363 ], | |
364 "parameters": { | |
365 "name": { | |
366 "description": "The project whose groups are
to be listed. The format is \"projects/{project_id_or_number}\".", | |
367 "location": "path", | |
368 "pattern": "^projects/[^/]+$", | |
369 "required": true, | |
370 "type": "string" | |
371 }, | |
372 "childrenOfGroup": { | |
373 "description": "A group name: \"projects/{pr
oject_id_or_number}/groups/{group_id}\". Returns groups whose parentName field c
ontains the group name. If no groups have this parent, the results are empty.", | |
374 "location": "query", | |
375 "type": "string" | |
376 }, | |
377 "descendantsOfGroup": { | |
378 "description": "A group name: \"projects/{pr
oject_id_or_number}/groups/{group_id}\". Returns the descendants of the specifie
d group. This is a superset of the results returned by the childrenOfGroup filte
r, and includes children-of-children, and so forth.", | |
379 "location": "query", | |
380 "type": "string" | |
381 }, | |
382 "pageToken": { | |
383 "description": "If this field is not empty t
hen it must contain the nextPageToken value returned by a previous call to this
method. Using this field causes the method to return additional results from the
previous method call.", | |
384 "location": "query", | |
385 "type": "string" | |
386 }, | |
387 "pageSize": { | |
388 "description": "A positive number that is th
e maximum number of results to return.", | |
389 "format": "int32", | |
390 "location": "query", | |
391 "type": "integer" | |
392 }, | |
393 "ancestorsOfGroup": { | 184 "ancestorsOfGroup": { |
394 "description": "A group name: \"projects/{pr
oject_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of th
e specified group. The groups are returned in order, starting with the immediate
parent and ending with the most distant ancestor. If the specified group has no
immediate parent, the results are empty.", | 185 "description": "A group name: \"projects/{pr
oject_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of th
e specified group. The groups are returned in order, starting with the immediate
parent and ending with the most distant ancestor. If the specified group has no
immediate parent, the results are empty.", |
395 "location": "query", | 186 "location": "query", |
396 "type": "string" | 187 "type": "string" |
| 188 }, |
| 189 "name": { |
| 190 "description": "The project whose groups are
to be listed. The format is \"projects/{project_id_or_number}\".", |
| 191 "location": "path", |
| 192 "pattern": "^projects/[^/]+$", |
| 193 "required": true, |
| 194 "type": "string" |
397 } | 195 } |
398 }, | 196 }, |
399 "path": "v3/{+name}/groups", | 197 "path": "v3/{+name}/groups", |
400 "response": { | 198 "response": { |
401 "$ref": "ListGroupsResponse" | 199 "$ref": "ListGroupsResponse" |
402 }, | 200 }, |
403 "scopes": [ | 201 "scopes": [ |
404 "https://www.googleapis.com/auth/cloud-platform"
, | 202 "https://www.googleapis.com/auth/cloud-platform"
, |
405 "https://www.googleapis.com/auth/monitoring", | 203 "https://www.googleapis.com/auth/monitoring", |
406 "https://www.googleapis.com/auth/monitoring.read
" | 204 "https://www.googleapis.com/auth/monitoring.read
" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 "timeSeries": { | 394 "timeSeries": { |
597 "methods": { | 395 "methods": { |
598 "list": { | 396 "list": { |
599 "description": "Lists time series that match a filte
r. This method does not require a Stackdriver account.", | 397 "description": "Lists time series that match a filte
r. This method does not require a Stackdriver account.", |
600 "httpMethod": "GET", | 398 "httpMethod": "GET", |
601 "id": "monitoring.projects.timeSeries.list", | 399 "id": "monitoring.projects.timeSeries.list", |
602 "parameterOrder": [ | 400 "parameterOrder": [ |
603 "name" | 401 "name" |
604 ], | 402 ], |
605 "parameters": { | 403 "parameters": { |
606 "name": { | |
607 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", | |
608 "location": "path", | |
609 "pattern": "^projects/[^/]+$", | |
610 "required": true, | |
611 "type": "string" | |
612 }, | |
613 "aggregation.groupByFields": { | |
614 "description": "The set of fields to preserv
e when crossSeriesReducer is specified. The groupByFields determine how the time
series are partitioned into subsets prior to applying the aggregation function.
Each subset contains time series that have the same value for each of the group
ing fields. Each individual time series is a member of exactly one subset. The c
rossSeriesReducer is applied to each subset of time series. It is not possible t
o reduce across different resource types, so this field implicitly contains reso
urce.type. Fields not specified in groupByFields are aggregated away. If groupBy
Fields is not specified and all the time series have the same resource type, the
n the time series are aggregated into a single output time series. If crossSerie
sReducer is not defined, this field is ignored.", | |
615 "location": "query", | |
616 "repeated": true, | |
617 "type": "string" | |
618 }, | |
619 "interval.endTime": { | |
620 "description": "Required. The end of the tim
e interval.", | |
621 "format": "google-datetime", | |
622 "location": "query", | |
623 "type": "string" | |
624 }, | |
625 "aggregation.alignmentPeriod": { | |
626 "description": "The alignment period for per
-time series alignment. If present, alignmentPeriod must be at least 60 seconds.
After per-time series alignment, each time series will contain data points only
on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_
NONE, then this field is ignored. If perSeriesAligner is specified and does not
equal ALIGN_NONE, then this field must be defined; otherwise an error is returne
d.", | |
627 "format": "google-duration", | |
628 "location": "query", | |
629 "type": "string" | |
630 }, | |
631 "pageSize": { | |
632 "description": "A positive number that is th
e maximum number of results to return. When view field sets to FULL, it limits t
he number of Points server will return; if view field is HEADERS, it limits the
number of TimeSeries server will return.", | |
633 "format": "int32", | |
634 "location": "query", | |
635 "type": "integer" | |
636 }, | |
637 "orderBy": { | 404 "orderBy": { |
638 "description": "Specifies the order in which
the points of the time series should be returned. By default, results are not o
rdered. Currently, this field must be left blank.", | 405 "description": "Specifies the order in which
the points of the time series should be returned. By default, results are not o
rdered. Currently, this field must be left blank.", |
639 "location": "query", | 406 "location": "query", |
640 "type": "string" | 407 "type": "string" |
641 }, | 408 }, |
642 "aggregation.crossSeriesReducer": { | 409 "aggregation.crossSeriesReducer": { |
643 "description": "The approach to be used to c
ombine time series. Not all reducer functions may be applied to all time series,
depending on the metric type and the value type of the original time series. Re
duction may change the metric type of value type of the time series.Time series
data must be aligned in order to perform cross-time series reduction. If crossSe
riesReducer is specified, then perSeriesAligner must be specified and not equal
ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne
d.", | 410 "description": "The approach to be used to c
ombine time series. Not all reducer functions may be applied to all time series,
depending on the metric type and the value type of the original time series. Re
duction may change the metric type of value type of the time series.Time series
data must be aligned in order to perform cross-time series reduction. If crossSe
riesReducer is specified, then perSeriesAligner must be specified and not equal
ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne
d.", |
644 "enum": [ | 411 "enum": [ |
645 "REDUCE_NONE", | 412 "REDUCE_NONE", |
646 "REDUCE_MEAN", | 413 "REDUCE_MEAN", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 "type": "string" | 467 "type": "string" |
701 }, | 468 }, |
702 "view": { | 469 "view": { |
703 "description": "Specifies which information
is returned about the time series.", | 470 "description": "Specifies which information
is returned about the time series.", |
704 "enum": [ | 471 "enum": [ |
705 "FULL", | 472 "FULL", |
706 "HEADERS" | 473 "HEADERS" |
707 ], | 474 ], |
708 "location": "query", | 475 "location": "query", |
709 "type": "string" | 476 "type": "string" |
| 477 }, |
| 478 "secondaryAggregation.crossSeriesReducer": { |
| 479 "description": "The approach to be used to c
ombine time series. Not all reducer functions may be applied to all time series,
depending on the metric type and the value type of the original time series. Re
duction may change the metric type of value type of the time series.Time series
data must be aligned in order to perform cross-time series reduction. If crossSe
riesReducer is specified, then perSeriesAligner must be specified and not equal
ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne
d.", |
| 480 "enum": [ |
| 481 "REDUCE_NONE", |
| 482 "REDUCE_MEAN", |
| 483 "REDUCE_MIN", |
| 484 "REDUCE_MAX", |
| 485 "REDUCE_SUM", |
| 486 "REDUCE_STDDEV", |
| 487 "REDUCE_COUNT", |
| 488 "REDUCE_COUNT_TRUE", |
| 489 "REDUCE_FRACTION_TRUE", |
| 490 "REDUCE_PERCENTILE_99", |
| 491 "REDUCE_PERCENTILE_95", |
| 492 "REDUCE_PERCENTILE_50", |
| 493 "REDUCE_PERCENTILE_05" |
| 494 ], |
| 495 "location": "query", |
| 496 "type": "string" |
| 497 }, |
| 498 "secondaryAggregation.groupByFields": { |
| 499 "description": "The set of fields to preserv
e when crossSeriesReducer is specified. The groupByFields determine how the time
series are partitioned into subsets prior to applying the aggregation function.
Each subset contains time series that have the same value for each of the group
ing fields. Each individual time series is a member of exactly one subset. The c
rossSeriesReducer is applied to each subset of time series. It is not possible t
o reduce across different resource types, so this field implicitly contains reso
urce.type. Fields not specified in groupByFields are aggregated away. If groupBy
Fields is not specified and all the time series have the same resource type, the
n the time series are aggregated into a single output time series. If crossSerie
sReducer is not defined, this field is ignored.", |
| 500 "location": "query", |
| 501 "repeated": true, |
| 502 "type": "string" |
| 503 }, |
| 504 "name": { |
| 505 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
| 506 "location": "path", |
| 507 "pattern": "^projects/[^/]+$", |
| 508 "required": true, |
| 509 "type": "string" |
| 510 }, |
| 511 "aggregation.groupByFields": { |
| 512 "description": "The set of fields to preserv
e when crossSeriesReducer is specified. The groupByFields determine how the time
series are partitioned into subsets prior to applying the aggregation function.
Each subset contains time series that have the same value for each of the group
ing fields. Each individual time series is a member of exactly one subset. The c
rossSeriesReducer is applied to each subset of time series. It is not possible t
o reduce across different resource types, so this field implicitly contains reso
urce.type. Fields not specified in groupByFields are aggregated away. If groupBy
Fields is not specified and all the time series have the same resource type, the
n the time series are aggregated into a single output time series. If crossSerie
sReducer is not defined, this field is ignored.", |
| 513 "location": "query", |
| 514 "repeated": true, |
| 515 "type": "string" |
| 516 }, |
| 517 "interval.endTime": { |
| 518 "description": "Required. The end of the tim
e interval.", |
| 519 "format": "google-datetime", |
| 520 "location": "query", |
| 521 "type": "string" |
| 522 }, |
| 523 "aggregation.alignmentPeriod": { |
| 524 "description": "The alignment period for per
-time series alignment. If present, alignmentPeriod must be at least 60 seconds.
After per-time series alignment, each time series will contain data points only
on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_
NONE, then this field is ignored. If perSeriesAligner is specified and does not
equal ALIGN_NONE, then this field must be defined; otherwise an error is returne
d.", |
| 525 "format": "google-duration", |
| 526 "location": "query", |
| 527 "type": "string" |
| 528 }, |
| 529 "secondaryAggregation.alignmentPeriod": { |
| 530 "description": "The alignment period for per
-time series alignment. If present, alignmentPeriod must be at least 60 seconds.
After per-time series alignment, each time series will contain data points only
on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_
NONE, then this field is ignored. If perSeriesAligner is specified and does not
equal ALIGN_NONE, then this field must be defined; otherwise an error is returne
d.", |
| 531 "format": "google-duration", |
| 532 "location": "query", |
| 533 "type": "string" |
| 534 }, |
| 535 "pageSize": { |
| 536 "description": "A positive number that is th
e maximum number of results to return. When view field sets to FULL, it limits t
he number of Points server will return; if view field is HEADERS, it limits the
number of TimeSeries server will return.", |
| 537 "format": "int32", |
| 538 "location": "query", |
| 539 "type": "integer" |
| 540 }, |
| 541 "secondaryAggregation.perSeriesAligner": { |
| 542 "description": "The approach to be used to a
lign individual time series. Not all alignment functions may be applied to all t
ime series, depending on the metric type and value type of the original time ser
ies. Alignment may change the metric type or the value type of the time series.T
ime series data must be aligned in order to perform cross-time series reduction.
If crossSeriesReducer is specified, then perSeriesAligner must be specified and
not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error
is returned.", |
| 543 "enum": [ |
| 544 "ALIGN_NONE", |
| 545 "ALIGN_DELTA", |
| 546 "ALIGN_RATE", |
| 547 "ALIGN_INTERPOLATE", |
| 548 "ALIGN_NEXT_OLDER", |
| 549 "ALIGN_MIN", |
| 550 "ALIGN_MAX", |
| 551 "ALIGN_MEAN", |
| 552 "ALIGN_COUNT", |
| 553 "ALIGN_SUM", |
| 554 "ALIGN_STDDEV", |
| 555 "ALIGN_COUNT_TRUE", |
| 556 "ALIGN_FRACTION_TRUE", |
| 557 "ALIGN_PERCENTILE_99", |
| 558 "ALIGN_PERCENTILE_95", |
| 559 "ALIGN_PERCENTILE_50", |
| 560 "ALIGN_PERCENTILE_05" |
| 561 ], |
| 562 "location": "query", |
| 563 "type": "string" |
710 } | 564 } |
711 }, | 565 }, |
712 "path": "v3/{+name}/timeSeries", | 566 "path": "v3/{+name}/timeSeries", |
713 "response": { | 567 "response": { |
714 "$ref": "ListTimeSeriesResponse" | 568 "$ref": "ListTimeSeriesResponse" |
715 }, | 569 }, |
716 "scopes": [ | 570 "scopes": [ |
717 "https://www.googleapis.com/auth/cloud-platform"
, | 571 "https://www.googleapis.com/auth/cloud-platform"
, |
718 "https://www.googleapis.com/auth/monitoring", | 572 "https://www.googleapis.com/auth/monitoring", |
719 "https://www.googleapis.com/auth/monitoring.read
" | 573 "https://www.googleapis.com/auth/monitoring.read
" |
(...skipping 22 matching lines...) Expand all Loading... |
742 "response": { | 596 "response": { |
743 "$ref": "Empty" | 597 "$ref": "Empty" |
744 }, | 598 }, |
745 "scopes": [ | 599 "scopes": [ |
746 "https://www.googleapis.com/auth/cloud-platform"
, | 600 "https://www.googleapis.com/auth/cloud-platform"
, |
747 "https://www.googleapis.com/auth/monitoring", | 601 "https://www.googleapis.com/auth/monitoring", |
748 "https://www.googleapis.com/auth/monitoring.writ
e" | 602 "https://www.googleapis.com/auth/monitoring.writ
e" |
749 ] | 603 ] |
750 } | 604 } |
751 } | 605 } |
| 606 }, |
| 607 "metricDescriptors": { |
| 608 "methods": { |
| 609 "list": { |
| 610 "description": "Lists metric descriptors that match
a filter. This method does not require a Stackdriver account.", |
| 611 "httpMethod": "GET", |
| 612 "id": "monitoring.projects.metricDescriptors.list", |
| 613 "parameterOrder": [ |
| 614 "name" |
| 615 ], |
| 616 "parameters": { |
| 617 "filter": { |
| 618 "description": "If this field is empty, all
custom and system-defined metric descriptors are returned. Otherwise, the filter
specifies which metric descriptors are to be returned. For example, the followi
ng filter matches all custom metrics:\nmetric.type = starts_with(\"custom.google
apis.com/\")\n", |
| 619 "location": "query", |
| 620 "type": "string" |
| 621 }, |
| 622 "name": { |
| 623 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
| 624 "location": "path", |
| 625 "pattern": "^projects/[^/]+$", |
| 626 "required": true, |
| 627 "type": "string" |
| 628 }, |
| 629 "pageToken": { |
| 630 "description": "If this field is not empty t
hen it must contain the nextPageToken value returned by a previous call to this
method. Using this field causes the method to return additional results from the
previous method call.", |
| 631 "location": "query", |
| 632 "type": "string" |
| 633 }, |
| 634 "pageSize": { |
| 635 "description": "A positive number that is th
e maximum number of results to return.", |
| 636 "format": "int32", |
| 637 "location": "query", |
| 638 "type": "integer" |
| 639 } |
| 640 }, |
| 641 "path": "v3/{+name}/metricDescriptors", |
| 642 "response": { |
| 643 "$ref": "ListMetricDescriptorsResponse" |
| 644 }, |
| 645 "scopes": [ |
| 646 "https://www.googleapis.com/auth/cloud-platform"
, |
| 647 "https://www.googleapis.com/auth/monitoring", |
| 648 "https://www.googleapis.com/auth/monitoring.read
", |
| 649 "https://www.googleapis.com/auth/monitoring.writ
e" |
| 650 ] |
| 651 }, |
| 652 "get": { |
| 653 "description": "Gets a single metric descriptor. Thi
s method does not require a Stackdriver account.", |
| 654 "httpMethod": "GET", |
| 655 "id": "monitoring.projects.metricDescriptors.get", |
| 656 "parameterOrder": [ |
| 657 "name" |
| 658 ], |
| 659 "parameters": { |
| 660 "name": { |
| 661 "description": "The metric descriptor on whi
ch to execute the request. The format is \"projects/{project_id_or_number}/metri
cDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googlea
pis.com/instance/disk/read_bytes_count\".", |
| 662 "location": "path", |
| 663 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", |
| 664 "required": true, |
| 665 "type": "string" |
| 666 } |
| 667 }, |
| 668 "path": "v3/{+name}", |
| 669 "response": { |
| 670 "$ref": "MetricDescriptor" |
| 671 }, |
| 672 "scopes": [ |
| 673 "https://www.googleapis.com/auth/cloud-platform"
, |
| 674 "https://www.googleapis.com/auth/monitoring", |
| 675 "https://www.googleapis.com/auth/monitoring.read
", |
| 676 "https://www.googleapis.com/auth/monitoring.writ
e" |
| 677 ] |
| 678 }, |
| 679 "create": { |
| 680 "description": "Creates a new metric descriptor. Use
r-created metric descriptors define custom metrics.", |
| 681 "httpMethod": "POST", |
| 682 "id": "monitoring.projects.metricDescriptors.create"
, |
| 683 "parameterOrder": [ |
| 684 "name" |
| 685 ], |
| 686 "parameters": { |
| 687 "name": { |
| 688 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
| 689 "location": "path", |
| 690 "pattern": "^projects/[^/]+$", |
| 691 "required": true, |
| 692 "type": "string" |
| 693 } |
| 694 }, |
| 695 "path": "v3/{+name}/metricDescriptors", |
| 696 "request": { |
| 697 "$ref": "MetricDescriptor" |
| 698 }, |
| 699 "response": { |
| 700 "$ref": "MetricDescriptor" |
| 701 }, |
| 702 "scopes": [ |
| 703 "https://www.googleapis.com/auth/cloud-platform"
, |
| 704 "https://www.googleapis.com/auth/monitoring", |
| 705 "https://www.googleapis.com/auth/monitoring.writ
e" |
| 706 ] |
| 707 }, |
| 708 "delete": { |
| 709 "description": "Deletes a metric descriptor. Only us
er-created custom metrics can be deleted.", |
| 710 "httpMethod": "DELETE", |
| 711 "id": "monitoring.projects.metricDescriptors.delete"
, |
| 712 "parameterOrder": [ |
| 713 "name" |
| 714 ], |
| 715 "parameters": { |
| 716 "name": { |
| 717 "description": "The metric descriptor on whi
ch to execute the request. The format is \"projects/{project_id_or_number}/metri
cDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.co
m/my_test_metric\".", |
| 718 "location": "path", |
| 719 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", |
| 720 "required": true, |
| 721 "type": "string" |
| 722 } |
| 723 }, |
| 724 "path": "v3/{+name}", |
| 725 "response": { |
| 726 "$ref": "Empty" |
| 727 }, |
| 728 "scopes": [ |
| 729 "https://www.googleapis.com/auth/cloud-platform"
, |
| 730 "https://www.googleapis.com/auth/monitoring" |
| 731 ] |
| 732 } |
| 733 } |
| 734 }, |
| 735 "monitoredResourceDescriptors": { |
| 736 "methods": { |
| 737 "list": { |
| 738 "description": "Lists monitored resource descriptors
that match a filter. This method does not require a Stackdriver account.", |
| 739 "httpMethod": "GET", |
| 740 "id": "monitoring.projects.monitoredResourceDescript
ors.list", |
| 741 "parameterOrder": [ |
| 742 "name" |
| 743 ], |
| 744 "parameters": { |
| 745 "filter": { |
| 746 "description": "An optional filter describin
g the descriptors to be returned. The filter can reference the descriptor's type
and labels. For example, the following filter returns only Google Compute Engin
e descriptors that have an id label:\nresource.type = starts_with(\"gce_\") AND
resource.label:id\n", |
| 747 "location": "query", |
| 748 "type": "string" |
| 749 }, |
| 750 "name": { |
| 751 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
| 752 "location": "path", |
| 753 "pattern": "^projects/[^/]+$", |
| 754 "required": true, |
| 755 "type": "string" |
| 756 }, |
| 757 "pageToken": { |
| 758 "description": "If this field is not empty t
hen it must contain the nextPageToken value returned by a previous call to this
method. Using this field causes the method to return additional results from the
previous method call.", |
| 759 "location": "query", |
| 760 "type": "string" |
| 761 }, |
| 762 "pageSize": { |
| 763 "description": "A positive number that is th
e maximum number of results to return.", |
| 764 "format": "int32", |
| 765 "location": "query", |
| 766 "type": "integer" |
| 767 } |
| 768 }, |
| 769 "path": "v3/{+name}/monitoredResourceDescriptors", |
| 770 "response": { |
| 771 "$ref": "ListMonitoredResourceDescriptorsRespons
e" |
| 772 }, |
| 773 "scopes": [ |
| 774 "https://www.googleapis.com/auth/cloud-platform"
, |
| 775 "https://www.googleapis.com/auth/monitoring", |
| 776 "https://www.googleapis.com/auth/monitoring.read
", |
| 777 "https://www.googleapis.com/auth/monitoring.writ
e" |
| 778 ] |
| 779 }, |
| 780 "get": { |
| 781 "description": "Gets a single monitored resource des
criptor. This method does not require a Stackdriver account.", |
| 782 "httpMethod": "GET", |
| 783 "id": "monitoring.projects.monitoredResourceDescript
ors.get", |
| 784 "parameterOrder": [ |
| 785 "name" |
| 786 ], |
| 787 "parameters": { |
| 788 "name": { |
| 789 "description": "The monitored resource descr
iptor to get. The format is \"projects/{project_id_or_number}/monitoredResourceD
escriptors/{resource_type}\". The {resource_type} is a predefined type, such as
cloudsql_database.", |
| 790 "location": "path", |
| 791 "pattern": "^projects/[^/]+/monitoredResourc
eDescriptors/[^/]+$", |
| 792 "required": true, |
| 793 "type": "string" |
| 794 } |
| 795 }, |
| 796 "path": "v3/{+name}", |
| 797 "response": { |
| 798 "$ref": "MonitoredResourceDescriptor" |
| 799 }, |
| 800 "scopes": [ |
| 801 "https://www.googleapis.com/auth/cloud-platform"
, |
| 802 "https://www.googleapis.com/auth/monitoring", |
| 803 "https://www.googleapis.com/auth/monitoring.read
", |
| 804 "https://www.googleapis.com/auth/monitoring.writ
e" |
| 805 ] |
| 806 } |
| 807 } |
752 } | 808 } |
753 } | 809 } |
754 } | 810 } |
755 }, | 811 }, |
756 "revision": "20170320", | 812 "revision": "20170408", |
757 "rootUrl": "https://monitoring.googleapis.com/", | 813 "rootUrl": "https://monitoring.googleapis.com/", |
758 "schemas": { | 814 "schemas": { |
| 815 "TimeSeries": { |
| 816 "description": "A collection of data points that describes the time-
varying values of a metric. A time series is identified by a combination of a fu
lly-specified monitored resource and a fully-specified metric. This type is used
for both listing and creating time series.", |
| 817 "id": "TimeSeries", |
| 818 "properties": { |
| 819 "metric": { |
| 820 "$ref": "Metric", |
| 821 "description": "The associated metric. A fully-specified met
ric used to identify the time series." |
| 822 }, |
| 823 "points": { |
| 824 "description": "The data points of this time series. When li
sting time series, the order of the points is specified by the list method.When
creating a time series, this field must contain exactly one point and the point'
s type must be the same as the value type of the associated metric. If the assoc
iated metric's descriptor must be auto-created, then the value type of the descr
iptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or D
ISTRIBUTION.", |
| 825 "items": { |
| 826 "$ref": "Point" |
| 827 }, |
| 828 "type": "array" |
| 829 }, |
| 830 "valueType": { |
| 831 "description": "The value type of the time series. When list
ing time series, this value type might be different from the value type of the a
ssociated metric if this time series is an alignment or reduction of other time
series.When creating a time series, this field is optional. If present, it must
be the same as the type of the data in the points field.", |
| 832 "enum": [ |
| 833 "VALUE_TYPE_UNSPECIFIED", |
| 834 "BOOL", |
| 835 "INT64", |
| 836 "DOUBLE", |
| 837 "STRING", |
| 838 "DISTRIBUTION", |
| 839 "MONEY" |
| 840 ], |
| 841 "enumDescriptions": [ |
| 842 "Do not use this default value.", |
| 843 "The value is a boolean. This value type can be used onl
y if the metric kind is GAUGE.", |
| 844 "The value is a signed 64-bit integer.", |
| 845 "The value is a double precision floating point number."
, |
| 846 "The value is a text string. This value type can be used
only if the metric kind is GAUGE.", |
| 847 "The value is a Distribution.", |
| 848 "The value is money." |
| 849 ], |
| 850 "type": "string" |
| 851 }, |
| 852 "resource": { |
| 853 "$ref": "MonitoredResource", |
| 854 "description": "The associated resource. A fully-specified m
onitored resource used to identify the time series." |
| 855 }, |
| 856 "metricKind": { |
| 857 "description": "The metric kind of the time series. When lis
ting time series, this metric kind might be different from the metric kind of th
e associated metric if this time series is an alignment or reduction of other ti
me series.When creating a time series, this field is optional. If present, it mu
st be the same as the metric kind of the associated metric. If the associated me
tric's descriptor must be auto-created, then this field specifies the metric kin
d of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.", |
| 858 "enum": [ |
| 859 "METRIC_KIND_UNSPECIFIED", |
| 860 "GAUGE", |
| 861 "DELTA", |
| 862 "CUMULATIVE" |
| 863 ], |
| 864 "enumDescriptions": [ |
| 865 "Do not use this default value.", |
| 866 "An instantaneous measurement of a value.", |
| 867 "The change in a value during a time interval.", |
| 868 "A value accumulated over a time interval. Cumulative me
asurements in a time series should have the same start time and increasing end t
imes, until an event resets the cumulative value to zero and sets a new start ti
me for the following points." |
| 869 ], |
| 870 "type": "string" |
| 871 } |
| 872 }, |
| 873 "type": "object" |
| 874 }, |
| 875 "CreateTimeSeriesRequest": { |
| 876 "description": "The CreateTimeSeries request.", |
| 877 "id": "CreateTimeSeriesRequest", |
| 878 "properties": { |
| 879 "timeSeries": { |
| 880 "description": "The new data to be added to a list of time s
eries. Adds at most one data point to each of several time series. The new data
point must be more recent than any other point in its time series. Each TimeSeri
es value must fully specify a unique time series by supplying all label values f
or the metric and the monitored resource.", |
| 881 "items": { |
| 882 "$ref": "TimeSeries" |
| 883 }, |
| 884 "type": "array" |
| 885 } |
| 886 }, |
| 887 "type": "object" |
| 888 }, |
| 889 "Distribution": { |
| 890 "description": "Distribution contains summary statistics for a popul
ation of values. It optionally contains a histogram representing the distributio
n of those values across a set of buckets.The summary statistics are the count,
mean, sum of the squared deviation from the mean, the minimum, and the maximum o
f the set of population of values. The histogram is based on a sequence of bucke
ts and gives a count of values that fall into each bucket. The boundaries of the
buckets are given either explicitly or by formulas for buckets of fixed or expo
nentially increasing widths.Although it is not forbidden, it is generally a bad
idea to include non-finite values (infinities or NaNs) in the population of valu
es, as this will render the mean and sum_of_squared_deviation fields meaningless
.", |
| 891 "id": "Distribution", |
| 892 "properties": { |
| 893 "bucketCounts": { |
| 894 "description": "Required in the Stackdriver Monitoring API v
3. The values for each bucket specified in bucket_options. The sum of the values
in bucketCounts must equal the value in the count field of the Distribution obj
ect. The order of the bucket counts follows the numbering schemes described for
the three bucket types. The underflow bucket has number 0; the finite buckets, i
f any, have numbers 1 through N-2; and the overflow bucket has number N-1. The s
ize of bucket_counts must not be greater than N. If the size is less than N, the
n the remaining buckets are assigned values of zero.", |
| 895 "items": { |
| 896 "format": "int64", |
| 897 "type": "string" |
| 898 }, |
| 899 "type": "array" |
| 900 }, |
| 901 "bucketOptions": { |
| 902 "$ref": "BucketOptions", |
| 903 "description": "Required in the Stackdriver Monitoring API v
3. Defines the histogram bucket boundaries." |
| 904 }, |
| 905 "sumOfSquaredDeviation": { |
| 906 "description": "The sum of squared deviations from the mean
of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mea
n)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition
describes Welford's method for accumulating this sum in one pass.If count is ze
ro then this field must be zero.", |
| 907 "format": "double", |
| 908 "type": "number" |
| 909 }, |
| 910 "range": { |
| 911 "$ref": "Range", |
| 912 "description": "If specified, contains the range of the popu
lation values. The field must not be present if the count is zero. This field is
presently ignored by the Stackdriver Monitoring API v3." |
| 913 }, |
| 914 "count": { |
| 915 "description": "The number of values in the population. Must
be non-negative. This value must equal the sum of the values in bucket_counts i
f a histogram is provided.", |
| 916 "format": "int64", |
| 917 "type": "string" |
| 918 }, |
| 919 "mean": { |
| 920 "description": "The arithmetic mean of the values in the pop
ulation. If count is zero then this field must be zero.", |
| 921 "format": "double", |
| 922 "type": "number" |
| 923 } |
| 924 }, |
| 925 "type": "object" |
| 926 }, |
| 927 "MonitoredResource": { |
| 928 "description": "An object representing a resource that can be used f
or monitoring, logging, billing, or other purposes. Examples include virtual mac
hine instances, databases, and storage devices such as disks. The type field ide
ntifies a MonitoredResourceDescriptor object that describes the resource's schem
a. Information in the labels field identifies the actual resource and its attrib
utes according to the schema. For example, a particular Compute Engine VM instan
ce could be represented by the following object, because the MonitoredResourceDe
scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type
\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n
\"zone\": \"us-central1-a\" }}\n", |
| 929 "id": "MonitoredResource", |
| 930 "properties": { |
| 931 "type": { |
| 932 "description": "Required. The monitored resource type. This
field must match the type field of a MonitoredResourceDescriptor object. For exa
mple, the type of a Cloud SQL database is \"cloudsql_database\".", |
| 933 "type": "string" |
| 934 }, |
| 935 "labels": { |
| 936 "additionalProperties": { |
| 937 "type": "string" |
| 938 }, |
| 939 "description": "Required. Values for all of the labels liste
d in the associated monitored resource descriptor. For example, Cloud SQL databa
ses use the labels \"database_id\" and \"zone\".", |
| 940 "type": "object" |
| 941 } |
| 942 }, |
| 943 "type": "object" |
| 944 }, |
| 945 "ListMetricDescriptorsResponse": { |
| 946 "description": "The ListMetricDescriptors response.", |
| 947 "id": "ListMetricDescriptorsResponse", |
| 948 "properties": { |
| 949 "metricDescriptors": { |
| 950 "description": "The metric descriptors that are available to
the project and that match the value of filter, if present.", |
| 951 "items": { |
| 952 "$ref": "MetricDescriptor" |
| 953 }, |
| 954 "type": "array" |
| 955 }, |
| 956 "nextPageToken": { |
| 957 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", |
| 958 "type": "string" |
| 959 } |
| 960 }, |
| 961 "type": "object" |
| 962 }, |
| 963 "MonitoredResourceDescriptor": { |
| 964 "description": "An object that describes the schema of a MonitoredRe
source object using a type name and a set of labels. For example, the monitored
resource descriptor for Google Compute Engine VM instances has a type of \"gce_i
nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id
entify particular VM instances.Different APIs can support different monitored re
source types. APIs generally provide a list method that returns the monitored re
source descriptors used by the API.", |
| 965 "id": "MonitoredResourceDescriptor", |
| 966 "properties": { |
| 967 "displayName": { |
| 968 "description": "Optional. A concise name for the monitored r
esource type that might be displayed in user interfaces. It should be a Title Ca
sed Noun Phrase, without any article or other determiners. For example, \"Google
Cloud SQL Database\".", |
| 969 "type": "string" |
| 970 }, |
| 971 "description": { |
| 972 "description": "Optional. A detailed description of the moni
tored resource type that might be used in documentation.", |
| 973 "type": "string" |
| 974 }, |
| 975 "type": { |
| 976 "description": "Required. The monitored resource type. For e
xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL.
The maximum length of this value is 256 characters.", |
| 977 "type": "string" |
| 978 }, |
| 979 "labels": { |
| 980 "description": "Required. A set of labels used to describe i
nstances of this monitored resource type. For example, an individual Google Clou
d SQL database is identified by values for the labels \"database_id\" and \"zone
\".", |
| 981 "items": { |
| 982 "$ref": "LabelDescriptor" |
| 983 }, |
| 984 "type": "array" |
| 985 }, |
| 986 "name": { |
| 987 "description": "Optional. The resource name of the monitored
resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type
}\" where {type} is the value of the type field in this object and {project_id}
is a project ID that provides API-specific context for accessing the type. APIs
that do not use project information can use the resource name format \"monitored
ResourceDescriptors/{type}\".", |
| 988 "type": "string" |
| 989 } |
| 990 }, |
| 991 "type": "object" |
| 992 }, |
| 993 "TypedValue": { |
| 994 "description": "A single strongly-typed value.", |
| 995 "id": "TypedValue", |
| 996 "properties": { |
| 997 "doubleValue": { |
| 998 "description": "A 64-bit double-precision floating-point num
ber. Its magnitude is approximately ±10<sup>±300</sup> and it has
16 significant digits of precision.", |
| 999 "format": "double", |
| 1000 "type": "number" |
| 1001 }, |
| 1002 "int64Value": { |
| 1003 "description": "A 64-bit integer. Its range is approximately
±9.2x10<sup>18</sup>.", |
| 1004 "format": "int64", |
| 1005 "type": "string" |
| 1006 }, |
| 1007 "distributionValue": { |
| 1008 "$ref": "Distribution", |
| 1009 "description": "A distribution value." |
| 1010 }, |
| 1011 "boolValue": { |
| 1012 "description": "A Boolean value: true or false.", |
| 1013 "type": "boolean" |
| 1014 }, |
| 1015 "stringValue": { |
| 1016 "description": "A variable-length string value.", |
| 1017 "type": "string" |
| 1018 } |
| 1019 }, |
| 1020 "type": "object" |
| 1021 }, |
| 1022 "CollectdPayload": { |
| 1023 "description": "A collection of data points sent from a collectd-bas
ed plugin. See the collectd documentation for more information.", |
| 1024 "id": "CollectdPayload", |
| 1025 "properties": { |
| 1026 "typeInstance": { |
| 1027 "description": "The measurement type instance. Example: \"us
ed\".", |
| 1028 "type": "string" |
| 1029 }, |
| 1030 "metadata": { |
| 1031 "additionalProperties": { |
| 1032 "$ref": "TypedValue" |
| 1033 }, |
| 1034 "description": "The measurement metadata. Example: \"process
_id\" -> 12345", |
| 1035 "type": "object" |
| 1036 }, |
| 1037 "type": { |
| 1038 "description": "The measurement type. Example: \"memory\".", |
| 1039 "type": "string" |
| 1040 }, |
| 1041 "plugin": { |
| 1042 "description": "The name of the plugin. Example: \"disk\".", |
| 1043 "type": "string" |
| 1044 }, |
| 1045 "pluginInstance": { |
| 1046 "description": "The instance name of the plugin Example: \"h
dcl\".", |
| 1047 "type": "string" |
| 1048 }, |
| 1049 "endTime": { |
| 1050 "description": "The end time of the interval.", |
| 1051 "format": "google-datetime", |
| 1052 "type": "string" |
| 1053 }, |
| 1054 "startTime": { |
| 1055 "description": "The start time of the interval.", |
| 1056 "format": "google-datetime", |
| 1057 "type": "string" |
| 1058 }, |
| 1059 "values": { |
| 1060 "description": "The measured values during this time interva
l. Each value must have a different dataSourceName.", |
| 1061 "items": { |
| 1062 "$ref": "CollectdValue" |
| 1063 }, |
| 1064 "type": "array" |
| 1065 } |
| 1066 }, |
| 1067 "type": "object" |
| 1068 }, |
| 1069 "Linear": { |
| 1070 "description": "Specifies a linear sequence of buckets that all have
the same width (except overflow and underflow). Each bucket represents a consta
nt absolute uncertainty on the specific value in the bucket.There are num_finite
_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0
<= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width *
(i - 1)).", |
| 1071 "id": "Linear", |
| 1072 "properties": { |
| 1073 "width": { |
| 1074 "description": "Must be greater than 0.", |
| 1075 "format": "double", |
| 1076 "type": "number" |
| 1077 }, |
| 1078 "offset": { |
| 1079 "description": "Lower bound of the first bucket.", |
| 1080 "format": "double", |
| 1081 "type": "number" |
| 1082 }, |
| 1083 "numFiniteBuckets": { |
| 1084 "description": "Must be greater than 0.", |
| 1085 "format": "int32", |
| 1086 "type": "integer" |
| 1087 } |
| 1088 }, |
| 1089 "type": "object" |
| 1090 }, |
| 1091 "Option": { |
| 1092 "description": "A protocol buffer option, which can be attached to a
message, field, enumeration, etc.", |
| 1093 "id": "Option", |
| 1094 "properties": { |
| 1095 "name": { |
| 1096 "description": "The option's name. For protobuf built-in opt
ions (options defined in descriptor.proto), this is the short name. For example,
\"map_entry\". For custom options, it should be the fully-qualified name. For e
xample, \"google.api.http\".", |
| 1097 "type": "string" |
| 1098 }, |
| 1099 "value": { |
| 1100 "additionalProperties": { |
| 1101 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1102 "type": "any" |
| 1103 }, |
| 1104 "description": "The option's value packed in an Any message.
If the value is a primitive, the corresponding wrapper type defined in google/p
rotobuf/wrappers.proto should be used. If the value is an enum, it should be sto
red as an int32 value using the google.protobuf.Int32Value type.", |
| 1105 "type": "object" |
| 1106 } |
| 1107 }, |
| 1108 "type": "object" |
| 1109 }, |
| 1110 "Empty": { |
| 1111 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance:\nservice Fo
o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J
SON representation for Empty is empty JSON object {}.", |
| 1112 "id": "Empty", |
| 1113 "properties": {}, |
| 1114 "type": "object" |
| 1115 }, |
759 "TimeInterval": { | 1116 "TimeInterval": { |
760 "description": "A time interval extending just after a start time th
rough an end time. If the start time is the same as the end time, then the inter
val represents a single point in time.", | 1117 "description": "A time interval extending just after a start time th
rough an end time. If the start time is the same as the end time, then the inter
val represents a single point in time.", |
761 "id": "TimeInterval", | 1118 "id": "TimeInterval", |
762 "properties": { | 1119 "properties": { |
763 "endTime": { | 1120 "endTime": { |
764 "description": "Required. The end of the time interval.", | 1121 "description": "Required. The end of the time interval.", |
765 "format": "google-datetime", | 1122 "format": "google-datetime", |
766 "type": "string" | 1123 "type": "string" |
767 }, | 1124 }, |
768 "startTime": { | 1125 "startTime": { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 "format": "int32", | 1164 "format": "int32", |
808 "type": "integer" | 1165 "type": "integer" |
809 } | 1166 } |
810 }, | 1167 }, |
811 "type": "object" | 1168 "type": "object" |
812 }, | 1169 }, |
813 "Point": { | 1170 "Point": { |
814 "description": "A single data point in a time series.", | 1171 "description": "A single data point in a time series.", |
815 "id": "Point", | 1172 "id": "Point", |
816 "properties": { | 1173 "properties": { |
| 1174 "interval": { |
| 1175 "$ref": "TimeInterval", |
| 1176 "description": "The time interval to which the data point ap
plies. For GAUGE metrics, only the end time of the interval is used. For DELTA m
etrics, the start and end time should specify a non-zero interval, with subseque
nt points specifying contiguous and non-overlapping intervals. For CUMULATIVE me
trics, the start and end time should specify a non-zero interval, with subsequen
t points specifying the same start time and increasing end times, until an event
resets the cumulative value to zero and sets a new start time for the following
points." |
| 1177 }, |
817 "value": { | 1178 "value": { |
818 "$ref": "TypedValue", | 1179 "$ref": "TypedValue", |
819 "description": "The value of the data point." | 1180 "description": "The value of the data point." |
820 }, | |
821 "interval": { | |
822 "$ref": "TimeInterval", | |
823 "description": "The time interval to which the data point ap
plies. For GAUGE metrics, only the end time of the interval is used. For DELTA m
etrics, the start and end time should specify a non-zero interval, with subseque
nt points specifying contiguous and non-overlapping intervals. For CUMULATIVE me
trics, the start and end time should specify a non-zero interval, with subsequen
t points specifying the same start time and increasing end times, until an event
resets the cumulative value to zero and sets a new start time for the following
points." | |
824 } | 1181 } |
825 }, | 1182 }, |
826 "type": "object" | 1183 "type": "object" |
| 1184 }, |
| 1185 "Metric": { |
| 1186 "description": "A specific metric, identified by specifying values f
or all of the labels of a MetricDescriptor.", |
| 1187 "id": "Metric", |
| 1188 "properties": { |
| 1189 "labels": { |
| 1190 "additionalProperties": { |
| 1191 "type": "string" |
| 1192 }, |
| 1193 "description": "The set of label values that uniquely identi
fy this metric. All labels listed in the MetricDescriptor must be assigned value
s.", |
| 1194 "type": "object" |
| 1195 }, |
| 1196 "type": { |
| 1197 "description": "An existing metric type, see google.api.Metr
icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", |
| 1198 "type": "string" |
| 1199 } |
| 1200 }, |
| 1201 "type": "object" |
827 }, | 1202 }, |
828 "Field": { | 1203 "Field": { |
829 "description": "A single field of a message type.", | 1204 "description": "A single field of a message type.", |
830 "id": "Field", | 1205 "id": "Field", |
831 "properties": { | 1206 "properties": { |
832 "typeUrl": { | 1207 "typeUrl": { |
833 "description": "The field type URL, without the scheme, for
message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim
estamp\".", | 1208 "description": "The field type URL, without the scheme, for
message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim
estamp\".", |
834 "type": "string" | 1209 "type": "string" |
835 }, | 1210 }, |
836 "number": { | 1211 "number": { |
837 "description": "The field number.", | 1212 "description": "The field number.", |
838 "format": "int32", | 1213 "format": "int32", |
839 "type": "integer" | 1214 "type": "integer" |
840 }, | 1215 }, |
841 "jsonName": { | |
842 "description": "The field JSON name.", | |
843 "type": "string" | |
844 }, | |
845 "kind": { | 1216 "kind": { |
846 "description": "The field type.", | 1217 "description": "The field type.", |
847 "enum": [ | 1218 "enum": [ |
848 "TYPE_UNKNOWN", | 1219 "TYPE_UNKNOWN", |
849 "TYPE_DOUBLE", | 1220 "TYPE_DOUBLE", |
850 "TYPE_FLOAT", | 1221 "TYPE_FLOAT", |
851 "TYPE_INT64", | 1222 "TYPE_INT64", |
852 "TYPE_UINT64", | 1223 "TYPE_UINT64", |
853 "TYPE_INT32", | 1224 "TYPE_INT32", |
854 "TYPE_FIXED64", | 1225 "TYPE_FIXED64", |
(...skipping 26 matching lines...) Expand all Loading... |
881 "Field type bytes.", | 1252 "Field type bytes.", |
882 "Field type uint32.", | 1253 "Field type uint32.", |
883 "Field type enum.", | 1254 "Field type enum.", |
884 "Field type sfixed32.", | 1255 "Field type sfixed32.", |
885 "Field type sfixed64.", | 1256 "Field type sfixed64.", |
886 "Field type sint32.", | 1257 "Field type sint32.", |
887 "Field type sint64." | 1258 "Field type sint64." |
888 ], | 1259 ], |
889 "type": "string" | 1260 "type": "string" |
890 }, | 1261 }, |
| 1262 "jsonName": { |
| 1263 "description": "The field JSON name.", |
| 1264 "type": "string" |
| 1265 }, |
891 "options": { | 1266 "options": { |
892 "description": "The protocol buffer options.", | 1267 "description": "The protocol buffer options.", |
893 "items": { | 1268 "items": { |
894 "$ref": "Option" | 1269 "$ref": "Option" |
895 }, | 1270 }, |
896 "type": "array" | 1271 "type": "array" |
897 }, | 1272 }, |
898 "oneofIndex": { | 1273 "oneofIndex": { |
899 "description": "The index of the field type in Type.oneofs,
for message or enumeration types. The first type has index 1; zero means the typ
e is not in the list.", | 1274 "description": "The index of the field type in Type.oneofs,
for message or enumeration types. The first type has index 1; zero means the typ
e is not in the list.", |
900 "format": "int32", | 1275 "format": "int32", |
901 "type": "integer" | 1276 "type": "integer" |
902 }, | 1277 }, |
| 1278 "packed": { |
| 1279 "description": "Whether to use alternative packed wire repre
sentation.", |
| 1280 "type": "boolean" |
| 1281 }, |
903 "cardinality": { | 1282 "cardinality": { |
904 "description": "The field cardinality.", | 1283 "description": "The field cardinality.", |
905 "enum": [ | 1284 "enum": [ |
906 "CARDINALITY_UNKNOWN", | 1285 "CARDINALITY_UNKNOWN", |
907 "CARDINALITY_OPTIONAL", | 1286 "CARDINALITY_OPTIONAL", |
908 "CARDINALITY_REQUIRED", | 1287 "CARDINALITY_REQUIRED", |
909 "CARDINALITY_REPEATED" | 1288 "CARDINALITY_REPEATED" |
910 ], | 1289 ], |
911 "enumDescriptions": [ | 1290 "enumDescriptions": [ |
912 "For fields with unknown cardinality.", | 1291 "For fields with unknown cardinality.", |
913 "For optional fields.", | 1292 "For optional fields.", |
914 "For required fields. Proto2 syntax only.", | 1293 "For required fields. Proto2 syntax only.", |
915 "For repeated fields." | 1294 "For repeated fields." |
916 ], | 1295 ], |
917 "type": "string" | 1296 "type": "string" |
918 }, | 1297 }, |
919 "packed": { | |
920 "description": "Whether to use alternative packed wire repre
sentation.", | |
921 "type": "boolean" | |
922 }, | |
923 "defaultValue": { | 1298 "defaultValue": { |
924 "description": "The string value of the default value of thi
s field. Proto2 syntax only.", | 1299 "description": "The string value of the default value of thi
s field. Proto2 syntax only.", |
925 "type": "string" | 1300 "type": "string" |
926 }, | 1301 }, |
927 "name": { | 1302 "name": { |
928 "description": "The field name.", | 1303 "description": "The field name.", |
929 "type": "string" | 1304 "type": "string" |
930 } | 1305 } |
931 }, | 1306 }, |
932 "type": "object" | 1307 "type": "object" |
933 }, | 1308 }, |
934 "Metric": { | 1309 "ListTimeSeriesResponse": { |
935 "description": "A specific metric, identified by specifying values f
or all of the labels of a MetricDescriptor.", | 1310 "description": "The ListTimeSeries response.", |
936 "id": "Metric", | 1311 "id": "ListTimeSeriesResponse", |
937 "properties": { | 1312 "properties": { |
938 "type": { | 1313 "nextPageToken": { |
939 "description": "An existing metric type, see google.api.Metr
icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", | 1314 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", |
940 "type": "string" | 1315 "type": "string" |
941 }, | 1316 }, |
942 "labels": { | 1317 "timeSeries": { |
943 "additionalProperties": { | 1318 "description": "One or more time series that match the filte
r included in the request.", |
944 "type": "string" | 1319 "items": { |
| 1320 "$ref": "TimeSeries" |
945 }, | 1321 }, |
946 "description": "The set of label values that uniquely identi
fy this metric. All labels listed in the MetricDescriptor must be assigned value
s.", | 1322 "type": "array" |
947 "type": "object" | |
948 } | 1323 } |
949 }, | 1324 }, |
950 "type": "object" | 1325 "type": "object" |
951 }, | 1326 }, |
952 "LabelDescriptor": { | 1327 "LabelDescriptor": { |
953 "description": "A description of a label.", | 1328 "description": "A description of a label.", |
954 "id": "LabelDescriptor", | 1329 "id": "LabelDescriptor", |
955 "properties": { | 1330 "properties": { |
| 1331 "key": { |
| 1332 "description": "The label key.", |
| 1333 "type": "string" |
| 1334 }, |
| 1335 "description": { |
| 1336 "description": "A human-readable description for the label."
, |
| 1337 "type": "string" |
| 1338 }, |
956 "valueType": { | 1339 "valueType": { |
957 "description": "The type of data that can be assigned to the
label.", | 1340 "description": "The type of data that can be assigned to the
label.", |
958 "enum": [ | 1341 "enum": [ |
959 "STRING", | 1342 "STRING", |
960 "BOOL", | 1343 "BOOL", |
961 "INT64" | 1344 "INT64" |
962 ], | 1345 ], |
963 "enumDescriptions": [ | 1346 "enumDescriptions": [ |
964 "A variable-length string. This is the default.", | 1347 "A variable-length string. This is the default.", |
965 "Boolean; true or false.", | 1348 "Boolean; true or false.", |
966 "A 64-bit signed integer." | 1349 "A 64-bit signed integer." |
967 ], | 1350 ], |
968 "type": "string" | 1351 "type": "string" |
969 }, | |
970 "key": { | |
971 "description": "The label key.", | |
972 "type": "string" | |
973 }, | |
974 "description": { | |
975 "description": "A human-readable description for the label."
, | |
976 "type": "string" | |
977 } | 1352 } |
978 }, | 1353 }, |
979 "type": "object" | 1354 "type": "object" |
980 }, | 1355 }, |
981 "ListTimeSeriesResponse": { | 1356 "Group": { |
982 "description": "The ListTimeSeries response.", | 1357 "description": "The description of a dynamic collection of monitored
resources. Each group has a filter that is matched against monitored resources
and their associated metadata. If a group's filter matches an available monitore
d resource, then that resource is a member of that group. Groups can contain any
number of monitored resources, and each monitored resource can be a member of a
ny number of groups.Groups can be nested in parent-child hierarchies. The parent
Name field identifies an optional parent for each group. If a group has a parent
, then the only monitored resources available to be matched by the group's filte
r are the resources contained in the parent group. In other words, a group conta
ins the monitored resources that match its filter and the filters of all the gro
up's ancestors. A group without a parent can contain any monitored resource.For
example, consider an infrastructure running a set of instances with two user-def
ined tags: \"environment\" and \"role\". A parent group has a filter, environmen
t=\"production\". A child of that parent group has a filter, role=\"transcoder\"
. The parent group contains all instances in the production environment, regardl
ess of their roles. The child group contains instances that have the transcoder
role and are in the production environment.The monitored resources contained in
a group can change at any moment, depending on what resources exist and what fil
ters are associated with the group and its ancestors.", |
983 "id": "ListTimeSeriesResponse", | 1358 "id": "Group", |
984 "properties": { | 1359 "properties": { |
985 "timeSeries": { | 1360 "isCluster": { |
986 "description": "One or more time series that match the filte
r included in the request.", | 1361 "description": "If true, the members of this group are consi
dered to be a cluster. The system can perform additional analysis on groups that
are clusters.", |
987 "items": { | 1362 "type": "boolean" |
988 "$ref": "TimeSeries" | |
989 }, | |
990 "type": "array" | |
991 }, | 1363 }, |
992 "nextPageToken": { | 1364 "filter": { |
993 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", | 1365 "description": "The filter used to determine which monitored
resources belong to this group.", |
| 1366 "type": "string" |
| 1367 }, |
| 1368 "name": { |
| 1369 "description": "Output only. The name of this group. The for
mat is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a gr
oup, this field is ignored and a new name is created consisting of the project s
pecified in the call to CreateGroup and a unique {group_id} that is generated au
tomatically.", |
| 1370 "type": "string" |
| 1371 }, |
| 1372 "parentName": { |
| 1373 "description": "The name of the group's parent, if it has on
e. The format is \"projects/{project_id_or_number}/groups/{group_id}\". For grou
ps with no parent, parentName is the empty string, \"\".", |
| 1374 "type": "string" |
| 1375 }, |
| 1376 "displayName": { |
| 1377 "description": "A user-assigned name for this group, used on
ly for display purposes.", |
994 "type": "string" | 1378 "type": "string" |
995 } | 1379 } |
996 }, | 1380 }, |
997 "type": "object" | 1381 "type": "object" |
998 }, | 1382 }, |
999 "Type": { | 1383 "Type": { |
1000 "description": "A protocol buffer message type.", | 1384 "description": "A protocol buffer message type.", |
1001 "id": "Type", | 1385 "id": "Type", |
1002 "properties": { | 1386 "properties": { |
1003 "fields": { | |
1004 "description": "The list of fields.", | |
1005 "items": { | |
1006 "$ref": "Field" | |
1007 }, | |
1008 "type": "array" | |
1009 }, | |
1010 "name": { | |
1011 "description": "The fully qualified message name.", | |
1012 "type": "string" | |
1013 }, | |
1014 "oneofs": { | 1387 "oneofs": { |
1015 "description": "The list of types appearing in oneof definit
ions in this type.", | 1388 "description": "The list of types appearing in oneof definit
ions in this type.", |
1016 "items": { | 1389 "items": { |
1017 "type": "string" | 1390 "type": "string" |
1018 }, | 1391 }, |
1019 "type": "array" | 1392 "type": "array" |
1020 }, | 1393 }, |
| 1394 "sourceContext": { |
| 1395 "$ref": "SourceContext", |
| 1396 "description": "The source context." |
| 1397 }, |
1021 "syntax": { | 1398 "syntax": { |
1022 "description": "The source syntax.", | 1399 "description": "The source syntax.", |
1023 "enum": [ | 1400 "enum": [ |
1024 "SYNTAX_PROTO2", | 1401 "SYNTAX_PROTO2", |
1025 "SYNTAX_PROTO3" | 1402 "SYNTAX_PROTO3" |
1026 ], | 1403 ], |
1027 "enumDescriptions": [ | 1404 "enumDescriptions": [ |
1028 "Syntax proto2.", | 1405 "Syntax proto2.", |
1029 "Syntax proto3." | 1406 "Syntax proto3." |
1030 ], | 1407 ], |
1031 "type": "string" | 1408 "type": "string" |
1032 }, | 1409 }, |
1033 "sourceContext": { | |
1034 "$ref": "SourceContext", | |
1035 "description": "The source context." | |
1036 }, | |
1037 "options": { | 1410 "options": { |
1038 "description": "The protocol buffer options.", | 1411 "description": "The protocol buffer options.", |
1039 "items": { | 1412 "items": { |
1040 "$ref": "Option" | 1413 "$ref": "Option" |
1041 }, | 1414 }, |
1042 "type": "array" | 1415 "type": "array" |
1043 } | |
1044 }, | |
1045 "type": "object" | |
1046 }, | |
1047 "Group": { | |
1048 "description": "The description of a dynamic collection of monitored
resources. Each group has a filter that is matched against monitored resources
and their associated metadata. If a group's filter matches an available monitore
d resource, then that resource is a member of that group. Groups can contain any
number of monitored resources, and each monitored resource can be a member of a
ny number of groups.Groups can be nested in parent-child hierarchies. The parent
Name field identifies an optional parent for each group. If a group has a parent
, then the only monitored resources available to be matched by the group's filte
r are the resources contained in the parent group. In other words, a group conta
ins the monitored resources that match its filter and the filters of all the gro
up's ancestors. A group without a parent can contain any monitored resource.For
example, consider an infrastructure running a set of instances with two user-def
ined tags: \"environment\" and \"role\". A parent group has a filter, environmen
t=\"production\". A child of that parent group has a filter, role=\"transcoder\"
. The parent group contains all instances in the production environment, regardl
ess of their roles. The child group contains instances that have the transcoder
role and are in the production environment.The monitored resources contained in
a group can change at any moment, depending on what resources exist and what fil
ters are associated with the group and its ancestors.", | |
1049 "id": "Group", | |
1050 "properties": { | |
1051 "isCluster": { | |
1052 "description": "If true, the members of this group are consi
dered to be a cluster. The system can perform additional analysis on groups that
are clusters.", | |
1053 "type": "boolean" | |
1054 }, | 1416 }, |
1055 "filter": { | 1417 "fields": { |
1056 "description": "The filter used to determine which monitored
resources belong to this group.", | 1418 "description": "The list of fields.", |
1057 "type": "string" | 1419 "items": { |
| 1420 "$ref": "Field" |
| 1421 }, |
| 1422 "type": "array" |
1058 }, | 1423 }, |
1059 "name": { | 1424 "name": { |
1060 "description": "Output only. The name of this group. The for
mat is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a gr
oup, this field is ignored and a new name is created consisting of the project s
pecified in the call to CreateGroup and a unique {group_id} that is generated au
tomatically.", | 1425 "description": "The fully qualified message name.", |
1061 "type": "string" | |
1062 }, | |
1063 "parentName": { | |
1064 "description": "The name of the group's parent, if it has on
e. The format is \"projects/{project_id_or_number}/groups/{group_id}\". For grou
ps with no parent, parentName is the empty string, \"\".", | |
1065 "type": "string" | |
1066 }, | |
1067 "displayName": { | |
1068 "description": "A user-assigned name for this group, used on
ly for display purposes.", | |
1069 "type": "string" | 1426 "type": "string" |
1070 } | 1427 } |
1071 }, | 1428 }, |
1072 "type": "object" | 1429 "type": "object" |
1073 }, | 1430 }, |
1074 "BucketOptions": { | 1431 "BucketOptions": { |
1075 "description": "BucketOptions describes the bucket boundaries used t
o create a histogram for the distribution. The buckets can be in a linear sequen
ce, an exponential sequence, or each bucket can be specified explicitly. BucketO
ptions does not include the number of values in each bucket.A bucket has an incl
usive lower bound and exclusive upper bound for the values that are counted for
that bucket. The upper bound of a bucket must be strictly greater than the lower
bound. The sequence of N buckets for a distribution consists of an underflow bu
cket (number 0), zero or more finite buckets (number 1 through N - 2) and an ove
rflow bucket (number N - 1). The buckets are contiguous: the lower bound of buck
et i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span th
e whole range of finite values: lower bound of the underflow bucket is -infinity
and the upper bound of the overflow bucket is +infinity. The finite buckets are
so-called because both bounds are finite.", | 1432 "description": "BucketOptions describes the bucket boundaries used t
o create a histogram for the distribution. The buckets can be in a linear sequen
ce, an exponential sequence, or each bucket can be specified explicitly. BucketO
ptions does not include the number of values in each bucket.A bucket has an incl
usive lower bound and exclusive upper bound for the values that are counted for
that bucket. The upper bound of a bucket must be strictly greater than the lower
bound. The sequence of N buckets for a distribution consists of an underflow bu
cket (number 0), zero or more finite buckets (number 1 through N - 2) and an ove
rflow bucket (number N - 1). The buckets are contiguous: the lower bound of buck
et i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span th
e whole range of finite values: lower bound of the underflow bucket is -infinity
and the upper bound of the overflow bucket is +infinity. The finite buckets are
so-called because both bounds are finite.", |
1076 "id": "BucketOptions", | 1433 "id": "BucketOptions", |
1077 "properties": { | 1434 "properties": { |
1078 "exponentialBuckets": { | 1435 "exponentialBuckets": { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 "CUMULATIVE" | 1534 "CUMULATIVE" |
1178 ], | 1535 ], |
1179 "enumDescriptions": [ | 1536 "enumDescriptions": [ |
1180 "Do not use this default value.", | 1537 "Do not use this default value.", |
1181 "An instantaneous measurement of a value.", | 1538 "An instantaneous measurement of a value.", |
1182 "The change in a value during a time interval.", | 1539 "The change in a value during a time interval.", |
1183 "A value accumulated over a time interval. Cumulative me
asurements in a time series should have the same start time and increasing end t
imes, until an event resets the cumulative value to zero and sets a new start ti
me for the following points." | 1540 "A value accumulated over a time interval. Cumulative me
asurements in a time series should have the same start time and increasing end t
imes, until an event resets the cumulative value to zero and sets a new start ti
me for the following points." |
1184 ], | 1541 ], |
1185 "type": "string" | 1542 "type": "string" |
1186 }, | 1543 }, |
| 1544 "description": { |
| 1545 "description": "A detailed description of the metric, which
can be used in documentation.", |
| 1546 "type": "string" |
| 1547 }, |
1187 "displayName": { | 1548 "displayName": { |
1188 "description": "A concise name for the metric, which can be
displayed in user interfaces. Use sentence case without an ending period, for ex
ample \"Request count\".", | 1549 "description": "A concise name for the metric, which can be
displayed in user interfaces. Use sentence case without an ending period, for ex
ample \"Request count\".", |
1189 "type": "string" | 1550 "type": "string" |
1190 }, | 1551 }, |
1191 "description": { | |
1192 "description": "A detailed description of the metric, which
can be used in documentation.", | |
1193 "type": "string" | |
1194 }, | |
1195 "unit": { | 1552 "unit": { |
1196 "description": "The unit in which the metric value is report
ed. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. T
he supported units are a subset of The Unified Code for Units of Measure (http:/
/unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)\nbit bit\nBy byte\ns
second\nmin minute\nh hour\nd dayPrefixes (PREFIX)\nk kilo (10**3)\nM mega (10**
6)\nG giga (10**9)\nT tera (10**12)\nP peta (10**15)\nE exa (10**18)\nZ zetta (1
0**21)\nY yotta (10**24)\nm milli (10**-3)\nu micro (10**-6)\nn nano (10**-9)\np
pico (10**-12)\nf femto (10**-15)\na atto (10**-18)\nz zepto (10**-21)\ny yocto
(10**-24)\nKi kibi (2**10)\nMi mebi (2**20)\nGi gibi (2**30)\nTi tebi (2**40)Gr
ammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also
includes these connectors:\n/ division (as an infix operator, e.g. 1/s).\n. mul
tiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follo
ws:\nExpression = Component { \".\" Component } { \"/\" Component } ;\n\nCompone
nt = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n
;\n\nAnnotation = \"{\" NAME \"}\" ;\nNotes:\nAnnotation is just a com
ment if it follows a UNIT and is equivalent to 1 if it is used alone. For examp
les, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non
-blank printable ASCII characters not containing '{' or '}'.", | 1553 "description": "The unit in which the metric value is report
ed. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. T
he supported units are a subset of The Unified Code for Units of Measure (http:/
/unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)\nbit bit\nBy byte\ns
second\nmin minute\nh hour\nd dayPrefixes (PREFIX)\nk kilo (10**3)\nM mega (10**
6)\nG giga (10**9)\nT tera (10**12)\nP peta (10**15)\nE exa (10**18)\nZ zetta (1
0**21)\nY yotta (10**24)\nm milli (10**-3)\nu micro (10**-6)\nn nano (10**-9)\np
pico (10**-12)\nf femto (10**-15)\na atto (10**-18)\nz zepto (10**-21)\ny yocto
(10**-24)\nKi kibi (2**10)\nMi mebi (2**20)\nGi gibi (2**30)\nTi tebi (2**40)Gr
ammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also
includes these connectors:\n/ division (as an infix operator, e.g. 1/s).\n. mul
tiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follo
ws:\nExpression = Component { \".\" Component } { \"/\" Component } ;\n\nCompone
nt = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n
;\n\nAnnotation = \"{\" NAME \"}\" ;\nNotes:\nAnnotation is just a com
ment if it follows a UNIT and is equivalent to 1 if it is used alone. For examp
les, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non
-blank printable ASCII characters not containing '{' or '}'.", |
1197 "type": "string" | 1554 "type": "string" |
1198 }, | 1555 }, |
1199 "labels": { | 1556 "labels": { |
1200 "description": "The set of labels that can be used to descri
be a specific instance of this metric type. For example, the appengine.googleapi
s.com/http/server/response_latencies metric type has a label for the HTTP respon
se code, response_code, so you can look at latencies for successful responses or
just for responses that failed.", | 1557 "description": "The set of labels that can be used to descri
be a specific instance of this metric type. For example, the appengine.googleapi
s.com/http/server/response_latencies metric type has a label for the HTTP respon
se code, response_code, so you can look at latencies for successful responses or
just for responses that failed.", |
1201 "items": { | 1558 "items": { |
1202 "$ref": "LabelDescriptor" | 1559 "$ref": "LabelDescriptor" |
1203 }, | 1560 }, |
1204 "type": "array" | 1561 "type": "array" |
(...skipping 15 matching lines...) Expand all Loading... |
1220 "format": "double", | 1577 "format": "double", |
1221 "type": "number" | 1578 "type": "number" |
1222 } | 1579 } |
1223 }, | 1580 }, |
1224 "type": "object" | 1581 "type": "object" |
1225 }, | 1582 }, |
1226 "ListGroupsResponse": { | 1583 "ListGroupsResponse": { |
1227 "description": "The ListGroups response.", | 1584 "description": "The ListGroups response.", |
1228 "id": "ListGroupsResponse", | 1585 "id": "ListGroupsResponse", |
1229 "properties": { | 1586 "properties": { |
| 1587 "nextPageToken": { |
| 1588 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", |
| 1589 "type": "string" |
| 1590 }, |
1230 "group": { | 1591 "group": { |
1231 "description": "The groups that match the specified filters.
", | 1592 "description": "The groups that match the specified filters.
", |
1232 "items": { | 1593 "items": { |
1233 "$ref": "Group" | 1594 "$ref": "Group" |
1234 }, | 1595 }, |
1235 "type": "array" | 1596 "type": "array" |
1236 }, | |
1237 "nextPageToken": { | |
1238 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", | |
1239 "type": "string" | |
1240 } | 1597 } |
1241 }, | 1598 }, |
1242 "type": "object" | 1599 "type": "object" |
1243 }, | 1600 }, |
1244 "ListGroupMembersResponse": { | 1601 "ListGroupMembersResponse": { |
1245 "description": "The ListGroupMembers response.", | 1602 "description": "The ListGroupMembers response.", |
1246 "id": "ListGroupMembersResponse", | 1603 "id": "ListGroupMembersResponse", |
1247 "properties": { | 1604 "properties": { |
1248 "members": { | 1605 "members": { |
1249 "description": "A set of monitored resources in the group.", | 1606 "description": "A set of monitored resources in the group.", |
(...skipping 30 matching lines...) Expand all Loading... |
1280 "type": "array" | 1637 "type": "array" |
1281 }, | 1638 }, |
1282 "collectdVersion": { | 1639 "collectdVersion": { |
1283 "description": "The version of collectd that collected the d
ata. Example: \"5.3.0-192.el6\".", | 1640 "description": "The version of collectd that collected the d
ata. Example: \"5.3.0-192.el6\".", |
1284 "type": "string" | 1641 "type": "string" |
1285 } | 1642 } |
1286 }, | 1643 }, |
1287 "type": "object" | 1644 "type": "object" |
1288 }, | 1645 }, |
1289 "ListMonitoredResourceDescriptorsResponse": { | 1646 "ListMonitoredResourceDescriptorsResponse": { |
1290 "description": "The ListMonitoredResourcDescriptors response.", | 1647 "description": "The ListMonitoredResourceDescriptors response.", |
1291 "id": "ListMonitoredResourceDescriptorsResponse", | 1648 "id": "ListMonitoredResourceDescriptorsResponse", |
1292 "properties": { | 1649 "properties": { |
1293 "nextPageToken": { | 1650 "nextPageToken": { |
1294 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", | 1651 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", |
1295 "type": "string" | 1652 "type": "string" |
1296 }, | 1653 }, |
1297 "resourceDescriptors": { | 1654 "resourceDescriptors": { |
1298 "description": "The monitored resource descriptors that are
available to this project and that match filter, if present.", | 1655 "description": "The monitored resource descriptors that are
available to this project and that match filter, if present.", |
1299 "items": { | 1656 "items": { |
1300 "$ref": "MonitoredResourceDescriptor" | 1657 "$ref": "MonitoredResourceDescriptor" |
1301 }, | 1658 }, |
1302 "type": "array" | 1659 "type": "array" |
1303 } | 1660 } |
1304 }, | 1661 }, |
1305 "type": "object" | 1662 "type": "object" |
1306 }, | |
1307 "TimeSeries": { | |
1308 "description": "A collection of data points that describes the time-
varying values of a metric. A time series is identified by a combination of a fu
lly-specified monitored resource and a fully-specified metric. This type is used
for both listing and creating time series.", | |
1309 "id": "TimeSeries", | |
1310 "properties": { | |
1311 "valueType": { | |
1312 "description": "The value type of the time series. When list
ing time series, this value type might be different from the value type of the a
ssociated metric if this time series is an alignment or reduction of other time
series.When creating a time series, this field is optional. If present, it must
be the same as the type of the data in the points field.", | |
1313 "enum": [ | |
1314 "VALUE_TYPE_UNSPECIFIED", | |
1315 "BOOL", | |
1316 "INT64", | |
1317 "DOUBLE", | |
1318 "STRING", | |
1319 "DISTRIBUTION", | |
1320 "MONEY" | |
1321 ], | |
1322 "enumDescriptions": [ | |
1323 "Do not use this default value.", | |
1324 "The value is a boolean. This value type can be used onl
y if the metric kind is GAUGE.", | |
1325 "The value is a signed 64-bit integer.", | |
1326 "The value is a double precision floating point number."
, | |
1327 "The value is a text string. This value type can be used
only if the metric kind is GAUGE.", | |
1328 "The value is a Distribution.", | |
1329 "The value is money." | |
1330 ], | |
1331 "type": "string" | |
1332 }, | |
1333 "resource": { | |
1334 "$ref": "MonitoredResource", | |
1335 "description": "The associated resource. A fully-specified m
onitored resource used to identify the time series." | |
1336 }, | |
1337 "metricKind": { | |
1338 "description": "The metric kind of the time series. When lis
ting time series, this metric kind might be different from the metric kind of th
e associated metric if this time series is an alignment or reduction of other ti
me series.When creating a time series, this field is optional. If present, it mu
st be the same as the metric kind of the associated metric. If the associated me
tric's descriptor must be auto-created, then this field specifies the metric kin
d of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.", | |
1339 "enum": [ | |
1340 "METRIC_KIND_UNSPECIFIED", | |
1341 "GAUGE", | |
1342 "DELTA", | |
1343 "CUMULATIVE" | |
1344 ], | |
1345 "enumDescriptions": [ | |
1346 "Do not use this default value.", | |
1347 "An instantaneous measurement of a value.", | |
1348 "The change in a value during a time interval.", | |
1349 "A value accumulated over a time interval. Cumulative me
asurements in a time series should have the same start time and increasing end t
imes, until an event resets the cumulative value to zero and sets a new start ti
me for the following points." | |
1350 ], | |
1351 "type": "string" | |
1352 }, | |
1353 "metric": { | |
1354 "$ref": "Metric", | |
1355 "description": "The associated metric. A fully-specified met
ric used to identify the time series." | |
1356 }, | |
1357 "points": { | |
1358 "description": "The data points of this time series. When li
sting time series, the order of the points is specified by the list method.When
creating a time series, this field must contain exactly one point and the point'
s type must be the same as the value type of the associated metric. If the assoc
iated metric's descriptor must be auto-created, then the value type of the descr
iptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or D
ISTRIBUTION.", | |
1359 "items": { | |
1360 "$ref": "Point" | |
1361 }, | |
1362 "type": "array" | |
1363 } | |
1364 }, | |
1365 "type": "object" | |
1366 }, | |
1367 "CreateTimeSeriesRequest": { | |
1368 "description": "The CreateTimeSeries request.", | |
1369 "id": "CreateTimeSeriesRequest", | |
1370 "properties": { | |
1371 "timeSeries": { | |
1372 "description": "The new data to be added to a list of time s
eries. Adds at most one data point to each of several time series. The new data
point must be more recent than any other point in its time series. Each TimeSeri
es value must fully specify a unique time series by supplying all label values f
or the metric and the monitored resource.", | |
1373 "items": { | |
1374 "$ref": "TimeSeries" | |
1375 }, | |
1376 "type": "array" | |
1377 } | |
1378 }, | |
1379 "type": "object" | |
1380 }, | |
1381 "Distribution": { | |
1382 "description": "Distribution contains summary statistics for a popul
ation of values. It optionally contains a histogram representing the distributio
n of those values across a set of buckets.The summary statistics are the count,
mean, sum of the squared deviation from the mean, the minimum, and the maximum o
f the set of population of values. The histogram is based on a sequence of bucke
ts and gives a count of values that fall into each bucket. The boundaries of the
buckets are given either explicitly or by formulas for buckets of fixed or expo
nentially increasing widths.Although it is not forbidden, it is generally a bad
idea to include non-finite values (infinities or NaNs) in the population of valu
es, as this will render the mean and sum_of_squared_deviation fields meaningless
.", | |
1383 "id": "Distribution", | |
1384 "properties": { | |
1385 "sumOfSquaredDeviation": { | |
1386 "description": "The sum of squared deviations from the mean
of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mea
n)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition
describes Welford's method for accumulating this sum in one pass.If count is ze
ro then this field must be zero.", | |
1387 "format": "double", | |
1388 "type": "number" | |
1389 }, | |
1390 "range": { | |
1391 "$ref": "Range", | |
1392 "description": "If specified, contains the range of the popu
lation values. The field must not be present if the count is zero. This field is
presently ignored by the Stackdriver Monitoring API v3." | |
1393 }, | |
1394 "mean": { | |
1395 "description": "The arithmetic mean of the values in the pop
ulation. If count is zero then this field must be zero.", | |
1396 "format": "double", | |
1397 "type": "number" | |
1398 }, | |
1399 "count": { | |
1400 "description": "The number of values in the population. Must
be non-negative. This value must equal the sum of the values in bucket_counts i
f a histogram is provided.", | |
1401 "format": "int64", | |
1402 "type": "string" | |
1403 }, | |
1404 "bucketCounts": { | |
1405 "description": "Required in the Stackdriver Monitoring API v
3. The values for each bucket specified in bucket_options. The sum of the values
in bucketCounts must equal the value in the count field of the Distribution obj
ect. The order of the bucket counts follows the numbering schemes described for
the three bucket types. The underflow bucket has number 0; the finite buckets, i
f any, have numbers 1 through N-2; and the overflow bucket has number N-1. The s
ize of bucket_counts must not be greater than N. If the size is less than N, the
n the remaining buckets are assigned values of zero.", | |
1406 "items": { | |
1407 "format": "int64", | |
1408 "type": "string" | |
1409 }, | |
1410 "type": "array" | |
1411 }, | |
1412 "bucketOptions": { | |
1413 "$ref": "BucketOptions", | |
1414 "description": "Required in the Stackdriver Monitoring API v
3. Defines the histogram bucket boundaries." | |
1415 } | |
1416 }, | |
1417 "type": "object" | |
1418 }, | |
1419 "MonitoredResource": { | |
1420 "description": "An object representing a resource that can be used f
or monitoring, logging, billing, or other purposes. Examples include virtual mac
hine instances, databases, and storage devices such as disks. The type field ide
ntifies a MonitoredResourceDescriptor object that describes the resource's schem
a. Information in the labels field identifies the actual resource and its attrib
utes according to the schema. For example, a particular Compute Engine VM instan
ce could be represented by the following object, because the MonitoredResourceDe
scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type
\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n
\"zone\": \"us-central1-a\" }}\n", | |
1421 "id": "MonitoredResource", | |
1422 "properties": { | |
1423 "type": { | |
1424 "description": "Required. The monitored resource type. This
field must match the type field of a MonitoredResourceDescriptor object. For exa
mple, the type of a Cloud SQL database is \"cloudsql_database\".", | |
1425 "type": "string" | |
1426 }, | |
1427 "labels": { | |
1428 "additionalProperties": { | |
1429 "type": "string" | |
1430 }, | |
1431 "description": "Required. Values for all of the labels liste
d in the associated monitored resource descriptor. For example, Cloud SQL databa
ses use the labels \"database_id\" and \"zone\".", | |
1432 "type": "object" | |
1433 } | |
1434 }, | |
1435 "type": "object" | |
1436 }, | |
1437 "ListMetricDescriptorsResponse": { | |
1438 "description": "The ListMetricDescriptors response.", | |
1439 "id": "ListMetricDescriptorsResponse", | |
1440 "properties": { | |
1441 "metricDescriptors": { | |
1442 "description": "The metric descriptors that are available to
the project and that match the value of filter, if present.", | |
1443 "items": { | |
1444 "$ref": "MetricDescriptor" | |
1445 }, | |
1446 "type": "array" | |
1447 }, | |
1448 "nextPageToken": { | |
1449 "description": "If there are more results than have been ret
urned, then this field is set to a non-empty value. To see the additional result
s, use that value as pageToken in the next call to this method.", | |
1450 "type": "string" | |
1451 } | |
1452 }, | |
1453 "type": "object" | |
1454 }, | |
1455 "MonitoredResourceDescriptor": { | |
1456 "description": "An object that describes the schema of a MonitoredRe
source object using a type name and a set of labels. For example, the monitored
resource descriptor for Google Compute Engine VM instances has a type of \"gce_i
nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id
entify particular VM instances.Different APIs can support different monitored re
source types. APIs generally provide a list method that returns the monitored re
source descriptors used by the API.", | |
1457 "id": "MonitoredResourceDescriptor", | |
1458 "properties": { | |
1459 "type": { | |
1460 "description": "Required. The monitored resource type. For e
xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL.
The maximum length of this value is 256 characters.", | |
1461 "type": "string" | |
1462 }, | |
1463 "labels": { | |
1464 "description": "Required. A set of labels used to describe i
nstances of this monitored resource type. For example, an individual Google Clou
d SQL database is identified by values for the labels \"database_id\" and \"zone
\".", | |
1465 "items": { | |
1466 "$ref": "LabelDescriptor" | |
1467 }, | |
1468 "type": "array" | |
1469 }, | |
1470 "name": { | |
1471 "description": "Optional. The resource name of the monitored
resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type
}\" where {type} is the value of the type field in this object and {project_id}
is a project ID that provides API-specific context for accessing the type. APIs
that do not use project information can use the resource name format \"monitored
ResourceDescriptors/{type}\".", | |
1472 "type": "string" | |
1473 }, | |
1474 "displayName": { | |
1475 "description": "Optional. A concise name for the monitored r
esource type that might be displayed in user interfaces. It should be a Title Ca
sed Noun Phrase, without any article or other determiners. For example, \"Google
Cloud SQL Database\".", | |
1476 "type": "string" | |
1477 }, | |
1478 "description": { | |
1479 "description": "Optional. A detailed description of the moni
tored resource type that might be used in documentation.", | |
1480 "type": "string" | |
1481 } | |
1482 }, | |
1483 "type": "object" | |
1484 }, | |
1485 "TypedValue": { | |
1486 "description": "A single strongly-typed value.", | |
1487 "id": "TypedValue", | |
1488 "properties": { | |
1489 "doubleValue": { | |
1490 "description": "A 64-bit double-precision floating-point num
ber. Its magnitude is approximately ±10<sup>±300</sup> and it has
16 significant digits of precision.", | |
1491 "format": "double", | |
1492 "type": "number" | |
1493 }, | |
1494 "int64Value": { | |
1495 "description": "A 64-bit integer. Its range is approximately
±9.2x10<sup>18</sup>.", | |
1496 "format": "int64", | |
1497 "type": "string" | |
1498 }, | |
1499 "distributionValue": { | |
1500 "$ref": "Distribution", | |
1501 "description": "A distribution value." | |
1502 }, | |
1503 "boolValue": { | |
1504 "description": "A Boolean value: true or false.", | |
1505 "type": "boolean" | |
1506 }, | |
1507 "stringValue": { | |
1508 "description": "A variable-length string value.", | |
1509 "type": "string" | |
1510 } | |
1511 }, | |
1512 "type": "object" | |
1513 }, | |
1514 "CollectdPayload": { | |
1515 "description": "A collection of data points sent from a collectd-bas
ed plugin. See the collectd documentation for more information.", | |
1516 "id": "CollectdPayload", | |
1517 "properties": { | |
1518 "typeInstance": { | |
1519 "description": "The measurement type instance. Example: \"us
ed\".", | |
1520 "type": "string" | |
1521 }, | |
1522 "metadata": { | |
1523 "additionalProperties": { | |
1524 "$ref": "TypedValue" | |
1525 }, | |
1526 "description": "The measurement metadata. Example: \"process
_id\" -> 12345", | |
1527 "type": "object" | |
1528 }, | |
1529 "type": { | |
1530 "description": "The measurement type. Example: \"memory\".", | |
1531 "type": "string" | |
1532 }, | |
1533 "plugin": { | |
1534 "description": "The name of the plugin. Example: \"disk\".", | |
1535 "type": "string" | |
1536 }, | |
1537 "pluginInstance": { | |
1538 "description": "The instance name of the plugin Example: \"h
dcl\".", | |
1539 "type": "string" | |
1540 }, | |
1541 "endTime": { | |
1542 "description": "The end time of the interval.", | |
1543 "format": "google-datetime", | |
1544 "type": "string" | |
1545 }, | |
1546 "startTime": { | |
1547 "description": "The start time of the interval.", | |
1548 "format": "google-datetime", | |
1549 "type": "string" | |
1550 }, | |
1551 "values": { | |
1552 "description": "The measured values during this time interva
l. Each value must have a different dataSourceName.", | |
1553 "items": { | |
1554 "$ref": "CollectdValue" | |
1555 }, | |
1556 "type": "array" | |
1557 } | |
1558 }, | |
1559 "type": "object" | |
1560 }, | |
1561 "Linear": { | |
1562 "description": "Specifies a linear sequence of buckets that all have
the same width (except overflow and underflow). Each bucket represents a consta
nt absolute uncertainty on the specific value in the bucket.There are num_finite
_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0
<= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width *
(i - 1)).", | |
1563 "id": "Linear", | |
1564 "properties": { | |
1565 "width": { | |
1566 "description": "Must be greater than 0.", | |
1567 "format": "double", | |
1568 "type": "number" | |
1569 }, | |
1570 "offset": { | |
1571 "description": "Lower bound of the first bucket.", | |
1572 "format": "double", | |
1573 "type": "number" | |
1574 }, | |
1575 "numFiniteBuckets": { | |
1576 "description": "Must be greater than 0.", | |
1577 "format": "int32", | |
1578 "type": "integer" | |
1579 } | |
1580 }, | |
1581 "type": "object" | |
1582 }, | |
1583 "Empty": { | |
1584 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance:\nservice Fo
o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J
SON representation for Empty is empty JSON object {}.", | |
1585 "id": "Empty", | |
1586 "properties": {}, | |
1587 "type": "object" | |
1588 }, | |
1589 "Option": { | |
1590 "description": "A protocol buffer option, which can be attached to a
message, field, enumeration, etc.", | |
1591 "id": "Option", | |
1592 "properties": { | |
1593 "name": { | |
1594 "description": "The option's name. For protobuf built-in opt
ions (options defined in descriptor.proto), this is the short name. For example,
\"map_entry\". For custom options, it should be the fully-qualified name. For e
xample, \"google.api.http\".", | |
1595 "type": "string" | |
1596 }, | |
1597 "value": { | |
1598 "additionalProperties": { | |
1599 "description": "Properties of the object. Contains field
@type with type URL.", | |
1600 "type": "any" | |
1601 }, | |
1602 "description": "The option's value packed in an Any message.
If the value is a primitive, the corresponding wrapper type defined in google/p
rotobuf/wrappers.proto should be used. If the value is an enum, it should be sto
red as an int32 value using the google.protobuf.Int32Value type.", | |
1603 "type": "object" | |
1604 } | |
1605 }, | |
1606 "type": "object" | |
1607 } | 1663 } |
1608 }, | 1664 }, |
1609 "servicePath": "", | 1665 "servicePath": "", |
1610 "title": "Stackdriver Monitoring API", | 1666 "title": "Stackdriver Monitoring API", |
1611 "version": "v3" | 1667 "version": "v3" |
1612 } | 1668 } |
OLD | NEW |