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

Side by Side Diff: discovery/googleapis_beta/cloudmonitoring__v2beta1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/monitoring.readonly": {
6 "description": "View monitoring data for all of your Google Cloud and API projects"
7 }
8 }
9 }
10 },
11 "basePath": "/cloudmonitoring/v2beta1/projects/",
12 "baseUrl": "https://www.googleapis.com/cloudmonitoring/v2beta1/projects/",
13 "batchPath": "batch",
14 "canonicalName": "Cloud Monitoring",
15 "description": "API for accessing Google Cloud and API monitoring data.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/cloud-monitoring/",
18 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/EwV4gYVmk5LEINhBU1aGpQEMk2I\"",
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "cloudmonitoring:v2beta1",
24 "kind": "discovery#restDescription",
25 "name": "cloudmonitoring",
26 "ownerDomain": "google.com",
27 "ownerName": "Google",
28 "parameters": {
29 "alt": {
30 "default": "json",
31 "description": "Data format for the response.",
32 "enum": [
33 "json"
34 ],
35 "enumDescriptions": [
36 "Responses with Content-Type of application/json"
37 ],
38 "location": "query",
39 "type": "string"
40 },
41 "fields": {
42 "description": "Selector specifying which fields to include in a par tial response.",
43 "location": "query",
44 "type": "string"
45 },
46 "key": {
47 "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.",
48 "location": "query",
49 "type": "string"
50 },
51 "oauth_token": {
52 "description": "OAuth 2.0 token for the current user.",
53 "location": "query",
54 "type": "string"
55 },
56 "prettyPrint": {
57 "default": "true",
58 "description": "Returns response with indentations and line breaks." ,
59 "location": "query",
60 "type": "boolean"
61 },
62 "quotaUser": {
63 "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. Overrides userIp if both are provided.",
64 "location": "query",
65 "type": "string"
66 },
67 "userIp": {
68 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
69 "location": "query",
70 "type": "string"
71 }
72 },
73 "protocol": "rest",
74 "resources": {
75 "metricDescriptors": {
76 "methods": {
77 "list": {
78 "description": "List metric descriptors that match the query . If the query is not set, then all of the metric descriptors will be returned. Large responses will be paginated, use the nextPageToken returned in the respons e to request subsequent pages of results by setting the pageToken query paramete r to the value of the nextPageToken.",
79 "httpMethod": "GET",
80 "id": "cloudmonitoring.metricDescriptors.list",
81 "parameterOrder": [
82 "project"
83 ],
84 "parameters": {
85 "count": {
86 "default": "100",
87 "description": "Maximum number of metric descriptors per page. Used for pagination. If not specified, count = 100.",
88 "format": "int32",
89 "location": "query",
90 "maximum": "1000",
91 "minimum": "1",
92 "type": "integer"
93 },
94 "pageToken": {
95 "description": "The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageTo ken to retrieve the next page of results.",
96 "location": "query",
97 "type": "string"
98 },
99 "project": {
100 "description": "The project id. The value can be the numeric project ID or string-based project name.",
101 "location": "path",
102 "required": true,
103 "type": "string"
104 },
105 "query": {
106 "description": "The query used to search against exi sting metrics. Separate keywords with a space; the service joins all keywords wi th AND, meaning that all keywords must match for a metric to be returned. If thi s field is omitted, all metrics are returned. If an empty string is passed with this field, no metrics are returned.",
107 "location": "query",
108 "type": "string"
109 }
110 },
111 "path": "{project}/metricDescriptors",
112 "request": {
113 "$ref": "ListMetricDescriptorsRequest"
114 },
115 "response": {
116 "$ref": "ListMetricDescriptorsResponse"
117 },
118 "scopes": [
119 "https://www.googleapis.com/auth/monitoring.readonly"
120 ]
121 }
122 }
123 },
124 "timeseries": {
125 "methods": {
126 "list": {
127 "description": "List the data points of the time series that match the metric and labels values and that have data points in the interval. L arge responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.",
128 "httpMethod": "GET",
129 "id": "cloudmonitoring.timeseries.list",
130 "parameterOrder": [
131 "project",
132 "metric",
133 "youngest"
134 ],
135 "parameters": {
136 "count": {
137 "default": "6000",
138 "description": "Maximum number of data points per pa ge, which is used for pagination of results.",
139 "format": "int32",
140 "location": "query",
141 "maximum": "12000",
142 "minimum": "1",
143 "type": "integer"
144 },
145 "labels": {
146 "description": "A collection of labels for the match ing time series, which are represented as: \n- key==value: key equals the value \n- key=~value: key regex matches the value \n- key!=value: key does not equal the value \n- key!~value: key regex does not match the value For example, to li st all of the time series descriptors for the region us-central1, you could spec ify:\nlabel=cloud.googleapis.com%2Flocation=~us-central1.*",
147 "location": "query",
148 "pattern": "(.+?)(==|=~|!=|!~)(.+)",
149 "repeated": true,
150 "type": "string"
151 },
152 "metric": {
153 "description": "Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, compute.googleapis.com/ins tance/disk/read_ops_count.",
154 "location": "path",
155 "required": true,
156 "type": "string"
157 },
158 "oldest": {
159 "description": "Start of the time interval (exclusiv e), which is expressed as an RFC 3339 timestamp. If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest]",
160 "location": "query",
161 "type": "string"
162 },
163 "pageToken": {
164 "description": "The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageTo ken to retrieve the next page of results.",
165 "location": "query",
166 "type": "string"
167 },
168 "project": {
169 "description": "The project ID to which this time se ries belongs. The value can be the numeric project ID or string-based project na me.",
170 "location": "path",
171 "required": true,
172 "type": "string"
173 },
174 "timespan": {
175 "description": "Length of the time interval to query , which is an alternative way to declare the interval: (youngest - timespan, you ngest]. The timespan and oldest parameters should not be used together. Units: \n- s: second \n- m: minute \n- h: hour \n- d: day \n- w: week Examples: 2s, 3m , 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.\n\nIf neither oldest nor timespan is specified, the default time i nterval will be (youngest - 4 hours, youngest].",
176 "location": "query",
177 "pattern": "[0-9]+[smhdw]?",
178 "type": "string"
179 },
180 "youngest": {
181 "description": "End of the time interval (inclusive) , which is expressed as an RFC 3339 timestamp.",
182 "location": "query",
183 "required": true,
184 "type": "string"
185 }
186 },
187 "path": "{project}/timeseries/{metric}",
188 "request": {
189 "$ref": "ListTimeseriesRequest"
190 },
191 "response": {
192 "$ref": "ListTimeseriesResponse"
193 },
194 "scopes": [
195 "https://www.googleapis.com/auth/monitoring.readonly"
196 ]
197 }
198 }
199 },
200 "timeseriesDescriptors": {
201 "methods": {
202 "list": {
203 "description": "List the descriptors of the time series that match the metric and labels values and that have data points in the interval. L arge responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.",
204 "httpMethod": "GET",
205 "id": "cloudmonitoring.timeseriesDescriptors.list",
206 "parameterOrder": [
207 "project",
208 "metric",
209 "youngest"
210 ],
211 "parameters": {
212 "count": {
213 "default": "100",
214 "description": "Maximum number of time series descri ptors per page. Used for pagination. If not specified, count = 100.",
215 "format": "int32",
216 "location": "query",
217 "maximum": "1000",
218 "minimum": "1",
219 "type": "integer"
220 },
221 "labels": {
222 "description": "A collection of labels for the match ing time series, which are represented as: \n- key==value: key equals the value \n- key=~value: key regex matches the value \n- key!=value: key does not equal the value \n- key!~value: key regex does not match the value For example, to li st all of the time series descriptors for the region us-central1, you could spec ify:\nlabel=cloud.googleapis.com%2Flocation=~us-central1.*",
223 "location": "query",
224 "pattern": "(.+?)(==|=~|!=|!~)(.+)",
225 "repeated": true,
226 "type": "string"
227 },
228 "metric": {
229 "description": "Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, compute.googleapis.com/ins tance/disk/read_ops_count.",
230 "location": "path",
231 "required": true,
232 "type": "string"
233 },
234 "oldest": {
235 "description": "Start of the time interval (exclusiv e), which is expressed as an RFC 3339 timestamp. If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest]",
236 "location": "query",
237 "type": "string"
238 },
239 "pageToken": {
240 "description": "The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageTo ken to retrieve the next page of results.",
241 "location": "query",
242 "type": "string"
243 },
244 "project": {
245 "description": "The project ID to which this time se ries belongs. The value can be the numeric project ID or string-based project na me.",
246 "location": "path",
247 "required": true,
248 "type": "string"
249 },
250 "timespan": {
251 "description": "Length of the time interval to query , which is an alternative way to declare the interval: (youngest - timespan, you ngest]. The timespan and oldest parameters should not be used together. Units: \n- s: second \n- m: minute \n- h: hour \n- d: day \n- w: week Examples: 2s, 3m , 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.\n\nIf neither oldest nor timespan is specified, the default time i nterval will be (youngest - 4 hours, youngest].",
252 "location": "query",
253 "pattern": "[0-9]+[smhdw]?",
254 "type": "string"
255 },
256 "youngest": {
257 "description": "End of the time interval (inclusive) , which is expressed as an RFC 3339 timestamp.",
258 "location": "query",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "{project}/timeseriesDescriptors/{metric}",
264 "request": {
265 "$ref": "ListTimeseriesDescriptorsRequest"
266 },
267 "response": {
268 "$ref": "ListTimeseriesDescriptorsResponse"
269 },
270 "scopes": [
271 "https://www.googleapis.com/auth/monitoring.readonly"
272 ]
273 }
274 }
275 }
276 },
277 "revision": "20140904",
278 "rootUrl": "https://www.googleapis.com/",
279 "schemas": {
280 "ListMetricDescriptorsRequest": {
281 "description": "The request of cloudmonitoring.metricDescriptors.lis t.",
282 "id": "ListMetricDescriptorsRequest",
283 "properties": {
284 "kind": {
285 "default": "cloudmonitoring#listMetricDescriptorsRequest",
286 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"cloudmonitoring#listMetricDescriptorsRequest\".",
287 "type": "string"
288 }
289 },
290 "type": "object"
291 },
292 "ListMetricDescriptorsResponse": {
293 "description": "The response of cloudmonitoring.metricDescriptors.li st.",
294 "id": "ListMetricDescriptorsResponse",
295 "properties": {
296 "kind": {
297 "default": "cloudmonitoring#listMetricDescriptorsResponse",
298 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"cloudmonitoring#listMetricDescriptorsResponse\".",
299 "type": "string"
300 },
301 "metrics": {
302 "description": "The returned metric descriptors.",
303 "items": {
304 "$ref": "MetricDescriptor"
305 },
306 "type": "array"
307 },
308 "nextPageToken": {
309 "description": "Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, pass this value to the pageToken query parameter.",
310 "type": "string"
311 }
312 },
313 "type": "object"
314 },
315 "ListTimeseriesDescriptorsRequest": {
316 "description": "The request of cloudmonitoring.timeseriesDescriptors .list",
317 "id": "ListTimeseriesDescriptorsRequest",
318 "properties": {
319 "kind": {
320 "default": "cloudmonitoring#listTimeseriesDescriptorsRequest ",
321 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"cloudmonitoring#listTimeseriesDescriptorsRequest\".",
322 "type": "string"
323 }
324 },
325 "type": "object"
326 },
327 "ListTimeseriesDescriptorsResponse": {
328 "description": "The response of cloudmonitoring.timeseriesDescriptor s.list",
329 "id": "ListTimeseriesDescriptorsResponse",
330 "properties": {
331 "kind": {
332 "default": "cloudmonitoring#listTimeseriesDescriptorsRespons e",
333 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"cloudmonitoring#listTimeseriesDescriptorsResponse\".",
334 "type": "string"
335 },
336 "nextPageToken": {
337 "description": "Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set this value to the pageToken query parameter.",
338 "type": "string"
339 },
340 "oldest": {
341 "description": "The oldest timestamp of the interval of this query, as an RFC 3339 string.",
342 "format": "date-time",
343 "type": "string"
344 },
345 "timeseries": {
346 "description": "The returned time series descriptors.",
347 "items": {
348 "$ref": "TimeseriesDescriptor"
349 },
350 "type": "array"
351 },
352 "youngest": {
353 "description": "The youngest timestamp of the interval of th is query, as an RFC 3339 string.",
354 "format": "date-time",
355 "type": "string"
356 }
357 },
358 "type": "object"
359 },
360 "ListTimeseriesRequest": {
361 "description": "The request of cloudmonitoring.timeseries.list",
362 "id": "ListTimeseriesRequest",
363 "properties": {
364 "kind": {
365 "default": "cloudmonitoring#listTimeseriesRequest",
366 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"cloudmonitoring#listTimeseriesRequest\".",
367 "type": "string"
368 }
369 },
370 "type": "object"
371 },
372 "ListTimeseriesResponse": {
373 "description": "The response of cloudmonitoring.timeseries.list",
374 "id": "ListTimeseriesResponse",
375 "properties": {
376 "kind": {
377 "default": "cloudmonitoring#listTimeseriesResponse",
378 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"cloudmonitoring#listTimeseriesResponse\".",
379 "type": "string"
380 },
381 "nextPageToken": {
382 "description": "Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set the pageToken query parameter to this value. All of the po ints of a time series will be returned before returning any point of the subsequ ent time series.",
383 "type": "string"
384 },
385 "oldest": {
386 "description": "The oldest timestamp of the interval of this query as an RFC 3339 string.",
387 "format": "date-time",
388 "type": "string"
389 },
390 "timeseries": {
391 "description": "The returned time series.",
392 "items": {
393 "$ref": "Timeseries"
394 },
395 "type": "array"
396 },
397 "youngest": {
398 "description": "The youngest timestamp of the interval of th is query as an RFC 3339 string.",
399 "format": "date-time",
400 "type": "string"
401 }
402 },
403 "type": "object"
404 },
405 "MetricDescriptor": {
406 "description": "A metricDescriptor defines the name, label keys, and data type of a particular metric.",
407 "id": "MetricDescriptor",
408 "properties": {
409 "description": {
410 "description": "Description of this metric.",
411 "type": "string"
412 },
413 "labels": {
414 "description": "Labels defined for this metric.",
415 "items": {
416 "$ref": "MetricDescriptorLabelDescriptor"
417 },
418 "type": "array"
419 },
420 "name": {
421 "description": "The name of this metric.",
422 "type": "string"
423 },
424 "project": {
425 "description": "The project ID to which the metric belongs." ,
426 "type": "string"
427 },
428 "typeDescriptor": {
429 "$ref": "MetricDescriptorTypeDescriptor",
430 "description": "Type description for this metric."
431 }
432 },
433 "type": "object"
434 },
435 "MetricDescriptorLabelDescriptor": {
436 "description": "A label in a metric is a description of this metric, including the key of this description (what the description is), and the value for this description.",
437 "id": "MetricDescriptorLabelDescriptor",
438 "properties": {
439 "description": {
440 "description": "Label description.",
441 "type": "string"
442 },
443 "key": {
444 "description": "Label key.",
445 "type": "string"
446 }
447 },
448 "type": "object"
449 },
450 "MetricDescriptorTypeDescriptor": {
451 "description": "A type in a metric contains information about how th e metric is collected and what its data points look like.",
452 "id": "MetricDescriptorTypeDescriptor",
453 "properties": {
454 "metricType": {
455 "description": "The method of collecting data for the metric .",
456 "type": "string"
457 },
458 "valueType": {
459 "description": "The type of data that is written to a timese ries point for this metric.",
460 "type": "string"
461 }
462 },
463 "type": "object"
464 },
465 "Point": {
466 "description": "Point is a single point in a time series. It consist s of a start time, an end time, and a value.",
467 "id": "Point",
468 "properties": {
469 "boolValue": {
470 "description": "The value of this data point. Either \"true\ " or \"false\".",
471 "type": "boolean"
472 },
473 "distributionValue": {
474 "$ref": "PointDistribution",
475 "description": "The value of this data point as a distributi on. A distribution value can contain a list of buckets and/or an underflowBucket and an overflowBucket. The values of these points can be used to create a histo gram."
476 },
477 "doubleValue": {
478 "description": "The value of this data point as a double-pre cision floating-point number.",
479 "format": "double",
480 "type": "number"
481 },
482 "end": {
483 "description": "The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instant aneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3999 strings.",
484 "format": "date-time",
485 "type": "string"
486 },
487 "int64Value": {
488 "description": "The value of this data point as a 64-bit int eger.",
489 "format": "int64",
490 "type": "string"
491 },
492 "start": {
493 "description": "The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instant aneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3999 strings.",
494 "format": "date-time",
495 "type": "string"
496 },
497 "stringValue": {
498 "description": "The value of this data point in string forma t.",
499 "type": "string"
500 }
501 },
502 "type": "object"
503 },
504 "PointDistribution": {
505 "description": "Distribution data point value type. When writing dis tribution points, try to be consistent with the boundaries of your buckets. If y ou must modify the bucket boundaries, then do so by merging, partitioning, or ap pending rather than skewing them.",
506 "id": "PointDistribution",
507 "properties": {
508 "buckets": {
509 "description": "The finite buckets.",
510 "items": {
511 "$ref": "PointDistributionBucket"
512 },
513 "type": "array"
514 },
515 "overflowBucket": {
516 "$ref": "PointDistributionOverflowBucket",
517 "description": "The overflow bucket."
518 },
519 "underflowBucket": {
520 "$ref": "PointDistributionUnderflowBucket",
521 "description": "The underflow bucket."
522 }
523 },
524 "type": "object"
525 },
526 "PointDistributionBucket": {
527 "description": "The histogram's bucket. Buckets that form the histog ram of a distribution value. If the upper bound of a bucket, say U1, does not eq ual the lower bound of the next bucket, say L2, this means that there is no even t in [U1, L2).",
528 "id": "PointDistributionBucket",
529 "properties": {
530 "count": {
531 "description": "The number of events whose values are in the interval defined by this bucket.",
532 "format": "int64",
533 "type": "string"
534 },
535 "lowerBound": {
536 "description": "The lower bound of the value interval of thi s bucket (inclusive).",
537 "format": "double",
538 "type": "number"
539 },
540 "upperBound": {
541 "description": "The upper bound of the value interval of thi s bucket (exclusive).",
542 "format": "double",
543 "type": "number"
544 }
545 },
546 "type": "object"
547 },
548 "PointDistributionOverflowBucket": {
549 "description": "The overflow bucket is a special bucket that does no t have the upperBound field; it includes all of the events that are no less than its lower bound.",
550 "id": "PointDistributionOverflowBucket",
551 "properties": {
552 "count": {
553 "description": "The number of events whose values are in the interval defined by this bucket.",
554 "format": "int64",
555 "type": "string"
556 },
557 "lowerBound": {
558 "description": "The lower bound of the value interval of thi s bucket (inclusive).",
559 "format": "double",
560 "type": "number"
561 }
562 },
563 "type": "object"
564 },
565 "PointDistributionUnderflowBucket": {
566 "description": "The underflow bucket is a special bucket that does n ot have the lowerBound field; it includes all of the events that are less than i ts upper bound.",
567 "id": "PointDistributionUnderflowBucket",
568 "properties": {
569 "count": {
570 "description": "The number of events whose values are in the interval defined by this bucket.",
571 "format": "int64",
572 "type": "string"
573 },
574 "upperBound": {
575 "description": "The upper bound of the value interval of thi s bucket (exclusive).",
576 "format": "double",
577 "type": "number"
578 }
579 },
580 "type": "object"
581 },
582 "Timeseries": {
583 "description": "The monitoring data is organized as metrics and stor ed as data points that are recorded over time. Each data point represents inform ation like the CPU utilization of your virtual machine. A historical record of t hese data points is called a time series.",
584 "id": "Timeseries",
585 "properties": {
586 "points": {
587 "description": "The data points of this time series. The poi nts are listed in order of their end timestamp, from younger to older.",
588 "items": {
589 "$ref": "Point"
590 },
591 "type": "array"
592 },
593 "timeseriesDesc": {
594 "$ref": "TimeseriesDescriptor",
595 "description": "The descriptor of this time series."
596 }
597 },
598 "type": "object"
599 },
600 "TimeseriesDescriptor": {
601 "description": "TimeseriesDescriptor identifies a single time series .",
602 "id": "TimeseriesDescriptor",
603 "properties": {
604 "labels": {
605 "additionalProperties": {
606 "description": "The label's name.",
607 "type": "string"
608 },
609 "description": "The set of key-value pairs that describe thi s time series, including target-specific labels and metric-specific labels.",
610 "type": "object"
611 },
612 "metric": {
613 "description": "The name of the metric.",
614 "type": "string"
615 },
616 "project": {
617 "description": "The Developers Console project number to whi ch this time series belongs.",
618 "type": "string"
619 }
620 },
621 "type": "object"
622 }
623 },
624 "servicePath": "cloudmonitoring/v2beta1/projects/",
625 "title": "Cloud Monitoring API",
626 "version": "v2beta1"
627 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698