| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 "type": "string" | 199 "type": "string" |
| 200 } | 200 } |
| 201 }, | 201 }, |
| 202 "path": "v1beta1/{+projectName}/events", | 202 "path": "v1beta1/{+projectName}/events", |
| 203 "response": { | 203 "response": { |
| 204 "$ref": "ListEventsResponse" | 204 "$ref": "ListEventsResponse" |
| 205 }, | 205 }, |
| 206 "scopes": [ | 206 "scopes": [ |
| 207 "https://www.googleapis.com/auth/cloud-platform" | 207 "https://www.googleapis.com/auth/cloud-platform" |
| 208 ] | 208 ] |
| 209 }, |
| 210 "report": { |
| 211 "description": "Report an individual error event.\n\
nThis endpoint accepts <strong>either</strong> an OAuth token,\n<strong>or</stro
ng> an\n<a href=\"https://support.google.com/cloud/answer/6158862\">API key</a>\
nfor authentication. To use an API key, append it to the URL as the value of\na
`key` parameter. For example:\n<pre>POST https://clouderrorreporting.googleapis.
com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>", |
| 212 "httpMethod": "POST", |
| 213 "id": "clouderrorreporting.projects.events.report", |
| 214 "parameterOrder": [ |
| 215 "projectName" |
| 216 ], |
| 217 "parameters": { |
| 218 "projectName": { |
| 219 "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`.", |
| 220 "location": "path", |
| 221 "pattern": "^projects/[^/]*$", |
| 222 "required": true, |
| 223 "type": "string" |
| 224 } |
| 225 }, |
| 226 "path": "v1beta1/{+projectName}/events:report", |
| 227 "request": { |
| 228 "$ref": "ReportedErrorEvent" |
| 229 }, |
| 230 "response": { |
| 231 "$ref": "ReportErrorEventResponse" |
| 232 }, |
| 233 "scopes": [ |
| 234 "https://www.googleapis.com/auth/cloud-platform" |
| 235 ] |
| 209 } | 236 } |
| 210 } | 237 } |
| 211 }, | 238 }, |
| 212 "groups": { | 239 "groups": { |
| 213 "methods": { | 240 "methods": { |
| 214 "update": { | 241 "update": { |
| 215 "description": "Replace the data for the specified g
roup.\nFails if the group does not exist.", | 242 "description": "Replace the data for the specified g
roup.\nFails if the group does not exist.", |
| 216 "httpMethod": "PUT", | 243 "httpMethod": "PUT", |
| 217 "id": "clouderrorreporting.projects.groups.update", | 244 "id": "clouderrorreporting.projects.groups.update", |
| 218 "parameterOrder": [ | 245 "parameterOrder": [ |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 }, | 389 }, |
| 363 "scopes": [ | 390 "scopes": [ |
| 364 "https://www.googleapis.com/auth/cloud-platform" | 391 "https://www.googleapis.com/auth/cloud-platform" |
| 365 ] | 392 ] |
| 366 } | 393 } |
| 367 } | 394 } |
| 368 } | 395 } |
| 369 } | 396 } |
| 370 } | 397 } |
| 371 }, | 398 }, |
| 372 "revision": "20160608", | 399 "revision": "20160712", |
| 373 "rootUrl": "https://clouderrorreporting.googleapis.com/", | 400 "rootUrl": "https://clouderrorreporting.googleapis.com/", |
| 374 "schemas": { | 401 "schemas": { |
| 402 "ReportedErrorEvent": { |
| 403 "description": "An error event which is reported to the Error Report
ing system.", |
| 404 "id": "ReportedErrorEvent", |
| 405 "properties": { |
| 406 "serviceContext": { |
| 407 "$ref": "ServiceContext", |
| 408 "description": "[Required] The service context in which this
error has occurred." |
| 409 }, |
| 410 "context": { |
| 411 "$ref": "ErrorContext", |
| 412 "description": "[Optional] A description of the context in w
hich the error occurred." |
| 413 }, |
| 414 "eventTime": { |
| 415 "description": "[Optional] Time when the event occurred.\nIf
not provided, the time when the event was received by the\nError Reporting syst
em will be used.", |
| 416 "format": "google-datetime", |
| 417 "type": "string" |
| 418 }, |
| 419 "message": { |
| 420 "description": "[Required] A message describing the error. T
he message can contain an\nexception stack in one of the supported programming l
anguages and formats.\nIn that case, the message is parsed and detailed exceptio
n information\nis returned when retrieving the error event again.", |
| 421 "type": "string" |
| 422 } |
| 423 }, |
| 424 "type": "object" |
| 425 }, |
| 375 "SourceLocation": { | 426 "SourceLocation": { |
| 376 "description": "Indicates a location in the source code of the servi
ce for which\nerrors are reported.\nThis data should be provided by the applicat
ion when reporting an error,\nunless the error report has been generated automat
ically from Google App\nEngine logs. All fields are optional.", | 427 "description": "Indicates a location in the source code of the servi
ce for which\nerrors are reported.\nThis data should be provided by the applicat
ion when reporting an error,\nunless the error report has been generated automat
ically from Google App\nEngine logs. All fields are optional.", |
| 377 "id": "SourceLocation", | 428 "id": "SourceLocation", |
| 378 "properties": { | 429 "properties": { |
| 379 "filePath": { | 430 "filePath": { |
| 380 "description": "The source code filename, which can include
a truncated relative\npath, or a full path from a production machine.", | 431 "description": "The source code filename, which can include
a truncated relative\npath, or a full path from a production machine.", |
| 381 "type": "string" | 432 "type": "string" |
| 382 }, | 433 }, |
| 383 "functionName": { | 434 "functionName": { |
| 384 "description": "Human-readable name of a function or method.
\nThe value can include optional context like the class or package name.\nFor ex
ample, `my.package.MyClass.method` in case of Java.", | 435 "description": "Human-readable name of a function or method.
\nThe value can include optional context like the class or package name.\nFor ex
ample, `my.package.MyClass.method` in case of Java.", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 "trackingIssues": { | 546 "trackingIssues": { |
| 496 "description": "Associated tracking issues.", | 547 "description": "Associated tracking issues.", |
| 497 "items": { | 548 "items": { |
| 498 "$ref": "TrackingIssue" | 549 "$ref": "TrackingIssue" |
| 499 }, | 550 }, |
| 500 "type": "array" | 551 "type": "array" |
| 501 } | 552 } |
| 502 }, | 553 }, |
| 503 "type": "object" | 554 "type": "object" |
| 504 }, | 555 }, |
| 556 "ReportErrorEventResponse": { |
| 557 "description": "Response for reporting an individual error event.\nD
ata may be added to this message in the future.", |
| 558 "id": "ReportErrorEventResponse", |
| 559 "properties": {}, |
| 560 "type": "object" |
| 561 }, |
| 505 "TrackingIssue": { | 562 "TrackingIssue": { |
| 506 "description": "Information related to tracking the progress on reso
lving the error.", | 563 "description": "Information related to tracking the progress on reso
lving the error.", |
| 507 "id": "TrackingIssue", | 564 "id": "TrackingIssue", |
| 508 "properties": { | 565 "properties": { |
| 509 "url": { | 566 "url": { |
| 510 "description": "A URL pointing to a related entry in an issu
e tracking system.\nExample: https://github.com/user/project/issues/4", | 567 "description": "A URL pointing to a related entry in an issu
e tracking system.\nExample: https://github.com/user/project/issues/4", |
| 511 "type": "string" | 568 "type": "string" |
| 512 } | 569 } |
| 513 }, | 570 }, |
| 514 "type": "object" | 571 "type": "object" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 "type": "array" | 688 "type": "array" |
| 632 } | 689 } |
| 633 }, | 690 }, |
| 634 "type": "object" | 691 "type": "object" |
| 635 } | 692 } |
| 636 }, | 693 }, |
| 637 "servicePath": "", | 694 "servicePath": "", |
| 638 "title": "Stackdriver Error Reporting API", | 695 "title": "Stackdriver Error Reporting API", |
| 639 "version": "v1beta1" | 696 "version": "v1beta1" |
| 640 } | 697 } |
| OLD | NEW |