OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/monitoring.read": { | 8 "https://www.googleapis.com/auth/monitoring.read": { |
9 "description": "View monitoring data for all of your Google
Cloud and third-party projects" | 9 "description": "View monitoring data for all of your Google
Cloud and third-party projects" |
10 }, | 10 }, |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "methods": { | 129 "methods": { |
130 "create": { | 130 "create": { |
131 "description": "Stackdriver Monitoring Agent only: C
reates a new time series.<aside class=\"caution\">This method is only for use by
the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</asid
e>", | 131 "description": "Stackdriver Monitoring Agent only: C
reates a new time series.<aside class=\"caution\">This method is only for use by
the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</asid
e>", |
132 "httpMethod": "POST", | 132 "httpMethod": "POST", |
133 "id": "monitoring.projects.collectdTimeSeries.create
", | 133 "id": "monitoring.projects.collectdTimeSeries.create
", |
134 "parameterOrder": [ | 134 "parameterOrder": [ |
135 "name" | 135 "name" |
136 ], | 136 ], |
137 "parameters": { | 137 "parameters": { |
138 "name": { | 138 "name": { |
139 "description": "The project in which to crea
te the time series. The format is "projects/PROJECT_ID_OR_NUMBER".", | 139 "description": "The project in which to crea
te the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".", |
140 "location": "path", | 140 "location": "path", |
141 "pattern": "^projects/[^/]+$", | 141 "pattern": "^projects/[^/]+$", |
142 "required": true, | 142 "required": true, |
143 "type": "string" | 143 "type": "string" |
144 } | 144 } |
145 }, | 145 }, |
146 "path": "v3/{+name}/collectdTimeSeries", | 146 "path": "v3/{+name}/collectdTimeSeries", |
147 "request": { | 147 "request": { |
148 "$ref": "CreateCollectdTimeSeriesRequest" | 148 "$ref": "CreateCollectdTimeSeriesRequest" |
149 }, | 149 }, |
(...skipping 17 matching lines...) Expand all Loading... |
167 "parameterOrder": [ | 167 "parameterOrder": [ |
168 "name" | 168 "name" |
169 ], | 169 ], |
170 "parameters": { | 170 "parameters": { |
171 "validateOnly": { | 171 "validateOnly": { |
172 "description": "If true, validate this reque
st but do not update the existing group.", | 172 "description": "If true, validate this reque
st but do not update the existing group.", |
173 "location": "query", | 173 "location": "query", |
174 "type": "boolean" | 174 "type": "boolean" |
175 }, | 175 }, |
176 "name": { | 176 "name": { |
177 "description": "Output only. The name of thi
s group. The format is "projects/{project_id_or_number}/groups/{group_id}&q
uot;. When creating a group, this field is ignored and a new name is created con
sisting of the project specified in the call to CreateGroup and a unique {group_
id} that is generated automatically.", | 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", | 178 "location": "path", |
179 "pattern": "^projects/[^/]+/groups/[^/]+$", | 179 "pattern": "^projects/[^/]+/groups/[^/]+$", |
180 "required": true, | 180 "required": true, |
181 "type": "string" | 181 "type": "string" |
182 } | 182 } |
183 }, | 183 }, |
184 "path": "v3/{+name}", | 184 "path": "v3/{+name}", |
185 "request": { | 185 "request": { |
186 "$ref": "Group" | 186 "$ref": "Group" |
187 }, | 187 }, |
188 "response": { | 188 "response": { |
189 "$ref": "Group" | 189 "$ref": "Group" |
190 }, | 190 }, |
191 "scopes": [ | 191 "scopes": [ |
192 "https://www.googleapis.com/auth/cloud-platform"
, | 192 "https://www.googleapis.com/auth/cloud-platform"
, |
193 "https://www.googleapis.com/auth/monitoring" | 193 "https://www.googleapis.com/auth/monitoring" |
194 ] | 194 ] |
195 }, | 195 }, |
196 "get": { | 196 "get": { |
197 "description": "Gets a single group.", | 197 "description": "Gets a single group.", |
198 "httpMethod": "GET", | 198 "httpMethod": "GET", |
199 "id": "monitoring.projects.groups.get", | 199 "id": "monitoring.projects.groups.get", |
200 "parameterOrder": [ | 200 "parameterOrder": [ |
201 "name" | 201 "name" |
202 ], | 202 ], |
203 "parameters": { | 203 "parameters": { |
204 "name": { | 204 "name": { |
205 "description": "The group to retrieve. The f
ormat is "projects/{project_id_or_number}/groups/{group_id}".", | 205 "description": "The group to retrieve. The f
ormat is \"projects/{project_id_or_number}/groups/{group_id}\".", |
206 "location": "path", | 206 "location": "path", |
207 "pattern": "^projects/[^/]+/groups/[^/]+$", | 207 "pattern": "^projects/[^/]+/groups/[^/]+$", |
208 "required": true, | 208 "required": true, |
209 "type": "string" | 209 "type": "string" |
210 } | 210 } |
211 }, | 211 }, |
212 "path": "v3/{+name}", | 212 "path": "v3/{+name}", |
213 "response": { | 213 "response": { |
214 "$ref": "Group" | 214 "$ref": "Group" |
215 }, | 215 }, |
(...skipping 10 matching lines...) Expand all Loading... |
226 "parameterOrder": [ | 226 "parameterOrder": [ |
227 "name" | 227 "name" |
228 ], | 228 ], |
229 "parameters": { | 229 "parameters": { |
230 "validateOnly": { | 230 "validateOnly": { |
231 "description": "If true, validate this reque
st but do not create the group.", | 231 "description": "If true, validate this reque
st but do not create the group.", |
232 "location": "query", | 232 "location": "query", |
233 "type": "boolean" | 233 "type": "boolean" |
234 }, | 234 }, |
235 "name": { | 235 "name": { |
236 "description": "The project in which to crea
te the group. The format is "projects/{project_id_or_number}".", | 236 "description": "The project in which to crea
te the group. The format is \"projects/{project_id_or_number}\".", |
237 "location": "path", | 237 "location": "path", |
238 "pattern": "^projects/[^/]+$", | 238 "pattern": "^projects/[^/]+$", |
239 "required": true, | 239 "required": true, |
240 "type": "string" | 240 "type": "string" |
241 } | 241 } |
242 }, | 242 }, |
243 "path": "v3/{+name}/groups", | 243 "path": "v3/{+name}/groups", |
244 "request": { | 244 "request": { |
245 "$ref": "Group" | 245 "$ref": "Group" |
246 }, | 246 }, |
247 "response": { | 247 "response": { |
248 "$ref": "Group" | 248 "$ref": "Group" |
249 }, | 249 }, |
250 "scopes": [ | 250 "scopes": [ |
251 "https://www.googleapis.com/auth/cloud-platform"
, | 251 "https://www.googleapis.com/auth/cloud-platform"
, |
252 "https://www.googleapis.com/auth/monitoring" | 252 "https://www.googleapis.com/auth/monitoring" |
253 ] | 253 ] |
254 }, | 254 }, |
255 "list": { | 255 "list": { |
256 "description": "Lists the existing groups.", | 256 "description": "Lists the existing groups.", |
257 "httpMethod": "GET", | 257 "httpMethod": "GET", |
258 "id": "monitoring.projects.groups.list", | 258 "id": "monitoring.projects.groups.list", |
259 "parameterOrder": [ | 259 "parameterOrder": [ |
260 "name" | 260 "name" |
261 ], | 261 ], |
262 "parameters": { | 262 "parameters": { |
263 "descendantsOfGroup": { | 263 "descendantsOfGroup": { |
264 "description": "A group name: "projects
/{project_id_or_number}/groups/{group_id}". Returns the descendants of the
specified group. This is a superset of the results returned by the childrenOfGro
up filter, and includes children-of-children, and so forth.", | 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", | 265 "location": "query", |
266 "type": "string" | 266 "type": "string" |
267 }, | 267 }, |
268 "pageSize": { | 268 "pageSize": { |
269 "description": "A positive number that is th
e maximum number of results to return.", | 269 "description": "A positive number that is th
e maximum number of results to return.", |
270 "format": "int32", | 270 "format": "int32", |
271 "location": "query", | 271 "location": "query", |
272 "type": "integer" | 272 "type": "integer" |
273 }, | 273 }, |
274 "childrenOfGroup": { | 274 "childrenOfGroup": { |
275 "description": "A group name: "projects
/{project_id_or_number}/groups/{group_id}". Returns groups whose parentName
field contains the group name. If no groups have this parent, the results are e
mpty.", | 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.", |
276 "location": "query", | 276 "location": "query", |
277 "type": "string" | 277 "type": "string" |
278 }, | 278 }, |
279 "name": { | 279 "name": { |
280 "description": "The project whose groups are
to be listed. The format is "projects/{project_id_or_number}".", | 280 "description": "The project whose groups are
to be listed. The format is \"projects/{project_id_or_number}\".", |
281 "location": "path", | 281 "location": "path", |
282 "pattern": "^projects/[^/]+$", | 282 "pattern": "^projects/[^/]+$", |
283 "required": true, | 283 "required": true, |
284 "type": "string" | 284 "type": "string" |
285 }, | 285 }, |
286 "ancestorsOfGroup": { | 286 "ancestorsOfGroup": { |
287 "description": "A group name: "projects
/{project_id_or_number}/groups/{group_id}". Returns groups that are ancesto
rs of the specified group. The groups are returned in order, starting with the i
mmediate parent and ending with the most distant ancestor. If the specified grou
p has no immediate parent, the results are empty.", | 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", | 288 "location": "query", |
289 "type": "string" | 289 "type": "string" |
290 }, | 290 }, |
291 "pageToken": { | 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.", | 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", | 293 "location": "query", |
294 "type": "string" | 294 "type": "string" |
295 } | 295 } |
296 }, | 296 }, |
297 "path": "v3/{+name}/groups", | 297 "path": "v3/{+name}/groups", |
298 "response": { | 298 "response": { |
299 "$ref": "ListGroupsResponse" | 299 "$ref": "ListGroupsResponse" |
300 }, | 300 }, |
301 "scopes": [ | 301 "scopes": [ |
302 "https://www.googleapis.com/auth/cloud-platform"
, | 302 "https://www.googleapis.com/auth/cloud-platform"
, |
303 "https://www.googleapis.com/auth/monitoring", | 303 "https://www.googleapis.com/auth/monitoring", |
304 "https://www.googleapis.com/auth/monitoring.read
" | 304 "https://www.googleapis.com/auth/monitoring.read
" |
305 ] | 305 ] |
306 }, | 306 }, |
307 "delete": { | 307 "delete": { |
308 "description": "Deletes an existing group.", | 308 "description": "Deletes an existing group.", |
309 "httpMethod": "DELETE", | 309 "httpMethod": "DELETE", |
310 "id": "monitoring.projects.groups.delete", | 310 "id": "monitoring.projects.groups.delete", |
311 "parameterOrder": [ | 311 "parameterOrder": [ |
312 "name" | 312 "name" |
313 ], | 313 ], |
314 "parameters": { | 314 "parameters": { |
315 "name": { | 315 "name": { |
316 "description": "The group to delete. The for
mat is "projects/{project_id_or_number}/groups/{group_id}".", | 316 "description": "The group to delete. The for
mat is \"projects/{project_id_or_number}/groups/{group_id}\".", |
317 "location": "path", | 317 "location": "path", |
318 "pattern": "^projects/[^/]+/groups/[^/]+$", | 318 "pattern": "^projects/[^/]+/groups/[^/]+$", |
319 "required": true, | 319 "required": true, |
320 "type": "string" | 320 "type": "string" |
321 } | 321 } |
322 }, | 322 }, |
323 "path": "v3/{+name}", | 323 "path": "v3/{+name}", |
324 "response": { | 324 "response": { |
325 "$ref": "Empty" | 325 "$ref": "Empty" |
326 }, | 326 }, |
327 "scopes": [ | 327 "scopes": [ |
328 "https://www.googleapis.com/auth/cloud-platform"
, | 328 "https://www.googleapis.com/auth/cloud-platform"
, |
329 "https://www.googleapis.com/auth/monitoring" | 329 "https://www.googleapis.com/auth/monitoring" |
330 ] | 330 ] |
331 } | 331 } |
332 }, | 332 }, |
333 "resources": { | 333 "resources": { |
334 "members": { | 334 "members": { |
335 "methods": { | 335 "methods": { |
336 "list": { | 336 "list": { |
337 "description": "Lists the monitored resource
s that are members of a group.", | 337 "description": "Lists the monitored resource
s that are members of a group.", |
338 "httpMethod": "GET", | 338 "httpMethod": "GET", |
339 "id": "monitoring.projects.groups.members.li
st", | 339 "id": "monitoring.projects.groups.members.li
st", |
340 "parameterOrder": [ | 340 "parameterOrder": [ |
341 "name" | 341 "name" |
342 ], | 342 ], |
343 "parameters": { | 343 "parameters": { |
344 "filter": { | 344 "filter": { |
345 "description": "An optional list fil
ter (/monitoring/api/learn_more#filtering) describing the members to be returned
. The filter may reference the type, labels, and metadata of monitored resources
that comprise the group. For example, to return only resources representing Com
pute Engine VM instances, use this filter:\nresource.type = "gce_instance&q
uot;\n", | 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", | 346 "location": "query", |
347 "type": "string" | 347 "type": "string" |
348 }, | 348 }, |
349 "interval.endTime": { | 349 "interval.endTime": { |
350 "description": "Required. The end of
the time interval.", | 350 "description": "Required. The end of
the time interval.", |
351 "format": "google-datetime", | 351 "format": "google-datetime", |
352 "location": "query", | 352 "location": "query", |
353 "type": "string" | 353 "type": "string" |
354 }, | 354 }, |
355 "interval.startTime": { | 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.", | 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", | 357 "format": "google-datetime", |
358 "location": "query", | 358 "location": "query", |
359 "type": "string" | 359 "type": "string" |
360 }, | 360 }, |
361 "pageSize": { | 361 "pageSize": { |
362 "description": "A positive number th
at is the maximum number of results to return.", | 362 "description": "A positive number th
at is the maximum number of results to return.", |
363 "format": "int32", | 363 "format": "int32", |
364 "location": "query", | 364 "location": "query", |
365 "type": "integer" | 365 "type": "integer" |
366 }, | 366 }, |
367 "name": { | 367 "name": { |
368 "description": "The group whose memb
ers are listed. The format is "projects/{project_id_or_number}/groups/{grou
p_id}".", | 368 "description": "The group whose memb
ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id
}\".", |
369 "location": "path", | 369 "location": "path", |
370 "pattern": "^projects/[^/]+/groups/[
^/]+$", | 370 "pattern": "^projects/[^/]+/groups/[
^/]+$", |
371 "required": true, | 371 "required": true, |
372 "type": "string" | 372 "type": "string" |
373 }, | 373 }, |
374 "pageToken": { | 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.", | 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", | 376 "location": "query", |
377 "type": "string" | 377 "type": "string" |
378 } | 378 } |
(...skipping 16 matching lines...) Expand all Loading... |
395 "methods": { | 395 "methods": { |
396 "get": { | 396 "get": { |
397 "description": "Gets a single metric descriptor. Thi
s method does not require a Stackdriver account.", | 397 "description": "Gets a single metric descriptor. Thi
s method does not require a Stackdriver account.", |
398 "httpMethod": "GET", | 398 "httpMethod": "GET", |
399 "id": "monitoring.projects.metricDescriptors.get", | 399 "id": "monitoring.projects.metricDescriptors.get", |
400 "parameterOrder": [ | 400 "parameterOrder": [ |
401 "name" | 401 "name" |
402 ], | 402 ], |
403 "parameters": { | 403 "parameters": { |
404 "name": { | 404 "name": { |
405 "description": "The metric descriptor on whi
ch to execute the request. The format is "projects/{project_id_or_number}/m
etricDescriptors/{metric_id}". An example value of {metric_id} is "com
pute.googleapis.com/instance/disk/read_bytes_count".", | 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\".", |
406 "location": "path", | 406 "location": "path", |
407 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", | 407 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", |
408 "required": true, | 408 "required": true, |
409 "type": "string" | 409 "type": "string" |
410 } | 410 } |
411 }, | 411 }, |
412 "path": "v3/{+name}", | 412 "path": "v3/{+name}", |
413 "response": { | 413 "response": { |
414 "$ref": "MetricDescriptor" | 414 "$ref": "MetricDescriptor" |
415 }, | 415 }, |
416 "scopes": [ | 416 "scopes": [ |
417 "https://www.googleapis.com/auth/cloud-platform"
, | 417 "https://www.googleapis.com/auth/cloud-platform"
, |
418 "https://www.googleapis.com/auth/monitoring", | 418 "https://www.googleapis.com/auth/monitoring", |
419 "https://www.googleapis.com/auth/monitoring.read
", | 419 "https://www.googleapis.com/auth/monitoring.read
", |
420 "https://www.googleapis.com/auth/monitoring.writ
e" | 420 "https://www.googleapis.com/auth/monitoring.writ
e" |
421 ] | 421 ] |
422 }, | 422 }, |
423 "create": { | 423 "create": { |
424 "description": "Creates a new metric descriptor. Use
r-created metric descriptors define custom metrics (/monitoring/custom-metrics).
", | 424 "description": "Creates a new metric descriptor. Use
r-created metric descriptors define custom metrics.", |
425 "httpMethod": "POST", | 425 "httpMethod": "POST", |
426 "id": "monitoring.projects.metricDescriptors.create"
, | 426 "id": "monitoring.projects.metricDescriptors.create"
, |
427 "parameterOrder": [ | 427 "parameterOrder": [ |
428 "name" | 428 "name" |
429 ], | 429 ], |
430 "parameters": { | 430 "parameters": { |
431 "name": { | 431 "name": { |
432 "description": "The project on which to exec
ute the request. The format is "projects/{project_id_or_number}".", | 432 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
433 "location": "path", | 433 "location": "path", |
434 "pattern": "^projects/[^/]+$", | 434 "pattern": "^projects/[^/]+$", |
435 "required": true, | 435 "required": true, |
436 "type": "string" | 436 "type": "string" |
437 } | 437 } |
438 }, | 438 }, |
439 "path": "v3/{+name}/metricDescriptors", | 439 "path": "v3/{+name}/metricDescriptors", |
440 "request": { | 440 "request": { |
441 "$ref": "MetricDescriptor" | 441 "$ref": "MetricDescriptor" |
442 }, | 442 }, |
(...skipping 14 matching lines...) Expand all Loading... |
457 "name" | 457 "name" |
458 ], | 458 ], |
459 "parameters": { | 459 "parameters": { |
460 "pageSize": { | 460 "pageSize": { |
461 "description": "A positive number that is th
e maximum number of results to return.", | 461 "description": "A positive number that is th
e maximum number of results to return.", |
462 "format": "int32", | 462 "format": "int32", |
463 "location": "query", | 463 "location": "query", |
464 "type": "integer" | 464 "type": "integer" |
465 }, | 465 }, |
466 "filter": { | 466 "filter": { |
467 "description": "If this field is empty, all
custom and system-defined metric descriptors are returned. Otherwise, the filter
(/monitoring/api/v3/filters) specifies which metric descriptors are to be retur
ned. For example, the following filter matches all custom metrics (/monitoring/c
ustom-metrics):\nmetric.type = starts_with("custom.googleapis.com/")\n
", | 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", | 468 "location": "query", |
469 "type": "string" | 469 "type": "string" |
470 }, | 470 }, |
471 "name": { | 471 "name": { |
472 "description": "The project on which to exec
ute the request. The format is "projects/{project_id_or_number}".", | 472 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
473 "location": "path", | 473 "location": "path", |
474 "pattern": "^projects/[^/]+$", | 474 "pattern": "^projects/[^/]+$", |
475 "required": true, | 475 "required": true, |
476 "type": "string" | 476 "type": "string" |
477 }, | 477 }, |
478 "pageToken": { | 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.", | 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", | 480 "location": "query", |
481 "type": "string" | 481 "type": "string" |
482 } | 482 } |
483 }, | 483 }, |
484 "path": "v3/{+name}/metricDescriptors", | 484 "path": "v3/{+name}/metricDescriptors", |
485 "response": { | 485 "response": { |
486 "$ref": "ListMetricDescriptorsResponse" | 486 "$ref": "ListMetricDescriptorsResponse" |
487 }, | 487 }, |
488 "scopes": [ | 488 "scopes": [ |
489 "https://www.googleapis.com/auth/cloud-platform"
, | 489 "https://www.googleapis.com/auth/cloud-platform"
, |
490 "https://www.googleapis.com/auth/monitoring", | 490 "https://www.googleapis.com/auth/monitoring", |
491 "https://www.googleapis.com/auth/monitoring.read
", | 491 "https://www.googleapis.com/auth/monitoring.read
", |
492 "https://www.googleapis.com/auth/monitoring.writ
e" | 492 "https://www.googleapis.com/auth/monitoring.writ
e" |
493 ] | 493 ] |
494 }, | 494 }, |
495 "delete": { | 495 "delete": { |
496 "description": "Deletes a metric descriptor. Only us
er-created custom metrics (/monitoring/custom-metrics) can be deleted.", | 496 "description": "Deletes a metric descriptor. Only us
er-created custom metrics can be deleted.", |
497 "httpMethod": "DELETE", | 497 "httpMethod": "DELETE", |
498 "id": "monitoring.projects.metricDescriptors.delete"
, | 498 "id": "monitoring.projects.metricDescriptors.delete"
, |
499 "parameterOrder": [ | 499 "parameterOrder": [ |
500 "name" | 500 "name" |
501 ], | 501 ], |
502 "parameters": { | 502 "parameters": { |
503 "name": { | 503 "name": { |
504 "description": "The metric descriptor on whi
ch to execute the request. The format is "projects/{project_id_or_number}/m
etricDescriptors/{metric_id}". An example of {metric_id} is: "custom.g
oogleapis.com/my_test_metric".", | 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\".", |
505 "location": "path", | 505 "location": "path", |
506 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", | 506 "pattern": "^projects/[^/]+/metricDescriptor
s/.+$", |
507 "required": true, | 507 "required": true, |
508 "type": "string" | 508 "type": "string" |
509 } | 509 } |
510 }, | 510 }, |
511 "path": "v3/{+name}", | 511 "path": "v3/{+name}", |
512 "response": { | 512 "response": { |
513 "$ref": "Empty" | 513 "$ref": "Empty" |
514 }, | 514 }, |
515 "scopes": [ | 515 "scopes": [ |
516 "https://www.googleapis.com/auth/cloud-platform"
, | 516 "https://www.googleapis.com/auth/cloud-platform"
, |
517 "https://www.googleapis.com/auth/monitoring" | 517 "https://www.googleapis.com/auth/monitoring" |
518 ] | 518 ] |
519 } | 519 } |
520 } | 520 } |
521 }, | 521 }, |
522 "timeSeries": { | 522 "timeSeries": { |
523 "methods": { | 523 "methods": { |
524 "create": { | 524 "create": { |
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.", | 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.", |
526 "httpMethod": "POST", | 526 "httpMethod": "POST", |
527 "id": "monitoring.projects.timeSeries.create", | 527 "id": "monitoring.projects.timeSeries.create", |
528 "parameterOrder": [ | 528 "parameterOrder": [ |
529 "name" | 529 "name" |
530 ], | 530 ], |
531 "parameters": { | 531 "parameters": { |
532 "name": { | 532 "name": { |
533 "description": "The project on which to exec
ute the request. The format is "projects/{project_id_or_number}".", | 533 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
534 "location": "path", | 534 "location": "path", |
535 "pattern": "^projects/[^/]+$", | 535 "pattern": "^projects/[^/]+$", |
536 "required": true, | 536 "required": true, |
537 "type": "string" | 537 "type": "string" |
538 } | 538 } |
539 }, | 539 }, |
540 "path": "v3/{+name}/timeSeries", | 540 "path": "v3/{+name}/timeSeries", |
541 "request": { | 541 "request": { |
542 "$ref": "CreateTimeSeriesRequest" | 542 "$ref": "CreateTimeSeriesRequest" |
543 }, | 543 }, |
544 "response": { | 544 "response": { |
545 "$ref": "Empty" | 545 "$ref": "Empty" |
546 }, | 546 }, |
547 "scopes": [ | 547 "scopes": [ |
548 "https://www.googleapis.com/auth/cloud-platform"
, | 548 "https://www.googleapis.com/auth/cloud-platform"
, |
549 "https://www.googleapis.com/auth/monitoring", | 549 "https://www.googleapis.com/auth/monitoring", |
550 "https://www.googleapis.com/auth/monitoring.writ
e" | 550 "https://www.googleapis.com/auth/monitoring.writ
e" |
551 ] | 551 ] |
552 }, | 552 }, |
553 "list": { | 553 "list": { |
554 "description": "Lists time series that match a filte
r. This method does not require a Stackdriver account.", | 554 "description": "Lists time series that match a filte
r. This method does not require a Stackdriver account.", |
555 "httpMethod": "GET", | 555 "httpMethod": "GET", |
556 "id": "monitoring.projects.timeSeries.list", | 556 "id": "monitoring.projects.timeSeries.list", |
557 "parameterOrder": [ | 557 "parameterOrder": [ |
558 "name" | 558 "name" |
559 ], | 559 ], |
560 "parameters": { | 560 "parameters": { |
561 "filter": { | 561 "filter": { |
562 "description": "A monitoring filter (/monito
ring/api/v3/filters) that specifies which time series should be returned. The fi
lter must specify a single metric type, and can additionally specify metric labe
ls and other information. For example:\nmetric.type = "compute.googleapis.c
om/instance/cpu/usage_time" AND\n metric.label.instance_name = "my-
instance-name"\n", | 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", | 563 "location": "query", |
564 "type": "string" | 564 "type": "string" |
565 }, | 565 }, |
566 "aggregation.groupByFields": { | 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. Fields not specified
in groupByFields are aggregated away. If groupByFields is not specified, the ti
me series are aggregated into a single output time series. If crossSeriesReducer
is not defined, this field is ignored.", | 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", | 568 "location": "query", |
569 "repeated": true, | 569 "repeated": true, |
570 "type": "string" | 570 "type": "string" |
571 }, | 571 }, |
572 "aggregation.crossSeriesReducer": { | 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.", | 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": [ | 574 "enum": [ |
575 "REDUCE_NONE", | 575 "REDUCE_NONE", |
576 "REDUCE_MEAN", | 576 "REDUCE_MEAN", |
577 "REDUCE_MIN", | 577 "REDUCE_MIN", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 "methods": { | 680 "methods": { |
681 "get": { | 681 "get": { |
682 "description": "Gets a single monitored resource des
criptor. This method does not require a Stackdriver account.", | 682 "description": "Gets a single monitored resource des
criptor. This method does not require a Stackdriver account.", |
683 "httpMethod": "GET", | 683 "httpMethod": "GET", |
684 "id": "monitoring.projects.monitoredResourceDescript
ors.get", | 684 "id": "monitoring.projects.monitoredResourceDescript
ors.get", |
685 "parameterOrder": [ | 685 "parameterOrder": [ |
686 "name" | 686 "name" |
687 ], | 687 ], |
688 "parameters": { | 688 "parameters": { |
689 "name": { | 689 "name": { |
690 "description": "The monitored resource descr
iptor to get. The format is "projects/{project_id_or_number}/monitoredResou
rceDescriptors/{resource_type}". The {resource_type} is a predefined type,
such as cloudsql_database.", | 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.", |
691 "location": "path", | 691 "location": "path", |
692 "pattern": "^projects/[^/]+/monitoredResourc
eDescriptors/[^/]+$", | 692 "pattern": "^projects/[^/]+/monitoredResourc
eDescriptors/[^/]+$", |
693 "required": true, | 693 "required": true, |
694 "type": "string" | 694 "type": "string" |
695 } | 695 } |
696 }, | 696 }, |
697 "path": "v3/{+name}", | 697 "path": "v3/{+name}", |
698 "response": { | 698 "response": { |
699 "$ref": "MonitoredResourceDescriptor" | 699 "$ref": "MonitoredResourceDescriptor" |
700 }, | 700 }, |
(...skipping 12 matching lines...) Expand all Loading... |
713 "name" | 713 "name" |
714 ], | 714 ], |
715 "parameters": { | 715 "parameters": { |
716 "pageSize": { | 716 "pageSize": { |
717 "description": "A positive number that is th
e maximum number of results to return.", | 717 "description": "A positive number that is th
e maximum number of results to return.", |
718 "format": "int32", | 718 "format": "int32", |
719 "location": "query", | 719 "location": "query", |
720 "type": "integer" | 720 "type": "integer" |
721 }, | 721 }, |
722 "filter": { | 722 "filter": { |
723 "description": "An optional filter (/monitor
ing/api/v3/filters) describing the descriptors to be returned. The filter can re
ference the descriptor's type and labels. For example, the following filter retu
rns only Google Compute Engine descriptors that have an id label:\nresource.type
= starts_with("gce_") AND resource.label:id\n", | 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", |
724 "location": "query", | 724 "location": "query", |
725 "type": "string" | 725 "type": "string" |
726 }, | 726 }, |
727 "name": { | 727 "name": { |
728 "description": "The project on which to exec
ute the request. The format is "projects/{project_id_or_number}".", | 728 "description": "The project on which to exec
ute the request. The format is \"projects/{project_id_or_number}\".", |
729 "location": "path", | 729 "location": "path", |
730 "pattern": "^projects/[^/]+$", | 730 "pattern": "^projects/[^/]+$", |
731 "required": true, | 731 "required": true, |
732 "type": "string" | 732 "type": "string" |
733 }, | 733 }, |
734 "pageToken": { | 734 "pageToken": { |
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.", | 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.", |
736 "location": "query", | 736 "location": "query", |
737 "type": "string" | 737 "type": "string" |
738 } | 738 } |
739 }, | 739 }, |
740 "path": "v3/{+name}/monitoredResourceDescriptors", | 740 "path": "v3/{+name}/monitoredResourceDescriptors", |
741 "response": { | 741 "response": { |
742 "$ref": "ListMonitoredResourceDescriptorsRespons
e" | 742 "$ref": "ListMonitoredResourceDescriptorsRespons
e" |
743 }, | 743 }, |
744 "scopes": [ | 744 "scopes": [ |
745 "https://www.googleapis.com/auth/cloud-platform"
, | 745 "https://www.googleapis.com/auth/cloud-platform"
, |
746 "https://www.googleapis.com/auth/monitoring", | 746 "https://www.googleapis.com/auth/monitoring", |
747 "https://www.googleapis.com/auth/monitoring.read
", | 747 "https://www.googleapis.com/auth/monitoring.read
", |
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": "20161031", | 756 "revision": "20161205", |
757 "rootUrl": "https://monitoring.googleapis.com/", | 757 "rootUrl": "https://monitoring.googleapis.com/", |
758 "schemas": { | 758 "schemas": { |
759 "Metric": { | 759 "Metric": { |
760 "description": "A specific metric, identified by specifying values f
or all of the labels of a MetricDescriptor.", | 760 "description": "A specific metric, identified by specifying values f
or all of the labels of a MetricDescriptor.", |
761 "id": "Metric", | 761 "id": "Metric", |
762 "properties": { | 762 "properties": { |
763 "labels": { | 763 "labels": { |
764 "additionalProperties": { | 764 "additionalProperties": { |
765 "type": "string" | 765 "type": "string" |
766 }, | 766 }, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 }, | 808 }, |
809 "startTime": { | 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.", | 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", | 811 "format": "google-datetime", |
812 "type": "string" | 812 "type": "string" |
813 } | 813 } |
814 }, | 814 }, |
815 "type": "object" | 815 "type": "object" |
816 }, | 816 }, |
817 "Group": { | 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 fi
lter, environment="production". A child of that parent group has a fil
ter, role="transcoder". The parent group contains all instances in the
production environment, regardless of their roles. The child group contains ins
tances that have the transcoder role and are in the production environment.The m
onitored resources contained in a group can change at any moment, depending on w
hat resources exist and what filters are associated with the group and its ances
tors.", | 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", | 819 "id": "Group", |
820 "properties": { | 820 "properties": { |
821 "displayName": { | 821 "displayName": { |
822 "description": "A user-assigned name for this group, used on
ly for display purposes.", | 822 "description": "A user-assigned name for this group, used on
ly for display purposes.", |
823 "type": "string" | 823 "type": "string" |
824 }, | 824 }, |
825 "parentName": { | 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 groups with no parent, parentName is the empty string, "".", | 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" | 827 "type": "string" |
828 }, | 828 }, |
829 "isCluster": { | 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.", | 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" | 831 "type": "boolean" |
832 }, | 832 }, |
833 "filter": { | 833 "filter": { |
834 "description": "The filter used to determine which monitored
resources belong to this group.", | 834 "description": "The filter used to determine which monitored
resources belong to this group.", |
835 "type": "string" | 835 "type": "string" |
836 }, | 836 }, |
837 "name": { | 837 "name": { |
838 "description": "Output only. The name of this group. The for
mat is "projects/{project_id_or_number}/groups/{group_id}". When creat
ing a group, this field is ignored and a new name is created consisting of the p
roject specified in the call to CreateGroup and a unique {group_id} that is gene
rated automatically.", | 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" | 839 "type": "string" |
840 } | 840 } |
841 }, | 841 }, |
842 "type": "object" | 842 "type": "object" |
843 }, | 843 }, |
844 "ListTimeSeriesResponse": { | 844 "ListTimeSeriesResponse": { |
845 "description": "The ListTimeSeries response.", | 845 "description": "The ListTimeSeries response.", |
846 "id": "ListTimeSeriesResponse", | 846 "id": "ListTimeSeriesResponse", |
847 "properties": { | 847 "properties": { |
848 "timeSeries": { | 848 "timeSeries": { |
(...skipping 27 matching lines...) Expand all Loading... |
876 }, | 876 }, |
877 "CollectdValue": { | 877 "CollectdValue": { |
878 "description": "A single data point from a collectd-based plugin.", | 878 "description": "A single data point from a collectd-based plugin.", |
879 "id": "CollectdValue", | 879 "id": "CollectdValue", |
880 "properties": { | 880 "properties": { |
881 "value": { | 881 "value": { |
882 "$ref": "TypedValue", | 882 "$ref": "TypedValue", |
883 "description": "The measurement value." | 883 "description": "The measurement value." |
884 }, | 884 }, |
885 "dataSourceName": { | 885 "dataSourceName": { |
886 "description": "The data source for the collectd value. For
example there are two data sources for network measurements: "rx" and
"tx".", | 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" | 887 "type": "string" |
888 }, | 888 }, |
889 "dataSourceType": { | 889 "dataSourceType": { |
890 "description": "The type of measurement.", | 890 "description": "The type of measurement.", |
891 "enum": [ | 891 "enum": [ |
892 "UNSPECIFIED_DATA_SOURCE_TYPE", | 892 "UNSPECIFIED_DATA_SOURCE_TYPE", |
893 "GAUGE", | 893 "GAUGE", |
894 "COUNTER", | 894 "COUNTER", |
895 "DERIVE", | 895 "DERIVE", |
896 "ABSOLUTE" | 896 "ABSOLUTE" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 }, | 969 }, |
970 "MetricDescriptor": { | 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.", | 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", | 972 "id": "MetricDescriptor", |
973 "properties": { | 973 "properties": { |
974 "description": { | 974 "description": { |
975 "description": "A detailed description of the metric, which
can be used in documentation.", | 975 "description": "A detailed description of the metric, which
can be used in documentation.", |
976 "type": "string" | 976 "type": "string" |
977 }, | 977 }, |
978 "unit": { | 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 } { "/" Componen
t } ;\n\nComponent = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n
| "1"\n ;\n\nAnnotation = "{" NAME "}&q
uot; ;\nNotes:\nAnnotation is just a comment if it follows a UNIT and is equiva
lent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitte
d}/s == By/s.\nNAME is a sequence of non-blank printable ASCII characters not c
ontaining '{' or '}'.", | 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" | 980 "type": "string" |
981 }, | 981 }, |
982 "labels": { | 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.", | 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": { | 984 "items": { |
985 "$ref": "LabelDescriptor" | 985 "$ref": "LabelDescriptor" |
986 }, | 986 }, |
987 "type": "array" | 987 "type": "array" |
988 }, | 988 }, |
989 "metricKind": { | 989 "metricKind": { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 "The value is a Distribution.", | 1022 "The value is a Distribution.", |
1023 "The value is money." | 1023 "The value is money." |
1024 ], | 1024 ], |
1025 "type": "string" | 1025 "type": "string" |
1026 }, | 1026 }, |
1027 "displayName": { | 1027 "displayName": { |
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\".", | 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\".", |
1029 "type": "string" | 1029 "type": "string" |
1030 }, | 1030 }, |
1031 "name": { | 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 123456789:\n"projects/123456789/metricDescriptors/custom.googlea
pis.com%2Finvoice%2Fpaid%2Famount"\n", | 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 123456789:\n\"projects/123456789/metricDescriptors/custom.googleapis.
com%2Finvoice%2Fpaid%2Famount\"\n", |
1033 "type": "string" | 1033 "type": "string" |
1034 }, | 1034 }, |
1035 "type": { | 1035 "type": { |
1036 "description": "The metric type, including its DNS name pref
ix. The type is not URL-encoded. All user-defined metric types have the DNS name
custom.googleapis.com. Metric types should use a natural hierarchical grouping.
For example:\n"custom.googleapis.com/invoice/paid/amount"\n"appe
ngine.googleapis.com/http/server/response_latencies"\n", | 1036 "description": "The metric type, including its DNS name pref
ix. The type is not URL-encoded. All user-defined metric types have the DNS name
custom.googleapis.com. Metric types should use a natural hierarchical grouping.
For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine.google
apis.com/http/server/response_latencies\"\n", |
1037 "type": "string" | 1037 "type": "string" |
1038 } | 1038 } |
1039 }, | 1039 }, |
1040 "type": "object" | 1040 "type": "object" |
1041 }, | 1041 }, |
1042 "Exponential": { | 1042 "Exponential": { |
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_factor ^ (i - 1)).", | 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)).", |
1044 "id": "Exponential", | 1044 "id": "Exponential", |
1045 "properties": { | 1045 "properties": { |
1046 "growthFactor": { | 1046 "growthFactor": { |
1047 "description": "Must be greater than 1.", | 1047 "description": "Must be greater than 1.", |
1048 "format": "double", | 1048 "format": "double", |
1049 "type": "number" | 1049 "type": "number" |
1050 }, | 1050 }, |
1051 "scale": { | 1051 "scale": { |
1052 "description": "Must be greater than 0.", | 1052 "description": "Must be greater than 0.", |
1053 "format": "double", | 1053 "format": "double", |
1054 "type": "number" | 1054 "type": "number" |
1055 }, | 1055 }, |
1056 "numFiniteBuckets": { | 1056 "numFiniteBuckets": { |
1057 "description": "Must be greater than 0.", | 1057 "description": "Must be greater than 0.", |
1058 "format": "int32", | 1058 "format": "int32", |
1059 "type": "integer" | 1059 "type": "integer" |
1060 } | 1060 } |
1061 }, | 1061 }, |
1062 "type": "object" | 1062 "type": "object" |
1063 }, | 1063 }, |
1064 "Explicit": { | 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 one element in bounds. If bounds has only one element, there are no fi
nite buckets, and that single element is the common boundary of the overflow and
underflow buckets.", | 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", | 1066 "id": "Explicit", |
1067 "properties": { | 1067 "properties": { |
1068 "bounds": { | 1068 "bounds": { |
1069 "description": "The values must be monotonically increasing.
", | 1069 "description": "The values must be monotonically increasing.
", |
1070 "items": { | 1070 "items": { |
1071 "format": "double", | 1071 "format": "double", |
1072 "type": "number" | 1072 "type": "number" |
1073 }, | 1073 }, |
1074 "type": "array" | 1074 "type": "array" |
1075 } | 1075 } |
1076 }, | 1076 }, |
1077 "type": "object" | 1077 "type": "object" |
1078 }, | 1078 }, |
1079 "Linear": { | 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): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i
- 1)).", | 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", | 1081 "id": "Linear", |
1082 "properties": { | 1082 "properties": { |
1083 "width": { | 1083 "width": { |
1084 "description": "Must be greater than 0.", | 1084 "description": "Must be greater than 0.", |
1085 "format": "double", | 1085 "format": "double", |
1086 "type": "number" | 1086 "type": "number" |
1087 }, | 1087 }, |
1088 "offset": { | 1088 "offset": { |
1089 "description": "Lower bound of the first bucket.", | 1089 "description": "Lower bound of the first bucket.", |
1090 "format": "double", | 1090 "format": "double", |
(...skipping 13 matching lines...) Expand all Loading... |
1104 "properties": { | 1104 "properties": { |
1105 "endTime": { | 1105 "endTime": { |
1106 "description": "The end time of the interval.", | 1106 "description": "The end time of the interval.", |
1107 "format": "google-datetime", | 1107 "format": "google-datetime", |
1108 "type": "string" | 1108 "type": "string" |
1109 }, | 1109 }, |
1110 "metadata": { | 1110 "metadata": { |
1111 "additionalProperties": { | 1111 "additionalProperties": { |
1112 "$ref": "TypedValue" | 1112 "$ref": "TypedValue" |
1113 }, | 1113 }, |
1114 "description": "The measurement metadata. Example: "pro
cess_id" -> 12345", | 1114 "description": "The measurement metadata. Example: \"process
_id\" -> 12345", |
1115 "type": "object" | 1115 "type": "object" |
1116 }, | 1116 }, |
1117 "values": { | 1117 "values": { |
1118 "description": "The measured values during this time interva
l. Each value must have a different dataSourceName.", | 1118 "description": "The measured values during this time interva
l. Each value must have a different dataSourceName.", |
1119 "items": { | 1119 "items": { |
1120 "$ref": "CollectdValue" | 1120 "$ref": "CollectdValue" |
1121 }, | 1121 }, |
1122 "type": "array" | 1122 "type": "array" |
1123 }, | 1123 }, |
1124 "pluginInstance": { | 1124 "pluginInstance": { |
1125 "description": "The instance name of the plugin Example: &qu
ot;hdcl".", | 1125 "description": "The instance name of the plugin Example: \"h
dcl\".", |
1126 "type": "string" | 1126 "type": "string" |
1127 }, | 1127 }, |
1128 "startTime": { | 1128 "startTime": { |
1129 "description": "The start time of the interval.", | 1129 "description": "The start time of the interval.", |
1130 "format": "google-datetime", | 1130 "format": "google-datetime", |
1131 "type": "string" | 1131 "type": "string" |
1132 }, | 1132 }, |
1133 "typeInstance": { | 1133 "typeInstance": { |
1134 "description": "The measurement type instance. Example: &quo
t;used".", | 1134 "description": "The measurement type instance. Example: \"us
ed\".", |
1135 "type": "string" | 1135 "type": "string" |
1136 }, | 1136 }, |
1137 "type": { | 1137 "type": { |
1138 "description": "The measurement type. Example: "memory&
quot;.", | 1138 "description": "The measurement type. Example: \"memory\".", |
1139 "type": "string" | 1139 "type": "string" |
1140 }, | 1140 }, |
1141 "plugin": { | 1141 "plugin": { |
1142 "description": "The name of the plugin. Example: "disk&
quot;.", | 1142 "description": "The name of the plugin. Example: \"disk\".", |
1143 "type": "string" | 1143 "type": "string" |
1144 } | 1144 } |
1145 }, | 1145 }, |
1146 "type": "object" | 1146 "type": "object" |
1147 }, | 1147 }, |
1148 "ListMetricDescriptorsResponse": { | 1148 "ListMetricDescriptorsResponse": { |
1149 "description": "The ListMetricDescriptors response.", | 1149 "description": "The ListMetricDescriptors response.", |
1150 "id": "ListMetricDescriptorsResponse", | 1150 "id": "ListMetricDescriptorsResponse", |
1151 "properties": { | 1151 "properties": { |
1152 "metricDescriptors": { | 1152 "metricDescriptors": { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1195 "type": "number" | 1195 "type": "number" |
1196 }, | 1196 }, |
1197 "range": { | 1197 "range": { |
1198 "$ref": "Range", | 1198 "$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." | 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." |
1200 } | 1200 } |
1201 }, | 1201 }, |
1202 "type": "object" | 1202 "type": "object" |
1203 }, | 1203 }, |
1204 "MonitoredResource": { | 1204 "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 &qu
ot;zone":\n{ "type": "gce_instance",\n "labels&qu
ot;: { "instance_id": "12345678901234",\n "
;zone": "us-central1-a" }}\n", | 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", |
1206 "id": "MonitoredResource", | 1206 "id": "MonitoredResource", |
1207 "properties": { | 1207 "properties": { |
1208 "labels": { | 1208 "labels": { |
1209 "additionalProperties": { | 1209 "additionalProperties": { |
1210 "type": "string" | 1210 "type": "string" |
1211 }, | 1211 }, |
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".", | 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\".", |
1213 "type": "object" | 1213 "type": "object" |
1214 }, | 1214 }, |
1215 "type": { | 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".", | 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" | 1217 "type": "string" |
1218 } | 1218 } |
1219 }, | 1219 }, |
1220 "type": "object" | 1220 "type": "object" |
1221 }, | 1221 }, |
1222 "LabelDescriptor": { | 1222 "LabelDescriptor": { |
1223 "description": "A description of a label.", | 1223 "description": "A description of a label.", |
1224 "id": "LabelDescriptor", | 1224 "id": "LabelDescriptor", |
1225 "properties": { | 1225 "properties": { |
1226 "description": { | 1226 "description": { |
(...skipping 15 matching lines...) Expand all Loading... |
1242 "type": "string" | 1242 "type": "string" |
1243 }, | 1243 }, |
1244 "key": { | 1244 "key": { |
1245 "description": "The label key.", | 1245 "description": "The label key.", |
1246 "type": "string" | 1246 "type": "string" |
1247 } | 1247 } |
1248 }, | 1248 }, |
1249 "type": "object" | 1249 "type": "object" |
1250 }, | 1250 }, |
1251 "MonitoredResourceDescriptor": { | 1251 "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 "g
ce_instance" and specifies the use of the labels "instance_id" an
d "zone" to identify particular VM instances.Different APIs can suppor
t different monitored resource types. APIs generally provide a list method that
returns the monitored resource descriptors used by the API.", | 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.", |
1253 "id": "MonitoredResourceDescriptor", | 1253 "id": "MonitoredResourceDescriptor", |
1254 "properties": { | 1254 "properties": { |
1255 "displayName": { | 1255 "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, "Go
ogle Cloud SQL Database".", | 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\".", |
1257 "type": "string" | 1257 "type": "string" |
1258 }, | 1258 }, |
1259 "description": { | 1259 "description": { |
1260 "description": "Optional. A detailed description of the moni
tored resource type that might be used in documentation.", | 1260 "description": "Optional. A detailed description of the moni
tored resource type that might be used in documentation.", |
1261 "type": "string" | 1261 "type": "string" |
1262 }, | 1262 }, |
1263 "labels": { | 1263 "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" an
d "zone".", | 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
\".", |
1265 "items": { | 1265 "items": { |
1266 "$ref": "LabelDescriptor" | 1266 "$ref": "LabelDescriptor" |
1267 }, | 1267 }, |
1268 "type": "array" | 1268 "type": "array" |
1269 }, | 1269 }, |
1270 "type": { | 1270 "type": { |
1271 "description": "Required. The monitored resource type. For e
xample, the type "cloudsql_database" represents databases in Google Cl
oud SQL. The maximum length of this value is 256 characters.", | 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" | 1272 "type": "string" |
1273 }, | 1273 }, |
1274 "name": { | 1274 "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 {proj
ect_id} is a project ID that provides API-specific context for accessing the typ
e. APIs that do not use project information can use the resource name format &qu
ot;monitoredResourceDescriptors/{type}".", | 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}\".", |
1276 "type": "string" | 1276 "type": "string" |
1277 } | 1277 } |
1278 }, | 1278 }, |
1279 "type": "object" | 1279 "type": "object" |
1280 }, | 1280 }, |
1281 "TypedValue": { | 1281 "TypedValue": { |
1282 "description": "A single strongly-typed value.", | 1282 "description": "A single strongly-typed value.", |
1283 "id": "TypedValue", | 1283 "id": "TypedValue", |
1284 "properties": { | 1284 "properties": { |
1285 "boolValue": { | 1285 "boolValue": { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1359 ], | 1359 ], |
1360 "enumDescriptions": [ | 1360 "enumDescriptions": [ |
1361 "For fields with unknown cardinality.", | 1361 "For fields with unknown cardinality.", |
1362 "For optional fields.", | 1362 "For optional fields.", |
1363 "For required fields. Proto2 syntax only.", | 1363 "For required fields. Proto2 syntax only.", |
1364 "For repeated fields." | 1364 "For repeated fields." |
1365 ], | 1365 ], |
1366 "type": "string" | 1366 "type": "string" |
1367 }, | 1367 }, |
1368 "typeUrl": { | 1368 "typeUrl": { |
1369 "description": "The field type URL, without the scheme, for
message or enumeration types. Example: "type.googleapis.com/google.protobuf
.Timestamp".", | 1369 "description": "The field type URL, without the scheme, for
message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim
estamp\".", |
1370 "type": "string" | 1370 "type": "string" |
1371 }, | 1371 }, |
1372 "name": { | 1372 "name": { |
1373 "description": "The field name.", | 1373 "description": "The field name.", |
1374 "type": "string" | 1374 "type": "string" |
1375 }, | 1375 }, |
1376 "packed": { | 1376 "packed": { |
1377 "description": "Whether to use alternative packed wire repre
sentation.", | 1377 "description": "Whether to use alternative packed wire repre
sentation.", |
1378 "type": "boolean" | 1378 "type": "boolean" |
1379 }, | 1379 }, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 }, | 1433 }, |
1434 "Option": { | 1434 "Option": { |
1435 "description": "A protocol buffer option, which can be attached to a
message, field, enumeration, etc.", | 1435 "description": "A protocol buffer option, which can be attached to a
message, field, enumeration, etc.", |
1436 "id": "Option", | 1436 "id": "Option", |
1437 "properties": { | 1437 "properties": { |
1438 "value": { | 1438 "value": { |
1439 "additionalProperties": { | 1439 "additionalProperties": { |
1440 "description": "Properties of the object. Contains field
@type with type URL.", | 1440 "description": "Properties of the object. Contains field
@type with type URL.", |
1441 "type": "any" | 1441 "type": "any" |
1442 }, | 1442 }, |
1443 "description": "The option's value. For example, "com.g
oogle.protobuf".", | 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.", |
1444 "type": "object" | 1444 "type": "object" |
1445 }, | 1445 }, |
1446 "name": { | 1446 "name": { |
1447 "description": "The option's name. For example, "java_p
ackage".", | 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\".", |
1448 "type": "string" | 1448 "type": "string" |
1449 } | 1449 } |
1450 }, | 1450 }, |
1451 "type": "object" | 1451 "type": "object" |
1452 }, | 1452 }, |
1453 "Empty": { | 1453 "Empty": { |
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 {}.", | 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 {}.", |
1455 "id": "Empty", | 1455 "id": "Empty", |
1456 "properties": {}, | 1456 "properties": {}, |
1457 "type": "object" | 1457 "type": "object" |
1458 }, | 1458 }, |
1459 "SourceContext": { | 1459 "SourceContext": { |
1460 "description": "SourceContext represents information about the sourc
e of a protobuf element, like the file in which it is defined.", | 1460 "description": "SourceContext represents information about the sourc
e of a protobuf element, like the file in which it is defined.", |
1461 "id": "SourceContext", | 1461 "id": "SourceContext", |
1462 "properties": { | 1462 "properties": { |
1463 "fileName": { | 1463 "fileName": { |
1464 "description": "The path-qualified name of the .proto file t
hat contained the associated protobuf element. For example: "google/protobu
f/source_context.proto".", | 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\".", |
1465 "type": "string" | 1465 "type": "string" |
1466 } | 1466 } |
1467 }, | 1467 }, |
1468 "type": "object" | 1468 "type": "object" |
1469 }, | 1469 }, |
1470 "Range": { | 1470 "Range": { |
1471 "description": "The range of the population values.", | 1471 "description": "The range of the population values.", |
1472 "id": "Range", | 1472 "id": "Range", |
1473 "properties": { | 1473 "properties": { |
1474 "max": { | 1474 "max": { |
(...skipping 17 matching lines...) Expand all Loading... |
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.", | 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.", |
1493 "items": { | 1493 "items": { |
1494 "$ref": "TimeSeries" | 1494 "$ref": "TimeSeries" |
1495 }, | 1495 }, |
1496 "type": "array" | 1496 "type": "array" |
1497 } | 1497 } |
1498 }, | 1498 }, |
1499 "type": "object" | 1499 "type": "object" |
1500 }, | 1500 }, |
1501 "BucketOptions": { | 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 ra
nge of finite values: lower bound of the underflow bucket is -infinity and the u
pper bound of the overflow bucket is +infinity. The finite buckets are so-called
because both bounds are finite.BucketOptions describes bucket boundaries in one
of three ways. Two describe the boundaries by giving parameters for a formula t
o generate boundaries and one gives the bucket boundaries explicitly.If bucket_o
ptions is not given, then no bucket_counts may be given.", | 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", | 1503 "id": "BucketOptions", |
1504 "properties": { | 1504 "properties": { |
1505 "explicitBuckets": { | 1505 "explicitBuckets": { |
1506 "$ref": "Explicit", | 1506 "$ref": "Explicit", |
1507 "description": "The explicit buckets." | 1507 "description": "The explicit buckets." |
1508 }, | 1508 }, |
1509 "exponentialBuckets": { | 1509 "exponentialBuckets": { |
1510 "$ref": "Exponential", | 1510 "$ref": "Exponential", |
1511 "description": "The exponential buckets." | 1511 "description": "The exponential buckets." |
1512 }, | 1512 }, |
1513 "linearBuckets": { | 1513 "linearBuckets": { |
1514 "$ref": "Linear", | 1514 "$ref": "Linear", |
1515 "description": "The linear bucket." | 1515 "description": "The linear bucket." |
1516 } | 1516 } |
1517 }, | 1517 }, |
1518 "type": "object" | 1518 "type": "object" |
1519 }, | 1519 }, |
1520 "CreateCollectdTimeSeriesRequest": { | 1520 "CreateCollectdTimeSeriesRequest": { |
1521 "description": "The CreateCollectdTimeSeries request.", | 1521 "description": "The CreateCollectdTimeSeries request.", |
1522 "id": "CreateCollectdTimeSeriesRequest", | 1522 "id": "CreateCollectdTimeSeriesRequest", |
1523 "properties": { | 1523 "properties": { |
1524 "collectdPayloads": { | 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.", | 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": { | 1526 "items": { |
1527 "$ref": "CollectdPayload" | 1527 "$ref": "CollectdPayload" |
1528 }, | 1528 }, |
1529 "type": "array" | 1529 "type": "array" |
1530 }, | 1530 }, |
1531 "collectdVersion": { | 1531 "collectdVersion": { |
1532 "description": "The version of collectd that collected the d
ata. Example: "5.3.0-192.el6".", | 1532 "description": "The version of collectd that collected the d
ata. Example: \"5.3.0-192.el6\".", |
1533 "type": "string" | 1533 "type": "string" |
1534 }, | 1534 }, |
1535 "resource": { | 1535 "resource": { |
1536 "$ref": "MonitoredResource", | 1536 "$ref": "MonitoredResource", |
1537 "description": "The monitored resource associated with the t
ime series." | 1537 "description": "The monitored resource associated with the t
ime series." |
1538 } | 1538 } |
1539 }, | 1539 }, |
1540 "type": "object" | 1540 "type": "object" |
1541 }, | 1541 }, |
1542 "Type": { | 1542 "Type": { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |