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

Side by Side Diff: discovery/googleapis_beta/clouderrorreporting__v1beta1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 "description": "Deletes all error events of a given project. ", 120 "description": "Deletes all error events of a given project. ",
121 "httpMethod": "DELETE", 121 "httpMethod": "DELETE",
122 "id": "clouderrorreporting.projects.deleteEvents", 122 "id": "clouderrorreporting.projects.deleteEvents",
123 "parameterOrder": [ 123 "parameterOrder": [
124 "projectName" 124 "projectName"
125 ], 125 ],
126 "parameters": { 126 "parameters": {
127 "projectName": { 127 "projectName": {
128 "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud P latform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.", 128 "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud P latform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
129 "location": "path", 129 "location": "path",
130 "pattern": "^projects/[^/]*$", 130 "pattern": "^projects/[^/]+$",
131 "required": true, 131 "required": true,
132 "type": "string" 132 "type": "string"
133 } 133 }
134 }, 134 },
135 "path": "v1beta1/{+projectName}/events", 135 "path": "v1beta1/{+projectName}/events",
136 "response": { 136 "response": {
137 "$ref": "DeleteEventsResponse" 137 "$ref": "DeleteEventsResponse"
138 }, 138 },
139 "scopes": [ 139 "scopes": [
140 "https://www.googleapis.com/auth/cloud-platform" 140 "https://www.googleapis.com/auth/cloud-platform"
(...skipping 20 matching lines...) Expand all
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 "projectName": { 168 "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`.", 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`.",
170 "location": "path", 170 "location": "path",
171 "pattern": "^projects/[^/]*$", 171 "pattern": "^projects/[^/]+$",
172 "required": true, 172 "required": true,
173 "type": "string" 173 "type": "string"
174 }, 174 },
175 "serviceFilter.service": { 175 "serviceFilter.service": {
176 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).", 176 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).",
177 "location": "query", 177 "location": "query",
178 "type": "string" 178 "type": "string"
179 }, 179 },
180 "groupId": { 180 "groupId": {
181 "description": "[Required] The group for whi ch events shall be returned.", 181 "description": "[Required] The group for whi ch events shall be returned.",
(...skipping 29 matching lines...) Expand all
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>", 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", 212 "httpMethod": "POST",
213 "id": "clouderrorreporting.projects.events.report", 213 "id": "clouderrorreporting.projects.events.report",
214 "parameterOrder": [ 214 "parameterOrder": [
215 "projectName" 215 "projectName"
216 ], 216 ],
217 "parameters": { 217 "parameters": {
218 "projectName": { 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`.", 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", 220 "location": "path",
221 "pattern": "^projects/[^/]*$", 221 "pattern": "^projects/[^/]+$",
222 "required": true, 222 "required": true,
223 "type": "string" 223 "type": "string"
224 } 224 }
225 }, 225 },
226 "path": "v1beta1/{+projectName}/events:report", 226 "path": "v1beta1/{+projectName}/events:report",
227 "request": { 227 "request": {
228 "$ref": "ReportedErrorEvent" 228 "$ref": "ReportedErrorEvent"
229 }, 229 },
230 "response": { 230 "response": {
231 "$ref": "ReportErrorEventResponse" 231 "$ref": "ReportErrorEventResponse"
(...skipping 10 matching lines...) Expand all
242 "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.",
243 "httpMethod": "PUT", 243 "httpMethod": "PUT",
244 "id": "clouderrorreporting.projects.groups.update", 244 "id": "clouderrorreporting.projects.groups.update",
245 "parameterOrder": [ 245 "parameterOrder": [
246 "name" 246 "name"
247 ], 247 ],
248 "parameters": { 248 "parameters": {
249 "name": { 249 "name": {
250 "description": "The group resource name.\nEx ample: <code>projects/my-project-123/groups/my-groupid</code>", 250 "description": "The group resource name.\nEx ample: <code>projects/my-project-123/groups/my-groupid</code>",
251 "location": "path", 251 "location": "path",
252 "pattern": "^projects/[^/]*/groups/[^/]*$", 252 "pattern": "^projects/[^/]+/groups/[^/]+$",
253 "required": true, 253 "required": true,
254 "type": "string" 254 "type": "string"
255 } 255 }
256 }, 256 },
257 "path": "v1beta1/{+name}", 257 "path": "v1beta1/{+name}",
258 "request": { 258 "request": {
259 "$ref": "ErrorGroup" 259 "$ref": "ErrorGroup"
260 }, 260 },
261 "response": { 261 "response": {
262 "$ref": "ErrorGroup" 262 "$ref": "ErrorGroup"
263 }, 263 },
264 "scopes": [ 264 "scopes": [
265 "https://www.googleapis.com/auth/cloud-platform" 265 "https://www.googleapis.com/auth/cloud-platform"
266 ] 266 ]
267 }, 267 },
268 "get": { 268 "get": {
269 "description": "Get the specified group.", 269 "description": "Get the specified group.",
270 "httpMethod": "GET", 270 "httpMethod": "GET",
271 "id": "clouderrorreporting.projects.groups.get", 271 "id": "clouderrorreporting.projects.groups.get",
272 "parameterOrder": [ 272 "parameterOrder": [
273 "groupName" 273 "groupName"
274 ], 274 ],
275 "parameters": { 275 "parameters": {
276 "groupName": { 276 "groupName": {
277 "description": "[Required] The group resourc e name. Written as\n<code>projects/<var>projectID</var>/groups/<var>group_name</ var></code>.\nCall\n<a href=\"/error-reporting/reference/rest/v1beta1/projects.g roupStats/list\">\n<code>groupStats.list</code></a> to return a list of groups b elonging to\nthis project.\n\nExample: <code>projects/my-project-123/groups/my-g roup</code>", 277 "description": "[Required] The group resourc e name. Written as\n<code>projects/<var>projectID</var>/groups/<var>group_name</ var></code>.\nCall\n<a href=\"/error-reporting/reference/rest/v1beta1/projects.g roupStats/list\">\n<code>groupStats.list</code></a> to return a list of groups b elonging to\nthis project.\n\nExample: <code>projects/my-project-123/groups/my-g roup</code>",
278 "location": "path", 278 "location": "path",
279 "pattern": "^projects/[^/]*/groups/[^/]*$", 279 "pattern": "^projects/[^/]+/groups/[^/]+$",
280 "required": true, 280 "required": true,
281 "type": "string" 281 "type": "string"
282 } 282 }
283 }, 283 },
284 "path": "v1beta1/{+groupName}", 284 "path": "v1beta1/{+groupName}",
285 "response": { 285 "response": {
286 "$ref": "ErrorGroup" 286 "$ref": "ErrorGroup"
287 }, 287 },
288 "scopes": [ 288 "scopes": [
289 "https://www.googleapis.com/auth/cloud-platform" 289 "https://www.googleapis.com/auth/cloud-platform"
(...skipping 30 matching lines...) Expand all
320 "PERIOD_1_DAY", 320 "PERIOD_1_DAY",
321 "PERIOD_1_WEEK", 321 "PERIOD_1_WEEK",
322 "PERIOD_30_DAYS" 322 "PERIOD_30_DAYS"
323 ], 323 ],
324 "location": "query", 324 "location": "query",
325 "type": "string" 325 "type": "string"
326 }, 326 },
327 "projectName": { 327 "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>.", 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>.",
329 "location": "path", 329 "location": "path",
330 "pattern": "^projects/[^/]*$", 330 "pattern": "^projects/[^/]+$",
331 "required": true, 331 "required": true,
332 "type": "string" 332 "type": "string"
333 }, 333 },
334 "order": { 334 "order": {
335 "description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.", 335 "description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.",
336 "enum": [ 336 "enum": [
337 "GROUP_ORDER_UNSPECIFIED", 337 "GROUP_ORDER_UNSPECIFIED",
338 "COUNT_DESC", 338 "COUNT_DESC",
339 "LAST_SEEN_DESC", 339 "LAST_SEEN_DESC",
340 "CREATED_DESC", 340 "CREATED_DESC",
341 "AFFECTED_USERS_DESC" 341 "AFFECTED_USERS_DESC"
342 ], 342 ],
343 "location": "query", 343 "location": "query",
344 "type": "string" 344 "type": "string"
345 }, 345 },
346 "groupId": { 346 "groupId": {
347 "description": "[Optional] List all <code>Er rorGroupStats</code> with these IDs.\nIf not specified, all error group stats wi th a non-zero error count\nfor the given selection criteria are returned.", 347 "description": "[Optional] List all <code>Er rorGroupStats</code> with these IDs.",
348 "location": "query", 348 "location": "query",
349 "repeated": true, 349 "repeated": true,
350 "type": "string" 350 "type": "string"
351 }, 351 },
352 "serviceFilter.service": { 352 "serviceFilter.service": {
353 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).", 353 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).",
354 "location": "query", 354 "location": "query",
355 "type": "string" 355 "type": "string"
356 }, 356 },
357 "alignmentTime": { 357 "alignmentTime": {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 }, 389 },
390 "scopes": [ 390 "scopes": [
391 "https://www.googleapis.com/auth/cloud-platform" 391 "https://www.googleapis.com/auth/cloud-platform"
392 ] 392 ]
393 } 393 }
394 } 394 }
395 } 395 }
396 } 396 }
397 } 397 }
398 }, 398 },
399 "revision": "20160720", 399 "revision": "20161012",
400 "rootUrl": "https://clouderrorreporting.googleapis.com/", 400 "rootUrl": "https://clouderrorreporting.googleapis.com/",
401 "schemas": { 401 "schemas": {
402 "ReportedErrorEvent": { 402 "ReportedErrorEvent": {
403 "description": "An error event which is reported to the Error Report ing system.", 403 "description": "An error event which is reported to the Error Report ing system.",
404 "id": "ReportedErrorEvent", 404 "id": "ReportedErrorEvent",
405 "properties": { 405 "properties": {
406 "serviceContext": { 406 "serviceContext": {
407 "$ref": "ServiceContext", 407 "$ref": "ServiceContext",
408 "description": "[Required] The service context in which this error has occurred." 408 "description": "[Required] The service context in which this error has occurred."
409 }, 409 },
(...skipping 27 matching lines...) Expand all
437 }, 437 },
438 "lineNumber": { 438 "lineNumber": {
439 "description": "1-based. 0 indicates that the line number is unknown.", 439 "description": "1-based. 0 indicates that the line number is unknown.",
440 "format": "int32", 440 "format": "int32",
441 "type": "integer" 441 "type": "integer"
442 } 442 }
443 }, 443 },
444 "type": "object" 444 "type": "object"
445 }, 445 },
446 "ErrorGroupStats": { 446 "ErrorGroupStats": {
447 "description": "Data extracted for a specific group based on certain selection criteria,\nsuch as a given time period and/or service filter.", 447 "description": "Data extracted for a specific group based on certain filter criteria,\nsuch as a given time period and/or service filter.",
448 "id": "ErrorGroupStats", 448 "id": "ErrorGroupStats",
449 "properties": { 449 "properties": {
450 "representative": { 450 "representative": {
451 "$ref": "ErrorEvent", 451 "$ref": "ErrorEvent",
452 "description": "An arbitrary event that is chosen as represe ntative for the whole group.\nThe representative event is intended to be used as a quick preview for\nthe whole group. Events in the group are usually sufficien tly similar\nto each other such that showing an arbitrary representative provide s\ninsight into the characteristics of the group as a whole." 452 "description": "An arbitrary event that is chosen as represe ntative for the whole group.\nThe representative event is intended to be used as a quick preview for\nthe whole group. Events in the group are usually sufficien tly similar\nto each other such that showing an arbitrary representative provide s\ninsight into the characteristics of the group as a whole."
453 }, 453 },
454 "numAffectedServices": { 454 "numAffectedServices": {
455 "description": "The total number of services with a non-zero error count for the given\nselection criteria.", 455 "description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
456 "format": "int32", 456 "format": "int32",
457 "type": "integer" 457 "type": "integer"
458 }, 458 },
459 "affectedUsersCount": { 459 "affectedUsersCount": {
460 "description": "Approximate number of affected users in the given group that\nmatch the selection criteria.\nUsers are distinguished by data in the `ErrorContext` of the\nindividual error events, such as their login name or their remote\nIP address in case of HTTP requests.\nThe number of affected u sers can be zero even if the number of\nerrors is non-zero if no data was provid ed from which the\naffected user could be deduced.\nUsers are counted based on d ata in the request\ncontext that was provided in the error report. If more users are\nimplicitly affected, such as due to a crash of the whole service,\nthis is not reflected here.", 460 "description": "Approximate number of affected users in the given group that\nmatch the filter criteria.\nUsers are distinguished by data in the `ErrorContext` of the\nindividual error events, such as their login name or their remote\nIP address in case of HTTP requests.\nThe number of affected user s can be zero even if the number of\nerrors is non-zero if no data was provided from which the\naffected user could be deduced.\nUsers are counted based on data in the request\ncontext that was provided in the error report. If more users ar e\nimplicitly affected, such as due to a crash of the whole service,\nthis is no t reflected here.",
461 "format": "int64", 461 "format": "int64",
462 "type": "string" 462 "type": "string"
463 }, 463 },
464 "count": { 464 "count": {
465 "description": "Approximate total number of events in the gi ven group that match\nthe selection criteria.", 465 "description": "Approximate total number of events in the gi ven group that match\nthe filter criteria.",
466 "format": "int64", 466 "format": "int64",
467 "type": "string" 467 "type": "string"
468 }, 468 },
469 "firstSeenTime": { 469 "firstSeenTime": {
470 "description": "Approximate first occurrence that was seen f or this group and\nwhich matches the given selection criteria.", 470 "description": "Approximate first occurrence that was ever s een for this group\nand which matches the given filter criteria, ignoring the\nt ime_range that was specified in the request.",
471 "format": "google-datetime", 471 "format": "google-datetime",
472 "type": "string" 472 "type": "string"
473 }, 473 },
474 "lastSeenTime": { 474 "lastSeenTime": {
475 "description": "Approximate last occurrence that was seen fo r this group\nand which matches the given selection criteria.", 475 "description": "Approximate last occurrence that was ever se en for this group and\nwhich matches the given filter criteria, ignoring the tim e_range\nthat was specified in the request.",
476 "format": "google-datetime", 476 "format": "google-datetime",
477 "type": "string" 477 "type": "string"
478 }, 478 },
479 "group": { 479 "group": {
480 "$ref": "ErrorGroup", 480 "$ref": "ErrorGroup",
481 "description": "Group data that is independent of the select ion criteria." 481 "description": "Group data that is independent of the filter criteria."
482 }, 482 },
483 "affectedServices": { 483 "affectedServices": {
484 "description": "Service contexts with a non-zero error count for the given selection\ncriteria. This list can be truncated if multiple servi ces are affected.\nRefer to `num_affected_services` for the total count.", 484 "description": "Service contexts with a non-zero error count for the given filter\ncriteria. This list can be truncated if multiple services are affected.\nRefer to `num_affected_services` for the total count.",
485 "items": { 485 "items": {
486 "$ref": "ServiceContext" 486 "$ref": "ServiceContext"
487 }, 487 },
488 "type": "array" 488 "type": "array"
489 }, 489 },
490 "timedCounts": { 490 "timedCounts": {
491 "description": "Approximate number of occurrences over time. \nTimed counts returned by ListGroups are guaranteed to be:\n\n- Inside the requ ested time interval\n- Non-overlapping, and\n- Ordered by ascending time.", 491 "description": "Approximate number of occurrences over time. \nTimed counts returned by ListGroups are guaranteed to be:\n\n- Inside the requ ested time interval\n- Non-overlapping, and\n- Ordered by ascending time.",
492 "items": { 492 "items": {
493 "$ref": "TimedCount" 493 "$ref": "TimedCount"
494 }, 494 },
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 "type": "object" 601 "type": "object"
602 }, 602 },
603 "ListEventsResponse": { 603 "ListEventsResponse": {
604 "description": "Contains a set of requested error events.", 604 "description": "Contains a set of requested error events.",
605 "id": "ListEventsResponse", 605 "id": "ListEventsResponse",
606 "properties": { 606 "properties": {
607 "nextPageToken": { 607 "nextPageToken": {
608 "description": "If non-empty, more results are available.\nP ass this token, along with the same query parameters as the first\nrequest, to v iew the next page of results.", 608 "description": "If non-empty, more results are available.\nP ass this token, along with the same query parameters as the first\nrequest, to v iew the next page of results.",
609 "type": "string" 609 "type": "string"
610 }, 610 },
611 "timeRangeBegin": {
612 "description": "The timestamp specifies the start time to wh ich the request was restricted.",
613 "format": "google-datetime",
614 "type": "string"
615 },
611 "errorEvents": { 616 "errorEvents": {
612 "description": "The error events which match the given reque st.", 617 "description": "The error events which match the given reque st.",
613 "items": { 618 "items": {
614 "$ref": "ErrorEvent" 619 "$ref": "ErrorEvent"
615 }, 620 },
616 "type": "array" 621 "type": "array"
617 } 622 }
618 }, 623 },
619 "type": "object" 624 "type": "object"
620 }, 625 },
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 "type": "object" 678 "type": "object"
674 }, 679 },
675 "ListGroupStatsResponse": { 680 "ListGroupStatsResponse": {
676 "description": "Contains a set of requested error group stats.", 681 "description": "Contains a set of requested error group stats.",
677 "id": "ListGroupStatsResponse", 682 "id": "ListGroupStatsResponse",
678 "properties": { 683 "properties": {
679 "nextPageToken": { 684 "nextPageToken": {
680 "description": "If non-empty, more results are available.\nP ass this token, along with the same query parameters as the first\nrequest, to v iew the next page of results.", 685 "description": "If non-empty, more results are available.\nP ass this token, along with the same query parameters as the first\nrequest, to v iew the next page of results.",
681 "type": "string" 686 "type": "string"
682 }, 687 },
688 "timeRangeBegin": {
689 "description": "The timestamp specifies the start time to wh ich the request was restricted.\nThe start time is set based on the requested ti me range. It may be adjusted\nto a later time if a project has exceeded the stor age quota and older data\nhas been deleted.",
690 "format": "google-datetime",
691 "type": "string"
692 },
683 "errorGroupStats": { 693 "errorGroupStats": {
684 "description": "The error group stats which match the given request.", 694 "description": "The error group stats which match the given request.",
685 "items": { 695 "items": {
686 "$ref": "ErrorGroupStats" 696 "$ref": "ErrorGroupStats"
687 }, 697 },
688 "type": "array" 698 "type": "array"
689 } 699 }
690 }, 700 },
691 "type": "object" 701 "type": "object"
692 } 702 }
693 }, 703 },
694 "servicePath": "", 704 "servicePath": "",
695 "title": "Stackdriver Error Reporting API", 705 "title": "Stackdriver Error Reporting API",
696 "version": "v1beta1" 706 "version": "v1beta1"
697 } 707 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/appengine__v1beta5.json ('k') | discovery/googleapis_beta/cloudmonitoring__v2beta2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698