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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/ml__v1.json ('k') | discovery/googleapis/oauth2__v2.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": { 5 "https://www.googleapis.com/auth/monitoring.write": {
9 "description": "Publish metric data to your Google Cloud pro jects" 6 "description": "Publish metric data to your Google Cloud pro jects"
10 }, 7 },
11 "https://www.googleapis.com/auth/monitoring.read": { 8 "https://www.googleapis.com/auth/monitoring.read": {
12 "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"
13 }, 10 },
14 "https://www.googleapis.com/auth/cloud-platform": { 11 "https://www.googleapis.com/auth/cloud-platform": {
15 "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"
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 "bearer_token": {
38 "description": "OAuth bearer token.",
39 "location": "query",
40 "type": "string"
41 },
42 "oauth_token": {
43 "description": "OAuth 2.0 token for the current user.",
44 "location": "query",
45 "type": "string"
46 },
47 "upload_protocol": { 37 "upload_protocol": {
48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
49 "location": "query", 39 "location": "query",
50 "type": "string" 40 "type": "string"
51 }, 41 },
52 "prettyPrint": { 42 "prettyPrint": {
53 "default": "true", 43 "default": "true",
54 "description": "Returns response with indentations and line breaks." , 44 "description": "Returns response with indentations and line breaks." ,
55 "location": "query", 45 "location": "query",
56 "type": "boolean" 46 "type": "boolean"
57 }, 47 },
48 "uploadType": {
49 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
50 "location": "query",
51 "type": "string"
52 },
58 "fields": { 53 "fields": {
59 "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.",
60 "location": "query", 55 "location": "query",
61 "type": "string" 56 "type": "string"
62 }, 57 },
63 "uploadType": {
64 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
65 "location": "query",
66 "type": "string"
67 },
68 "$.xgafv": { 58 "$.xgafv": {
69 "description": "V1 error format.", 59 "description": "V1 error format.",
70 "enum": [ 60 "enum": [
71 "1", 61 "1",
72 "2" 62 "2"
73 ], 63 ],
74 "enumDescriptions": [ 64 "enumDescriptions": [
75 "v1 error format", 65 "v1 error format",
76 "v2 error format" 66 "v2 error format"
77 ], 67 ],
(...skipping 14 matching lines...) Expand all
92 "proto" 82 "proto"
93 ], 83 ],
94 "enumDescriptions": [ 84 "enumDescriptions": [
95 "Responses with Content-Type of application/json", 85 "Responses with Content-Type of application/json",
96 "Media download with context-dependent Content-Type", 86 "Media download with context-dependent Content-Type",
97 "Responses with Content-Type of application/x-protobuf" 87 "Responses with Content-Type of application/x-protobuf"
98 ], 88 ],
99 "location": "query", 89 "location": "query",
100 "type": "string" 90 "type": "string"
101 }, 91 },
92 "access_token": {
93 "description": "OAuth access token.",
94 "location": "query",
95 "type": "string"
96 },
102 "key": { 97 "key": {
103 "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.", 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.",
104 "location": "query", 99 "location": "query",
105 "type": "string" 100 "type": "string"
106 }, 101 },
107 "access_token": {
108 "description": "OAuth access token.",
109 "location": "query",
110 "type": "string"
111 },
112 "quotaUser": { 102 "quotaUser": {
113 "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.", 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.",
114 "location": "query", 104 "location": "query",
115 "type": "string" 105 "type": "string"
116 }, 106 },
117 "pp": { 107 "pp": {
118 "default": "true", 108 "default": "true",
119 "description": "Pretty-print response.", 109 "description": "Pretty-print response.",
120 "location": "query", 110 "location": "query",
121 "type": "boolean" 111 "type": "boolean"
112 },
113 "bearer_token": {
114 "description": "OAuth bearer token.",
115 "location": "query",
116 "type": "string"
117 },
118 "oauth_token": {
119 "description": "OAuth 2.0 token for the current user.",
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 "metricDescriptors": {
129 "methods": { 129 "methods": {
130 "create": { 130 "delete": {
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": "Deletes a metric descriptor. Only us er-created custom metrics can be deleted.",
132 "httpMethod": "POST", 132 "httpMethod": "DELETE",
133 "id": "monitoring.projects.collectdTimeSeries.create ", 133 "id": "monitoring.projects.metricDescriptors.delete" ,
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 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\".",
140 "location": "path", 140 "location": "path",
141 "pattern": "^projects/[^/]+$", 141 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
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}",
147 "request": {
148 "$ref": "CreateCollectdTimeSeriesRequest"
149 },
150 "response": { 147 "response": {
151 "$ref": "Empty" 148 "$ref": "Empty"
152 }, 149 },
153 "scopes": [ 150 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform" , 151 "https://www.googleapis.com/auth/cloud-platform" ,
155 "https://www.googleapis.com/auth/monitoring", 152 "https://www.googleapis.com/auth/monitoring"
156 "https://www.googleapis.com/auth/monitoring.writ e"
157 ] 153 ]
158 } 154 },
159 } 155 "get": {
160 }, 156 "description": "Gets a single metric descriptor. Thi s method does not require a Stackdriver account.",
161 "timeSeries": { 157 "httpMethod": "GET",
162 "methods": { 158 "id": "monitoring.projects.metricDescriptors.get",
163 "create": {
164 "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.",
165 "httpMethod": "POST",
166 "id": "monitoring.projects.timeSeries.create",
167 "parameterOrder": [ 159 "parameterOrder": [
168 "name" 160 "name"
169 ], 161 ],
170 "parameters": { 162 "parameters": {
171 "name": { 163 "name": {
172 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 164 "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\".",
173 "location": "path", 165 "location": "path",
174 "pattern": "^projects/[^/]+$", 166 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
175 "required": true, 167 "required": true,
176 "type": "string" 168 "type": "string"
177 } 169 }
178 }, 170 },
179 "path": "v3/{+name}/timeSeries", 171 "path": "v3/{+name}",
180 "request": {
181 "$ref": "CreateTimeSeriesRequest"
182 },
183 "response": { 172 "response": {
184 "$ref": "Empty" 173 "$ref": "MetricDescriptor"
185 }, 174 },
186 "scopes": [ 175 "scopes": [
187 "https://www.googleapis.com/auth/cloud-platform" , 176 "https://www.googleapis.com/auth/cloud-platform" ,
188 "https://www.googleapis.com/auth/monitoring", 177 "https://www.googleapis.com/auth/monitoring",
178 "https://www.googleapis.com/auth/monitoring.read ",
189 "https://www.googleapis.com/auth/monitoring.writ e" 179 "https://www.googleapis.com/auth/monitoring.writ e"
190 ] 180 ]
191 }, 181 },
192 "list": { 182 "list": {
193 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.", 183 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.",
194 "httpMethod": "GET", 184 "httpMethod": "GET",
195 "id": "monitoring.projects.timeSeries.list", 185 "id": "monitoring.projects.metricDescriptors.list",
196 "parameterOrder": [ 186 "parameterOrder": [
197 "name" 187 "name"
198 ], 188 ],
199 "parameters": { 189 "parameters": {
200 "pageToken": { 190 "pageToken": {
201 "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.", 191 "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.",
202 "location": "query", 192 "location": "query",
203 "type": "string" 193 "type": "string"
204 }, 194 },
205 "aggregation.perSeriesAligner": {
206 "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.",
207 "enum": [
208 "ALIGN_NONE",
209 "ALIGN_DELTA",
210 "ALIGN_RATE",
211 "ALIGN_INTERPOLATE",
212 "ALIGN_NEXT_OLDER",
213 "ALIGN_MIN",
214 "ALIGN_MAX",
215 "ALIGN_MEAN",
216 "ALIGN_COUNT",
217 "ALIGN_SUM",
218 "ALIGN_STDDEV",
219 "ALIGN_COUNT_TRUE",
220 "ALIGN_FRACTION_TRUE",
221 "ALIGN_PERCENTILE_99",
222 "ALIGN_PERCENTILE_95",
223 "ALIGN_PERCENTILE_50",
224 "ALIGN_PERCENTILE_05"
225 ],
226 "location": "query",
227 "type": "string"
228 },
229 "interval.startTime": {
230 "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.",
231 "format": "google-datetime",
232 "location": "query",
233 "type": "string"
234 },
235 "view": {
236 "description": "Specifies which information is returned about the time series.",
237 "enum": [
238 "FULL",
239 "HEADERS"
240 ],
241 "location": "query",
242 "type": "string"
243 },
244 "name": { 195 "name": {
245 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 196 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
246 "location": "path", 197 "location": "path",
247 "pattern": "^projects/[^/]+$", 198 "pattern": "^projects/[^/]+$",
248 "required": true, 199 "required": true,
249 "type": "string" 200 "type": "string"
250 }, 201 },
251 "aggregation.groupByFields": {
252 "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.",
253 "location": "query",
254 "repeated": true,
255 "type": "string"
256 },
257 "interval.endTime": {
258 "description": "Required. The end of the tim e interval.",
259 "format": "google-datetime",
260 "location": "query",
261 "type": "string"
262 },
263 "aggregation.alignmentPeriod": {
264 "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.",
265 "format": "google-duration",
266 "location": "query",
267 "type": "string"
268 },
269 "pageSize": { 202 "pageSize": {
270 "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.", 203 "description": "A positive number that is th e maximum number of results to return.",
271 "format": "int32", 204 "format": "int32",
272 "location": "query", 205 "location": "query",
273 "type": "integer" 206 "type": "integer"
274 }, 207 },
275 "orderBy": {
276 "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.",
277 "location": "query",
278 "type": "string"
279 },
280 "aggregation.crossSeriesReducer": {
281 "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.",
282 "enum": [
283 "REDUCE_NONE",
284 "REDUCE_MEAN",
285 "REDUCE_MIN",
286 "REDUCE_MAX",
287 "REDUCE_SUM",
288 "REDUCE_STDDEV",
289 "REDUCE_COUNT",
290 "REDUCE_COUNT_TRUE",
291 "REDUCE_FRACTION_TRUE",
292 "REDUCE_PERCENTILE_99",
293 "REDUCE_PERCENTILE_95",
294 "REDUCE_PERCENTILE_50",
295 "REDUCE_PERCENTILE_05"
296 ],
297 "location": "query",
298 "type": "string"
299 },
300 "filter": { 208 "filter": {
301 "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", 209 "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",
302 "location": "query", 210 "location": "query",
303 "type": "string" 211 "type": "string"
304 } 212 }
305 }, 213 },
306 "path": "v3/{+name}/timeSeries", 214 "path": "v3/{+name}/metricDescriptors",
307 "response": { 215 "response": {
308 "$ref": "ListTimeSeriesResponse" 216 "$ref": "ListMetricDescriptorsResponse"
309 }, 217 },
310 "scopes": [ 218 "scopes": [
311 "https://www.googleapis.com/auth/cloud-platform" , 219 "https://www.googleapis.com/auth/cloud-platform" ,
312 "https://www.googleapis.com/auth/monitoring", 220 "https://www.googleapis.com/auth/monitoring",
313 "https://www.googleapis.com/auth/monitoring.read " 221 "https://www.googleapis.com/auth/monitoring.read ",
222 "https://www.googleapis.com/auth/monitoring.writ e"
314 ] 223 ]
315 } 224 },
316 }
317 },
318 "metricDescriptors": {
319 "methods": {
320 "create": { 225 "create": {
321 "description": "Creates a new metric descriptor. Use r-created metric descriptors define custom metrics.", 226 "description": "Creates a new metric descriptor. Use r-created metric descriptors define custom metrics.",
322 "httpMethod": "POST", 227 "httpMethod": "POST",
323 "id": "monitoring.projects.metricDescriptors.create" , 228 "id": "monitoring.projects.metricDescriptors.create" ,
324 "parameterOrder": [ 229 "parameterOrder": [
325 "name" 230 "name"
326 ], 231 ],
327 "parameters": { 232 "parameters": {
328 "name": { 233 "name": {
329 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 234 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
330 "location": "path", 235 "location": "path",
331 "pattern": "^projects/[^/]+$", 236 "pattern": "^projects/[^/]+$",
332 "required": true, 237 "required": true,
333 "type": "string" 238 "type": "string"
334 } 239 }
335 }, 240 },
336 "path": "v3/{+name}/metricDescriptors", 241 "path": "v3/{+name}/metricDescriptors",
337 "request": { 242 "request": {
338 "$ref": "MetricDescriptor" 243 "$ref": "MetricDescriptor"
339 }, 244 },
340 "response": { 245 "response": {
341 "$ref": "MetricDescriptor" 246 "$ref": "MetricDescriptor"
342 }, 247 },
343 "scopes": [ 248 "scopes": [
344 "https://www.googleapis.com/auth/cloud-platform" , 249 "https://www.googleapis.com/auth/cloud-platform" ,
345 "https://www.googleapis.com/auth/monitoring", 250 "https://www.googleapis.com/auth/monitoring",
346 "https://www.googleapis.com/auth/monitoring.writ e" 251 "https://www.googleapis.com/auth/monitoring.writ e"
347 ] 252 ]
348 }, 253 }
349 "delete": { 254 }
350 "description": "Deletes a metric descriptor. Only us er-created custom metrics can be deleted.", 255 },
351 "httpMethod": "DELETE", 256 "monitoredResourceDescriptors": {
352 "id": "monitoring.projects.metricDescriptors.delete" , 257 "methods": {
258 "get": {
259 "description": "Gets a single monitored resource des criptor. This method does not require a Stackdriver account.",
260 "httpMethod": "GET",
261 "id": "monitoring.projects.monitoredResourceDescript ors.get",
353 "parameterOrder": [ 262 "parameterOrder": [
354 "name" 263 "name"
355 ], 264 ],
356 "parameters": { 265 "parameters": {
357 "name": { 266 "name": {
358 "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\".", 267 "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.",
359 "location": "path", 268 "location": "path",
360 "pattern": "^projects/[^/]+/metricDescriptor s/.+$", 269 "pattern": "^projects/[^/]+/monitoredResourc eDescriptors/[^/]+$",
361 "required": true, 270 "required": true,
362 "type": "string" 271 "type": "string"
363 } 272 }
364 }, 273 },
365 "path": "v3/{+name}", 274 "path": "v3/{+name}",
366 "response": { 275 "response": {
367 "$ref": "Empty" 276 "$ref": "MonitoredResourceDescriptor"
368 }, 277 },
369 "scopes": [ 278 "scopes": [
370 "https://www.googleapis.com/auth/cloud-platform" , 279 "https://www.googleapis.com/auth/cloud-platform" ,
371 "https://www.googleapis.com/auth/monitoring"
372 ]
373 },
374 "get": {
375 "description": "Gets a single metric descriptor. Thi s method does not require a Stackdriver account.",
376 "httpMethod": "GET",
377 "id": "monitoring.projects.metricDescriptors.get",
378 "parameterOrder": [
379 "name"
380 ],
381 "parameters": {
382 "name": {
383 "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\".",
384 "location": "path",
385 "pattern": "^projects/[^/]+/metricDescriptor s/.+$",
386 "required": true,
387 "type": "string"
388 }
389 },
390 "path": "v3/{+name}",
391 "response": {
392 "$ref": "MetricDescriptor"
393 },
394 "scopes": [
395 "https://www.googleapis.com/auth/cloud-platform" ,
396 "https://www.googleapis.com/auth/monitoring", 280 "https://www.googleapis.com/auth/monitoring",
397 "https://www.googleapis.com/auth/monitoring.read ", 281 "https://www.googleapis.com/auth/monitoring.read ",
398 "https://www.googleapis.com/auth/monitoring.writ e" 282 "https://www.googleapis.com/auth/monitoring.writ e"
399 ] 283 ]
400 }, 284 },
401 "list": { 285 "list": {
402 "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.", 286 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.",
403 "httpMethod": "GET", 287 "httpMethod": "GET",
404 "id": "monitoring.projects.metricDescriptors.list", 288 "id": "monitoring.projects.monitoredResourceDescript ors.list",
405 "parameterOrder": [ 289 "parameterOrder": [
406 "name" 290 "name"
407 ], 291 ],
408 "parameters": { 292 "parameters": {
409 "pageToken": { 293 "pageToken": {
410 "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.", 294 "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.",
411 "location": "query", 295 "location": "query",
412 "type": "string" 296 "type": "string"
413 }, 297 },
414 "name": { 298 "name": {
415 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".", 299 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
416 "location": "path", 300 "location": "path",
417 "pattern": "^projects/[^/]+$", 301 "pattern": "^projects/[^/]+$",
418 "required": true, 302 "required": true,
419 "type": "string" 303 "type": "string"
420 }, 304 },
421 "pageSize": { 305 "pageSize": {
422 "description": "A positive number that is th e maximum number of results to return.", 306 "description": "A positive number that is th e maximum number of results to return.",
423 "format": "int32", 307 "format": "int32",
424 "location": "query", 308 "location": "query",
425 "type": "integer" 309 "type": "integer"
426 }, 310 },
427 "filter": { 311 "filter": {
428 "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", 312 "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",
429 "location": "query", 313 "location": "query",
430 "type": "string" 314 "type": "string"
431 } 315 }
432 }, 316 },
433 "path": "v3/{+name}/metricDescriptors", 317 "path": "v3/{+name}/monitoredResourceDescriptors",
434 "response": { 318 "response": {
435 "$ref": "ListMetricDescriptorsResponse" 319 "$ref": "ListMonitoredResourceDescriptorsRespons e"
436 }, 320 },
437 "scopes": [ 321 "scopes": [
438 "https://www.googleapis.com/auth/cloud-platform" , 322 "https://www.googleapis.com/auth/cloud-platform" ,
439 "https://www.googleapis.com/auth/monitoring", 323 "https://www.googleapis.com/auth/monitoring",
440 "https://www.googleapis.com/auth/monitoring.read ", 324 "https://www.googleapis.com/auth/monitoring.read ",
441 "https://www.googleapis.com/auth/monitoring.writ e" 325 "https://www.googleapis.com/auth/monitoring.writ e"
442 ] 326 ]
443 } 327 }
444 } 328 }
445 }, 329 },
446 "monitoredResourceDescriptors": { 330 "groups": {
447 "methods": { 331 "methods": {
448 "get": { 332 "delete": {
449 "description": "Gets a single monitored resource des criptor. This method does not require a Stackdriver account.", 333 "description": "Deletes an existing group.",
450 "httpMethod": "GET", 334 "httpMethod": "DELETE",
451 "id": "monitoring.projects.monitoredResourceDescript ors.get", 335 "id": "monitoring.projects.groups.delete",
452 "parameterOrder": [ 336 "parameterOrder": [
453 "name" 337 "name"
454 ], 338 ],
455 "parameters": { 339 "parameters": {
456 "name": { 340 "name": {
457 "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.", 341 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".",
458 "location": "path", 342 "location": "path",
459 "pattern": "^projects/[^/]+/monitoredResourc eDescriptors/[^/]+$", 343 "pattern": "^projects/[^/]+/groups/[^/]+$",
460 "required": true, 344 "required": true,
461 "type": "string" 345 "type": "string"
462 } 346 }
463 }, 347 },
464 "path": "v3/{+name}", 348 "path": "v3/{+name}",
465 "response": { 349 "response": {
466 "$ref": "MonitoredResourceDescriptor" 350 "$ref": "Empty"
351 },
352 "scopes": [
353 "https://www.googleapis.com/auth/cloud-platform" ,
354 "https://www.googleapis.com/auth/monitoring"
355 ]
356 },
357 "get": {
358 "description": "Gets a single group.",
359 "httpMethod": "GET",
360 "id": "monitoring.projects.groups.get",
361 "parameterOrder": [
362 "name"
363 ],
364 "parameters": {
365 "name": {
366 "description": "The group to retrieve. The f ormat is \"projects/{project_id_or_number}/groups/{group_id}\".",
367 "location": "path",
368 "pattern": "^projects/[^/]+/groups/[^/]+$",
369 "required": true,
370 "type": "string"
371 }
372 },
373 "path": "v3/{+name}",
374 "response": {
375 "$ref": "Group"
467 }, 376 },
468 "scopes": [ 377 "scopes": [
469 "https://www.googleapis.com/auth/cloud-platform" , 378 "https://www.googleapis.com/auth/cloud-platform" ,
470 "https://www.googleapis.com/auth/monitoring", 379 "https://www.googleapis.com/auth/monitoring",
471 "https://www.googleapis.com/auth/monitoring.read ", 380 "https://www.googleapis.com/auth/monitoring.read "
472 "https://www.googleapis.com/auth/monitoring.writ e"
473 ] 381 ]
474 }, 382 },
475 "list": { 383 "list": {
476 "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.", 384 "description": "Lists the existing groups.",
477 "httpMethod": "GET", 385 "httpMethod": "GET",
478 "id": "monitoring.projects.monitoredResourceDescript ors.list", 386 "id": "monitoring.projects.groups.list",
479 "parameterOrder": [ 387 "parameterOrder": [
480 "name" 388 "name"
481 ], 389 ],
482 "parameters": { 390 "parameters": {
483 "filter": { 391 "descendantsOfGroup": {
484 "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", 392 "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.",
485 "location": "query", 393 "location": "query",
486 "type": "string" 394 "type": "string"
487 }, 395 },
488 "pageToken": { 396 "pageToken": {
489 "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.", 397 "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.",
490 "location": "query", 398 "location": "query",
491 "type": "string" 399 "type": "string"
492 }, 400 },
493 "name": {
494 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
495 "location": "path",
496 "pattern": "^projects/[^/]+$",
497 "required": true,
498 "type": "string"
499 },
500 "pageSize": { 401 "pageSize": {
501 "description": "A positive number that is th e maximum number of results to return.", 402 "description": "A positive number that is th e maximum number of results to return.",
502 "format": "int32", 403 "format": "int32",
503 "location": "query", 404 "location": "query",
504 "type": "integer" 405 "type": "integer"
406 },
407 "ancestorsOfGroup": {
408 "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.",
409 "location": "query",
410 "type": "string"
411 },
412 "name": {
413 "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".",
414 "location": "path",
415 "pattern": "^projects/[^/]+$",
416 "required": true,
417 "type": "string"
418 },
419 "childrenOfGroup": {
420 "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.",
421 "location": "query",
422 "type": "string"
505 } 423 }
506 }, 424 },
507 "path": "v3/{+name}/monitoredResourceDescriptors", 425 "path": "v3/{+name}/groups",
508 "response": { 426 "response": {
509 "$ref": "ListMonitoredResourceDescriptorsRespons e" 427 "$ref": "ListGroupsResponse"
510 }, 428 },
511 "scopes": [ 429 "scopes": [
512 "https://www.googleapis.com/auth/cloud-platform" , 430 "https://www.googleapis.com/auth/cloud-platform" ,
513 "https://www.googleapis.com/auth/monitoring", 431 "https://www.googleapis.com/auth/monitoring",
514 "https://www.googleapis.com/auth/monitoring.read ", 432 "https://www.googleapis.com/auth/monitoring.read "
515 "https://www.googleapis.com/auth/monitoring.writ e"
516 ] 433 ]
517 } 434 },
518 }
519 },
520 "groups": {
521 "methods": {
522 "update": { 435 "update": {
523 "description": "Updates an existing group. You can c hange any group attributes except name.", 436 "description": "Updates an existing group. You can c hange any group attributes except name.",
524 "httpMethod": "PUT", 437 "httpMethod": "PUT",
525 "id": "monitoring.projects.groups.update", 438 "id": "monitoring.projects.groups.update",
526 "parameterOrder": [ 439 "parameterOrder": [
527 "name" 440 "name"
528 ], 441 ],
529 "parameters": { 442 "parameters": {
530 "validateOnly": { 443 "validateOnly": {
531 "description": "If true, validate this reque st but do not update the existing group.", 444 "description": "If true, validate this reque st but do not update the existing group.",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 "request": { 490 "request": {
578 "$ref": "Group" 491 "$ref": "Group"
579 }, 492 },
580 "response": { 493 "response": {
581 "$ref": "Group" 494 "$ref": "Group"
582 }, 495 },
583 "scopes": [ 496 "scopes": [
584 "https://www.googleapis.com/auth/cloud-platform" , 497 "https://www.googleapis.com/auth/cloud-platform" ,
585 "https://www.googleapis.com/auth/monitoring" 498 "https://www.googleapis.com/auth/monitoring"
586 ] 499 ]
587 },
588 "delete": {
589 "description": "Deletes an existing group.",
590 "httpMethod": "DELETE",
591 "id": "monitoring.projects.groups.delete",
592 "parameterOrder": [
593 "name"
594 ],
595 "parameters": {
596 "name": {
597 "description": "The group to delete. The for mat is \"projects/{project_id_or_number}/groups/{group_id}\".",
598 "location": "path",
599 "pattern": "^projects/[^/]+/groups/[^/]+$",
600 "required": true,
601 "type": "string"
602 }
603 },
604 "path": "v3/{+name}",
605 "response": {
606 "$ref": "Empty"
607 },
608 "scopes": [
609 "https://www.googleapis.com/auth/cloud-platform" ,
610 "https://www.googleapis.com/auth/monitoring"
611 ]
612 },
613 "get": {
614 "description": "Gets a single group.",
615 "httpMethod": "GET",
616 "id": "monitoring.projects.groups.get",
617 "parameterOrder": [
618 "name"
619 ],
620 "parameters": {
621 "name": {
622 "description": "The group to retrieve. The f ormat is \"projects/{project_id_or_number}/groups/{group_id}\".",
623 "location": "path",
624 "pattern": "^projects/[^/]+/groups/[^/]+$",
625 "required": true,
626 "type": "string"
627 }
628 },
629 "path": "v3/{+name}",
630 "response": {
631 "$ref": "Group"
632 },
633 "scopes": [
634 "https://www.googleapis.com/auth/cloud-platform" ,
635 "https://www.googleapis.com/auth/monitoring",
636 "https://www.googleapis.com/auth/monitoring.read "
637 ]
638 },
639 "list": {
640 "description": "Lists the existing groups.",
641 "httpMethod": "GET",
642 "id": "monitoring.projects.groups.list",
643 "parameterOrder": [
644 "name"
645 ],
646 "parameters": {
647 "name": {
648 "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".",
649 "location": "path",
650 "pattern": "^projects/[^/]+$",
651 "required": true,
652 "type": "string"
653 },
654 "childrenOfGroup": {
655 "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.",
656 "location": "query",
657 "type": "string"
658 },
659 "descendantsOfGroup": {
660 "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.",
661 "location": "query",
662 "type": "string"
663 },
664 "pageToken": {
665 "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.",
666 "location": "query",
667 "type": "string"
668 },
669 "pageSize": {
670 "description": "A positive number that is th e maximum number of results to return.",
671 "format": "int32",
672 "location": "query",
673 "type": "integer"
674 },
675 "ancestorsOfGroup": {
676 "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.",
677 "location": "query",
678 "type": "string"
679 }
680 },
681 "path": "v3/{+name}/groups",
682 "response": {
683 "$ref": "ListGroupsResponse"
684 },
685 "scopes": [
686 "https://www.googleapis.com/auth/cloud-platform" ,
687 "https://www.googleapis.com/auth/monitoring",
688 "https://www.googleapis.com/auth/monitoring.read "
689 ]
690 } 500 }
691 }, 501 },
692 "resources": { 502 "resources": {
693 "members": { 503 "members": {
694 "methods": { 504 "methods": {
695 "list": { 505 "list": {
696 "description": "Lists the monitored resource s that are members of a group.", 506 "description": "Lists the monitored resource s that are members of a group.",
697 "httpMethod": "GET", 507 "httpMethod": "GET",
698 "id": "monitoring.projects.groups.members.li st", 508 "id": "monitoring.projects.groups.members.li st",
699 "parameterOrder": [ 509 "parameterOrder": [
700 "name" 510 "name"
701 ], 511 ],
702 "parameters": { 512 "parameters": {
513 "name": {
514 "description": "The group whose memb ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id }\".",
515 "location": "path",
516 "pattern": "^projects/[^/]+/groups/[ ^/]+$",
517 "required": true,
518 "type": "string"
519 },
703 "interval.endTime": { 520 "interval.endTime": {
704 "description": "Required. The end of the time interval.", 521 "description": "Required. The end of the time interval.",
705 "format": "google-datetime", 522 "format": "google-datetime",
706 "location": "query", 523 "location": "query",
707 "type": "string" 524 "type": "string"
708 }, 525 },
709 "filter": { 526 "filter": {
710 "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", 527 "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",
711 "location": "query", 528 "location": "query",
712 "type": "string" 529 "type": "string"
713 }, 530 },
714 "pageToken": { 531 "pageToken": {
715 "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.", 532 "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.",
716 "location": "query", 533 "location": "query",
717 "type": "string" 534 "type": "string"
718 }, 535 },
719 "pageSize": { 536 "pageSize": {
720 "description": "A positive number th at is the maximum number of results to return.", 537 "description": "A positive number th at is the maximum number of results to return.",
721 "format": "int32", 538 "format": "int32",
722 "location": "query", 539 "location": "query",
723 "type": "integer" 540 "type": "integer"
724 }, 541 },
725 "interval.startTime": { 542 "interval.startTime": {
726 "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.", 543 "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.",
727 "format": "google-datetime", 544 "format": "google-datetime",
728 "location": "query", 545 "location": "query",
729 "type": "string" 546 "type": "string"
730 },
731 "name": {
732 "description": "The group whose memb ers are listed. The format is \"projects/{project_id_or_number}/groups/{group_id }\".",
733 "location": "path",
734 "pattern": "^projects/[^/]+/groups/[ ^/]+$",
735 "required": true,
736 "type": "string"
737 } 547 }
738 }, 548 },
739 "path": "v3/{+name}/members", 549 "path": "v3/{+name}/members",
740 "response": { 550 "response": {
741 "$ref": "ListGroupMembersResponse" 551 "$ref": "ListGroupMembersResponse"
742 }, 552 },
743 "scopes": [ 553 "scopes": [
744 "https://www.googleapis.com/auth/cloud-p latform", 554 "https://www.googleapis.com/auth/cloud-p latform",
745 "https://www.googleapis.com/auth/monitor ing", 555 "https://www.googleapis.com/auth/monitor ing",
746 "https://www.googleapis.com/auth/monitor ing.read" 556 "https://www.googleapis.com/auth/monitor ing.read"
747 ] 557 ]
748 } 558 }
749 } 559 }
750 } 560 }
751 } 561 }
562 },
563 "collectdTimeSeries": {
564 "methods": {
565 "create": {
566 "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>",
567 "httpMethod": "POST",
568 "id": "monitoring.projects.collectdTimeSeries.create ",
569 "parameterOrder": [
570 "name"
571 ],
572 "parameters": {
573 "name": {
574 "description": "The project in which to crea te the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".",
575 "location": "path",
576 "pattern": "^projects/[^/]+$",
577 "required": true,
578 "type": "string"
579 }
580 },
581 "path": "v3/{+name}/collectdTimeSeries",
582 "request": {
583 "$ref": "CreateCollectdTimeSeriesRequest"
584 },
585 "response": {
586 "$ref": "CreateCollectdTimeSeriesResponse"
587 },
588 "scopes": [
589 "https://www.googleapis.com/auth/cloud-platform" ,
590 "https://www.googleapis.com/auth/monitoring",
591 "https://www.googleapis.com/auth/monitoring.writ e"
592 ]
593 }
594 }
595 },
596 "timeSeries": {
597 "methods": {
598 "list": {
599 "description": "Lists time series that match a filte r. This method does not require a Stackdriver account.",
600 "httpMethod": "GET",
601 "id": "monitoring.projects.timeSeries.list",
602 "parameterOrder": [
603 "name"
604 ],
605 "parameters": {
606 "aggregation.crossSeriesReducer": {
607 "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.",
608 "enum": [
609 "REDUCE_NONE",
610 "REDUCE_MEAN",
611 "REDUCE_MIN",
612 "REDUCE_MAX",
613 "REDUCE_SUM",
614 "REDUCE_STDDEV",
615 "REDUCE_COUNT",
616 "REDUCE_COUNT_TRUE",
617 "REDUCE_FRACTION_TRUE",
618 "REDUCE_PERCENTILE_99",
619 "REDUCE_PERCENTILE_95",
620 "REDUCE_PERCENTILE_50",
621 "REDUCE_PERCENTILE_05"
622 ],
623 "location": "query",
624 "type": "string"
625 },
626 "filter": {
627 "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",
628 "location": "query",
629 "type": "string"
630 },
631 "aggregation.perSeriesAligner": {
632 "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.",
633 "enum": [
634 "ALIGN_NONE",
635 "ALIGN_DELTA",
636 "ALIGN_RATE",
637 "ALIGN_INTERPOLATE",
638 "ALIGN_NEXT_OLDER",
639 "ALIGN_MIN",
640 "ALIGN_MAX",
641 "ALIGN_MEAN",
642 "ALIGN_COUNT",
643 "ALIGN_SUM",
644 "ALIGN_STDDEV",
645 "ALIGN_COUNT_TRUE",
646 "ALIGN_FRACTION_TRUE",
647 "ALIGN_PERCENTILE_99",
648 "ALIGN_PERCENTILE_95",
649 "ALIGN_PERCENTILE_50",
650 "ALIGN_PERCENTILE_05"
651 ],
652 "location": "query",
653 "type": "string"
654 },
655 "pageToken": {
656 "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.",
657 "location": "query",
658 "type": "string"
659 },
660 "interval.startTime": {
661 "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.",
662 "format": "google-datetime",
663 "location": "query",
664 "type": "string"
665 },
666 "view": {
667 "description": "Specifies which information is returned about the time series.",
668 "enum": [
669 "FULL",
670 "HEADERS"
671 ],
672 "location": "query",
673 "type": "string"
674 },
675 "aggregation.groupByFields": {
676 "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.",
677 "location": "query",
678 "repeated": true,
679 "type": "string"
680 },
681 "name": {
682 "description": "The project on which to exec ute the request. The format is \"projects/{project_id_or_number}\".",
683 "location": "path",
684 "pattern": "^projects/[^/]+$",
685 "required": true,
686 "type": "string"
687 },
688 "interval.endTime": {
689 "description": "Required. The end of the tim e interval.",
690 "format": "google-datetime",
691 "location": "query",
692 "type": "string"
693 },
694 "aggregation.alignmentPeriod": {
695 "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.",
696 "format": "google-duration",
697 "location": "query",
698 "type": "string"
699 },
700 "pageSize": {
701 "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.",
702 "format": "int32",
703 "location": "query",
704 "type": "integer"
705 },
706 "orderBy": {
707 "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.",
708 "location": "query",
709 "type": "string"
710 }
711 },
712 "path": "v3/{+name}/timeSeries",
713 "response": {
714 "$ref": "ListTimeSeriesResponse"
715 },
716 "scopes": [
717 "https://www.googleapis.com/auth/cloud-platform" ,
718 "https://www.googleapis.com/auth/monitoring",
719 "https://www.googleapis.com/auth/monitoring.read "
720 ]
721 },
722 "create": {
723 "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.",
724 "httpMethod": "POST",
725 "id": "monitoring.projects.timeSeries.create",
726 "parameterOrder": [
727 "name"
728 ],
729 "parameters": {
730 "name": {
731 "description": "The project on which to exec ute the request. 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}/timeSeries",
739 "request": {
740 "$ref": "CreateTimeSeriesRequest"
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"
749 ]
750 }
751 }
752 } 752 }
753 } 753 }
754 } 754 }
755 }, 755 },
756 "revision": "20170814", 756 "revision": "20170904",
757 "rootUrl": "https://monitoring.googleapis.com/", 757 "rootUrl": "https://monitoring.googleapis.com/",
758 "schemas": { 758 "schemas": {
759 "ListTimeSeriesResponse": {
760 "description": "The ListTimeSeries response.",
761 "id": "ListTimeSeriesResponse",
762 "properties": {
763 "timeSeries": {
764 "description": "One or more time series that match the filte r included in the request.",
765 "items": {
766 "$ref": "TimeSeries"
767 },
768 "type": "array"
769 },
770 "nextPageToken": {
771 "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.",
772 "type": "string"
773 }
774 },
775 "type": "object"
776 },
777 "LabelDescriptor": {
778 "description": "A description of a label.",
779 "id": "LabelDescriptor",
780 "properties": {
781 "key": {
782 "description": "The label key.",
783 "type": "string"
784 },
785 "description": {
786 "description": "A human-readable description for the label." ,
787 "type": "string"
788 },
789 "valueType": {
790 "description": "The type of data that can be assigned to the label.",
791 "enum": [
792 "STRING",
793 "BOOL",
794 "INT64"
795 ],
796 "enumDescriptions": [
797 "A variable-length string. This is the default.",
798 "Boolean; true or false.",
799 "A 64-bit signed integer."
800 ],
801 "type": "string"
802 }
803 },
804 "type": "object"
805 },
806 "Type": {
807 "description": "A protocol buffer message type.",
808 "id": "Type",
809 "properties": {
810 "options": {
811 "description": "The protocol buffer options.",
812 "items": {
813 "$ref": "Option"
814 },
815 "type": "array"
816 },
817 "fields": {
818 "description": "The list of fields.",
819 "items": {
820 "$ref": "Field"
821 },
822 "type": "array"
823 },
824 "name": {
825 "description": "The fully qualified message name.",
826 "type": "string"
827 },
828 "oneofs": {
829 "description": "The list of types appearing in oneof definit ions in this type.",
830 "items": {
831 "type": "string"
832 },
833 "type": "array"
834 },
835 "syntax": {
836 "description": "The source syntax.",
837 "enum": [
838 "SYNTAX_PROTO2",
839 "SYNTAX_PROTO3"
840 ],
841 "enumDescriptions": [
842 "Syntax proto2.",
843 "Syntax proto3."
844 ],
845 "type": "string"
846 },
847 "sourceContext": {
848 "$ref": "SourceContext",
849 "description": "The source context."
850 }
851 },
852 "type": "object"
853 },
854 "Group": {
855 "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.",
856 "id": "Group",
857 "properties": {
858 "filter": {
859 "description": "The filter used to determine which monitored resources belong to this group.",
860 "type": "string"
861 },
862 "parentName": {
863 "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, \"\".",
864 "type": "string"
865 },
866 "name": {
867 "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.",
868 "type": "string"
869 },
870 "displayName": {
871 "description": "A user-assigned name for this group, used on ly for display purposes.",
872 "type": "string"
873 },
874 "isCluster": {
875 "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.",
876 "type": "boolean"
877 }
878 },
879 "type": "object"
880 },
881 "BucketOptions": {
882 "description": "BucketOptions describes the bucket boundaries used t o create a histogram for the distribution. The buckets can be in a linear sequen ce, an exponential sequence, or each bucket can be specified explicitly. BucketO ptions does not include the number of values in each bucket.A bucket has an incl usive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bu cket (number 0), zero or more finite buckets (number 1 through N - 2) and an ove rflow bucket (number N - 1). The buckets are contiguous: the lower bound of buck et i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span th e whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.",
883 "id": "BucketOptions",
884 "properties": {
885 "exponentialBuckets": {
886 "$ref": "Exponential",
887 "description": "The exponential buckets."
888 },
889 "explicitBuckets": {
890 "$ref": "Explicit",
891 "description": "The explicit buckets."
892 },
893 "linearBuckets": {
894 "$ref": "Linear",
895 "description": "The linear bucket."
896 }
897 },
898 "type": "object"
899 },
900 "CollectdValue": {
901 "description": "A single data point from a collectd-based plugin.",
902 "id": "CollectdValue",
903 "properties": {
904 "dataSourceName": {
905 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
906 "type": "string"
907 },
908 "value": {
909 "$ref": "TypedValue",
910 "description": "The measurement value."
911 },
912 "dataSourceType": {
913 "description": "The type of measurement.",
914 "enum": [
915 "UNSPECIFIED_DATA_SOURCE_TYPE",
916 "GAUGE",
917 "COUNTER",
918 "DERIVE",
919 "ABSOLUTE"
920 ],
921 "enumDescriptions": [
922 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
923 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
924 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
925 "A rate of change of the measurement.",
926 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
927 ],
928 "type": "string"
929 }
930 },
931 "type": "object"
932 },
933 "MetricDescriptor": {
934 "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.",
935 "id": "MetricDescriptor",
936 "properties": {
937 "unit": {
938 "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 '}'.",
939 "type": "string"
940 },
941 "labels": {
942 "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.",
943 "items": {
944 "$ref": "LabelDescriptor"
945 },
946 "type": "array"
947 },
948 "name": {
949 "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",
950 "type": "string"
951 },
952 "type": {
953 "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",
954 "type": "string"
955 },
956 "valueType": {
957 "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.",
958 "enum": [
959 "VALUE_TYPE_UNSPECIFIED",
960 "BOOL",
961 "INT64",
962 "DOUBLE",
963 "STRING",
964 "DISTRIBUTION",
965 "MONEY"
966 ],
967 "enumDescriptions": [
968 "Do not use this default value.",
969 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
970 "The value is a signed 64-bit integer.",
971 "The value is a double precision floating point number." ,
972 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
973 "The value is a Distribution.",
974 "The value is money."
975 ],
976 "type": "string"
977 },
978 "metricKind": {
979 "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.",
980 "enum": [
981 "METRIC_KIND_UNSPECIFIED",
982 "GAUGE",
983 "DELTA",
984 "CUMULATIVE"
985 ],
986 "enumDescriptions": [
987 "Do not use this default value.",
988 "An instantaneous measurement of a value.",
989 "The change in a value during a time interval.",
990 "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."
991 ],
992 "type": "string"
993 },
994 "displayName": {
995 "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\".",
996 "type": "string"
997 },
998 "description": {
999 "description": "A detailed description of the metric, which can be used in documentation.",
1000 "type": "string"
1001 }
1002 },
1003 "type": "object"
1004 },
1005 "SourceContext": {
1006 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
1007 "id": "SourceContext",
1008 "properties": {
1009 "fileName": {
1010 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
1011 "type": "string"
1012 }
1013 },
1014 "type": "object"
1015 },
1016 "Range": {
1017 "description": "The range of the population values.",
1018 "id": "Range",
1019 "properties": {
1020 "min": {
1021 "description": "The minimum of the population values.",
1022 "format": "double",
1023 "type": "number"
1024 },
1025 "max": {
1026 "description": "The maximum of the population values.",
1027 "format": "double",
1028 "type": "number"
1029 }
1030 },
1031 "type": "object"
1032 },
1033 "ListGroupsResponse": {
1034 "description": "The ListGroups response.",
1035 "id": "ListGroupsResponse",
1036 "properties": {
1037 "nextPageToken": {
1038 "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.",
1039 "type": "string"
1040 },
1041 "group": {
1042 "description": "The groups that match the specified filters. ",
1043 "items": {
1044 "$ref": "Group"
1045 },
1046 "type": "array"
1047 }
1048 },
1049 "type": "object"
1050 },
1051 "ListGroupMembersResponse": {
1052 "description": "The ListGroupMembers response.",
1053 "id": "ListGroupMembersResponse",
1054 "properties": {
1055 "members": {
1056 "description": "A set of monitored resources in the group.",
1057 "items": {
1058 "$ref": "MonitoredResource"
1059 },
1060 "type": "array"
1061 },
1062 "nextPageToken": {
1063 "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.",
1064 "type": "string"
1065 },
1066 "totalSize": {
1067 "description": "The total number of elements matching this r equest.",
1068 "format": "int32",
1069 "type": "integer"
1070 }
1071 },
1072 "type": "object"
1073 },
1074 "CreateCollectdTimeSeriesRequest": {
1075 "description": "The CreateCollectdTimeSeries request.",
1076 "id": "CreateCollectdTimeSeriesRequest",
1077 "properties": {
1078 "collectdPayloads": {
1079 "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.",
1080 "items": {
1081 "$ref": "CollectdPayload"
1082 },
1083 "type": "array"
1084 },
1085 "resource": {
1086 "$ref": "MonitoredResource",
1087 "description": "The monitored resource associated with the t ime series."
1088 },
1089 "collectdVersion": {
1090 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
1091 "type": "string"
1092 }
1093 },
1094 "type": "object"
1095 },
1096 "ListMonitoredResourceDescriptorsResponse": {
1097 "description": "The ListMonitoredResourceDescriptors response.",
1098 "id": "ListMonitoredResourceDescriptorsResponse",
1099 "properties": {
1100 "nextPageToken": {
1101 "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.",
1102 "type": "string"
1103 },
1104 "resourceDescriptors": {
1105 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1106 "items": {
1107 "$ref": "MonitoredResourceDescriptor"
1108 },
1109 "type": "array"
1110 }
1111 },
1112 "type": "object"
1113 },
1114 "TimeSeries": {
1115 "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.",
1116 "id": "TimeSeries",
1117 "properties": {
1118 "metricKind": {
1119 "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.",
1120 "enum": [
1121 "METRIC_KIND_UNSPECIFIED",
1122 "GAUGE",
1123 "DELTA",
1124 "CUMULATIVE"
1125 ],
1126 "enumDescriptions": [
1127 "Do not use this default value.",
1128 "An instantaneous measurement of a value.",
1129 "The change in a value during a time interval.",
1130 "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."
1131 ],
1132 "type": "string"
1133 },
1134 "points": {
1135 "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.",
1136 "items": {
1137 "$ref": "Point"
1138 },
1139 "type": "array"
1140 },
1141 "metric": {
1142 "$ref": "Metric",
1143 "description": "The associated metric. A fully-specified met ric used to identify the time series."
1144 },
1145 "valueType": {
1146 "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.",
1147 "enum": [
1148 "VALUE_TYPE_UNSPECIFIED",
1149 "BOOL",
1150 "INT64",
1151 "DOUBLE",
1152 "STRING",
1153 "DISTRIBUTION",
1154 "MONEY"
1155 ],
1156 "enumDescriptions": [
1157 "Do not use this default value.",
1158 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1159 "The value is a signed 64-bit integer.",
1160 "The value is a double precision floating point number." ,
1161 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1162 "The value is a Distribution.",
1163 "The value is money."
1164 ],
1165 "type": "string"
1166 },
1167 "resource": {
1168 "$ref": "MonitoredResource",
1169 "description": "The associated monitored resource. Custom me trics can use only certain monitored resource types in their time series data."
1170 }
1171 },
1172 "type": "object"
1173 },
1174 "CreateTimeSeriesRequest": {
1175 "description": "The CreateTimeSeries request.",
1176 "id": "CreateTimeSeriesRequest",
1177 "properties": {
1178 "timeSeries": {
1179 "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.",
1180 "items": {
1181 "$ref": "TimeSeries"
1182 },
1183 "type": "array"
1184 }
1185 },
1186 "type": "object"
1187 },
1188 "Distribution": {
1189 "description": "Distribution contains summary statistics for a popul ation of values. It optionally contains a histogram representing the distributio n of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum o f the set of population of values. The histogram is based on a sequence of bucke ts and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or expo nentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of valu es, as this will render the mean and sum_of_squared_deviation fields meaningless .",
1190 "id": "Distribution",
1191 "properties": {
1192 "count": {
1193 "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts i f a histogram is provided.",
1194 "format": "int64",
1195 "type": "string"
1196 },
1197 "mean": {
1198 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
1199 "format": "double",
1200 "type": "number"
1201 },
1202 "bucketCounts": {
1203 "description": "Required in the Stackdriver Monitoring API v 3. The values for each bucket specified in bucket_options. The sum of the values in bucketCounts must equal the value in the count field of the Distribution obj ect. The order of the bucket counts follows the numbering schemes described for the three bucket types. The underflow bucket has number 0; the finite buckets, i f any, have numbers 1 through N-2; and the overflow bucket has number N-1. The s ize of bucket_counts must not be greater than N. If the size is less than N, the n the remaining buckets are assigned values of zero.",
1204 "items": {
1205 "format": "int64",
1206 "type": "string"
1207 },
1208 "type": "array"
1209 },
1210 "bucketOptions": {
1211 "$ref": "BucketOptions",
1212 "description": "Required in the Stackdriver Monitoring API v 3. Defines the histogram bucket boundaries."
1213 },
1214 "sumOfSquaredDeviation": {
1215 "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.",
1216 "format": "double",
1217 "type": "number"
1218 },
1219 "range": {
1220 "$ref": "Range",
1221 "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."
1222 }
1223 },
1224 "type": "object"
1225 },
1226 "MonitoredResource": {
1227 "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",
1228 "id": "MonitoredResource",
1229 "properties": {
1230 "type": {
1231 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Compute Engine VM instance is gce_instance.",
1232 "type": "string"
1233 },
1234 "labels": {
1235 "additionalProperties": {
1236 "type": "string"
1237 },
1238 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Compute Engine V M instances use the labels \"project_id\", \"instance_id\", and \"zone\".",
1239 "type": "object"
1240 }
1241 },
1242 "type": "object"
1243 },
1244 "ListMetricDescriptorsResponse": { 759 "ListMetricDescriptorsResponse": {
1245 "description": "The ListMetricDescriptors response.", 760 "description": "The ListMetricDescriptors response.",
1246 "id": "ListMetricDescriptorsResponse", 761 "id": "ListMetricDescriptorsResponse",
1247 "properties": { 762 "properties": {
1248 "nextPageToken": { 763 "nextPageToken": {
1249 "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.", 764 "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.",
1250 "type": "string" 765 "type": "string"
1251 }, 766 },
1252 "metricDescriptors": { 767 "metricDescriptors": {
1253 "description": "The metric descriptors that are available to the project and that match the value of filter, if present.", 768 "description": "The metric descriptors that are available to the project and that match the value of filter, if present.",
1254 "items": { 769 "items": {
1255 "$ref": "MetricDescriptor" 770 "$ref": "MetricDescriptor"
1256 }, 771 },
1257 "type": "array" 772 "type": "array"
1258 } 773 }
1259 }, 774 },
1260 "type": "object" 775 "type": "object"
1261 }, 776 },
777 "CollectdPayloadError": {
778 "description": "Describes the error status for payloads that were no t written.",
779 "id": "CollectdPayloadError",
780 "properties": {
781 "valueErrors": {
782 "description": "Records the error status for values that wer e not written due to an error.Failed payloads for which nothing is written will not include partial value errors.",
783 "items": {
784 "$ref": "CollectdValueError"
785 },
786 "type": "array"
787 },
788 "error": {
789 "$ref": "Status",
790 "description": "Records the error status for the payload. If this field is present, the partial errors for nested values won't be populated. "
791 },
792 "index": {
793 "description": "The zero-based index in CreateCollectdTimeSe riesRequest.collectd_payloads.",
794 "format": "int32",
795 "type": "integer"
796 }
797 },
798 "type": "object"
799 },
1262 "MonitoredResourceDescriptor": { 800 "MonitoredResourceDescriptor": {
1263 "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.", 801 "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.",
1264 "id": "MonitoredResourceDescriptor", 802 "id": "MonitoredResourceDescriptor",
1265 "properties": { 803 "properties": {
1266 "name": { 804 "name": {
1267 "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}\".", 805 "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}\".",
1268 "type": "string" 806 "type": "string"
1269 }, 807 },
1270 "description": { 808 "description": {
1271 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.", 809 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
(...skipping 14 matching lines...) Expand all
1286 }, 824 },
1287 "type": "array" 825 "type": "array"
1288 } 826 }
1289 }, 827 },
1290 "type": "object" 828 "type": "object"
1291 }, 829 },
1292 "TypedValue": { 830 "TypedValue": {
1293 "description": "A single strongly-typed value.", 831 "description": "A single strongly-typed value.",
1294 "id": "TypedValue", 832 "id": "TypedValue",
1295 "properties": { 833 "properties": {
1296 "int64Value": {
1297 "description": "A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.",
1298 "format": "int64",
1299 "type": "string"
1300 },
1301 "distributionValue": {
1302 "$ref": "Distribution",
1303 "description": "A distribution value."
1304 },
1305 "stringValue": {
1306 "description": "A variable-length string value.",
1307 "type": "string"
1308 },
1309 "boolValue": {
1310 "description": "A Boolean value: true or false.",
1311 "type": "boolean"
1312 },
1313 "doubleValue": { 834 "doubleValue": {
1314 "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.", 835 "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.",
1315 "format": "double", 836 "format": "double",
1316 "type": "number" 837 "type": "number"
838 },
839 "int64Value": {
840 "description": "A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.",
841 "format": "int64",
842 "type": "string"
843 },
844 "distributionValue": {
845 "$ref": "Distribution",
846 "description": "A distribution value."
847 },
848 "stringValue": {
849 "description": "A variable-length string value.",
850 "type": "string"
851 },
852 "boolValue": {
853 "description": "A Boolean value: true or false.",
854 "type": "boolean"
855 }
856 },
857 "type": "object"
858 },
859 "CollectdValueError": {
860 "description": "Describes the error status for values that were not written.",
861 "id": "CollectdValueError",
862 "properties": {
863 "index": {
864 "description": "The zero-based index in CollectdPayload.valu es within the parent CreateCollectdTimeSeriesRequest.collectd_payloads.",
865 "format": "int32",
866 "type": "integer"
867 },
868 "error": {
869 "$ref": "Status",
870 "description": "Records the error status for the value."
1317 } 871 }
1318 }, 872 },
1319 "type": "object" 873 "type": "object"
1320 }, 874 },
1321 "CollectdPayload": { 875 "CollectdPayload": {
1322 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.", 876 "description": "A collection of data points sent from a collectd-bas ed plugin. See the collectd documentation for more information.",
1323 "id": "CollectdPayload", 877 "id": "CollectdPayload",
1324 "properties": { 878 "properties": {
1325 "typeInstance": { 879 "typeInstance": {
1326 "description": "The measurement type instance. Example: \"us ed\".", 880 "description": "The measurement type instance. Example: \"us ed\".",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 "values": { 912 "values": {
1359 "description": "The measured values during this time interva l. Each value must have a different dataSourceName.", 913 "description": "The measured values during this time interva l. Each value must have a different dataSourceName.",
1360 "items": { 914 "items": {
1361 "$ref": "CollectdValue" 915 "$ref": "CollectdValue"
1362 }, 916 },
1363 "type": "array" 917 "type": "array"
1364 } 918 }
1365 }, 919 },
1366 "type": "object" 920 "type": "object"
1367 }, 921 },
922 "CreateCollectdTimeSeriesResponse": {
923 "description": "The CreateCollectdTimeSeries response.",
924 "id": "CreateCollectdTimeSeriesResponse",
925 "properties": {
926 "payloadErrors": {
927 "description": "Records the error status for points that wer e not written due to an error.Failed requests for which nothing is written will return an error response instead.",
928 "items": {
929 "$ref": "CollectdPayloadError"
930 },
931 "type": "array"
932 }
933 },
934 "type": "object"
935 },
1368 "Linear": { 936 "Linear": {
1369 "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a consta nt absolute uncertainty on the specific value in the bucket.There are num_finite _buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).", 937 "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a consta nt absolute uncertainty on the specific value in the bucket.There are num_finite _buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).",
1370 "id": "Linear", 938 "id": "Linear",
1371 "properties": { 939 "properties": {
1372 "numFiniteBuckets": { 940 "numFiniteBuckets": {
1373 "description": "Must be greater than 0.", 941 "description": "Must be greater than 0.",
1374 "format": "int32", 942 "format": "int32",
1375 "type": "integer" 943 "type": "integer"
1376 }, 944 },
1377 "width": { 945 "width": {
1378 "description": "Must be greater than 0.", 946 "description": "Must be greater than 0.",
1379 "format": "double", 947 "format": "double",
1380 "type": "number" 948 "type": "number"
1381 }, 949 },
1382 "offset": { 950 "offset": {
1383 "description": "Lower bound of the first bucket.", 951 "description": "Lower bound of the first bucket.",
1384 "format": "double", 952 "format": "double",
1385 "type": "number" 953 "type": "number"
1386 } 954 }
1387 }, 955 },
1388 "type": "object" 956 "type": "object"
1389 }, 957 },
958 "Option": {
959 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
960 "id": "Option",
961 "properties": {
962 "name": {
963 "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\".",
964 "type": "string"
965 },
966 "value": {
967 "additionalProperties": {
968 "description": "Properties of the object. Contains field @type with type URL.",
969 "type": "any"
970 },
971 "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.",
972 "type": "object"
973 }
974 },
975 "type": "object"
976 },
1390 "Empty": { 977 "Empty": {
1391 "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 {}.", 978 "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 {}.",
1392 "id": "Empty", 979 "id": "Empty",
1393 "properties": {}, 980 "properties": {},
1394 "type": "object" 981 "type": "object"
1395 }, 982 },
1396 "Option": {
1397 "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
1398 "id": "Option",
1399 "properties": {
1400 "name": {
1401 "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\".",
1402 "type": "string"
1403 },
1404 "value": {
1405 "additionalProperties": {
1406 "description": "Properties of the object. Contains field @type with type URL.",
1407 "type": "any"
1408 },
1409 "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.",
1410 "type": "object"
1411 }
1412 },
1413 "type": "object"
1414 },
1415 "TimeInterval": { 983 "TimeInterval": {
1416 "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.", 984 "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.",
1417 "id": "TimeInterval", 985 "id": "TimeInterval",
1418 "properties": { 986 "properties": {
987 "endTime": {
988 "description": "Required. The end of the time interval.",
989 "format": "google-datetime",
990 "type": "string"
991 },
1419 "startTime": { 992 "startTime": {
1420 "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.", 993 "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.",
1421 "format": "google-datetime", 994 "format": "google-datetime",
1422 "type": "string" 995 "type": "string"
1423 },
1424 "endTime": {
1425 "description": "Required. The end of the time interval.",
1426 "format": "google-datetime",
1427 "type": "string"
1428 } 996 }
1429 }, 997 },
1430 "type": "object" 998 "type": "object"
1431 }, 999 },
1432 "Explicit": { 1000 "Explicit": {
1433 "description": "Specifies a set of buckets with arbitrary widths.The re are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upp er bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bound s field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of t he overflow and underflow buckets.", 1001 "description": "Specifies a set of buckets with arbitrary widths.The re are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upp er bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bound s field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of t he overflow and underflow buckets.",
1434 "id": "Explicit", 1002 "id": "Explicit",
1435 "properties": { 1003 "properties": {
1436 "bounds": { 1004 "bounds": {
1437 "description": "The values must be monotonically increasing. ", 1005 "description": "The values must be monotonically increasing. ",
(...skipping 25 matching lines...) Expand all
1463 "format": "double", 1031 "format": "double",
1464 "type": "number" 1032 "type": "number"
1465 } 1033 }
1466 }, 1034 },
1467 "type": "object" 1035 "type": "object"
1468 }, 1036 },
1469 "Point": { 1037 "Point": {
1470 "description": "A single data point in a time series.", 1038 "description": "A single data point in a time series.",
1471 "id": "Point", 1039 "id": "Point",
1472 "properties": { 1040 "properties": {
1041 "value": {
1042 "$ref": "TypedValue",
1043 "description": "The value of the data point."
1044 },
1473 "interval": { 1045 "interval": {
1474 "$ref": "TimeInterval", 1046 "$ref": "TimeInterval",
1475 "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." 1047 "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."
1476 },
1477 "value": {
1478 "$ref": "TypedValue",
1479 "description": "The value of the data point."
1480 } 1048 }
1481 }, 1049 },
1482 "type": "object" 1050 "type": "object"
1483 }, 1051 },
1484 "Metric": { 1052 "Metric": {
1485 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.", 1053 "description": "A specific metric, identified by specifying values f or all of the labels of a MetricDescriptor.",
1486 "id": "Metric", 1054 "id": "Metric",
1487 "properties": { 1055 "properties": {
1056 "type": {
1057 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
1058 "type": "string"
1059 },
1488 "labels": { 1060 "labels": {
1489 "additionalProperties": { 1061 "additionalProperties": {
1490 "type": "string" 1062 "type": "string"
1491 }, 1063 },
1492 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.", 1064 "description": "The set of label values that uniquely identi fy this metric. All labels listed in the MetricDescriptor must be assigned value s.",
1493 "type": "object" 1065 "type": "object"
1494 },
1495 "type": {
1496 "description": "An existing metric type, see google.api.Metr icDescriptor. For example, custom.googleapis.com/invoice/paid/amount.",
1497 "type": "string"
1498 } 1066 }
1499 }, 1067 },
1500 "type": "object" 1068 "type": "object"
1501 }, 1069 },
1502 "Field": { 1070 "Field": {
1503 "description": "A single field of a message type.", 1071 "description": "A single field of a message type.",
1504 "id": "Field", 1072 "id": "Field",
1505 "properties": { 1073 "properties": {
1074 "name": {
1075 "description": "The field name.",
1076 "type": "string"
1077 },
1506 "typeUrl": { 1078 "typeUrl": {
1507 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".", 1079 "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Tim estamp\".",
1508 "type": "string" 1080 "type": "string"
1509 }, 1081 },
1510 "number": { 1082 "number": {
1511 "description": "The field number.", 1083 "description": "The field number.",
1512 "format": "int32", 1084 "format": "int32",
1513 "type": "integer" 1085 "type": "integer"
1514 }, 1086 },
1515 "jsonName": {
1516 "description": "The field JSON name.",
1517 "type": "string"
1518 },
1519 "kind": { 1087 "kind": {
1520 "description": "The field type.", 1088 "description": "The field type.",
1521 "enum": [ 1089 "enum": [
1522 "TYPE_UNKNOWN", 1090 "TYPE_UNKNOWN",
1523 "TYPE_DOUBLE", 1091 "TYPE_DOUBLE",
1524 "TYPE_FLOAT", 1092 "TYPE_FLOAT",
1525 "TYPE_INT64", 1093 "TYPE_INT64",
1526 "TYPE_UINT64", 1094 "TYPE_UINT64",
1527 "TYPE_INT32", 1095 "TYPE_INT32",
1528 "TYPE_FIXED64", 1096 "TYPE_FIXED64",
(...skipping 26 matching lines...) Expand all
1555 "Field type bytes.", 1123 "Field type bytes.",
1556 "Field type uint32.", 1124 "Field type uint32.",
1557 "Field type enum.", 1125 "Field type enum.",
1558 "Field type sfixed32.", 1126 "Field type sfixed32.",
1559 "Field type sfixed64.", 1127 "Field type sfixed64.",
1560 "Field type sint32.", 1128 "Field type sint32.",
1561 "Field type sint64." 1129 "Field type sint64."
1562 ], 1130 ],
1563 "type": "string" 1131 "type": "string"
1564 }, 1132 },
1133 "jsonName": {
1134 "description": "The field JSON name.",
1135 "type": "string"
1136 },
1565 "options": { 1137 "options": {
1566 "description": "The protocol buffer options.", 1138 "description": "The protocol buffer options.",
1567 "items": { 1139 "items": {
1568 "$ref": "Option" 1140 "$ref": "Option"
1569 }, 1141 },
1570 "type": "array" 1142 "type": "array"
1571 }, 1143 },
1572 "oneofIndex": { 1144 "oneofIndex": {
1573 "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.", 1145 "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.",
1574 "format": "int32", 1146 "format": "int32",
1575 "type": "integer" 1147 "type": "integer"
1576 }, 1148 },
1577 "packed": {
1578 "description": "Whether to use alternative packed wire repre sentation.",
1579 "type": "boolean"
1580 },
1581 "cardinality": { 1149 "cardinality": {
1582 "description": "The field cardinality.", 1150 "description": "The field cardinality.",
1583 "enum": [ 1151 "enum": [
1584 "CARDINALITY_UNKNOWN", 1152 "CARDINALITY_UNKNOWN",
1585 "CARDINALITY_OPTIONAL", 1153 "CARDINALITY_OPTIONAL",
1586 "CARDINALITY_REQUIRED", 1154 "CARDINALITY_REQUIRED",
1587 "CARDINALITY_REPEATED" 1155 "CARDINALITY_REPEATED"
1588 ], 1156 ],
1589 "enumDescriptions": [ 1157 "enumDescriptions": [
1590 "For fields with unknown cardinality.", 1158 "For fields with unknown cardinality.",
1591 "For optional fields.", 1159 "For optional fields.",
1592 "For required fields. Proto2 syntax only.", 1160 "For required fields. Proto2 syntax only.",
1593 "For repeated fields." 1161 "For repeated fields."
1594 ], 1162 ],
1595 "type": "string" 1163 "type": "string"
1596 }, 1164 },
1165 "packed": {
1166 "description": "Whether to use alternative packed wire repre sentation.",
1167 "type": "boolean"
1168 },
1597 "defaultValue": { 1169 "defaultValue": {
1598 "description": "The string value of the default value of thi s field. Proto2 syntax only.", 1170 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1599 "type": "string" 1171 "type": "string"
1172 }
1173 },
1174 "type": "object"
1175 },
1176 "LabelDescriptor": {
1177 "description": "A description of a label.",
1178 "id": "LabelDescriptor",
1179 "properties": {
1180 "key": {
1181 "description": "The label key.",
1182 "type": "string"
1183 },
1184 "description": {
1185 "description": "A human-readable description for the label." ,
1186 "type": "string"
1187 },
1188 "valueType": {
1189 "description": "The type of data that can be assigned to the label.",
1190 "enum": [
1191 "STRING",
1192 "BOOL",
1193 "INT64"
1194 ],
1195 "enumDescriptions": [
1196 "A variable-length string. This is the default.",
1197 "Boolean; true or false.",
1198 "A 64-bit signed integer."
1199 ],
1200 "type": "string"
1201 }
1202 },
1203 "type": "object"
1204 },
1205 "ListTimeSeriesResponse": {
1206 "description": "The ListTimeSeries response.",
1207 "id": "ListTimeSeriesResponse",
1208 "properties": {
1209 "nextPageToken": {
1210 "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.",
1211 "type": "string"
1212 },
1213 "timeSeries": {
1214 "description": "One or more time series that match the filte r included in the request.",
1215 "items": {
1216 "$ref": "TimeSeries"
1217 },
1218 "type": "array"
1219 }
1220 },
1221 "type": "object"
1222 },
1223 "Group": {
1224 "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.",
1225 "id": "Group",
1226 "properties": {
1227 "parentName": {
1228 "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, \"\".",
1229 "type": "string"
1600 }, 1230 },
1601 "name": { 1231 "name": {
1602 "description": "The field name.", 1232 "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.",
1603 "type": "string" 1233 "type": "string"
1604 } 1234 },
1605 }, 1235 "displayName": {
1236 "description": "A user-assigned name for this group, used on ly for display purposes.",
1237 "type": "string"
1238 },
1239 "isCluster": {
1240 "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.",
1241 "type": "boolean"
1242 },
1243 "filter": {
1244 "description": "The filter used to determine which monitored resources belong to this group.",
1245 "type": "string"
1246 }
1247 },
1248 "type": "object"
1249 },
1250 "Type": {
1251 "description": "A protocol buffer message type.",
1252 "id": "Type",
1253 "properties": {
1254 "fields": {
1255 "description": "The list of fields.",
1256 "items": {
1257 "$ref": "Field"
1258 },
1259 "type": "array"
1260 },
1261 "name": {
1262 "description": "The fully qualified message name.",
1263 "type": "string"
1264 },
1265 "oneofs": {
1266 "description": "The list of types appearing in oneof definit ions in this type.",
1267 "items": {
1268 "type": "string"
1269 },
1270 "type": "array"
1271 },
1272 "sourceContext": {
1273 "$ref": "SourceContext",
1274 "description": "The source context."
1275 },
1276 "syntax": {
1277 "description": "The source syntax.",
1278 "enum": [
1279 "SYNTAX_PROTO2",
1280 "SYNTAX_PROTO3"
1281 ],
1282 "enumDescriptions": [
1283 "Syntax proto2.",
1284 "Syntax proto3."
1285 ],
1286 "type": "string"
1287 },
1288 "options": {
1289 "description": "The protocol buffer options.",
1290 "items": {
1291 "$ref": "Option"
1292 },
1293 "type": "array"
1294 }
1295 },
1296 "type": "object"
1297 },
1298 "BucketOptions": {
1299 "description": "BucketOptions describes the bucket boundaries used t o create a histogram for the distribution. The buckets can be in a linear sequen ce, an exponential sequence, or each bucket can be specified explicitly. BucketO ptions does not include the number of values in each bucket.A bucket has an incl usive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bu cket (number 0), zero or more finite buckets (number 1 through N - 2) and an ove rflow bucket (number N - 1). The buckets are contiguous: the lower bound of buck et i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span th e whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.",
1300 "id": "BucketOptions",
1301 "properties": {
1302 "exponentialBuckets": {
1303 "$ref": "Exponential",
1304 "description": "The exponential buckets."
1305 },
1306 "explicitBuckets": {
1307 "$ref": "Explicit",
1308 "description": "The explicit buckets."
1309 },
1310 "linearBuckets": {
1311 "$ref": "Linear",
1312 "description": "The linear bucket."
1313 }
1314 },
1315 "type": "object"
1316 },
1317 "CollectdValue": {
1318 "description": "A single data point from a collectd-based plugin.",
1319 "id": "CollectdValue",
1320 "properties": {
1321 "value": {
1322 "$ref": "TypedValue",
1323 "description": "The measurement value."
1324 },
1325 "dataSourceType": {
1326 "description": "The type of measurement.",
1327 "enum": [
1328 "UNSPECIFIED_DATA_SOURCE_TYPE",
1329 "GAUGE",
1330 "COUNTER",
1331 "DERIVE",
1332 "ABSOLUTE"
1333 ],
1334 "enumDescriptions": [
1335 "An unspecified data source type. This corresponds to go ogle.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.",
1336 "An instantaneous measurement of a varying quantity. Thi s corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.",
1337 "A cumulative value over time. This corresponds to googl e.api.MetricDescriptor.MetricKind.CUMULATIVE.",
1338 "A rate of change of the measurement.",
1339 "An amount of change since the last measurement interval . This corresponds to google.api.MetricDescriptor.MetricKind.DELTA."
1340 ],
1341 "type": "string"
1342 },
1343 "dataSourceName": {
1344 "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\"." ,
1345 "type": "string"
1346 }
1347 },
1348 "type": "object"
1349 },
1350 "Status": {
1351 "description": "The Status type defines a logical error model that i s suitable for different programming environments, including REST APIs and RPC A PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t o be:\nSimple to use and understand for most users\nFlexible enough to meet unex pected needsOverviewThe Status message contains three pieces of data: error code , error message, and error details. The error code should be an enum value of go ogle.rpc.Code, but it may accept additional error codes if needed. The error mes sage should be a developer-facing English message that helps developers understa nd and resolve the error. If a localized user-facing error message is needed, pu t the localized message in the error details or localize it in the client. The o ptional error details may contain arbitrary information about the error. There i s a predefined set of error detail types in the package google.rpc that can be u sed for common error conditions.Language mappingThe Status message is the logica l representation of the error model, but it is not necessarily the actual wire f ormat. When the Status message is exposed in different client libraries and diff erent wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model includ e:\nPartial errors. If a service needs to return partial errors to the client, i t may embed the Status in the normal response to indicate the partial errors.\nW orkflow errors. A typical workflow has multiple steps. Each step may have a Stat us message for error reporting.\nBatch operations. If a client uses batch reques t and batch response, the Status message should be used directly inside batch re sponse, one for each error sub-response.\nAsynchronous operations. If an API cal l embeds asynchronous operation results in its response, the status of those ope rations should be represented directly using the Status message.\nLogging. If so me API errors are stored in logs, the message Status could be used directly afte r any stripping needed for security/privacy reasons.",
1352 "id": "Status",
1353 "properties": {
1354 "code": {
1355 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1356 "format": "int32",
1357 "type": "integer"
1358 },
1359 "message": {
1360 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
1361 "type": "string"
1362 },
1363 "details": {
1364 "description": "A list of messages that carry the error deta ils. There is a common set of message types for APIs to use.",
1365 "items": {
1366 "additionalProperties": {
1367 "description": "Properties of the object. Contains f ield @type with type URL.",
1368 "type": "any"
1369 },
1370 "type": "object"
1371 },
1372 "type": "array"
1373 }
1374 },
1375 "type": "object"
1376 },
1377 "MetricDescriptor": {
1378 "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.",
1379 "id": "MetricDescriptor",
1380 "properties": {
1381 "type": {
1382 "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",
1383 "type": "string"
1384 },
1385 "valueType": {
1386 "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.",
1387 "enum": [
1388 "VALUE_TYPE_UNSPECIFIED",
1389 "BOOL",
1390 "INT64",
1391 "DOUBLE",
1392 "STRING",
1393 "DISTRIBUTION",
1394 "MONEY"
1395 ],
1396 "enumDescriptions": [
1397 "Do not use this default value.",
1398 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1399 "The value is a signed 64-bit integer.",
1400 "The value is a double precision floating point number." ,
1401 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1402 "The value is a Distribution.",
1403 "The value is money."
1404 ],
1405 "type": "string"
1406 },
1407 "metricKind": {
1408 "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.",
1409 "enum": [
1410 "METRIC_KIND_UNSPECIFIED",
1411 "GAUGE",
1412 "DELTA",
1413 "CUMULATIVE"
1414 ],
1415 "enumDescriptions": [
1416 "Do not use this default value.",
1417 "An instantaneous measurement of a value.",
1418 "The change in a value during a time interval.",
1419 "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."
1420 ],
1421 "type": "string"
1422 },
1423 "displayName": {
1424 "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\".",
1425 "type": "string"
1426 },
1427 "description": {
1428 "description": "A detailed description of the metric, which can be used in documentation.",
1429 "type": "string"
1430 },
1431 "unit": {
1432 "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 '}'.",
1433 "type": "string"
1434 },
1435 "labels": {
1436 "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.",
1437 "items": {
1438 "$ref": "LabelDescriptor"
1439 },
1440 "type": "array"
1441 },
1442 "name": {
1443 "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",
1444 "type": "string"
1445 }
1446 },
1447 "type": "object"
1448 },
1449 "SourceContext": {
1450 "description": "SourceContext represents information about the sourc e of a protobuf element, like the file in which it is defined.",
1451 "id": "SourceContext",
1452 "properties": {
1453 "fileName": {
1454 "description": "The path-qualified name of the .proto file t hat contained the associated protobuf element. For example: \"google/protobuf/so urce_context.proto\".",
1455 "type": "string"
1456 }
1457 },
1458 "type": "object"
1459 },
1460 "Range": {
1461 "description": "The range of the population values.",
1462 "id": "Range",
1463 "properties": {
1464 "min": {
1465 "description": "The minimum of the population values.",
1466 "format": "double",
1467 "type": "number"
1468 },
1469 "max": {
1470 "description": "The maximum of the population values.",
1471 "format": "double",
1472 "type": "number"
1473 }
1474 },
1475 "type": "object"
1476 },
1477 "ListGroupsResponse": {
1478 "description": "The ListGroups response.",
1479 "id": "ListGroupsResponse",
1480 "properties": {
1481 "nextPageToken": {
1482 "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.",
1483 "type": "string"
1484 },
1485 "group": {
1486 "description": "The groups that match the specified filters. ",
1487 "items": {
1488 "$ref": "Group"
1489 },
1490 "type": "array"
1491 }
1492 },
1493 "type": "object"
1494 },
1495 "ListGroupMembersResponse": {
1496 "description": "The ListGroupMembers response.",
1497 "id": "ListGroupMembersResponse",
1498 "properties": {
1499 "nextPageToken": {
1500 "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.",
1501 "type": "string"
1502 },
1503 "totalSize": {
1504 "description": "The total number of elements matching this r equest.",
1505 "format": "int32",
1506 "type": "integer"
1507 },
1508 "members": {
1509 "description": "A set of monitored resources in the group.",
1510 "items": {
1511 "$ref": "MonitoredResource"
1512 },
1513 "type": "array"
1514 }
1515 },
1516 "type": "object"
1517 },
1518 "CreateCollectdTimeSeriesRequest": {
1519 "description": "The CreateCollectdTimeSeries request.",
1520 "id": "CreateCollectdTimeSeriesRequest",
1521 "properties": {
1522 "collectdPayloads": {
1523 "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.",
1524 "items": {
1525 "$ref": "CollectdPayload"
1526 },
1527 "type": "array"
1528 },
1529 "resource": {
1530 "$ref": "MonitoredResource",
1531 "description": "The monitored resource associated with the t ime series."
1532 },
1533 "collectdVersion": {
1534 "description": "The version of collectd that collected the d ata. Example: \"5.3.0-192.el6\".",
1535 "type": "string"
1536 }
1537 },
1538 "type": "object"
1539 },
1540 "ListMonitoredResourceDescriptorsResponse": {
1541 "description": "The ListMonitoredResourceDescriptors response.",
1542 "id": "ListMonitoredResourceDescriptorsResponse",
1543 "properties": {
1544 "nextPageToken": {
1545 "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.",
1546 "type": "string"
1547 },
1548 "resourceDescriptors": {
1549 "description": "The monitored resource descriptors that are available to this project and that match filter, if present.",
1550 "items": {
1551 "$ref": "MonitoredResourceDescriptor"
1552 },
1553 "type": "array"
1554 }
1555 },
1556 "type": "object"
1557 },
1558 "TimeSeries": {
1559 "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.",
1560 "id": "TimeSeries",
1561 "properties": {
1562 "valueType": {
1563 "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.",
1564 "enum": [
1565 "VALUE_TYPE_UNSPECIFIED",
1566 "BOOL",
1567 "INT64",
1568 "DOUBLE",
1569 "STRING",
1570 "DISTRIBUTION",
1571 "MONEY"
1572 ],
1573 "enumDescriptions": [
1574 "Do not use this default value.",
1575 "The value is a boolean. This value type can be used onl y if the metric kind is GAUGE.",
1576 "The value is a signed 64-bit integer.",
1577 "The value is a double precision floating point number." ,
1578 "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
1579 "The value is a Distribution.",
1580 "The value is money."
1581 ],
1582 "type": "string"
1583 },
1584 "resource": {
1585 "$ref": "MonitoredResource",
1586 "description": "The associated monitored resource. Custom me trics can use only certain monitored resource types in their time series data."
1587 },
1588 "metricKind": {
1589 "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.",
1590 "enum": [
1591 "METRIC_KIND_UNSPECIFIED",
1592 "GAUGE",
1593 "DELTA",
1594 "CUMULATIVE"
1595 ],
1596 "enumDescriptions": [
1597 "Do not use this default value.",
1598 "An instantaneous measurement of a value.",
1599 "The change in a value during a time interval.",
1600 "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."
1601 ],
1602 "type": "string"
1603 },
1604 "points": {
1605 "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.",
1606 "items": {
1607 "$ref": "Point"
1608 },
1609 "type": "array"
1610 },
1611 "metric": {
1612 "$ref": "Metric",
1613 "description": "The associated metric. A fully-specified met ric used to identify the time series."
1614 }
1615 },
1616 "type": "object"
1617 },
1618 "CreateTimeSeriesRequest": {
1619 "description": "The CreateTimeSeries request.",
1620 "id": "CreateTimeSeriesRequest",
1621 "properties": {
1622 "timeSeries": {
1623 "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.",
1624 "items": {
1625 "$ref": "TimeSeries"
1626 },
1627 "type": "array"
1628 }
1629 },
1630 "type": "object"
1631 },
1632 "Distribution": {
1633 "description": "Distribution contains summary statistics for a popul ation of values. It optionally contains a histogram representing the distributio n of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum o f the set of population of values. The histogram is based on a sequence of bucke ts and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or expo nentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of valu es, as this will render the mean and sum_of_squared_deviation fields meaningless .",
1634 "id": "Distribution",
1635 "properties": {
1636 "bucketOptions": {
1637 "$ref": "BucketOptions",
1638 "description": "Required in the Stackdriver Monitoring API v 3. Defines the histogram bucket boundaries."
1639 },
1640 "sumOfSquaredDeviation": {
1641 "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.",
1642 "format": "double",
1643 "type": "number"
1644 },
1645 "range": {
1646 "$ref": "Range",
1647 "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."
1648 },
1649 "count": {
1650 "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts i f a histogram is provided.",
1651 "format": "int64",
1652 "type": "string"
1653 },
1654 "mean": {
1655 "description": "The arithmetic mean of the values in the pop ulation. If count is zero then this field must be zero.",
1656 "format": "double",
1657 "type": "number"
1658 },
1659 "bucketCounts": {
1660 "description": "Required in the Stackdriver Monitoring API v 3. The values for each bucket specified in bucket_options. The sum of the values in bucketCounts must equal the value in the count field of the Distribution obj ect. The order of the bucket counts follows the numbering schemes described for the three bucket types. The underflow bucket has number 0; the finite buckets, i f any, have numbers 1 through N-2; and the overflow bucket has number N-1. The s ize of bucket_counts must not be greater than N. If the size is less than N, the n the remaining buckets are assigned values of zero.",
1661 "items": {
1662 "format": "int64",
1663 "type": "string"
1664 },
1665 "type": "array"
1666 }
1667 },
1668 "type": "object"
1669 },
1670 "MonitoredResource": {
1671 "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",
1672 "id": "MonitoredResource",
1673 "properties": {
1674 "labels": {
1675 "additionalProperties": {
1676 "type": "string"
1677 },
1678 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Compute Engine V M instances use the labels \"project_id\", \"instance_id\", and \"zone\".",
1679 "type": "object"
1680 },
1681 "type": {
1682 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Compute Engine VM instance is gce_instance.",
1683 "type": "string"
1684 }
1685 },
1606 "type": "object" 1686 "type": "object"
1607 } 1687 }
1608 }, 1688 },
1609 "servicePath": "", 1689 "servicePath": "",
1610 "title": "Stackdriver Monitoring API", 1690 "title": "Stackdriver Monitoring API",
1611 "version": "v3" 1691 "version": "v3"
1612 } 1692 }
OLDNEW
« no previous file with comments | « discovery/googleapis/ml__v1.json ('k') | discovery/googleapis/oauth2__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698