OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 "PERIOD_UNSPECIFIED", | 158 "PERIOD_UNSPECIFIED", |
159 "PERIOD_1_HOUR", | 159 "PERIOD_1_HOUR", |
160 "PERIOD_6_HOURS", | 160 "PERIOD_6_HOURS", |
161 "PERIOD_1_DAY", | 161 "PERIOD_1_DAY", |
162 "PERIOD_1_WEEK", | 162 "PERIOD_1_WEEK", |
163 "PERIOD_30_DAYS" | 163 "PERIOD_30_DAYS" |
164 ], | 164 ], |
165 "location": "query", | 165 "location": "query", |
166 "type": "string" | 166 "type": "string" |
167 }, | 167 }, |
| 168 "serviceFilter.resourceType": { |
| 169 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res
t/v1beta1/ServiceContext#FIELDS.resource_type).", |
| 170 "location": "query", |
| 171 "type": "string" |
| 172 }, |
168 "projectName": { | 173 "projectName": { |
169 "description": "[Required] The resource name
of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google
Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nE
xample: `projects/my-project-123`.", | 174 "description": "[Required] The resource name
of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google
Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nE
xample: `projects/my-project-123`.", |
170 "location": "path", | 175 "location": "path", |
171 "pattern": "^projects/[^/]+$", | 176 "pattern": "^projects/[^/]+$", |
172 "required": true, | 177 "required": true, |
173 "type": "string" | 178 "type": "string" |
174 }, | 179 }, |
175 "serviceFilter.service": { | 180 "serviceFilter.service": { |
176 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.service).", | 181 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.service).", |
177 "location": "query", | 182 "location": "query", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 "PERIOD_UNSPECIFIED", | 322 "PERIOD_UNSPECIFIED", |
318 "PERIOD_1_HOUR", | 323 "PERIOD_1_HOUR", |
319 "PERIOD_6_HOURS", | 324 "PERIOD_6_HOURS", |
320 "PERIOD_1_DAY", | 325 "PERIOD_1_DAY", |
321 "PERIOD_1_WEEK", | 326 "PERIOD_1_WEEK", |
322 "PERIOD_30_DAYS" | 327 "PERIOD_30_DAYS" |
323 ], | 328 ], |
324 "location": "query", | 329 "location": "query", |
325 "type": "string" | 330 "type": "string" |
326 }, | 331 }, |
| 332 "serviceFilter.resourceType": { |
| 333 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res
t/v1beta1/ServiceContext#FIELDS.resource_type).", |
| 334 "location": "query", |
| 335 "type": "string" |
| 336 }, |
327 "projectName": { | 337 "projectName": { |
328 "description": "[Required] The resource name
of the Google Cloud Platform project. Written\nas <code>projects/</code> plus t
he\n<a href=\"https://support.google.com/cloud/answer/6158840\">Google Cloud\nPl
atform project ID</a>.\n\nExample: <code>projects/my-project-123</code>.", | 338 "description": "[Required] The resource name
of the Google Cloud Platform project. Written\nas <code>projects/</code> plus t
he\n<a href=\"https://support.google.com/cloud/answer/6158840\">Google Cloud\nPl
atform project ID</a>.\n\nExample: <code>projects/my-project-123</code>.", |
329 "location": "path", | 339 "location": "path", |
330 "pattern": "^projects/[^/]+$", | 340 "pattern": "^projects/[^/]+$", |
331 "required": true, | 341 "required": true, |
332 "type": "string" | 342 "type": "string" |
333 }, | 343 }, |
334 "order": { | 344 "order": { |
335 "description": "[Optional] The sort order in
which the results are returned.\nDefault is `COUNT_DESC`.", | 345 "description": "[Optional] The sort order in
which the results are returned.\nDefault is `COUNT_DESC`.", |
336 "enum": [ | 346 "enum": [ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 }, | 399 }, |
390 "scopes": [ | 400 "scopes": [ |
391 "https://www.googleapis.com/auth/cloud-platform" | 401 "https://www.googleapis.com/auth/cloud-platform" |
392 ] | 402 ] |
393 } | 403 } |
394 } | 404 } |
395 } | 405 } |
396 } | 406 } |
397 } | 407 } |
398 }, | 408 }, |
399 "revision": "20161012", | 409 "revision": "20161114", |
400 "rootUrl": "https://clouderrorreporting.googleapis.com/", | 410 "rootUrl": "https://clouderrorreporting.googleapis.com/", |
401 "schemas": { | 411 "schemas": { |
402 "ReportedErrorEvent": { | 412 "ReportedErrorEvent": { |
403 "description": "An error event which is reported to the Error Report
ing system.", | 413 "description": "An error event which is reported to the Error Report
ing system.", |
404 "id": "ReportedErrorEvent", | 414 "id": "ReportedErrorEvent", |
405 "properties": { | 415 "properties": { |
406 "serviceContext": { | 416 "serviceContext": { |
407 "$ref": "ServiceContext", | 417 "$ref": "ServiceContext", |
408 "description": "[Required] The service context in which this
error has occurred." | 418 "description": "[Required] The service context in which this
error has occurred." |
409 }, | 419 }, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 "description": "The user who caused or was affected by the c
rash.\nThis can be a user ID, an email address, or an arbitrary token that\nuniq
uely identifies the user.\nWhen sending an error report, leave this field empty
if the user was not\nlogged in. In this case the\nError Reporting system will us
e other data, such as remote IP address, to\ndistinguish affected users. See `af
fected_users_count` in\n`ErrorGroupStats`.", | 523 "description": "The user who caused or was affected by the c
rash.\nThis can be a user ID, an email address, or an arbitrary token that\nuniq
uely identifies the user.\nWhen sending an error report, leave this field empty
if the user was not\nlogged in. In this case the\nError Reporting system will us
e other data, such as remote IP address, to\ndistinguish affected users. See `af
fected_users_count` in\n`ErrorGroupStats`.", |
514 "type": "string" | 524 "type": "string" |
515 } | 525 } |
516 }, | 526 }, |
517 "type": "object" | 527 "type": "object" |
518 }, | 528 }, |
519 "ServiceContext": { | 529 "ServiceContext": { |
520 "description": "Describes a running service that sends errors.\nIts
version changes over time and multiple versions can run in parallel.", | 530 "description": "Describes a running service that sends errors.\nIts
version changes over time and multiple versions can run in parallel.", |
521 "id": "ServiceContext", | 531 "id": "ServiceContext", |
522 "properties": { | 532 "properties": { |
| 533 "resourceType": { |
| 534 "description": "Type of the MonitoredResource. List of possi
ble values:\nhttps://cloud.google.com/monitoring/api/resources\n\nValue is set a
utomatically for incoming errors and must not be set when\nreporting errors.", |
| 535 "type": "string" |
| 536 }, |
523 "service": { | 537 "service": { |
524 "description": "An identifier of the service, such as the na
me of the\nexecutable, job, or Google App Engine service name. This field is exp
ected\nto have a low number of values that are relatively stable over time, as\n
opposed to `version`, which can be changed whenever new code is deployed.\n\nCon
tains the service name for error reports extracted from Google\nApp Engine logs
or `default` if the App Engine default service is used.", | 538 "description": "An identifier of the service, such as the na
me of the\nexecutable, job, or Google App Engine service name. This field is exp
ected\nto have a low number of values that are relatively stable over time, as\n
opposed to `version`, which can be changed whenever new code is deployed.\n\nCon
tains the service name for error reports extracted from Google\nApp Engine logs
or `default` if the App Engine default service is used.", |
525 "type": "string" | 539 "type": "string" |
526 }, | 540 }, |
527 "version": { | 541 "version": { |
528 "description": "Represents the source code version that the
developer provided,\nwhich could represent a version label or a Git SHA-1 hash,
for example.", | 542 "description": "Represents the source code version that the
developer provided,\nwhich could represent a version label or a Git SHA-1 hash,
for example.", |
529 "type": "string" | 543 "type": "string" |
530 } | 544 } |
531 }, | 545 }, |
532 "type": "object" | 546 "type": "object" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 "type": "array" | 712 "type": "array" |
699 } | 713 } |
700 }, | 714 }, |
701 "type": "object" | 715 "type": "object" |
702 } | 716 } |
703 }, | 717 }, |
704 "servicePath": "", | 718 "servicePath": "", |
705 "title": "Stackdriver Error Reporting API", | 719 "title": "Stackdriver Error Reporting API", |
706 "version": "v1beta1" | 720 "version": "v1beta1" |
707 } | 721 } |
OLD | NEW |