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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 months 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 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://clouderrorreporting.googleapis.com/", 12 "baseUrl": "https://clouderrorreporting.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Clouderrorreporting", 14 "canonicalName": "Clouderrorreporting",
15 "description": "Groups and counts similar errors from cloud services and app lications, reports new errors, and provides access to error groups and their ass ociated errors.\n", 15 "description": "Groups and counts similar errors from cloud services and app lications, reports new errors, and provides access to error groups and their ass ociated errors.\n",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/error-reporting/", 17 "documentationLink": "https://cloud.google.com/error-reporting/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "clouderrorreporting:v1beta1", 22 "id": "clouderrorreporting:v1beta1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "clouderrorreporting", 24 "name": "clouderrorreporting",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "callback": {
29 "description": "JSONP",
30 "location": "query",
31 "type": "string"
32 },
33 "$.xgafv": { 28 "$.xgafv": {
34 "description": "V1 error format.", 29 "description": "V1 error format.",
35 "enum": [ 30 "enum": [
36 "1", 31 "1",
37 "2" 32 "2"
38 ], 33 ],
39 "enumDescriptions": [ 34 "enumDescriptions": [
40 "v1 error format", 35 "v1 error format",
41 "v2 error format" 36 "v2 error format"
42 ], 37 ],
43 "location": "query", 38 "location": "query",
44 "type": "string" 39 "type": "string"
45 }, 40 },
41 "callback": {
42 "description": "JSONP",
43 "location": "query",
44 "type": "string"
45 },
46 "alt": { 46 "alt": {
47 "default": "json", 47 "default": "json",
48 "description": "Data format for response.", 48 "description": "Data format for response.",
49 "enum": [ 49 "enum": [
50 "json", 50 "json",
51 "media", 51 "media",
52 "proto" 52 "proto"
53 ], 53 ],
54 "enumDescriptions": [ 54 "enumDescriptions": [
55 "Responses with Content-Type of application/json", 55 "Responses with Content-Type of application/json",
(...skipping 17 matching lines...) Expand all
73 "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.", 73 "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.",
74 "location": "query", 74 "location": "query",
75 "type": "string" 75 "type": "string"
76 }, 76 },
77 "pp": { 77 "pp": {
78 "default": "true", 78 "default": "true",
79 "description": "Pretty-print response.", 79 "description": "Pretty-print response.",
80 "location": "query", 80 "location": "query",
81 "type": "boolean" 81 "type": "boolean"
82 }, 82 },
83 "bearer_token": {
84 "description": "OAuth bearer token.",
85 "location": "query",
86 "type": "string"
87 },
83 "oauth_token": { 88 "oauth_token": {
84 "description": "OAuth 2.0 token for the current user.", 89 "description": "OAuth 2.0 token for the current user.",
85 "location": "query", 90 "location": "query",
86 "type": "string" 91 "type": "string"
87 }, 92 },
88 "bearer_token": {
89 "description": "OAuth bearer token.",
90 "location": "query",
91 "type": "string"
92 },
93 "upload_protocol": { 93 "upload_protocol": {
94 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 94 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
95 "location": "query", 95 "location": "query",
96 "type": "string" 96 "type": "string"
97 }, 97 },
98 "prettyPrint": { 98 "prettyPrint": {
99 "default": "true", 99 "default": "true",
100 "description": "Returns response with indentations and line breaks." , 100 "description": "Returns response with indentations and line breaks." ,
101 "location": "query", 101 "location": "query",
102 "type": "boolean" 102 "type": "boolean"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"
141 ] 141 ]
142 } 142 }
143 }, 143 },
144 "resources": { 144 "resources": {
145 "events": {
146 "methods": {
147 "list": {
148 "description": "Lists the specified events.",
149 "httpMethod": "GET",
150 "id": "clouderrorreporting.projects.events.list",
151 "parameterOrder": [
152 "projectName"
153 ],
154 "parameters": {
155 "groupId": {
156 "description": "[Required] The group for whi ch events shall be returned.",
157 "location": "query",
158 "type": "string"
159 },
160 "pageToken": {
161 "description": "[Optional] A `next_page_toke n` provided by a previous response.",
162 "location": "query",
163 "type": "string"
164 },
165 "serviceFilter.service": {
166 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).",
167 "location": "query",
168 "type": "string"
169 },
170 "pageSize": {
171 "description": "[Optional] The maximum numbe r of results to return per response.",
172 "format": "int32",
173 "location": "query",
174 "type": "integer"
175 },
176 "serviceFilter.version": {
177 "description": "[Optional] The exact value t o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.version).",
178 "location": "query",
179 "type": "string"
180 },
181 "serviceFilter.resourceType": {
182 "description": "[Optional] The exact value t o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res t/v1beta1/ServiceContext#FIELDS.resource_type).",
183 "location": "query",
184 "type": "string"
185 },
186 "timeRange.period": {
187 "description": "Restricts the query to the s pecified time range.",
188 "enum": [
189 "PERIOD_UNSPECIFIED",
190 "PERIOD_1_HOUR",
191 "PERIOD_6_HOURS",
192 "PERIOD_1_DAY",
193 "PERIOD_1_WEEK",
194 "PERIOD_30_DAYS"
195 ],
196 "location": "query",
197 "type": "string"
198 },
199 "projectName": {
200 "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).\n Example: `projects/my-project-123`.",
201 "location": "path",
202 "pattern": "^projects/[^/]+$",
203 "required": true,
204 "type": "string"
205 }
206 },
207 "path": "v1beta1/{+projectName}/events",
208 "response": {
209 "$ref": "ListEventsResponse"
210 },
211 "scopes": [
212 "https://www.googleapis.com/auth/cloud-platform"
213 ]
214 },
215 "report": {
216 "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>",
217 "httpMethod": "POST",
218 "id": "clouderrorreporting.projects.events.report",
219 "parameterOrder": [
220 "projectName"
221 ],
222 "parameters": {
223 "projectName": {
224 "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`.",
225 "location": "path",
226 "pattern": "^projects/[^/]+$",
227 "required": true,
228 "type": "string"
229 }
230 },
231 "path": "v1beta1/{+projectName}/events:report",
232 "request": {
233 "$ref": "ReportedErrorEvent"
234 },
235 "response": {
236 "$ref": "ReportErrorEventResponse"
237 },
238 "scopes": [
239 "https://www.googleapis.com/auth/cloud-platform"
240 ]
241 }
242 }
243 },
244 "groupStats": { 145 "groupStats": {
245 "methods": { 146 "methods": {
246 "list": { 147 "list": {
247 "description": "Lists the specified groups.", 148 "description": "Lists the specified groups.",
248 "httpMethod": "GET", 149 "httpMethod": "GET",
249 "id": "clouderrorreporting.projects.groupStats.list" , 150 "id": "clouderrorreporting.projects.groupStats.list" ,
250 "parameterOrder": [ 151 "parameterOrder": [
251 "projectName" 152 "projectName"
252 ], 153 ],
253 "parameters": { 154 "parameters": {
155 "projectName": {
156 "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>.",
157 "location": "path",
158 "pattern": "^projects/[^/]+$",
159 "required": true,
160 "type": "string"
161 },
162 "timedCountDuration": {
163 "description": "[Optional] The preferred dur ation for a single returned `TimedCount`.\nIf not set, no timed counts are retur ned.",
164 "format": "google-duration",
165 "location": "query",
166 "type": "string"
167 },
168 "pageToken": {
169 "description": "[Optional] A `next_page_toke n` provided by a previous response. To view\nadditional results, pass this token along with the identical query\nparameters as the first request.",
170 "location": "query",
171 "type": "string"
172 },
254 "timeRange.period": { 173 "timeRange.period": {
255 "description": "Restricts the query to the s pecified time range.", 174 "description": "Restricts the query to the s pecified time range.",
256 "enum": [ 175 "enum": [
257 "PERIOD_UNSPECIFIED", 176 "PERIOD_UNSPECIFIED",
258 "PERIOD_1_HOUR", 177 "PERIOD_1_HOUR",
259 "PERIOD_6_HOURS", 178 "PERIOD_6_HOURS",
260 "PERIOD_1_DAY", 179 "PERIOD_1_DAY",
261 "PERIOD_1_WEEK", 180 "PERIOD_1_WEEK",
262 "PERIOD_30_DAYS" 181 "PERIOD_30_DAYS"
263 ], 182 ],
(...skipping 20 matching lines...) Expand all
284 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).", 203 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).",
285 "location": "query", 204 "location": "query",
286 "type": "string" 205 "type": "string"
287 }, 206 },
288 "pageSize": { 207 "pageSize": {
289 "description": "[Optional] The maximum numbe r of results to return per response.\nDefault is 20.", 208 "description": "[Optional] The maximum numbe r of results to return per response.\nDefault is 20.",
290 "format": "int32", 209 "format": "int32",
291 "location": "query", 210 "location": "query",
292 "type": "integer" 211 "type": "integer"
293 }, 212 },
213 "serviceFilter.version": {
214 "description": "[Optional] The exact value t o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.version).",
215 "location": "query",
216 "type": "string"
217 },
294 "order": { 218 "order": {
295 "description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.", 219 "description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.",
296 "enum": [ 220 "enum": [
297 "GROUP_ORDER_UNSPECIFIED", 221 "GROUP_ORDER_UNSPECIFIED",
298 "COUNT_DESC", 222 "COUNT_DESC",
299 "LAST_SEEN_DESC", 223 "LAST_SEEN_DESC",
300 "CREATED_DESC", 224 "CREATED_DESC",
301 "AFFECTED_USERS_DESC" 225 "AFFECTED_USERS_DESC"
302 ], 226 ],
303 "location": "query", 227 "location": "query",
304 "type": "string" 228 "type": "string"
305 }, 229 },
306 "serviceFilter.version": {
307 "description": "[Optional] The exact value t o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.version).",
308 "location": "query",
309 "type": "string"
310 },
311 "serviceFilter.resourceType": { 230 "serviceFilter.resourceType": {
312 "description": "[Optional] The exact value t o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res t/v1beta1/ServiceContext#FIELDS.resource_type).", 231 "description": "[Optional] The exact value t o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res t/v1beta1/ServiceContext#FIELDS.resource_type).",
313 "location": "query", 232 "location": "query",
314 "type": "string" 233 "type": "string"
315 }, 234 },
316 "alignmentTime": { 235 "alignmentTime": {
317 "description": "[Optional] Time where the ti med counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UT C.", 236 "description": "[Optional] Time where the ti med counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UT C.",
318 "format": "google-datetime", 237 "format": "google-datetime",
319 "location": "query", 238 "location": "query",
320 "type": "string" 239 "type": "string"
321 },
322 "projectName": {
323 "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>.",
324 "location": "path",
325 "pattern": "^projects/[^/]+$",
326 "required": true,
327 "type": "string"
328 },
329 "timedCountDuration": {
330 "description": "[Optional] The preferred dur ation for a single returned `TimedCount`.\nIf not set, no timed counts are retur ned.",
331 "format": "google-duration",
332 "location": "query",
333 "type": "string"
334 },
335 "pageToken": {
336 "description": "[Optional] A `next_page_toke n` provided by a previous response. To view\nadditional results, pass this token along with the identical query\nparameters as the first request.",
337 "location": "query",
338 "type": "string"
339 } 240 }
340 }, 241 },
341 "path": "v1beta1/{+projectName}/groupStats", 242 "path": "v1beta1/{+projectName}/groupStats",
342 "response": { 243 "response": {
343 "$ref": "ListGroupStatsResponse" 244 "$ref": "ListGroupStatsResponse"
344 }, 245 },
345 "scopes": [ 246 "scopes": [
346 "https://www.googleapis.com/auth/cloud-platform" 247 "https://www.googleapis.com/auth/cloud-platform"
347 ] 248 ]
348 } 249 }
349 } 250 }
350 }, 251 },
351 "groups": { 252 "groups": {
352 "methods": { 253 "methods": {
254 "get": {
255 "description": "Get the specified group.",
256 "httpMethod": "GET",
257 "id": "clouderrorreporting.projects.groups.get",
258 "parameterOrder": [
259 "groupName"
260 ],
261 "parameters": {
262 "groupName": {
263 "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>",
264 "location": "path",
265 "pattern": "^projects/[^/]+/groups/[^/]+$",
266 "required": true,
267 "type": "string"
268 }
269 },
270 "path": "v1beta1/{+groupName}",
271 "response": {
272 "$ref": "ErrorGroup"
273 },
274 "scopes": [
275 "https://www.googleapis.com/auth/cloud-platform"
276 ]
277 },
353 "update": { 278 "update": {
354 "description": "Replace the data for the specified g roup.\nFails if the group does not exist.", 279 "description": "Replace the data for the specified g roup.\nFails if the group does not exist.",
355 "httpMethod": "PUT", 280 "httpMethod": "PUT",
356 "id": "clouderrorreporting.projects.groups.update", 281 "id": "clouderrorreporting.projects.groups.update",
357 "parameterOrder": [ 282 "parameterOrder": [
358 "name" 283 "name"
359 ], 284 ],
360 "parameters": { 285 "parameters": {
361 "name": { 286 "name": {
362 "description": "The group resource name.\nEx ample: <code>projects/my-project-123/groups/my-groupid</code>", 287 "description": "The group resource name.\nEx ample: <code>projects/my-project-123/groups/my-groupid</code>",
363 "location": "path", 288 "location": "path",
364 "pattern": "^projects/[^/]+/groups/[^/]+$", 289 "pattern": "^projects/[^/]+/groups/[^/]+$",
365 "required": true, 290 "required": true,
366 "type": "string" 291 "type": "string"
367 } 292 }
368 }, 293 },
369 "path": "v1beta1/{+name}", 294 "path": "v1beta1/{+name}",
370 "request": { 295 "request": {
371 "$ref": "ErrorGroup" 296 "$ref": "ErrorGroup"
372 }, 297 },
373 "response": { 298 "response": {
374 "$ref": "ErrorGroup" 299 "$ref": "ErrorGroup"
375 }, 300 },
376 "scopes": [ 301 "scopes": [
377 "https://www.googleapis.com/auth/cloud-platform" 302 "https://www.googleapis.com/auth/cloud-platform"
378 ] 303 ]
304 }
305 }
306 },
307 "events": {
308 "methods": {
309 "list": {
310 "description": "Lists the specified events.",
311 "httpMethod": "GET",
312 "id": "clouderrorreporting.projects.events.list",
313 "parameterOrder": [
314 "projectName"
315 ],
316 "parameters": {
317 "serviceFilter.resourceType": {
318 "description": "[Optional] The exact value t o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res t/v1beta1/ServiceContext#FIELDS.resource_type).",
319 "location": "query",
320 "type": "string"
321 },
322 "timeRange.period": {
323 "description": "Restricts the query to the s pecified time range.",
324 "enum": [
325 "PERIOD_UNSPECIFIED",
326 "PERIOD_1_HOUR",
327 "PERIOD_6_HOURS",
328 "PERIOD_1_DAY",
329 "PERIOD_1_WEEK",
330 "PERIOD_30_DAYS"
331 ],
332 "location": "query",
333 "type": "string"
334 },
335 "projectName": {
336 "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).\n Example: `projects/my-project-123`.",
337 "location": "path",
338 "pattern": "^projects/[^/]+$",
339 "required": true,
340 "type": "string"
341 },
342 "groupId": {
343 "description": "[Required] The group for whi ch events shall be returned.",
344 "location": "query",
345 "type": "string"
346 },
347 "serviceFilter.service": {
348 "description": "[Optional] The exact value t o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.service).",
349 "location": "query",
350 "type": "string"
351 },
352 "pageToken": {
353 "description": "[Optional] A `next_page_toke n` provided by a previous response.",
354 "location": "query",
355 "type": "string"
356 },
357 "pageSize": {
358 "description": "[Optional] The maximum numbe r of results to return per response.",
359 "format": "int32",
360 "location": "query",
361 "type": "integer"
362 },
363 "serviceFilter.version": {
364 "description": "[Optional] The exact value t o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be ta1/ServiceContext#FIELDS.version).",
365 "location": "query",
366 "type": "string"
367 }
368 },
369 "path": "v1beta1/{+projectName}/events",
370 "response": {
371 "$ref": "ListEventsResponse"
372 },
373 "scopes": [
374 "https://www.googleapis.com/auth/cloud-platform"
375 ]
379 }, 376 },
380 "get": { 377 "report": {
381 "description": "Get the specified group.", 378 "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>",
382 "httpMethod": "GET", 379 "httpMethod": "POST",
383 "id": "clouderrorreporting.projects.groups.get", 380 "id": "clouderrorreporting.projects.events.report",
384 "parameterOrder": [ 381 "parameterOrder": [
385 "groupName" 382 "projectName"
386 ], 383 ],
387 "parameters": { 384 "parameters": {
388 "groupName": { 385 "projectName": {
389 "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>", 386 "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`.",
390 "location": "path", 387 "location": "path",
391 "pattern": "^projects/[^/]+/groups/[^/]+$", 388 "pattern": "^projects/[^/]+$",
392 "required": true, 389 "required": true,
393 "type": "string" 390 "type": "string"
394 } 391 }
395 }, 392 },
396 "path": "v1beta1/{+groupName}", 393 "path": "v1beta1/{+projectName}/events:report",
394 "request": {
395 "$ref": "ReportedErrorEvent"
396 },
397 "response": { 397 "response": {
398 "$ref": "ErrorGroup" 398 "$ref": "ReportErrorEventResponse"
399 }, 399 },
400 "scopes": [ 400 "scopes": [
401 "https://www.googleapis.com/auth/cloud-platform" 401 "https://www.googleapis.com/auth/cloud-platform"
402 ] 402 ]
403 } 403 }
404 } 404 }
405 } 405 }
406 } 406 }
407 } 407 }
408 }, 408 },
409 "revision": "20170811", 409 "revision": "20170825",
410 "rootUrl": "https://clouderrorreporting.googleapis.com/", 410 "rootUrl": "https://clouderrorreporting.googleapis.com/",
411 "schemas": { 411 "schemas": {
412 "ErrorEvent": { 412 "ErrorEvent": {
413 "description": "An error event which is returned by the Error Report ing system.", 413 "description": "An error event which is returned by the Error Report ing system.",
414 "id": "ErrorEvent", 414 "id": "ErrorEvent",
415 "properties": { 415 "properties": {
416 "message": {
417 "description": "The stack trace that was reported or logged by the service.",
418 "type": "string"
419 },
420 "serviceContext": {
421 "$ref": "ServiceContext",
422 "description": "The `ServiceContext` for which this error wa s reported."
423 },
416 "eventTime": { 424 "eventTime": {
417 "description": "Time when the event occurred as provided in the error report.\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.", 425 "description": "Time when the event occurred as provided in the error report.\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.",
418 "format": "google-datetime", 426 "format": "google-datetime",
419 "type": "string" 427 "type": "string"
420 }, 428 },
421 "context": { 429 "context": {
422 "$ref": "ErrorContext", 430 "$ref": "ErrorContext",
423 "description": "Data about the context in which the error oc curred." 431 "description": "Data about the context in which the error oc curred."
424 },
425 "message": {
426 "description": "The stack trace that was reported or logged by the service.",
427 "type": "string"
428 },
429 "serviceContext": {
430 "$ref": "ServiceContext",
431 "description": "The `ServiceContext` for which this error wa s reported."
432 } 432 }
433 }, 433 },
434 "type": "object" 434 "type": "object"
435 }, 435 },
436 "ReportedErrorEvent": { 436 "ReportedErrorEvent": {
437 "description": "An error event which is reported to the Error Report ing system.", 437 "description": "An error event which is reported to the Error Report ing system.",
438 "id": "ReportedErrorEvent", 438 "id": "ReportedErrorEvent",
439 "properties": { 439 "properties": {
440 "eventTime": { 440 "eventTime": {
441 "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.", 441 "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.",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 "description": "A URL pointing to a related entry in an issu e tracking system.\nExample: https://github.com/user/project/issues/4", 491 "description": "A URL pointing to a related entry in an issu e tracking system.\nExample: https://github.com/user/project/issues/4",
492 "type": "string" 492 "type": "string"
493 } 493 }
494 }, 494 },
495 "type": "object" 495 "type": "object"
496 }, 496 },
497 "ErrorGroupStats": { 497 "ErrorGroupStats": {
498 "description": "Data extracted for a specific group based on certain filter criteria,\nsuch as a given time period and/or service filter.", 498 "description": "Data extracted for a specific group based on certain filter criteria,\nsuch as a given time period and/or service filter.",
499 "id": "ErrorGroupStats", 499 "id": "ErrorGroupStats",
500 "properties": { 500 "properties": {
501 "group": {
502 "$ref": "ErrorGroup",
503 "description": "Group data that is independent of the filter criteria."
504 },
505 "firstSeenTime": {
506 "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.",
507 "format": "google-datetime",
508 "type": "string"
509 },
510 "count": {
511 "description": "Approximate total number of events in the gi ven group that match\nthe filter criteria.",
512 "format": "int64",
513 "type": "string"
514 },
515 "affectedUsersCount": {
516 "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.",
517 "format": "int64",
518 "type": "string"
519 },
520 "lastSeenTime": {
521 "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.",
522 "format": "google-datetime",
523 "type": "string"
524 },
525 "affectedServices": { 501 "affectedServices": {
526 "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.", 502 "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.",
527 "items": { 503 "items": {
528 "$ref": "ServiceContext" 504 "$ref": "ServiceContext"
529 }, 505 },
530 "type": "array" 506 "type": "array"
531 }, 507 },
532 "numAffectedServices": { 508 "numAffectedServices": {
533 "description": "The total number of services with a non-zero error count for the given\nfilter criteria.", 509 "description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
534 "format": "int32", 510 "format": "int32",
535 "type": "integer" 511 "type": "integer"
536 }, 512 },
537 "representative": { 513 "representative": {
538 "$ref": "ErrorEvent", 514 "$ref": "ErrorEvent",
539 "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." 515 "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."
540 }, 516 },
541 "timedCounts": { 517 "timedCounts": {
542 "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.", 518 "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.",
543 "items": { 519 "items": {
544 "$ref": "TimedCount" 520 "$ref": "TimedCount"
545 }, 521 },
546 "type": "array" 522 "type": "array"
523 },
524 "group": {
525 "$ref": "ErrorGroup",
526 "description": "Group data that is independent of the filter criteria."
527 },
528 "firstSeenTime": {
529 "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.",
530 "format": "google-datetime",
531 "type": "string"
532 },
533 "count": {
534 "description": "Approximate total number of events in the gi ven group that match\nthe filter criteria.",
535 "format": "int64",
536 "type": "string"
537 },
538 "lastSeenTime": {
539 "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.",
540 "format": "google-datetime",
541 "type": "string"
542 },
543 "affectedUsersCount": {
544 "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.",
545 "format": "int64",
546 "type": "string"
547 } 547 }
548 }, 548 },
549 "type": "object" 549 "type": "object"
550 }, 550 },
551 "ListEventsResponse": { 551 "ListEventsResponse": {
552 "description": "Contains a set of requested error events.", 552 "description": "Contains a set of requested error events.",
553 "id": "ListEventsResponse", 553 "id": "ListEventsResponse",
554 "properties": { 554 "properties": {
555 "timeRangeBegin": { 555 "timeRangeBegin": {
556 "description": "The timestamp specifies the start time to wh ich the request was restricted.", 556 "description": "The timestamp specifies the start time to wh ich the request was restricted.",
(...skipping 11 matching lines...) Expand all
568 "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.", 568 "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.",
569 "type": "string" 569 "type": "string"
570 } 570 }
571 }, 571 },
572 "type": "object" 572 "type": "object"
573 }, 573 },
574 "TimedCount": { 574 "TimedCount": {
575 "description": "The number of errors in a given time period.\nAll nu mbers are approximate since the error events are sampled\nbefore counting them." , 575 "description": "The number of errors in a given time period.\nAll nu mbers are approximate since the error events are sampled\nbefore counting them." ,
576 "id": "TimedCount", 576 "id": "TimedCount",
577 "properties": { 577 "properties": {
578 "endTime": {
579 "description": "End of the time period to which `count` refe rs (excluded).",
580 "format": "google-datetime",
581 "type": "string"
582 },
578 "startTime": { 583 "startTime": {
579 "description": "Start of the time period to which `count` re fers (included).", 584 "description": "Start of the time period to which `count` re fers (included).",
580 "format": "google-datetime", 585 "format": "google-datetime",
581 "type": "string" 586 "type": "string"
582 }, 587 },
583 "count": { 588 "count": {
584 "description": "Approximate number of occurrences in the giv en time period.", 589 "description": "Approximate number of occurrences in the giv en time period.",
585 "format": "int64", 590 "format": "int64",
586 "type": "string" 591 "type": "string"
587 },
588 "endTime": {
589 "description": "End of the time period to which `count` refe rs (excluded).",
590 "format": "google-datetime",
591 "type": "string"
592 } 592 }
593 }, 593 },
594 "type": "object" 594 "type": "object"
595 }, 595 },
596 "ErrorGroup": { 596 "ErrorGroup": {
597 "description": "Description of a group of similar error events.", 597 "description": "Description of a group of similar error events.",
598 "id": "ErrorGroup", 598 "id": "ErrorGroup",
599 "properties": { 599 "properties": {
600 "trackingIssues": { 600 "trackingIssues": {
601 "description": "Associated tracking issues.", 601 "description": "Associated tracking issues.",
(...skipping 30 matching lines...) Expand all
632 "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.", 632 "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.",
633 "type": "string" 633 "type": "string"
634 } 634 }
635 }, 635 },
636 "type": "object" 636 "type": "object"
637 }, 637 },
638 "ServiceContext": { 638 "ServiceContext": {
639 "description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.", 639 "description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
640 "id": "ServiceContext", 640 "id": "ServiceContext",
641 "properties": { 641 "properties": {
642 "resourceType": {
643 "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.",
644 "type": "string"
645 },
646 "version": { 642 "version": {
647 "description": "Represents the source code version that the developer provided,\nwhich could represent a version label or a Git SHA-1 hash, for example.\nFor App Engine standard environment, the version is set to the ver sion of\nthe app.", 643 "description": "Represents the source code version that the developer provided,\nwhich could represent a version label or a Git SHA-1 hash, for example.\nFor App Engine standard environment, the version is set to the ver sion of\nthe app.",
648 "type": "string" 644 "type": "string"
649 }, 645 },
650 "service": { 646 "service": {
651 "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.", 647 "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.",
652 "type": "string" 648 "type": "string"
649 },
650 "resourceType": {
651 "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.",
652 "type": "string"
653 } 653 }
654 }, 654 },
655 "type": "object" 655 "type": "object"
656 }, 656 },
657 "ReportErrorEventResponse": { 657 "ReportErrorEventResponse": {
658 "description": "Response for reporting an individual error event.\nD ata may be added to this message in the future.", 658 "description": "Response for reporting an individual error event.\nD ata may be added to this message in the future.",
659 "id": "ReportErrorEventResponse", 659 "id": "ReportErrorEventResponse",
660 "properties": {}, 660 "properties": {},
661 "type": "object" 661 "type": "object"
662 }, 662 },
663 "HttpRequestContext": { 663 "HttpRequestContext": {
664 "description": "HTTP request data that is related to a reported erro r.\nThis data should be provided by the application when reporting an error,\nun less the\nerror report has been generated automatically from Google App Engine l ogs.", 664 "description": "HTTP request data that is related to a reported erro r.\nThis data should be provided by the application when reporting an error,\nun less the\nerror report has been generated automatically from Google App Engine l ogs.",
665 "id": "HttpRequestContext", 665 "id": "HttpRequestContext",
666 "properties": { 666 "properties": {
667 "responseStatusCode": {
668 "description": "The HTTP response status code for the reques t.",
669 "format": "int32",
670 "type": "integer"
671 },
672 "method": {
673 "description": "The type of HTTP request, such as `GET`, `PO ST`, etc.",
674 "type": "string"
675 },
667 "remoteIp": { 676 "remoteIp": {
668 "description": "The IP address from which the request origin ated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report.", 677 "description": "The IP address from which the request origin ated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report.",
669 "type": "string" 678 "type": "string"
670 }, 679 },
671 "referrer": { 680 "referrer": {
672 "description": "The referrer information that is provided wi th the request.", 681 "description": "The referrer information that is provided wi th the request.",
673 "type": "string" 682 "type": "string"
674 }, 683 },
675 "userAgent": { 684 "userAgent": {
676 "description": "The user agent information that is provided with the request.", 685 "description": "The user agent information that is provided with the request.",
677 "type": "string" 686 "type": "string"
678 }, 687 },
679 "url": { 688 "url": {
680 "description": "The URL of the request.", 689 "description": "The URL of the request.",
681 "type": "string" 690 "type": "string"
682 },
683 "responseStatusCode": {
684 "description": "The HTTP response status code for the reques t.",
685 "format": "int32",
686 "type": "integer"
687 },
688 "method": {
689 "description": "The type of HTTP request, such as `GET`, `PO ST`, etc.",
690 "type": "string"
691 } 691 }
692 }, 692 },
693 "type": "object" 693 "type": "object"
694 }, 694 },
695 "ListGroupStatsResponse": { 695 "ListGroupStatsResponse": {
696 "description": "Contains a set of requested error group stats.", 696 "description": "Contains a set of requested error group stats.",
697 "id": "ListGroupStatsResponse", 697 "id": "ListGroupStatsResponse",
698 "properties": { 698 "properties": {
699 "timeRangeBegin": {
700 "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.",
701 "format": "google-datetime",
702 "type": "string"
703 },
704 "errorGroupStats": { 699 "errorGroupStats": {
705 "description": "The error group stats which match the given request.", 700 "description": "The error group stats which match the given request.",
706 "items": { 701 "items": {
707 "$ref": "ErrorGroupStats" 702 "$ref": "ErrorGroupStats"
708 }, 703 },
709 "type": "array" 704 "type": "array"
710 }, 705 },
711 "nextPageToken": { 706 "nextPageToken": {
712 "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.", 707 "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.",
713 "type": "string" 708 "type": "string"
709 },
710 "timeRangeBegin": {
711 "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.",
712 "format": "google-datetime",
713 "type": "string"
714 } 714 }
715 }, 715 },
716 "type": "object" 716 "type": "object"
717 }, 717 },
718 "DeleteEventsResponse": { 718 "DeleteEventsResponse": {
719 "description": "Response message for deleting error events.", 719 "description": "Response message for deleting error events.",
720 "id": "DeleteEventsResponse", 720 "id": "DeleteEventsResponse",
721 "properties": {}, 721 "properties": {},
722 "type": "object" 722 "type": "object"
723 }, 723 },
724 "SourceReference": { 724 "SourceReference": {
725 "description": "A reference to a particular snapshot of the source t ree used to build and\ndeploy an application.", 725 "description": "A reference to a particular snapshot of the source t ree used to build and\ndeploy an application.",
726 "id": "SourceReference", 726 "id": "SourceReference",
727 "properties": { 727 "properties": {
728 "repository": {
729 "description": "Optional. A URI string identifying the repos itory.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
730 "type": "string"
731 },
728 "revisionId": { 732 "revisionId": {
729 "description": "The canonical and persistent identifier of t he deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b \"", 733 "description": "The canonical and persistent identifier of t he deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b \"",
730 "type": "string" 734 "type": "string"
731 },
732 "repository": {
733 "description": "Optional. A URI string identifying the repos itory.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
734 "type": "string"
735 } 735 }
736 }, 736 },
737 "type": "object" 737 "type": "object"
738 } 738 }
739 }, 739 },
740 "servicePath": "", 740 "servicePath": "",
741 "title": "Stackdriver Error Reporting API", 741 "title": "Stackdriver Error Reporting API",
742 "version": "v1beta1" 742 "version": "v1beta1"
743 } 743 }
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