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