@@ -1,1517 +1,1628 @@
11{
2− "kind": "discovery#restDescription",
3− "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/xW_CLgXez5AZDCw5fhxCvxKwgIc\"",
4− "discoveryVersion": "v1",
5− "id": "monitoring:v3",
6− "name": "monitoring",
7− "version": "v3",
8− "revision": "20160425",
9− "title": "Google Monitoring API",
10− "description": "Manages your Stackdriver monitoring data and configurations. Projects must be associated with a Stackdriver account, except for the following methods: [monitoredResourceDescriptors.list](v3/projects.monitoredResourceDescriptors/list), [monitoredResourceDescriptors.get](v3/projects.monitoredResourceDescriptors/get), [metricDescriptors.list](v3/projects.metricDescriptors/list), [metricDescriptors.get](v3/projects.metricDescriptors/get), and [timeSeries.list](v3/projects.timeSeries/list).",
11− "ownerDomain": "google.com",
12− "ownerName": "Google",
13− "icons": {
14− "x16": "http://www.google.com/images/icons/product/search-16.gif",
15− "x32": "http://www.google.com/images/icons/product/search-32.gif"
16− },
17− "documentationLink": "https://cloud.google.com/monitoring/api/",
18− "protocol": "rest",
19− "baseUrl": "https://monitoring.googleapis.com/",
20− "basePath": "",
21− "rootUrl": "https://monitoring.googleapis.com/",
22− "servicePath": "",
23− "batchPath": "batch",
24− "version_module": true,
25− "parameters": {
26− "access_token": {
27− "type": "string",
28− "description": "OAuth access token.",
29− "location": "query"
30− },
31− "alt": {
32− "type": "string",
33− "description": "Data format for response.",
34− "default": "json",
35− "enumDescriptions": [
36− "Responses with Content-Type of application/json",
37− "Media download with context-dependent Content-Type",
38− "Responses with Content-Type of application/x-protobuf"
39− ],
40− "location": "query"
41− },
42− "bearer_token": {
43− "type": "string",
44− "description": "OAuth bearer token.",
45− "location": "query"
46− },
47− "callback": {
48− "type": "string",
49− "description": "JSONP",
50− "location": "query"
51− },
52− "fields": {
53− "type": "string",
54− "description": "Selector specifying which fields to include in a partial response.",
55− "location": "query"
56− },
57− "key": {
58− "type": "string",
59− "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
60− "location": "query"
61− },
62− "oauth_token": {
63− "type": "string",
64− "description": "OAuth 2.0 token for the current user.",
65− "location": "query"
66− },
67− "pp": {
68− "type": "boolean",
69− "description": "Pretty-print response.",
70− "default": "true",
71− "location": "query"
72− },
73− "prettyPrint": {
74− "type": "boolean",
75− "description": "Returns response with indentations and line breaks.",
76− "default": "true",
77− "location": "query"
78− },
79− "quotaUser": {
80− "type": "string",
81− "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
82− "location": "query"
83− },
84− "upload_protocol": {
85− "type": "string",
86− "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
87− "location": "query"
88− },
89− "uploadType": {
90− "type": "string",
91− "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
92− "location": "query"
93− },
94− "$.xgafv": {
95− "type": "string",
96− "description": "V1 error format.",
97− "enumDescriptions": [
98− "v1 error format",
99− "v2 error format"
100− ],
101− "location": "query"
102− }
103− },
104− "auth": {
105− "oauth2": {
106− "scopes": {
107− "https://www.googleapis.com/auth/cloud-platform": {
108− "description": "View and manage your data across Google Cloud Platform services"
109− },
110− "https://www.googleapis.com/auth/monitoring": {
111− "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects"
112− },
113− "https://www.googleapis.com/auth/monitoring.read": {
114− "description": "View monitoring data for all of your Google Cloud and third-party projects"
115− },
116− "https://www.googleapis.com/auth/monitoring.write": {
117− "description": "Publish metric data to your Google Cloud projects"
118− }
119− }
120− }
121− },
122− "schemas": {
123− "CreateCollectdTimeSeriesRequest": {
124− "id": "CreateCollectdTimeSeriesRequest",
125− "type": "object",
126− "description": "The `CreateCollectdTimeSeries` request.",
127− "properties": {
128− "resource": {
129− "$ref": "MonitoredResource",
130− "description": "The monitored resource associated with the time series."
131− },
132− "collectdVersion": {
133− "type": "string",
134− "description": "The version of `collectd` that collected the data. Example: `\"5.3.0-192.el6\"`."
135− },
136− "collectdPayloads": {
137− "type": "array",
138− "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`, `plugin_instance`, `type`, and `type_instance`.",
139− "items": {
140− "$ref": "CollectdPayload"
141− }
142− }
143− }
144− },
145− "MonitoredResource": {
146− "id": "MonitoredResource",
147− "type": "object",
148− "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The `type` field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the `labels` field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for `\"gce_instance\"` has labels `\"instance_id\"` and `\"zone\"`: { \"type\": \"gce_instance\", \"labels\": { \"instance_id\": \"my-instance\", \"zone\": \"us-central1-a\" }}",
149− "properties": {
150− "type": {
151− "type": "string",
152− "description": "Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is `\"cloudsql_database\"`."
153− },
154− "labels": {
155− "type": "object",
156− "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels `\"database_id\"` and `\"zone\"`.",
157− "additionalProperties": {
158− "type": "string"
159− }
160− }
161− }
162− },
163− "CollectdPayload": {
164− "id": "CollectdPayload",
165− "type": "object",
166− "description": "A collection of data points sent from a `collectd`-based plugin. See the `collectd` documentation for more information.",
167− "properties": {
168− "values": {
169− "type": "array",
170− "description": "The measured values during this time interval. Each value must have a different `dataSourceName`.",
171− "items": {
172− "$ref": "CollectdValue"
173− }
174− },
175− "startTime": {
176− "type": "string",
177− "description": "The start time of the interval."
178− },
179− "endTime": {
180− "type": "string",
181− "description": "The end time of the interval."
182− },
183− "plugin": {
184− "type": "string",
185− "description": "The name of the plugin. Example: `\"disk\"`."
186− },
187− "pluginInstance": {
188− "type": "string",
189− "description": "The instance name of the plugin Example: `\"hdcl\"`."
190− },
191− "type": {
192− "type": "string",
193− "description": "The measurement type. Example: `\"memory\"`."
194− },
195− "typeInstance": {
196− "type": "string",
197− "description": "The measurement type instance. Example: `\"used\"`."
198− },
199− "metadata": {
200− "type": "object",
201− "description": "The measurement metadata. Example: `\"process_id\" -\u003e 12345`",
202− "additionalProperties": {
203− "$ref": "TypedValue"
204− }
205− }
206− }
207− },
208− "CollectdValue": {
209− "id": "CollectdValue",
210− "type": "object",
211− "description": "A single data point from a `collectd`-based plugin.",
212− "properties": {
213− "dataSourceName": {
214− "type": "string",
215− "description": "The data source for the `collectd` value. For example there are two data sources for network measurements: `\"rx\"` and `\"tx\"`."
216− },
217− "dataSourceType": {
218− "type": "string",
219− "description": "The type of measurement.",
220− "enum": [
221− "UNSPECIFIED_DATA_SOURCE_TYPE",
222− "GAUGE",
223− "COUNTER",
224− "DERIVE",
225− "ABSOLUTE"
226− ]
227− },
228− "value": {
229− "$ref": "TypedValue",
230− "description": "The measurement value."
231− }
232− }
233− },
234− "TypedValue": {
235− "id": "TypedValue",
236− "type": "object",
237− "description": "A single strongly-typed value.",
238− "properties": {
239− "boolValue": {
240− "type": "boolean",
241− "description": "A Boolean value: `true` or `false`."
242− },
243− "int64Value": {
244− "type": "string",
245− "description": "A 64-bit integer. Its range is approximately ±9.2x1018.",
246− "format": "int64"
247− },
248− "doubleValue": {
249− "type": "number",
250− "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.",
251− "format": "double"
252− },
253− "stringValue": {
254− "type": "string",
255− "description": "A variable-length string value."
256− },
257− "distributionValue": {
258− "$ref": "Distribution",
259− "description": "A distribution value."
260− }
261− }
262− },
263− "Distribution": {
264− "id": "Distribution",
265− "type": "object",
266− "description": "Distribution contains summary statistics for a population of values and, optionally, a histogram representing the distribution of those values across a specified set of histogram buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by specifying parameters for a method of computing them (buckets of fixed width or buckets of exponentially increasing width). Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.",
267− "properties": {
268− "count": {
269− "type": "string",
270− "description": "The number of values in the population. Must be non-negative.",
271− "format": "int64"
272− },
273− "mean": {
274− "type": "number",
275− "description": "The arithmetic mean of the values in the population. If `count` is zero then this field must be zero.",
276− "format": "double"
277− },
278− "sumOfSquaredDeviation": {
279− "type": "number",
280− "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, \"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 zero then this field must be zero.",
281− "format": "double"
282− },
283− "range": {
284− "$ref": "Range",
285− "description": "If specified, contains the range of the population values. The field must not be present if the `count` is zero."
286− },
287− "bucketOptions": {
288− "$ref": "BucketOptions",
289− "description": "Defines the histogram bucket boundaries."
290− },
291− "bucketCounts": {
292− "type": "array",
293− "description": "If `bucket_options` is given, then the sum of the values in `bucket_counts` must equal the value in `count`. If `bucket_options` is not given, no `bucket_counts` fields may be given. Bucket counts are given in order under the numbering scheme described above (the underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; the overflow bucket has number N-1). The size of `bucket_counts` must be no greater than N as defined in `bucket_options`. Any suffix of trailing zero bucket_count fields may be omitted.",
294− "items": {
295− "type": "string",
296− "format": "int64"
297− }
298− }
299− }
300− },
301− "Range": {
302− "id": "Range",
303− "type": "object",
304− "description": "The range of the population values.",
305− "properties": {
306− "min": {
307− "type": "number",
308− "description": "The minimum of the population values.",
309− "format": "double"
310− },
311− "max": {
312− "type": "number",
313− "description": "The maximum of the population values.",
314− "format": "double"
315− }
316− }
317− },
318− "BucketOptions": {
319− "id": "BucketOptions",
320− "type": "object",
321− "description": "A Distribution may optionally contain a histogram of the values in the population. The histogram is given in `bucket_counts` as counts of values that fall into one of a sequence of non-overlapping buckets. The sequence of buckets is described by `bucket_options`. A bucket specifies an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket is strictly greater than the lower bound. The sequence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite. `BucketOptions` describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to generate boundaries and one gives the bucket boundaries explicitly. If `bucket_boundaries` is not given, then no `bucket_counts` may be given.",
322− "properties": {
323− "linearBuckets": {
324− "$ref": "Linear",
325− "description": "The linear bucket."
326− },
327− "exponentialBuckets": {
328− "$ref": "Exponential",
329− "description": "The exponential buckets."
330− },
331− "explicitBuckets": {
332− "$ref": "Explicit",
333− "description": "The explicit buckets."
334− }
335− }
336− },
337− "Linear": {
338− "id": "Linear",
339− "type": "object",
340− "description": "Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for bucket `i`: Upper bound (0 \u003c= i \u003c N-1): offset + (width * i). Lower bound (1 \u003c= i \u003c N): offset + (width * (i - 1)).",
341− "properties": {
342− "numFiniteBuckets": {
343− "type": "integer",
344− "description": "Must be greater than 0.",
345− "format": "int32"
346− },
347− "width": {
348− "type": "number",
349− "description": "Must be greater than 0.",
350− "format": "double"
351− },
352− "offset": {
353− "type": "number",
354− "description": "Lower bound of the first bucket.",
355− "format": "double"
356− }
357− }
358− },
359− "Exponential": {
360− "id": "Exponential",
361− "type": "object",
362− "description": "Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for bucket i: Upper bound (0 \u003c= i \u003c N-1): scale * (growth_factor ^ i). Lower bound (1 \u003c= i \u003c N): scale * (growth_factor ^ (i - 1)).",
363− "properties": {
364− "numFiniteBuckets": {
365− "type": "integer",
366− "description": "must be greater than 0",
367− "format": "int32"
368− },
369− "growthFactor": {
370− "type": "number",
371− "description": "Must be greater than 1",
372− "format": "double"
373− },
374− "scale": {
375− "type": "number",
376− "description": "Must be greater than 0",
377− "format": "double"
378− }
379− }
380− },
381− "Explicit": {
382− "id": "Explicit",
383− "type": "object",
384− "description": "A set of buckets with arbitrary widths. Defines `size(bounds) + 1` (= N) buckets with these boundaries for bucket i: Upper bound (0 \u003c= i \u003c N-1): bounds[i] Lower bound (1 \u003c= i \u003c N); bounds[i - 1] There must be at least one element in `bounds`. If `bounds` has only one element, there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
385− "properties": {
386− "bounds": {
387− "type": "array",
388− "description": "The values must be monotonically increasing.",
389− "items": {
390− "type": "number",
391− "format": "double"
392− }
393− }
394− }
395− },
396− "Empty": {
397− "id": "Empty",
398− "type": "object",
399− "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: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
400− },
401− "ListGroupsResponse": {
402− "id": "ListGroupsResponse",
403− "type": "object",
404− "description": "The `ListGroups` response.",
405− "properties": {
406− "group": {
407− "type": "array",
408− "description": "The groups that match the specified filters.",
409− "items": {
410− "$ref": "Group"
411− }
412− },
413− "nextPageToken": {
414− "type": "string",
415− "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `pageToken` in the next call to this method."
416− }
417− }
418− },
419− "Group": {
420− "id": "Group",
421− "type": "object",
422− "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 monitored 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 any number of groups. Groups can be nested in parent-child hierarchies. The `parentName` 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 filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group'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-defined tags: `\"environment\"` and `\"role\"`. A parent group has a filter, `environment=\"production\"`. A child of that parent group has a filter, `role=\"transcoder\"`. The parent group contains all instances in the production environment, regardless 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 filters are associated with the group and its ancestors.",
423− "properties": {
424− "name": {
425− "type": "string",
426− "description": "The name of this group. The format is `\"projects/{project_id_or_number}/groups/{group_id}\"`. When 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. @OutputOnly"
427− },
428− "displayName": {
429− "type": "string",
430− "description": "A user-assigned name for this group, used only for display purposes."
431− },
432− "parentName": {
433− "type": "string",
434− "description": "The name of the group's parent, if it has one. The format is `\"projects/{project_id_or_number}/groups/{group_id}\"`. For groups with no parent, `parentName` is the empty string, `\"\"`."
435− },
436− "filter": {
437− "type": "string",
438− "description": "The filter used to determine which monitored resources belong to this group."
439− },
440− "isCluster": {
441− "type": "boolean",
442− "description": "If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters."
443− }
444− }
445− },
446− "ListGroupMembersResponse": {
447− "id": "ListGroupMembersResponse",
448− "type": "object",
449− "description": "The `ListGroupMembers` response.",
450− "properties": {
451− "members": {
452− "type": "array",
453− "description": "A set of monitored resources in the group.",
454− "items": {
455− "$ref": "MonitoredResource"
456− }
457− },
458− "nextPageToken": {
459− "type": "string",
460− "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `pageToken` in the next call to this method."
461− },
462− "totalSize": {
463− "type": "integer",
464− "description": "The total number of elements matching this request.",
465− "format": "int32"
466− }
467− }
468− },
469− "ListMonitoredResourceDescriptorsResponse": {
470− "id": "ListMonitoredResourceDescriptorsResponse",
471− "type": "object",
472− "description": "The `ListMonitoredResourcDescriptors` response.",
473− "properties": {
474− "resourceDescriptors": {
475− "type": "array",
476− "description": "The monitored resource descriptors that are available to this project and that match `filter`, if present.",
477− "items": {
478− "$ref": "MonitoredResourceDescriptor"
479− }
480− },
481− "nextPageToken": {
482− "type": "string",
483− "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `pageToken` in the next call to this method."
484− }
485− }
486− },
487− "MonitoredResourceDescriptor": {
488− "id": "MonitoredResourceDescriptor",
489− "type": "object",
490− "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.",
491− "properties": {
492− "name": {
493− "type": "string",
494− "description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`."
495− },
496− "type": {
497− "type": "string",
498− "description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL."
499− },
500− "displayName": {
501− "type": "string",
502− "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. For example, `\"Google Cloud SQL Database\"`."
503− },
504− "description": {
505− "type": "string",
506− "description": "Optional. A detailed description of the monitored resource type that might be used in documentation."
507− },
508− "labels": {
509− "type": "array",
510− "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.",
511− "items": {
512− "$ref": "LabelDescriptor"
513− }
514− }
515− }
516− },
517− "LabelDescriptor": {
518− "id": "LabelDescriptor",
519− "type": "object",
520− "description": "A description of a label.",
521− "properties": {
522− "key": {
523− "type": "string",
524− "description": "The label key."
525− },
526− "valueType": {
527− "type": "string",
528− "description": "The type of data that can be assigned to the label.",
529− "enum": [
530− "STRING",
531− "BOOL",
532− "INT64"
533− ]
534− },
535− "description": {
536− "type": "string",
537− "description": "A human-readable description for the label."
538− }
539− }
540− },
541− "ListMetricDescriptorsResponse": {
542− "id": "ListMetricDescriptorsResponse",
543− "type": "object",
544− "description": "The `ListMetricDescriptors` response.",
545− "properties": {
546− "metricDescriptors": {
547− "type": "array",
548− "description": "The metric descriptors that are available to the project and that match the value of `filter`, if present.",
549− "items": {
550− "$ref": "MetricDescriptor"
551− }
552− },
553− "nextPageToken": {
554− "type": "string",
555− "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `pageToken` in the next call to this method."
556− }
557− }
558− },
559− "MetricDescriptor": {
560− "id": "MetricDescriptor",
561− "type": "object",
562− "description": "Defines a metric type and its schema.",
563− "properties": {
564− "name": {
565− "type": "string",
566− "description": "Resource name. The format of the name may vary between different implementations. For examples: projects/{project_id}/metricDescriptors/{type=**} metricDescriptors/{type=**}"
567− },
568− "type": {
569− "type": "string",
570− "description": "The metric type including a DNS name prefix, for example `\"compute.googleapis.com/instance/cpu/utilization\"`. Metric types should use a natural hierarchical grouping such as the following: compute.googleapis.com/instance/cpu/utilization compute.googleapis.com/instance/disk/read_ops_count compute.googleapis.com/instance/network/received_bytes_count Note that if the metric type changes, the monitoring data will be discontinued, and anything depends on it will break, such as monitoring dashboards, alerting rules and quota limits. Therefore, once a metric has been published, its type should be immutable."
571− },
572− "labels": {
573− "type": "array",
574− "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the `compute.googleapis.com/instance/network/received_bytes_count` metric type has a label, `loadbalanced`, that specifies whether the traffic was received through a load balanced IP address.",
575− "items": {
576− "$ref": "LabelDescriptor"
577− }
578− },
579− "metricKind": {
580− "type": "string",
581− "description": "Whether the metric records instantaneous values, changes to a value, etc.",
582− "enum": [
583− "METRIC_KIND_UNSPECIFIED",
584− "GAUGE",
585− "DELTA",
586− "CUMULATIVE"
587− ]
588− },
589− "valueType": {
590− "type": "string",
591− "description": "Whether the measurement is an integer, a floating-point number, etc.",
592− "enum": [
593− "VALUE_TYPE_UNSPECIFIED",
594− "BOOL",
595− "INT64",
596− "DOUBLE",
597− "STRING",
598− "DISTRIBUTION",
599− "MONEY"
600− ]
601− },
602− "unit": {
603− "type": "string",
604− "description": "The unit in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The supported units are a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day **Prefixes (PREFIX)** * `k` kilo (10**3) * `M` mega (10**6) * `G` giga (10**9) * `T` tera (10**12) * `P` peta (10**15) * `E` exa (10**18) * `Z` zetta (10**21) * `Y` yotta (10**24) * `m` milli (10**-3) * `u` micro (10**-6) * `n` nano (10**-9) * `p` pico (10**-12) * `f` femto (10**-15) * `a` atto (10**-18) * `z` zepto (10**-21) * `y` yocto (10**-24) * `Ki` kibi (2**10) * `Mi` mebi (2**20) * `Gi` gibi (2**30) * `Ti` tebi (2**40) **Grammar** The grammar includes the dimensionless unit `1`, such as `1/s`. The grammar also includes these connectors: * `/` division (as an infix operator, e.g. `1/s`). * `.` multiplication (as an infix operator, e.g. `GBy.d`) The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = [ PREFIX ] UNIT [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation` is just a comment if it follows a `UNIT` and is equivalent to `1` if it is used alone. For examples, `{requests}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing '{' or '}'."
605− },
606− "description": {
607− "type": "string",
608− "description": "A detailed description of the metric, which can be used in documentation."
609− },
610− "displayName": {
611− "type": "string",
612− "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\"."
613− }
614− }
615− },
616− "ListTimeSeriesResponse": {
617− "id": "ListTimeSeriesResponse",
618− "type": "object",
619− "description": "The `ListTimeSeries` response.",
620− "properties": {
621− "timeSeries": {
622− "type": "array",
623− "description": "One or more time series that match the filter included in the request.",
624− "items": {
625− "$ref": "TimeSeries"
626− }
627− },
628− "nextPageToken": {
629− "type": "string",
630− "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `pageToken` in the next call to this method."
631− }
632− }
633− },
634− "TimeSeries": {
635− "id": "TimeSeries",
636− "type": "object",
637− "description": "A collection of data points that describes the time-varying nature of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric.",
638− "properties": {
639− "metric": {
640− "$ref": "Metric",
641− "description": "The fully-specified metric used to identify the time series."
642− },
643− "resource": {
644− "$ref": "MonitoredResource",
645− "description": "The fully-specified monitored resource used to identify the time series."
646− },
647− "metricKind": {
648− "type": "string",
649− "description": "The metric kind of the time series. This can be different than the metric kind specified in [google.api.MetricDescriptor] because of alignment and reduction operations on the data. This field is ignored when writing data; the value specified in the descriptor is used instead. @OutputOnly",
650− "enum": [
651− "METRIC_KIND_UNSPECIFIED",
652− "GAUGE",
653− "DELTA",
654− "CUMULATIVE"
655− ]
656− },
657− "valueType": {
658− "type": "string",
659− "description": "The value type of the time series. This can be different than the value type specified in [google.api.MetricDescriptor] because of alignment and reduction operations on the data. This field is ignored when writing data; the value specified in the descriptor is used instead. @OutputOnly",
660− "enum": [
661− "VALUE_TYPE_UNSPECIFIED",
662− "BOOL",
663− "INT64",
664− "DOUBLE",
665− "STRING",
666− "DISTRIBUTION",
667− "MONEY"
668− ]
669− },
670− "points": {
671− "type": "array",
672− "description": "The data points of this time series. When used as output, points will be sorted by decreasing time order. When used as input, points could be written in any orders.",
673− "items": {
674− "$ref": "Point"
675− }
676− }
677− }
678− },
679− "Metric": {
680− "id": "Metric",
681− "type": "object",
682− "description": "A specific metric identified by specifying values for all of the labels of a `MetricDescriptor`.",
683− "properties": {
684− "type": {
685− "type": "string",
686− "description": "An existing metric type, see google.api.MetricDescriptor. For example, `compute.googleapis.com/instance/cpu/usage_time`."
687− },
688− "labels": {
689− "type": "object",
690− "description": "The set of labels that uniquely identify a metric. To specify a metric, all labels enumerated in the `MetricDescriptor` must be assigned values.",
691− "additionalProperties": {
692− "type": "string"
693− }
694− }
695− }
696− },
697− "Point": {
698− "id": "Point",
699− "type": "object",
700− "description": "A single data point in a time series.",
701− "properties": {
702− "interval": {
703− "$ref": "TimeInterval",
704− "description": "The time interval to which the value applies."
705− },
706− "value": {
707− "$ref": "TypedValue",
708− "description": "The value of the data point."
709− }
710− }
711− },
712− "TimeInterval": {
713− "id": "TimeInterval",
714− "type": "object",
715− "description": "A time interval extending from after `startTime` through `endTime`. If `startTime` is omitted, the interval is the single point in time, `endTime`.",
716− "properties": {
717− "endTime": {
718− "type": "string",
719− "description": "Required. The end of the interval. The interval includes this time."
720− },
721− "startTime": {
722− "type": "string",
723− "description": "If this value is omitted, the interval is a point in time, `endTime`. If `startTime` is present, it must be earlier than (less than) `endTime`. The interval begins after `startTime`—it does not include `startTime`."
724− }
725− }
726− },
727− "CreateTimeSeriesRequest": {
728− "id": "CreateTimeSeriesRequest",
729− "type": "object",
730− "description": "The `CreateTimeSeries` request.",
731− "properties": {
732− "timeSeries": {
733− "type": "array",
734− "description": "The new data to be added to a list of time series. 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 `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.",
735− "items": {
736− "$ref": "TimeSeries"
737− }
738− }
739− }
740− },
741− "Type": {
742− "id": "Type",
743− "type": "object",
744− "description": "A protocol buffer message type.",
745− "properties": {
746− "name": {
747− "type": "string",
748− "description": "The fully qualified message name."
749− },
750− "fields": {
751− "type": "array",
752− "description": "The list of fields.",
753− "items": {
754− "$ref": "Field"
755− }
756− },
757− "oneofs": {
758− "type": "array",
759− "description": "The list of types appearing in `oneof` definitions in this type.",
760− "items": {
761− "type": "string"
762− }
763− },
764− "options": {
765− "type": "array",
766− "description": "The protocol buffer options.",
767− "items": {
768− "$ref": "Option"
769− }
770− },
771− "sourceContext": {
772− "$ref": "SourceContext",
773− "description": "The source context."
774− },
775− "syntax": {
776− "type": "string",
777− "description": "The source syntax.",
778− "enum": [
779− "SYNTAX_PROTO2",
780− "SYNTAX_PROTO3"
781− ]
782− }
783− }
784− },
785− "Field": {
786− "id": "Field",
787− "type": "object",
788− "description": "A single field of a message type.",
789− "properties": {
790− "kind": {
791− "type": "string",
792− "description": "The field type.",
793− "enum": [
794− "TYPE_UNKNOWN",
795− "TYPE_DOUBLE",
796− "TYPE_FLOAT",
797− "TYPE_INT64",
798− "TYPE_UINT64",
799− "TYPE_INT32",
800− "TYPE_FIXED64",
801− "TYPE_FIXED32",
802− "TYPE_BOOL",
803− "TYPE_STRING",
804− "TYPE_GROUP",
805− "TYPE_MESSAGE",
806− "TYPE_BYTES",
807− "TYPE_UINT32",
808− "TYPE_ENUM",
809− "TYPE_SFIXED32",
810− "TYPE_SFIXED64",
811− "TYPE_SINT32",
812− "TYPE_SINT64"
813− ]
814− },
815− "cardinality": {
816− "type": "string",
817− "description": "The field cardinality.",
818− "enum": [
819− "CARDINALITY_UNKNOWN",
820− "CARDINALITY_OPTIONAL",
821− "CARDINALITY_REQUIRED",
822− "CARDINALITY_REPEATED"
823− ]
824− },
825− "number": {
826− "type": "integer",
827− "description": "The field number.",
828− "format": "int32"
829− },
830− "name": {
831− "type": "string",
832− "description": "The field name."
833− },
834− "typeUrl": {
835− "type": "string",
836− "description": "The field type URL, without the scheme, for message or enumeration types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`."
837− },
838− "oneofIndex": {
839− "type": "integer",
840− "description": "The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.",
841− "format": "int32"
842− },
843− "packed": {
844− "type": "boolean",
845− "description": "Whether to use alternative packed wire representation."
846− },
847− "options": {
848− "type": "array",
849− "description": "The protocol buffer options.",
850− "items": {
851− "$ref": "Option"
852− }
853− },
854− "jsonName": {
855− "type": "string",
856− "description": "The field JSON name."
857− },
858− "defaultValue": {
859− "type": "string",
860− "description": "The string value of the default value of this field. Proto2 syntax only."
2+ "id": "monitoring:v3",
3+ "auth": {
4+ "oauth2": {
5+ "scopes": {
6+ "https://www.googleapis.com/auth/cloud-platform": {
7+ "description": "View and manage your data across Google Cloud Platform services"
8+ },
9+ "https://www.googleapis.com/auth/monitoring.read": {
10+ "description": "View monitoring data for all of your Google Cloud and third-party projects"
11+ },
12+ "https://www.googleapis.com/auth/monitoring.write": {
13+ "description": "Publish metric data to your Google Cloud projects"
14+ },
15+ "https://www.googleapis.com/auth/monitoring": {
16+ "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects"
17+ }
18+ }
86119 }
862− }
86320 },
864− "Option": {
865− "id": "Option",
866− "type": "object",
867− "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
868− "properties": {
869− "name": {
870− "type": "string",
871− "description": "The option's name. For example, `\"java_package\"`."
872− },
873− "value": {
874− "type": "object",
875− "description": "The option's value. For example, `\"com.google.protobuf\"`.",
876− "additionalProperties": {
877− "type": "any",
878− "description": "Properties of the object. Contains field @ype with type URL."
879− }
21+ "description": "Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.",
22+ "protocol": "rest",
23+ "title": "Stackdriver Monitoring API",
24+ "resources": {
25+ "projects": {
26+ "resources": {
27+ "collectdTimeSeries": {
28+ "methods": {
29+ "create": {
30+ "id": "monitoring.projects.collectdTimeSeries.create",
31+ "response": {
32+ "$ref": "Empty"
33+ },
34+ "parameterOrder": [
35+ "name"
36+ ],
37+ "description": "Stackdriver Monitoring Agent only: Creates a new time series.\u003caside class=\"caution\"\u003eThis method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.\u003c/aside\u003e",
38+ "request": {
39+ "$ref": "CreateCollectdTimeSeriesRequest"
40+ },
41+ "flatPath": "v3/projects/{projectsId}/collectdTimeSeries",
42+ "httpMethod": "POST",
43+ "parameters": {
44+ "name": {
45+ "description": "The project in which to create the time series. The format is "projects/PROJECT_ID_OR_NUMBER".",
46+ "required": true,
47+ "pattern": "^projects/[^/]+$",
48+ "location": "path",
49+ "type": "string"
50+ }
51+ },
52+ "path": "v3/{+name}/collectdTimeSeries",
53+ "scopes": [
54+ "https://www.googleapis.com/auth/cloud-platform",
55+ "https://www.googleapis.com/auth/monitoring",
56+ "https://www.googleapis.com/auth/monitoring.write"
57+ ]
58+ }
59+ }
60+ },
61+ "groups": {
62+ "resources": {
63+ "members": {
64+ "methods": {
65+ "list": {
66+ "id": "monitoring.projects.groups.members.list",
67+ "response": {
68+ "$ref": "ListGroupMembersResponse"
69+ },
70+ "parameterOrder": [
71+ "name"
72+ ],
73+ "description": "Lists the monitored resources that are members of a group.",
74+ "flatPath": "v3/projects/{projectsId}/groups/{groupsId}/members",
75+ "httpMethod": "GET",
76+ "parameters": {
77+ "filter": {
78+ "description": "An optional list filter (/monitoring/api/learn_more#filtering) describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter:\nresource.type = "gce_instance"\n",
79+ "location": "query",
80+ "type": "string"
81+ },
82+ "interval.endTime": {
83+ "description": "Required. The end of the time interval.",
84+ "location": "query",
85+ "type": "string",
86+ "format": "google-datetime"
87+ },
88+ "interval.startTime": {
89+ "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.",
90+ "location": "query",
91+ "type": "string",
92+ "format": "google-datetime"
93+ },
94+ "pageSize": {
95+ "description": "A positive number that is the maximum number of results to return.",
96+ "location": "query",
97+ "type": "integer",
98+ "format": "int32"
99+ },
100+ "name": {
101+ "description": "The group whose members are listed. The format is "projects/{project_id_or_number}/groups/{group_id}".",
102+ "required": true,
103+ "pattern": "^projects/[^/]+/groups/[^/]+$",
104+ "location": "path",
105+ "type": "string"
106+ },
107+ "pageToken": {
108+ "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.",
109+ "location": "query",
110+ "type": "string"
111+ }
112+ },
113+ "path": "v3/{+name}/members",
114+ "scopes": [
115+ "https://www.googleapis.com/auth/cloud-platform",
116+ "https://www.googleapis.com/auth/monitoring",
117+ "https://www.googleapis.com/auth/monitoring.read"
118+ ]
119+ }
120+ }
121+ }
122+ },
123+ "methods": {
124+ "update": {
125+ "id": "monitoring.projects.groups.update",
126+ "response": {
127+ "$ref": "Group"
128+ },
129+ "parameterOrder": [
130+ "name"
131+ ],
132+ "description": "Updates an existing group. You can change any group attributes except name.",
133+ "request": {
134+ "$ref": "Group"
135+ },
136+ "flatPath": "v3/projects/{projectsId}/groups/{groupsId}",
137+ "httpMethod": "PUT",
138+ "parameters": {
139+ "validateOnly": {
140+ "description": "If true, validate this request but do not update the existing group.",
141+ "location": "query",
142+ "type": "boolean"
143+ },
144+ "name": {
145+ "description": "Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When 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.",
146+ "required": true,
147+ "pattern": "^projects/[^/]+/groups/[^/]+$",
148+ "location": "path",
149+ "type": "string"
150+ }
151+ },
152+ "path": "v3/{+name}",
153+ "scopes": [
154+ "https://www.googleapis.com/auth/cloud-platform",
155+ "https://www.googleapis.com/auth/monitoring"
156+ ]
157+ },
158+ "get": {
159+ "id": "monitoring.projects.groups.get",
160+ "response": {
161+ "$ref": "Group"
162+ },
163+ "parameterOrder": [
164+ "name"
165+ ],
166+ "description": "Gets a single group.",
167+ "flatPath": "v3/projects/{projectsId}/groups/{groupsId}",
168+ "httpMethod": "GET",
169+ "parameters": {
170+ "name": {
171+ "description": "The group to retrieve. The format is "projects/{project_id_or_number}/groups/{group_id}".",
172+ "required": true,
173+ "pattern": "^projects/[^/]+/groups/[^/]+$",
174+ "location": "path",
175+ "type": "string"
176+ }
177+ },
178+ "path": "v3/{+name}",
179+ "scopes": [
180+ "https://www.googleapis.com/auth/cloud-platform",
181+ "https://www.googleapis.com/auth/monitoring",
182+ "https://www.googleapis.com/auth/monitoring.read"
183+ ]
184+ },
185+ "create": {
186+ "id": "monitoring.projects.groups.create",
187+ "response": {
188+ "$ref": "Group"
189+ },
190+ "parameterOrder": [
191+ "name"
192+ ],
193+ "description": "Creates a new group.",
194+ "request": {
195+ "$ref": "Group"
196+ },
197+ "flatPath": "v3/projects/{projectsId}/groups",
198+ "httpMethod": "POST",
199+ "parameters": {
200+ "validateOnly": {
201+ "description": "If true, validate this request but do not create the group.",
202+ "location": "query",
203+ "type": "boolean"
204+ },
205+ "name": {
206+ "description": "The project in which to create the group. The format is "projects/{project_id_or_number}".",
207+ "required": true,
208+ "pattern": "^projects/[^/]+$",
209+ "location": "path",
210+ "type": "string"
211+ }
212+ },
213+ "path": "v3/{+name}/groups",
214+ "scopes": [
215+ "https://www.googleapis.com/auth/cloud-platform",
216+ "https://www.googleapis.com/auth/monitoring"
217+ ]
218+ },
219+ "list": {
220+ "id": "monitoring.projects.groups.list",
221+ "response": {
222+ "$ref": "ListGroupsResponse"
223+ },
224+ "parameterOrder": [
225+ "name"
226+ ],
227+ "description": "Lists the existing groups.",
228+ "flatPath": "v3/projects/{projectsId}/groups",
229+ "httpMethod": "GET",
230+ "parameters": {
231+ "descendantsOfGroup": {
232+ "description": "A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants of the specified group. This is a superset of the results returned by the childrenOfGroup filter, and includes children-of-children, and so forth.",
233+ "location": "query",
234+ "type": "string"
235+ },
236+ "pageSize": {
237+ "description": "A positive number that is the maximum number of results to return.",
238+ "location": "query",
239+ "type": "integer",
240+ "format": "int32"
241+ },
242+ "childrenOfGroup": {
243+ "description": "A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose parentName field contains the group name. If no groups have this parent, the results are empty.",
244+ "location": "query",
245+ "type": "string"
246+ },
247+ "name": {
248+ "description": "The project whose groups are to be listed. The format is "projects/{project_id_or_number}".",
249+ "required": true,
250+ "pattern": "^projects/[^/]+$",
251+ "location": "path",
252+ "type": "string"
253+ },
254+ "ancestorsOfGroup": {
255+ "description": "A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups that are ancestors of the 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.",
256+ "location": "query",
257+ "type": "string"
258+ },
259+ "pageToken": {
260+ "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.",
261+ "location": "query",
262+ "type": "string"
263+ }
264+ },
265+ "path": "v3/{+name}/groups",
266+ "scopes": [
267+ "https://www.googleapis.com/auth/cloud-platform",
268+ "https://www.googleapis.com/auth/monitoring",
269+ "https://www.googleapis.com/auth/monitoring.read"
270+ ]
271+ },
272+ "delete": {
273+ "id": "monitoring.projects.groups.delete",
274+ "response": {
275+ "$ref": "Empty"
276+ },
277+ "parameterOrder": [
278+ "name"
279+ ],
280+ "description": "Deletes an existing group.",
281+ "flatPath": "v3/projects/{projectsId}/groups/{groupsId}",
282+ "httpMethod": "DELETE",
283+ "parameters": {
284+ "name": {
285+ "description": "The group to delete. The format is "projects/{project_id_or_number}/groups/{group_id}".",
286+ "required": true,
287+ "pattern": "^projects/[^/]+/groups/[^/]+$",
288+ "location": "path",
289+ "type": "string"
290+ }
291+ },
292+ "path": "v3/{+name}",
293+ "scopes": [
294+ "https://www.googleapis.com/auth/cloud-platform",
295+ "https://www.googleapis.com/auth/monitoring"
296+ ]
297+ }
298+ }
299+ },
300+ "metricDescriptors": {
301+ "methods": {
302+ "get": {
303+ "id": "monitoring.projects.metricDescriptors.get",
304+ "response": {
305+ "$ref": "MetricDescriptor"
306+ },
307+ "parameterOrder": [
308+ "name"
309+ ],
310+ "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.",
311+ "flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}",
312+ "httpMethod": "GET",
313+ "parameters": {
314+ "name": {
315+ "description": "The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example value of {metric_id} is "compute.googleapis.com/instance/disk/read_bytes_count".",
316+ "required": true,
317+ "pattern": "^projects/[^/]+/metricDescriptors/.+$",
318+ "location": "path",
319+ "type": "string"
320+ }
321+ },
322+ "path": "v3/{+name}",
323+ "scopes": [
324+ "https://www.googleapis.com/auth/cloud-platform",
325+ "https://www.googleapis.com/auth/monitoring",
326+ "https://www.googleapis.com/auth/monitoring.read",
327+ "https://www.googleapis.com/auth/monitoring.write"
328+ ]
329+ },
330+ "create": {
331+ "id": "monitoring.projects.metricDescriptors.create",
332+ "response": {
333+ "$ref": "MetricDescriptor"
334+ },
335+ "parameterOrder": [
336+ "name"
337+ ],
338+ "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics (/monitoring/custom-metrics).",
339+ "request": {
340+ "$ref": "MetricDescriptor"
341+ },
342+ "flatPath": "v3/projects/{projectsId}/metricDescriptors",
343+ "httpMethod": "POST",
344+ "parameters": {
345+ "name": {
346+ "description": "The project on which to execute the request. The format is "projects/{project_id_or_number}".",
347+ "required": true,
348+ "pattern": "^projects/[^/]+$",
349+ "location": "path",
350+ "type": "string"
351+ }
352+ },
353+ "path": "v3/{+name}/metricDescriptors",
354+ "scopes": [
355+ "https://www.googleapis.com/auth/cloud-platform",
356+ "https://www.googleapis.com/auth/monitoring",
357+ "https://www.googleapis.com/auth/monitoring.write"
358+ ]
359+ },
360+ "list": {
361+ "id": "monitoring.projects.metricDescriptors.list",
362+ "response": {
363+ "$ref": "ListMetricDescriptorsResponse"
364+ },
365+ "parameterOrder": [
366+ "name"
367+ ],
368+ "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
369+ "flatPath": "v3/projects/{projectsId}/metricDescriptors",
370+ "httpMethod": "GET",
371+ "parameters": {
372+ "pageSize": {
373+ "description": "A positive number that is the maximum number of results to return.",
374+ "location": "query",
375+ "type": "integer",
376+ "format": "int32"
377+ },
378+ "filter": {
379+ "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter (/monitoring/api/v3/filters) specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics (/monitoring/custom-metrics):\nmetric.type = starts_with("custom.googleapis.com/")\n",
380+ "location": "query",
381+ "type": "string"
382+ },
383+ "name": {
384+ "description": "The project on which to execute the request. The format is "projects/{project_id_or_number}".",
385+ "required": true,
386+ "pattern": "^projects/[^/]+$",
387+ "location": "path",
388+ "type": "string"
389+ },
390+ "pageToken": {
391+ "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.",
392+ "location": "query",
393+ "type": "string"
394+ }
395+ },
396+ "path": "v3/{+name}/metricDescriptors",
397+ "scopes": [
398+ "https://www.googleapis.com/auth/cloud-platform",
399+ "https://www.googleapis.com/auth/monitoring",
400+ "https://www.googleapis.com/auth/monitoring.read",
401+ "https://www.googleapis.com/auth/monitoring.write"
402+ ]
403+ },
404+ "delete": {
405+ "id": "monitoring.projects.metricDescriptors.delete",
406+ "response": {
407+ "$ref": "Empty"
408+ },
409+ "parameterOrder": [
410+ "name"
411+ ],
412+ "description": "Deletes a metric descriptor. Only user-created custom metrics (/monitoring/custom-metrics) can be deleted.",
413+ "flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}",
414+ "httpMethod": "DELETE",
415+ "parameters": {
416+ "name": {
417+ "description": "The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example of {metric_id} is: "custom.googleapis.com/my_test_metric".",
418+ "required": true,
419+ "pattern": "^projects/[^/]+/metricDescriptors/.+$",
420+ "location": "path",
421+ "type": "string"
422+ }
423+ },
424+ "path": "v3/{+name}",
425+ "scopes": [
426+ "https://www.googleapis.com/auth/cloud-platform",
427+ "https://www.googleapis.com/auth/monitoring"
428+ ]
429+ }
430+ }
431+ },
432+ "timeSeries": {
433+ "methods": {
434+ "create": {
435+ "id": "monitoring.projects.timeSeries.create",
436+ "response": {
437+ "$ref": "Empty"
438+ },
439+ "parameterOrder": [
440+ "name"
441+ ],
442+ "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.",
443+ "request": {
444+ "$ref": "CreateTimeSeriesRequest"
445+ },
446+ "flatPath": "v3/projects/{projectsId}/timeSeries",
447+ "httpMethod": "POST",
448+ "parameters": {
449+ "name": {
450+ "description": "The project on which to execute the request. The format is "projects/{project_id_or_number}".",
451+ "required": true,
452+ "pattern": "^projects/[^/]+$",
453+ "location": "path",
454+ "type": "string"
455+ }
456+ },
457+ "path": "v3/{+name}/timeSeries",
458+ "scopes": [
459+ "https://www.googleapis.com/auth/cloud-platform",
460+ "https://www.googleapis.com/auth/monitoring",
461+ "https://www.googleapis.com/auth/monitoring.write"
462+ ]
463+ },
464+ "list": {
465+ "id": "monitoring.projects.timeSeries.list",
466+ "response": {
467+ "$ref": "ListTimeSeriesResponse"
468+ },
469+ "parameterOrder": [
470+ "name"
471+ ],
472+ "description": "Lists time series that match a filter. This method does not require a Stackdriver account.",
473+ "flatPath": "v3/projects/{projectsId}/timeSeries",
474+ "httpMethod": "GET",
475+ "parameters": {
476+ "filter": {
477+ "description": "A monitoring filter (/monitoring/api/v3/filters) that specifies which time series should be returned. The filter must specify a single metric 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",
478+ "location": "query",
479+ "type": "string"
480+ },
481+ "aggregation.groupByFields": {
482+ "description": "The set of fields to preserve 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 grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified, the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.",
483+ "repeated": true,
484+ "location": "query",
485+ "type": "string"
486+ },
487+ "aggregation.crossSeriesReducer": {
488+ "description": "The approach to be used to combine 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. Reduction 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 crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.",
489+ "enum": [
490+ "REDUCE_NONE",
491+ "REDUCE_MEAN",
492+ "REDUCE_MIN",
493+ "REDUCE_MAX",
494+ "REDUCE_SUM",
495+ "REDUCE_STDDEV",
496+ "REDUCE_COUNT",
497+ "REDUCE_COUNT_TRUE",
498+ "REDUCE_FRACTION_TRUE",
499+ "REDUCE_PERCENTILE_99",
500+ "REDUCE_PERCENTILE_95",
501+ "REDUCE_PERCENTILE_50",
502+ "REDUCE_PERCENTILE_05"
503+ ],
504+ "location": "query",
505+ "type": "string"
506+ },
507+ "interval.endTime": {
508+ "description": "Required. The end of the time interval.",
509+ "location": "query",
510+ "type": "string",
511+ "format": "google-datetime"
512+ },
513+ "interval.startTime": {
514+ "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.",
515+ "location": "query",
516+ "type": "string",
517+ "format": "google-datetime"
518+ },
519+ "pageSize": {
520+ "description": "A positive number that is the maximum number of results to return. When view field sets to FULL, it limits the number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.",
521+ "location": "query",
522+ "type": "integer",
523+ "format": "int32"
524+ },
525+ "view": {
526+ "description": "Specifies which information is returned about the time series.",
527+ "enum": [
528+ "FULL",
529+ "HEADERS"
530+ ],
531+ "location": "query",
532+ "type": "string"
533+ },
534+ "name": {
535+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
536+ "required": true,
537+ "pattern": "^projects/[^/]+$",
538+ "location": "path",
539+ "type": "string"
540+ },
541+ "aggregation.alignmentPeriod": {
542+ "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 returned.",
543+ "location": "query",
544+ "type": "string",
545+ "format": "google-duration"
546+ },
547+ "aggregation.perSeriesAligner": {
548+ "description": "The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time 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.",
549+ "enum": [
550+ "ALIGN_NONE",
551+ "ALIGN_DELTA",
552+ "ALIGN_RATE",
553+ "ALIGN_INTERPOLATE",
554+ "ALIGN_NEXT_OLDER",
555+ "ALIGN_MIN",
556+ "ALIGN_MAX",
557+ "ALIGN_MEAN",
558+ "ALIGN_COUNT",
559+ "ALIGN_SUM",
560+ "ALIGN_STDDEV",
561+ "ALIGN_COUNT_TRUE",
562+ "ALIGN_FRACTION_TRUE",
563+ "ALIGN_PERCENTILE_99",
564+ "ALIGN_PERCENTILE_95",
565+ "ALIGN_PERCENTILE_50",
566+ "ALIGN_PERCENTILE_05"
567+ ],
568+ "location": "query",
569+ "type": "string"
570+ },
571+ "orderBy": {
572+ "description": "Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.",
573+ "location": "query",
574+ "type": "string"
575+ },
576+ "pageToken": {
577+ "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.",
578+ "location": "query",
579+ "type": "string"
580+ }
581+ },
582+ "path": "v3/{+name}/timeSeries",
583+ "scopes": [
584+ "https://www.googleapis.com/auth/cloud-platform",
585+ "https://www.googleapis.com/auth/monitoring",
586+ "https://www.googleapis.com/auth/monitoring.read"
587+ ]
588+ }
589+ }
590+ },
591+ "monitoredResourceDescriptors": {
592+ "methods": {
593+ "get": {
594+ "id": "monitoring.projects.monitoredResourceDescriptors.get",
595+ "response": {
596+ "$ref": "MonitoredResourceDescriptor"
597+ },
598+ "parameterOrder": [
599+ "name"
600+ ],
601+ "description": "Gets a single monitored resource descriptor. This method does not require a Stackdriver account.",
602+ "flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors/{monitoredResourceDescriptorsId}",
603+ "httpMethod": "GET",
604+ "parameters": {
605+ "name": {
606+ "description": "The monitored resource descriptor to get. The format is "projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}". The {resource_type} is a predefined type, such as cloudsql_database.",
607+ "required": true,
608+ "pattern": "^projects/[^/]+/monitoredResourceDescriptors/[^/]+$",
609+ "location": "path",
610+ "type": "string"
611+ }
612+ },
613+ "path": "v3/{+name}",
614+ "scopes": [
615+ "https://www.googleapis.com/auth/cloud-platform",
616+ "https://www.googleapis.com/auth/monitoring",
617+ "https://www.googleapis.com/auth/monitoring.read",
618+ "https://www.googleapis.com/auth/monitoring.write"
619+ ]
620+ },
621+ "list": {
622+ "id": "monitoring.projects.monitoredResourceDescriptors.list",
623+ "response": {
624+ "$ref": "ListMonitoredResourceDescriptorsResponse"
625+ },
626+ "parameterOrder": [
627+ "name"
628+ ],
629+ "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.",
630+ "flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors",
631+ "httpMethod": "GET",
632+ "parameters": {
633+ "pageSize": {
634+ "description": "A positive number that is the maximum number of results to return.",
635+ "location": "query",
636+ "type": "integer",
637+ "format": "int32"
638+ },
639+ "filter": {
640+ "description": "An optional filter (/monitoring/api/v3/filters) describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label:\nresource.type = starts_with("gce_") AND resource.label:id\n",
641+ "location": "query",
642+ "type": "string"
643+ },
644+ "name": {
645+ "description": "The project on which to execute the request. The format is "projects/{project_id_or_number}".",
646+ "required": true,
647+ "pattern": "^projects/[^/]+$",
648+ "location": "path",
649+ "type": "string"
650+ },
651+ "pageToken": {
652+ "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.",
653+ "location": "query",
654+ "type": "string"
655+ }
656+ },
657+ "path": "v3/{+name}/monitoredResourceDescriptors",
658+ "scopes": [
659+ "https://www.googleapis.com/auth/cloud-platform",
660+ "https://www.googleapis.com/auth/monitoring",
661+ "https://www.googleapis.com/auth/monitoring.read",
662+ "https://www.googleapis.com/auth/monitoring.write"
663+ ]
664+ }
665+ }
666+ }
667+ }
880668 }
881− }
882669 },
883− "SourceContext": {
884− "id": "SourceContext",
885− "type": "object",
886− "description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.",
887− "properties": {
888− "fileName": {
889− "type": "string",
890− "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: `\"google/protobuf/source.proto\"`."
891− }
892− }
893− }
894− },
895− "resources": {
896− "projects": {
897− "resources": {
898− "collectdTimeSeries": {
899− "methods": {
900− "create": {
901− "id": "monitoring.projects.collectdTimeSeries.create",
902− "path": "v3/{+name}/collectdTimeSeries",
903− "httpMethod": "POST",
904− "description": "Creates a new time series with the given data points. This method is only for use in `collectd`-related code, including the Google Monitoring Agent. See [google.monitoring.v3.MetricService.CreateTimeSeries] instead.",
905− "parameters": {
906− "name": {
907− "type": "string",
908− "description": "The project in which to create the time series. The format is `\"projects/PROJECT_ID_OR_NUMBER\"`.",
909− "required": true,
910− "pattern": "^projects/[^/]*$",
911− "location": "path"
670+ "schemas": {
671+ "Metric": {
672+ "description": "A specific metric identified by specifying values for all of the labels of a MetricDescriptor.",
673+ "type": "object",
674+ "properties": {
675+ "labels": {
676+ "description": "The set of labels that uniquely identify a metric. To specify a metric, all labels enumerated in the MetricDescriptor must be assigned values.",
677+ "additionalProperties": {
678+ "type": "string"
679+ },
680+ "type": "object"
681+ },
682+ "type": {
683+ "description": "An existing metric type, see google.api.MetricDescriptor. For example, compute.googleapis.com/instance/cpu/usage_time.",
684+ "type": "string"
912685 }
913− },
914− "parameterOrder": [
915− "name"
916− ],
917− "request": {
918− "$ref": "CreateCollectdTimeSeriesRequest"
919− },
920− "response": {
921− "$ref": "Empty"
922− },
923− "scopes": [
924− "https://www.googleapis.com/auth/cloud-platform",
925− "https://www.googleapis.com/auth/monitoring",
926− "https://www.googleapis.com/auth/monitoring.write"
927− ]
928− }
929− }
930− },
931− "groups": {
932− "methods": {
933− "list": {
934− "id": "monitoring.projects.groups.list",
935− "path": "v3/{+name}/groups",
936− "httpMethod": "GET",
937− "description": "Lists the existing groups.",
938− "parameters": {
939− "name": {
940− "type": "string",
941− "description": "The project whose groups are to be listed. The format is `\"projects/{project_id_or_number}\"`.",
942− "required": true,
943− "pattern": "^projects/[^/]*$",
944− "location": "path"
945− },
946− "childrenOfGroup": {
947− "type": "string",
948− "description": "A group name: `\"projects/{project_id_or_number}/groups/{group_id}\"`. Returns groups whose `parentName` field contains the group name. If no groups have this parent, the results are empty.",
949− "location": "query"
950− },
951− "ancestorsOfGroup": {
952− "type": "string",
953− "description": "A group name: `\"projects/{project_id_or_number}/groups/{group_id}\"`. Returns groups that are ancestors of the 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.",
954− "location": "query"
955− },
956− "descendantsOfGroup": {
957− "type": "string",
958− "description": "A group name: `\"projects/{project_id_or_number}/groups/{group_id}\"`. Returns the descendants of the specified group. This is a superset of the results returned by the `childrenOfGroup` filter, and includes children-of-children, and so forth.",
959− "location": "query"
960− },
961− "pageSize": {
962− "type": "integer",
963− "description": "A positive number that is the maximum number of results to return.",
964− "format": "int32",
965− "location": "query"
966− },
967− "pageToken": {
968− "type": "string",
969− "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.",
970− "location": "query"
686+ },
687+ "id": "Metric"
688+ },
689+ "ListGroupMembersResponse": {
690+ "description": "The ListGroupMembers response.",
691+ "type": "object",
692+ "properties": {
693+ "members": {
694+ "description": "A set of monitored resources in the group.",
695+ "type": "array",
696+ "items": {
697+ "$ref": "MonitoredResource"
698+ }
699+ },
700+ "nextPageToken": {
701+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
702+ "type": "string"
703+ },
704+ "totalSize": {
705+ "description": "The total number of elements matching this request.",
706+ "type": "integer",
707+ "format": "int32"
971708 }
972− },
973− "parameterOrder": [
974− "name"
975− ],
976− "response": {
977− "$ref": "ListGroupsResponse"
978− },
979− "scopes": [
980− "https://www.googleapis.com/auth/cloud-platform",
981− "https://www.googleapis.com/auth/monitoring",
982− "https://www.googleapis.com/auth/monitoring.read"
983− ]
984709 },
985− "get": {
986− "id": "monitoring.projects.groups.get",
987− "path": "v3/{+name}",
988− "httpMethod": "GET",
989− "description": "Gets a single group.",
990− "parameters": {
991− "name": {
992− "type": "string",
993− "description": "The group to retrieve. The format is `\"projects/{project_id_or_number}/groups/{group_id}\"`.",
994− "required": true,
995− "pattern": "^projects/[^/]*/groups/[^/]*$",
996− "location": "path"
710+ "id": "ListGroupMembersResponse"
711+ },
712+ "TimeInterval": {
713+ "description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.",
714+ "type": "object",
715+ "properties": {
716+ "endTime": {
717+ "description": "Required. The end of the time interval.",
718+ "type": "string",
719+ "format": "google-datetime"
720+ },
721+ "startTime": {
722+ "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.",
723+ "type": "string",
724+ "format": "google-datetime"
997725 }
998− },
999− "parameterOrder": [
1000− "name"
1001− ],
1002− "response": {
1003− "$ref": "Group"
1004− },
1005− "scopes": [
1006− "https://www.googleapis.com/auth/cloud-platform",
1007− "https://www.googleapis.com/auth/monitoring",
1008− "https://www.googleapis.com/auth/monitoring.read"
1009− ]
1010726 },
1011− "create": {
1012− "id": "monitoring.projects.groups.create",
1013− "path": "v3/{+name}/groups",
1014− "httpMethod": "POST",
1015− "description": "Creates a new group.",
1016− "parameters": {
727+ "id": "TimeInterval"
728+ },
729+ "Group": {
730+ "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 monitored 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 any number of groups.Groups can be nested in parent-child hierarchies. The parentName 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 filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group'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-defined tags: "environment" and "role". A parent group has a filter, environment="production". A child of that parent group has a filter, role="transcoder". The parent group contains all instances in the production environment, regardless 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 filters are associated with the group and its ancestors.",
731+ "type": "object",
732+ "properties": {
733+ "displayName": {
734+ "description": "A user-assigned name for this group, used only for display purposes.",
735+ "type": "string"
736+ },
737+ "parentName": {
738+ "description": "The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, "".",
739+ "type": "string"
740+ },
741+ "isCluster": {
742+ "description": "If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.",
743+ "type": "boolean"
744+ },
745+ "filter": {
746+ "description": "The filter used to determine which monitored resources belong to this group.",
747+ "type": "string"
748+ },
1017749 "name": {
1018− "type": "string",
1019− "description": "The project in which to create the group. The format is `\"projects/{project_id_or_number}\"`.",
1020− "required": true,
1021− "pattern": "^projects/[^/]*$",
1022− "location": "path"
1023− },
1024− "validateOnly": {
1025− "type": "boolean",
1026− "description": "If true, validate this request but do not create the group.",
1027− "location": "query"
750+ "description": "Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When 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.",
751+ "type": "string"
1028752 }
1029− },
1030− "parameterOrder": [
1031− "name"
1032− ],
1033− "request": {
1034− "$ref": "Group"
1035− },
1036− "response": {
1037− "$ref": "Group"
1038− },
1039− "scopes": [
1040− "https://www.googleapis.com/auth/cloud-platform",
1041− "https://www.googleapis.com/auth/monitoring"
1042− ]
1043753 },
1044− "update": {
1045− "id": "monitoring.projects.groups.update",
1046− "path": "v3/{+name}",
1047− "httpMethod": "PUT",
1048− "description": "Updates an existing group. You can change any group attributes except `name`.",
1049− "parameters": {
1050− "name": {
1051− "type": "string",
1052− "description": "The name of this group. The format is `\"projects/{project_id_or_number}/groups/{group_id}\"`. When 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. @OutputOnly",
1053− "required": true,
1054− "pattern": "^projects/[^/]*/groups/[^/]*$",
1055− "location": "path"
1056− },
1057− "validateOnly": {
1058− "type": "boolean",
1059− "description": "If true, validate this request but do not update the existing group.",
1060− "location": "query"
754+ "id": "Group"
755+ },
756+ "ListTimeSeriesResponse": {
757+ "description": "The ListTimeSeries response.",
758+ "type": "object",
759+ "properties": {
760+ "timeSeries": {
761+ "description": "One or more time series that match the filter included in the request.",
762+ "type": "array",
763+ "items": {
764+ "$ref": "TimeSeries"
765+ }
766+ },
767+ "nextPageToken": {
768+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
769+ "type": "string"
770+ }
771+ },
772+ "id": "ListTimeSeriesResponse"
773+ },
774+ "Point": {
775+ "description": "A single data point in a time series.",
776+ "type": "object",
777+ "properties": {
778+ "value": {
779+ "description": "The value of the data point.",
780+ "$ref": "TypedValue"
781+ },
782+ "interval": {
783+ "description": "The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent 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.",
784+ "$ref": "TimeInterval"
1061785 }
1062− },
1063− "parameterOrder": [
1064− "name"
1065− ],
1066− "request": {
1067− "$ref": "Group"
1068− },
1069− "response": {
1070− "$ref": "Group"
1071− },
1072− "scopes": [
1073− "https://www.googleapis.com/auth/cloud-platform",
1074− "https://www.googleapis.com/auth/monitoring"
1075− ]
1076786 },
1077− "delete": {
1078− "id": "monitoring.projects.groups.delete",
1079− "path": "v3/{+name}",
1080− "httpMethod": "DELETE",
1081− "description": "Deletes an existing group.",
1082− "parameters": {
787+ "id": "Point"
788+ },
789+ "CollectdValue": {
790+ "description": "A single data point from a collectd-based plugin.",
791+ "type": "object",
792+ "properties": {
793+ "value": {
794+ "description": "The measurement value.",
795+ "$ref": "TypedValue"
796+ },
797+ "dataSourceName": {
798+ "description": "The data source for the collectd value. For example there are two data sources for network measurements: "rx" and "tx".",
799+ "type": "string"
800+ },
801+ "dataSourceType": {
802+ "description": "The type of measurement.",
803+ "enum": [
804+ "UNSPECIFIED_DATA_SOURCE_TYPE",
805+ "GAUGE",
806+ "COUNTER",
807+ "DERIVE",
808+ "ABSOLUTE"
809+ ],
810+ "enumDescriptions": [
811+ "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
812+ "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
813+ "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.",
814+ "A rate of change of the measurement.",
815+ "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
816+ ],
817+ "type": "string"
818+ }
819+ },
820+ "id": "CollectdValue"
821+ },
822+ "TimeSeries": {
823+ "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 fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.",
824+ "type": "object",
825+ "properties": {
826+ "metric": {
827+ "description": "The associated metric. A fully-specified metric used to identify the time series.",
828+ "$ref": "Metric"
829+ },
830+ "points": {
831+ "description": "The data points of this time series. When listing 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 associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.",
832+ "type": "array",
833+ "items": {
834+ "$ref": "Point"
835+ }
836+ },
837+ "valueType": {
838+ "description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated 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.",
839+ "enum": [
840+ "VALUE_TYPE_UNSPECIFIED",
841+ "BOOL",
842+ "INT64",
843+ "DOUBLE",
844+ "STRING",
845+ "DISTRIBUTION",
846+ "MONEY"
847+ ],
848+ "enumDescriptions": [
849+ "Do not use this default value.",
850+ "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
851+ "The value is a signed 64-bit integer.",
852+ "The value is a double precision floating point number.",
853+ "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
854+ "The value is a Distribution.",
855+ "The value is money."
856+ ],
857+ "type": "string"
858+ },
859+ "resource": {
860+ "description": "The associated resource. A fully-specified monitored resource used to identify the time series.",
861+ "$ref": "MonitoredResource"
862+ },
863+ "metricKind": {
864+ "description": "The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated 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 metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.",
865+ "enum": [
866+ "METRIC_KIND_UNSPECIFIED",
867+ "GAUGE",
868+ "DELTA",
869+ "CUMULATIVE"
870+ ],
871+ "enumDescriptions": [
872+ "Do not use this default value.",
873+ "An instantaneous measurement of a value.",
874+ "The change in a value during a time interval.",
875+ "A value accumulated over a time interval. Cumulative measurements in a time series should have 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."
876+ ],
877+ "type": "string"
878+ }
879+ },
880+ "id": "TimeSeries"
881+ },
882+ "MetricDescriptor": {
883+ "description": "Defines a metric type and its schema.",
884+ "type": "object",
885+ "properties": {
886+ "description": {
887+ "description": "A detailed description of the metric, which can be used in documentation.",
888+ "type": "string"
889+ },
890+ "unit": {
891+ "description": "The unit in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The 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 (10**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)GrammarThe 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. multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follows:\nExpression = Component { "." Component } { "/" Component } ;\n\nComponent = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | "1"\n ;\n\nAnnotation = "{" NAME "}" ;\nNotes:\nAnnotation is just a comment if it follows a UNIT and is equivalent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non-blank printable ASCII characters not containing '{' or '}'.",
892+ "type": "string"
893+ },
894+ "labels": {
895+ "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the compute.googleapis.com/instance/network/received_bytes_count metric type has a label, loadbalanced, that specifies whether the traffic was received through a load balanced IP address.",
896+ "type": "array",
897+ "items": {
898+ "$ref": "LabelDescriptor"
899+ }
900+ },
901+ "metricKind": {
902+ "description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.",
903+ "enum": [
904+ "METRIC_KIND_UNSPECIFIED",
905+ "GAUGE",
906+ "DELTA",
907+ "CUMULATIVE"
908+ ],
909+ "enumDescriptions": [
910+ "Do not use this default value.",
911+ "An instantaneous measurement of a value.",
912+ "The change in a value during a time interval.",
913+ "A value accumulated over a time interval. Cumulative measurements in a time series should have 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."
914+ ],
915+ "type": "string"
916+ },
917+ "valueType": {
918+ "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.",
919+ "enum": [
920+ "VALUE_TYPE_UNSPECIFIED",
921+ "BOOL",
922+ "INT64",
923+ "DOUBLE",
924+ "STRING",
925+ "DISTRIBUTION",
926+ "MONEY"
927+ ],
928+ "enumDescriptions": [
929+ "Do not use this default value.",
930+ "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
931+ "The value is a signed 64-bit integer.",
932+ "The value is a double precision floating point number.",
933+ "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
934+ "The value is a Distribution.",
935+ "The value is money."
936+ ],
937+ "type": "string"
938+ },
939+ "displayName": {
940+ "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\".",
941+ "type": "string"
942+ },
1083943 "name": {
1084− "type": "string",
1085− "description": "The group to delete. The format is `\"projects/{project_id_or_number}/groups/{group_id}\"`.",
1086− "required": true,
1087− "pattern": "^projects/[^/]*/groups/[^/]*$",
1088− "location": "path"
944+ "description": "Resource name. The format of the name may vary between different implementations. For examples:\nprojects/{project_id}/metricDescriptors/{type=**}\nmetricDescriptors/{type=**}\n",
945+ "type": "string"
946+ },
947+ "type": {
948+ "description": "The metric type including a DNS name prefix, for example "compute.googleapis.com/instance/cpu/utilization". Metric types should use a natural hierarchical grouping such as the following:\ncompute.googleapis.com/instance/cpu/utilization\ncompute.googleapis.com/instance/disk/read_ops_count\ncompute.googleapis.com/instance/network/received_bytes_count\nNote that if the metric type changes, the monitoring data will be discontinued, and anything depends on it will break, such as monitoring dashboards, alerting rules and quota limits. Therefore, once a metric has been published, its type should be immutable.",
949+ "type": "string"
1089950 }
1090− },
1091− "parameterOrder": [
1092− "name"
1093− ],
1094− "response": {
1095− "$ref": "Empty"
1096− },
1097− "scopes": [
1098− "https://www.googleapis.com/auth/cloud-platform",
1099− "https://www.googleapis.com/auth/monitoring"
1100− ]
1101− }
1102− },
1103− "resources": {
1104− "members": {
1105− "methods": {
1106− "list": {
1107− "id": "monitoring.projects.groups.members.list",
1108− "path": "v3/{+name}/members",
1109− "httpMethod": "GET",
1110− "description": "Lists the monitored resources that are members of a group.",
1111− "parameters": {
1112− "name": {
1113− "type": "string",
1114− "description": "The group whose members are listed. The format is `\"projects/{project_id_or_number}/groups/{group_id}\"`.",
1115− "required": true,
1116− "pattern": "^projects/[^/]*/groups/[^/]*$",
1117− "location": "path"
1118− },
1119− "pageSize": {
1120− "type": "integer",
1121− "description": "A positive number that is the maximum number of results to return.",
1122− "format": "int32",
1123− "location": "query"
1124− },
1125− "pageToken": {
1126− "type": "string",
1127− "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.",
1128− "location": "query"
1129− },
1130− "filter": {
1131− "type": "string",
1132− "description": "An optional [list filter](/monitoring/api/learn_more#filtering) describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter: resource.type = \"gce_instance\"",
1133− "location": "query"
1134− },
1135− "interval.endTime": {
1136− "type": "string",
1137− "description": "Required. The end of the interval. The interval includes this time.",
1138− "location": "query"
951+ },
952+ "id": "MetricDescriptor"
953+ },
954+ "Exponential": {
955+ "description": "Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).",
956+ "type": "object",
957+ "properties": {
958+ "growthFactor": {
959+ "description": "Must be greater than 1.",
960+ "type": "number",
961+ "format": "double"
962+ },
963+ "scale": {
964+ "description": "Must be greater than 0.",
965+ "type": "number",
966+ "format": "double"
967+ },
968+ "numFiniteBuckets": {
969+ "description": "Must be greater than 0.",
970+ "type": "integer",
971+ "format": "int32"
972+ }
973+ },
974+ "id": "Exponential"
975+ },
976+ "Explicit": {
977+ "description": "A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1There must be at least one element in bounds. If bounds has only one element, there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
978+ "type": "object",
979+ "properties": {
980+ "bounds": {
981+ "description": "The values must be monotonically increasing.",
982+ "type": "array",
983+ "items": {
984+ "type": "number",
985+ "format": "double"
986+ }
987+ }
988+ },
989+ "id": "Explicit"
990+ },
991+ "Linear": {
992+ "description": "Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
993+ "type": "object",
994+ "properties": {
995+ "width": {
996+ "description": "Must be greater than 0.",
997+ "type": "number",
998+ "format": "double"
999+ },
1000+ "offset": {
1001+ "description": "Lower bound of the first bucket.",
1002+ "type": "number",
1003+ "format": "double"
1004+ },
1005+ "numFiniteBuckets": {
1006+ "description": "Must be greater than 0.",
1007+ "type": "integer",
1008+ "format": "int32"
1009+ }
1010+ },
1011+ "id": "Linear"
1012+ },
1013+ "CollectdPayload": {
1014+ "description": "A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.",
1015+ "type": "object",
1016+ "properties": {
1017+ "endTime": {
1018+ "description": "The end time of the interval.",
1019+ "type": "string",
1020+ "format": "google-datetime"
1021+ },
1022+ "metadata": {
1023+ "description": "The measurement metadata. Example: "process_id" -> 12345",
1024+ "additionalProperties": {
1025+ "$ref": "TypedValue"
11391026 },
1140− "interval.startTime": {
1141− "type": "string",
1142− "description": "If this value is omitted, the interval is a point in time, `endTime`. If `startTime` is present, it must be earlier than (less than) `endTime`. The interval begins after `startTime`—it does not include `startTime`.",
1143− "location": "query"
1027+ "type": "object"
1028+ },
1029+ "values": {
1030+ "description": "The measured values during this time interval. Each value must have a different dataSourceName.",
1031+ "type": "array",
1032+ "items": {
1033+ "$ref": "CollectdValue"
11441034 }
1145− },
1146− "parameterOrder": [
1147− "name"
1148− ],
1149− "response": {
1150− "$ref": "ListGroupMembersResponse"
1151− },
1152− "scopes": [
1153− "https://www.googleapis.com/auth/cloud-platform",
1154− "https://www.googleapis.com/auth/monitoring",
1155− "https://www.googleapis.com/auth/monitoring.read"
1156− ]
1035+ },
1036+ "pluginInstance": {
1037+ "description": "The instance name of the plugin Example: "hdcl".",
1038+ "type": "string"
1039+ },
1040+ "startTime": {
1041+ "description": "The start time of the interval.",
1042+ "type": "string",
1043+ "format": "google-datetime"
1044+ },
1045+ "typeInstance": {
1046+ "description": "The measurement type instance. Example: "used".",
1047+ "type": "string"
1048+ },
1049+ "type": {
1050+ "description": "The measurement type. Example: "memory".",
1051+ "type": "string"
1052+ },
1053+ "plugin": {
1054+ "description": "The name of the plugin. Example: "disk".",
1055+ "type": "string"
11571056 }
1158− }
1159− }
1160− }
1161− },
1162− "monitoredResourceDescriptors": {
1163− "methods": {
1164− "list": {
1165− "id": "monitoring.projects.monitoredResourceDescriptors.list",
1166− "path": "v3/{+name}/monitoredResourceDescriptors",
1167− "httpMethod": "GET",
1168− "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.",
1169− "parameters": {
1170− "name": {
1171− "type": "string",
1172− "description": "The project on which to execute the request. The format is `\"projects/{project_id_or_number}\"`.",
1173− "required": true,
1174− "pattern": "^projects/[^/]*$",
1175− "location": "path"
1057+ },
1058+ "id": "CollectdPayload"
1059+ },
1060+ "ListMetricDescriptorsResponse": {
1061+ "description": "The ListMetricDescriptors response.",
1062+ "type": "object",
1063+ "properties": {
1064+ "metricDescriptors": {
1065+ "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
1066+ "type": "array",
1067+ "items": {
1068+ "$ref": "MetricDescriptor"
1069+ }
11761070 },
1177− "filter": {
1178− "type": "string",
1179− "description": "An optional [filter](/monitoring/api/v3/filters) describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an `id` label: resource.type = starts_with(\"gce_\") AND resource.label:id",
1180− "location": "query"
1181− },
1182− "pageSize": {
1183− "type": "integer",
1184− "description": "A positive number that is the maximum number of results to return.",
1185− "format": "int32",
1186− "location": "query"
1187− },
1188− "pageToken": {
1189− "type": "string",
1190− "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.",
1191− "location": "query"
1071+ "nextPageToken": {
1072+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
1073+ "type": "string"
11921074 }
1193− },
1194− "parameterOrder": [
1195− "name"
1196− ],
1197− "response": {
1198− "$ref": "ListMonitoredResourceDescriptorsResponse"
1199− },
1200− "scopes": [
1201− "https://www.googleapis.com/auth/cloud-platform",
1202− "https://www.googleapis.com/auth/monitoring",
1203− "https://www.googleapis.com/auth/monitoring.read",
1204− "https://www.googleapis.com/auth/monitoring.write"
1205− ]
12061075 },
1207− "get": {
1208− "id": "monitoring.projects.monitoredResourceDescriptors.get",
1209− "path": "v3/{+name}",
1210− "httpMethod": "GET",
1211− "description": "Gets a single monitored resource descriptor. This method does not require a Stackdriver account.",
1212− "parameters": {
1213− "name": {
1214− "type": "string",
1215− "description": "The monitored resource descriptor to get. The format is `\"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}\"`. The `{resource_type}` is a predefined type, such as `cloudsql_database`.",
1216− "required": true,
1217− "pattern": "^projects/[^/]*/monitoredResourceDescriptors/[^/]*$",
1218− "location": "path"
1076+ "id": "ListMetricDescriptorsResponse"
1077+ },
1078+ "Distribution": {
1079+ "description": "Distribution contains summary statistics for a population of values and, optionally, a histogram representing the distribution of those values across a specified set of histogram buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values.The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by specifying parameters for a method of computing them (buckets of fixed width or buckets of exponentially increasing width).Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.",
1080+ "type": "object",
1081+ "properties": {
1082+ "bucketCounts": {
1083+ "description": "If bucket_options is given, then the sum of the values in bucket_counts must equal the value in count. If bucket_options is not given, no bucket_counts fields may be given.Bucket counts are given in order under the numbering scheme described above (the underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; the overflow bucket has number N-1).The size of bucket_counts must be no greater than N as defined in bucket_options.Any suffix of trailing zero bucket_count fields may be omitted.",
1084+ "type": "array",
1085+ "items": {
1086+ "type": "string",
1087+ "format": "int64"
1088+ }
1089+ },
1090+ "bucketOptions": {
1091+ "description": "Defines the histogram bucket boundaries.",
1092+ "$ref": "BucketOptions"
1093+ },
1094+ "count": {
1095+ "description": "The number of values in the population. Must be non-negative.",
1096+ "type": "string",
1097+ "format": "int64"
1098+ },
1099+ "sumOfSquaredDeviation": {
1100+ "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 - mean)^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 zero then this field must be zero.",
1101+ "type": "number",
1102+ "format": "double"
1103+ },
1104+ "mean": {
1105+ "description": "The arithmetic mean of the values in the population. If count is zero then this field must be zero.",
1106+ "type": "number",
1107+ "format": "double"
1108+ },
1109+ "range": {
1110+ "description": "If specified, contains the range of the population values. The field must not be present if the count is zero. This field is presently ignored by the Stackdriver Monitoring API v3.",
1111+ "$ref": "Range"
12191112 }
1220− },
1221− "parameterOrder": [
1222− "name"
1223− ],
1224− "response": {
1225− "$ref": "MonitoredResourceDescriptor"
1226− },
1227− "scopes": [
1228− "https://www.googleapis.com/auth/cloud-platform",
1229− "https://www.googleapis.com/auth/monitoring",
1230− "https://www.googleapis.com/auth/monitoring.read",
1231− "https://www.googleapis.com/auth/monitoring.write"
1232− ]
1233− }
1234− }
1235− },
1236− "metricDescriptors": {
1237− "methods": {
1238− "list": {
1239− "id": "monitoring.projects.metricDescriptors.list",
1240− "path": "v3/{+name}/metricDescriptors",
1241− "httpMethod": "GET",
1242− "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
1243− "parameters": {
1244− "name": {
1245− "type": "string",
1246− "description": "The project on which to execute the request. The format is `\"projects/{project_id_or_number}\"`.",
1247− "required": true,
1248− "pattern": "^projects/[^/]*$",
1249− "location": "path"
1113+ },
1114+ "id": "Distribution"
1115+ },
1116+ "MonitoredResource": {
1117+ "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "zone":\n{ "type": "gce_instance",\n "labels": { "instance_id": "12345678901234",\n "zone": "us-central1-a" }}\n",
1118+ "type": "object",
1119+ "properties": {
1120+ "labels": {
1121+ "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels "database_id" and "zone".",
1122+ "additionalProperties": {
1123+ "type": "string"
1124+ },
1125+ "type": "object"
12501126 },
1251− "filter": {
1252− "type": "string",
1253− "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the [filter](/monitoring/api/v3/filters) specifies which metric descriptors are to be returned. For example, the following filter matches all [custom metrics](/monitoring/custom-metrics): metric.type = starts_with(\"custom.googleapis.com/\")",
1254− "location": "query"
1255− },
1256− "pageSize": {
1257− "type": "integer",
1258− "description": "A positive number that is the maximum number of results to return.",
1259− "format": "int32",
1260− "location": "query"
1261− },
1262− "pageToken": {
1263− "type": "string",
1264− "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.",
1265− "location": "query"
1127+ "type": {
1128+ "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is "cloudsql_database".",
1129+ "type": "string"
12661130 }
1267− },
1268− "parameterOrder": [
1269− "name"
1270− ],
1271− "response": {
1272− "$ref": "ListMetricDescriptorsResponse"
1273− },
1274− "scopes": [
1275− "https://www.googleapis.com/auth/cloud-platform",
1276− "https://www.googleapis.com/auth/monitoring",
1277− "https://www.googleapis.com/auth/monitoring.read",
1278− "https://www.googleapis.com/auth/monitoring.write"
1279− ]
12801131 },
1281− "get": {
1282− "id": "monitoring.projects.metricDescriptors.get",
1283− "path": "v3/{+name}",
1284− "httpMethod": "GET",
1285− "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.",
1286− "parameters": {
1287− "name": {
1288− "type": "string",
1289− "description": "The metric descriptor on which to execute the request. The format is `\"projects/{project_id_or_number}/metricDescriptors/{metric_id}\"`. An example value of `{metric_id}` is `\"compute.googleapis.com/instance/disk/read_bytes_count\"`.",
1290− "required": true,
1291− "pattern": "^projects/[^/]*/metricDescriptors/.*$",
1292− "location": "path"
1132+ "id": "MonitoredResource"
1133+ },
1134+ "LabelDescriptor": {
1135+ "description": "A description of a label.",
1136+ "type": "object",
1137+ "properties": {
1138+ "description": {
1139+ "description": "A human-readable description for the label.",
1140+ "type": "string"
1141+ },
1142+ "valueType": {
1143+ "description": "The type of data that can be assigned to the label.",
1144+ "enum": [
1145+ "STRING",
1146+ "BOOL",
1147+ "INT64"
1148+ ],
1149+ "enumDescriptions": [
1150+ "A variable-length string. This is the default.",
1151+ "Boolean; true or false.",
1152+ "A 64-bit signed integer."
1153+ ],
1154+ "type": "string"
1155+ },
1156+ "key": {
1157+ "description": "The label key.",
1158+ "type": "string"
12931159 }
1294− },
1295− "parameterOrder": [
1296− "name"
1297− ],
1298− "response": {
1299− "$ref": "MetricDescriptor"
1300− },
1301− "scopes": [
1302− "https://www.googleapis.com/auth/cloud-platform",
1303− "https://www.googleapis.com/auth/monitoring",
1304− "https://www.googleapis.com/auth/monitoring.read",
1305− "https://www.googleapis.com/auth/monitoring.write"
1306− ]
13071160 },
1308− "create": {
1309− "id": "monitoring.projects.metricDescriptors.create",
1310− "path": "v3/{+name}/metricDescriptors",
1311− "httpMethod": "POST",
1312− "description": "Creates a new metric descriptor. User-created metric descriptors define [custom metrics](/monitoring/custom-metrics).",
1313− "parameters": {
1161+ "id": "LabelDescriptor"
1162+ },
1163+ "MonitoredResourceDescriptor": {
1164+ "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of "gce_instance" and specifies the use of the labels "instance_id" and "zone" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
1165+ "type": "object",
1166+ "properties": {
1167+ "displayName": {
1168+ "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, "Google Cloud SQL Database".",
1169+ "type": "string"
1170+ },
1171+ "description": {
1172+ "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.",
1173+ "type": "string"
1174+ },
1175+ "labels": {
1176+ "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels "database_id" and "zone".",
1177+ "type": "array",
1178+ "items": {
1179+ "$ref": "LabelDescriptor"
1180+ }
1181+ },
1182+ "type": {
1183+ "description": "Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
1184+ "type": "string"
1185+ },
13141186 "name": {
1315− "type": "string",
1316− "description": "The project on which to execute the request. The format is `\"projects/{project_id_or_number}\"`.",
1317− "required": true,
1318− "pattern": "^projects/[^/]*$",
1319− "location": "path"
1187+ "description": "Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}".",
1188+ "type": "string"
1189+ }
1190+ },
1191+ "id": "MonitoredResourceDescriptor"
1192+ },
1193+ "TypedValue": {
1194+ "description": "A single strongly-typed value.",
1195+ "type": "object",
1196+ "properties": {
1197+ "boolValue": {
1198+ "description": "A Boolean value: true or false.",
1199+ "type": "boolean"
1200+ },
1201+ "stringValue": {
1202+ "description": "A variable-length string value.",
1203+ "type": "string"
1204+ },
1205+ "int64Value": {
1206+ "description": "A 64-bit integer. Its range is approximately ±9.2x10\u003csup\u003e18\u003c/sup\u003e.",
1207+ "type": "string",
1208+ "format": "int64"
1209+ },
1210+ "doubleValue": {
1211+ "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10\u003csup\u003e±300\u003c/sup\u003e and it has 16 significant digits of precision.",
1212+ "type": "number",
1213+ "format": "double"
1214+ },
1215+ "distributionValue": {
1216+ "description": "A distribution value.",
1217+ "$ref": "Distribution"
1218+ }
1219+ },
1220+ "id": "TypedValue"
1221+ },
1222+ "ListMonitoredResourceDescriptorsResponse": {
1223+ "description": "The ListMonitoredResourcDescriptors response.",
1224+ "type": "object",
1225+ "properties": {
1226+ "nextPageToken": {
1227+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
1228+ "type": "string"
1229+ },
1230+ "resourceDescriptors": {
1231+ "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1232+ "type": "array",
1233+ "items": {
1234+ "$ref": "MonitoredResourceDescriptor"
1235+ }
13201236 }
1321− },
1322− "parameterOrder": [
1323− "name"
1324− ],
1325− "request": {
1326− "$ref": "MetricDescriptor"
1327− },
1328− "response": {
1329− "$ref": "MetricDescriptor"
1330− },
1331− "scopes": [
1332− "https://www.googleapis.com/auth/cloud-platform",
1333− "https://www.googleapis.com/auth/monitoring",
1334− "https://www.googleapis.com/auth/monitoring.write"
1335− ]
13361237 },
1337− "delete": {
1338− "id": "monitoring.projects.metricDescriptors.delete",
1339− "path": "v3/{+name}",
1340− "httpMethod": "DELETE",
1341− "description": "Deletes a metric descriptor. Only user-created [custom metrics](/monitoring/custom-metrics) can be deleted.",
1342− "parameters": {
1238+ "id": "ListMonitoredResourceDescriptorsResponse"
1239+ },
1240+ "Field": {
1241+ "description": "A single field of a message type.",
1242+ "type": "object",
1243+ "properties": {
1244+ "defaultValue": {
1245+ "description": "The string value of the default value of this field. Proto2 syntax only.",
1246+ "type": "string"
1247+ },
1248+ "jsonName": {
1249+ "description": "The field JSON name.",
1250+ "type": "string"
1251+ },
1252+ "options": {
1253+ "description": "The protocol buffer options.",
1254+ "type": "array",
1255+ "items": {
1256+ "$ref": "Option"
1257+ }
1258+ },
1259+ "oneofIndex": {
1260+ "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.",
1261+ "type": "integer",
1262+ "format": "int32"
1263+ },
1264+ "cardinality": {
1265+ "description": "The field cardinality.",
1266+ "enum": [
1267+ "CARDINALITY_UNKNOWN",
1268+ "CARDINALITY_OPTIONAL",
1269+ "CARDINALITY_REQUIRED",
1270+ "CARDINALITY_REPEATED"
1271+ ],
1272+ "enumDescriptions": [
1273+ "For fields with unknown cardinality.",
1274+ "For optional fields.",
1275+ "For required fields. Proto2 syntax only.",
1276+ "For repeated fields."
1277+ ],
1278+ "type": "string"
1279+ },
1280+ "typeUrl": {
1281+ "description": "The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp".",
1282+ "type": "string"
1283+ },
13431284 "name": {
1344− "type": "string",
1345− "description": "The metric descriptor on which to execute the request. The format is `\"projects/{project_id_or_number}/metricDescriptors/{metric_id}\"`. An example of `{metric_id}` is: `\"custom.googleapis.com/my_test_metric\"`.",
1346− "required": true,
1347− "pattern": "^projects/[^/]*/metricDescriptors/.*$",
1348− "location": "path"
1285+ "description": "The field name.",
1286+ "type": "string"
1287+ },
1288+ "packed": {
1289+ "description": "Whether to use alternative packed wire representation.",
1290+ "type": "boolean"
1291+ },
1292+ "number": {
1293+ "description": "The field number.",
1294+ "type": "integer",
1295+ "format": "int32"
1296+ },
1297+ "kind": {
1298+ "description": "The field type.",
1299+ "enum": [
1300+ "TYPE_UNKNOWN",
1301+ "TYPE_DOUBLE",
1302+ "TYPE_FLOAT",
1303+ "TYPE_INT64",
1304+ "TYPE_UINT64",
1305+ "TYPE_INT32",
1306+ "TYPE_FIXED64",
1307+ "TYPE_FIXED32",
1308+ "TYPE_BOOL",
1309+ "TYPE_STRING",
1310+ "TYPE_GROUP",
1311+ "TYPE_MESSAGE",
1312+ "TYPE_BYTES",
1313+ "TYPE_UINT32",
1314+ "TYPE_ENUM",
1315+ "TYPE_SFIXED32",
1316+ "TYPE_SFIXED64",
1317+ "TYPE_SINT32",
1318+ "TYPE_SINT64"
1319+ ],
1320+ "enumDescriptions": [
1321+ "Field type unknown.",
1322+ "Field type double.",
1323+ "Field type float.",
1324+ "Field type int64.",
1325+ "Field type uint64.",
1326+ "Field type int32.",
1327+ "Field type fixed64.",
1328+ "Field type fixed32.",
1329+ "Field type bool.",
1330+ "Field type string.",
1331+ "Field type group. Proto2 syntax only, and deprecated.",
1332+ "Field type message.",
1333+ "Field type bytes.",
1334+ "Field type uint32.",
1335+ "Field type enum.",
1336+ "Field type sfixed32.",
1337+ "Field type sfixed64.",
1338+ "Field type sint32.",
1339+ "Field type sint64."
1340+ ],
1341+ "type": "string"
13491342 }
1350− },
1351− "parameterOrder": [
1352− "name"
1353− ],
1354− "response": {
1355− "$ref": "Empty"
1356− },
1357− "scopes": [
1358− "https://www.googleapis.com/auth/cloud-platform",
1359− "https://www.googleapis.com/auth/monitoring"
1360− ]
1361− }
1362− }
1363− },
1364− "timeSeries": {
1365− "methods": {
1366− "list": {
1367− "id": "monitoring.projects.timeSeries.list",
1368− "path": "v3/{+name}/timeSeries",
1369− "httpMethod": "GET",
1370− "description": "Lists time series that match a filter. This method does not require a Stackdriver account.",
1371− "parameters": {
1343+ },
1344+ "id": "Field"
1345+ },
1346+ "Option": {
1347+ "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
1348+ "type": "object",
1349+ "properties": {
1350+ "value": {
1351+ "description": "The option's value. For example, "com.google.protobuf".",
1352+ "additionalProperties": {
1353+ "description": "Properties of the object. Contains field @type with type URL.",
1354+ "type": "any"
1355+ },
1356+ "type": "object"
1357+ },
13721358 "name": {
1373− "type": "string",
1374− "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".",
1375− "required": true,
1376− "pattern": "^projects/[^/]*$",
1377− "location": "path"
1359+ "description": "The option's name. For example, "java_package".",
1360+ "type": "string"
1361+ }
1362+ },
1363+ "id": "Option"
1364+ },
1365+ "Empty": {
1366+ "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 Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
1367+ "type": "object",
1368+ "properties": {},
1369+ "id": "Empty"
1370+ },
1371+ "SourceContext": {
1372+ "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.",
1373+ "type": "object",
1374+ "properties": {
1375+ "fileName": {
1376+ "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".",
1377+ "type": "string"
1378+ }
1379+ },
1380+ "id": "SourceContext"
1381+ },
1382+ "Range": {
1383+ "description": "The range of the population values.",
1384+ "type": "object",
1385+ "properties": {
1386+ "max": {
1387+ "description": "The maximum of the population values.",
1388+ "type": "number",
1389+ "format": "double"
13781390 },
1379− "filter": {
1380− "type": "string",
1381− "description": "A [monitoring filter](/monitoring/api/v3/filters) that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example: metric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND metric.label.instance_name = \"my-instance-name\"",
1382− "location": "query"
1383− },
1384− "interval.endTime": {
1385− "type": "string",
1386− "description": "Required. The end of the interval. The interval includes this time.",
1387− "location": "query"
1388− },
1389− "interval.startTime": {
1390− "type": "string",
1391− "description": "If this value is omitted, the interval is a point in time, `endTime`. If `startTime` is present, it must be earlier than (less than) `endTime`. The interval begins after `startTime`—it does not include `startTime`.",
1392− "location": "query"
1393− },
1394− "aggregation.alignmentPeriod": {
1395− "type": "string",
1396− "description": "The alignment period for per-[time series](TimeSeries) 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 returned.",
1397− "location": "query"
1398− },
1399− "aggregation.perSeriesAligner": {
1400− "type": "string",
1401− "description": "The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series. Time 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.",
1402− "enum": [
1403− "ALIGN_NONE",
1404− "ALIGN_DELTA",
1405− "ALIGN_RATE",
1406− "ALIGN_INTERPOLATE",
1407− "ALIGN_NEXT_OLDER",
1408− "ALIGN_MIN",
1409− "ALIGN_MAX",
1410− "ALIGN_MEAN",
1411− "ALIGN_COUNT",
1412− "ALIGN_SUM",
1413− "ALIGN_STDDEV",
1414− "ALIGN_COUNT_TRUE",
1415− "ALIGN_FRACTION_TRUE"
1416− ],
1417− "location": "query"
1418− },
1419− "aggregation.crossSeriesReducer": {
1420− "type": "string",
1421− "description": "The approach to be used to combine 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. Reduction 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 `crossSeriesReducer` is specified, then `perSeriesAligner` must be specified and not equal `ALIGN_NONE` and `alignmentPeriod` must be specified; otherwise, an error is returned.",
1422− "enum": [
1423− "REDUCE_NONE",
1424− "REDUCE_MEAN",
1425− "REDUCE_MIN",
1426− "REDUCE_MAX",
1427− "REDUCE_SUM",
1428− "REDUCE_STDDEV",
1429− "REDUCE_COUNT",
1430− "REDUCE_COUNT_TRUE",
1431− "REDUCE_FRACTION_TRUE",
1432− "REDUCE_PERCENTILE_99",
1433− "REDUCE_PERCENTILE_95",
1434− "REDUCE_PERCENTILE_50",
1435− "REDUCE_PERCENTILE_05"
1436− ],
1437− "location": "query"
1438− },
1439− "aggregation.groupByFields": {
1440− "type": "string",
1441− "description": "The set of fields to preserve 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 grouping fields. Each individual time series is a member of exactly one subset. The `crossSeriesReducer` is applied to each subset of time series. Fields not specified in `groupByFields` are aggregated away. If `groupByFields` is not specified, the time series are aggregated into a single output time series. If `crossSeriesReducer` is not defined, this field is ignored.",
1442− "repeated": true,
1443− "location": "query"
1444− },
1445− "orderBy": {
1446− "type": "string",
1447− "description": "Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.",
1448− "location": "query"
1449− },
1450− "view": {
1451− "type": "string",
1452− "description": "Specifies which information is returned about the time series.",
1453− "enum": [
1454− "FULL",
1455− "HEADERS"
1456− ],
1457− "location": "query"
1458− },
1459− "pageSize": {
1460− "type": "integer",
1461− "description": "A positive number that is the maximum number of results to return. When `view` field sets to `FULL`, it limits the number of `Points` server will return; if `view` field is `HEADERS`, it limits the number of `TimeSeries` server will return.",
1462− "format": "int32",
1463− "location": "query"
1464− },
1465− "pageToken": {
1466− "type": "string",
1467− "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.",
1468− "location": "query"
1391+ "min": {
1392+ "description": "The minimum of the population values.",
1393+ "type": "number",
1394+ "format": "double"
1395+ }
1396+ },
1397+ "id": "Range"
1398+ },
1399+ "CreateTimeSeriesRequest": {
1400+ "description": "The CreateTimeSeries request.",
1401+ "type": "object",
1402+ "properties": {
1403+ "timeSeries": {
1404+ "description": "The new data to be added to a list of time series. 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 TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.",
1405+ "type": "array",
1406+ "items": {
1407+ "$ref": "TimeSeries"
1408+ }
1409+ }
1410+ },
1411+ "id": "CreateTimeSeriesRequest"
1412+ },
1413+ "BucketOptions": {
1414+ "description": "A Distribution may optionally contain a histogram of the values in the population. The histogram is given in bucket_counts as counts of values that fall into one of a sequence of non-overlapping buckets. The sequence of buckets is described by bucket_options.A bucket specifies an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket is strictly greater than the lower bound.The sequence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.BucketOptions describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to generate boundaries and one gives the bucket boundaries explicitly.If bucket_options is not given, then no bucket_counts may be given.",
1415+ "type": "object",
1416+ "properties": {
1417+ "explicitBuckets": {
1418+ "description": "The explicit buckets.",
1419+ "$ref": "Explicit"
1420+ },
1421+ "exponentialBuckets": {
1422+ "description": "The exponential buckets.",
1423+ "$ref": "Exponential"
1424+ },
1425+ "linearBuckets": {
1426+ "description": "The linear bucket.",
1427+ "$ref": "Linear"
1428+ }
1429+ },
1430+ "id": "BucketOptions"
1431+ },
1432+ "CreateCollectdTimeSeriesRequest": {
1433+ "description": "The CreateCollectdTimeSeries request.",
1434+ "type": "object",
1435+ "properties": {
1436+ "collectdPayloads": {
1437+ "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, plugin_instance, type, and type_instance.",
1438+ "type": "array",
1439+ "items": {
1440+ "$ref": "CollectdPayload"
1441+ }
1442+ },
1443+ "collectdVersion": {
1444+ "description": "The version of collectd that collected the data. Example: "5.3.0-192.el6".",
1445+ "type": "string"
1446+ },
1447+ "resource": {
1448+ "description": "The monitored resource associated with the time series.",
1449+ "$ref": "MonitoredResource"
14691450 }
1470− },
1471− "parameterOrder": [
1472− "name"
1473− ],
1474− "response": {
1475− "$ref": "ListTimeSeriesResponse"
1476− },
1477− "scopes": [
1478− "https://www.googleapis.com/auth/cloud-platform",
1479− "https://www.googleapis.com/auth/monitoring",
1480− "https://www.googleapis.com/auth/monitoring.read"
1481− ]
14821451 },
1483− "create": {
1484− "id": "monitoring.projects.timeSeries.create",
1485− "path": "v3/{+name}/timeSeries",
1486− "httpMethod": "POST",
1487− "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.",
1488− "parameters": {
1452+ "id": "CreateCollectdTimeSeriesRequest"
1453+ },
1454+ "Type": {
1455+ "description": "A protocol buffer message type.",
1456+ "type": "object",
1457+ "properties": {
1458+ "oneofs": {
1459+ "description": "The list of types appearing in oneof definitions in this type.",
1460+ "type": "array",
1461+ "items": {
1462+ "type": "string"
1463+ }
1464+ },
1465+ "options": {
1466+ "description": "The protocol buffer options.",
1467+ "type": "array",
1468+ "items": {
1469+ "$ref": "Option"
1470+ }
1471+ },
1472+ "sourceContext": {
1473+ "description": "The source context.",
1474+ "$ref": "SourceContext"
1475+ },
1476+ "fields": {
1477+ "description": "The list of fields.",
1478+ "type": "array",
1479+ "items": {
1480+ "$ref": "Field"
1481+ }
1482+ },
14891483 "name": {
1490− "type": "string",
1491− "description": "The project on which to execute the request. The format is `\"projects/{project_id_or_number}\"`.",
1492− "required": true,
1493− "pattern": "^projects/[^/]*$",
1494− "location": "path"
1484+ "description": "The fully qualified message name.",
1485+ "type": "string"
1486+ },
1487+ "syntax": {
1488+ "description": "The source syntax.",
1489+ "enum": [
1490+ "SYNTAX_PROTO2",
1491+ "SYNTAX_PROTO3"
1492+ ],
1493+ "enumDescriptions": [
1494+ "Syntax proto2.",
1495+ "Syntax proto3."
1496+ ],
1497+ "type": "string"
14951498 }
1496− },
1497− "parameterOrder": [
1498− "name"
1499− ],
1500− "request": {
1501− "$ref": "CreateTimeSeriesRequest"
1502− },
1503− "response": {
1504− "$ref": "Empty"
1505− },
1506− "scopes": [
1507− "https://www.googleapis.com/auth/cloud-platform",
1508− "https://www.googleapis.com/auth/monitoring",
1509− "https://www.googleapis.com/auth/monitoring.write"
1510− ]
1511− }
1512− }
1499+ },
1500+ "id": "Type"
1501+ },
1502+ "ListGroupsResponse": {
1503+ "description": "The ListGroups response.",
1504+ "type": "object",
1505+ "properties": {
1506+ "group": {
1507+ "description": "The groups that match the specified filters.",
1508+ "type": "array",
1509+ "items": {
1510+ "$ref": "Group"
1511+ }
1512+ },
1513+ "nextPageToken": {
1514+ "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.",
1515+ "type": "string"
1516+ }
1517+ },
1518+ "id": "ListGroupsResponse"
1519+ }
1520+ },
1521+ "revision": "20161020",
1522+ "basePath": "",
1523+ "icons": {
1524+ "x32": "http://www.google.com/images/icons/product/search-32.gif",
1525+ "x16": "http://www.google.com/images/icons/product/search-16.gif"
1526+ },
1527+ "version_module": "True",
1528+ "canonicalName": "Monitoring",
1529+ "discoveryVersion": "v1",
1530+ "baseUrl": "https://monitoring.googleapis.com/",
1531+ "name": "monitoring",
1532+ "parameters": {
1533+ "access_token": {
1534+ "description": "OAuth access token.",
1535+ "type": "string",
1536+ "location": "query"
1537+ },
1538+ "prettyPrint": {
1539+ "description": "Returns response with indentations and line breaks.",
1540+ "default": "true",
1541+ "type": "boolean",
1542+ "location": "query"
1543+ },
1544+ "key": {
1545+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
1546+ "type": "string",
1547+ "location": "query"
1548+ },
1549+ "quotaUser": {
1550+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
1551+ "type": "string",
1552+ "location": "query"
1553+ },
1554+ "pp": {
1555+ "description": "Pretty-print response.",
1556+ "default": "true",
1557+ "type": "boolean",
1558+ "location": "query"
1559+ },
1560+ "fields": {
1561+ "description": "Selector specifying which fields to include in a partial response.",
1562+ "type": "string",
1563+ "location": "query"
1564+ },
1565+ "alt": {
1566+ "description": "Data format for response.",
1567+ "location": "query",
1568+ "enum": [
1569+ "json",
1570+ "media",
1571+ "proto"
1572+ ],
1573+ "default": "json",
1574+ "enumDescriptions": [
1575+ "Responses with Content-Type of application/json",
1576+ "Media download with context-dependent Content-Type",
1577+ "Responses with Content-Type of application/x-protobuf"
1578+ ],
1579+ "type": "string"
1580+ },
1581+ "$.xgafv": {
1582+ "description": "V1 error format.",
1583+ "enum": [
1584+ "1",
1585+ "2"
1586+ ],
1587+ "enumDescriptions": [
1588+ "v1 error format",
1589+ "v2 error format"
1590+ ],
1591+ "type": "string",
1592+ "location": "query"
1593+ },
1594+ "callback": {
1595+ "description": "JSONP",
1596+ "type": "string",
1597+ "location": "query"
1598+ },
1599+ "oauth_token": {
1600+ "description": "OAuth 2.0 token for the current user.",
1601+ "type": "string",
1602+ "location": "query"
1603+ },
1604+ "uploadType": {
1605+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
1606+ "type": "string",
1607+ "location": "query"
1608+ },
1609+ "bearer_token": {
1610+ "description": "OAuth bearer token.",
1611+ "type": "string",
1612+ "location": "query"
1613+ },
1614+ "upload_protocol": {
1615+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
1616+ "type": "string",
1617+ "location": "query"
15131618 }
1514− }
1515− }
1516− }
1619+ },
1620+ "documentationLink": "https://cloud.google.com/monitoring/api/",
1621+ "ownerDomain": "google.com",
1622+ "batchPath": "batch",
1623+ "servicePath": "",
1624+ "ownerName": "Google",
1625+ "version": "v3",
1626+ "rootUrl": "https://monitoring.googleapis.com/",
1627+ "kind": "discovery#restDescription"
15171628}