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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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/oauth2__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 "access_token": { 37 "bearer_token": {
38 "description": "OAuth access token.", 38 "description": "OAuth bearer token.",
39 "location": "query", 39 "location": "query",
40 "type": "string" 40 "type": "string"
41 }, 41 },
42 "key": {
43 "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.",
44 "location": "query",
45 "type": "string"
46 },
47 "quotaUser": {
48 "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.",
49 "location": "query",
50 "type": "string"
51 },
52 "pp": {
53 "default": "true",
54 "description": "Pretty-print response.",
55 "location": "query",
56 "type": "boolean"
57 },
58 "oauth_token": { 42 "oauth_token": {
59 "description": "OAuth 2.0 token for the current user.", 43 "description": "OAuth 2.0 token for the current user.",
60 "location": "query", 44 "location": "query",
61 "type": "string" 45 "type": "string"
62 }, 46 },
63 "bearer_token": {
64 "description": "OAuth bearer token.",
65 "location": "query",
66 "type": "string"
67 },
68 "upload_protocol": { 47 "upload_protocol": {
69 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
70 "location": "query", 49 "location": "query",
71 "type": "string" 50 "type": "string"
72 }, 51 },
73 "prettyPrint": { 52 "prettyPrint": {
74 "default": "true", 53 "default": "true",
75 "description": "Returns response with indentations and line breaks." , 54 "description": "Returns response with indentations and line breaks." ,
76 "location": "query", 55 "location": "query",
77 "type": "boolean" 56 "type": "boolean"
78 }, 57 },
58 "fields": {
59 "description": "Selector specifying which fields to include in a par tial response.",
60 "location": "query",
61 "type": "string"
62 },
79 "uploadType": { 63 "uploadType": {
80 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 64 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
81 "location": "query", 65 "location": "query",
82 "type": "string" 66 "type": "string"
83 }, 67 },
84 "fields": {
85 "description": "Selector specifying which fields to include in a par tial response.",
86 "location": "query",
87 "type": "string"
88 },
89 "callback": {
90 "description": "JSONP",
91 "location": "query",
92 "type": "string"
93 },
94 "$.xgafv": { 68 "$.xgafv": {
95 "description": "V1 error format.", 69 "description": "V1 error format.",
96 "enum": [ 70 "enum": [
97 "1", 71 "1",
98 "2" 72 "2"
99 ], 73 ],
100 "enumDescriptions": [ 74 "enumDescriptions": [
101 "v1 error format", 75 "v1 error format",
102 "v2 error format" 76 "v2 error format"
103 ], 77 ],
104 "location": "query", 78 "location": "query",
105 "type": "string" 79 "type": "string"
106 }, 80 },
81 "callback": {
82 "description": "JSONP",
83 "location": "query",
84 "type": "string"
85 },
107 "alt": { 86 "alt": {
108 "default": "json", 87 "default": "json",
109 "description": "Data format for response.", 88 "description": "Data format for response.",
110 "enum": [ 89 "enum": [
111 "json", 90 "json",
112 "media", 91 "media",
113 "proto" 92 "proto"
114 ], 93 ],
115 "enumDescriptions": [ 94 "enumDescriptions": [
116 "Responses with Content-Type of application/json", 95 "Responses with Content-Type of application/json",
117 "Media download with context-dependent Content-Type", 96 "Media download with context-dependent Content-Type",
118 "Responses with Content-Type of application/x-protobuf" 97 "Responses with Content-Type of application/x-protobuf"
119 ], 98 ],
120 "location": "query", 99 "location": "query",
121 "type": "string" 100 "type": "string"
101 },
102 "key": {
103 "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.",
104 "location": "query",
105 "type": "string"
106 },
107 "access_token": {
108 "description": "OAuth access token.",
109 "location": "query",
110 "type": "string"
111 },
112 "quotaUser": {
113 "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.",
114 "location": "query",
115 "type": "string"
116 },
117 "pp": {
118 "default": "true",
119 "description": "Pretty-print response.",
120 "location": "query",
121 "type": "boolean"
122 } 122 }
123 }, 123 },
124 "protocol": "rest", 124 "protocol": "rest",
125 "resources": { 125 "resources": {
126 "projects": { 126 "projects": {
127 "resources": { 127 "resources": {
128 "collectdTimeSeries": {
129 "methods": {
130 "create": {
131 "description": "Stackdriver Monitoring Agent only: C reates a new time series.<aside class=\"caution\">This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</asid e>",
132 "httpMethod": "POST",
133 "id": "monitoring.projects.collectdTimeSeries.create ",
134 "parameterOrder": [
135 "name"
136 ],
137 "parameters": {
138 "name": {
139 "description": "The project in which to crea te the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".",
140 "location": "path",
141 "pattern": "^projects/[^/]+$",
142 "required": true,
143 "type": "string"
144 }
145 },
146 "path": "v3/{+name}/collectdTimeSeries",
147 "request": {
148 "$ref": "CreateCollectdTimeSeriesRequest"
149 },
150 "response": {
151 "$ref": "Empty"
152 },
153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform" ,
155 "https://www.googleapis.com/auth/monitoring",
156 "https://www.googleapis.com/auth/monitoring.writ e"
157 ]
158 }
159 }
160 },
161 "timeSeries": {
162 "methods": {
163 "create": {
164 "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.",
165 "httpMethod": "POST",
166 "id": "monitoring.projects.timeSeries.create",
167 "parameterOrder": [
168 "name"
169 ],
170 "parameters": {
171 "name": {
172 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
173 "location": "path",
174 "pattern": "^projects/[^/]+$",
175 "required": true,
176 "type": "string"
177 }
178 },
179 "path": "v3/{+name}/timeSeries",
180 "request": {
181 "$ref": "CreateTimeSeriesRequest"
182 },
183 "response": {
184 "$ref": "Empty"
185 },
186 "scopes": [
187 "https://www.googleapis.com/auth/cloud-platform" ,
188 "https://www.googleapis.com/auth/monitoring",
189 "https://www.googleapis.com/auth/monitoring.writ e"
190 ]
191 },
192 "list": {
193 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.",
194 "httpMethod": "GET",
195 "id": "monitoring.projects.timeSeries.list",
196 "parameterOrder": [
197 "name"
198 ],
199 "parameters": {
200 "pageToken": {
201 "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.",
202 "location": "query",
203 "type": "string"
204 },
205 "aggregation.perSeriesAligner": {
206 "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.",
207 "enum": [
208 "ALIGN_NONE",
209 "ALIGN_DELTA",
210 "ALIGN_RATE",
211 "ALIGN_INTERPOLATE",
212 "ALIGN_NEXT_OLDER",
213 "ALIGN_MIN",
214 "ALIGN_MAX",
215 "ALIGN_MEAN",
216 "ALIGN_COUNT",
217 "ALIGN_SUM",
218 "ALIGN_STDDEV",
219 "ALIGN_COUNT_TRUE",
220 "ALIGN_FRACTION_TRUE",
221 "ALIGN_PERCENTILE_99",
222 "ALIGN_PERCENTILE_95",
223 "ALIGN_PERCENTILE_50",
224 "ALIGN_PERCENTILE_05"
225 ],
226 "location": "query",
227 "type": "string"
228 },
229 "interval.startTime": {
230 "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.",
231 "format": "google-datetime",
232 "location": "query",
233 "type": "string"
234 },
235 "view": {
236 "description": "Specifies which information is returned about the time series.",
237 "enum": [
238 "FULL",
239 "HEADERS"
240 ],
241 "location": "query",
242 "type": "string"
243 },
244 "name": {
245 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
246 "location": "path",
247 "pattern": "^projects/[^/]+$",
248 "required": true,
249 "type": "string"
250 },
251 "aggregation.groupByFields": {
252 "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.",
253 "location": "query",
254 "repeated": true,
255 "type": "string"
256 },
257 "interval.endTime": {
258 "description": "Required. The end of the tim e interval.",
259 "format": "google-datetime",
260 "location": "query",
261 "type": "string"
262 },
263 "aggregation.alignmentPeriod": {
264 "description": "The alignment period for per -time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_ NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returne d.",
265 "format": "google-duration",
266 "location": "query",
267 "type": "string"
268 },
269 "pageSize": {
270 "description": "A positive number that is th e maximum number of results to return. When view field sets to FULL, it limits t he number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.",
271 "format": "int32",
272 "location": "query",
273 "type": "integer"
274 },
275 "orderBy": {
276 "description": "Specifies the order in which the points of the time series should be returned. By default, results are not o rdered. Currently, this field must be left blank.",
277 "location": "query",
278 "type": "string"
279 },
280 "aggregation.crossSeriesReducer": {
281 "description": "The approach to be used to c ombine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Re duction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSe riesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne d.",
282 "enum": [
283 "REDUCE_NONE",
284 "REDUCE_MEAN",
285 "REDUCE_MIN",
286 "REDUCE_MAX",
287 "REDUCE_SUM",
288 "REDUCE_STDDEV",
289 "REDUCE_COUNT",
290 "REDUCE_COUNT_TRUE",
291 "REDUCE_FRACTION_TRUE",
292 "REDUCE_PERCENTILE_99",
293 "REDUCE_PERCENTILE_95",
294 "REDUCE_PERCENTILE_50",
295 "REDUCE_PERCENTILE_05"
296 ],
297 "location": "query",
298 "type": "string"
299 },
300 "filter": {
301 "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",
302 "location": "query",
303 "type": "string"
304 }
305 },
306 "path": "v3/{+name}/timeSeries",
307 "response": {
308 "$ref": "ListTimeSeriesResponse"
309 },
310 "scopes": [
311 "https://www.googleapis.com/auth/cloud-platform" ,
312 "https://www.googleapis.com/auth/monitoring",
313 "https://www.googleapis.com/auth/monitoring.read "
314 ]
315 }
316 }
317 },
128 "metricDescriptors": { 318 "metricDescriptors": {
129 "methods": { 319 "methods": {
130 "create": { 320 "create": {
131 "description": "Creates a new metric descriptor. Use r-created metric descriptors define custom metrics.", 321 "description": "Creates a new metric descriptor. Use r-created metric descriptors define custom metrics.",
132 "httpMethod": "POST", 322 "httpMethod": "POST",
133 "id": "monitoring.projects.metricDescriptors.create" , 323 "id": "monitoring.projects.metricDescriptors.create" ,
134 "parameterOrder": [ 324 "parameterOrder": [
135 "name" 325 "name"
136 ], 326 ],
137 "parameters": { 327 "parameters": {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 ] 399 ]
210 }, 400 },
211 "list": { 401 "list": {
212 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.", 402 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
213 "httpMethod": "GET", 403 "httpMethod": "GET",
214 "id": "monitoring.projects.metricDescriptors.list", 404 "id": "monitoring.projects.metricDescriptors.list",
215 "parameterOrder": [ 405 "parameterOrder": [
216 "name" 406 "name"
217 ], 407 ],
218 "parameters": { 408 "parameters": {
219 "filter": {
220 "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",
221 "location": "query",
222 "type": "string"
223 },
224 "pageToken": { 409 "pageToken": {
225 "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.", 410 "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.",
226 "location": "query", 411 "location": "query",
227 "type": "string" 412 "type": "string"
228 }, 413 },
229 "name": { 414 "name": {
230 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 415 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
231 "location": "path", 416 "location": "path",
232 "pattern": "^projects/[^/]+$", 417 "pattern": "^projects/[^/]+$",
233 "required": true, 418 "required": true,
234 "type": "string" 419 "type": "string"
235 }, 420 },
236 "pageSize": { 421 "pageSize": {
237 "description": "A positive number that is th e maximum number of results to return.", 422 "description": "A positive number that is th e maximum number of results to return.",
238 "format": "int32", 423 "format": "int32",
239 "location": "query", 424 "location": "query",
240 "type": "integer" 425 "type": "integer"
426 },
427 "filter": {
428 "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",
429 "location": "query",
430 "type": "string"
241 } 431 }
242 }, 432 },
243 "path": "v3/{+name}/metricDescriptors", 433 "path": "v3/{+name}/metricDescriptors",
244 "response": { 434 "response": {
245 "$ref": "ListMetricDescriptorsResponse" 435 "$ref": "ListMetricDescriptorsResponse"
246 }, 436 },
247 "scopes": [ 437 "scopes": [
248 "https://www.googleapis.com/auth/cloud-platform" , 438 "https://www.googleapis.com/auth/cloud-platform" ,
249 "https://www.googleapis.com/auth/monitoring", 439 "https://www.googleapis.com/auth/monitoring",
250 "https://www.googleapis.com/auth/monitoring.read ", 440 "https://www.googleapis.com/auth/monitoring.read ",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 ] 473 ]
284 }, 474 },
285 "list": { 475 "list": {
286 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.", 476 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.",
287 "httpMethod": "GET", 477 "httpMethod": "GET",
288 "id": "monitoring.projects.monitoredResourceDescript ors.list", 478 "id": "monitoring.projects.monitoredResourceDescript ors.list",
289 "parameterOrder": [ 479 "parameterOrder": [
290 "name" 480 "name"
291 ], 481 ],
292 "parameters": { 482 "parameters": {
483 "filter": {
484 "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",
485 "location": "query",
486 "type": "string"
487 },
293 "pageToken": { 488 "pageToken": {
294 "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.", 489 "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.",
295 "location": "query", 490 "location": "query",
296 "type": "string" 491 "type": "string"
297 }, 492 },
298 "name": { 493 "name": {
299 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 494 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
300 "location": "path", 495 "location": "path",
301 "pattern": "^projects/[^/]+$", 496 "pattern": "^projects/[^/]+$",
302 "required": true, 497 "required": true,
303 "type": "string" 498 "type": "string"
304 }, 499 },
305 "pageSize": { 500 "pageSize": {
306 "description": "A positive number that is th e maximum number of results to return.", 501 "description": "A positive number that is th e maximum number of results to return.",
307 "format": "int32", 502 "format": "int32",
308 "location": "query", 503 "location": "query",
309 "type": "integer" 504 "type": "integer"
310 },
311 "filter": {
312 "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",
313 "location": "query",
314 "type": "string"
315 } 505 }
316 }, 506 },
317 "path": "v3/{+name}/monitoredResourceDescriptors", 507 "path": "v3/{+name}/monitoredResourceDescriptors",
318 "response": { 508 "response": {
319 "$ref": "ListMonitoredResourceDescriptorsRespons e" 509 "$ref": "ListMonitoredResourceDescriptorsRespons e"
320 }, 510 },
321 "scopes": [ 511 "scopes": [
322 "https://www.googleapis.com/auth/cloud-platform" , 512 "https://www.googleapis.com/auth/cloud-platform" ,
323 "https://www.googleapis.com/auth/monitoring", 513 "https://www.googleapis.com/auth/monitoring",
324 "https://www.googleapis.com/auth/monitoring.read ", 514 "https://www.googleapis.com/auth/monitoring.read ",
325 "https://www.googleapis.com/auth/monitoring.writ e" 515 "https://www.googleapis.com/auth/monitoring.writ e"
326 ] 516 ]
327 } 517 }
328 } 518 }
329 }, 519 },
330 "groups": { 520 "groups": {
331 "methods": { 521 "methods": {
522 "update": {
523 "description": "Updates an existing group. You can c hange any group attributes except name.",
524 "httpMethod": "PUT",
525 "id": "monitoring.projects.groups.update",
526 "parameterOrder": [
527 "name"
528 ],
529 "parameters": {
530 "validateOnly": {
531 "description": "If true, validate this reque st but do not update the existing group.",
532 "location": "query",
533 "type": "boolean"
534 },
535 "name": {
536 "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.",
537 "location": "path",
538 "pattern": "^projects/[^/]+/groups/[^/]+$",
539 "required": true,
540 "type": "string"
541 }
542 },
543 "path": "v3/{+name}",
544 "request": {
545 "$ref": "Group"
546 },
547 "response": {
548 "$ref": "Group"
549 },
550 "scopes": [
551 "https://www.googleapis.com/auth/cloud-platform" ,
552 "https://www.googleapis.com/auth/monitoring"
553 ]
554 },
555 "create": {
556 "description": "Creates a new group.",
557 "httpMethod": "POST",
558 "id": "monitoring.projects.groups.create",
559 "parameterOrder": [
560 "name"
561 ],
562 "parameters": {
563 "validateOnly": {
564 "description": "If true, validate this reque st but do not create the group.",
565 "location": "query",
566 "type": "boolean"
567 },
568 "name": {
569 "description": "The project in which to crea te the group. The format is \"projects/{project_id_or_number}\".",
570 "location": "path",
571 "pattern": "^projects/[^/]+$",
572 "required": true,
573 "type": "string"
574 }
575 },
576 "path": "v3/{+name}/groups",
577 "request": {
578 "$ref": "Group"
579 },
580 "response": {
581 "$ref": "Group"
582 },
583 "scopes": [
584 "https://www.googleapis.com/auth/cloud-platform" ,
585 "https://www.googleapis.com/auth/monitoring"
586 ]
587 },
332 "delete": { 588 "delete": {
333 "description": "Deletes an existing group.", 589 "description": "Deletes an existing group.",
334 "httpMethod": "DELETE", 590 "httpMethod": "DELETE",
335 "id": "monitoring.projects.groups.delete", 591 "id": "monitoring.projects.groups.delete",
336 "parameterOrder": [ 592 "parameterOrder": [
337 "name" 593 "name"
338 ], 594 ],
339 "parameters": { 595 "parameters": {
340 "name": { 596 "name": {
341 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".", 597 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 ] 637 ]
382 }, 638 },
383 "list": { 639 "list": {
384 "description": "Lists the existing groups.", 640 "description": "Lists the existing groups.",
385 "httpMethod": "GET", 641 "httpMethod": "GET",
386 "id": "monitoring.projects.groups.list", 642 "id": "monitoring.projects.groups.list",
387 "parameterOrder": [ 643 "parameterOrder": [
388 "name" 644 "name"
389 ], 645 ],
390 "parameters": { 646 "parameters": {
647 "name": {
648 "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".",
649 "location": "path",
650 "pattern": "^projects/[^/]+$",
651 "required": true,
652 "type": "string"
653 },
654 "childrenOfGroup": {
655 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups whose parentName field c ontains the group name. If no groups have this parent, the results are empty.",
656 "location": "query",
657 "type": "string"
658 },
391 "descendantsOfGroup": { 659 "descendantsOfGroup": {
392 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns the descendants of the specifie d group. This is a superset of the results returned by the childrenOfGroup filte r, and includes children-of-children, and so forth.", 660 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns the descendants of the specifie d group. This is a superset of the results returned by the childrenOfGroup filte r, and includes children-of-children, and so forth.",
393 "location": "query", 661 "location": "query",
394 "type": "string" 662 "type": "string"
395 }, 663 },
396 "pageToken": { 664 "pageToken": {
397 "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.", 665 "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.",
398 "location": "query", 666 "location": "query",
399 "type": "string" 667 "type": "string"
400 }, 668 },
401 "pageSize": { 669 "pageSize": {
402 "description": "A positive number that is th e maximum number of results to return.", 670 "description": "A positive number that is th e maximum number of results to return.",
403 "format": "int32", 671 "format": "int32",
404 "location": "query", 672 "location": "query",
405 "type": "integer" 673 "type": "integer"
406 }, 674 },
407 "ancestorsOfGroup": { 675 "ancestorsOfGroup": {
408 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of th e specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.", 676 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of th e specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.",
409 "location": "query", 677 "location": "query",
410 "type": "string" 678 "type": "string"
411 },
412 "name": {
413 "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".",
414 "location": "path",
415 "pattern": "^projects/[^/]+$",
416 "required": true,
417 "type": "string"
418 },
419 "childrenOfGroup": {
420 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups whose parentName field c ontains the group name. If no groups have this parent, the results are empty.",
421 "location": "query",
422 "type": "string"
423 } 679 }
424 }, 680 },
425 "path": "v3/{+name}/groups", 681 "path": "v3/{+name}/groups",
426 "response": { 682 "response": {
427 "$ref": "ListGroupsResponse" 683 "$ref": "ListGroupsResponse"
428 }, 684 },
429 "scopes": [ 685 "scopes": [
430 "https://www.googleapis.com/auth/cloud-platform" , 686 "https://www.googleapis.com/auth/cloud-platform" ,
431 "https://www.googleapis.com/auth/monitoring", 687 "https://www.googleapis.com/auth/monitoring",
432 "https://www.googleapis.com/auth/monitoring.read " 688 "https://www.googleapis.com/auth/monitoring.read "
433 ] 689 ]
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 "validateOnly": {
444 "description": "If true, validate this reque st but do not update the existing group.",
445 "location": "query",
446 "type": "boolean"
447 },
448 "name": {
449 "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.",
450 "location": "path",
451 "pattern": "^projects/[^/]+/groups/[^/]+$",
452 "required": true,
453 "type": "string"
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 "validateOnly": {
477 "description": "If true, validate this reque st but do not create the group.",
478 "location": "query",
479 "type": "boolean"
480 },
481 "name": {
482 "description": "The project in which to crea te the group. The format is \"projects/{project_id_or_number}\".",
483 "location": "path",
484 "pattern": "^projects/[^/]+$",
485 "required": true,
486 "type": "string"
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 ]
500 } 690 }
501 }, 691 },
502 "resources": { 692 "resources": {
503 "members": { 693 "members": {
504 "methods": { 694 "methods": {
505 "list": { 695 "list": {
506 "description": "Lists the monitored resource s that are members of a group.", 696 "description": "Lists the monitored resource s that are members of a group.",
507 "httpMethod": "GET", 697 "httpMethod": "GET",
508 "id": "monitoring.projects.groups.members.li st", 698 "id": "monitoring.projects.groups.members.li st",
509 "parameterOrder": [ 699 "parameterOrder": [
510 "name" 700 "name"
511 ], 701 ],
512 "parameters": { 702 "parameters": {
513 "name": {
514 "description": "The group whose memb ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id }\".",
515 "location": "path",
516 "pattern": "^projects/[^/]+/groups/[ ^/]+$",
517 "required": true,
518 "type": "string"
519 },
520 "interval.endTime": { 703 "interval.endTime": {
521 "description": "Required. The end of the time interval.", 704 "description": "Required. The end of the time interval.",
522 "format": "google-datetime", 705 "format": "google-datetime",
523 "location": "query", 706 "location": "query",
524 "type": "string" 707 "type": "string"
525 }, 708 },
526 "filter": { 709 "filter": {
527 "description": "An optional list fil ter describing the members to be returned. The filter may reference the type, la bels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filt er:\nresource.type = \"gce_instance\"\n", 710 "description": "An optional list fil ter describing the members to be returned. The filter may reference the type, la bels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filt er:\nresource.type = \"gce_instance\"\n",
528 "location": "query", 711 "location": "query",
529 "type": "string" 712 "type": "string"
530 }, 713 },
531 "pageToken": { 714 "pageToken": {
532 "description": "If this field is not empty then 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.", 715 "description": "If this field is not empty then 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.",
533 "location": "query", 716 "location": "query",
534 "type": "string" 717 "type": "string"
535 }, 718 },
536 "interval.startTime": {
537 "description": "Optional. The beginn ing 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.",
538 "format": "google-datetime",
539 "location": "query",
540 "type": "string"
541 },
542 "pageSize": { 719 "pageSize": {
543 "description": "A positive number th at is the maximum number of results to return.", 720 "description": "A positive number th at is the maximum number of results to return.",
544 "format": "int32", 721 "format": "int32",
545 "location": "query", 722 "location": "query",
546 "type": "integer" 723 "type": "integer"
724 },
725 "interval.startTime": {
726 "description": "Optional. The beginn ing 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.",
727 "format": "google-datetime",
728 "location": "query",
729 "type": "string"
730 },
731 "name": {
732 "description": "The group whose memb ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id }\".",
733 "location": "path",
734 "pattern": "^projects/[^/]+/groups/[ ^/]+$",
735 "required": true,
736 "type": "string"
547 } 737 }
548 }, 738 },
549 "path": "v3/{+name}/members", 739 "path": "v3/{+name}/members",
550 "response": { 740 "response": {
551 "$ref": "ListGroupMembersResponse" 741 "$ref": "ListGroupMembersResponse"
552 }, 742 },
553 "scopes": [ 743 "scopes": [
554 "https://www.googleapis.com/auth/cloud-p latform", 744 "https://www.googleapis.com/auth/cloud-p latform",
555 "https://www.googleapis.com/auth/monitor ing", 745 "https://www.googleapis.com/auth/monitor ing",
556 "https://www.googleapis.com/auth/monitor ing.read" 746 "https://www.googleapis.com/auth/monitor ing.read"
557 ] 747 ]
558 } 748 }
559 } 749 }
560 } 750 }
561 } 751 }
562 },
563 "collectdTimeSeries": {
564 "methods": {
565 "create": {
566 "description": "Stackdriver Monitoring Agent only: C reates a new time series.<aside class=\"caution\">This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</asid e>",
567 "httpMethod": "POST",
568 "id": "monitoring.projects.collectdTimeSeries.create ",
569 "parameterOrder": [
570 "name"
571 ],
572 "parameters": {
573 "name": {
574 "description": "The project in which to crea te the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".",
575 "location": "path",
576 "pattern": "^projects/[^/]+$",
577 "required": true,
578 "type": "string"
579 }
580 },
581 "path": "v3/{+name}/collectdTimeSeries",
582 "request": {
583 "$ref": "CreateCollectdTimeSeriesRequest"
584 },
585 "response": {
586 "$ref": "Empty"
587 },
588 "scopes": [
589 "https://www.googleapis.com/auth/cloud-platform" ,
590 "https://www.googleapis.com/auth/monitoring",
591 "https://www.googleapis.com/auth/monitoring.writ e"
592 ]
593 }
594 }
595 },
596 "timeSeries": {
597 "methods": {
598 "list": {
599 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.",
600 "httpMethod": "GET",
601 "id": "monitoring.projects.timeSeries.list",
602 "parameterOrder": [
603 "name"
604 ],
605 "parameters": {
606 "orderBy": {
607 "description": "Specifies the order in which the points of the time series should be returned. By default, results are not o rdered. Currently, this field must be left blank.",
608 "location": "query",
609 "type": "string"
610 },
611 "aggregation.crossSeriesReducer": {
612 "description": "The approach to be used to c ombine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Re duction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSe riesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne d.",
613 "enum": [
614 "REDUCE_NONE",
615 "REDUCE_MEAN",
616 "REDUCE_MIN",
617 "REDUCE_MAX",
618 "REDUCE_SUM",
619 "REDUCE_STDDEV",
620 "REDUCE_COUNT",
621 "REDUCE_COUNT_TRUE",
622 "REDUCE_FRACTION_TRUE",
623 "REDUCE_PERCENTILE_99",
624 "REDUCE_PERCENTILE_95",
625 "REDUCE_PERCENTILE_50",
626 "REDUCE_PERCENTILE_05",
627 "REDUCE_FRACTION_LESS_THAN"
628 ],
629 "location": "query",
630 "type": "string"
631 },
632 "filter": {
633 "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",
634 "location": "query",
635 "type": "string"
636 },
637 "pageToken": {
638 "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.",
639 "location": "query",
640 "type": "string"
641 },
642 "aggregation.perSeriesAligner": {
643 "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.",
644 "enum": [
645 "ALIGN_NONE",
646 "ALIGN_DELTA",
647 "ALIGN_RATE",
648 "ALIGN_INTERPOLATE",
649 "ALIGN_NEXT_OLDER",
650 "ALIGN_MIN",
651 "ALIGN_MAX",
652 "ALIGN_MEAN",
653 "ALIGN_COUNT",
654 "ALIGN_SUM",
655 "ALIGN_STDDEV",
656 "ALIGN_COUNT_TRUE",
657 "ALIGN_FRACTION_TRUE",
658 "ALIGN_PERCENTILE_99",
659 "ALIGN_PERCENTILE_95",
660 "ALIGN_PERCENTILE_50",
661 "ALIGN_PERCENTILE_05",
662 "ALIGN_MAKE_DISTRIBUTION"
663 ],
664 "location": "query",
665 "type": "string"
666 },
667 "interval.startTime": {
668 "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.",
669 "format": "google-datetime",
670 "location": "query",
671 "type": "string"
672 },
673 "view": {
674 "description": "Specifies which information is returned about the time series.",
675 "enum": [
676 "FULL",
677 "HEADERS"
678 ],
679 "location": "query",
680 "type": "string"
681 },
682 "aggregation.reduceFractionLessThanParams.thresh old": {
683 "description": "The threshold used by the RE DUCE_FRACTION_LESS_THAN cross-series reducer.",
684 "format": "double",
685 "location": "query",
686 "type": "number"
687 },
688 "name": {
689 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
690 "location": "path",
691 "pattern": "^projects/[^/]+$",
692 "required": true,
693 "type": "string"
694 },
695 "aggregation.groupByFields": {
696 "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.",
697 "location": "query",
698 "repeated": true,
699 "type": "string"
700 },
701 "interval.endTime": {
702 "description": "Required. The end of the tim e interval.",
703 "format": "google-datetime",
704 "location": "query",
705 "type": "string"
706 },
707 "aggregation.alignmentPeriod": {
708 "description": "The alignment period for per -time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_ NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returne d.",
709 "format": "google-duration",
710 "location": "query",
711 "type": "string"
712 },
713 "pageSize": {
714 "description": "A positive number that is th e maximum number of results to return. When view field sets to FULL, it limits t he number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.",
715 "format": "int32",
716 "location": "query",
717 "type": "integer"
718 },
719 "outputPeriod": {
720 "description": "If outputPeriod is specified , the data in the response will have the given period. Must be equal to or longe r than alignmentPeriod. Must not be used when view is HEADERS. Only used when in terval describes an interval longer than a single point.",
721 "format": "google-duration",
722 "location": "query",
723 "type": "string"
724 }
725 },
726 "path": "v3/{+name}/timeSeries",
727 "response": {
728 "$ref": "ListTimeSeriesResponse"
729 },
730 "scopes": [
731 "https://www.googleapis.com/auth/cloud-platform" ,
732 "https://www.googleapis.com/auth/monitoring",
733 "https://www.googleapis.com/auth/monitoring.read "
734 ]
735 },
736 "create": {
737 "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.",
738 "httpMethod": "POST",
739 "id": "monitoring.projects.timeSeries.create",
740 "parameterOrder": [
741 "name"
742 ],
743 "parameters": {
744 "name": {
745 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
746 "location": "path",
747 "pattern": "^projects/[^/]+$",
748 "required": true,
749 "type": "string"
750 }
751 },
752 "path": "v3/{+name}/timeSeries",
753 "request": {
754 "$ref": "CreateTimeSeriesRequest"
755 },
756 "response": {
757 "$ref": "Empty"
758 },
759 "scopes": [
760 "https://www.googleapis.com/auth/cloud-platform" ,
761 "https://www.googleapis.com/auth/monitoring",
762 "https://www.googleapis.com/auth/monitoring.writ e"
763 ]
764 }
765 }
766 } 752 }
767 } 753 }
768 } 754 }
769 }, 755 },
770 "revision": "20170724", 756 "revision": "20170814",
771 "rootUrl": "https://monitoring.googleapis.com/", 757 "rootUrl": "https://monitoring.googleapis.com/",
772 "schemas": { 758 "schemas": {
759 "ListTimeSeriesResponse": {
760 "description": "The ListTimeSeries response.",
761 "id": "ListTimeSeriesResponse",
762 "properties": {
763 "timeSeries": {
764 "description": "One or more time series that match the filte r included in the request.",
765 "items": {
766 "$ref": "TimeSeries"
767 },
768 "type": "array"
769 },
770 "nextPageToken": {
771 "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.",
772 "type": "string"
773 }
774 },
775 "type": "object"
776 },
777 "LabelDescriptor": {
778 "description": "A description of a label.",
779 "id": "LabelDescriptor",
780 "properties": {
781 "key": {
782 "description": "The label key.",
783 "type": "string"
784 },
785 "description": {
786 "description": "A human-readable description for the label." ,
787 "type": "string"
788 },
789 "valueType": {
790 "description": "The type of data that can be assigned to the label.",
791 "enum": [
792 "STRING",
793 "BOOL",
794 "INT64"
795 ],
796 "enumDescriptions": [
797 "A variable-length string. This is the default.",
798 "Boolean; true or false.",
799 "A 64-bit signed integer."
800 ],
801 "type": "string"
802 }
803 },
804 "type": "object"
805 },
806 "Type": {
807 "description": "A protocol buffer message type.",
808 "id": "Type",
809 "properties": {
810 "options": {
811 "description": "The protocol buffer options.",
812 "items": {
813 "$ref": "Option"
814 },
815 "type": "array"
816 },
817 "fields": {
818 "description": "The list of fields.",
819 "items": {
820 "$ref": "Field"
821 },
822 "type": "array"
823 },
824 "name": {
825 "description": "The fully qualified message name.",
826 "type": "string"
827 },
828 "oneofs": {
829 "description": "The list of types appearing in oneof definit ions in this type.",
830 "items": {
831 "type": "string"
832 },
833 "type": "array"
834 },
835 "syntax": {
836 "description": "The source syntax.",
837 "enum": [
838 "SYNTAX_PROTO2",
839 "SYNTAX_PROTO3"
840 ],
841 "enumDescriptions": [
842 "Syntax proto2.",
843 "Syntax proto3."
844 ],
845 "type": "string"
846 },
847 "sourceContext": {
848 "$ref": "SourceContext",
849 "description": "The source context."
850 }
851 },
852 "type": "object"
853 },
854 "Group": {
855 "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.",
856 "id": "Group",
857 "properties": {
858 "filter": {
859 "description": "The filter used to determine which monitored resources belong to this group.",
860 "type": "string"
861 },
862 "parentName": {
863 "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, \"\".",
864 "type": "string"
865 },
866 "name": {
867 "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.",
868 "type": "string"
869 },
870 "displayName": {
871 "description": "A user-assigned name for this group, used on ly for display purposes.",
872 "type": "string"
873 },
874 "isCluster": {
875 "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.",
876 "type": "boolean"
877 }
878 },
879 "type": "object"
880 },
881 "BucketOptions": {
882 "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.",
883 "id": "BucketOptions",
884 "properties": {
885 "exponentialBuckets": {
886 "$ref": "Exponential",
887 "description": "The exponential buckets."
888 },
889 "explicitBuckets": {
890 "$ref": "Explicit",
891 "description": "The explicit buckets."
892 },
893 "linearBuckets": {
894 "$ref": "Linear",
895 "description": "The linear bucket."
896 }
897 },
898 "type": "object"
899 },
900 "CollectdValue": {
901 "description": "A single data point from a collectd-based plugin.",
902 "id": "CollectdValue",
903 "properties": {
904 "dataSourceName": {
905 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
906 "type": "string"
907 },
908 "value": {
909 "$ref": "TypedValue",
910 "description": "The measurement value."
911 },
912 "dataSourceType": {
913 "description": "The type of measurement.",
914 "enum": [
915 "UNSPECIFIED_DATA_SOURCE_TYPE",
916 "GAUGE",
917 "COUNTER",
918 "DERIVE",
919 "ABSOLUTE"
920 ],
921 "enumDescriptions": [
922 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
923 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
924 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
925 "A rate of change of the measurement.",
926 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
927 ],
928 "type": "string"
929 }
930 },
931 "type": "object"
932 },
933 "MetricDescriptor": {
934 "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.",
935 "id": "MetricDescriptor",
936 "properties": {
937 "unit": {
938 "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 '}'.",
939 "type": "string"
940 },
941 "labels": {
942 "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.",
943 "items": {
944 "$ref": "LabelDescriptor"
945 },
946 "type": "array"
947 },
948 "name": {
949 "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",
950 "type": "string"
951 },
952 "type": {
953 "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",
954 "type": "string"
955 },
956 "valueType": {
957 "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.",
958 "enum": [
959 "VALUE_TYPE_UNSPECIFIED",
960 "BOOL",
961 "INT64",
962 "DOUBLE",
963 "STRING",
964 "DISTRIBUTION",
965 "MONEY"
966 ],
967 "enumDescriptions": [
968 "Do not use this default value.",
969 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
970 "The value is a signed 64-bit integer.",
971 "The value is a double precision floating point number." ,
972 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
973 "The value is a Distribution.",
974 "The value is money."
975 ],
976 "type": "string"
977 },
978 "metricKind": {
979 "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.",
980 "enum": [
981 "METRIC_KIND_UNSPECIFIED",
982 "GAUGE",
983 "DELTA",
984 "CUMULATIVE"
985 ],
986 "enumDescriptions": [
987 "Do not use this default value.",
988 "An instantaneous measurement of a value.",
989 "The change in a value during a time interval.",
990 "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."
991 ],
992 "type": "string"
993 },
994 "displayName": {
995 "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\".",
996 "type": "string"
997 },
998 "description": {
999 "description": "A detailed description of the metric, which can be used in documentation.",
1000 "type": "string"
1001 }
1002 },
1003 "type": "object"
1004 },
1005 "SourceContext": {
1006 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
1007 "id": "SourceContext",
1008 "properties": {
1009 "fileName": {
1010 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
1011 "type": "string"
1012 }
1013 },
1014 "type": "object"
1015 },
1016 "Range": {
1017 "description": "The range of the population values.",
1018 "id": "Range",
1019 "properties": {
1020 "min": {
1021 "description": "The minimum of the population values.",
1022 "format": "double",
1023 "type": "number"
1024 },
1025 "max": {
1026 "description": "The maximum of the population values.",
1027 "format": "double",
1028 "type": "number"
1029 }
1030 },
1031 "type": "object"
1032 },
1033 "ListGroupsResponse": {
1034 "description": "The ListGroups response.",
1035 "id": "ListGroupsResponse",
1036 "properties": {
1037 "nextPageToken": {
1038 "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.",
1039 "type": "string"
1040 },
1041 "group": {
1042 "description": "The groups that match the specified filters. ",
1043 "items": {
1044 "$ref": "Group"
1045 },
1046 "type": "array"
1047 }
1048 },
1049 "type": "object"
1050 },
1051 "ListGroupMembersResponse": {
1052 "description": "The ListGroupMembers response.",
1053 "id": "ListGroupMembersResponse",
1054 "properties": {
1055 "members": {
1056 "description": "A set of monitored resources in the group.",
1057 "items": {
1058 "$ref": "MonitoredResource"
1059 },
1060 "type": "array"
1061 },
1062 "nextPageToken": {
1063 "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.",
1064 "type": "string"
1065 },
1066 "totalSize": {
1067 "description": "The total number of elements matching this r equest.",
1068 "format": "int32",
1069 "type": "integer"
1070 }
1071 },
1072 "type": "object"
1073 },
1074 "CreateCollectdTimeSeriesRequest": {
1075 "description": "The CreateCollectdTimeSeries request.",
1076 "id": "CreateCollectdTimeSeriesRequest",
1077 "properties": {
1078 "collectdPayloads": {
1079 "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.",
1080 "items": {
1081 "$ref": "CollectdPayload"
1082 },
1083 "type": "array"
1084 },
1085 "resource": {
1086 "$ref": "MonitoredResource",
1087 "description": "The monitored resource associated with the t ime series."
1088 },
1089 "collectdVersion": {
1090 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
1091 "type": "string"
1092 }
1093 },
1094 "type": "object"
1095 },
1096 "ListMonitoredResourceDescriptorsResponse": {
1097 "description": "The ListMonitoredResourceDescriptors response.",
1098 "id": "ListMonitoredResourceDescriptorsResponse",
1099 "properties": {
1100 "nextPageToken": {
1101 "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.",
1102 "type": "string"
1103 },
1104 "resourceDescriptors": {
1105 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1106 "items": {
1107 "$ref": "MonitoredResourceDescriptor"
1108 },
1109 "type": "array"
1110 }
1111 },
1112 "type": "object"
1113 },
773 "TimeSeries": { 1114 "TimeSeries": {
774 "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.", 1115 "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.",
775 "id": "TimeSeries", 1116 "id": "TimeSeries",
776 "properties": { 1117 "properties": {
1118 "metricKind": {
1119 "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.",
1120 "enum": [
1121 "METRIC_KIND_UNSPECIFIED",
1122 "GAUGE",
1123 "DELTA",
1124 "CUMULATIVE"
1125 ],
1126 "enumDescriptions": [
1127 "Do not use this default value.",
1128 "An instantaneous measurement of a value.",
1129 "The change in a value during a time interval.",
1130 "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."
1131 ],
1132 "type": "string"
1133 },
1134 "points": {
1135 "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.",
1136 "items": {
1137 "$ref": "Point"
1138 },
1139 "type": "array"
1140 },
1141 "metric": {
1142 "$ref": "Metric",
1143 "description": "The associated metric. A fully-specified met ric used to identify the time series."
1144 },
777 "valueType": { 1145 "valueType": {
778 "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.", 1146 "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.",
779 "enum": [ 1147 "enum": [
780 "VALUE_TYPE_UNSPECIFIED", 1148 "VALUE_TYPE_UNSPECIFIED",
781 "BOOL", 1149 "BOOL",
782 "INT64", 1150 "INT64",
783 "DOUBLE", 1151 "DOUBLE",
784 "STRING", 1152 "STRING",
785 "DISTRIBUTION", 1153 "DISTRIBUTION",
786 "MONEY" 1154 "MONEY"
787 ], 1155 ],
788 "enumDescriptions": [ 1156 "enumDescriptions": [
789 "Do not use this default value.", 1157 "Do not use this default value.",
790 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.", 1158 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
791 "The value is a signed 64-bit integer.", 1159 "The value is a signed 64-bit integer.",
792 "The value is a double precision floating point number." , 1160 "The value is a double precision floating point number." ,
793 "The value is a text string. This value type can be used only if the metric kind is GAUGE.", 1161 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
794 "The value is a Distribution.", 1162 "The value is a Distribution.",
795 "The value is money." 1163 "The value is money."
796 ], 1164 ],
797 "type": "string" 1165 "type": "string"
798 }, 1166 },
799 "resource": { 1167 "resource": {
800 "$ref": "MonitoredResource", 1168 "$ref": "MonitoredResource",
801 "description": "The associated monitored resource. Custom me trics can use only certain monitored resource types in their time series data." 1169 "description": "The associated monitored resource. Custom me trics can use only certain monitored resource types in their time series data."
802 },
803 "metricKind": {
804 "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.",
805 "enum": [
806 "METRIC_KIND_UNSPECIFIED",
807 "GAUGE",
808 "DELTA",
809 "CUMULATIVE"
810 ],
811 "enumDescriptions": [
812 "Do not use this default value.",
813 "An instantaneous measurement of a value.",
814 "The change in a value during a time interval.",
815 "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."
816 ],
817 "type": "string"
818 },
819 "points": {
820 "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.",
821 "items": {
822 "$ref": "Point"
823 },
824 "type": "array"
825 },
826 "metric": {
827 "$ref": "Metric",
828 "description": "The associated metric. A fully-specified met ric used to identify the time series."
829 } 1170 }
830 }, 1171 },
831 "type": "object" 1172 "type": "object"
832 }, 1173 },
833 "CreateTimeSeriesRequest": { 1174 "CreateTimeSeriesRequest": {
834 "description": "The CreateTimeSeries request.", 1175 "description": "The CreateTimeSeries request.",
835 "id": "CreateTimeSeriesRequest", 1176 "id": "CreateTimeSeriesRequest",
836 "properties": { 1177 "properties": {
837 "timeSeries": { 1178 "timeSeries": {
838 "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.", 1179 "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.",
839 "items": { 1180 "items": {
840 "$ref": "TimeSeries" 1181 "$ref": "TimeSeries"
841 }, 1182 },
842 "type": "array" 1183 "type": "array"
843 } 1184 }
844 }, 1185 },
845 "type": "object" 1186 "type": "object"
846 }, 1187 },
847 "Distribution": { 1188 "Distribution": {
848 "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 .", 1189 "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 .",
849 "id": "Distribution", 1190 "id": "Distribution",
850 "properties": { 1191 "properties": {
1192 "count": {
1193 "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.",
1194 "format": "int64",
1195 "type": "string"
1196 },
1197 "mean": {
1198 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
1199 "format": "double",
1200 "type": "number"
1201 },
1202 "bucketCounts": {
1203 "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.",
1204 "items": {
1205 "format": "int64",
1206 "type": "string"
1207 },
1208 "type": "array"
1209 },
851 "bucketOptions": { 1210 "bucketOptions": {
852 "$ref": "BucketOptions", 1211 "$ref": "BucketOptions",
853 "description": "Required in the Stackdriver Monitoring API v 3. Defines the histogram bucket boundaries." 1212 "description": "Required in the Stackdriver Monitoring API v 3. Defines the histogram bucket boundaries."
854 }, 1213 },
855 "sumOfSquaredDeviation": { 1214 "sumOfSquaredDeviation": {
856 "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.", 1215 "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.",
857 "format": "double", 1216 "format": "double",
858 "type": "number" 1217 "type": "number"
859 }, 1218 },
860 "range": { 1219 "range": {
861 "$ref": "Range", 1220 "$ref": "Range",
862 "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." 1221 "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."
863 },
864 "count": {
865 "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.",
866 "format": "int64",
867 "type": "string"
868 },
869 "mean": {
870 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
871 "format": "double",
872 "type": "number"
873 },
874 "bucketCounts": {
875 "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.",
876 "items": {
877 "format": "int64",
878 "type": "string"
879 },
880 "type": "array"
881 } 1222 }
882 }, 1223 },
883 "type": "object" 1224 "type": "object"
884 }, 1225 },
885 "MonitoredResource": { 1226 "MonitoredResource": {
886 "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", 1227 "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",
887 "id": "MonitoredResource", 1228 "id": "MonitoredResource",
888 "properties": { 1229 "properties": {
1230 "type": {
1231 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Compute Engine VM instance is gce_instance.",
1232 "type": "string"
1233 },
889 "labels": { 1234 "labels": {
890 "additionalProperties": { 1235 "additionalProperties": {
891 "type": "string" 1236 "type": "string"
892 }, 1237 },
893 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Compute Engine V M instances use the labels \"project_id\", \"instance_id\", and \"zone\".", 1238 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Compute Engine V M instances use the labels \"project_id\", \"instance_id\", and \"zone\".",
894 "type": "object" 1239 "type": "object"
895 },
896 "type": {
897 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Compute Engine VM instance is gce_instance.",
898 "type": "string"
899 } 1240 }
900 }, 1241 },
901 "type": "object" 1242 "type": "object"
902 }, 1243 },
903 "ListMetricDescriptorsResponse": { 1244 "ListMetricDescriptorsResponse": {
904 "description": "The ListMetricDescriptors response.", 1245 "description": "The ListMetricDescriptors response.",
905 "id": "ListMetricDescriptorsResponse", 1246 "id": "ListMetricDescriptorsResponse",
906 "properties": { 1247 "properties": {
907 "nextPageToken": { 1248 "nextPageToken": {
908 "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.", 1249 "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.",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 "type": "object" 1319 "type": "object"
979 }, 1320 },
980 "CollectdPayload": { 1321 "CollectdPayload": {
981 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.", 1322 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.",
982 "id": "CollectdPayload", 1323 "id": "CollectdPayload",
983 "properties": { 1324 "properties": {
984 "typeInstance": { 1325 "typeInstance": {
985 "description": "The measurement type instance. Example: \"us ed\".", 1326 "description": "The measurement type instance. Example: \"us ed\".",
986 "type": "string" 1327 "type": "string"
987 }, 1328 },
1329 "type": {
1330 "description": "The measurement type. Example: \"memory\".",
1331 "type": "string"
1332 },
988 "metadata": { 1333 "metadata": {
989 "additionalProperties": { 1334 "additionalProperties": {
990 "$ref": "TypedValue" 1335 "$ref": "TypedValue"
991 }, 1336 },
992 "description": "The measurement metadata. Example: \"process _id\" -> 12345", 1337 "description": "The measurement metadata. Example: \"process _id\" -> 12345",
993 "type": "object" 1338 "type": "object"
994 }, 1339 },
995 "type": {
996 "description": "The measurement type. Example: \"memory\".",
997 "type": "string"
998 },
999 "plugin": { 1340 "plugin": {
1000 "description": "The name of the plugin. Example: \"disk\".", 1341 "description": "The name of the plugin. Example: \"disk\".",
1001 "type": "string" 1342 "type": "string"
1002 }, 1343 },
1003 "pluginInstance": { 1344 "pluginInstance": {
1004 "description": "The instance name of the plugin Example: \"h dcl\".", 1345 "description": "The instance name of the plugin Example: \"h dcl\".",
1005 "type": "string" 1346 "type": "string"
1006 }, 1347 },
1007 "endTime": { 1348 "endTime": {
1008 "description": "The end time of the interval.", 1349 "description": "The end time of the interval.",
(...skipping 12 matching lines...) Expand all
1021 }, 1362 },
1022 "type": "array" 1363 "type": "array"
1023 } 1364 }
1024 }, 1365 },
1025 "type": "object" 1366 "type": "object"
1026 }, 1367 },
1027 "Linear": { 1368 "Linear": {
1028 "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)).", 1369 "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)).",
1029 "id": "Linear", 1370 "id": "Linear",
1030 "properties": { 1371 "properties": {
1372 "numFiniteBuckets": {
1373 "description": "Must be greater than 0.",
1374 "format": "int32",
1375 "type": "integer"
1376 },
1031 "width": { 1377 "width": {
1032 "description": "Must be greater than 0.", 1378 "description": "Must be greater than 0.",
1033 "format": "double", 1379 "format": "double",
1034 "type": "number" 1380 "type": "number"
1035 }, 1381 },
1036 "offset": { 1382 "offset": {
1037 "description": "Lower bound of the first bucket.", 1383 "description": "Lower bound of the first bucket.",
1038 "format": "double", 1384 "format": "double",
1039 "type": "number" 1385 "type": "number"
1386 }
1387 },
1388 "type": "object"
1389 },
1390 "Empty": {
1391 "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 {}.",
1392 "id": "Empty",
1393 "properties": {},
1394 "type": "object"
1395 },
1396 "Option": {
1397 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
1398 "id": "Option",
1399 "properties": {
1400 "name": {
1401 "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\".",
1402 "type": "string"
1403 },
1404 "value": {
1405 "additionalProperties": {
1406 "description": "Properties of the object. Contains field @type with type URL.",
1407 "type": "any"
1408 },
1409 "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.",
1410 "type": "object"
1411 }
1412 },
1413 "type": "object"
1414 },
1415 "TimeInterval": {
1416 "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.",
1417 "id": "TimeInterval",
1418 "properties": {
1419 "startTime": {
1420 "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.",
1421 "format": "google-datetime",
1422 "type": "string"
1423 },
1424 "endTime": {
1425 "description": "Required. The end of the time interval.",
1426 "format": "google-datetime",
1427 "type": "string"
1428 }
1429 },
1430 "type": "object"
1431 },
1432 "Explicit": {
1433 "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.",
1434 "id": "Explicit",
1435 "properties": {
1436 "bounds": {
1437 "description": "The values must be monotonically increasing. ",
1438 "items": {
1439 "format": "double",
1440 "type": "number"
1441 },
1442 "type": "array"
1443 }
1444 },
1445 "type": "object"
1446 },
1447 "Exponential": {
1448 "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)).",
1449 "id": "Exponential",
1450 "properties": {
1451 "scale": {
1452 "description": "Must be greater than 0.",
1453 "format": "double",
1454 "type": "number"
1040 }, 1455 },
1041 "numFiniteBuckets": { 1456 "numFiniteBuckets": {
1042 "description": "Must be greater than 0.", 1457 "description": "Must be greater than 0.",
1043 "format": "int32", 1458 "format": "int32",
1044 "type": "integer" 1459 "type": "integer"
1045 } 1460 },
1046 },
1047 "type": "object"
1048 },
1049 "Option": {
1050 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
1051 "id": "Option",
1052 "properties": {
1053 "value": {
1054 "additionalProperties": {
1055 "description": "Properties of the object. Contains field @type with type URL.",
1056 "type": "any"
1057 },
1058 "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.",
1059 "type": "object"
1060 },
1061 "name": {
1062 "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\".",
1063 "type": "string"
1064 }
1065 },
1066 "type": "object"
1067 },
1068 "Empty": {
1069 "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 {}.",
1070 "id": "Empty",
1071 "properties": {},
1072 "type": "object"
1073 },
1074 "Explicit": {
1075 "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.",
1076 "id": "Explicit",
1077 "properties": {
1078 "bounds": {
1079 "description": "The values must be monotonically increasing. ",
1080 "items": {
1081 "format": "double",
1082 "type": "number"
1083 },
1084 "type": "array"
1085 }
1086 },
1087 "type": "object"
1088 },
1089 "TimeInterval": {
1090 "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.",
1091 "id": "TimeInterval",
1092 "properties": {
1093 "startTime": {
1094 "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.",
1095 "format": "google-datetime",
1096 "type": "string"
1097 },
1098 "endTime": {
1099 "description": "Required. The end of the time interval.",
1100 "format": "google-datetime",
1101 "type": "string"
1102 }
1103 },
1104 "type": "object"
1105 },
1106 "Exponential": {
1107 "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)).",
1108 "id": "Exponential",
1109 "properties": {
1110 "growthFactor": { 1461 "growthFactor": {
1111 "description": "Must be greater than 1.", 1462 "description": "Must be greater than 1.",
1112 "format": "double", 1463 "format": "double",
1113 "type": "number" 1464 "type": "number"
1114 },
1115 "scale": {
1116 "description": "Must be greater than 0.",
1117 "format": "double",
1118 "type": "number"
1119 },
1120 "numFiniteBuckets": {
1121 "description": "Must be greater than 0.",
1122 "format": "int32",
1123 "type": "integer"
1124 } 1465 }
1125 }, 1466 },
1126 "type": "object" 1467 "type": "object"
1127 }, 1468 },
1128 "Point": { 1469 "Point": {
1129 "description": "A single data point in a time series.", 1470 "description": "A single data point in a time series.",
1130 "id": "Point", 1471 "id": "Point",
1131 "properties": { 1472 "properties": {
1132 "interval": { 1473 "interval": {
1133 "$ref": "TimeInterval", 1474 "$ref": "TimeInterval",
1134 "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." 1475 "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."
1135 }, 1476 },
1136 "value": { 1477 "value": {
1137 "$ref": "TypedValue", 1478 "$ref": "TypedValue",
1138 "description": "The value of the data point." 1479 "description": "The value of the data point."
1139 } 1480 }
1140 }, 1481 },
1141 "type": "object" 1482 "type": "object"
1142 }, 1483 },
1484 "Metric": {
1485 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
1486 "id": "Metric",
1487 "properties": {
1488 "labels": {
1489 "additionalProperties": {
1490 "type": "string"
1491 },
1492 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.",
1493 "type": "object"
1494 },
1495 "type": {
1496 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
1497 "type": "string"
1498 }
1499 },
1500 "type": "object"
1501 },
1143 "Field": { 1502 "Field": {
1144 "description": "A single field of a message type.", 1503 "description": "A single field of a message type.",
1145 "id": "Field", 1504 "id": "Field",
1146 "properties": { 1505 "properties": {
1147 "name": {
1148 "description": "The field name.",
1149 "type": "string"
1150 },
1151 "typeUrl": { 1506 "typeUrl": {
1152 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".", 1507 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".",
1153 "type": "string" 1508 "type": "string"
1154 }, 1509 },
1155 "number": { 1510 "number": {
1156 "description": "The field number.", 1511 "description": "The field number.",
1157 "format": "int32", 1512 "format": "int32",
1158 "type": "integer" 1513 "type": "integer"
1159 }, 1514 },
1160 "jsonName": { 1515 "jsonName": {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 "For fields with unknown cardinality.", 1590 "For fields with unknown cardinality.",
1236 "For optional fields.", 1591 "For optional fields.",
1237 "For required fields. Proto2 syntax only.", 1592 "For required fields. Proto2 syntax only.",
1238 "For repeated fields." 1593 "For repeated fields."
1239 ], 1594 ],
1240 "type": "string" 1595 "type": "string"
1241 }, 1596 },
1242 "defaultValue": { 1597 "defaultValue": {
1243 "description": "The string value of the default value of thi s field. Proto2 syntax only.", 1598 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1244 "type": "string" 1599 "type": "string"
1245 }
1246 },
1247 "type": "object"
1248 },
1249 "Metric": {
1250 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
1251 "id": "Metric",
1252 "properties": {
1253 "type": {
1254 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
1255 "type": "string"
1256 },
1257 "labels": {
1258 "additionalProperties": {
1259 "type": "string"
1260 },
1261 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.",
1262 "type": "object"
1263 }
1264 },
1265 "type": "object"
1266 },
1267 "ListTimeSeriesResponse": {
1268 "description": "The ListTimeSeries response.",
1269 "id": "ListTimeSeriesResponse",
1270 "properties": {
1271 "timeSeries": {
1272 "description": "One or more time series that match the filte r included in the request.",
1273 "items": {
1274 "$ref": "TimeSeries"
1275 },
1276 "type": "array"
1277 },
1278 "nextPageToken": {
1279 "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.",
1280 "type": "string"
1281 }
1282 },
1283 "type": "object"
1284 },
1285 "LabelDescriptor": {
1286 "description": "A description of a label.",
1287 "id": "LabelDescriptor",
1288 "properties": {
1289 "valueType": {
1290 "description": "The type of data that can be assigned to the label.",
1291 "enum": [
1292 "STRING",
1293 "BOOL",
1294 "INT64"
1295 ],
1296 "enumDescriptions": [
1297 "A variable-length string. This is the default.",
1298 "Boolean; true or false.",
1299 "A 64-bit signed integer."
1300 ],
1301 "type": "string"
1302 },
1303 "key": {
1304 "description": "The label key.",
1305 "type": "string"
1306 },
1307 "description": {
1308 "description": "A human-readable description for the label." ,
1309 "type": "string"
1310 }
1311 },
1312 "type": "object"
1313 },
1314 "Group": {
1315 "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.",
1316 "id": "Group",
1317 "properties": {
1318 "filter": {
1319 "description": "The filter used to determine which monitored resources belong to this group.",
1320 "type": "string"
1321 },
1322 "parentName": {
1323 "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, \"\".",
1324 "type": "string"
1325 }, 1600 },
1326 "name": { 1601 "name": {
1327 "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.", 1602 "description": "The field name.",
1328 "type": "string" 1603 "type": "string"
1329 }, 1604 }
1330 "displayName": { 1605 },
1331 "description": "A user-assigned name for this group, used on ly for display purposes.", 1606 "type": "object"
1332 "type": "string"
1333 },
1334 "isCluster": {
1335 "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.",
1336 "type": "boolean"
1337 }
1338 },
1339 "type": "object"
1340 },
1341 "Type": {
1342 "description": "A protocol buffer message type.",
1343 "id": "Type",
1344 "properties": {
1345 "fields": {
1346 "description": "The list of fields.",
1347 "items": {
1348 "$ref": "Field"
1349 },
1350 "type": "array"
1351 },
1352 "name": {
1353 "description": "The fully qualified message name.",
1354 "type": "string"
1355 },
1356 "oneofs": {
1357 "description": "The list of types appearing in oneof definit ions in this type.",
1358 "items": {
1359 "type": "string"
1360 },
1361 "type": "array"
1362 },
1363 "syntax": {
1364 "description": "The source syntax.",
1365 "enum": [
1366 "SYNTAX_PROTO2",
1367 "SYNTAX_PROTO3"
1368 ],
1369 "enumDescriptions": [
1370 "Syntax proto2.",
1371 "Syntax proto3."
1372 ],
1373 "type": "string"
1374 },
1375 "sourceContext": {
1376 "$ref": "SourceContext",
1377 "description": "The source context."
1378 },
1379 "options": {
1380 "description": "The protocol buffer options.",
1381 "items": {
1382 "$ref": "Option"
1383 },
1384 "type": "array"
1385 }
1386 },
1387 "type": "object"
1388 },
1389 "BucketOptions": {
1390 "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.",
1391 "id": "BucketOptions",
1392 "properties": {
1393 "exponentialBuckets": {
1394 "$ref": "Exponential",
1395 "description": "The exponential buckets."
1396 },
1397 "explicitBuckets": {
1398 "$ref": "Explicit",
1399 "description": "The explicit buckets."
1400 },
1401 "linearBuckets": {
1402 "$ref": "Linear",
1403 "description": "The linear bucket."
1404 }
1405 },
1406 "type": "object"
1407 },
1408 "CollectdValue": {
1409 "description": "A single data point from a collectd-based plugin.",
1410 "id": "CollectdValue",
1411 "properties": {
1412 "dataSourceName": {
1413 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
1414 "type": "string"
1415 },
1416 "value": {
1417 "$ref": "TypedValue",
1418 "description": "The measurement value."
1419 },
1420 "dataSourceType": {
1421 "description": "The type of measurement.",
1422 "enum": [
1423 "UNSPECIFIED_DATA_SOURCE_TYPE",
1424 "GAUGE",
1425 "COUNTER",
1426 "DERIVE",
1427 "ABSOLUTE"
1428 ],
1429 "enumDescriptions": [
1430 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
1431 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
1432 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
1433 "A rate of change of the measurement.",
1434 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
1435 ],
1436 "type": "string"
1437 }
1438 },
1439 "type": "object"
1440 },
1441 "SourceContext": {
1442 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
1443 "id": "SourceContext",
1444 "properties": {
1445 "fileName": {
1446 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
1447 "type": "string"
1448 }
1449 },
1450 "type": "object"
1451 },
1452 "MetricDescriptor": {
1453 "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.",
1454 "id": "MetricDescriptor",
1455 "properties": {
1456 "metricKind": {
1457 "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.",
1458 "enum": [
1459 "METRIC_KIND_UNSPECIFIED",
1460 "GAUGE",
1461 "DELTA",
1462 "CUMULATIVE"
1463 ],
1464 "enumDescriptions": [
1465 "Do not use this default value.",
1466 "An instantaneous measurement of a value.",
1467 "The change in a value during a time interval.",
1468 "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."
1469 ],
1470 "type": "string"
1471 },
1472 "description": {
1473 "description": "A detailed description of the metric, which can be used in documentation.",
1474 "type": "string"
1475 },
1476 "displayName": {
1477 "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\".",
1478 "type": "string"
1479 },
1480 "unit": {
1481 "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 '}'.",
1482 "type": "string"
1483 },
1484 "labels": {
1485 "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.",
1486 "items": {
1487 "$ref": "LabelDescriptor"
1488 },
1489 "type": "array"
1490 },
1491 "name": {
1492 "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",
1493 "type": "string"
1494 },
1495 "type": {
1496 "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",
1497 "type": "string"
1498 },
1499 "valueType": {
1500 "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.",
1501 "enum": [
1502 "VALUE_TYPE_UNSPECIFIED",
1503 "BOOL",
1504 "INT64",
1505 "DOUBLE",
1506 "STRING",
1507 "DISTRIBUTION",
1508 "MONEY"
1509 ],
1510 "enumDescriptions": [
1511 "Do not use this default value.",
1512 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1513 "The value is a signed 64-bit integer.",
1514 "The value is a double precision floating point number." ,
1515 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1516 "The value is a Distribution.",
1517 "The value is money."
1518 ],
1519 "type": "string"
1520 }
1521 },
1522 "type": "object"
1523 },
1524 "Range": {
1525 "description": "The range of the population values.",
1526 "id": "Range",
1527 "properties": {
1528 "max": {
1529 "description": "The maximum of the population values.",
1530 "format": "double",
1531 "type": "number"
1532 },
1533 "min": {
1534 "description": "The minimum of the population values.",
1535 "format": "double",
1536 "type": "number"
1537 }
1538 },
1539 "type": "object"
1540 },
1541 "ListGroupsResponse": {
1542 "description": "The ListGroups response.",
1543 "id": "ListGroupsResponse",
1544 "properties": {
1545 "nextPageToken": {
1546 "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.",
1547 "type": "string"
1548 },
1549 "group": {
1550 "description": "The groups that match the specified filters. ",
1551 "items": {
1552 "$ref": "Group"
1553 },
1554 "type": "array"
1555 }
1556 },
1557 "type": "object"
1558 },
1559 "ListGroupMembersResponse": {
1560 "description": "The ListGroupMembers response.",
1561 "id": "ListGroupMembersResponse",
1562 "properties": {
1563 "members": {
1564 "description": "A set of monitored resources in the group.",
1565 "items": {
1566 "$ref": "MonitoredResource"
1567 },
1568 "type": "array"
1569 },
1570 "nextPageToken": {
1571 "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.",
1572 "type": "string"
1573 },
1574 "totalSize": {
1575 "description": "The total number of elements matching this r equest.",
1576 "format": "int32",
1577 "type": "integer"
1578 }
1579 },
1580 "type": "object"
1581 },
1582 "CreateCollectdTimeSeriesRequest": {
1583 "description": "The CreateCollectdTimeSeries request.",
1584 "id": "CreateCollectdTimeSeriesRequest",
1585 "properties": {
1586 "collectdPayloads": {
1587 "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.",
1588 "items": {
1589 "$ref": "CollectdPayload"
1590 },
1591 "type": "array"
1592 },
1593 "resource": {
1594 "$ref": "MonitoredResource",
1595 "description": "The monitored resource associated with the t ime series."
1596 },
1597 "collectdVersion": {
1598 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
1599 "type": "string"
1600 }
1601 },
1602 "type": "object"
1603 },
1604 "ListMonitoredResourceDescriptorsResponse": {
1605 "description": "The ListMonitoredResourceDescriptors response.",
1606 "id": "ListMonitoredResourceDescriptorsResponse",
1607 "properties": {
1608 "nextPageToken": {
1609 "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.",
1610 "type": "string"
1611 },
1612 "resourceDescriptors": {
1613 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1614 "items": {
1615 "$ref": "MonitoredResourceDescriptor"
1616 },
1617 "type": "array"
1618 }
1619 },
1620 "type": "object"
1621 } 1607 }
1622 }, 1608 },
1623 "servicePath": "", 1609 "servicePath": "",
1624 "title": "Stackdriver Monitoring API", 1610 "title": "Stackdriver Monitoring API",
1625 "version": "v3" 1611 "version": "v3"
1626 } 1612 }
OLDNEW
« no previous file with comments | « discovery/googleapis/ml__v1.json ('k') | discovery/googleapis/oauth2__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698