Index: discovery/googleapis/monitoring__v3.json |
diff --git a/discovery/googleapis/monitoring__v3.json b/discovery/googleapis/monitoring__v3.json |
index 5cca00c61fecffacbd25b2e61cec2688e6505cfe..02a9b8be87abf906e2c4038f8a17fe30d5c53a5f 100644 |
--- a/discovery/googleapis/monitoring__v3.json |
+++ b/discovery/googleapis/monitoring__v3.json |
@@ -34,6 +34,22 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -45,13 +61,18 @@ |
"location": "query", |
"type": "boolean" |
}, |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"uploadType": { |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
+ "callback": { |
+ "description": "JSONP", |
"location": "query", |
"type": "string" |
}, |
@@ -68,11 +89,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -103,86 +119,25 @@ |
"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.", |
"location": "query", |
"type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
"resources": { |
"projects": { |
"resources": { |
- "timeSeries": { |
+ "monitoredResourceDescriptors": { |
"methods": { |
"list": { |
- "description": "Lists time series that match a filter. This method does not require a Stackdriver account.", |
+ "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.", |
"httpMethod": "GET", |
- "id": "monitoring.projects.timeSeries.list", |
+ "id": "monitoring.projects.monitoredResourceDescriptors.list", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
- "pageToken": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "aggregation.perSeriesAligner": { |
- "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.", |
- "enum": [ |
- "ALIGN_NONE", |
- "ALIGN_DELTA", |
- "ALIGN_RATE", |
- "ALIGN_INTERPOLATE", |
- "ALIGN_NEXT_OLDER", |
- "ALIGN_MIN", |
- "ALIGN_MAX", |
- "ALIGN_MEAN", |
- "ALIGN_COUNT", |
- "ALIGN_SUM", |
- "ALIGN_STDDEV", |
- "ALIGN_COUNT_TRUE", |
- "ALIGN_FRACTION_TRUE", |
- "ALIGN_PERCENTILE_99", |
- "ALIGN_PERCENTILE_95", |
- "ALIGN_PERCENTILE_50", |
- "ALIGN_PERCENTILE_05" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
- "interval.startTime": { |
- "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.", |
- "format": "google-datetime", |
- "location": "query", |
- "type": "string" |
- }, |
- "view": { |
- "description": "Specifies which information is returned about the time series.", |
- "enum": [ |
- "FULL", |
- "HEADERS" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
- "aggregation.groupByFields": { |
- "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. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.", |
+ "filter": { |
+ "description": "An optional filter 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", |
"location": "query", |
- "repeated": true, |
"type": "string" |
}, |
"name": { |
@@ -192,209 +147,138 @@ |
"required": true, |
"type": "string" |
}, |
- "interval.endTime": { |
- "description": "Required. The end of the time interval.", |
- "format": "google-datetime", |
- "location": "query", |
- "type": "string" |
- }, |
- "aggregation.alignmentPeriod": { |
- "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.", |
- "format": "google-duration", |
+ "pageToken": { |
+ "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.", |
"location": "query", |
"type": "string" |
}, |
"pageSize": { |
- "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.", |
+ "description": "A positive number that is the maximum number of results to return.", |
"format": "int32", |
"location": "query", |
"type": "integer" |
- }, |
- "orderBy": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "aggregation.crossSeriesReducer": { |
- "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.", |
- "enum": [ |
- "REDUCE_NONE", |
- "REDUCE_MEAN", |
- "REDUCE_MIN", |
- "REDUCE_MAX", |
- "REDUCE_SUM", |
- "REDUCE_STDDEV", |
- "REDUCE_COUNT", |
- "REDUCE_COUNT_TRUE", |
- "REDUCE_FRACTION_TRUE", |
- "REDUCE_PERCENTILE_99", |
- "REDUCE_PERCENTILE_95", |
- "REDUCE_PERCENTILE_50", |
- "REDUCE_PERCENTILE_05" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
- "filter": { |
- "description": "A monitoring filter 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", |
- "location": "query", |
- "type": "string" |
} |
}, |
- "path": "v3/{+name}/timeSeries", |
+ "path": "v3/{+name}/monitoredResourceDescriptors", |
"response": { |
- "$ref": "ListTimeSeriesResponse" |
+ "$ref": "ListMonitoredResourceDescriptorsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/monitoring", |
- "https://www.googleapis.com/auth/monitoring.read" |
+ "https://www.googleapis.com/auth/monitoring.read", |
+ "https://www.googleapis.com/auth/monitoring.write" |
] |
}, |
- "create": { |
- "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.", |
- "httpMethod": "POST", |
- "id": "monitoring.projects.timeSeries.create", |
+ "get": { |
+ "description": "Gets a single monitored resource descriptor. This method does not require a Stackdriver account.", |
+ "httpMethod": "GET", |
+ "id": "monitoring.projects.monitoredResourceDescriptors.get", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "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.", |
"location": "path", |
- "pattern": "^projects/[^/]+$", |
+ "pattern": "^projects/[^/]+/monitoredResourceDescriptors/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v3/{+name}/timeSeries", |
- "request": { |
- "$ref": "CreateTimeSeriesRequest" |
- }, |
+ "path": "v3/{+name}", |
"response": { |
- "$ref": "Empty" |
+ "$ref": "MonitoredResourceDescriptor" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/monitoring", |
+ "https://www.googleapis.com/auth/monitoring.read", |
"https://www.googleapis.com/auth/monitoring.write" |
] |
} |
} |
}, |
- "metricDescriptors": { |
+ "groups": { |
"methods": { |
- "list": { |
- "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.", |
- "httpMethod": "GET", |
- "id": "monitoring.projects.metricDescriptors.list", |
+ "update": { |
+ "description": "Updates an existing group. You can change any group attributes except name.", |
+ "httpMethod": "PUT", |
+ "id": "monitoring.projects.groups.update", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "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.", |
"location": "path", |
- "pattern": "^projects/[^/]+$", |
+ "pattern": "^projects/[^/]+/groups/[^/]+$", |
"required": true, |
"type": "string" |
}, |
- "pageToken": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "A positive number that is the maximum number of results to return.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:\nmetric.type = starts_with(\"custom.googleapis.com/\")\n", |
+ "validateOnly": { |
+ "description": "If true, validate this request but do not update the existing group.", |
"location": "query", |
- "type": "string" |
+ "type": "boolean" |
} |
}, |
- "path": "v3/{+name}/metricDescriptors", |
+ "path": "v3/{+name}", |
+ "request": { |
+ "$ref": "Group" |
+ }, |
"response": { |
- "$ref": "ListMetricDescriptorsResponse" |
+ "$ref": "Group" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring", |
- "https://www.googleapis.com/auth/monitoring.read", |
- "https://www.googleapis.com/auth/monitoring.write" |
+ "https://www.googleapis.com/auth/monitoring" |
] |
}, |
- "get": { |
- "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.", |
- "httpMethod": "GET", |
- "id": "monitoring.projects.metricDescriptors.get", |
+ "create": { |
+ "description": "Creates a new group.", |
+ "httpMethod": "POST", |
+ "id": "monitoring.projects.groups.create", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "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\".", |
+ "description": "The project in which to create the group. The format is \"projects/{project_id_or_number}\".", |
"location": "path", |
- "pattern": "^projects/[^/]+/metricDescriptors/.+$", |
+ "pattern": "^projects/[^/]+$", |
"required": true, |
"type": "string" |
+ }, |
+ "validateOnly": { |
+ "description": "If true, validate this request but do not create the group.", |
+ "location": "query", |
+ "type": "boolean" |
} |
}, |
- "path": "v3/{+name}", |
+ "path": "v3/{+name}/groups", |
+ "request": { |
+ "$ref": "Group" |
+ }, |
"response": { |
- "$ref": "MetricDescriptor" |
+ "$ref": "Group" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring", |
- "https://www.googleapis.com/auth/monitoring.read", |
- "https://www.googleapis.com/auth/monitoring.write" |
+ "https://www.googleapis.com/auth/monitoring" |
] |
}, |
- "create": { |
- "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics.", |
- "httpMethod": "POST", |
- "id": "monitoring.projects.metricDescriptors.create", |
+ "delete": { |
+ "description": "Deletes an existing group.", |
+ "httpMethod": "DELETE", |
+ "id": "monitoring.projects.groups.delete", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "description": "The group to delete. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", |
"location": "path", |
- "pattern": "^projects/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v3/{+name}/metricDescriptors", |
- "request": { |
- "$ref": "MetricDescriptor" |
- }, |
- "response": { |
- "$ref": "MetricDescriptor" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring", |
- "https://www.googleapis.com/auth/monitoring.write" |
- ] |
- }, |
- "delete": { |
- "description": "Deletes a metric descriptor. Only user-created custom metrics can be deleted.", |
- "httpMethod": "DELETE", |
- "id": "monitoring.projects.metricDescriptors.delete", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "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\".", |
- "location": "path", |
- "pattern": "^projects/[^/]+/metricDescriptors/.+$", |
+ "pattern": "^projects/[^/]+/groups/[^/]+$", |
"required": true, |
"type": "string" |
} |
@@ -407,93 +291,32 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/monitoring" |
] |
- } |
- } |
- }, |
- "monitoredResourceDescriptors": { |
- "methods": { |
+ }, |
"list": { |
- "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.", |
+ "description": "Lists the existing groups.", |
"httpMethod": "GET", |
- "id": "monitoring.projects.monitoredResourceDescriptors.list", |
+ "id": "monitoring.projects.groups.list", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".", |
"location": "path", |
"pattern": "^projects/[^/]+$", |
"required": true, |
"type": "string" |
}, |
- "pageToken": { |
- "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.", |
+ "childrenOfGroup": { |
+ "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.", |
"location": "query", |
"type": "string" |
}, |
- "pageSize": { |
- "description": "A positive number that is the maximum number of results to return.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "An optional filter 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", |
+ "descendantsOfGroup": { |
+ "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.", |
"location": "query", |
"type": "string" |
- } |
- }, |
- "path": "v3/{+name}/monitoredResourceDescriptors", |
- "response": { |
- "$ref": "ListMonitoredResourceDescriptorsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring", |
- "https://www.googleapis.com/auth/monitoring.read", |
- "https://www.googleapis.com/auth/monitoring.write" |
- ] |
- }, |
- "get": { |
- "description": "Gets a single monitored resource descriptor. This method does not require a Stackdriver account.", |
- "httpMethod": "GET", |
- "id": "monitoring.projects.monitoredResourceDescriptors.get", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "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.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/monitoredResourceDescriptors/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v3/{+name}", |
- "response": { |
- "$ref": "MonitoredResourceDescriptor" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring", |
- "https://www.googleapis.com/auth/monitoring.read", |
- "https://www.googleapis.com/auth/monitoring.write" |
- ] |
- } |
- } |
- }, |
- "groups": { |
- "methods": { |
- "list": { |
- "description": "Lists the existing groups.", |
- "httpMethod": "GET", |
- "id": "monitoring.projects.groups.list", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
+ }, |
"pageToken": { |
"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.", |
"location": "query", |
@@ -509,23 +332,6 @@ |
"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.", |
"location": "query", |
"type": "string" |
- }, |
- "name": { |
- "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".", |
- "location": "path", |
- "pattern": "^projects/[^/]+$", |
- "required": true, |
- "type": "string" |
- }, |
- "childrenOfGroup": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "descendantsOfGroup": { |
- "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.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v3/{+name}/groups", |
@@ -563,97 +369,6 @@ |
"https://www.googleapis.com/auth/monitoring", |
"https://www.googleapis.com/auth/monitoring.read" |
] |
- }, |
- "update": { |
- "description": "Updates an existing group. You can change any group attributes except name.", |
- "httpMethod": "PUT", |
- "id": "monitoring.projects.groups.update", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "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.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/groups/[^/]+$", |
- "required": true, |
- "type": "string" |
- }, |
- "validateOnly": { |
- "description": "If true, validate this request but do not update the existing group.", |
- "location": "query", |
- "type": "boolean" |
- } |
- }, |
- "path": "v3/{+name}", |
- "request": { |
- "$ref": "Group" |
- }, |
- "response": { |
- "$ref": "Group" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring" |
- ] |
- }, |
- "create": { |
- "description": "Creates a new group.", |
- "httpMethod": "POST", |
- "id": "monitoring.projects.groups.create", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The project in which to create the group. The format is \"projects/{project_id_or_number}\".", |
- "location": "path", |
- "pattern": "^projects/[^/]+$", |
- "required": true, |
- "type": "string" |
- }, |
- "validateOnly": { |
- "description": "If true, validate this request but do not create the group.", |
- "location": "query", |
- "type": "boolean" |
- } |
- }, |
- "path": "v3/{+name}/groups", |
- "request": { |
- "$ref": "Group" |
- }, |
- "response": { |
- "$ref": "Group" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring" |
- ] |
- }, |
- "delete": { |
- "description": "Deletes an existing group.", |
- "httpMethod": "DELETE", |
- "id": "monitoring.projects.groups.delete", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The group to delete. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", |
- "location": "path", |
- "pattern": "^projects/[^/]+/groups/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v3/{+name}", |
- "response": { |
- "$ref": "Empty" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/monitoring" |
- ] |
} |
}, |
"resources": { |
@@ -667,13 +382,6 @@ |
"name" |
], |
"parameters": { |
- "name": { |
- "description": "The group whose members are listed. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", |
- "location": "path", |
- "pattern": "^projects/[^/]+/groups/[^/]+$", |
- "required": true, |
- "type": "string" |
- }, |
"interval.endTime": { |
"description": "Required. The end of the time interval.", |
"format": "google-datetime", |
@@ -690,17 +398,24 @@ |
"location": "query", |
"type": "string" |
}, |
+ "pageSize": { |
+ "description": "A positive number that is the maximum number of results to return.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
"interval.startTime": { |
"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.", |
"format": "google-datetime", |
"location": "query", |
"type": "string" |
}, |
- "pageSize": { |
- "description": "A positive number that is the maximum number of results to return.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
+ "name": { |
+ "description": "The group whose members are listed. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/groups/[^/]+$", |
+ "required": true, |
+ "type": "string" |
} |
}, |
"path": "v3/{+name}/members", |
@@ -749,26 +464,529 @@ |
] |
} |
} |
- } |
- } |
- } |
- }, |
- "revision": "20170206", |
- "rootUrl": "https://monitoring.googleapis.com/", |
- "schemas": { |
- "TimeSeries": { |
- "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.", |
- "id": "TimeSeries", |
- "properties": { |
- "metricKind": { |
- "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.", |
- "enum": [ |
- "METRIC_KIND_UNSPECIFIED", |
- "GAUGE", |
- "DELTA", |
- "CUMULATIVE" |
- ], |
- "enumDescriptions": [ |
+ }, |
+ "timeSeries": { |
+ "methods": { |
+ "list": { |
+ "description": "Lists time series that match a filter. This method does not require a Stackdriver account.", |
+ "httpMethod": "GET", |
+ "id": "monitoring.projects.timeSeries.list", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "filter": { |
+ "description": "A monitoring filter 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", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "aggregation.perSeriesAligner": { |
+ "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.", |
+ "enum": [ |
+ "ALIGN_NONE", |
+ "ALIGN_DELTA", |
+ "ALIGN_RATE", |
+ "ALIGN_INTERPOLATE", |
+ "ALIGN_NEXT_OLDER", |
+ "ALIGN_MIN", |
+ "ALIGN_MAX", |
+ "ALIGN_MEAN", |
+ "ALIGN_COUNT", |
+ "ALIGN_SUM", |
+ "ALIGN_STDDEV", |
+ "ALIGN_COUNT_TRUE", |
+ "ALIGN_FRACTION_TRUE", |
+ "ALIGN_PERCENTILE_99", |
+ "ALIGN_PERCENTILE_95", |
+ "ALIGN_PERCENTILE_50", |
+ "ALIGN_PERCENTILE_05" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "interval.startTime": { |
+ "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.", |
+ "format": "google-datetime", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "view": { |
+ "description": "Specifies which information is returned about the time series.", |
+ "enum": [ |
+ "FULL", |
+ "HEADERS" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "aggregation.groupByFields": { |
+ "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. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.", |
+ "location": "query", |
+ "repeated": true, |
+ "type": "string" |
+ }, |
+ "interval.endTime": { |
+ "description": "Required. The end of the time interval.", |
+ "format": "google-datetime", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "aggregation.alignmentPeriod": { |
+ "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.", |
+ "format": "google-duration", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageSize": { |
+ "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.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
+ "orderBy": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "aggregation.crossSeriesReducer": { |
+ "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.", |
+ "enum": [ |
+ "REDUCE_NONE", |
+ "REDUCE_MEAN", |
+ "REDUCE_MIN", |
+ "REDUCE_MAX", |
+ "REDUCE_SUM", |
+ "REDUCE_STDDEV", |
+ "REDUCE_COUNT", |
+ "REDUCE_COUNT_TRUE", |
+ "REDUCE_FRACTION_TRUE", |
+ "REDUCE_PERCENTILE_99", |
+ "REDUCE_PERCENTILE_95", |
+ "REDUCE_PERCENTILE_50", |
+ "REDUCE_PERCENTILE_05" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v3/{+name}/timeSeries", |
+ "response": { |
+ "$ref": "ListTimeSeriesResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/monitoring", |
+ "https://www.googleapis.com/auth/monitoring.read" |
+ ] |
+ }, |
+ "create": { |
+ "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.", |
+ "httpMethod": "POST", |
+ "id": "monitoring.projects.timeSeries.create", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v3/{+name}/timeSeries", |
+ "request": { |
+ "$ref": "CreateTimeSeriesRequest" |
+ }, |
+ "response": { |
+ "$ref": "Empty" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/monitoring", |
+ "https://www.googleapis.com/auth/monitoring.write" |
+ ] |
+ } |
+ } |
+ }, |
+ "metricDescriptors": { |
+ "methods": { |
+ "delete": { |
+ "description": "Deletes a metric descriptor. Only user-created custom metrics can be deleted.", |
+ "httpMethod": "DELETE", |
+ "id": "monitoring.projects.metricDescriptors.delete", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "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\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/metricDescriptors/.+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v3/{+name}", |
+ "response": { |
+ "$ref": "Empty" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/monitoring" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.", |
+ "httpMethod": "GET", |
+ "id": "monitoring.projects.metricDescriptors.list", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "filter": { |
+ "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:\nmetric.type = starts_with(\"custom.googleapis.com/\")\n", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "A positive number that is the maximum number of results to return.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ } |
+ }, |
+ "path": "v3/{+name}/metricDescriptors", |
+ "response": { |
+ "$ref": "ListMetricDescriptorsResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/monitoring", |
+ "https://www.googleapis.com/auth/monitoring.read", |
+ "https://www.googleapis.com/auth/monitoring.write" |
+ ] |
+ }, |
+ "get": { |
+ "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.", |
+ "httpMethod": "GET", |
+ "id": "monitoring.projects.metricDescriptors.get", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "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\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/metricDescriptors/.+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v3/{+name}", |
+ "response": { |
+ "$ref": "MetricDescriptor" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/monitoring", |
+ "https://www.googleapis.com/auth/monitoring.read", |
+ "https://www.googleapis.com/auth/monitoring.write" |
+ ] |
+ }, |
+ "create": { |
+ "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics.", |
+ "httpMethod": "POST", |
+ "id": "monitoring.projects.metricDescriptors.create", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v3/{+name}/metricDescriptors", |
+ "request": { |
+ "$ref": "MetricDescriptor" |
+ }, |
+ "response": { |
+ "$ref": "MetricDescriptor" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/monitoring", |
+ "https://www.googleapis.com/auth/monitoring.write" |
+ ] |
+ } |
+ } |
+ } |
+ } |
+ } |
+ }, |
+ "revision": "20170302", |
+ "rootUrl": "https://monitoring.googleapis.com/", |
+ "schemas": { |
+ "CollectdValue": { |
+ "description": "A single data point from a collectd-based plugin.", |
+ "id": "CollectdValue", |
+ "properties": { |
+ "dataSourceName": { |
+ "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\".", |
+ "type": "string" |
+ }, |
+ "value": { |
+ "$ref": "TypedValue", |
+ "description": "The measurement value." |
+ }, |
+ "dataSourceType": { |
+ "description": "The type of measurement.", |
+ "enum": [ |
+ "UNSPECIFIED_DATA_SOURCE_TYPE", |
+ "GAUGE", |
+ "COUNTER", |
+ "DERIVE", |
+ "ABSOLUTE" |
+ ], |
+ "enumDescriptions": [ |
+ "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.", |
+ "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.", |
+ "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.", |
+ "A rate of change of the measurement.", |
+ "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "MetricDescriptor": { |
+ "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.", |
+ "id": "MetricDescriptor", |
+ "properties": { |
+ "description": { |
+ "description": "A detailed description of the metric, which can be used in documentation.", |
+ "type": "string" |
+ }, |
+ "displayName": { |
+ "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\".", |
+ "type": "string" |
+ }, |
+ "unit": { |
+ "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 '}'.", |
+ "type": "string" |
+ }, |
+ "labels": { |
+ "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.", |
+ "items": { |
+ "$ref": "LabelDescriptor" |
+ }, |
+ "type": "array" |
+ }, |
+ "name": { |
+ "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent resource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descriptor. For example, following is the resource name of a custom metric within the GCP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"\n", |
+ "type": "string" |
+ }, |
+ "type": { |
+ "description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine.googleapis.com/http/server/response_latencies\"\n", |
+ "type": "string" |
+ }, |
+ "valueType": { |
+ "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.", |
+ "enum": [ |
+ "VALUE_TYPE_UNSPECIFIED", |
+ "BOOL", |
+ "INT64", |
+ "DOUBLE", |
+ "STRING", |
+ "DISTRIBUTION", |
+ "MONEY" |
+ ], |
+ "enumDescriptions": [ |
+ "Do not use this default value.", |
+ "The value is a boolean. This value type can be used only if the metric kind is GAUGE.", |
+ "The value is a signed 64-bit integer.", |
+ "The value is a double precision floating point number.", |
+ "The value is a text string. This value type can be used only if the metric kind is GAUGE.", |
+ "The value is a Distribution.", |
+ "The value is money." |
+ ], |
+ "type": "string" |
+ }, |
+ "metricKind": { |
+ "description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.", |
+ "enum": [ |
+ "METRIC_KIND_UNSPECIFIED", |
+ "GAUGE", |
+ "DELTA", |
+ "CUMULATIVE" |
+ ], |
+ "enumDescriptions": [ |
+ "Do not use this default value.", |
+ "An instantaneous measurement of a value.", |
+ "The change in a value during a time interval.", |
+ "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." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "SourceContext": { |
+ "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.", |
+ "id": "SourceContext", |
+ "properties": { |
+ "fileName": { |
+ "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\".", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Range": { |
+ "description": "The range of the population values.", |
+ "id": "Range", |
+ "properties": { |
+ "min": { |
+ "description": "The minimum of the population values.", |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "max": { |
+ "description": "The maximum of the population values.", |
+ "format": "double", |
+ "type": "number" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListGroupsResponse": { |
+ "description": "The ListGroups response.", |
+ "id": "ListGroupsResponse", |
+ "properties": { |
+ "group": { |
+ "description": "The groups that match the specified filters.", |
+ "items": { |
+ "$ref": "Group" |
+ }, |
+ "type": "array" |
+ }, |
+ "nextPageToken": { |
+ "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.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListGroupMembersResponse": { |
+ "description": "The ListGroupMembers response.", |
+ "id": "ListGroupMembersResponse", |
+ "properties": { |
+ "nextPageToken": { |
+ "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.", |
+ "type": "string" |
+ }, |
+ "totalSize": { |
+ "description": "The total number of elements matching this request.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "members": { |
+ "description": "A set of monitored resources in the group.", |
+ "items": { |
+ "$ref": "MonitoredResource" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CreateCollectdTimeSeriesRequest": { |
+ "description": "The CreateCollectdTimeSeries request.", |
+ "id": "CreateCollectdTimeSeriesRequest", |
+ "properties": { |
+ "resource": { |
+ "$ref": "MonitoredResource", |
+ "description": "The monitored resource associated with the time series." |
+ }, |
+ "collectdPayloads": { |
+ "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.", |
+ "items": { |
+ "$ref": "CollectdPayload" |
+ }, |
+ "type": "array" |
+ }, |
+ "collectdVersion": { |
+ "description": "The version of collectd that collected the data. Example: \"5.3.0-192.el6\".", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListMonitoredResourceDescriptorsResponse": { |
+ "description": "The ListMonitoredResourcDescriptors response.", |
+ "id": "ListMonitoredResourceDescriptorsResponse", |
+ "properties": { |
+ "nextPageToken": { |
+ "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.", |
+ "type": "string" |
+ }, |
+ "resourceDescriptors": { |
+ "description": "The monitored resource descriptors that are available to this project and that match filter, if present.", |
+ "items": { |
+ "$ref": "MonitoredResourceDescriptor" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "TimeSeries": { |
+ "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.", |
+ "id": "TimeSeries", |
+ "properties": { |
+ "resource": { |
+ "$ref": "MonitoredResource", |
+ "description": "The associated resource. A fully-specified monitored resource used to identify the time series." |
+ }, |
+ "metricKind": { |
+ "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.", |
+ "enum": [ |
+ "METRIC_KIND_UNSPECIFIED", |
+ "GAUGE", |
+ "DELTA", |
+ "CUMULATIVE" |
+ ], |
+ "enumDescriptions": [ |
"Do not use this default value.", |
"An instantaneous measurement of a value.", |
"The change in a value during a time interval.", |
@@ -808,10 +1026,6 @@ |
"The value is money." |
], |
"type": "string" |
- }, |
- "resource": { |
- "$ref": "MonitoredResource", |
- "description": "The associated resource. A fully-specified monitored resource used to identify the time series." |
} |
}, |
"type": "object" |
@@ -834,16 +1048,16 @@ |
"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.", |
"id": "Distribution", |
"properties": { |
- "count": { |
- "description": "The number of values in the population. Must be non-negative.", |
- "format": "int64", |
- "type": "string" |
- }, |
"mean": { |
"description": "The arithmetic mean of the values in the population. If count is zero then this field must be zero.", |
"format": "double", |
"type": "number" |
}, |
+ "count": { |
+ "description": "The number of values in the population. Must be non-negative.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
"bucketCounts": { |
"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.", |
"items": { |
@@ -908,6 +1122,10 @@ |
"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.", |
"id": "MonitoredResourceDescriptor", |
"properties": { |
+ "name": { |
+ "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}\".", |
+ "type": "string" |
+ }, |
"displayName": { |
"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\".", |
"type": "string" |
@@ -926,10 +1144,6 @@ |
"$ref": "LabelDescriptor" |
}, |
"type": "array" |
- }, |
- "name": { |
- "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}\".", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -938,14 +1152,6 @@ |
"description": "A single strongly-typed value.", |
"id": "TypedValue", |
"properties": { |
- "boolValue": { |
- "description": "A Boolean value: true or false.", |
- "type": "boolean" |
- }, |
- "stringValue": { |
- "description": "A variable-length string value.", |
- "type": "string" |
- }, |
"doubleValue": { |
"description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.", |
"format": "double", |
@@ -959,6 +1165,14 @@ |
"distributionValue": { |
"$ref": "Distribution", |
"description": "A distribution value." |
+ }, |
+ "boolValue": { |
+ "description": "A Boolean value: true or false.", |
+ "type": "boolean" |
+ }, |
+ "stringValue": { |
+ "description": "A variable-length string value.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -967,20 +1181,6 @@ |
"description": "A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.", |
"id": "CollectdPayload", |
"properties": { |
- "pluginInstance": { |
- "description": "The instance name of the plugin Example: \"hdcl\".", |
- "type": "string" |
- }, |
- "endTime": { |
- "description": "The end time of the interval.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "startTime": { |
- "description": "The start time of the interval.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"values": { |
"description": "The measured values during this time interval. Each value must have a different dataSourceName.", |
"items": { |
@@ -992,10 +1192,6 @@ |
"description": "The measurement type instance. Example: \"used\".", |
"type": "string" |
}, |
- "type": { |
- "description": "The measurement type. Example: \"memory\".", |
- "type": "string" |
- }, |
"metadata": { |
"additionalProperties": { |
"$ref": "TypedValue" |
@@ -1003,9 +1199,27 @@ |
"description": "The measurement metadata. Example: \"process_id\" -> 12345", |
"type": "object" |
}, |
+ "type": { |
+ "description": "The measurement type. Example: \"memory\".", |
+ "type": "string" |
+ }, |
"plugin": { |
"description": "The name of the plugin. Example: \"disk\".", |
"type": "string" |
+ }, |
+ "pluginInstance": { |
+ "description": "The instance name of the plugin Example: \"hdcl\".", |
+ "type": "string" |
+ }, |
+ "endTime": { |
+ "description": "The end time of the interval.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "startTime": { |
+ "description": "The start time of the interval.", |
+ "format": "google-datetime", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1032,6 +1246,12 @@ |
}, |
"type": "object" |
}, |
+ "Empty": { |
+ "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 {}.", |
+ "id": "Empty", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
"Option": { |
"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.", |
"id": "Option", |
@@ -1051,10 +1271,21 @@ |
}, |
"type": "object" |
}, |
- "Empty": { |
- "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 {}.", |
- "id": "Empty", |
- "properties": {}, |
+ "TimeInterval": { |
+ "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.", |
+ "id": "TimeInterval", |
+ "properties": { |
+ "startTime": { |
+ "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.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "endTime": { |
+ "description": "Required. The end of the time interval.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ } |
+ }, |
"type": "object" |
}, |
"Explicit": { |
@@ -1072,27 +1303,15 @@ |
}, |
"type": "object" |
}, |
- "TimeInterval": { |
- "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.", |
- "id": "TimeInterval", |
- "properties": { |
- "endTime": { |
- "description": "Required. The end of the time interval.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "startTime": { |
- "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.", |
- "format": "google-datetime", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"Exponential": { |
"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)).", |
"id": "Exponential", |
"properties": { |
+ "growthFactor": { |
+ "description": "Must be greater than 1.", |
+ "format": "double", |
+ "type": "number" |
+ }, |
"scale": { |
"description": "Must be greater than 0.", |
"format": "double", |
@@ -1102,11 +1321,6 @@ |
"description": "Must be greater than 0.", |
"format": "int32", |
"type": "integer" |
- }, |
- "growthFactor": { |
- "description": "Must be greater than 1.", |
- "format": "double", |
- "type": "number" |
} |
}, |
"type": "object" |
@@ -1115,31 +1329,13 @@ |
"description": "A single data point in a time series.", |
"id": "Point", |
"properties": { |
- "interval": { |
- "$ref": "TimeInterval", |
- "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." |
- }, |
"value": { |
"$ref": "TypedValue", |
"description": "The value of the data point." |
- } |
- }, |
- "type": "object" |
- }, |
- "Metric": { |
- "description": "A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.", |
- "id": "Metric", |
- "properties": { |
- "type": { |
- "description": "An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", |
- "type": "string" |
}, |
- "labels": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.", |
- "type": "object" |
+ "interval": { |
+ "$ref": "TimeInterval", |
+ "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." |
} |
}, |
"type": "object" |
@@ -1148,6 +1344,39 @@ |
"description": "A single field of a message type.", |
"id": "Field", |
"properties": { |
+ "oneofIndex": { |
+ "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.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "packed": { |
+ "description": "Whether to use alternative packed wire representation.", |
+ "type": "boolean" |
+ }, |
+ "cardinality": { |
+ "description": "The field cardinality.", |
+ "enum": [ |
+ "CARDINALITY_UNKNOWN", |
+ "CARDINALITY_OPTIONAL", |
+ "CARDINALITY_REQUIRED", |
+ "CARDINALITY_REPEATED" |
+ ], |
+ "enumDescriptions": [ |
+ "For fields with unknown cardinality.", |
+ "For optional fields.", |
+ "For required fields. Proto2 syntax only.", |
+ "For repeated fields." |
+ ], |
+ "type": "string" |
+ }, |
+ "defaultValue": { |
+ "description": "The string value of the default value of this field. Proto2 syntax only.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The field name.", |
+ "type": "string" |
+ }, |
"typeUrl": { |
"description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Timestamp\".", |
"type": "string" |
@@ -1213,39 +1442,24 @@ |
"$ref": "Option" |
}, |
"type": "array" |
- }, |
- "oneofIndex": { |
- "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.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "cardinality": { |
- "description": "The field cardinality.", |
- "enum": [ |
- "CARDINALITY_UNKNOWN", |
- "CARDINALITY_OPTIONAL", |
- "CARDINALITY_REQUIRED", |
- "CARDINALITY_REPEATED" |
- ], |
- "enumDescriptions": [ |
- "For fields with unknown cardinality.", |
- "For optional fields.", |
- "For required fields. Proto2 syntax only.", |
- "For repeated fields." |
- ], |
- "type": "string" |
- }, |
- "packed": { |
- "description": "Whether to use alternative packed wire representation.", |
- "type": "boolean" |
- }, |
- "defaultValue": { |
- "description": "The string value of the default value of this field. Proto2 syntax only.", |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Metric": { |
+ "description": "A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.", |
+ "id": "Metric", |
+ "properties": { |
+ "type": { |
+ "description": "An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", |
"type": "string" |
}, |
- "name": { |
- "description": "The field name.", |
- "type": "string" |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.", |
+ "type": "object" |
} |
}, |
"type": "object" |
@@ -1254,14 +1468,6 @@ |
"description": "A description of a label.", |
"id": "LabelDescriptor", |
"properties": { |
- "key": { |
- "description": "The label key.", |
- "type": "string" |
- }, |
- "description": { |
- "description": "A human-readable description for the label.", |
- "type": "string" |
- }, |
"valueType": { |
"description": "The type of data that can be assigned to the label.", |
"enum": [ |
@@ -1275,6 +1481,14 @@ |
"A 64-bit signed integer." |
], |
"type": "string" |
+ }, |
+ "key": { |
+ "description": "The label key.", |
+ "type": "string" |
+ }, |
+ "description": { |
+ "description": "A human-readable description for the label.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1301,20 +1515,6 @@ |
"description": "A protocol buffer message type.", |
"id": "Type", |
"properties": { |
- "options": { |
- "description": "The protocol buffer options.", |
- "items": { |
- "$ref": "Option" |
- }, |
- "type": "array" |
- }, |
- "fields": { |
- "description": "The list of fields.", |
- "items": { |
- "$ref": "Field" |
- }, |
- "type": "array" |
- }, |
"name": { |
"description": "The fully qualified message name.", |
"type": "string" |
@@ -1341,6 +1541,20 @@ |
"sourceContext": { |
"$ref": "SourceContext", |
"description": "The source context." |
+ }, |
+ "options": { |
+ "description": "The protocol buffer options.", |
+ "items": { |
+ "$ref": "Option" |
+ }, |
+ "type": "array" |
+ }, |
+ "fields": { |
+ "description": "The list of fields.", |
+ "items": { |
+ "$ref": "Field" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -1349,6 +1563,10 @@ |
"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.", |
"id": "Group", |
"properties": { |
+ "filter": { |
+ "description": "The filter used to determine which monitored resources belong to this group.", |
+ "type": "string" |
+ }, |
"name": { |
"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.", |
"type": "string" |
@@ -1364,10 +1582,6 @@ |
"isCluster": { |
"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.", |
"type": "boolean" |
- }, |
- "filter": { |
- "description": "The filter used to determine which monitored resources belong to this group.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1390,220 +1604,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "CollectdValue": { |
- "description": "A single data point from a collectd-based plugin.", |
- "id": "CollectdValue", |
- "properties": { |
- "value": { |
- "$ref": "TypedValue", |
- "description": "The measurement value." |
- }, |
- "dataSourceType": { |
- "description": "The type of measurement.", |
- "enum": [ |
- "UNSPECIFIED_DATA_SOURCE_TYPE", |
- "GAUGE", |
- "COUNTER", |
- "DERIVE", |
- "ABSOLUTE" |
- ], |
- "enumDescriptions": [ |
- "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.", |
- "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.", |
- "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.", |
- "A rate of change of the measurement.", |
- "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA." |
- ], |
- "type": "string" |
- }, |
- "dataSourceName": { |
- "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\".", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "SourceContext": { |
- "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.", |
- "id": "SourceContext", |
- "properties": { |
- "fileName": { |
- "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\".", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "MetricDescriptor": { |
- "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.", |
- "id": "MetricDescriptor", |
- "properties": { |
- "unit": { |
- "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 '}'.", |
- "type": "string" |
- }, |
- "labels": { |
- "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.", |
- "items": { |
- "$ref": "LabelDescriptor" |
- }, |
- "type": "array" |
- }, |
- "name": { |
- "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent resource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descriptor. For example, following is the resource name of a custom metric within the GCP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"\n", |
- "type": "string" |
- }, |
- "type": { |
- "description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine.googleapis.com/http/server/response_latencies\"\n", |
- "type": "string" |
- }, |
- "valueType": { |
- "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.", |
- "enum": [ |
- "VALUE_TYPE_UNSPECIFIED", |
- "BOOL", |
- "INT64", |
- "DOUBLE", |
- "STRING", |
- "DISTRIBUTION", |
- "MONEY" |
- ], |
- "enumDescriptions": [ |
- "Do not use this default value.", |
- "The value is a boolean. This value type can be used only if the metric kind is GAUGE.", |
- "The value is a signed 64-bit integer.", |
- "The value is a double precision floating point number.", |
- "The value is a text string. This value type can be used only if the metric kind is GAUGE.", |
- "The value is a Distribution.", |
- "The value is money." |
- ], |
- "type": "string" |
- }, |
- "metricKind": { |
- "description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.", |
- "enum": [ |
- "METRIC_KIND_UNSPECIFIED", |
- "GAUGE", |
- "DELTA", |
- "CUMULATIVE" |
- ], |
- "enumDescriptions": [ |
- "Do not use this default value.", |
- "An instantaneous measurement of a value.", |
- "The change in a value during a time interval.", |
- "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." |
- ], |
- "type": "string" |
- }, |
- "displayName": { |
- "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\".", |
- "type": "string" |
- }, |
- "description": { |
- "description": "A detailed description of the metric, which can be used in documentation.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Range": { |
- "description": "The range of the population values.", |
- "id": "Range", |
- "properties": { |
- "min": { |
- "description": "The minimum of the population values.", |
- "format": "double", |
- "type": "number" |
- }, |
- "max": { |
- "description": "The maximum of the population values.", |
- "format": "double", |
- "type": "number" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListGroupsResponse": { |
- "description": "The ListGroups response.", |
- "id": "ListGroupsResponse", |
- "properties": { |
- "nextPageToken": { |
- "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.", |
- "type": "string" |
- }, |
- "group": { |
- "description": "The groups that match the specified filters.", |
- "items": { |
- "$ref": "Group" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "CreateCollectdTimeSeriesRequest": { |
- "description": "The CreateCollectdTimeSeries request.", |
- "id": "CreateCollectdTimeSeriesRequest", |
- "properties": { |
- "collectdVersion": { |
- "description": "The version of collectd that collected the data. Example: \"5.3.0-192.el6\".", |
- "type": "string" |
- }, |
- "resource": { |
- "$ref": "MonitoredResource", |
- "description": "The monitored resource associated with the time series." |
- }, |
- "collectdPayloads": { |
- "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.", |
- "items": { |
- "$ref": "CollectdPayload" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListGroupMembersResponse": { |
- "description": "The ListGroupMembers response.", |
- "id": "ListGroupMembersResponse", |
- "properties": { |
- "nextPageToken": { |
- "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.", |
- "type": "string" |
- }, |
- "totalSize": { |
- "description": "The total number of elements matching this request.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "members": { |
- "description": "A set of monitored resources in the group.", |
- "items": { |
- "$ref": "MonitoredResource" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListMonitoredResourceDescriptorsResponse": { |
- "description": "The ListMonitoredResourcDescriptors response.", |
- "id": "ListMonitoredResourceDescriptorsResponse", |
- "properties": { |
- "resourceDescriptors": { |
- "description": "The monitored resource descriptors that are available to this project and that match filter, if present.", |
- "items": { |
- "$ref": "MonitoredResourceDescriptor" |
- }, |
- "type": "array" |
- }, |
- "nextPageToken": { |
- "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.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |