Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: discovery/googleapis/monitoring__v3.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/ml__v1.json ('k') | discovery/googleapis/partners__v2.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/monitoring": { 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" 6 "description": "View and write monitoring data for all of yo ur Google and third-party Cloud and API projects"
7 }, 7 },
8 "https://www.googleapis.com/auth/monitoring.write": { 8 "https://www.googleapis.com/auth/monitoring.write": {
9 "description": "Publish metric data to your Google Cloud pro jects" 9 "description": "Publish metric data to your Google Cloud pro jects"
10 }, 10 },
(...skipping 16 matching lines...) Expand all
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": {
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.",
39 "location": "query",
40 "type": "string"
41 },
37 "pp": { 42 "pp": {
38 "default": "true", 43 "default": "true",
39 "description": "Pretty-print response.", 44 "description": "Pretty-print response.",
40 "location": "query", 45 "location": "query",
41 "type": "boolean" 46 "type": "boolean"
42 }, 47 },
48 "bearer_token": {
49 "description": "OAuth bearer token.",
50 "location": "query",
51 "type": "string"
52 },
43 "oauth_token": { 53 "oauth_token": {
44 "description": "OAuth 2.0 token for the current user.", 54 "description": "OAuth 2.0 token for the current user.",
45 "location": "query", 55 "location": "query",
46 "type": "string" 56 "type": "string"
47 }, 57 },
48 "bearer_token": {
49 "description": "OAuth bearer token.",
50 "location": "query",
51 "type": "string"
52 },
53 "upload_protocol": { 58 "upload_protocol": {
54 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
55 "location": "query", 60 "location": "query",
56 "type": "string" 61 "type": "string"
57 }, 62 },
58 "prettyPrint": { 63 "prettyPrint": {
59 "default": "true", 64 "default": "true",
60 "description": "Returns response with indentations and line breaks." , 65 "description": "Returns response with indentations and line breaks." ,
61 "location": "query", 66 "location": "query",
62 "type": "boolean" 67 "type": "boolean"
63 }, 68 },
69 "uploadType": {
70 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
71 "location": "query",
72 "type": "string"
73 },
64 "fields": { 74 "fields": {
65 "description": "Selector specifying which fields to include in a par tial response.", 75 "description": "Selector specifying which fields to include in a par tial response.",
66 "location": "query", 76 "location": "query",
67 "type": "string" 77 "type": "string"
68 }, 78 },
69 "uploadType": {
70 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
71 "location": "query",
72 "type": "string"
73 },
74 "callback": { 79 "callback": {
75 "description": "JSONP", 80 "description": "JSONP",
76 "location": "query", 81 "location": "query",
77 "type": "string" 82 "type": "string"
78 }, 83 },
79 "$.xgafv": { 84 "$.xgafv": {
80 "description": "V1 error format.", 85 "description": "V1 error format.",
81 "enum": [ 86 "enum": [
82 "1", 87 "1",
83 "2" 88 "2"
(...skipping 14 matching lines...) Expand all
98 "proto" 103 "proto"
99 ], 104 ],
100 "enumDescriptions": [ 105 "enumDescriptions": [
101 "Responses with Content-Type of application/json", 106 "Responses with Content-Type of application/json",
102 "Media download with context-dependent Content-Type", 107 "Media download with context-dependent Content-Type",
103 "Responses with Content-Type of application/x-protobuf" 108 "Responses with Content-Type of application/x-protobuf"
104 ], 109 ],
105 "location": "query", 110 "location": "query",
106 "type": "string" 111 "type": "string"
107 }, 112 },
108 "access_token": {
109 "description": "OAuth access token.",
110 "location": "query",
111 "type": "string"
112 },
113 "key": { 113 "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.", 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.",
115 "location": "query", 115 "location": "query",
116 "type": "string" 116 "type": "string"
117 }, 117 },
118 "quotaUser": { 118 "access_token": {
119 "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.", 119 "description": "OAuth access token.",
120 "location": "query", 120 "location": "query",
121 "type": "string" 121 "type": "string"
122 } 122 }
123 }, 123 },
124 "protocol": "rest", 124 "protocol": "rest",
125 "resources": { 125 "resources": {
126 "projects": { 126 "projects": {
127 "resources": { 127 "resources": {
128 "monitoredResourceDescriptors": { 128 "metricDescriptors": {
129 "methods": { 129 "methods": {
130 "list": { 130 "list": {
131 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.", 131 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
132 "httpMethod": "GET", 132 "httpMethod": "GET",
133 "id": "monitoring.projects.monitoredResourceDescript ors.list", 133 "id": "monitoring.projects.metricDescriptors.list",
134 "parameterOrder": [ 134 "parameterOrder": [
135 "name" 135 "name"
136 ], 136 ],
137 "parameters": { 137 "parameters": {
138 "filter": {
139 "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",
140 "location": "query",
141 "type": "string"
142 },
143 "name": { 138 "name": {
144 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 139 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
145 "location": "path", 140 "location": "path",
146 "pattern": "^projects/[^/]+$", 141 "pattern": "^projects/[^/]+$",
147 "required": true, 142 "required": true,
148 "type": "string" 143 "type": "string"
149 }, 144 },
150 "pageToken": { 145 "pageToken": {
151 "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.", 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.",
152 "location": "query", 147 "location": "query",
153 "type": "string" 148 "type": "string"
154 }, 149 },
155 "pageSize": { 150 "pageSize": {
156 "description": "A positive number that is th e maximum number of results to return.", 151 "description": "A positive number that is th e maximum number of results to return.",
157 "format": "int32", 152 "format": "int32",
158 "location": "query", 153 "location": "query",
159 "type": "integer" 154 "type": "integer"
155 },
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 } 160 }
161 }, 161 },
162 "path": "v3/{+name}/monitoredResourceDescriptors", 162 "path": "v3/{+name}/metricDescriptors",
163 "response": { 163 "response": {
164 "$ref": "ListMonitoredResourceDescriptorsRespons e" 164 "$ref": "ListMetricDescriptorsResponse"
165 }, 165 },
166 "scopes": [ 166 "scopes": [
167 "https://www.googleapis.com/auth/cloud-platform" , 167 "https://www.googleapis.com/auth/cloud-platform" ,
168 "https://www.googleapis.com/auth/monitoring", 168 "https://www.googleapis.com/auth/monitoring",
169 "https://www.googleapis.com/auth/monitoring.read ", 169 "https://www.googleapis.com/auth/monitoring.read ",
170 "https://www.googleapis.com/auth/monitoring.writ e" 170 "https://www.googleapis.com/auth/monitoring.writ e"
171 ] 171 ]
172 }, 172 },
173 "get": { 173 "get": {
174 "description": "Gets a single monitored resource des criptor. This method does not require a Stackdriver account.", 174 "description": "Gets a single metric descriptor. Thi s method does not require a Stackdriver account.",
175 "httpMethod": "GET", 175 "httpMethod": "GET",
176 "id": "monitoring.projects.monitoredResourceDescript ors.get", 176 "id": "monitoring.projects.metricDescriptors.get",
177 "parameterOrder": [ 177 "parameterOrder": [
178 "name" 178 "name"
179 ], 179 ],
180 "parameters": { 180 "parameters": {
181 "name": { 181 "name": {
182 "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.", 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", 183 "location": "path",
184 "pattern": "^projects/[^/]+/monitoredResourc eDescriptors/[^/]+$", 184 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
185 "required": true, 185 "required": true,
186 "type": "string" 186 "type": "string"
187 } 187 }
188 }, 188 },
189 "path": "v3/{+name}", 189 "path": "v3/{+name}",
190 "response": { 190 "response": {
191 "$ref": "MonitoredResourceDescriptor" 191 "$ref": "MetricDescriptor"
192 }, 192 },
193 "scopes": [ 193 "scopes": [
194 "https://www.googleapis.com/auth/cloud-platform" , 194 "https://www.googleapis.com/auth/cloud-platform" ,
195 "https://www.googleapis.com/auth/monitoring", 195 "https://www.googleapis.com/auth/monitoring",
196 "https://www.googleapis.com/auth/monitoring.read ", 196 "https://www.googleapis.com/auth/monitoring.read ",
197 "https://www.googleapis.com/auth/monitoring.writ e" 197 "https://www.googleapis.com/auth/monitoring.writ e"
198 ] 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 ]
199 } 327 }
200 } 328 }
201 }, 329 },
202 "groups": { 330 "groups": {
203 "methods": { 331 "methods": {
204 "update": {
205 "description": "Updates an existing group. You can c hange any group attributes except name.",
206 "httpMethod": "PUT",
207 "id": "monitoring.projects.groups.update",
208 "parameterOrder": [
209 "name"
210 ],
211 "parameters": {
212 "name": {
213 "description": "Output only. The name of thi s group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". Wh en creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.",
214 "location": "path",
215 "pattern": "^projects/[^/]+/groups/[^/]+$",
216 "required": true,
217 "type": "string"
218 },
219 "validateOnly": {
220 "description": "If true, validate this reque st but do not update the existing group.",
221 "location": "query",
222 "type": "boolean"
223 }
224 },
225 "path": "v3/{+name}",
226 "request": {
227 "$ref": "Group"
228 },
229 "response": {
230 "$ref": "Group"
231 },
232 "scopes": [
233 "https://www.googleapis.com/auth/cloud-platform" ,
234 "https://www.googleapis.com/auth/monitoring"
235 ]
236 },
237 "create": {
238 "description": "Creates a new group.",
239 "httpMethod": "POST",
240 "id": "monitoring.projects.groups.create",
241 "parameterOrder": [
242 "name"
243 ],
244 "parameters": {
245 "name": {
246 "description": "The project in which to crea te the group. The format is \"projects/{project_id_or_number}\".",
247 "location": "path",
248 "pattern": "^projects/[^/]+$",
249 "required": true,
250 "type": "string"
251 },
252 "validateOnly": {
253 "description": "If true, validate this reque st but do not create the group.",
254 "location": "query",
255 "type": "boolean"
256 }
257 },
258 "path": "v3/{+name}/groups",
259 "request": {
260 "$ref": "Group"
261 },
262 "response": {
263 "$ref": "Group"
264 },
265 "scopes": [
266 "https://www.googleapis.com/auth/cloud-platform" ,
267 "https://www.googleapis.com/auth/monitoring"
268 ]
269 },
270 "delete": { 332 "delete": {
271 "description": "Deletes an existing group.", 333 "description": "Deletes an existing group.",
272 "httpMethod": "DELETE", 334 "httpMethod": "DELETE",
273 "id": "monitoring.projects.groups.delete", 335 "id": "monitoring.projects.groups.delete",
274 "parameterOrder": [ 336 "parameterOrder": [
275 "name" 337 "name"
276 ], 338 ],
277 "parameters": { 339 "parameters": {
278 "name": { 340 "name": {
279 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".", 341 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 }, 424 },
363 "path": "v3/{+name}", 425 "path": "v3/{+name}",
364 "response": { 426 "response": {
365 "$ref": "Group" 427 "$ref": "Group"
366 }, 428 },
367 "scopes": [ 429 "scopes": [
368 "https://www.googleapis.com/auth/cloud-platform" , 430 "https://www.googleapis.com/auth/cloud-platform" ,
369 "https://www.googleapis.com/auth/monitoring", 431 "https://www.googleapis.com/auth/monitoring",
370 "https://www.googleapis.com/auth/monitoring.read " 432 "https://www.googleapis.com/auth/monitoring.read "
371 ] 433 ]
434 },
435 "update": {
436 "description": "Updates an existing group. You can c hange any group attributes except name.",
437 "httpMethod": "PUT",
438 "id": "monitoring.projects.groups.update",
439 "parameterOrder": [
440 "name"
441 ],
442 "parameters": {
443 "name": {
444 "description": "Output only. The name of thi s group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". Wh en creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.",
445 "location": "path",
446 "pattern": "^projects/[^/]+/groups/[^/]+$",
447 "required": true,
448 "type": "string"
449 },
450 "validateOnly": {
451 "description": "If true, validate this reque st but do not update the existing group.",
452 "location": "query",
453 "type": "boolean"
454 }
455 },
456 "path": "v3/{+name}",
457 "request": {
458 "$ref": "Group"
459 },
460 "response": {
461 "$ref": "Group"
462 },
463 "scopes": [
464 "https://www.googleapis.com/auth/cloud-platform" ,
465 "https://www.googleapis.com/auth/monitoring"
466 ]
467 },
468 "create": {
469 "description": "Creates a new group.",
470 "httpMethod": "POST",
471 "id": "monitoring.projects.groups.create",
472 "parameterOrder": [
473 "name"
474 ],
475 "parameters": {
476 "name": {
477 "description": "The project in which to crea te the group. The format is \"projects/{project_id_or_number}\".",
478 "location": "path",
479 "pattern": "^projects/[^/]+$",
480 "required": true,
481 "type": "string"
482 },
483 "validateOnly": {
484 "description": "If true, validate this reque st but do not create the group.",
485 "location": "query",
486 "type": "boolean"
487 }
488 },
489 "path": "v3/{+name}/groups",
490 "request": {
491 "$ref": "Group"
492 },
493 "response": {
494 "$ref": "Group"
495 },
496 "scopes": [
497 "https://www.googleapis.com/auth/cloud-platform" ,
498 "https://www.googleapis.com/auth/monitoring"
499 ]
372 } 500 }
373 }, 501 },
374 "resources": { 502 "resources": {
375 "members": { 503 "members": {
376 "methods": { 504 "methods": {
377 "list": { 505 "list": {
378 "description": "Lists the monitored resource s that are members of a group.", 506 "description": "Lists the monitored resource s that are members of a group.",
379 "httpMethod": "GET", 507 "httpMethod": "GET",
380 "id": "monitoring.projects.groups.members.li st", 508 "id": "monitoring.projects.groups.members.li st",
381 "parameterOrder": [ 509 "parameterOrder": [
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 "timeSeries": { 596 "timeSeries": {
469 "methods": { 597 "methods": {
470 "list": { 598 "list": {
471 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.", 599 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.",
472 "httpMethod": "GET", 600 "httpMethod": "GET",
473 "id": "monitoring.projects.timeSeries.list", 601 "id": "monitoring.projects.timeSeries.list",
474 "parameterOrder": [ 602 "parameterOrder": [
475 "name" 603 "name"
476 ], 604 ],
477 "parameters": { 605 "parameters": {
478 "filter": {
479 "description": "A monitoring filter that spe cifies which time series should be returned. The filter must specify a single me tric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\ n metric.label.instance_name = \"my-instance-name\"\n",
480 "location": "query",
481 "type": "string"
482 },
483 "pageToken": {
484 "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.",
485 "location": "query",
486 "type": "string"
487 },
488 "aggregation.perSeriesAligner": {
489 "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.",
490 "enum": [
491 "ALIGN_NONE",
492 "ALIGN_DELTA",
493 "ALIGN_RATE",
494 "ALIGN_INTERPOLATE",
495 "ALIGN_NEXT_OLDER",
496 "ALIGN_MIN",
497 "ALIGN_MAX",
498 "ALIGN_MEAN",
499 "ALIGN_COUNT",
500 "ALIGN_SUM",
501 "ALIGN_STDDEV",
502 "ALIGN_COUNT_TRUE",
503 "ALIGN_FRACTION_TRUE",
504 "ALIGN_PERCENTILE_99",
505 "ALIGN_PERCENTILE_95",
506 "ALIGN_PERCENTILE_50",
507 "ALIGN_PERCENTILE_05"
508 ],
509 "location": "query",
510 "type": "string"
511 },
512 "interval.startTime": {
513 "description": "Optional. The beginning of t he time interval. The default value for the start time is the end time. The star t time must not be later than the end time.",
514 "format": "google-datetime",
515 "location": "query",
516 "type": "string"
517 },
518 "view": {
519 "description": "Specifies which information is returned about the time series.",
520 "enum": [
521 "FULL",
522 "HEADERS"
523 ],
524 "location": "query",
525 "type": "string"
526 },
527 "name": { 606 "name": {
528 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 607 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
529 "location": "path", 608 "location": "path",
530 "pattern": "^projects/[^/]+$", 609 "pattern": "^projects/[^/]+$",
531 "required": true, 610 "required": true,
532 "type": "string" 611 "type": "string"
533 }, 612 },
534 "aggregation.groupByFields": { 613 "aggregation.groupByFields": {
535 "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.", 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.",
536 "location": "query", 615 "location": "query",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 "REDUCE_COUNT", 651 "REDUCE_COUNT",
573 "REDUCE_COUNT_TRUE", 652 "REDUCE_COUNT_TRUE",
574 "REDUCE_FRACTION_TRUE", 653 "REDUCE_FRACTION_TRUE",
575 "REDUCE_PERCENTILE_99", 654 "REDUCE_PERCENTILE_99",
576 "REDUCE_PERCENTILE_95", 655 "REDUCE_PERCENTILE_95",
577 "REDUCE_PERCENTILE_50", 656 "REDUCE_PERCENTILE_50",
578 "REDUCE_PERCENTILE_05" 657 "REDUCE_PERCENTILE_05"
579 ], 658 ],
580 "location": "query", 659 "location": "query",
581 "type": "string" 660 "type": "string"
661 },
662 "filter": {
663 "description": "A monitoring filter that spe cifies which time series should be returned. The filter must specify a single me tric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\ n metric.label.instance_name = \"my-instance-name\"\n",
664 "location": "query",
665 "type": "string"
666 },
667 "pageToken": {
668 "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.",
669 "location": "query",
670 "type": "string"
671 },
672 "aggregation.perSeriesAligner": {
673 "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.",
674 "enum": [
675 "ALIGN_NONE",
676 "ALIGN_DELTA",
677 "ALIGN_RATE",
678 "ALIGN_INTERPOLATE",
679 "ALIGN_NEXT_OLDER",
680 "ALIGN_MIN",
681 "ALIGN_MAX",
682 "ALIGN_MEAN",
683 "ALIGN_COUNT",
684 "ALIGN_SUM",
685 "ALIGN_STDDEV",
686 "ALIGN_COUNT_TRUE",
687 "ALIGN_FRACTION_TRUE",
688 "ALIGN_PERCENTILE_99",
689 "ALIGN_PERCENTILE_95",
690 "ALIGN_PERCENTILE_50",
691 "ALIGN_PERCENTILE_05"
692 ],
693 "location": "query",
694 "type": "string"
695 },
696 "interval.startTime": {
697 "description": "Optional. The beginning of t he time interval. The default value for the start time is the end time. The star t time must not be later than the end time.",
698 "format": "google-datetime",
699 "location": "query",
700 "type": "string"
701 },
702 "view": {
703 "description": "Specifies which information is returned about the time series.",
704 "enum": [
705 "FULL",
706 "HEADERS"
707 ],
708 "location": "query",
709 "type": "string"
582 } 710 }
583 }, 711 },
584 "path": "v3/{+name}/timeSeries", 712 "path": "v3/{+name}/timeSeries",
585 "response": { 713 "response": {
586 "$ref": "ListTimeSeriesResponse" 714 "$ref": "ListTimeSeriesResponse"
587 }, 715 },
588 "scopes": [ 716 "scopes": [
589 "https://www.googleapis.com/auth/cloud-platform" , 717 "https://www.googleapis.com/auth/cloud-platform" ,
590 "https://www.googleapis.com/auth/monitoring", 718 "https://www.googleapis.com/auth/monitoring",
591 "https://www.googleapis.com/auth/monitoring.read " 719 "https://www.googleapis.com/auth/monitoring.read "
592 ] 720 ]
593 }, 721 },
594 "create": { 722 "create": {
595 "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were writte n. If any time series could not be written, a corresponding failure message is i ncluded in the error response.", 723 "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were writte n. If any time series could not be written, a corresponding failure message is i ncluded in the error response.",
596 "httpMethod": "POST", 724 "httpMethod": "POST",
597 "id": "monitoring.projects.timeSeries.create", 725 "id": "monitoring.projects.timeSeries.create",
598 "parameterOrder": [ 726 "parameterOrder": [
599 "name" 727 "name"
600 ], 728 ],
601 "parameters": {
602 "name": {
603 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
604 "location": "path",
605 "pattern": "^projects/[^/]+$",
606 "required": true,
607 "type": "string"
608 }
609 },
610 "path": "v3/{+name}/timeSeries",
611 "request": {
612 "$ref": "CreateTimeSeriesRequest"
613 },
614 "response": {
615 "$ref": "Empty"
616 },
617 "scopes": [
618 "https://www.googleapis.com/auth/cloud-platform" ,
619 "https://www.googleapis.com/auth/monitoring",
620 "https://www.googleapis.com/auth/monitoring.writ e"
621 ]
622 }
623 }
624 },
625 "metricDescriptors": {
626 "methods": {
627 "delete": {
628 "description": "Deletes a metric descriptor. Only us er-created custom metrics can be deleted.",
629 "httpMethod": "DELETE",
630 "id": "monitoring.projects.metricDescriptors.delete" ,
631 "parameterOrder": [
632 "name"
633 ],
634 "parameters": {
635 "name": {
636 "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\".",
637 "location": "path",
638 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
639 "required": true,
640 "type": "string"
641 }
642 },
643 "path": "v3/{+name}",
644 "response": {
645 "$ref": "Empty"
646 },
647 "scopes": [
648 "https://www.googleapis.com/auth/cloud-platform" ,
649 "https://www.googleapis.com/auth/monitoring"
650 ]
651 },
652 "list": {
653 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
654 "httpMethod": "GET",
655 "id": "monitoring.projects.metricDescriptors.list",
656 "parameterOrder": [
657 "name"
658 ],
659 "parameters": {
660 "filter": {
661 "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",
662 "location": "query",
663 "type": "string"
664 },
665 "name": {
666 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
667 "location": "path",
668 "pattern": "^projects/[^/]+$",
669 "required": true,
670 "type": "string"
671 },
672 "pageToken": {
673 "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.",
674 "location": "query",
675 "type": "string"
676 },
677 "pageSize": {
678 "description": "A positive number that is th e maximum number of results to return.",
679 "format": "int32",
680 "location": "query",
681 "type": "integer"
682 }
683 },
684 "path": "v3/{+name}/metricDescriptors",
685 "response": {
686 "$ref": "ListMetricDescriptorsResponse"
687 },
688 "scopes": [
689 "https://www.googleapis.com/auth/cloud-platform" ,
690 "https://www.googleapis.com/auth/monitoring",
691 "https://www.googleapis.com/auth/monitoring.read ",
692 "https://www.googleapis.com/auth/monitoring.writ e"
693 ]
694 },
695 "get": {
696 "description": "Gets a single metric descriptor. Thi s method does not require a Stackdriver account.",
697 "httpMethod": "GET",
698 "id": "monitoring.projects.metricDescriptors.get",
699 "parameterOrder": [
700 "name"
701 ],
702 "parameters": {
703 "name": {
704 "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\".",
705 "location": "path",
706 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
707 "required": true,
708 "type": "string"
709 }
710 },
711 "path": "v3/{+name}",
712 "response": {
713 "$ref": "MetricDescriptor"
714 },
715 "scopes": [
716 "https://www.googleapis.com/auth/cloud-platform" ,
717 "https://www.googleapis.com/auth/monitoring",
718 "https://www.googleapis.com/auth/monitoring.read ",
719 "https://www.googleapis.com/auth/monitoring.writ e"
720 ]
721 },
722 "create": {
723 "description": "Creates a new metric descriptor. Use r-created metric descriptors define custom metrics.",
724 "httpMethod": "POST",
725 "id": "monitoring.projects.metricDescriptors.create" ,
726 "parameterOrder": [
727 "name"
728 ],
729 "parameters": { 729 "parameters": {
730 "name": { 730 "name": {
731 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 731 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
732 "location": "path", 732 "location": "path",
733 "pattern": "^projects/[^/]+$", 733 "pattern": "^projects/[^/]+$",
734 "required": true, 734 "required": true,
735 "type": "string" 735 "type": "string"
736 } 736 }
737 }, 737 },
738 "path": "v3/{+name}/metricDescriptors", 738 "path": "v3/{+name}/timeSeries",
739 "request": { 739 "request": {
740 "$ref": "MetricDescriptor" 740 "$ref": "CreateTimeSeriesRequest"
741 }, 741 },
742 "response": { 742 "response": {
743 "$ref": "MetricDescriptor" 743 "$ref": "Empty"
744 }, 744 },
745 "scopes": [ 745 "scopes": [
746 "https://www.googleapis.com/auth/cloud-platform" , 746 "https://www.googleapis.com/auth/cloud-platform" ,
747 "https://www.googleapis.com/auth/monitoring", 747 "https://www.googleapis.com/auth/monitoring",
748 "https://www.googleapis.com/auth/monitoring.writ e" 748 "https://www.googleapis.com/auth/monitoring.writ e"
749 ] 749 ]
750 } 750 }
751 } 751 }
752 } 752 }
753 } 753 }
754 } 754 }
755 }, 755 },
756 "revision": "20170302", 756 "revision": "20170320",
757 "rootUrl": "https://monitoring.googleapis.com/", 757 "rootUrl": "https://monitoring.googleapis.com/",
758 "schemas": { 758 "schemas": {
759 "CollectdValue": { 759 "TimeInterval": {
760 "description": "A single data point from a collectd-based plugin.", 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.",
761 "id": "CollectdValue", 761 "id": "TimeInterval",
762 "properties": { 762 "properties": {
763 "dataSourceName": { 763 "endTime": {
764 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." , 764 "description": "Required. The end of the time interval.",
765 "type": "string" 765 "format": "google-datetime",
766 }, 766 "type": "string"
767 },
768 "startTime": {
769 "description": "Optional. The beginning of the time interval . The default value for the start time is the end time. The start time must not be later than the end time.",
770 "format": "google-datetime",
771 "type": "string"
772 }
773 },
774 "type": "object"
775 },
776 "Explicit": {
777 "description": "Specifies a set of buckets with arbitrary widths.The re are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upp er bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bound s field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of t he overflow and underflow buckets.",
778 "id": "Explicit",
779 "properties": {
780 "bounds": {
781 "description": "The values must be monotonically increasing. ",
782 "items": {
783 "format": "double",
784 "type": "number"
785 },
786 "type": "array"
787 }
788 },
789 "type": "object"
790 },
791 "Exponential": {
792 "description": "Specifies an exponential sequence of buckets that ha ve a width that is proportional to the value of the lower bound. Each bucket rep resents a constant relative uncertainty on a 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): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).",
793 "id": "Exponential",
794 "properties": {
795 "growthFactor": {
796 "description": "Must be greater than 1.",
797 "format": "double",
798 "type": "number"
799 },
800 "scale": {
801 "description": "Must be greater than 0.",
802 "format": "double",
803 "type": "number"
804 },
805 "numFiniteBuckets": {
806 "description": "Must be greater than 0.",
807 "format": "int32",
808 "type": "integer"
809 }
810 },
811 "type": "object"
812 },
813 "Point": {
814 "description": "A single data point in a time series.",
815 "id": "Point",
816 "properties": {
767 "value": { 817 "value": {
768 "$ref": "TypedValue", 818 "$ref": "TypedValue",
769 "description": "The measurement value." 819 "description": "The value of the data point."
770 }, 820 },
771 "dataSourceType": { 821 "interval": {
772 "description": "The type of measurement.", 822 "$ref": "TimeInterval",
773 "enum": [ 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."
774 "UNSPECIFIED_DATA_SOURCE_TYPE", 824 }
775 "GAUGE", 825 },
776 "COUNTER", 826 "type": "object"
777 "DERIVE", 827 },
778 "ABSOLUTE" 828 "Field": {
779 ], 829 "description": "A single field of a message type.",
780 "enumDescriptions": [ 830 "id": "Field",
781 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.", 831 "properties": {
782 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.", 832 "typeUrl": {
783 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.", 833 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".",
784 "A rate of change of the measurement.", 834 "type": "string"
785 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA." 835 },
786 ], 836 "number": {
787 "type": "string" 837 "description": "The field number.",
788 }
789 },
790 "type": "object"
791 },
792 "MetricDescriptor": {
793 "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes t he metric type's existing data unusable.",
794 "id": "MetricDescriptor",
795 "properties": {
796 "description": {
797 "description": "A detailed description of the metric, which can be used in documentation.",
798 "type": "string"
799 },
800 "displayName": {
801 "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\".",
802 "type": "string"
803 },
804 "unit": {
805 "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 '}'.",
806 "type": "string"
807 },
808 "labels": {
809 "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.",
810 "items": {
811 "$ref": "LabelDescriptor"
812 },
813 "type": "array"
814 },
815 "name": {
816 "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent res ource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descrip tor. For example, following is the resource name of a custom metric within the G CP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.goo gleapis.com%2Finvoice%2Fpaid%2Famount\"\n",
817 "type": "string"
818 },
819 "type": {
820 "description": "The metric type, including its DNS name pref ix. The type is not URL-encoded. All user-defined custom metric types have the D NS name custom.googleapis.com. Metric types should use a natural hierarchical gr ouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine .googleapis.com/http/server/response_latencies\"\n",
821 "type": "string"
822 },
823 "valueType": {
824 "description": "Whether the measurement is an integer, a flo ating-point number, etc. Some combinations of metric_kind and value_type might n ot be supported.",
825 "enum": [
826 "VALUE_TYPE_UNSPECIFIED",
827 "BOOL",
828 "INT64",
829 "DOUBLE",
830 "STRING",
831 "DISTRIBUTION",
832 "MONEY"
833 ],
834 "enumDescriptions": [
835 "Do not use this default value.",
836 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
837 "The value is a signed 64-bit integer.",
838 "The value is a double precision floating point number." ,
839 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
840 "The value is a Distribution.",
841 "The value is money."
842 ],
843 "type": "string"
844 },
845 "metricKind": {
846 "description": "Whether the metric records instantaneous val ues, changes to a value, etc. Some combinations of metric_kind and value_type mi ght not be supported.",
847 "enum": [
848 "METRIC_KIND_UNSPECIFIED",
849 "GAUGE",
850 "DELTA",
851 "CUMULATIVE"
852 ],
853 "enumDescriptions": [
854 "Do not use this default value.",
855 "An instantaneous measurement of a value.",
856 "The change in a value during a time interval.",
857 "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."
858 ],
859 "type": "string"
860 }
861 },
862 "type": "object"
863 },
864 "SourceContext": {
865 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
866 "id": "SourceContext",
867 "properties": {
868 "fileName": {
869 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
870 "type": "string"
871 }
872 },
873 "type": "object"
874 },
875 "Range": {
876 "description": "The range of the population values.",
877 "id": "Range",
878 "properties": {
879 "min": {
880 "description": "The minimum of the population values.",
881 "format": "double",
882 "type": "number"
883 },
884 "max": {
885 "description": "The maximum of the population values.",
886 "format": "double",
887 "type": "number"
888 }
889 },
890 "type": "object"
891 },
892 "ListGroupsResponse": {
893 "description": "The ListGroups response.",
894 "id": "ListGroupsResponse",
895 "properties": {
896 "group": {
897 "description": "The groups that match the specified filters. ",
898 "items": {
899 "$ref": "Group"
900 },
901 "type": "array"
902 },
903 "nextPageToken": {
904 "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.",
905 "type": "string"
906 }
907 },
908 "type": "object"
909 },
910 "ListGroupMembersResponse": {
911 "description": "The ListGroupMembers response.",
912 "id": "ListGroupMembersResponse",
913 "properties": {
914 "nextPageToken": {
915 "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.",
916 "type": "string"
917 },
918 "totalSize": {
919 "description": "The total number of elements matching this r equest.",
920 "format": "int32", 838 "format": "int32",
921 "type": "integer" 839 "type": "integer"
922 }, 840 },
923 "members": { 841 "jsonName": {
924 "description": "A set of monitored resources in the group.", 842 "description": "The field JSON name.",
843 "type": "string"
844 },
845 "kind": {
846 "description": "The field type.",
847 "enum": [
848 "TYPE_UNKNOWN",
849 "TYPE_DOUBLE",
850 "TYPE_FLOAT",
851 "TYPE_INT64",
852 "TYPE_UINT64",
853 "TYPE_INT32",
854 "TYPE_FIXED64",
855 "TYPE_FIXED32",
856 "TYPE_BOOL",
857 "TYPE_STRING",
858 "TYPE_GROUP",
859 "TYPE_MESSAGE",
860 "TYPE_BYTES",
861 "TYPE_UINT32",
862 "TYPE_ENUM",
863 "TYPE_SFIXED32",
864 "TYPE_SFIXED64",
865 "TYPE_SINT32",
866 "TYPE_SINT64"
867 ],
868 "enumDescriptions": [
869 "Field type unknown.",
870 "Field type double.",
871 "Field type float.",
872 "Field type int64.",
873 "Field type uint64.",
874 "Field type int32.",
875 "Field type fixed64.",
876 "Field type fixed32.",
877 "Field type bool.",
878 "Field type string.",
879 "Field type group. Proto2 syntax only, and deprecated.",
880 "Field type message.",
881 "Field type bytes.",
882 "Field type uint32.",
883 "Field type enum.",
884 "Field type sfixed32.",
885 "Field type sfixed64.",
886 "Field type sint32.",
887 "Field type sint64."
888 ],
889 "type": "string"
890 },
891 "options": {
892 "description": "The protocol buffer options.",
925 "items": { 893 "items": {
926 "$ref": "MonitoredResource" 894 "$ref": "Option"
927 }, 895 },
928 "type": "array" 896 "type": "array"
929 } 897 },
930 }, 898 "oneofIndex": {
931 "type": "object" 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.",
932 }, 900 "format": "int32",
933 "CreateCollectdTimeSeriesRequest": { 901 "type": "integer"
934 "description": "The CreateCollectdTimeSeries request.", 902 },
935 "id": "CreateCollectdTimeSeriesRequest", 903 "cardinality": {
936 "properties": { 904 "description": "The field cardinality.",
937 "resource": {
938 "$ref": "MonitoredResource",
939 "description": "The monitored resource associated with the t ime series."
940 },
941 "collectdPayloads": {
942 "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugi n_instance, type, and type_instance.",
943 "items": {
944 "$ref": "CollectdPayload"
945 },
946 "type": "array"
947 },
948 "collectdVersion": {
949 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
950 "type": "string"
951 }
952 },
953 "type": "object"
954 },
955 "ListMonitoredResourceDescriptorsResponse": {
956 "description": "The ListMonitoredResourcDescriptors response.",
957 "id": "ListMonitoredResourceDescriptorsResponse",
958 "properties": {
959 "nextPageToken": {
960 "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.",
961 "type": "string"
962 },
963 "resourceDescriptors": {
964 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
965 "items": {
966 "$ref": "MonitoredResourceDescriptor"
967 },
968 "type": "array"
969 }
970 },
971 "type": "object"
972 },
973 "TimeSeries": {
974 "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.",
975 "id": "TimeSeries",
976 "properties": {
977 "resource": {
978 "$ref": "MonitoredResource",
979 "description": "The associated resource. A fully-specified m onitored resource used to identify the time series."
980 },
981 "metricKind": {
982 "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.",
983 "enum": [ 905 "enum": [
984 "METRIC_KIND_UNSPECIFIED", 906 "CARDINALITY_UNKNOWN",
985 "GAUGE", 907 "CARDINALITY_OPTIONAL",
986 "DELTA", 908 "CARDINALITY_REQUIRED",
987 "CUMULATIVE" 909 "CARDINALITY_REPEATED"
988 ], 910 ],
989 "enumDescriptions": [ 911 "enumDescriptions": [
990 "Do not use this default value.", 912 "For fields with unknown cardinality.",
991 "An instantaneous measurement of a value.", 913 "For optional fields.",
992 "The change in a value during a time interval.", 914 "For required fields. Proto2 syntax only.",
993 "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." 915 "For repeated fields."
994 ], 916 ],
995 "type": "string" 917 "type": "string"
996 }, 918 },
997 "metric": { 919 "packed": {
998 "$ref": "Metric", 920 "description": "Whether to use alternative packed wire repre sentation.",
999 "description": "The associated metric. A fully-specified met ric used to identify the time series." 921 "type": "boolean"
1000 }, 922 },
1001 "points": { 923 "defaultValue": {
1002 "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.", 924 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1003 "items": { 925 "type": "string"
1004 "$ref": "Point" 926 },
1005 }, 927 "name": {
1006 "type": "array" 928 "description": "The field name.",
1007 }, 929 "type": "string"
1008 "valueType": { 930 }
1009 "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.", 931 },
1010 "enum": [ 932 "type": "object"
1011 "VALUE_TYPE_UNSPECIFIED", 933 },
1012 "BOOL", 934 "Metric": {
1013 "INT64", 935 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
1014 "DOUBLE", 936 "id": "Metric",
1015 "STRING",
1016 "DISTRIBUTION",
1017 "MONEY"
1018 ],
1019 "enumDescriptions": [
1020 "Do not use this default value.",
1021 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1022 "The value is a signed 64-bit integer.",
1023 "The value is a double precision floating point number." ,
1024 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1025 "The value is a Distribution.",
1026 "The value is money."
1027 ],
1028 "type": "string"
1029 }
1030 },
1031 "type": "object"
1032 },
1033 "CreateTimeSeriesRequest": {
1034 "description": "The CreateTimeSeries request.",
1035 "id": "CreateTimeSeriesRequest",
1036 "properties": {
1037 "timeSeries": {
1038 "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.",
1039 "items": {
1040 "$ref": "TimeSeries"
1041 },
1042 "type": "array"
1043 }
1044 },
1045 "type": "object"
1046 },
1047 "Distribution": {
1048 "description": "Distribution contains summary statistics for a popul ation of values and, optionally, a histogram representing the distribution of th ose values across a specified set of histogram buckets.The summary statistics ar e the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values.The histogram is based on a seque nce of buckets and gives a count of values that fall into each bucket. The bound aries of the buckets are given either explicitly or by specifying parameters for a method of computing them (buckets of fixed width or buckets of exponentially increasing width).Although it is not forbidden, it is generally a bad idea to in clude non-finite values (infinities or NaNs) in the population of values, as thi s will render the mean and sum_of_squared_deviation fields meaningless.",
1049 "id": "Distribution",
1050 "properties": {
1051 "mean": {
1052 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
1053 "format": "double",
1054 "type": "number"
1055 },
1056 "count": {
1057 "description": "The number of values in the population. Must be non-negative.",
1058 "format": "int64",
1059 "type": "string"
1060 },
1061 "bucketCounts": {
1062 "description": "If bucket_options is given, then the sum of the values in bucket_counts must equal the value in count. If bucket_options is not given, no bucket_counts fields may be given.Bucket counts are given in order under the numbering scheme described above (the underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; the overflow bucket has number N-1).The size of bucket_counts must be no greater than N as defined in bu cket_options.Any suffix of trailing zero bucket_count fields may be omitted.",
1063 "items": {
1064 "format": "int64",
1065 "type": "string"
1066 },
1067 "type": "array"
1068 },
1069 "bucketOptions": {
1070 "$ref": "BucketOptions",
1071 "description": "Defines the histogram bucket boundaries."
1072 },
1073 "sumOfSquaredDeviation": {
1074 "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.",
1075 "format": "double",
1076 "type": "number"
1077 },
1078 "range": {
1079 "$ref": "Range",
1080 "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."
1081 }
1082 },
1083 "type": "object"
1084 },
1085 "MonitoredResource": {
1086 "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",
1087 "id": "MonitoredResource",
1088 "properties": { 937 "properties": {
1089 "type": { 938 "type": {
1090 "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\".", 939 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
1091 "type": "string" 940 "type": "string"
1092 }, 941 },
1093 "labels": { 942 "labels": {
1094 "additionalProperties": { 943 "additionalProperties": {
1095 "type": "string" 944 "type": "string"
1096 }, 945 },
1097 "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\".", 946 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.",
1098 "type": "object" 947 "type": "object"
1099 } 948 }
1100 }, 949 },
1101 "type": "object" 950 "type": "object"
1102 }, 951 },
1103 "ListMetricDescriptorsResponse": { 952 "LabelDescriptor": {
1104 "description": "The ListMetricDescriptors response.", 953 "description": "A description of a label.",
1105 "id": "ListMetricDescriptorsResponse", 954 "id": "LabelDescriptor",
1106 "properties": { 955 "properties": {
1107 "metricDescriptors": { 956 "valueType": {
1108 "description": "The metric descriptors that are available to the project and that match the value of filter, if present.", 957 "description": "The type of data that can be assigned to the label.",
958 "enum": [
959 "STRING",
960 "BOOL",
961 "INT64"
962 ],
963 "enumDescriptions": [
964 "A variable-length string. This is the default.",
965 "Boolean; true or false.",
966 "A 64-bit signed integer."
967 ],
968 "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 }
978 },
979 "type": "object"
980 },
981 "ListTimeSeriesResponse": {
982 "description": "The ListTimeSeries response.",
983 "id": "ListTimeSeriesResponse",
984 "properties": {
985 "timeSeries": {
986 "description": "One or more time series that match the filte r included in the request.",
1109 "items": { 987 "items": {
1110 "$ref": "MetricDescriptor" 988 "$ref": "TimeSeries"
1111 }, 989 },
1112 "type": "array" 990 "type": "array"
1113 }, 991 },
1114 "nextPageToken": { 992 "nextPageToken": {
1115 "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.", 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.",
1116 "type": "string" 994 "type": "string"
1117 } 995 }
1118 }, 996 },
1119 "type": "object" 997 "type": "object"
1120 }, 998 },
1121 "MonitoredResourceDescriptor": { 999 "Type": {
1122 "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.", 1000 "description": "A protocol buffer message type.",
1123 "id": "MonitoredResourceDescriptor", 1001 "id": "Type",
1124 "properties": { 1002 "properties": {
1003 "fields": {
1004 "description": "The list of fields.",
1005 "items": {
1006 "$ref": "Field"
1007 },
1008 "type": "array"
1009 },
1125 "name": { 1010 "name": {
1126 "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}\".", 1011 "description": "The fully qualified message name.",
1012 "type": "string"
1013 },
1014 "oneofs": {
1015 "description": "The list of types appearing in oneof definit ions in this type.",
1016 "items": {
1017 "type": "string"
1018 },
1019 "type": "array"
1020 },
1021 "syntax": {
1022 "description": "The source syntax.",
1023 "enum": [
1024 "SYNTAX_PROTO2",
1025 "SYNTAX_PROTO3"
1026 ],
1027 "enumDescriptions": [
1028 "Syntax proto2.",
1029 "Syntax proto3."
1030 ],
1031 "type": "string"
1032 },
1033 "sourceContext": {
1034 "$ref": "SourceContext",
1035 "description": "The source context."
1036 },
1037 "options": {
1038 "description": "The protocol buffer options.",
1039 "items": {
1040 "$ref": "Option"
1041 },
1042 "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 },
1055 "filter": {
1056 "description": "The filter used to determine which monitored resources belong to this group.",
1057 "type": "string"
1058 },
1059 "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.",
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, \"\".",
1127 "type": "string" 1065 "type": "string"
1128 }, 1066 },
1129 "displayName": { 1067 "displayName": {
1130 "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\".", 1068 "description": "A user-assigned name for this group, used on ly for display purposes.",
1069 "type": "string"
1070 }
1071 },
1072 "type": "object"
1073 },
1074 "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.",
1076 "id": "BucketOptions",
1077 "properties": {
1078 "exponentialBuckets": {
1079 "$ref": "Exponential",
1080 "description": "The exponential buckets."
1081 },
1082 "linearBuckets": {
1083 "$ref": "Linear",
1084 "description": "The linear bucket."
1085 },
1086 "explicitBuckets": {
1087 "$ref": "Explicit",
1088 "description": "The explicit buckets."
1089 }
1090 },
1091 "type": "object"
1092 },
1093 "CollectdValue": {
1094 "description": "A single data point from a collectd-based plugin.",
1095 "id": "CollectdValue",
1096 "properties": {
1097 "dataSourceName": {
1098 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
1099 "type": "string"
1100 },
1101 "value": {
1102 "$ref": "TypedValue",
1103 "description": "The measurement value."
1104 },
1105 "dataSourceType": {
1106 "description": "The type of measurement.",
1107 "enum": [
1108 "UNSPECIFIED_DATA_SOURCE_TYPE",
1109 "GAUGE",
1110 "COUNTER",
1111 "DERIVE",
1112 "ABSOLUTE"
1113 ],
1114 "enumDescriptions": [
1115 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
1116 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
1117 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
1118 "A rate of change of the measurement.",
1119 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
1120 ],
1121 "type": "string"
1122 }
1123 },
1124 "type": "object"
1125 },
1126 "SourceContext": {
1127 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
1128 "id": "SourceContext",
1129 "properties": {
1130 "fileName": {
1131 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
1132 "type": "string"
1133 }
1134 },
1135 "type": "object"
1136 },
1137 "MetricDescriptor": {
1138 "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes t he metric type's existing data unusable.",
1139 "id": "MetricDescriptor",
1140 "properties": {
1141 "name": {
1142 "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent res ource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descrip tor. For example, following is the resource name of a custom metric within the G CP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.goo gleapis.com%2Finvoice%2Fpaid%2Famount\"\n",
1143 "type": "string"
1144 },
1145 "type": {
1146 "description": "The metric type, including its DNS name pref ix. The type is not URL-encoded. All user-defined custom metric types have the D NS name custom.googleapis.com. Metric types should use a natural hierarchical gr ouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine .googleapis.com/http/server/response_latencies\"\n",
1147 "type": "string"
1148 },
1149 "valueType": {
1150 "description": "Whether the measurement is an integer, a flo ating-point number, etc. Some combinations of metric_kind and value_type might n ot be supported.",
1151 "enum": [
1152 "VALUE_TYPE_UNSPECIFIED",
1153 "BOOL",
1154 "INT64",
1155 "DOUBLE",
1156 "STRING",
1157 "DISTRIBUTION",
1158 "MONEY"
1159 ],
1160 "enumDescriptions": [
1161 "Do not use this default value.",
1162 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1163 "The value is a signed 64-bit integer.",
1164 "The value is a double precision floating point number." ,
1165 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1166 "The value is a Distribution.",
1167 "The value is money."
1168 ],
1169 "type": "string"
1170 },
1171 "metricKind": {
1172 "description": "Whether the metric records instantaneous val ues, changes to a value, etc. Some combinations of metric_kind and value_type mi ght not be supported.",
1173 "enum": [
1174 "METRIC_KIND_UNSPECIFIED",
1175 "GAUGE",
1176 "DELTA",
1177 "CUMULATIVE"
1178 ],
1179 "enumDescriptions": [
1180 "Do not use this default value.",
1181 "An instantaneous measurement of a value.",
1182 "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."
1184 ],
1185 "type": "string"
1186 },
1187 "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\".",
1131 "type": "string" 1189 "type": "string"
1132 }, 1190 },
1133 "description": { 1191 "description": {
1134 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.", 1192 "description": "A detailed description of the metric, which can be used in documentation.",
1135 "type": "string" 1193 "type": "string"
1136 }, 1194 },
1137 "type": { 1195 "unit": {
1138 "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.", 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 '}'.",
1139 "type": "string" 1197 "type": "string"
1140 }, 1198 },
1141 "labels": { 1199 "labels": {
1142 "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 \".", 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.",
1143 "items": { 1201 "items": {
1144 "$ref": "LabelDescriptor" 1202 "$ref": "LabelDescriptor"
1145 }, 1203 },
1146 "type": "array" 1204 "type": "array"
1147 } 1205 }
1148 }, 1206 },
1149 "type": "object" 1207 "type": "object"
1150 }, 1208 },
1151 "TypedValue": { 1209 "Range": {
1152 "description": "A single strongly-typed value.", 1210 "description": "The range of the population values.",
1153 "id": "TypedValue", 1211 "id": "Range",
1154 "properties": { 1212 "properties": {
1155 "doubleValue": { 1213 "min": {
1156 "description": "A 64-bit double-precision floating-point num ber. Its magnitude is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant digits of precision.", 1214 "description": "The minimum of the population values.",
1157 "format": "double", 1215 "format": "double",
1158 "type": "number" 1216 "type": "number"
1159 }, 1217 },
1160 "int64Value": { 1218 "max": {
1161 "description": "A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.", 1219 "description": "The maximum of the population values.",
1162 "format": "int64",
1163 "type": "string"
1164 },
1165 "distributionValue": {
1166 "$ref": "Distribution",
1167 "description": "A distribution value."
1168 },
1169 "boolValue": {
1170 "description": "A Boolean value: true or false.",
1171 "type": "boolean"
1172 },
1173 "stringValue": {
1174 "description": "A variable-length string value.",
1175 "type": "string"
1176 }
1177 },
1178 "type": "object"
1179 },
1180 "CollectdPayload": {
1181 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.",
1182 "id": "CollectdPayload",
1183 "properties": {
1184 "values": {
1185 "description": "The measured values during this time interva l. Each value must have a different dataSourceName.",
1186 "items": {
1187 "$ref": "CollectdValue"
1188 },
1189 "type": "array"
1190 },
1191 "typeInstance": {
1192 "description": "The measurement type instance. Example: \"us ed\".",
1193 "type": "string"
1194 },
1195 "metadata": {
1196 "additionalProperties": {
1197 "$ref": "TypedValue"
1198 },
1199 "description": "The measurement metadata. Example: \"process _id\" -> 12345",
1200 "type": "object"
1201 },
1202 "type": {
1203 "description": "The measurement type. Example: \"memory\".",
1204 "type": "string"
1205 },
1206 "plugin": {
1207 "description": "The name of the plugin. Example: \"disk\".",
1208 "type": "string"
1209 },
1210 "pluginInstance": {
1211 "description": "The instance name of the plugin Example: \"h dcl\".",
1212 "type": "string"
1213 },
1214 "endTime": {
1215 "description": "The end time of the interval.",
1216 "format": "google-datetime",
1217 "type": "string"
1218 },
1219 "startTime": {
1220 "description": "The start time of the interval.",
1221 "format": "google-datetime",
1222 "type": "string"
1223 }
1224 },
1225 "type": "object"
1226 },
1227 "Linear": {
1228 "description": "Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolu te uncertainty on the specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): o ffset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
1229 "id": "Linear",
1230 "properties": {
1231 "offset": {
1232 "description": "Lower bound of the first bucket.",
1233 "format": "double", 1220 "format": "double",
1234 "type": "number" 1221 "type": "number"
1235 }, 1222 }
1236 "numFiniteBuckets": { 1223 },
1237 "description": "Must be greater than 0.", 1224 "type": "object"
1225 },
1226 "ListGroupsResponse": {
1227 "description": "The ListGroups response.",
1228 "id": "ListGroupsResponse",
1229 "properties": {
1230 "group": {
1231 "description": "The groups that match the specified filters. ",
1232 "items": {
1233 "$ref": "Group"
1234 },
1235 "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 }
1241 },
1242 "type": "object"
1243 },
1244 "ListGroupMembersResponse": {
1245 "description": "The ListGroupMembers response.",
1246 "id": "ListGroupMembersResponse",
1247 "properties": {
1248 "members": {
1249 "description": "A set of monitored resources in the group.",
1250 "items": {
1251 "$ref": "MonitoredResource"
1252 },
1253 "type": "array"
1254 },
1255 "nextPageToken": {
1256 "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.",
1257 "type": "string"
1258 },
1259 "totalSize": {
1260 "description": "The total number of elements matching this r equest.",
1238 "format": "int32", 1261 "format": "int32",
1239 "type": "integer" 1262 "type": "integer"
1240 }, 1263 }
1241 "width": { 1264 },
1242 "description": "Must be greater than 0.", 1265 "type": "object"
1266 },
1267 "CreateCollectdTimeSeriesRequest": {
1268 "description": "The CreateCollectdTimeSeries request.",
1269 "id": "CreateCollectdTimeSeriesRequest",
1270 "properties": {
1271 "resource": {
1272 "$ref": "MonitoredResource",
1273 "description": "The monitored resource associated with the t ime series."
1274 },
1275 "collectdPayloads": {
1276 "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugi n_instance, type, and type_instance.",
1277 "items": {
1278 "$ref": "CollectdPayload"
1279 },
1280 "type": "array"
1281 },
1282 "collectdVersion": {
1283 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
1284 "type": "string"
1285 }
1286 },
1287 "type": "object"
1288 },
1289 "ListMonitoredResourceDescriptorsResponse": {
1290 "description": "The ListMonitoredResourcDescriptors response.",
1291 "id": "ListMonitoredResourceDescriptorsResponse",
1292 "properties": {
1293 "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.",
1295 "type": "string"
1296 },
1297 "resourceDescriptors": {
1298 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1299 "items": {
1300 "$ref": "MonitoredResourceDescriptor"
1301 },
1302 "type": "array"
1303 }
1304 },
1305 "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.",
1243 "format": "double", 1387 "format": "double",
1244 "type": "number" 1388 "type": "number"
1245 } 1389 },
1246 }, 1390 "range": {
1247 "type": "object" 1391 "$ref": "Range",
1248 }, 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."
1249 "Empty": { 1393 },
1250 "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 {}.", 1394 "mean": {
1251 "id": "Empty", 1395 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
1252 "properties": {},
1253 "type": "object"
1254 },
1255 "Option": {
1256 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
1257 "id": "Option",
1258 "properties": {
1259 "name": {
1260 "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\".",
1261 "type": "string"
1262 },
1263 "value": {
1264 "additionalProperties": {
1265 "description": "Properties of the object. Contains field @type with type URL.",
1266 "type": "any"
1267 },
1268 "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.",
1269 "type": "object"
1270 }
1271 },
1272 "type": "object"
1273 },
1274 "TimeInterval": {
1275 "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.",
1276 "id": "TimeInterval",
1277 "properties": {
1278 "startTime": {
1279 "description": "Optional. The beginning of the time interval . The default value for the start time is the end time. The start time must not be later than the end time.",
1280 "format": "google-datetime",
1281 "type": "string"
1282 },
1283 "endTime": {
1284 "description": "Required. The end of the time interval.",
1285 "format": "google-datetime",
1286 "type": "string"
1287 }
1288 },
1289 "type": "object"
1290 },
1291 "Explicit": {
1292 "description": "A set of buckets with arbitrary widths.Defines size( bounds) + 1 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1There must be at least on e element in bounds. If bounds has only one element, there are no finite buckets , and that single element is the common boundary of the overflow and underflow b uckets.",
1293 "id": "Explicit",
1294 "properties": {
1295 "bounds": {
1296 "description": "The values must be monotonically increasing. ",
1297 "items": {
1298 "format": "double",
1299 "type": "number"
1300 },
1301 "type": "array"
1302 }
1303 },
1304 "type": "object"
1305 },
1306 "Exponential": {
1307 "description": "Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a const ant relative uncertainty on a specific value in the bucket.Defines num_finite_bu ckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_f actor ^ (i - 1)).",
1308 "id": "Exponential",
1309 "properties": {
1310 "growthFactor": {
1311 "description": "Must be greater than 1.",
1312 "format": "double", 1396 "format": "double",
1313 "type": "number" 1397 "type": "number"
1314 }, 1398 },
1315 "scale": { 1399 "count": {
1316 "description": "Must be greater than 0.", 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.",
1317 "format": "double", 1401 "format": "int64",
1318 "type": "number" 1402 "type": "string"
1319 }, 1403 },
1320 "numFiniteBuckets": { 1404 "bucketCounts": {
1321 "description": "Must be greater than 0.", 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.",
1322 "format": "int32", 1406 "items": {
1323 "type": "integer" 1407 "format": "int64",
1324 } 1408 "type": "string"
1325 }, 1409 },
1326 "type": "object" 1410 "type": "array"
1327 }, 1411 },
1328 "Point": { 1412 "bucketOptions": {
1329 "description": "A single data point in a time series.", 1413 "$ref": "BucketOptions",
1330 "id": "Point", 1414 "description": "Required in the Stackdriver Monitoring API v 3. Defines the histogram bucket boundaries."
1331 "properties": { 1415 }
1332 "value": { 1416 },
1333 "$ref": "TypedValue", 1417 "type": "object"
1334 "description": "The value of the data point." 1418 },
1335 }, 1419 "MonitoredResource": {
1336 "interval": { 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",
1337 "$ref": "TimeInterval", 1421 "id": "MonitoredResource",
1338 "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."
1339 }
1340 },
1341 "type": "object"
1342 },
1343 "Field": {
1344 "description": "A single field of a message type.",
1345 "id": "Field",
1346 "properties": {
1347 "oneofIndex": {
1348 "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.",
1349 "format": "int32",
1350 "type": "integer"
1351 },
1352 "packed": {
1353 "description": "Whether to use alternative packed wire repre sentation.",
1354 "type": "boolean"
1355 },
1356 "cardinality": {
1357 "description": "The field cardinality.",
1358 "enum": [
1359 "CARDINALITY_UNKNOWN",
1360 "CARDINALITY_OPTIONAL",
1361 "CARDINALITY_REQUIRED",
1362 "CARDINALITY_REPEATED"
1363 ],
1364 "enumDescriptions": [
1365 "For fields with unknown cardinality.",
1366 "For optional fields.",
1367 "For required fields. Proto2 syntax only.",
1368 "For repeated fields."
1369 ],
1370 "type": "string"
1371 },
1372 "defaultValue": {
1373 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1374 "type": "string"
1375 },
1376 "name": {
1377 "description": "The field name.",
1378 "type": "string"
1379 },
1380 "typeUrl": {
1381 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".",
1382 "type": "string"
1383 },
1384 "number": {
1385 "description": "The field number.",
1386 "format": "int32",
1387 "type": "integer"
1388 },
1389 "kind": {
1390 "description": "The field type.",
1391 "enum": [
1392 "TYPE_UNKNOWN",
1393 "TYPE_DOUBLE",
1394 "TYPE_FLOAT",
1395 "TYPE_INT64",
1396 "TYPE_UINT64",
1397 "TYPE_INT32",
1398 "TYPE_FIXED64",
1399 "TYPE_FIXED32",
1400 "TYPE_BOOL",
1401 "TYPE_STRING",
1402 "TYPE_GROUP",
1403 "TYPE_MESSAGE",
1404 "TYPE_BYTES",
1405 "TYPE_UINT32",
1406 "TYPE_ENUM",
1407 "TYPE_SFIXED32",
1408 "TYPE_SFIXED64",
1409 "TYPE_SINT32",
1410 "TYPE_SINT64"
1411 ],
1412 "enumDescriptions": [
1413 "Field type unknown.",
1414 "Field type double.",
1415 "Field type float.",
1416 "Field type int64.",
1417 "Field type uint64.",
1418 "Field type int32.",
1419 "Field type fixed64.",
1420 "Field type fixed32.",
1421 "Field type bool.",
1422 "Field type string.",
1423 "Field type group. Proto2 syntax only, and deprecated.",
1424 "Field type message.",
1425 "Field type bytes.",
1426 "Field type uint32.",
1427 "Field type enum.",
1428 "Field type sfixed32.",
1429 "Field type sfixed64.",
1430 "Field type sint32.",
1431 "Field type sint64."
1432 ],
1433 "type": "string"
1434 },
1435 "jsonName": {
1436 "description": "The field JSON name.",
1437 "type": "string"
1438 },
1439 "options": {
1440 "description": "The protocol buffer options.",
1441 "items": {
1442 "$ref": "Option"
1443 },
1444 "type": "array"
1445 }
1446 },
1447 "type": "object"
1448 },
1449 "Metric": {
1450 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
1451 "id": "Metric",
1452 "properties": { 1422 "properties": {
1453 "type": { 1423 "type": {
1454 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", 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\".",
1455 "type": "string" 1425 "type": "string"
1456 }, 1426 },
1457 "labels": { 1427 "labels": {
1458 "additionalProperties": { 1428 "additionalProperties": {
1459 "type": "string" 1429 "type": "string"
1460 }, 1430 },
1461 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.", 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\".",
1462 "type": "object" 1432 "type": "object"
1463 } 1433 }
1464 }, 1434 },
1465 "type": "object" 1435 "type": "object"
1466 }, 1436 },
1467 "LabelDescriptor": { 1437 "ListMetricDescriptorsResponse": {
1468 "description": "A description of a label.", 1438 "description": "The ListMetricDescriptors response.",
1469 "id": "LabelDescriptor", 1439 "id": "ListMetricDescriptorsResponse",
1470 "properties": { 1440 "properties": {
1471 "valueType": { 1441 "metricDescriptors": {
1472 "description": "The type of data that can be assigned to the label.", 1442 "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
1473 "enum": [ 1443 "items": {
1474 "STRING", 1444 "$ref": "MetricDescriptor"
1475 "BOOL", 1445 },
1476 "INT64" 1446 "type": "array"
1477 ], 1447 },
1478 "enumDescriptions": [
1479 "A variable-length string. This is the default.",
1480 "Boolean; true or false.",
1481 "A 64-bit signed integer."
1482 ],
1483 "type": "string"
1484 },
1485 "key": {
1486 "description": "The label key.",
1487 "type": "string"
1488 },
1489 "description": {
1490 "description": "A human-readable description for the label." ,
1491 "type": "string"
1492 }
1493 },
1494 "type": "object"
1495 },
1496 "ListTimeSeriesResponse": {
1497 "description": "The ListTimeSeries response.",
1498 "id": "ListTimeSeriesResponse",
1499 "properties": {
1500 "timeSeries": {
1501 "description": "One or more time series that match the filte r included in the request.",
1502 "items": {
1503 "$ref": "TimeSeries"
1504 },
1505 "type": "array"
1506 },
1507 "nextPageToken": { 1448 "nextPageToken": {
1508 "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.", 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.",
1509 "type": "string" 1450 "type": "string"
1510 } 1451 }
1511 }, 1452 },
1512 "type": "object" 1453 "type": "object"
1513 }, 1454 },
1514 "Type": { 1455 "MonitoredResourceDescriptor": {
1515 "description": "A protocol buffer message type.", 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.",
1516 "id": "Type", 1457 "id": "MonitoredResourceDescriptor",
1517 "properties": { 1458 "properties": {
1518 "name": { 1459 "type": {
1519 "description": "The fully qualified message name.", 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.",
1520 "type": "string" 1461 "type": "string"
1521 }, 1462 },
1522 "oneofs": { 1463 "labels": {
1523 "description": "The list of types appearing in oneof definit ions in this type.", 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 \".",
1524 "items": { 1465 "items": {
1525 "type": "string" 1466 "$ref": "LabelDescriptor"
1526 }, 1467 },
1527 "type": "array" 1468 "type": "array"
1528 }, 1469 },
1529 "syntax": { 1470 "name": {
1530 "description": "The source syntax.", 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}\".",
1531 "enum": [
1532 "SYNTAX_PROTO2",
1533 "SYNTAX_PROTO3"
1534 ],
1535 "enumDescriptions": [
1536 "Syntax proto2.",
1537 "Syntax proto3."
1538 ],
1539 "type": "string" 1472 "type": "string"
1540 }, 1473 },
1541 "sourceContext": { 1474 "displayName": {
1542 "$ref": "SourceContext", 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\".",
1543 "description": "The source context." 1476 "type": "string"
1544 }, 1477 },
1545 "options": { 1478 "description": {
1546 "description": "The protocol buffer options.", 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 &plusmn;10<sup>&plusmn;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 &plusmn;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.",
1547 "items": { 1553 "items": {
1548 "$ref": "Option" 1554 "$ref": "CollectdValue"
1549 },
1550 "type": "array"
1551 },
1552 "fields": {
1553 "description": "The list of fields.",
1554 "items": {
1555 "$ref": "Field"
1556 }, 1555 },
1557 "type": "array" 1556 "type": "array"
1558 } 1557 }
1559 }, 1558 },
1560 "type": "object" 1559 "type": "object"
1561 }, 1560 },
1562 "Group": { 1561 "Linear": {
1563 "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.", 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)).",
1564 "id": "Group", 1563 "id": "Linear",
1565 "properties": { 1564 "properties": {
1566 "filter": { 1565 "width": {
1567 "description": "The filter used to determine which monitored resources belong to this group.", 1566 "description": "Must be greater than 0.",
1568 "type": "string" 1567 "format": "double",
1568 "type": "number"
1569 }, 1569 },
1570 "name": { 1570 "offset": {
1571 "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.", 1571 "description": "Lower bound of the first bucket.",
1572 "type": "string" 1572 "format": "double",
1573 "type": "number"
1573 }, 1574 },
1574 "parentName": { 1575 "numFiniteBuckets": {
1575 "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, \"\".", 1576 "description": "Must be greater than 0.",
1576 "type": "string" 1577 "format": "int32",
1577 }, 1578 "type": "integer"
1578 "displayName": {
1579 "description": "A user-assigned name for this group, used on ly for display purposes.",
1580 "type": "string"
1581 },
1582 "isCluster": {
1583 "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.",
1584 "type": "boolean"
1585 } 1579 }
1586 }, 1580 },
1587 "type": "object" 1581 "type": "object"
1588 }, 1582 },
1589 "BucketOptions": { 1583 "Empty": {
1590 "description": "A Distribution may optionally contain a histogram of the values in the population. The histogram is given in bucket_counts as counts of values that fall into one of a sequence of non-overlapping buckets. The sequ ence of buckets is described by bucket_options.A bucket specifies an inclusive l ower bound and exclusive upper bound for the values that are counted for that bu cket. The upper bound of a bucket is strictly greater than the lower bound.The s equence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the uppe r bound of the overflow bucket is +infinity. The finite buckets are so-called be cause both bounds are finite.BucketOptions describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to g enerate boundaries and one gives the bucket boundaries explicitly.If bucket_opti ons is not given, then no bucket_counts may be given.", 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 {}.",
1591 "id": "BucketOptions", 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": { 1592 "properties": {
1593 "exponentialBuckets": { 1593 "name": {
1594 "$ref": "Exponential", 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 "description": "The exponential buckets." 1595 "type": "string"
1596 }, 1596 },
1597 "linearBuckets": { 1597 "value": {
1598 "$ref": "Linear", 1598 "additionalProperties": {
1599 "description": "The linear bucket." 1599 "description": "Properties of the object. Contains field @type with type URL.",
1600 }, 1600 "type": "any"
1601 "explicitBuckets": { 1601 },
1602 "$ref": "Explicit", 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 "description": "The explicit buckets." 1603 "type": "object"
1604 } 1604 }
1605 }, 1605 },
1606 "type": "object" 1606 "type": "object"
1607 } 1607 }
1608 }, 1608 },
1609 "servicePath": "", 1609 "servicePath": "",
1610 "title": "Stackdriver Monitoring API", 1610 "title": "Stackdriver Monitoring API",
1611 "version": "v3" 1611 "version": "v3"
1612 } 1612 }
OLDNEW
« no previous file with comments | « discovery/googleapis/ml__v1.json ('k') | discovery/googleapis/partners__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698