on develop help sign in
Updating clouderrorreporting service definition
e662394Brendan Hay
gen/model/clouderrorreporting/v1beta1/clouderrorreporting-api.json+33−9
@@ -42,10 +42,15 @@
42 "location": "query",
42 "location": "query",
43 "type": "string"
43 "type": "string"
44 },
44 },
45+ "serviceFilter.resourceType": {
46+ "description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
47+ "location": "query",
48+ "type": "string"
49+ },
45 "projectName": {
50 "projectName": {
46− "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).\nExample: `projects/my-project-123`.",
51+ "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
47 "required": true,
52 "required": true,
48− "pattern": "^projects/[^/]*$",
53+ "pattern": "^projects/[^/]+$",
49 "location": "path",
54 "location": "path",
50 "type": "string"
55 "type": "string"
51 },
56 },
@@ -99,7 +104,7 @@
99 "projectName": {
104 "projectName": {
100 "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).\nExample: `projects/my-project-123`.",
105 "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).\nExample: `projects/my-project-123`.",
101 "required": true,
106 "required": true,
102− "pattern": "^projects/[^/]*$",
107+ "pattern": "^projects/[^/]+$",
103 "location": "path",
108 "location": "path",
104 "type": "string"
109 "type": "string"
105 }
110 }
@@ -131,7 +136,7 @@
131 "name": {
136 "name": {
132 "description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e",
137 "description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e",
133 "required": true,
138 "required": true,
134− "pattern": "^projects/[^/]*/groups/[^/]*$",
139+ "pattern": "^projects/[^/]+/groups/[^/]+$",
135 "location": "path",
140 "location": "path",
136 "type": "string"
141 "type": "string"
137 }
142 }
@@ -156,7 +161,7 @@
156 "groupName": {
161 "groupName": {
157 "description": "[Required] The group resource name. Written as\n\u003ccode\u003eprojects/\u003cvar\u003eprojectID\u003c/var\u003e/groups/\u003cvar\u003egroup_name\u003c/var\u003e\u003c/code\u003e.\nCall\n\u003ca href=\"/error-reporting/reference/rest/v1beta1/projects.groupStats/list\"\u003e\n\u003ccode\u003egroupStats.list\u003c/code\u003e\u003c/a\u003e to return a list of groups belonging to\nthis project.\n\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-group\u003c/code\u003e",
162 "description": "[Required] The group resource name. Written as\n\u003ccode\u003eprojects/\u003cvar\u003eprojectID\u003c/var\u003e/groups/\u003cvar\u003egroup_name\u003c/var\u003e\u003c/code\u003e.\nCall\n\u003ca href=\"/error-reporting/reference/rest/v1beta1/projects.groupStats/list\"\u003e\n\u003ccode\u003egroupStats.list\u003c/code\u003e\u003c/a\u003e to return a list of groups belonging to\nthis project.\n\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-group\u003c/code\u003e",
158 "required": true,
163 "required": true,
159− "pattern": "^projects/[^/]*/groups/[^/]*$",
164+ "pattern": "^projects/[^/]+/groups/[^/]+$",
160 "location": "path",
165 "location": "path",
161 "type": "string"
166 "type": "string"
162 }
167 }
@@ -205,10 +210,15 @@
205 "location": "query",
210 "location": "query",
206 "type": "string"
211 "type": "string"
207 },
212 },
213+ "serviceFilter.resourceType": {
214+ "description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
215+ "location": "query",
216+ "type": "string"
217+ },
208 "projectName": {
218 "projectName": {
209 "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas \u003ccode\u003eprojects/\u003c/code\u003e plus the\n\u003ca href=\"https://support.google.com/cloud/answer/6158840\"\u003eGoogle Cloud\nPlatform project ID\u003c/a\u003e.\n\nExample: \u003ccode\u003eprojects/my-project-123\u003c/code\u003e.",
219 "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas \u003ccode\u003eprojects/\u003c/code\u003e plus the\n\u003ca href=\"https://support.google.com/cloud/answer/6158840\"\u003eGoogle Cloud\nPlatform project ID\u003c/a\u003e.\n\nExample: \u003ccode\u003eprojects/my-project-123\u003c/code\u003e.",
210 "required": true,
220 "required": true,
211− "pattern": "^projects/[^/]*$",
221+ "pattern": "^projects/[^/]+$",
212 "location": "path",
222 "location": "path",
213 "type": "string"
223 "type": "string"
214 },
224 },
@@ -286,9 +296,9 @@
286 "httpMethod": "DELETE",
296 "httpMethod": "DELETE",
287 "parameters": {
297 "parameters": {
288 "projectName": {
298 "projectName": {
289− "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).\nExample: `projects/my-project-123`.",
299+ "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
290 "required": true,
300 "required": true,
291− "pattern": "^projects/[^/]*$",
301+ "pattern": "^projects/[^/]+$",
292 "location": "path",
302 "location": "path",
293 "type": "string"
303 "type": "string"
294 }
304 }
@@ -423,6 +433,10 @@
423 "description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
433 "description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
424 "type": "object",
434 "type": "object",
425 "properties": {
435 "properties": {
436+ "resourceType": {
437+ "description": "Type of the MonitoredResource. List of possible values:\nhttps://cloud.google.com/monitoring/api/resources\n\nValue is set automatically for incoming errors and must not be set when\nreporting errors.",
438+ "type": "string"
439+ },
426 "service": {
440 "service": {
427 "description": "An identifier of the service, such as the name of the\nexecutable, job, or Google App Engine service name. This field is expected\nto have a low number of values that are relatively stable over time, as\nopposed to `version`, which can be changed whenever new code is deployed.\n\nContains the service name for error reports extracted from Google\nApp Engine logs or `default` if the App Engine default service is used.",
441 "description": "An identifier of the service, such as the name of the\nexecutable, job, or Google App Engine service name. This field is expected\nto have a low number of values that are relatively stable over time, as\nopposed to `version`, which can be changed whenever new code is deployed.\n\nContains the service name for error reports extracted from Google\nApp Engine logs or `default` if the App Engine default service is used.",
428 "type": "string"
442 "type": "string"
@@ -511,6 +525,11 @@
511 "description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
525 "description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
512 "type": "string"
526 "type": "string"
513 },
527 },
528+ "timeRangeBegin": {
529+ "description": "The timestamp specifies the start time to which the request was restricted.",
530+ "type": "string",
531+ "format": "google-datetime"
532+ },
514 "errorEvents": {
533 "errorEvents": {
515 "description": "The error events which match the given request.",
534 "description": "The error events which match the given request.",
516 "type": "array",
535 "type": "array",
@@ -583,6 +602,11 @@
583 "description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
602 "description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
584 "type": "string"
603 "type": "string"
585 },
604 },
605+ "timeRangeBegin": {
606+ "description": "The timestamp specifies the start time to which the request was restricted.\nThe start time is set based on the requested time range. It may be adjusted\nto a later time if a project has exceeded the storage quota and older data\nhas been deleted.",
607+ "type": "string",
608+ "format": "google-datetime"
609+ },
586 "errorGroupStats": {
610 "errorGroupStats": {
587 "description": "The error group stats which match the given request.",
611 "description": "The error group stats which match the given request.",
588 "type": "array",
612 "type": "array",
@@ -594,7 +618,7 @@
594 "id": "ListGroupStatsResponse"
618 "id": "ListGroupStatsResponse"
595 }
619 }
596 },
620 },
597− "revision": "20160930",
621+ "revision": "20161122",
598 "basePath": "",
622 "basePath": "",
599 "icons": {
623 "icons": {
600 "x32": "http://www.google.com/images/icons/product/search-32.gif",
624 "x32": "http://www.google.com/images/icons/product/search-32.gif",