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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/manufacturers__v1.json ('k') | discovery/googleapis/people__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/monitoring": {
6 "description": "View and write monitoring data for all of yo ur Google and third-party Cloud and API projects"
7 },
8 "https://www.googleapis.com/auth/monitoring.write": {
9 "description": "Publish metric data to your Google Cloud pro jects"
10 },
5 "https://www.googleapis.com/auth/cloud-platform": { 11 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 12 "description": "View and manage your data across Google Clou d Platform services"
7 }, 13 },
8 "https://www.googleapis.com/auth/monitoring.read": { 14 "https://www.googleapis.com/auth/monitoring.read": {
9 "description": "View monitoring data for all of your Google Cloud and third-party projects" 15 "description": "View monitoring data for all of your Google Cloud and third-party projects"
10 },
11 "https://www.googleapis.com/auth/monitoring.write": {
12 "description": "Publish metric data to your Google Cloud pro jects"
13 },
14 "https://www.googleapis.com/auth/monitoring": {
15 "description": "View and write monitoring data for all of yo ur Google and third-party Cloud and API projects"
16 } 16 }
17 } 17 }
18 } 18 }
19 }, 19 },
20 "basePath": "", 20 "basePath": "",
21 "baseUrl": "https://monitoring.googleapis.com/", 21 "baseUrl": "https://monitoring.googleapis.com/",
22 "batchPath": "batch", 22 "batchPath": "batch",
23 "canonicalName": "Monitoring", 23 "canonicalName": "Monitoring",
24 "description": "Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few excepti ons as noted on the individual method pages.", 24 "description": "Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few excepti ons as noted on the individual method pages.",
25 "discoveryVersion": "v1", 25 "discoveryVersion": "v1",
26 "documentationLink": "https://cloud.google.com/monitoring/api/", 26 "documentationLink": "https://cloud.google.com/monitoring/api/",
27 "icons": { 27 "icons": {
28 "x16": "http://www.google.com/images/icons/product/search-16.gif", 28 "x16": "http://www.google.com/images/icons/product/search-16.gif",
29 "x32": "http://www.google.com/images/icons/product/search-32.gif" 29 "x32": "http://www.google.com/images/icons/product/search-32.gif"
30 }, 30 },
31 "id": "monitoring:v3", 31 "id": "monitoring:v3",
32 "kind": "discovery#restDescription", 32 "kind": "discovery#restDescription",
33 "name": "monitoring", 33 "name": "monitoring",
34 "ownerDomain": "google.com", 34 "ownerDomain": "google.com",
35 "ownerName": "Google", 35 "ownerName": "Google",
36 "parameters": { 36 "parameters": {
37 "access_token": { 37 "upload_protocol": {
38 "description": "OAuth access token.", 38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
39 "location": "query", 39 "location": "query",
40 "type": "string" 40 "type": "string"
41 }, 41 },
42 "prettyPrint": { 42 "prettyPrint": {
43 "default": "true", 43 "default": "true",
44 "description": "Returns response with indentations and line breaks." , 44 "description": "Returns response with indentations and line breaks." ,
45 "location": "query", 45 "location": "query",
46 "type": "boolean" 46 "type": "boolean"
47 }, 47 },
48 "key": { 48 "uploadType": {
49 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 49 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
50 "location": "query", 50 "location": "query",
51 "type": "string" 51 "type": "string"
52 }, 52 },
53 "quotaUser": {
54 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
55 "location": "query",
56 "type": "string"
57 },
58 "pp": {
59 "default": "true",
60 "description": "Pretty-print response.",
61 "location": "query",
62 "type": "boolean"
63 },
64 "fields": { 53 "fields": {
65 "description": "Selector specifying which fields to include in a par tial response.", 54 "description": "Selector specifying which fields to include in a par tial response.",
66 "location": "query", 55 "location": "query",
67 "type": "string" 56 "type": "string"
68 }, 57 },
58 "$.xgafv": {
59 "description": "V1 error format.",
60 "enum": [
61 "1",
62 "2"
63 ],
64 "enumDescriptions": [
65 "v1 error format",
66 "v2 error format"
67 ],
68 "location": "query",
69 "type": "string"
70 },
71 "callback": {
72 "description": "JSONP",
73 "location": "query",
74 "type": "string"
75 },
69 "alt": { 76 "alt": {
70 "default": "json", 77 "default": "json",
71 "description": "Data format for response.", 78 "description": "Data format for response.",
72 "enum": [ 79 "enum": [
73 "json", 80 "json",
74 "media", 81 "media",
75 "proto" 82 "proto"
76 ], 83 ],
77 "enumDescriptions": [ 84 "enumDescriptions": [
78 "Responses with Content-Type of application/json", 85 "Responses with Content-Type of application/json",
79 "Media download with context-dependent Content-Type", 86 "Media download with context-dependent Content-Type",
80 "Responses with Content-Type of application/x-protobuf" 87 "Responses with Content-Type of application/x-protobuf"
81 ], 88 ],
82 "location": "query", 89 "location": "query",
83 "type": "string" 90 "type": "string"
84 }, 91 },
85 "$.xgafv": { 92 "access_token": {
86 "description": "V1 error format.", 93 "description": "OAuth access token.",
87 "enum": [
88 "1",
89 "2"
90 ],
91 "enumDescriptions": [
92 "v1 error format",
93 "v2 error format"
94 ],
95 "location": "query", 94 "location": "query",
96 "type": "string" 95 "type": "string"
97 }, 96 },
98 "callback": { 97 "key": {
99 "description": "JSONP", 98 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
100 "location": "query", 99 "location": "query",
101 "type": "string" 100 "type": "string"
102 }, 101 },
103 "oauth_token": { 102 "quotaUser": {
104 "description": "OAuth 2.0 token for the current user.", 103 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
105 "location": "query", 104 "location": "query",
106 "type": "string" 105 "type": "string"
107 }, 106 },
108 "uploadType": { 107 "pp": {
109 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 108 "default": "true",
109 "description": "Pretty-print response.",
110 "location": "query",
111 "type": "boolean"
112 },
113 "oauth_token": {
114 "description": "OAuth 2.0 token for the current user.",
110 "location": "query", 115 "location": "query",
111 "type": "string" 116 "type": "string"
112 }, 117 },
113 "bearer_token": { 118 "bearer_token": {
114 "description": "OAuth bearer token.", 119 "description": "OAuth bearer token.",
115 "location": "query", 120 "location": "query",
116 "type": "string" 121 "type": "string"
117 },
118 "upload_protocol": {
119 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
120 "location": "query",
121 "type": "string"
122 } 122 }
123 }, 123 },
124 "protocol": "rest", 124 "protocol": "rest",
125 "resources": { 125 "resources": {
126 "projects": { 126 "projects": {
127 "resources": { 127 "resources": {
128 "collectdTimeSeries": { 128 "timeSeries": {
129 "methods": { 129 "methods": {
130 "list": {
131 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.",
132 "httpMethod": "GET",
133 "id": "monitoring.projects.timeSeries.list",
134 "parameterOrder": [
135 "name"
136 ],
137 "parameters": {
138 "pageToken": {
139 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
140 "location": "query",
141 "type": "string"
142 },
143 "aggregation.perSeriesAligner": {
144 "description": "The approach to be used to a lign individual time series. Not all alignment functions may be applied to all t ime series, depending on the metric type and value type of the original time ser ies. Alignment may change the metric type or the value type of the time series.T ime series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.",
145 "enum": [
146 "ALIGN_NONE",
147 "ALIGN_DELTA",
148 "ALIGN_RATE",
149 "ALIGN_INTERPOLATE",
150 "ALIGN_NEXT_OLDER",
151 "ALIGN_MIN",
152 "ALIGN_MAX",
153 "ALIGN_MEAN",
154 "ALIGN_COUNT",
155 "ALIGN_SUM",
156 "ALIGN_STDDEV",
157 "ALIGN_COUNT_TRUE",
158 "ALIGN_FRACTION_TRUE",
159 "ALIGN_PERCENTILE_99",
160 "ALIGN_PERCENTILE_95",
161 "ALIGN_PERCENTILE_50",
162 "ALIGN_PERCENTILE_05"
163 ],
164 "location": "query",
165 "type": "string"
166 },
167 "interval.startTime": {
168 "description": "Optional. The beginning of t he time interval. The default value for the start time is the end time. The star t time must not be later than the end time.",
169 "format": "google-datetime",
170 "location": "query",
171 "type": "string"
172 },
173 "view": {
174 "description": "Specifies which information is returned about the time series.",
175 "enum": [
176 "FULL",
177 "HEADERS"
178 ],
179 "location": "query",
180 "type": "string"
181 },
182 "aggregation.groupByFields": {
183 "description": "The set of fields to preserv e when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the group ing fields. Each individual time series is a member of exactly one subset. The c rossSeriesReducer is applied to each subset of time series. It is not possible t o reduce across different resource types, so this field implicitly contains reso urce.type. Fields not specified in groupByFields are aggregated away. If groupBy Fields is not specified and all the time series have the same resource type, the n the time series are aggregated into a single output time series. If crossSerie sReducer is not defined, this field is ignored.",
184 "location": "query",
185 "repeated": true,
186 "type": "string"
187 },
188 "name": {
189 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
190 "location": "path",
191 "pattern": "^projects/[^/]+$",
192 "required": true,
193 "type": "string"
194 },
195 "interval.endTime": {
196 "description": "Required. The end of the tim e interval.",
197 "format": "google-datetime",
198 "location": "query",
199 "type": "string"
200 },
201 "aggregation.alignmentPeriod": {
202 "description": "The alignment period for per -time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_ NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returne d.",
203 "format": "google-duration",
204 "location": "query",
205 "type": "string"
206 },
207 "pageSize": {
208 "description": "A positive number that is th e maximum number of results to return. When view field sets to FULL, it limits t he number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.",
209 "format": "int32",
210 "location": "query",
211 "type": "integer"
212 },
213 "orderBy": {
214 "description": "Specifies the order in which the points of the time series should be returned. By default, results are not o rdered. Currently, this field must be left blank.",
215 "location": "query",
216 "type": "string"
217 },
218 "aggregation.crossSeriesReducer": {
219 "description": "The approach to be used to c ombine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Re duction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSe riesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne d.",
220 "enum": [
221 "REDUCE_NONE",
222 "REDUCE_MEAN",
223 "REDUCE_MIN",
224 "REDUCE_MAX",
225 "REDUCE_SUM",
226 "REDUCE_STDDEV",
227 "REDUCE_COUNT",
228 "REDUCE_COUNT_TRUE",
229 "REDUCE_FRACTION_TRUE",
230 "REDUCE_PERCENTILE_99",
231 "REDUCE_PERCENTILE_95",
232 "REDUCE_PERCENTILE_50",
233 "REDUCE_PERCENTILE_05"
234 ],
235 "location": "query",
236 "type": "string"
237 },
238 "filter": {
239 "description": "A monitoring filter that spe cifies which time series should be returned. The filter must specify a single me tric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\ n metric.label.instance_name = \"my-instance-name\"\n",
240 "location": "query",
241 "type": "string"
242 }
243 },
244 "path": "v3/{+name}/timeSeries",
245 "response": {
246 "$ref": "ListTimeSeriesResponse"
247 },
248 "scopes": [
249 "https://www.googleapis.com/auth/cloud-platform" ,
250 "https://www.googleapis.com/auth/monitoring",
251 "https://www.googleapis.com/auth/monitoring.read "
252 ]
253 },
130 "create": { 254 "create": {
131 "description": "Stackdriver Monitoring Agent only: C reates a new time series.<aside class=\"caution\">This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</asid e>", 255 "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were writte n. If any time series could not be written, a corresponding failure message is i ncluded in the error response.",
132 "httpMethod": "POST", 256 "httpMethod": "POST",
133 "id": "monitoring.projects.collectdTimeSeries.create ", 257 "id": "monitoring.projects.timeSeries.create",
134 "parameterOrder": [ 258 "parameterOrder": [
135 "name" 259 "name"
136 ], 260 ],
137 "parameters": { 261 "parameters": {
138 "name": { 262 "name": {
139 "description": "The project in which to crea te the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".", 263 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
140 "location": "path", 264 "location": "path",
141 "pattern": "^projects/[^/]+$", 265 "pattern": "^projects/[^/]+$",
142 "required": true, 266 "required": true,
143 "type": "string" 267 "type": "string"
144 } 268 }
145 }, 269 },
146 "path": "v3/{+name}/collectdTimeSeries", 270 "path": "v3/{+name}/timeSeries",
147 "request": { 271 "request": {
148 "$ref": "CreateCollectdTimeSeriesRequest" 272 "$ref": "CreateTimeSeriesRequest"
149 }, 273 },
150 "response": { 274 "response": {
151 "$ref": "Empty" 275 "$ref": "Empty"
152 }, 276 },
153 "scopes": [ 277 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform" , 278 "https://www.googleapis.com/auth/cloud-platform" ,
155 "https://www.googleapis.com/auth/monitoring", 279 "https://www.googleapis.com/auth/monitoring",
156 "https://www.googleapis.com/auth/monitoring.writ e" 280 "https://www.googleapis.com/auth/monitoring.writ e"
157 ] 281 ]
158 } 282 }
159 } 283 }
160 }, 284 },
161 "groups": { 285 "metricDescriptors": {
162 "methods": { 286 "methods": {
163 "update": { 287 "list": {
164 "description": "Updates an existing group. You can c hange any group attributes except name.", 288 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
165 "httpMethod": "PUT",
166 "id": "monitoring.projects.groups.update",
167 "parameterOrder": [
168 "name"
169 ],
170 "parameters": {
171 "validateOnly": {
172 "description": "If true, validate this reque st but do not update the existing group.",
173 "location": "query",
174 "type": "boolean"
175 },
176 "name": {
177 "description": "Output only. The name of thi s group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". Wh en creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.",
178 "location": "path",
179 "pattern": "^projects/[^/]+/groups/[^/]+$",
180 "required": true,
181 "type": "string"
182 }
183 },
184 "path": "v3/{+name}",
185 "request": {
186 "$ref": "Group"
187 },
188 "response": {
189 "$ref": "Group"
190 },
191 "scopes": [
192 "https://www.googleapis.com/auth/cloud-platform" ,
193 "https://www.googleapis.com/auth/monitoring"
194 ]
195 },
196 "get": {
197 "description": "Gets a single group.",
198 "httpMethod": "GET", 289 "httpMethod": "GET",
199 "id": "monitoring.projects.groups.get", 290 "id": "monitoring.projects.metricDescriptors.list",
200 "parameterOrder": [ 291 "parameterOrder": [
201 "name" 292 "name"
202 ], 293 ],
203 "parameters": { 294 "parameters": {
204 "name": { 295 "name": {
205 "description": "The group to retrieve. The f ormat is \"projects/{project_id_or_number}/groups/{group_id}\".", 296 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
206 "location": "path",
207 "pattern": "^projects/[^/]+/groups/[^/]+$",
208 "required": true,
209 "type": "string"
210 }
211 },
212 "path": "v3/{+name}",
213 "response": {
214 "$ref": "Group"
215 },
216 "scopes": [
217 "https://www.googleapis.com/auth/cloud-platform" ,
218 "https://www.googleapis.com/auth/monitoring",
219 "https://www.googleapis.com/auth/monitoring.read "
220 ]
221 },
222 "create": {
223 "description": "Creates a new group.",
224 "httpMethod": "POST",
225 "id": "monitoring.projects.groups.create",
226 "parameterOrder": [
227 "name"
228 ],
229 "parameters": {
230 "validateOnly": {
231 "description": "If true, validate this reque st but do not create the group.",
232 "location": "query",
233 "type": "boolean"
234 },
235 "name": {
236 "description": "The project in which to crea te the group. The format is \"projects/{project_id_or_number}\".",
237 "location": "path", 297 "location": "path",
238 "pattern": "^projects/[^/]+$", 298 "pattern": "^projects/[^/]+$",
239 "required": true, 299 "required": true,
240 "type": "string" 300 "type": "string"
241 } 301 },
242 }, 302 "pageToken": {
243 "path": "v3/{+name}/groups", 303 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
244 "request": {
245 "$ref": "Group"
246 },
247 "response": {
248 "$ref": "Group"
249 },
250 "scopes": [
251 "https://www.googleapis.com/auth/cloud-platform" ,
252 "https://www.googleapis.com/auth/monitoring"
253 ]
254 },
255 "list": {
256 "description": "Lists the existing groups.",
257 "httpMethod": "GET",
258 "id": "monitoring.projects.groups.list",
259 "parameterOrder": [
260 "name"
261 ],
262 "parameters": {
263 "descendantsOfGroup": {
264 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns the descendants of the specifie d group. This is a superset of the results returned by the childrenOfGroup filte r, and includes children-of-children, and so forth.",
265 "location": "query", 304 "location": "query",
266 "type": "string" 305 "type": "string"
267 }, 306 },
268 "pageSize": { 307 "pageSize": {
269 "description": "A positive number that is th e maximum number of results to return.", 308 "description": "A positive number that is th e maximum number of results to return.",
270 "format": "int32", 309 "format": "int32",
271 "location": "query", 310 "location": "query",
272 "type": "integer" 311 "type": "integer"
273 }, 312 },
274 "childrenOfGroup": { 313 "filter": {
275 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups whose parentName field c ontains the group name. If no groups have this parent, the results are empty.", 314 "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the followi ng filter matches all custom metrics:\nmetric.type = starts_with(\"custom.google apis.com/\")\n",
276 "location": "query",
277 "type": "string"
278 },
279 "name": {
280 "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".",
281 "location": "path",
282 "pattern": "^projects/[^/]+$",
283 "required": true,
284 "type": "string"
285 },
286 "ancestorsOfGroup": {
287 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of th e specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.",
288 "location": "query",
289 "type": "string"
290 },
291 "pageToken": {
292 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
293 "location": "query", 315 "location": "query",
294 "type": "string" 316 "type": "string"
295 } 317 }
296 }, 318 },
297 "path": "v3/{+name}/groups", 319 "path": "v3/{+name}/metricDescriptors",
298 "response": { 320 "response": {
299 "$ref": "ListGroupsResponse" 321 "$ref": "ListMetricDescriptorsResponse"
300 }, 322 },
301 "scopes": [ 323 "scopes": [
302 "https://www.googleapis.com/auth/cloud-platform" , 324 "https://www.googleapis.com/auth/cloud-platform" ,
303 "https://www.googleapis.com/auth/monitoring", 325 "https://www.googleapis.com/auth/monitoring",
304 "https://www.googleapis.com/auth/monitoring.read " 326 "https://www.googleapis.com/auth/monitoring.read ",
327 "https://www.googleapis.com/auth/monitoring.writ e"
305 ] 328 ]
306 }, 329 },
307 "delete": {
308 "description": "Deletes an existing group.",
309 "httpMethod": "DELETE",
310 "id": "monitoring.projects.groups.delete",
311 "parameterOrder": [
312 "name"
313 ],
314 "parameters": {
315 "name": {
316 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".",
317 "location": "path",
318 "pattern": "^projects/[^/]+/groups/[^/]+$",
319 "required": true,
320 "type": "string"
321 }
322 },
323 "path": "v3/{+name}",
324 "response": {
325 "$ref": "Empty"
326 },
327 "scopes": [
328 "https://www.googleapis.com/auth/cloud-platform" ,
329 "https://www.googleapis.com/auth/monitoring"
330 ]
331 }
332 },
333 "resources": {
334 "members": {
335 "methods": {
336 "list": {
337 "description": "Lists the monitored resource s that are members of a group.",
338 "httpMethod": "GET",
339 "id": "monitoring.projects.groups.members.li st",
340 "parameterOrder": [
341 "name"
342 ],
343 "parameters": {
344 "filter": {
345 "description": "An optional list fil ter describing the members to be returned. The filter may reference the type, la bels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filt er:\nresource.type = \"gce_instance\"\n",
346 "location": "query",
347 "type": "string"
348 },
349 "interval.endTime": {
350 "description": "Required. The end of the time interval.",
351 "format": "google-datetime",
352 "location": "query",
353 "type": "string"
354 },
355 "interval.startTime": {
356 "description": "Optional. The beginn ing of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
357 "format": "google-datetime",
358 "location": "query",
359 "type": "string"
360 },
361 "pageSize": {
362 "description": "A positive number th at is the maximum number of results to return.",
363 "format": "int32",
364 "location": "query",
365 "type": "integer"
366 },
367 "name": {
368 "description": "The group whose memb ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id }\".",
369 "location": "path",
370 "pattern": "^projects/[^/]+/groups/[ ^/]+$",
371 "required": true,
372 "type": "string"
373 },
374 "pageToken": {
375 "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.",
376 "location": "query",
377 "type": "string"
378 }
379 },
380 "path": "v3/{+name}/members",
381 "response": {
382 "$ref": "ListGroupMembersResponse"
383 },
384 "scopes": [
385 "https://www.googleapis.com/auth/cloud-p latform",
386 "https://www.googleapis.com/auth/monitor ing",
387 "https://www.googleapis.com/auth/monitor ing.read"
388 ]
389 }
390 }
391 }
392 }
393 },
394 "metricDescriptors": {
395 "methods": {
396 "get": { 330 "get": {
397 "description": "Gets a single metric descriptor. Thi s method does not require a Stackdriver account.", 331 "description": "Gets a single metric descriptor. Thi s method does not require a Stackdriver account.",
398 "httpMethod": "GET", 332 "httpMethod": "GET",
399 "id": "monitoring.projects.metricDescriptors.get", 333 "id": "monitoring.projects.metricDescriptors.get",
400 "parameterOrder": [ 334 "parameterOrder": [
401 "name" 335 "name"
402 ], 336 ],
403 "parameters": { 337 "parameters": {
404 "name": { 338 "name": {
405 "description": "The metric descriptor on whi ch to execute the request. The format is \"projects/{project_id_or_number}/metri cDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googlea pis.com/instance/disk/read_bytes_count\".", 339 "description": "The metric descriptor on whi ch to execute the request. The format is \"projects/{project_id_or_number}/metri cDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googlea pis.com/instance/disk/read_bytes_count\".",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 }, 376 },
443 "response": { 377 "response": {
444 "$ref": "MetricDescriptor" 378 "$ref": "MetricDescriptor"
445 }, 379 },
446 "scopes": [ 380 "scopes": [
447 "https://www.googleapis.com/auth/cloud-platform" , 381 "https://www.googleapis.com/auth/cloud-platform" ,
448 "https://www.googleapis.com/auth/monitoring", 382 "https://www.googleapis.com/auth/monitoring",
449 "https://www.googleapis.com/auth/monitoring.writ e" 383 "https://www.googleapis.com/auth/monitoring.writ e"
450 ] 384 ]
451 }, 385 },
452 "list": {
453 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
454 "httpMethod": "GET",
455 "id": "monitoring.projects.metricDescriptors.list",
456 "parameterOrder": [
457 "name"
458 ],
459 "parameters": {
460 "pageSize": {
461 "description": "A positive number that is th e maximum number of results to return.",
462 "format": "int32",
463 "location": "query",
464 "type": "integer"
465 },
466 "filter": {
467 "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the followi ng filter matches all custom metrics:\nmetric.type = starts_with(\"custom.google apis.com/\")\n",
468 "location": "query",
469 "type": "string"
470 },
471 "name": {
472 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
473 "location": "path",
474 "pattern": "^projects/[^/]+$",
475 "required": true,
476 "type": "string"
477 },
478 "pageToken": {
479 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
480 "location": "query",
481 "type": "string"
482 }
483 },
484 "path": "v3/{+name}/metricDescriptors",
485 "response": {
486 "$ref": "ListMetricDescriptorsResponse"
487 },
488 "scopes": [
489 "https://www.googleapis.com/auth/cloud-platform" ,
490 "https://www.googleapis.com/auth/monitoring",
491 "https://www.googleapis.com/auth/monitoring.read ",
492 "https://www.googleapis.com/auth/monitoring.writ e"
493 ]
494 },
495 "delete": { 386 "delete": {
496 "description": "Deletes a metric descriptor. Only us er-created custom metrics can be deleted.", 387 "description": "Deletes a metric descriptor. Only us er-created custom metrics can be deleted.",
497 "httpMethod": "DELETE", 388 "httpMethod": "DELETE",
498 "id": "monitoring.projects.metricDescriptors.delete" , 389 "id": "monitoring.projects.metricDescriptors.delete" ,
499 "parameterOrder": [ 390 "parameterOrder": [
500 "name" 391 "name"
501 ], 392 ],
502 "parameters": { 393 "parameters": {
503 "name": { 394 "name": {
504 "description": "The metric descriptor on whi ch to execute the request. The format is \"projects/{project_id_or_number}/metri cDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.co m/my_test_metric\".", 395 "description": "The metric descriptor on whi ch to execute the request. The format is \"projects/{project_id_or_number}/metri cDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.co m/my_test_metric\".",
505 "location": "path", 396 "location": "path",
506 "pattern": "^projects/[^/]+/metricDescriptor s/.+$", 397 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
507 "required": true, 398 "required": true,
508 "type": "string" 399 "type": "string"
509 } 400 }
510 }, 401 },
511 "path": "v3/{+name}", 402 "path": "v3/{+name}",
512 "response": { 403 "response": {
513 "$ref": "Empty" 404 "$ref": "Empty"
514 }, 405 },
515 "scopes": [ 406 "scopes": [
516 "https://www.googleapis.com/auth/cloud-platform" , 407 "https://www.googleapis.com/auth/cloud-platform" ,
517 "https://www.googleapis.com/auth/monitoring" 408 "https://www.googleapis.com/auth/monitoring"
518 ] 409 ]
519 } 410 }
520 } 411 }
521 }, 412 },
522 "timeSeries": { 413 "monitoredResourceDescriptors": {
523 "methods": { 414 "methods": {
524 "create": { 415 "list": {
525 "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were writte n. If any time series could not be written, a corresponding failure message is i ncluded in the error response.", 416 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.",
526 "httpMethod": "POST", 417 "httpMethod": "GET",
527 "id": "monitoring.projects.timeSeries.create", 418 "id": "monitoring.projects.monitoredResourceDescript ors.list",
528 "parameterOrder": [ 419 "parameterOrder": [
529 "name" 420 "name"
530 ], 421 ],
531 "parameters": { 422 "parameters": {
532 "name": { 423 "name": {
533 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 424 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
534 "location": "path", 425 "location": "path",
535 "pattern": "^projects/[^/]+$", 426 "pattern": "^projects/[^/]+$",
536 "required": true, 427 "required": true,
537 "type": "string" 428 "type": "string"
538 }
539 },
540 "path": "v3/{+name}/timeSeries",
541 "request": {
542 "$ref": "CreateTimeSeriesRequest"
543 },
544 "response": {
545 "$ref": "Empty"
546 },
547 "scopes": [
548 "https://www.googleapis.com/auth/cloud-platform" ,
549 "https://www.googleapis.com/auth/monitoring",
550 "https://www.googleapis.com/auth/monitoring.writ e"
551 ]
552 },
553 "list": {
554 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.",
555 "httpMethod": "GET",
556 "id": "monitoring.projects.timeSeries.list",
557 "parameterOrder": [
558 "name"
559 ],
560 "parameters": {
561 "filter": {
562 "description": "A monitoring filter that spe cifies which time series should be returned. The filter must specify a single me tric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\ n metric.label.instance_name = \"my-instance-name\"\n",
563 "location": "query",
564 "type": "string"
565 },
566 "aggregation.groupByFields": {
567 "description": "The set of fields to preserv e when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the group ing fields. Each individual time series is a member of exactly one subset. The c rossSeriesReducer is applied to each subset of time series. It is not possible t o reduce across different resource types, so this field implicitly contains reso urce.type. Fields not specified in groupByFields are aggregated away. If groupBy Fields is not specified and all the time series have the same resource type, the n the time series are aggregated into a single output time series. If crossSerie sReducer is not defined, this field is ignored.",
568 "location": "query",
569 "repeated": true,
570 "type": "string"
571 },
572 "aggregation.crossSeriesReducer": {
573 "description": "The approach to be used to c ombine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Re duction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSe riesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returne d.",
574 "enum": [
575 "REDUCE_NONE",
576 "REDUCE_MEAN",
577 "REDUCE_MIN",
578 "REDUCE_MAX",
579 "REDUCE_SUM",
580 "REDUCE_STDDEV",
581 "REDUCE_COUNT",
582 "REDUCE_COUNT_TRUE",
583 "REDUCE_FRACTION_TRUE",
584 "REDUCE_PERCENTILE_99",
585 "REDUCE_PERCENTILE_95",
586 "REDUCE_PERCENTILE_50",
587 "REDUCE_PERCENTILE_05"
588 ],
589 "location": "query",
590 "type": "string"
591 },
592 "interval.endTime": {
593 "description": "Required. The end of the tim e interval.",
594 "format": "google-datetime",
595 "location": "query",
596 "type": "string"
597 },
598 "interval.startTime": {
599 "description": "Optional. The beginning of t he time interval. The default value for the start time is the end time. The star t time must not be later than the end time.",
600 "format": "google-datetime",
601 "location": "query",
602 "type": "string"
603 },
604 "pageSize": {
605 "description": "A positive number that is th e maximum number of results to return. When view field sets to FULL, it limits t he number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.",
606 "format": "int32",
607 "location": "query",
608 "type": "integer"
609 },
610 "view": {
611 "description": "Specifies which information is returned about the time series.",
612 "enum": [
613 "FULL",
614 "HEADERS"
615 ],
616 "location": "query",
617 "type": "string"
618 },
619 "name": {
620 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
621 "location": "path",
622 "pattern": "^projects/[^/]+$",
623 "required": true,
624 "type": "string"
625 },
626 "aggregation.alignmentPeriod": {
627 "description": "The alignment period for per -time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_ NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returne d.",
628 "format": "google-duration",
629 "location": "query",
630 "type": "string"
631 },
632 "aggregation.perSeriesAligner": {
633 "description": "The approach to be used to a lign individual time series. Not all alignment functions may be applied to all t ime series, depending on the metric type and value type of the original time ser ies. Alignment may change the metric type or the value type of the time series.T ime series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.",
634 "enum": [
635 "ALIGN_NONE",
636 "ALIGN_DELTA",
637 "ALIGN_RATE",
638 "ALIGN_INTERPOLATE",
639 "ALIGN_NEXT_OLDER",
640 "ALIGN_MIN",
641 "ALIGN_MAX",
642 "ALIGN_MEAN",
643 "ALIGN_COUNT",
644 "ALIGN_SUM",
645 "ALIGN_STDDEV",
646 "ALIGN_COUNT_TRUE",
647 "ALIGN_FRACTION_TRUE",
648 "ALIGN_PERCENTILE_99",
649 "ALIGN_PERCENTILE_95",
650 "ALIGN_PERCENTILE_50",
651 "ALIGN_PERCENTILE_05"
652 ],
653 "location": "query",
654 "type": "string"
655 },
656 "orderBy": {
657 "description": "Specifies the order in which the points of the time series should be returned. By default, results are not o rdered. Currently, this field must be left blank.",
658 "location": "query",
659 "type": "string"
660 }, 429 },
661 "pageToken": { 430 "pageToken": {
662 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", 431 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
663 "location": "query", 432 "location": "query",
664 "type": "string" 433 "type": "string"
665 } 434 },
666 }, 435 "pageSize": {
667 "path": "v3/{+name}/timeSeries", 436 "description": "A positive number that is th e maximum number of results to return.",
668 "response": { 437 "format": "int32",
669 "$ref": "ListTimeSeriesResponse" 438 "location": "query",
670 }, 439 "type": "integer"
671 "scopes": [ 440 },
672 "https://www.googleapis.com/auth/cloud-platform" , 441 "filter": {
673 "https://www.googleapis.com/auth/monitoring", 442 "description": "An optional filter describin g the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engin e descriptors that have an id label:\nresource.type = starts_with(\"gce_\") AND resource.label:id\n",
674 "https://www.googleapis.com/auth/monitoring.read " 443 "location": "query",
675 ] 444 "type": "string"
676 } 445 }
677 } 446 },
678 }, 447 "path": "v3/{+name}/monitoredResourceDescriptors",
679 "monitoredResourceDescriptors": { 448 "response": {
680 "methods": { 449 "$ref": "ListMonitoredResourceDescriptorsRespons e"
450 },
451 "scopes": [
452 "https://www.googleapis.com/auth/cloud-platform" ,
453 "https://www.googleapis.com/auth/monitoring",
454 "https://www.googleapis.com/auth/monitoring.read ",
455 "https://www.googleapis.com/auth/monitoring.writ e"
456 ]
457 },
681 "get": { 458 "get": {
682 "description": "Gets a single monitored resource des criptor. This method does not require a Stackdriver account.", 459 "description": "Gets a single monitored resource des criptor. This method does not require a Stackdriver account.",
683 "httpMethod": "GET", 460 "httpMethod": "GET",
684 "id": "monitoring.projects.monitoredResourceDescript ors.get", 461 "id": "monitoring.projects.monitoredResourceDescript ors.get",
685 "parameterOrder": [ 462 "parameterOrder": [
686 "name" 463 "name"
687 ], 464 ],
688 "parameters": { 465 "parameters": {
689 "name": { 466 "name": {
690 "description": "The monitored resource descr iptor to get. The format is \"projects/{project_id_or_number}/monitoredResourceD escriptors/{resource_type}\". The {resource_type} is a predefined type, such as cloudsql_database.", 467 "description": "The monitored resource descr iptor to get. The format is \"projects/{project_id_or_number}/monitoredResourceD escriptors/{resource_type}\". The {resource_type} is a predefined type, such as cloudsql_database.",
691 "location": "path", 468 "location": "path",
692 "pattern": "^projects/[^/]+/monitoredResourc eDescriptors/[^/]+$", 469 "pattern": "^projects/[^/]+/monitoredResourc eDescriptors/[^/]+$",
693 "required": true, 470 "required": true,
694 "type": "string" 471 "type": "string"
695 } 472 }
696 }, 473 },
697 "path": "v3/{+name}", 474 "path": "v3/{+name}",
698 "response": { 475 "response": {
699 "$ref": "MonitoredResourceDescriptor" 476 "$ref": "MonitoredResourceDescriptor"
700 }, 477 },
701 "scopes": [ 478 "scopes": [
702 "https://www.googleapis.com/auth/cloud-platform" , 479 "https://www.googleapis.com/auth/cloud-platform" ,
703 "https://www.googleapis.com/auth/monitoring", 480 "https://www.googleapis.com/auth/monitoring",
704 "https://www.googleapis.com/auth/monitoring.read ", 481 "https://www.googleapis.com/auth/monitoring.read ",
705 "https://www.googleapis.com/auth/monitoring.writ e" 482 "https://www.googleapis.com/auth/monitoring.writ e"
706 ] 483 ]
707 }, 484 }
485 }
486 },
487 "groups": {
488 "methods": {
708 "list": { 489 "list": {
709 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.", 490 "description": "Lists the existing groups.",
710 "httpMethod": "GET", 491 "httpMethod": "GET",
711 "id": "monitoring.projects.monitoredResourceDescript ors.list", 492 "id": "monitoring.projects.groups.list",
712 "parameterOrder": [ 493 "parameterOrder": [
713 "name" 494 "name"
714 ], 495 ],
715 "parameters": { 496 "parameters": {
497 "pageToken": {
498 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
499 "location": "query",
500 "type": "string"
501 },
716 "pageSize": { 502 "pageSize": {
717 "description": "A positive number that is th e maximum number of results to return.", 503 "description": "A positive number that is th e maximum number of results to return.",
718 "format": "int32", 504 "format": "int32",
719 "location": "query", 505 "location": "query",
720 "type": "integer" 506 "type": "integer"
721 }, 507 },
722 "filter": { 508 "ancestorsOfGroup": {
723 "description": "An optional filter describin g the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engin e descriptors that have an id label:\nresource.type = starts_with(\"gce_\") AND resource.label:id\n", 509 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of th e specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.",
724 "location": "query", 510 "location": "query",
725 "type": "string" 511 "type": "string"
726 }, 512 },
727 "name": { 513 "name": {
728 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 514 "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".",
729 "location": "path", 515 "location": "path",
730 "pattern": "^projects/[^/]+$", 516 "pattern": "^projects/[^/]+$",
731 "required": true, 517 "required": true,
732 "type": "string" 518 "type": "string"
733 }, 519 },
734 "pageToken": { 520 "childrenOfGroup": {
735 "description": "If this field is not empty t hen it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", 521 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns groups whose parentName field c ontains the group name. If no groups have this parent, the results are empty.",
736 "location": "query", 522 "location": "query",
737 "type": "string" 523 "type": "string"
738 } 524 },
739 }, 525 "descendantsOfGroup": {
740 "path": "v3/{+name}/monitoredResourceDescriptors", 526 "description": "A group name: \"projects/{pr oject_id_or_number}/groups/{group_id}\". Returns the descendants of the specifie d group. This is a superset of the results returned by the childrenOfGroup filte r, and includes children-of-children, and so forth.",
741 "response": { 527 "location": "query",
742 "$ref": "ListMonitoredResourceDescriptorsRespons e" 528 "type": "string"
743 }, 529 }
744 "scopes": [ 530 },
745 "https://www.googleapis.com/auth/cloud-platform" , 531 "path": "v3/{+name}/groups",
746 "https://www.googleapis.com/auth/monitoring", 532 "response": {
747 "https://www.googleapis.com/auth/monitoring.read ", 533 "$ref": "ListGroupsResponse"
534 },
535 "scopes": [
536 "https://www.googleapis.com/auth/cloud-platform" ,
537 "https://www.googleapis.com/auth/monitoring",
538 "https://www.googleapis.com/auth/monitoring.read "
539 ]
540 },
541 "get": {
542 "description": "Gets a single group.",
543 "httpMethod": "GET",
544 "id": "monitoring.projects.groups.get",
545 "parameterOrder": [
546 "name"
547 ],
548 "parameters": {
549 "name": {
550 "description": "The group to retrieve. The f ormat is \"projects/{project_id_or_number}/groups/{group_id}\".",
551 "location": "path",
552 "pattern": "^projects/[^/]+/groups/[^/]+$",
553 "required": true,
554 "type": "string"
555 }
556 },
557 "path": "v3/{+name}",
558 "response": {
559 "$ref": "Group"
560 },
561 "scopes": [
562 "https://www.googleapis.com/auth/cloud-platform" ,
563 "https://www.googleapis.com/auth/monitoring",
564 "https://www.googleapis.com/auth/monitoring.read "
565 ]
566 },
567 "update": {
568 "description": "Updates an existing group. You can c hange any group attributes except name.",
569 "httpMethod": "PUT",
570 "id": "monitoring.projects.groups.update",
571 "parameterOrder": [
572 "name"
573 ],
574 "parameters": {
575 "name": {
576 "description": "Output only. The name of thi s group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". Wh en creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.",
577 "location": "path",
578 "pattern": "^projects/[^/]+/groups/[^/]+$",
579 "required": true,
580 "type": "string"
581 },
582 "validateOnly": {
583 "description": "If true, validate this reque st but do not update the existing group.",
584 "location": "query",
585 "type": "boolean"
586 }
587 },
588 "path": "v3/{+name}",
589 "request": {
590 "$ref": "Group"
591 },
592 "response": {
593 "$ref": "Group"
594 },
595 "scopes": [
596 "https://www.googleapis.com/auth/cloud-platform" ,
597 "https://www.googleapis.com/auth/monitoring"
598 ]
599 },
600 "create": {
601 "description": "Creates a new group.",
602 "httpMethod": "POST",
603 "id": "monitoring.projects.groups.create",
604 "parameterOrder": [
605 "name"
606 ],
607 "parameters": {
608 "name": {
609 "description": "The project in which to crea te the group. The format is \"projects/{project_id_or_number}\".",
610 "location": "path",
611 "pattern": "^projects/[^/]+$",
612 "required": true,
613 "type": "string"
614 },
615 "validateOnly": {
616 "description": "If true, validate this reque st but do not create the group.",
617 "location": "query",
618 "type": "boolean"
619 }
620 },
621 "path": "v3/{+name}/groups",
622 "request": {
623 "$ref": "Group"
624 },
625 "response": {
626 "$ref": "Group"
627 },
628 "scopes": [
629 "https://www.googleapis.com/auth/cloud-platform" ,
630 "https://www.googleapis.com/auth/monitoring"
631 ]
632 },
633 "delete": {
634 "description": "Deletes an existing group.",
635 "httpMethod": "DELETE",
636 "id": "monitoring.projects.groups.delete",
637 "parameterOrder": [
638 "name"
639 ],
640 "parameters": {
641 "name": {
642 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".",
643 "location": "path",
644 "pattern": "^projects/[^/]+/groups/[^/]+$",
645 "required": true,
646 "type": "string"
647 }
648 },
649 "path": "v3/{+name}",
650 "response": {
651 "$ref": "Empty"
652 },
653 "scopes": [
654 "https://www.googleapis.com/auth/cloud-platform" ,
655 "https://www.googleapis.com/auth/monitoring"
656 ]
657 }
658 },
659 "resources": {
660 "members": {
661 "methods": {
662 "list": {
663 "description": "Lists the monitored resource s that are members of a group.",
664 "httpMethod": "GET",
665 "id": "monitoring.projects.groups.members.li st",
666 "parameterOrder": [
667 "name"
668 ],
669 "parameters": {
670 "name": {
671 "description": "The group whose memb ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id }\".",
672 "location": "path",
673 "pattern": "^projects/[^/]+/groups/[ ^/]+$",
674 "required": true,
675 "type": "string"
676 },
677 "interval.endTime": {
678 "description": "Required. The end of the time interval.",
679 "format": "google-datetime",
680 "location": "query",
681 "type": "string"
682 },
683 "filter": {
684 "description": "An optional list fil ter describing the members to be returned. The filter may reference the type, la bels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filt er:\nresource.type = \"gce_instance\"\n",
685 "location": "query",
686 "type": "string"
687 },
688 "pageToken": {
689 "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.",
690 "location": "query",
691 "type": "string"
692 },
693 "interval.startTime": {
694 "description": "Optional. The beginn ing of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
695 "format": "google-datetime",
696 "location": "query",
697 "type": "string"
698 },
699 "pageSize": {
700 "description": "A positive number th at is the maximum number of results to return.",
701 "format": "int32",
702 "location": "query",
703 "type": "integer"
704 }
705 },
706 "path": "v3/{+name}/members",
707 "response": {
708 "$ref": "ListGroupMembersResponse"
709 },
710 "scopes": [
711 "https://www.googleapis.com/auth/cloud-p latform",
712 "https://www.googleapis.com/auth/monitor ing",
713 "https://www.googleapis.com/auth/monitor ing.read"
714 ]
715 }
716 }
717 }
718 }
719 },
720 "collectdTimeSeries": {
721 "methods": {
722 "create": {
723 "description": "Stackdriver Monitoring Agent only: C reates a new time series.<aside class=\"caution\">This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</asid e>",
724 "httpMethod": "POST",
725 "id": "monitoring.projects.collectdTimeSeries.create ",
726 "parameterOrder": [
727 "name"
728 ],
729 "parameters": {
730 "name": {
731 "description": "The project in which to crea te the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".",
732 "location": "path",
733 "pattern": "^projects/[^/]+$",
734 "required": true,
735 "type": "string"
736 }
737 },
738 "path": "v3/{+name}/collectdTimeSeries",
739 "request": {
740 "$ref": "CreateCollectdTimeSeriesRequest"
741 },
742 "response": {
743 "$ref": "Empty"
744 },
745 "scopes": [
746 "https://www.googleapis.com/auth/cloud-platform" ,
747 "https://www.googleapis.com/auth/monitoring",
748 "https://www.googleapis.com/auth/monitoring.writ e" 748 "https://www.googleapis.com/auth/monitoring.writ e"
749 ] 749 ]
750 } 750 }
751 } 751 }
752 } 752 }
753 } 753 }
754 } 754 }
755 }, 755 },
756 "revision": "20170120", 756 "revision": "20170206",
757 "rootUrl": "https://monitoring.googleapis.com/", 757 "rootUrl": "https://monitoring.googleapis.com/",
758 "schemas": { 758 "schemas": {
759 "Metric": {
760 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
761 "id": "Metric",
762 "properties": {
763 "labels": {
764 "additionalProperties": {
765 "type": "string"
766 },
767 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.",
768 "type": "object"
769 },
770 "type": {
771 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
772 "type": "string"
773 }
774 },
775 "type": "object"
776 },
777 "ListGroupMembersResponse": {
778 "description": "The ListGroupMembers response.",
779 "id": "ListGroupMembersResponse",
780 "properties": {
781 "members": {
782 "description": "A set of monitored resources in the group.",
783 "items": {
784 "$ref": "MonitoredResource"
785 },
786 "type": "array"
787 },
788 "nextPageToken": {
789 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
790 "type": "string"
791 },
792 "totalSize": {
793 "description": "The total number of elements matching this r equest.",
794 "format": "int32",
795 "type": "integer"
796 }
797 },
798 "type": "object"
799 },
800 "TimeInterval": {
801 "description": "A time interval extending just after a start time th rough an end time. If the start time is the same as the end time, then the inter val represents a single point in time.",
802 "id": "TimeInterval",
803 "properties": {
804 "endTime": {
805 "description": "Required. The end of the time interval.",
806 "format": "google-datetime",
807 "type": "string"
808 },
809 "startTime": {
810 "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.",
811 "format": "google-datetime",
812 "type": "string"
813 }
814 },
815 "type": "object"
816 },
817 "Group": {
818 "description": "The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitore d resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of a ny number of groups.Groups can be nested in parent-child hierarchies. The parent Name field identifies an optional parent for each group. If a group has a parent , then the only monitored resources available to be matched by the group's filte r are the resources contained in the parent group. In other words, a group conta ins the monitored resources that match its filter and the filters of all the gro up's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-def ined tags: \"environment\" and \"role\". A parent group has a filter, environmen t=\"production\". A child of that parent group has a filter, role=\"transcoder\" . The parent group contains all instances in the production environment, regardl ess of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what fil ters are associated with the group and its ancestors.",
819 "id": "Group",
820 "properties": {
821 "displayName": {
822 "description": "A user-assigned name for this group, used on ly for display purposes.",
823 "type": "string"
824 },
825 "parentName": {
826 "description": "The name of the group's parent, if it has on e. The format is \"projects/{project_id_or_number}/groups/{group_id}\". For grou ps with no parent, parentName is the empty string, \"\".",
827 "type": "string"
828 },
829 "isCluster": {
830 "description": "If true, the members of this group are consi dered to be a cluster. The system can perform additional analysis on groups that are clusters.",
831 "type": "boolean"
832 },
833 "filter": {
834 "description": "The filter used to determine which monitored resources belong to this group.",
835 "type": "string"
836 },
837 "name": {
838 "description": "Output only. The name of this group. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a gr oup, this field is ignored and a new name is created consisting of the project s pecified in the call to CreateGroup and a unique {group_id} that is generated au tomatically.",
839 "type": "string"
840 }
841 },
842 "type": "object"
843 },
844 "ListTimeSeriesResponse": {
845 "description": "The ListTimeSeries response.",
846 "id": "ListTimeSeriesResponse",
847 "properties": {
848 "timeSeries": {
849 "description": "One or more time series that match the filte r included in the request.",
850 "items": {
851 "$ref": "TimeSeries"
852 },
853 "type": "array"
854 },
855 "nextPageToken": {
856 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
857 "type": "string"
858 }
859 },
860 "type": "object"
861 },
862 "Point": {
863 "description": "A single data point in a time series.",
864 "id": "Point",
865 "properties": {
866 "value": {
867 "$ref": "TypedValue",
868 "description": "The value of the data point."
869 },
870 "interval": {
871 "$ref": "TimeInterval",
872 "description": "The time interval to which the data point ap plies. For GAUGE metrics, only the end time of the interval is used. For DELTA m etrics, the start and end time should specify a non-zero interval, with subseque nt points specifying contiguous and non-overlapping intervals. For CUMULATIVE me trics, the start and end time should specify a non-zero interval, with subsequen t points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
873 }
874 },
875 "type": "object"
876 },
877 "CollectdValue": {
878 "description": "A single data point from a collectd-based plugin.",
879 "id": "CollectdValue",
880 "properties": {
881 "value": {
882 "$ref": "TypedValue",
883 "description": "The measurement value."
884 },
885 "dataSourceName": {
886 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
887 "type": "string"
888 },
889 "dataSourceType": {
890 "description": "The type of measurement.",
891 "enum": [
892 "UNSPECIFIED_DATA_SOURCE_TYPE",
893 "GAUGE",
894 "COUNTER",
895 "DERIVE",
896 "ABSOLUTE"
897 ],
898 "enumDescriptions": [
899 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
900 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
901 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
902 "A rate of change of the measurement.",
903 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
904 ],
905 "type": "string"
906 }
907 },
908 "type": "object"
909 },
910 "TimeSeries": { 759 "TimeSeries": {
911 "description": "A collection of data points that describes the time- varying values of a metric. A time series is identified by a combination of a fu lly-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.", 760 "description": "A collection of data points that describes the time- varying values of a metric. A time series is identified by a combination of a fu lly-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.",
912 "id": "TimeSeries", 761 "id": "TimeSeries",
913 "properties": { 762 "properties": {
914 "metric": {
915 "$ref": "Metric",
916 "description": "The associated metric. A fully-specified met ric used to identify the time series."
917 },
918 "points": {
919 "description": "The data points of this time series. When li sting time series, the order of the points is specified by the list method.When creating a time series, this field must contain exactly one point and the point' s type must be the same as the value type of the associated metric. If the assoc iated metric's descriptor must be auto-created, then the value type of the descr iptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or D ISTRIBUTION.",
920 "items": {
921 "$ref": "Point"
922 },
923 "type": "array"
924 },
925 "valueType": {
926 "description": "The value type of the time series. When list ing time series, this value type might be different from the value type of the a ssociated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.",
927 "enum": [
928 "VALUE_TYPE_UNSPECIFIED",
929 "BOOL",
930 "INT64",
931 "DOUBLE",
932 "STRING",
933 "DISTRIBUTION",
934 "MONEY"
935 ],
936 "enumDescriptions": [
937 "Do not use this default value.",
938 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
939 "The value is a signed 64-bit integer.",
940 "The value is a double precision floating point number." ,
941 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
942 "The value is a Distribution.",
943 "The value is money."
944 ],
945 "type": "string"
946 },
947 "resource": {
948 "$ref": "MonitoredResource",
949 "description": "The associated resource. A fully-specified m onitored resource used to identify the time series."
950 },
951 "metricKind": { 763 "metricKind": {
952 "description": "The metric kind of the time series. When lis ting time series, this metric kind might be different from the metric kind of th e associated metric if this time series is an alignment or reduction of other ti me series.When creating a time series, this field is optional. If present, it mu st be the same as the metric kind of the associated metric. If the associated me tric's descriptor must be auto-created, then this field specifies the metric kin d of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.", 764 "description": "The metric kind of the time series. When lis ting time series, this metric kind might be different from the metric kind of th e associated metric if this time series is an alignment or reduction of other ti me series.When creating a time series, this field is optional. If present, it mu st be the same as the metric kind of the associated metric. If the associated me tric's descriptor must be auto-created, then this field specifies the metric kin d of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.",
953 "enum": [ 765 "enum": [
954 "METRIC_KIND_UNSPECIFIED", 766 "METRIC_KIND_UNSPECIFIED",
955 "GAUGE", 767 "GAUGE",
956 "DELTA", 768 "DELTA",
957 "CUMULATIVE" 769 "CUMULATIVE"
958 ], 770 ],
959 "enumDescriptions": [ 771 "enumDescriptions": [
960 "Do not use this default value.", 772 "Do not use this default value.",
961 "An instantaneous measurement of a value.", 773 "An instantaneous measurement of a value.",
962 "The change in a value during a time interval.", 774 "The change in a value during a time interval.",
963 "A value accumulated over a time interval. Cumulative me asurements in a time series should have the same start time and increasing end t imes, until an event resets the cumulative value to zero and sets a new start ti me for the following points." 775 "A value accumulated over a time interval. Cumulative me asurements in a time series should have the same start time and increasing end t imes, until an event resets the cumulative value to zero and sets a new start ti me for the following points."
964 ], 776 ],
965 "type": "string" 777 "type": "string"
966 }
967 },
968 "type": "object"
969 },
970 "MetricDescriptor": {
971 "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes t he metric type's existing data unusable.",
972 "id": "MetricDescriptor",
973 "properties": {
974 "description": {
975 "description": "A detailed description of the metric, which can be used in documentation.",
976 "type": "string"
977 },
978 "unit": {
979 "description": "The unit in which the metric value is report ed. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. T he supported units are a subset of The Unified Code for Units of Measure (http:/ /unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)\nbit bit\nBy byte\ns second\nmin minute\nh hour\nd dayPrefixes (PREFIX)\nk kilo (10**3)\nM mega (10** 6)\nG giga (10**9)\nT tera (10**12)\nP peta (10**15)\nE exa (10**18)\nZ zetta (1 0**21)\nY yotta (10**24)\nm milli (10**-3)\nu micro (10**-6)\nn nano (10**-9)\np pico (10**-12)\nf femto (10**-15)\na atto (10**-18)\nz zepto (10**-21)\ny yocto (10**-24)\nKi kibi (2**10)\nMi mebi (2**20)\nGi gibi (2**30)\nTi tebi (2**40)Gr ammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also includes these connectors:\n/ division (as an infix operator, e.g. 1/s).\n. mul tiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follo ws:\nExpression = Component { \".\" Component } { \"/\" Component } ;\n\nCompone nt = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\nAnnotation = \"{\" NAME \"}\" ;\nNotes:\nAnnotation is just a com ment if it follows a UNIT and is equivalent to 1 if it is used alone. For examp les, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non -blank printable ASCII characters not containing '{' or '}'.",
980 "type": "string"
981 },
982 "labels": {
983 "description": "The set of labels that can be used to descri be a specific instance of this metric type. For example, the appengine.googleapi s.com/http/server/response_latencies metric type has a label for the HTTP respon se code, response_code, so you can look at latencies for successful responses or just for responses that failed.",
984 "items": {
985 "$ref": "LabelDescriptor"
986 },
987 "type": "array"
988 },
989 "metricKind": {
990 "description": "Whether the metric records instantaneous val ues, changes to a value, etc. Some combinations of metric_kind and value_type mi ght not be supported.",
991 "enum": [
992 "METRIC_KIND_UNSPECIFIED",
993 "GAUGE",
994 "DELTA",
995 "CUMULATIVE"
996 ],
997 "enumDescriptions": [
998 "Do not use this default value.",
999 "An instantaneous measurement of a value.",
1000 "The change in a value during a time interval.",
1001 "A value accumulated over a time interval. Cumulative me asurements in a time series should have the same start time and increasing end t imes, until an event resets the cumulative value to zero and sets a new start ti me for the following points."
1002 ],
1003 "type": "string"
1004 }, 778 },
779 "metric": {
780 "$ref": "Metric",
781 "description": "The associated metric. A fully-specified met ric used to identify the time series."
782 },
783 "points": {
784 "description": "The data points of this time series. When li sting time series, the order of the points is specified by the list method.When creating a time series, this field must contain exactly one point and the point' s type must be the same as the value type of the associated metric. If the assoc iated metric's descriptor must be auto-created, then the value type of the descr iptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or D ISTRIBUTION.",
785 "items": {
786 "$ref": "Point"
787 },
788 "type": "array"
789 },
1005 "valueType": { 790 "valueType": {
1006 "description": "Whether the measurement is an integer, a flo ating-point number, etc. Some combinations of metric_kind and value_type might n ot be supported.", 791 "description": "The value type of the time series. When list ing time series, this value type might be different from the value type of the a ssociated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.",
1007 "enum": [ 792 "enum": [
1008 "VALUE_TYPE_UNSPECIFIED", 793 "VALUE_TYPE_UNSPECIFIED",
1009 "BOOL", 794 "BOOL",
1010 "INT64", 795 "INT64",
1011 "DOUBLE", 796 "DOUBLE",
1012 "STRING", 797 "STRING",
1013 "DISTRIBUTION", 798 "DISTRIBUTION",
1014 "MONEY" 799 "MONEY"
1015 ], 800 ],
1016 "enumDescriptions": [ 801 "enumDescriptions": [
1017 "Do not use this default value.", 802 "Do not use this default value.",
1018 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.", 803 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1019 "The value is a signed 64-bit integer.", 804 "The value is a signed 64-bit integer.",
1020 "The value is a double precision floating point number." , 805 "The value is a double precision floating point number." ,
1021 "The value is a text string. This value type can be used only if the metric kind is GAUGE.", 806 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1022 "The value is a Distribution.", 807 "The value is a Distribution.",
1023 "The value is money." 808 "The value is money."
1024 ], 809 ],
1025 "type": "string" 810 "type": "string"
1026 }, 811 },
1027 "displayName": { 812 "resource": {
1028 "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for ex ample \"Request count\".", 813 "$ref": "MonitoredResource",
1029 "type": "string" 814 "description": "The associated resource. A fully-specified m onitored resource used to identify the time series."
1030 },
1031 "name": {
1032 "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent res ource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descrip tor. For example, following is the resource name of a custom metric within the G CP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.goo gleapis.com%2Finvoice%2Fpaid%2Famount\"\n",
1033 "type": "string"
1034 },
1035 "type": {
1036 "description": "The metric type, including its DNS name pref ix. The type is not URL-encoded. All user-defined custom metric types have the D NS name custom.googleapis.com. Metric types should use a natural hierarchical gr ouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine .googleapis.com/http/server/response_latencies\"\n",
1037 "type": "string"
1038 } 815 }
1039 }, 816 },
1040 "type": "object" 817 "type": "object"
1041 }, 818 },
1042 "Exponential": { 819 "CreateTimeSeriesRequest": {
1043 "description": "Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a const ant relative uncertainty on a specific value in the bucket.Defines num_finite_bu ckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_f actor ^ (i - 1)).", 820 "description": "The CreateTimeSeries request.",
1044 "id": "Exponential", 821 "id": "CreateTimeSeriesRequest",
1045 "properties": { 822 "properties": {
1046 "growthFactor": { 823 "timeSeries": {
1047 "description": "Must be greater than 1.", 824 "description": "The new data to be added to a list of time s eries. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeri es value must fully specify a unique time series by supplying all label values f or the metric and the monitored resource.",
1048 "format": "double",
1049 "type": "number"
1050 },
1051 "scale": {
1052 "description": "Must be greater than 0.",
1053 "format": "double",
1054 "type": "number"
1055 },
1056 "numFiniteBuckets": {
1057 "description": "Must be greater than 0.",
1058 "format": "int32",
1059 "type": "integer"
1060 }
1061 },
1062 "type": "object"
1063 },
1064 "Explicit": {
1065 "description": "A set of buckets with arbitrary widths.Defines size( bounds) + 1 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1There must be at least on e element in bounds. If bounds has only one element, there are no finite buckets , and that single element is the common boundary of the overflow and underflow b uckets.",
1066 "id": "Explicit",
1067 "properties": {
1068 "bounds": {
1069 "description": "The values must be monotonically increasing. ",
1070 "items": { 825 "items": {
1071 "format": "double", 826 "$ref": "TimeSeries"
1072 "type": "number"
1073 }, 827 },
1074 "type": "array" 828 "type": "array"
1075 } 829 }
1076 }, 830 },
1077 "type": "object" 831 "type": "object"
1078 },
1079 "Linear": {
1080 "description": "Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolu te uncertainty on the specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): o ffset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
1081 "id": "Linear",
1082 "properties": {
1083 "width": {
1084 "description": "Must be greater than 0.",
1085 "format": "double",
1086 "type": "number"
1087 },
1088 "offset": {
1089 "description": "Lower bound of the first bucket.",
1090 "format": "double",
1091 "type": "number"
1092 },
1093 "numFiniteBuckets": {
1094 "description": "Must be greater than 0.",
1095 "format": "int32",
1096 "type": "integer"
1097 }
1098 },
1099 "type": "object"
1100 },
1101 "CollectdPayload": {
1102 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.",
1103 "id": "CollectdPayload",
1104 "properties": {
1105 "endTime": {
1106 "description": "The end time of the interval.",
1107 "format": "google-datetime",
1108 "type": "string"
1109 },
1110 "metadata": {
1111 "additionalProperties": {
1112 "$ref": "TypedValue"
1113 },
1114 "description": "The measurement metadata. Example: \"process _id\" -> 12345",
1115 "type": "object"
1116 },
1117 "values": {
1118 "description": "The measured values during this time interva l. Each value must have a different dataSourceName.",
1119 "items": {
1120 "$ref": "CollectdValue"
1121 },
1122 "type": "array"
1123 },
1124 "pluginInstance": {
1125 "description": "The instance name of the plugin Example: \"h dcl\".",
1126 "type": "string"
1127 },
1128 "startTime": {
1129 "description": "The start time of the interval.",
1130 "format": "google-datetime",
1131 "type": "string"
1132 },
1133 "typeInstance": {
1134 "description": "The measurement type instance. Example: \"us ed\".",
1135 "type": "string"
1136 },
1137 "type": {
1138 "description": "The measurement type. Example: \"memory\".",
1139 "type": "string"
1140 },
1141 "plugin": {
1142 "description": "The name of the plugin. Example: \"disk\".",
1143 "type": "string"
1144 }
1145 },
1146 "type": "object"
1147 },
1148 "ListMetricDescriptorsResponse": {
1149 "description": "The ListMetricDescriptors response.",
1150 "id": "ListMetricDescriptorsResponse",
1151 "properties": {
1152 "metricDescriptors": {
1153 "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
1154 "items": {
1155 "$ref": "MetricDescriptor"
1156 },
1157 "type": "array"
1158 },
1159 "nextPageToken": {
1160 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
1161 "type": "string"
1162 }
1163 },
1164 "type": "object"
1165 }, 832 },
1166 "Distribution": { 833 "Distribution": {
1167 "description": "Distribution contains summary statistics for a popul ation of values and, optionally, a histogram representing the distribution of th ose values across a specified set of histogram buckets.The summary statistics ar e the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values.The histogram is based on a seque nce of buckets and gives a count of values that fall into each bucket. The bound aries of the buckets are given either explicitly or by specifying parameters for a method of computing them (buckets of fixed width or buckets of exponentially increasing width).Although it is not forbidden, it is generally a bad idea to in clude non-finite values (infinities or NaNs) in the population of values, as thi s will render the mean and sum_of_squared_deviation fields meaningless.", 834 "description": "Distribution contains summary statistics for a popul ation of values and, optionally, a histogram representing the distribution of th ose values across a specified set of histogram buckets.The summary statistics ar e the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values.The histogram is based on a seque nce of buckets and gives a count of values that fall into each bucket. The bound aries of the buckets are given either explicitly or by specifying parameters for a method of computing them (buckets of fixed width or buckets of exponentially increasing width).Although it is not forbidden, it is generally a bad idea to in clude non-finite values (infinities or NaNs) in the population of values, as thi s will render the mean and sum_of_squared_deviation fields meaningless.",
1168 "id": "Distribution", 835 "id": "Distribution",
1169 "properties": { 836 "properties": {
837 "count": {
838 "description": "The number of values in the population. Must be non-negative.",
839 "format": "int64",
840 "type": "string"
841 },
842 "mean": {
843 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
844 "format": "double",
845 "type": "number"
846 },
1170 "bucketCounts": { 847 "bucketCounts": {
1171 "description": "If bucket_options is given, then the sum of the values in bucket_counts must equal the value in count. If bucket_options is not given, no bucket_counts fields may be given.Bucket counts are given in order under the numbering scheme described above (the underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; the overflow bucket has number N-1).The size of bucket_counts must be no greater than N as defined in bu cket_options.Any suffix of trailing zero bucket_count fields may be omitted.", 848 "description": "If bucket_options is given, then the sum of the values in bucket_counts must equal the value in count. If bucket_options is not given, no bucket_counts fields may be given.Bucket counts are given in order under the numbering scheme described above (the underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; the overflow bucket has number N-1).The size of bucket_counts must be no greater than N as defined in bu cket_options.Any suffix of trailing zero bucket_count fields may be omitted.",
1172 "items": { 849 "items": {
1173 "format": "int64", 850 "format": "int64",
1174 "type": "string" 851 "type": "string"
1175 }, 852 },
1176 "type": "array" 853 "type": "array"
1177 }, 854 },
1178 "bucketOptions": { 855 "bucketOptions": {
1179 "$ref": "BucketOptions", 856 "$ref": "BucketOptions",
1180 "description": "Defines the histogram bucket boundaries." 857 "description": "Defines the histogram bucket boundaries."
1181 }, 858 },
1182 "count": {
1183 "description": "The number of values in the population. Must be non-negative.",
1184 "format": "int64",
1185 "type": "string"
1186 },
1187 "sumOfSquaredDeviation": { 859 "sumOfSquaredDeviation": {
1188 "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mea n)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is ze ro then this field must be zero.", 860 "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mea n)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is ze ro then this field must be zero.",
1189 "format": "double", 861 "format": "double",
1190 "type": "number" 862 "type": "number"
1191 }, 863 },
1192 "mean": {
1193 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
1194 "format": "double",
1195 "type": "number"
1196 },
1197 "range": { 864 "range": {
1198 "$ref": "Range", 865 "$ref": "Range",
1199 "description": "If specified, contains the range of the popu lation values. The field must not be present if the count is zero. This field is presently ignored by the Stackdriver Monitoring API v3." 866 "description": "If specified, contains the range of the popu lation values. The field must not be present if the count is zero. This field is presently ignored by the Stackdriver Monitoring API v3."
1200 } 867 }
1201 }, 868 },
1202 "type": "object" 869 "type": "object"
1203 }, 870 },
1204 "MonitoredResource": { 871 "MonitoredResource": {
1205 "description": "An object representing a resource that can be used f or monitoring, logging, billing, or other purposes. Examples include virtual mac hine instances, databases, and storage devices such as disks. The type field ide ntifies a MonitoredResourceDescriptor object that describes the resource's schem a. Information in the labels field identifies the actual resource and its attrib utes according to the schema. For example, a particular Compute Engine VM instan ce could be represented by the following object, because the MonitoredResourceDe scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type \": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n", 872 "description": "An object representing a resource that can be used f or monitoring, logging, billing, or other purposes. Examples include virtual mac hine instances, databases, and storage devices such as disks. The type field ide ntifies a MonitoredResourceDescriptor object that describes the resource's schem a. Information in the labels field identifies the actual resource and its attrib utes according to the schema. For example, a particular Compute Engine VM instan ce could be represented by the following object, because the MonitoredResourceDe scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type \": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
1206 "id": "MonitoredResource", 873 "id": "MonitoredResource",
1207 "properties": { 874 "properties": {
875 "type": {
876 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Cloud SQL database is \"cloudsql_database\".",
877 "type": "string"
878 },
1208 "labels": { 879 "labels": {
1209 "additionalProperties": { 880 "additionalProperties": {
1210 "type": "string" 881 "type": "string"
1211 }, 882 },
1212 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Cloud SQL databa ses use the labels \"database_id\" and \"zone\".", 883 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Cloud SQL databa ses use the labels \"database_id\" and \"zone\".",
1213 "type": "object" 884 "type": "object"
1214 },
1215 "type": {
1216 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Cloud SQL database is \"cloudsql_database\".",
1217 "type": "string"
1218 } 885 }
1219 }, 886 },
1220 "type": "object" 887 "type": "object"
1221 }, 888 },
1222 "LabelDescriptor": { 889 "ListMetricDescriptorsResponse": {
1223 "description": "A description of a label.", 890 "description": "The ListMetricDescriptors response.",
1224 "id": "LabelDescriptor", 891 "id": "ListMetricDescriptorsResponse",
1225 "properties": { 892 "properties": {
1226 "description": { 893 "metricDescriptors": {
1227 "description": "A human-readable description for the label." , 894 "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
1228 "type": "string" 895 "items": {
896 "$ref": "MetricDescriptor"
897 },
898 "type": "array"
1229 }, 899 },
1230 "valueType": { 900 "nextPageToken": {
1231 "description": "The type of data that can be assigned to the label.", 901 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
1232 "enum": [
1233 "STRING",
1234 "BOOL",
1235 "INT64"
1236 ],
1237 "enumDescriptions": [
1238 "A variable-length string. This is the default.",
1239 "Boolean; true or false.",
1240 "A 64-bit signed integer."
1241 ],
1242 "type": "string"
1243 },
1244 "key": {
1245 "description": "The label key.",
1246 "type": "string" 902 "type": "string"
1247 } 903 }
1248 }, 904 },
1249 "type": "object" 905 "type": "object"
1250 }, 906 },
1251 "MonitoredResourceDescriptor": { 907 "MonitoredResourceDescriptor": {
1252 "description": "An object that describes the schema of a MonitoredRe source object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_i nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id entify particular VM instances.Different APIs can support different monitored re source types. APIs generally provide a list method that returns the monitored re source descriptors used by the API.", 908 "description": "An object that describes the schema of a MonitoredRe source object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_i nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id entify particular VM instances.Different APIs can support different monitored re source types. APIs generally provide a list method that returns the monitored re source descriptors used by the API.",
1253 "id": "MonitoredResourceDescriptor", 909 "id": "MonitoredResourceDescriptor",
1254 "properties": { 910 "properties": {
1255 "displayName": { 911 "displayName": {
1256 "description": "Optional. A concise name for the monitored r esource type that might be displayed in user interfaces. It should be a Title Ca sed Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", 912 "description": "Optional. A concise name for the monitored r esource type that might be displayed in user interfaces. It should be a Title Ca sed Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".",
1257 "type": "string" 913 "type": "string"
1258 }, 914 },
1259 "description": { 915 "description": {
1260 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.", 916 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
1261 "type": "string" 917 "type": "string"
1262 }, 918 },
919 "type": {
920 "description": "Required. The monitored resource type. For e xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
921 "type": "string"
922 },
1263 "labels": { 923 "labels": {
1264 "description": "Required. A set of labels used to describe i nstances of this monitored resource type. For example, an individual Google Clou d SQL database is identified by values for the labels \"database_id\" and \"zone \".", 924 "description": "Required. A set of labels used to describe i nstances of this monitored resource type. For example, an individual Google Clou d SQL database is identified by values for the labels \"database_id\" and \"zone \".",
1265 "items": { 925 "items": {
1266 "$ref": "LabelDescriptor" 926 "$ref": "LabelDescriptor"
1267 }, 927 },
1268 "type": "array" 928 "type": "array"
1269 }, 929 },
1270 "type": {
1271 "description": "Required. The monitored resource type. For e xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
1272 "type": "string"
1273 },
1274 "name": { 930 "name": {
1275 "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type }\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitored ResourceDescriptors/{type}\".", 931 "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type }\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitored ResourceDescriptors/{type}\".",
1276 "type": "string" 932 "type": "string"
1277 } 933 }
1278 }, 934 },
1279 "type": "object" 935 "type": "object"
1280 }, 936 },
1281 "TypedValue": { 937 "TypedValue": {
1282 "description": "A single strongly-typed value.", 938 "description": "A single strongly-typed value.",
1283 "id": "TypedValue", 939 "id": "TypedValue",
1284 "properties": { 940 "properties": {
1285 "boolValue": { 941 "boolValue": {
1286 "description": "A Boolean value: true or false.", 942 "description": "A Boolean value: true or false.",
1287 "type": "boolean" 943 "type": "boolean"
1288 }, 944 },
1289 "stringValue": { 945 "stringValue": {
1290 "description": "A variable-length string value.", 946 "description": "A variable-length string value.",
1291 "type": "string" 947 "type": "string"
1292 }, 948 },
949 "doubleValue": {
950 "description": "A 64-bit double-precision floating-point num ber. Its magnitude is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant digits of precision.",
951 "format": "double",
952 "type": "number"
953 },
1293 "int64Value": { 954 "int64Value": {
1294 "description": "A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.", 955 "description": "A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.",
1295 "format": "int64", 956 "format": "int64",
1296 "type": "string" 957 "type": "string"
1297 }, 958 },
1298 "doubleValue": {
1299 "description": "A 64-bit double-precision floating-point num ber. Its magnitude is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant digits of precision.",
1300 "format": "double",
1301 "type": "number"
1302 },
1303 "distributionValue": { 959 "distributionValue": {
1304 "$ref": "Distribution", 960 "$ref": "Distribution",
1305 "description": "A distribution value." 961 "description": "A distribution value."
1306 } 962 }
1307 }, 963 },
1308 "type": "object" 964 "type": "object"
1309 }, 965 },
1310 "ListMonitoredResourceDescriptorsResponse": { 966 "CollectdPayload": {
1311 "description": "The ListMonitoredResourcDescriptors response.", 967 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.",
1312 "id": "ListMonitoredResourceDescriptorsResponse", 968 "id": "CollectdPayload",
1313 "properties": { 969 "properties": {
1314 "nextPageToken": { 970 "pluginInstance": {
1315 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.", 971 "description": "The instance name of the plugin Example: \"h dcl\".",
1316 "type": "string" 972 "type": "string"
1317 }, 973 },
1318 "resourceDescriptors": { 974 "endTime": {
1319 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.", 975 "description": "The end time of the interval.",
976 "format": "google-datetime",
977 "type": "string"
978 },
979 "startTime": {
980 "description": "The start time of the interval.",
981 "format": "google-datetime",
982 "type": "string"
983 },
984 "values": {
985 "description": "The measured values during this time interva l. Each value must have a different dataSourceName.",
1320 "items": { 986 "items": {
1321 "$ref": "MonitoredResourceDescriptor" 987 "$ref": "CollectdValue"
1322 }, 988 },
1323 "type": "array" 989 "type": "array"
1324 } 990 },
1325 }, 991 "typeInstance": {
1326 "type": "object" 992 "description": "The measurement type instance. Example: \"us ed\".",
993 "type": "string"
994 },
995 "type": {
996 "description": "The measurement type. Example: \"memory\".",
997 "type": "string"
998 },
999 "metadata": {
1000 "additionalProperties": {
1001 "$ref": "TypedValue"
1002 },
1003 "description": "The measurement metadata. Example: \"process _id\" -> 12345",
1004 "type": "object"
1005 },
1006 "plugin": {
1007 "description": "The name of the plugin. Example: \"disk\".",
1008 "type": "string"
1009 }
1010 },
1011 "type": "object"
1012 },
1013 "Linear": {
1014 "description": "Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolu te uncertainty on the specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): o ffset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
1015 "id": "Linear",
1016 "properties": {
1017 "offset": {
1018 "description": "Lower bound of the first bucket.",
1019 "format": "double",
1020 "type": "number"
1021 },
1022 "numFiniteBuckets": {
1023 "description": "Must be greater than 0.",
1024 "format": "int32",
1025 "type": "integer"
1026 },
1027 "width": {
1028 "description": "Must be greater than 0.",
1029 "format": "double",
1030 "type": "number"
1031 }
1032 },
1033 "type": "object"
1034 },
1035 "Option": {
1036 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
1037 "id": "Option",
1038 "properties": {
1039 "name": {
1040 "description": "The option's name. For protobuf built-in opt ions (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For e xample, \"google.api.http\".",
1041 "type": "string"
1042 },
1043 "value": {
1044 "additionalProperties": {
1045 "description": "Properties of the object. Contains field @type with type URL.",
1046 "type": "any"
1047 },
1048 "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/p rotobuf/wrappers.proto should be used. If the value is an enum, it should be sto red as an int32 value using the google.protobuf.Int32Value type.",
1049 "type": "object"
1050 }
1051 },
1052 "type": "object"
1053 },
1054 "Empty": {
1055 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Fo o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J SON representation for Empty is empty JSON object {}.",
1056 "id": "Empty",
1057 "properties": {},
1058 "type": "object"
1059 },
1060 "Explicit": {
1061 "description": "A set of buckets with arbitrary widths.Defines size( bounds) + 1 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1There must be at least on e element in bounds. If bounds has only one element, there are no finite buckets , and that single element is the common boundary of the overflow and underflow b uckets.",
1062 "id": "Explicit",
1063 "properties": {
1064 "bounds": {
1065 "description": "The values must be monotonically increasing. ",
1066 "items": {
1067 "format": "double",
1068 "type": "number"
1069 },
1070 "type": "array"
1071 }
1072 },
1073 "type": "object"
1074 },
1075 "TimeInterval": {
1076 "description": "A time interval extending just after a start time th rough an end time. If the start time is the same as the end time, then the inter val represents a single point in time.",
1077 "id": "TimeInterval",
1078 "properties": {
1079 "endTime": {
1080 "description": "Required. The end of the time interval.",
1081 "format": "google-datetime",
1082 "type": "string"
1083 },
1084 "startTime": {
1085 "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.",
1086 "format": "google-datetime",
1087 "type": "string"
1088 }
1089 },
1090 "type": "object"
1091 },
1092 "Exponential": {
1093 "description": "Specify a sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a const ant relative uncertainty on a specific value in the bucket.Defines num_finite_bu ckets + 2 (= N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_f actor ^ (i - 1)).",
1094 "id": "Exponential",
1095 "properties": {
1096 "scale": {
1097 "description": "Must be greater than 0.",
1098 "format": "double",
1099 "type": "number"
1100 },
1101 "numFiniteBuckets": {
1102 "description": "Must be greater than 0.",
1103 "format": "int32",
1104 "type": "integer"
1105 },
1106 "growthFactor": {
1107 "description": "Must be greater than 1.",
1108 "format": "double",
1109 "type": "number"
1110 }
1111 },
1112 "type": "object"
1113 },
1114 "Point": {
1115 "description": "A single data point in a time series.",
1116 "id": "Point",
1117 "properties": {
1118 "interval": {
1119 "$ref": "TimeInterval",
1120 "description": "The time interval to which the data point ap plies. For GAUGE metrics, only the end time of the interval is used. For DELTA m etrics, the start and end time should specify a non-zero interval, with subseque nt points specifying contiguous and non-overlapping intervals. For CUMULATIVE me trics, the start and end time should specify a non-zero interval, with subsequen t points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
1121 },
1122 "value": {
1123 "$ref": "TypedValue",
1124 "description": "The value of the data point."
1125 }
1126 },
1127 "type": "object"
1128 },
1129 "Metric": {
1130 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
1131 "id": "Metric",
1132 "properties": {
1133 "type": {
1134 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
1135 "type": "string"
1136 },
1137 "labels": {
1138 "additionalProperties": {
1139 "type": "string"
1140 },
1141 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.",
1142 "type": "object"
1143 }
1144 },
1145 "type": "object"
1327 }, 1146 },
1328 "Field": { 1147 "Field": {
1329 "description": "A single field of a message type.", 1148 "description": "A single field of a message type.",
1330 "id": "Field", 1149 "id": "Field",
1331 "properties": { 1150 "properties": {
1332 "defaultValue": {
1333 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1334 "type": "string"
1335 },
1336 "jsonName": {
1337 "description": "The field JSON name.",
1338 "type": "string"
1339 },
1340 "options": {
1341 "description": "The protocol buffer options.",
1342 "items": {
1343 "$ref": "Option"
1344 },
1345 "type": "array"
1346 },
1347 "oneofIndex": {
1348 "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the typ e is not in the list.",
1349 "format": "int32",
1350 "type": "integer"
1351 },
1352 "cardinality": {
1353 "description": "The field cardinality.",
1354 "enum": [
1355 "CARDINALITY_UNKNOWN",
1356 "CARDINALITY_OPTIONAL",
1357 "CARDINALITY_REQUIRED",
1358 "CARDINALITY_REPEATED"
1359 ],
1360 "enumDescriptions": [
1361 "For fields with unknown cardinality.",
1362 "For optional fields.",
1363 "For required fields. Proto2 syntax only.",
1364 "For repeated fields."
1365 ],
1366 "type": "string"
1367 },
1368 "typeUrl": { 1151 "typeUrl": {
1369 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".", 1152 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".",
1370 "type": "string" 1153 "type": "string"
1371 }, 1154 },
1372 "name": {
1373 "description": "The field name.",
1374 "type": "string"
1375 },
1376 "packed": {
1377 "description": "Whether to use alternative packed wire repre sentation.",
1378 "type": "boolean"
1379 },
1380 "number": { 1155 "number": {
1381 "description": "The field number.", 1156 "description": "The field number.",
1382 "format": "int32", 1157 "format": "int32",
1383 "type": "integer" 1158 "type": "integer"
1384 }, 1159 },
1385 "kind": { 1160 "kind": {
1386 "description": "The field type.", 1161 "description": "The field type.",
1387 "enum": [ 1162 "enum": [
1388 "TYPE_UNKNOWN", 1163 "TYPE_UNKNOWN",
1389 "TYPE_DOUBLE", 1164 "TYPE_DOUBLE",
(...skipping 30 matching lines...) Expand all
1420 "Field type message.", 1195 "Field type message.",
1421 "Field type bytes.", 1196 "Field type bytes.",
1422 "Field type uint32.", 1197 "Field type uint32.",
1423 "Field type enum.", 1198 "Field type enum.",
1424 "Field type sfixed32.", 1199 "Field type sfixed32.",
1425 "Field type sfixed64.", 1200 "Field type sfixed64.",
1426 "Field type sint32.", 1201 "Field type sint32.",
1427 "Field type sint64." 1202 "Field type sint64."
1428 ], 1203 ],
1429 "type": "string" 1204 "type": "string"
1430 } 1205 },
1431 }, 1206 "jsonName": {
1432 "type": "object" 1207 "description": "The field JSON name.",
1433 }, 1208 "type": "string"
1434 "Option": { 1209 },
1435 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.", 1210 "options": {
1436 "id": "Option", 1211 "description": "The protocol buffer options.",
1212 "items": {
1213 "$ref": "Option"
1214 },
1215 "type": "array"
1216 },
1217 "oneofIndex": {
1218 "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the typ e is not in the list.",
1219 "format": "int32",
1220 "type": "integer"
1221 },
1222 "cardinality": {
1223 "description": "The field cardinality.",
1224 "enum": [
1225 "CARDINALITY_UNKNOWN",
1226 "CARDINALITY_OPTIONAL",
1227 "CARDINALITY_REQUIRED",
1228 "CARDINALITY_REPEATED"
1229 ],
1230 "enumDescriptions": [
1231 "For fields with unknown cardinality.",
1232 "For optional fields.",
1233 "For required fields. Proto2 syntax only.",
1234 "For repeated fields."
1235 ],
1236 "type": "string"
1237 },
1238 "packed": {
1239 "description": "Whether to use alternative packed wire repre sentation.",
1240 "type": "boolean"
1241 },
1242 "defaultValue": {
1243 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1244 "type": "string"
1245 },
1246 "name": {
1247 "description": "The field name.",
1248 "type": "string"
1249 }
1250 },
1251 "type": "object"
1252 },
1253 "LabelDescriptor": {
1254 "description": "A description of a label.",
1255 "id": "LabelDescriptor",
1256 "properties": {
1257 "key": {
1258 "description": "The label key.",
1259 "type": "string"
1260 },
1261 "description": {
1262 "description": "A human-readable description for the label." ,
1263 "type": "string"
1264 },
1265 "valueType": {
1266 "description": "The type of data that can be assigned to the label.",
1267 "enum": [
1268 "STRING",
1269 "BOOL",
1270 "INT64"
1271 ],
1272 "enumDescriptions": [
1273 "A variable-length string. This is the default.",
1274 "Boolean; true or false.",
1275 "A 64-bit signed integer."
1276 ],
1277 "type": "string"
1278 }
1279 },
1280 "type": "object"
1281 },
1282 "ListTimeSeriesResponse": {
1283 "description": "The ListTimeSeries response.",
1284 "id": "ListTimeSeriesResponse",
1285 "properties": {
1286 "timeSeries": {
1287 "description": "One or more time series that match the filte r included in the request.",
1288 "items": {
1289 "$ref": "TimeSeries"
1290 },
1291 "type": "array"
1292 },
1293 "nextPageToken": {
1294 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
1295 "type": "string"
1296 }
1297 },
1298 "type": "object"
1299 },
1300 "Type": {
1301 "description": "A protocol buffer message type.",
1302 "id": "Type",
1303 "properties": {
1304 "options": {
1305 "description": "The protocol buffer options.",
1306 "items": {
1307 "$ref": "Option"
1308 },
1309 "type": "array"
1310 },
1311 "fields": {
1312 "description": "The list of fields.",
1313 "items": {
1314 "$ref": "Field"
1315 },
1316 "type": "array"
1317 },
1318 "name": {
1319 "description": "The fully qualified message name.",
1320 "type": "string"
1321 },
1322 "oneofs": {
1323 "description": "The list of types appearing in oneof definit ions in this type.",
1324 "items": {
1325 "type": "string"
1326 },
1327 "type": "array"
1328 },
1329 "syntax": {
1330 "description": "The source syntax.",
1331 "enum": [
1332 "SYNTAX_PROTO2",
1333 "SYNTAX_PROTO3"
1334 ],
1335 "enumDescriptions": [
1336 "Syntax proto2.",
1337 "Syntax proto3."
1338 ],
1339 "type": "string"
1340 },
1341 "sourceContext": {
1342 "$ref": "SourceContext",
1343 "description": "The source context."
1344 }
1345 },
1346 "type": "object"
1347 },
1348 "Group": {
1349 "description": "The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitore d resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of a ny number of groups.Groups can be nested in parent-child hierarchies. The parent Name field identifies an optional parent for each group. If a group has a parent , then the only monitored resources available to be matched by the group's filte r are the resources contained in the parent group. In other words, a group conta ins the monitored resources that match its filter and the filters of all the gro up's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-def ined tags: \"environment\" and \"role\". A parent group has a filter, environmen t=\"production\". A child of that parent group has a filter, role=\"transcoder\" . The parent group contains all instances in the production environment, regardl ess of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what fil ters are associated with the group and its ancestors.",
1350 "id": "Group",
1351 "properties": {
1352 "name": {
1353 "description": "Output only. The name of this group. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a gr oup, this field is ignored and a new name is created consisting of the project s pecified in the call to CreateGroup and a unique {group_id} that is generated au tomatically.",
1354 "type": "string"
1355 },
1356 "parentName": {
1357 "description": "The name of the group's parent, if it has on e. The format is \"projects/{project_id_or_number}/groups/{group_id}\". For grou ps with no parent, parentName is the empty string, \"\".",
1358 "type": "string"
1359 },
1360 "displayName": {
1361 "description": "A user-assigned name for this group, used on ly for display purposes.",
1362 "type": "string"
1363 },
1364 "isCluster": {
1365 "description": "If true, the members of this group are consi dered to be a cluster. The system can perform additional analysis on groups that are clusters.",
1366 "type": "boolean"
1367 },
1368 "filter": {
1369 "description": "The filter used to determine which monitored resources belong to this group.",
1370 "type": "string"
1371 }
1372 },
1373 "type": "object"
1374 },
1375 "BucketOptions": {
1376 "description": "A Distribution may optionally contain a histogram of the values in the population. The histogram is given in bucket_counts as counts of values that fall into one of a sequence of non-overlapping buckets. The sequ ence of buckets is described by bucket_options.A bucket specifies an inclusive l ower bound and exclusive upper bound for the values that are counted for that bu cket. The upper bound of a bucket is strictly greater than the lower bound.The s equence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the uppe r bound of the overflow bucket is +infinity. The finite buckets are so-called be cause both bounds are finite.BucketOptions describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to g enerate boundaries and one gives the bucket boundaries explicitly.If bucket_opti ons is not given, then no bucket_counts may be given.",
1377 "id": "BucketOptions",
1378 "properties": {
1379 "exponentialBuckets": {
1380 "$ref": "Exponential",
1381 "description": "The exponential buckets."
1382 },
1383 "linearBuckets": {
1384 "$ref": "Linear",
1385 "description": "The linear bucket."
1386 },
1387 "explicitBuckets": {
1388 "$ref": "Explicit",
1389 "description": "The explicit buckets."
1390 }
1391 },
1392 "type": "object"
1393 },
1394 "CollectdValue": {
1395 "description": "A single data point from a collectd-based plugin.",
1396 "id": "CollectdValue",
1437 "properties": { 1397 "properties": {
1438 "value": { 1398 "value": {
1439 "additionalProperties": { 1399 "$ref": "TypedValue",
1440 "description": "Properties of the object. Contains field @type with type URL.", 1400 "description": "The measurement value."
1441 "type": "any" 1401 },
1442 }, 1402 "dataSourceType": {
1443 "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/p rotobuf/wrappers.proto should be used. If the value is an enum, it should be sto red as an int32 value using the google.protobuf.Int32Value type.", 1403 "description": "The type of measurement.",
1444 "type": "object" 1404 "enum": [
1445 }, 1405 "UNSPECIFIED_DATA_SOURCE_TYPE",
1446 "name": { 1406 "GAUGE",
1447 "description": "The option's name. For protobuf built-in opt ions (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For e xample, \"google.api.http\".", 1407 "COUNTER",
1448 "type": "string" 1408 "DERIVE",
1449 } 1409 "ABSOLUTE"
1450 }, 1410 ],
1451 "type": "object" 1411 "enumDescriptions": [
1452 }, 1412 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
1453 "Empty": { 1413 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
1454 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Fo o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J SON representation for Empty is empty JSON object {}.", 1414 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
1455 "id": "Empty", 1415 "A rate of change of the measurement.",
1456 "properties": {}, 1416 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
1417 ],
1418 "type": "string"
1419 },
1420 "dataSourceName": {
1421 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
1422 "type": "string"
1423 }
1424 },
1457 "type": "object" 1425 "type": "object"
1458 }, 1426 },
1459 "SourceContext": { 1427 "SourceContext": {
1460 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.", 1428 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
1461 "id": "SourceContext", 1429 "id": "SourceContext",
1462 "properties": { 1430 "properties": {
1463 "fileName": { 1431 "fileName": {
1464 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".", 1432 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
1465 "type": "string" 1433 "type": "string"
1466 } 1434 }
1467 }, 1435 },
1468 "type": "object" 1436 "type": "object"
1469 }, 1437 },
1438 "MetricDescriptor": {
1439 "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes t he metric type's existing data unusable.",
1440 "id": "MetricDescriptor",
1441 "properties": {
1442 "unit": {
1443 "description": "The unit in which the metric value is report ed. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. T he supported units are a subset of The Unified Code for Units of Measure (http:/ /unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)\nbit bit\nBy byte\ns second\nmin minute\nh hour\nd dayPrefixes (PREFIX)\nk kilo (10**3)\nM mega (10** 6)\nG giga (10**9)\nT tera (10**12)\nP peta (10**15)\nE exa (10**18)\nZ zetta (1 0**21)\nY yotta (10**24)\nm milli (10**-3)\nu micro (10**-6)\nn nano (10**-9)\np pico (10**-12)\nf femto (10**-15)\na atto (10**-18)\nz zepto (10**-21)\ny yocto (10**-24)\nKi kibi (2**10)\nMi mebi (2**20)\nGi gibi (2**30)\nTi tebi (2**40)Gr ammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also includes these connectors:\n/ division (as an infix operator, e.g. 1/s).\n. mul tiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follo ws:\nExpression = Component { \".\" Component } { \"/\" Component } ;\n\nCompone nt = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\nAnnotation = \"{\" NAME \"}\" ;\nNotes:\nAnnotation is just a com ment if it follows a UNIT and is equivalent to 1 if it is used alone. For examp les, {requests}/s == 1/s, By{transmitted}/s == By/s.\nNAME is a sequence of non -blank printable ASCII characters not containing '{' or '}'.",
1444 "type": "string"
1445 },
1446 "labels": {
1447 "description": "The set of labels that can be used to descri be a specific instance of this metric type. For example, the appengine.googleapi s.com/http/server/response_latencies metric type has a label for the HTTP respon se code, response_code, so you can look at latencies for successful responses or just for responses that failed.",
1448 "items": {
1449 "$ref": "LabelDescriptor"
1450 },
1451 "type": "array"
1452 },
1453 "name": {
1454 "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent res ource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descrip tor. For example, following is the resource name of a custom metric within the G CP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.goo gleapis.com%2Finvoice%2Fpaid%2Famount\"\n",
1455 "type": "string"
1456 },
1457 "type": {
1458 "description": "The metric type, including its DNS name pref ix. The type is not URL-encoded. All user-defined custom metric types have the D NS name custom.googleapis.com. Metric types should use a natural hierarchical gr ouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine .googleapis.com/http/server/response_latencies\"\n",
1459 "type": "string"
1460 },
1461 "valueType": {
1462 "description": "Whether the measurement is an integer, a flo ating-point number, etc. Some combinations of metric_kind and value_type might n ot be supported.",
1463 "enum": [
1464 "VALUE_TYPE_UNSPECIFIED",
1465 "BOOL",
1466 "INT64",
1467 "DOUBLE",
1468 "STRING",
1469 "DISTRIBUTION",
1470 "MONEY"
1471 ],
1472 "enumDescriptions": [
1473 "Do not use this default value.",
1474 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1475 "The value is a signed 64-bit integer.",
1476 "The value is a double precision floating point number." ,
1477 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1478 "The value is a Distribution.",
1479 "The value is money."
1480 ],
1481 "type": "string"
1482 },
1483 "metricKind": {
1484 "description": "Whether the metric records instantaneous val ues, changes to a value, etc. Some combinations of metric_kind and value_type mi ght not be supported.",
1485 "enum": [
1486 "METRIC_KIND_UNSPECIFIED",
1487 "GAUGE",
1488 "DELTA",
1489 "CUMULATIVE"
1490 ],
1491 "enumDescriptions": [
1492 "Do not use this default value.",
1493 "An instantaneous measurement of a value.",
1494 "The change in a value during a time interval.",
1495 "A value accumulated over a time interval. Cumulative me asurements in a time series should have the same start time and increasing end t imes, until an event resets the cumulative value to zero and sets a new start ti me for the following points."
1496 ],
1497 "type": "string"
1498 },
1499 "displayName": {
1500 "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for ex ample \"Request count\".",
1501 "type": "string"
1502 },
1503 "description": {
1504 "description": "A detailed description of the metric, which can be used in documentation.",
1505 "type": "string"
1506 }
1507 },
1508 "type": "object"
1509 },
1470 "Range": { 1510 "Range": {
1471 "description": "The range of the population values.", 1511 "description": "The range of the population values.",
1472 "id": "Range", 1512 "id": "Range",
1473 "properties": { 1513 "properties": {
1474 "max": { 1514 "min": {
1475 "description": "The maximum of the population values.", 1515 "description": "The minimum of the population values.",
1476 "format": "double", 1516 "format": "double",
1477 "type": "number" 1517 "type": "number"
1478 }, 1518 },
1479 "min": { 1519 "max": {
1480 "description": "The minimum of the population values.", 1520 "description": "The maximum of the population values.",
1481 "format": "double", 1521 "format": "double",
1482 "type": "number" 1522 "type": "number"
1483 } 1523 }
1484 }, 1524 },
1485 "type": "object" 1525 "type": "object"
1486 }, 1526 },
1487 "CreateTimeSeriesRequest": { 1527 "ListGroupsResponse": {
1488 "description": "The CreateTimeSeries request.", 1528 "description": "The ListGroups response.",
1489 "id": "CreateTimeSeriesRequest", 1529 "id": "ListGroupsResponse",
1490 "properties": { 1530 "properties": {
1491 "timeSeries": { 1531 "nextPageToken": {
1492 "description": "The new data to be added to a list of time s eries. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeri es value must fully specify a unique time series by supplying all label values f or the metric and the monitored resource.", 1532 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
1533 "type": "string"
1534 },
1535 "group": {
1536 "description": "The groups that match the specified filters. ",
1493 "items": { 1537 "items": {
1494 "$ref": "TimeSeries" 1538 "$ref": "Group"
1495 }, 1539 },
1496 "type": "array" 1540 "type": "array"
1497 } 1541 }
1498 }, 1542 },
1499 "type": "object" 1543 "type": "object"
1500 }, 1544 },
1501 "BucketOptions": {
1502 "description": "A Distribution may optionally contain a histogram of the values in the population. The histogram is given in bucket_counts as counts of values that fall into one of a sequence of non-overlapping buckets. The sequ ence of buckets is described by bucket_options.A bucket specifies an inclusive l ower bound and exclusive upper bound for the values that are counted for that bu cket. The upper bound of a bucket is strictly greater than the lower bound.The s equence of N buckets for a Distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the uppe r bound of the overflow bucket is +infinity. The finite buckets are so-called be cause both bounds are finite.BucketOptions describes bucket boundaries in one of three ways. Two describe the boundaries by giving parameters for a formula to g enerate boundaries and one gives the bucket boundaries explicitly.If bucket_opti ons is not given, then no bucket_counts may be given.",
1503 "id": "BucketOptions",
1504 "properties": {
1505 "explicitBuckets": {
1506 "$ref": "Explicit",
1507 "description": "The explicit buckets."
1508 },
1509 "exponentialBuckets": {
1510 "$ref": "Exponential",
1511 "description": "The exponential buckets."
1512 },
1513 "linearBuckets": {
1514 "$ref": "Linear",
1515 "description": "The linear bucket."
1516 }
1517 },
1518 "type": "object"
1519 },
1520 "CreateCollectdTimeSeriesRequest": { 1545 "CreateCollectdTimeSeriesRequest": {
1521 "description": "The CreateCollectdTimeSeries request.", 1546 "description": "The CreateCollectdTimeSeries request.",
1522 "id": "CreateCollectdTimeSeriesRequest", 1547 "id": "CreateCollectdTimeSeriesRequest",
1523 "properties": { 1548 "properties": {
1524 "collectdPayloads": {
1525 "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugi n_instance, type, and type_instance.",
1526 "items": {
1527 "$ref": "CollectdPayload"
1528 },
1529 "type": "array"
1530 },
1531 "collectdVersion": { 1549 "collectdVersion": {
1532 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".", 1550 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
1533 "type": "string" 1551 "type": "string"
1534 }, 1552 },
1535 "resource": { 1553 "resource": {
1536 "$ref": "MonitoredResource", 1554 "$ref": "MonitoredResource",
1537 "description": "The monitored resource associated with the t ime series." 1555 "description": "The monitored resource associated with the t ime series."
1556 },
1557 "collectdPayloads": {
1558 "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugi n_instance, type, and type_instance.",
1559 "items": {
1560 "$ref": "CollectdPayload"
1561 },
1562 "type": "array"
1538 } 1563 }
1539 }, 1564 },
1540 "type": "object" 1565 "type": "object"
1541 }, 1566 },
1542 "Type": { 1567 "ListGroupMembersResponse": {
1543 "description": "A protocol buffer message type.", 1568 "description": "The ListGroupMembers response.",
1544 "id": "Type", 1569 "id": "ListGroupMembersResponse",
1545 "properties": { 1570 "properties": {
1546 "oneofs": { 1571 "nextPageToken": {
1547 "description": "The list of types appearing in oneof definit ions in this type.", 1572 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
1573 "type": "string"
1574 },
1575 "totalSize": {
1576 "description": "The total number of elements matching this r equest.",
1577 "format": "int32",
1578 "type": "integer"
1579 },
1580 "members": {
1581 "description": "A set of monitored resources in the group.",
1548 "items": { 1582 "items": {
1549 "type": "string" 1583 "$ref": "MonitoredResource"
1550 }, 1584 },
1551 "type": "array" 1585 "type": "array"
1552 },
1553 "options": {
1554 "description": "The protocol buffer options.",
1555 "items": {
1556 "$ref": "Option"
1557 },
1558 "type": "array"
1559 },
1560 "sourceContext": {
1561 "$ref": "SourceContext",
1562 "description": "The source context."
1563 },
1564 "fields": {
1565 "description": "The list of fields.",
1566 "items": {
1567 "$ref": "Field"
1568 },
1569 "type": "array"
1570 },
1571 "name": {
1572 "description": "The fully qualified message name.",
1573 "type": "string"
1574 },
1575 "syntax": {
1576 "description": "The source syntax.",
1577 "enum": [
1578 "SYNTAX_PROTO2",
1579 "SYNTAX_PROTO3"
1580 ],
1581 "enumDescriptions": [
1582 "Syntax proto2.",
1583 "Syntax proto3."
1584 ],
1585 "type": "string"
1586 } 1586 }
1587 }, 1587 },
1588 "type": "object" 1588 "type": "object"
1589 }, 1589 },
1590 "ListGroupsResponse": { 1590 "ListMonitoredResourceDescriptorsResponse": {
1591 "description": "The ListGroups response.", 1591 "description": "The ListMonitoredResourcDescriptors response.",
1592 "id": "ListGroupsResponse", 1592 "id": "ListMonitoredResourceDescriptorsResponse",
1593 "properties": { 1593 "properties": {
1594 "group": { 1594 "resourceDescriptors": {
1595 "description": "The groups that match the specified filters. ", 1595 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1596 "items": { 1596 "items": {
1597 "$ref": "Group" 1597 "$ref": "MonitoredResourceDescriptor"
1598 }, 1598 },
1599 "type": "array" 1599 "type": "array"
1600 }, 1600 },
1601 "nextPageToken": { 1601 "nextPageToken": {
1602 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.", 1602 "description": "If there are more results than have been ret urned, then this field is set to a non-empty value. To see the additional result s, use that value as pageToken in the next call to this method.",
1603 "type": "string" 1603 "type": "string"
1604 } 1604 }
1605 }, 1605 },
1606 "type": "object" 1606 "type": "object"
1607 } 1607 }
1608 }, 1608 },
1609 "servicePath": "", 1609 "servicePath": "",
1610 "title": "Stackdriver Monitoring API", 1610 "title": "Stackdriver Monitoring API",
1611 "version": "v3" 1611 "version": "v3"
1612 } 1612 }
OLDNEW
« no previous file with comments | « discovery/googleapis/manufacturers__v1.json ('k') | discovery/googleapis/people__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698