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 }, |
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 "$.xgafv": { | 28 "key": { |
29 "description": "V1 error format.", | 29 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
30 "enum": [ | |
31 "1", | |
32 "2" | |
33 ], | |
34 "enumDescriptions": [ | |
35 "v1 error format", | |
36 "v2 error format" | |
37 ], | |
38 "location": "query", | 30 "location": "query", |
39 "type": "string" | 31 "type": "string" |
40 }, | 32 }, |
41 "callback": { | |
42 "description": "JSONP", | |
43 "location": "query", | |
44 "type": "string" | |
45 }, | |
46 "alt": { | |
47 "default": "json", | |
48 "description": "Data format for response.", | |
49 "enum": [ | |
50 "json", | |
51 "media", | |
52 "proto" | |
53 ], | |
54 "enumDescriptions": [ | |
55 "Responses with Content-Type of application/json", | |
56 "Media download with context-dependent Content-Type", | |
57 "Responses with Content-Type of application/x-protobuf" | |
58 ], | |
59 "location": "query", | |
60 "type": "string" | |
61 }, | |
62 "access_token": { | 33 "access_token": { |
63 "description": "OAuth access token.", | 34 "description": "OAuth access token.", |
64 "location": "query", | 35 "location": "query", |
65 "type": "string" | 36 "type": "string" |
66 }, | 37 }, |
67 "key": { | |
68 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
69 "location": "query", | |
70 "type": "string" | |
71 }, | |
72 "quotaUser": { | 38 "quotaUser": { |
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.", | 39 "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", | 40 "location": "query", |
75 "type": "string" | 41 "type": "string" |
76 }, | 42 }, |
77 "pp": { | 43 "pp": { |
78 "default": "true", | 44 "default": "true", |
79 "description": "Pretty-print response.", | 45 "description": "Pretty-print response.", |
80 "location": "query", | 46 "location": "query", |
81 "type": "boolean" | 47 "type": "boolean" |
(...skipping 21 matching lines...) Expand all Loading... |
103 }, | 69 }, |
104 "fields": { | 70 "fields": { |
105 "description": "Selector specifying which fields to include in a par
tial response.", | 71 "description": "Selector specifying which fields to include in a par
tial response.", |
106 "location": "query", | 72 "location": "query", |
107 "type": "string" | 73 "type": "string" |
108 }, | 74 }, |
109 "uploadType": { | 75 "uploadType": { |
110 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 76 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
111 "location": "query", | 77 "location": "query", |
112 "type": "string" | 78 "type": "string" |
| 79 }, |
| 80 "callback": { |
| 81 "description": "JSONP", |
| 82 "location": "query", |
| 83 "type": "string" |
| 84 }, |
| 85 "$.xgafv": { |
| 86 "description": "V1 error format.", |
| 87 "enum": [ |
| 88 "1", |
| 89 "2" |
| 90 ], |
| 91 "enumDescriptions": [ |
| 92 "v1 error format", |
| 93 "v2 error format" |
| 94 ], |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "alt": { |
| 99 "default": "json", |
| 100 "description": "Data format for response.", |
| 101 "enum": [ |
| 102 "json", |
| 103 "media", |
| 104 "proto" |
| 105 ], |
| 106 "enumDescriptions": [ |
| 107 "Responses with Content-Type of application/json", |
| 108 "Media download with context-dependent Content-Type", |
| 109 "Responses with Content-Type of application/x-protobuf" |
| 110 ], |
| 111 "location": "query", |
| 112 "type": "string" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "projects": { | 117 "projects": { |
118 "methods": { | 118 "methods": { |
119 "deleteEvents": { | 119 "deleteEvents": { |
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", |
(...skipping 12 matching lines...) Expand all Loading... |
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 "groups": { | 145 "events": { |
146 "methods": { | 146 "methods": { |
147 "get": { | 147 "list": { |
148 "description": "Get the specified group.", | 148 "description": "Lists the specified events.", |
149 "httpMethod": "GET", | 149 "httpMethod": "GET", |
150 "id": "clouderrorreporting.projects.groups.get", | 150 "id": "clouderrorreporting.projects.events.list", |
151 "parameterOrder": [ | 151 "parameterOrder": [ |
152 "groupName" | 152 "projectName" |
153 ], | 153 ], |
154 "parameters": { | 154 "parameters": { |
155 "groupName": { | 155 "pageToken": { |
156 "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>", | 156 "description": "[Optional] A `next_page_toke
n` provided by a previous response.", |
| 157 "location": "query", |
| 158 "type": "string" |
| 159 }, |
| 160 "serviceFilter.service": { |
| 161 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.service).", |
| 162 "location": "query", |
| 163 "type": "string" |
| 164 }, |
| 165 "pageSize": { |
| 166 "description": "[Optional] The maximum numbe
r of results to return per response.", |
| 167 "format": "int32", |
| 168 "location": "query", |
| 169 "type": "integer" |
| 170 }, |
| 171 "serviceFilter.version": { |
| 172 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.version).", |
| 173 "location": "query", |
| 174 "type": "string" |
| 175 }, |
| 176 "serviceFilter.resourceType": { |
| 177 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res
t/v1beta1/ServiceContext#FIELDS.resource_type).", |
| 178 "location": "query", |
| 179 "type": "string" |
| 180 }, |
| 181 "timeRange.period": { |
| 182 "description": "Restricts the query to the s
pecified time range.", |
| 183 "enum": [ |
| 184 "PERIOD_UNSPECIFIED", |
| 185 "PERIOD_1_HOUR", |
| 186 "PERIOD_6_HOURS", |
| 187 "PERIOD_1_DAY", |
| 188 "PERIOD_1_WEEK", |
| 189 "PERIOD_30_DAYS" |
| 190 ], |
| 191 "location": "query", |
| 192 "type": "string" |
| 193 }, |
| 194 "projectName": { |
| 195 "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`.", |
157 "location": "path", | 196 "location": "path", |
158 "pattern": "^projects/[^/]+/groups/[^/]+$", | 197 "pattern": "^projects/[^/]+$", |
159 "required": true, | 198 "required": true, |
160 "type": "string" | 199 "type": "string" |
| 200 }, |
| 201 "groupId": { |
| 202 "description": "[Required] The group for whi
ch events shall be returned.", |
| 203 "location": "query", |
| 204 "type": "string" |
161 } | 205 } |
162 }, | 206 }, |
163 "path": "v1beta1/{+groupName}", | 207 "path": "v1beta1/{+projectName}/events", |
164 "response": { | 208 "response": { |
165 "$ref": "ErrorGroup" | 209 "$ref": "ListEventsResponse" |
166 }, | 210 }, |
167 "scopes": [ | 211 "scopes": [ |
168 "https://www.googleapis.com/auth/cloud-platform" | 212 "https://www.googleapis.com/auth/cloud-platform" |
169 ] | 213 ] |
170 }, | 214 }, |
171 "update": { | 215 "report": { |
172 "description": "Replace the data for the specified g
roup.\nFails if the group does not exist.", | 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>", |
173 "httpMethod": "PUT", | 217 "httpMethod": "POST", |
174 "id": "clouderrorreporting.projects.groups.update", | 218 "id": "clouderrorreporting.projects.events.report", |
175 "parameterOrder": [ | 219 "parameterOrder": [ |
176 "name" | 220 "projectName" |
177 ], | 221 ], |
178 "parameters": { | 222 "parameters": { |
179 "name": { | 223 "projectName": { |
180 "description": "The group resource name.\nEx
ample: <code>projects/my-project-123/groups/my-groupid</code>", | 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`.", |
181 "location": "path", | 225 "location": "path", |
182 "pattern": "^projects/[^/]+/groups/[^/]+$", | 226 "pattern": "^projects/[^/]+$", |
183 "required": true, | 227 "required": true, |
184 "type": "string" | 228 "type": "string" |
185 } | 229 } |
186 }, | 230 }, |
187 "path": "v1beta1/{+name}", | 231 "path": "v1beta1/{+projectName}/events:report", |
188 "request": { | 232 "request": { |
189 "$ref": "ErrorGroup" | 233 "$ref": "ReportedErrorEvent" |
190 }, | 234 }, |
191 "response": { | 235 "response": { |
192 "$ref": "ErrorGroup" | 236 "$ref": "ReportErrorEventResponse" |
193 }, | 237 }, |
194 "scopes": [ | 238 "scopes": [ |
195 "https://www.googleapis.com/auth/cloud-platform" | 239 "https://www.googleapis.com/auth/cloud-platform" |
196 ] | 240 ] |
197 } | 241 } |
198 } | 242 } |
199 }, | 243 }, |
200 "groupStats": { | 244 "groupStats": { |
201 "methods": { | 245 "methods": { |
202 "list": { | 246 "list": { |
203 "description": "Lists the specified groups.", | 247 "description": "Lists the specified groups.", |
204 "httpMethod": "GET", | 248 "httpMethod": "GET", |
205 "id": "clouderrorreporting.projects.groupStats.list"
, | 249 "id": "clouderrorreporting.projects.groupStats.list"
, |
206 "parameterOrder": [ | 250 "parameterOrder": [ |
207 "projectName" | 251 "projectName" |
208 ], | 252 ], |
209 "parameters": { | 253 "parameters": { |
| 254 "serviceFilter.service": { |
| 255 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.service).", |
| 256 "location": "query", |
| 257 "type": "string" |
| 258 }, |
| 259 "pageSize": { |
| 260 "description": "[Optional] The maximum numbe
r of results to return per response.\nDefault is 20.", |
| 261 "format": "int32", |
| 262 "location": "query", |
| 263 "type": "integer" |
| 264 }, |
| 265 "order": { |
| 266 "description": "[Optional] The sort order in
which the results are returned.\nDefault is `COUNT_DESC`.", |
| 267 "enum": [ |
| 268 "GROUP_ORDER_UNSPECIFIED", |
| 269 "COUNT_DESC", |
| 270 "LAST_SEEN_DESC", |
| 271 "CREATED_DESC", |
| 272 "AFFECTED_USERS_DESC" |
| 273 ], |
| 274 "location": "query", |
| 275 "type": "string" |
| 276 }, |
| 277 "serviceFilter.version": { |
| 278 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.version).", |
| 279 "location": "query", |
| 280 "type": "string" |
| 281 }, |
| 282 "alignmentTime": { |
| 283 "description": "[Optional] Time where the ti
med counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UT
C.", |
| 284 "format": "google-datetime", |
| 285 "location": "query", |
| 286 "type": "string" |
| 287 }, |
| 288 "serviceFilter.resourceType": { |
| 289 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res
t/v1beta1/ServiceContext#FIELDS.resource_type).", |
| 290 "location": "query", |
| 291 "type": "string" |
| 292 }, |
210 "projectName": { | 293 "projectName": { |
211 "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>.", | 294 "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>.", |
212 "location": "path", | 295 "location": "path", |
213 "pattern": "^projects/[^/]+$", | 296 "pattern": "^projects/[^/]+$", |
214 "required": true, | 297 "required": true, |
215 "type": "string" | 298 "type": "string" |
216 }, | 299 }, |
217 "timedCountDuration": { | 300 "timedCountDuration": { |
218 "description": "[Optional] The preferred dur
ation for a single returned `TimedCount`.\nIf not set, no timed counts are retur
ned.", | 301 "description": "[Optional] The preferred dur
ation for a single returned `TimedCount`.\nIf not set, no timed counts are retur
ned.", |
219 "format": "google-duration", | 302 "format": "google-duration", |
(...skipping 26 matching lines...) Expand all Loading... |
246 "ALIGNMENT_EQUAL_AT_END" | 329 "ALIGNMENT_EQUAL_AT_END" |
247 ], | 330 ], |
248 "location": "query", | 331 "location": "query", |
249 "type": "string" | 332 "type": "string" |
250 }, | 333 }, |
251 "groupId": { | 334 "groupId": { |
252 "description": "[Optional] List all <code>Er
rorGroupStats</code> with these IDs.", | 335 "description": "[Optional] List all <code>Er
rorGroupStats</code> with these IDs.", |
253 "location": "query", | 336 "location": "query", |
254 "repeated": true, | 337 "repeated": true, |
255 "type": "string" | 338 "type": "string" |
256 }, | |
257 "serviceFilter.service": { | |
258 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.service).", | |
259 "location": "query", | |
260 "type": "string" | |
261 }, | |
262 "pageSize": { | |
263 "description": "[Optional] The maximum numbe
r of results to return per response.\nDefault is 20.", | |
264 "format": "int32", | |
265 "location": "query", | |
266 "type": "integer" | |
267 }, | |
268 "order": { | |
269 "description": "[Optional] The sort order in
which the results are returned.\nDefault is `COUNT_DESC`.", | |
270 "enum": [ | |
271 "GROUP_ORDER_UNSPECIFIED", | |
272 "COUNT_DESC", | |
273 "LAST_SEEN_DESC", | |
274 "CREATED_DESC", | |
275 "AFFECTED_USERS_DESC" | |
276 ], | |
277 "location": "query", | |
278 "type": "string" | |
279 }, | |
280 "serviceFilter.version": { | |
281 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.version).", | |
282 "location": "query", | |
283 "type": "string" | |
284 }, | |
285 "serviceFilter.resourceType": { | |
286 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res
t/v1beta1/ServiceContext#FIELDS.resource_type).", | |
287 "location": "query", | |
288 "type": "string" | |
289 }, | |
290 "alignmentTime": { | |
291 "description": "[Optional] Time where the ti
med counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UT
C.", | |
292 "format": "google-datetime", | |
293 "location": "query", | |
294 "type": "string" | |
295 } | 339 } |
296 }, | 340 }, |
297 "path": "v1beta1/{+projectName}/groupStats", | 341 "path": "v1beta1/{+projectName}/groupStats", |
298 "response": { | 342 "response": { |
299 "$ref": "ListGroupStatsResponse" | 343 "$ref": "ListGroupStatsResponse" |
300 }, | 344 }, |
301 "scopes": [ | 345 "scopes": [ |
302 "https://www.googleapis.com/auth/cloud-platform" | 346 "https://www.googleapis.com/auth/cloud-platform" |
303 ] | 347 ] |
304 } | 348 } |
305 } | 349 } |
306 }, | 350 }, |
307 "events": { | 351 "groups": { |
308 "methods": { | 352 "methods": { |
309 "report": { | 353 "get": { |
310 "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>", | 354 "description": "Get the specified group.", |
311 "httpMethod": "POST", | 355 "httpMethod": "GET", |
312 "id": "clouderrorreporting.projects.events.report", | 356 "id": "clouderrorreporting.projects.groups.get", |
313 "parameterOrder": [ | 357 "parameterOrder": [ |
314 "projectName" | 358 "groupName" |
315 ], | 359 ], |
316 "parameters": { | 360 "parameters": { |
317 "projectName": { | 361 "groupName": { |
318 "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`.", | 362 "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>", |
319 "location": "path", | 363 "location": "path", |
320 "pattern": "^projects/[^/]+$", | 364 "pattern": "^projects/[^/]+/groups/[^/]+$", |
321 "required": true, | 365 "required": true, |
322 "type": "string" | 366 "type": "string" |
323 } | 367 } |
324 }, | 368 }, |
325 "path": "v1beta1/{+projectName}/events:report", | 369 "path": "v1beta1/{+groupName}", |
326 "request": { | |
327 "$ref": "ReportedErrorEvent" | |
328 }, | |
329 "response": { | 370 "response": { |
330 "$ref": "ReportErrorEventResponse" | 371 "$ref": "ErrorGroup" |
331 }, | 372 }, |
332 "scopes": [ | 373 "scopes": [ |
333 "https://www.googleapis.com/auth/cloud-platform" | 374 "https://www.googleapis.com/auth/cloud-platform" |
334 ] | 375 ] |
335 }, | 376 }, |
336 "list": { | 377 "update": { |
337 "description": "Lists the specified events.", | 378 "description": "Replace the data for the specified g
roup.\nFails if the group does not exist.", |
338 "httpMethod": "GET", | 379 "httpMethod": "PUT", |
339 "id": "clouderrorreporting.projects.events.list", | 380 "id": "clouderrorreporting.projects.groups.update", |
340 "parameterOrder": [ | 381 "parameterOrder": [ |
341 "projectName" | 382 "name" |
342 ], | 383 ], |
343 "parameters": { | 384 "parameters": { |
344 "serviceFilter.resourceType": { | 385 "name": { |
345 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.resource_type`](/error-reporting/reference/res
t/v1beta1/ServiceContext#FIELDS.resource_type).", | 386 "description": "The group resource name.\nEx
ample: <code>projects/my-project-123/groups/my-groupid</code>", |
346 "location": "query", | |
347 "type": "string" | |
348 }, | |
349 "timeRange.period": { | |
350 "description": "Restricts the query to the s
pecified time range.", | |
351 "enum": [ | |
352 "PERIOD_UNSPECIFIED", | |
353 "PERIOD_1_HOUR", | |
354 "PERIOD_6_HOURS", | |
355 "PERIOD_1_DAY", | |
356 "PERIOD_1_WEEK", | |
357 "PERIOD_30_DAYS" | |
358 ], | |
359 "location": "query", | |
360 "type": "string" | |
361 }, | |
362 "projectName": { | |
363 "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`.", | |
364 "location": "path", | 387 "location": "path", |
365 "pattern": "^projects/[^/]+$", | 388 "pattern": "^projects/[^/]+/groups/[^/]+$", |
366 "required": true, | 389 "required": true, |
367 "type": "string" | 390 "type": "string" |
368 }, | |
369 "groupId": { | |
370 "description": "[Required] The group for whi
ch events shall be returned.", | |
371 "location": "query", | |
372 "type": "string" | |
373 }, | |
374 "pageToken": { | |
375 "description": "[Optional] A `next_page_toke
n` provided by a previous response.", | |
376 "location": "query", | |
377 "type": "string" | |
378 }, | |
379 "serviceFilter.service": { | |
380 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.service).", | |
381 "location": "query", | |
382 "type": "string" | |
383 }, | |
384 "pageSize": { | |
385 "description": "[Optional] The maximum numbe
r of results to return per response.", | |
386 "format": "int32", | |
387 "location": "query", | |
388 "type": "integer" | |
389 }, | |
390 "serviceFilter.version": { | |
391 "description": "[Optional] The exact value t
o match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1be
ta1/ServiceContext#FIELDS.version).", | |
392 "location": "query", | |
393 "type": "string" | |
394 } | 391 } |
395 }, | 392 }, |
396 "path": "v1beta1/{+projectName}/events", | 393 "path": "v1beta1/{+name}", |
| 394 "request": { |
| 395 "$ref": "ErrorGroup" |
| 396 }, |
397 "response": { | 397 "response": { |
398 "$ref": "ListEventsResponse" | 398 "$ref": "ErrorGroup" |
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": "20170602", | 409 "revision": "20170618", |
410 "rootUrl": "https://clouderrorreporting.googleapis.com/", | 410 "rootUrl": "https://clouderrorreporting.googleapis.com/", |
411 "schemas": { | 411 "schemas": { |
412 "TimedCount": { | |
413 "description": "The number of errors in a given time period.\nAll nu
mbers are approximate since the error events are sampled\nbefore counting them."
, | |
414 "id": "TimedCount", | |
415 "properties": { | |
416 "endTime": { | |
417 "description": "End of the time period to which `count` refe
rs (excluded).", | |
418 "format": "google-datetime", | |
419 "type": "string" | |
420 }, | |
421 "count": { | |
422 "description": "Approximate number of occurrences in the giv
en time period.", | |
423 "format": "int64", | |
424 "type": "string" | |
425 }, | |
426 "startTime": { | |
427 "description": "Start of the time period to which `count` re
fers (included).", | |
428 "format": "google-datetime", | |
429 "type": "string" | |
430 } | |
431 }, | |
432 "type": "object" | |
433 }, | |
434 "ErrorGroup": { | |
435 "description": "Description of a group of similar error events.", | |
436 "id": "ErrorGroup", | |
437 "properties": { | |
438 "groupId": { | |
439 "description": "Group IDs are unique for a given project. If
the same kind of error\noccurs in different service contexts, it will receive t
he same group ID.", | |
440 "type": "string" | |
441 }, | |
442 "trackingIssues": { | |
443 "description": "Associated tracking issues.", | |
444 "items": { | |
445 "$ref": "TrackingIssue" | |
446 }, | |
447 "type": "array" | |
448 }, | |
449 "name": { | |
450 "description": "The group resource name.\nExample: <code>pro
jects/my-project-123/groups/my-groupid</code>", | |
451 "type": "string" | |
452 } | |
453 }, | |
454 "type": "object" | |
455 }, | |
456 "SourceLocation": { | |
457 "description": "Indicates a location in the source code of the servi
ce for which errors are\nreported. `functionName` must be provided by the applic
ation when reporting\nan error, unless the error report contains a `message` wit
h a supported\nexception stack trace. All fields are optional for the later case
.", | |
458 "id": "SourceLocation", | |
459 "properties": { | |
460 "functionName": { | |
461 "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.", | |
462 "type": "string" | |
463 }, | |
464 "filePath": { | |
465 "description": "The source code filename, which can include
a truncated relative\npath, or a full path from a production machine.", | |
466 "type": "string" | |
467 }, | |
468 "lineNumber": { | |
469 "description": "1-based. 0 indicates that the line number is
unknown.", | |
470 "format": "int32", | |
471 "type": "integer" | |
472 } | |
473 }, | |
474 "type": "object" | |
475 }, | |
476 "ServiceContext": { | |
477 "description": "Describes a running service that sends errors.\nIts
version changes over time and multiple versions can run in parallel.", | |
478 "id": "ServiceContext", | |
479 "properties": { | |
480 "resourceType": { | |
481 "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.", | |
482 "type": "string" | |
483 }, | |
484 "version": { | |
485 "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.", | |
486 "type": "string" | |
487 }, | |
488 "service": { | |
489 "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.", | |
490 "type": "string" | |
491 } | |
492 }, | |
493 "type": "object" | |
494 }, | |
495 "ReportErrorEventResponse": { | |
496 "description": "Response for reporting an individual error event.\nD
ata may be added to this message in the future.", | |
497 "id": "ReportErrorEventResponse", | |
498 "properties": {}, | |
499 "type": "object" | |
500 }, | |
501 "HttpRequestContext": { | |
502 "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.", | |
503 "id": "HttpRequestContext", | |
504 "properties": { | |
505 "referrer": { | |
506 "description": "The referrer information that is provided wi
th the request.", | |
507 "type": "string" | |
508 }, | |
509 "userAgent": { | |
510 "description": "The user agent information that is provided
with the request.", | |
511 "type": "string" | |
512 }, | |
513 "url": { | |
514 "description": "The URL of the request.", | |
515 "type": "string" | |
516 }, | |
517 "responseStatusCode": { | |
518 "description": "The HTTP response status code for the reques
t.", | |
519 "format": "int32", | |
520 "type": "integer" | |
521 }, | |
522 "method": { | |
523 "description": "The type of HTTP request, such as `GET`, `PO
ST`, etc.", | |
524 "type": "string" | |
525 }, | |
526 "remoteIp": { | |
527 "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.", | |
528 "type": "string" | |
529 } | |
530 }, | |
531 "type": "object" | |
532 }, | |
533 "ListGroupStatsResponse": { | |
534 "description": "Contains a set of requested error group stats.", | |
535 "id": "ListGroupStatsResponse", | |
536 "properties": { | |
537 "timeRangeBegin": { | |
538 "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.", | |
539 "format": "google-datetime", | |
540 "type": "string" | |
541 }, | |
542 "errorGroupStats": { | |
543 "description": "The error group stats which match the given
request.", | |
544 "items": { | |
545 "$ref": "ErrorGroupStats" | |
546 }, | |
547 "type": "array" | |
548 }, | |
549 "nextPageToken": { | |
550 "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.", | |
551 "type": "string" | |
552 } | |
553 }, | |
554 "type": "object" | |
555 }, | |
556 "SourceReference": { | |
557 "description": "A reference to a particular snapshot of the source t
ree used to build and\ndeploy an application.", | |
558 "id": "SourceReference", | |
559 "properties": { | |
560 "repository": { | |
561 "description": "Optional. A URI string identifying the repos
itory.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", | |
562 "type": "string" | |
563 }, | |
564 "revisionId": { | |
565 "description": "The canonical and persistent identifier of t
he deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b
\"", | |
566 "type": "string" | |
567 } | |
568 }, | |
569 "type": "object" | |
570 }, | |
571 "DeleteEventsResponse": { | |
572 "description": "Response message for deleting error events.", | |
573 "id": "DeleteEventsResponse", | |
574 "properties": {}, | |
575 "type": "object" | |
576 }, | |
577 "ErrorEvent": { | 412 "ErrorEvent": { |
578 "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.", |
579 "id": "ErrorEvent", | 414 "id": "ErrorEvent", |
580 "properties": { | 415 "properties": { |
581 "message": { | 416 "message": { |
582 "description": "The stack trace that was reported or logged
by the service.", | 417 "description": "The stack trace that was reported or logged
by the service.", |
583 "type": "string" | 418 "type": "string" |
584 }, | 419 }, |
585 "serviceContext": { | 420 "serviceContext": { |
586 "$ref": "ServiceContext", | 421 "$ref": "ServiceContext", |
587 "description": "The `ServiceContext` for which this error wa
s reported." | 422 "description": "The `ServiceContext` for which this error wa
s reported." |
588 }, | 423 }, |
589 "eventTime": { | 424 "eventTime": { |
590 "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.", |
591 "format": "google-datetime", | 426 "format": "google-datetime", |
592 "type": "string" | 427 "type": "string" |
593 }, | 428 }, |
594 "context": { | 429 "context": { |
595 "$ref": "ErrorContext", | 430 "$ref": "ErrorContext", |
596 "description": "Data about the context in which the error oc
curred." | 431 "description": "Data about the context in which the error oc
curred." |
597 } | 432 } |
598 }, | 433 }, |
599 "type": "object" | 434 "type": "object" |
600 }, | 435 }, |
601 "ReportedErrorEvent": { | 436 "ReportedErrorEvent": { |
602 "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.", |
603 "id": "ReportedErrorEvent", | 438 "id": "ReportedErrorEvent", |
604 "properties": { | 439 "properties": { |
| 440 "serviceContext": { |
| 441 "$ref": "ServiceContext", |
| 442 "description": "[Required] The service context in which this
error has occurred." |
| 443 }, |
605 "eventTime": { | 444 "eventTime": { |
606 "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.", | 445 "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.", |
607 "format": "google-datetime", | 446 "format": "google-datetime", |
608 "type": "string" | 447 "type": "string" |
609 }, | 448 }, |
610 "context": { | 449 "context": { |
611 "$ref": "ErrorContext", | 450 "$ref": "ErrorContext", |
612 "description": "[Optional] A description of the context in w
hich the error occurred." | 451 "description": "[Optional] A description of the context in w
hich the error occurred." |
613 }, | 452 }, |
614 "message": { | 453 "message": { |
615 "description": "[Required] The error message.\nIf no `contex
t.reportLocation` is provided, the message must contain a\nheader (typically con
sisting of the exception type name and an error\nmessage) and an exception stack
trace in one of the supported programming\nlanguages and formats.\nSupported la
nguages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.\nSupported stack tr
ace formats are:\n\n* **Java**: Must be the return value of [`Throwable.printSta
ckTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#p
rintStackTrace%28%29).\n* **Python**: Must be the return value of [`traceback.fo
rmat_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_e
xc).\n* **JavaScript**: Must be the value of [`error.stack`](https://github.com/
v8/v8/wiki/Stack-Trace-API)\nas returned by V8.\n* **Ruby**: Must contain frames
returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.h
tml#method-i-backtrace).\n* **C#**: Must be the return value of [`Exception.ToSt
ring()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx
).\n* **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`\na
nd contain the result of [`(string)$exception`](http://php.net/manual/en/excepti
on.tostring.php).\n* **Go**: Must be the return value of [`runtime.Stack()`](htt
ps://golang.org/pkg/runtime/debug/#Stack).", | 454 "description": "[Required] The error message.\nIf no `contex
t.reportLocation` is provided, the message must contain a\nheader (typically con
sisting of the exception type name and an error\nmessage) and an exception stack
trace in one of the supported programming\nlanguages and formats.\nSupported la
nguages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.\nSupported stack tr
ace formats are:\n\n* **Java**: Must be the return value of [`Throwable.printSta
ckTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#p
rintStackTrace%28%29).\n* **Python**: Must be the return value of [`traceback.fo
rmat_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_e
xc).\n* **JavaScript**: Must be the value of [`error.stack`](https://github.com/
v8/v8/wiki/Stack-Trace-API)\nas returned by V8.\n* **Ruby**: Must contain frames
returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.h
tml#method-i-backtrace).\n* **C#**: Must be the return value of [`Exception.ToSt
ring()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx
).\n* **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`\na
nd contain the result of [`(string)$exception`](http://php.net/manual/en/excepti
on.tostring.php).\n* **Go**: Must be the return value of [`runtime.Stack()`](htt
ps://golang.org/pkg/runtime/debug/#Stack).", |
616 "type": "string" | 455 "type": "string" |
617 }, | |
618 "serviceContext": { | |
619 "$ref": "ServiceContext", | |
620 "description": "[Required] The service context in which this
error has occurred." | |
621 } | 456 } |
622 }, | 457 }, |
623 "type": "object" | 458 "type": "object" |
624 }, | 459 }, |
625 "ErrorContext": { | 460 "ErrorContext": { |
626 "description": "A description of the context in which an error occur
red.\nThis data should be provided by the application when reporting an error,\n
unless the\nerror report has been generated automatically from Google App Engine
logs.", | 461 "description": "A description of the context in which an error occur
red.\nThis data should be provided by the application when reporting an error,\n
unless the\nerror report has been generated automatically from Google App Engine
logs.", |
627 "id": "ErrorContext", | 462 "id": "ErrorContext", |
628 "properties": { | 463 "properties": { |
| 464 "httpRequest": { |
| 465 "$ref": "HttpRequestContext", |
| 466 "description": "The HTTP request which was processed when th
e error was\ntriggered." |
| 467 }, |
629 "user": { | 468 "user": { |
630 "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`.", | 469 "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`.", |
631 "type": "string" | 470 "type": "string" |
632 }, | 471 }, |
633 "reportLocation": { | |
634 "$ref": "SourceLocation", | |
635 "description": "The location in the source code where the de
cision was made to\nreport the error, usually the place where it was logged.\nFo
r a logged exception this would be the source line where the\nexception is logge
d, usually close to the place where it was\ncaught. This value is in contrast to
`Exception.cause_location`,\nwhich describes the source line where the exceptio
n was thrown." | |
636 }, | |
637 "sourceReferences": { | 472 "sourceReferences": { |
638 "description": "Source code that was used to build the execu
table which has\ncaused the given error message.", | 473 "description": "Source code that was used to build the execu
table which has\ncaused the given error message.", |
639 "items": { | 474 "items": { |
640 "$ref": "SourceReference" | 475 "$ref": "SourceReference" |
641 }, | 476 }, |
642 "type": "array" | 477 "type": "array" |
643 }, | 478 }, |
644 "httpRequest": { | 479 "reportLocation": { |
645 "$ref": "HttpRequestContext", | 480 "$ref": "SourceLocation", |
646 "description": "The HTTP request which was processed when th
e error was\ntriggered." | 481 "description": "The location in the source code where the de
cision was made to\nreport the error, usually the place where it was logged.\nFo
r a logged exception this would be the source line where the\nexception is logge
d, usually close to the place where it was\ncaught. This value is in contrast to
`Exception.cause_location`,\nwhich describes the source line where the exceptio
n was thrown." |
647 } | 482 } |
648 }, | 483 }, |
649 "type": "object" | 484 "type": "object" |
650 }, | 485 }, |
651 "TrackingIssue": { | 486 "TrackingIssue": { |
652 "description": "Information related to tracking the progress on reso
lving the error.", | 487 "description": "Information related to tracking the progress on reso
lving the error.", |
653 "id": "TrackingIssue", | 488 "id": "TrackingIssue", |
654 "properties": { | 489 "properties": { |
655 "url": { | 490 "url": { |
656 "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", |
657 "type": "string" | 492 "type": "string" |
658 } | 493 } |
659 }, | 494 }, |
660 "type": "object" | 495 "type": "object" |
661 }, | 496 }, |
662 "ErrorGroupStats": { | 497 "ErrorGroupStats": { |
663 "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.", |
664 "id": "ErrorGroupStats", | 499 "id": "ErrorGroupStats", |
665 "properties": { | 500 "properties": { |
666 "group": { | |
667 "$ref": "ErrorGroup", | |
668 "description": "Group data that is independent of the filter
criteria." | |
669 }, | |
670 "firstSeenTime": { | |
671 "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.", | |
672 "format": "google-datetime", | |
673 "type": "string" | |
674 }, | |
675 "count": { | 501 "count": { |
676 "description": "Approximate total number of events in the gi
ven group that match\nthe filter criteria.", | 502 "description": "Approximate total number of events in the gi
ven group that match\nthe filter criteria.", |
677 "format": "int64", | 503 "format": "int64", |
678 "type": "string" | 504 "type": "string" |
679 }, | 505 }, |
680 "affectedUsersCount": { | 506 "affectedUsersCount": { |
681 "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.", | 507 "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.", |
682 "format": "int64", | 508 "format": "int64", |
683 "type": "string" | 509 "type": "string" |
684 }, | 510 }, |
(...skipping 17 matching lines...) Expand all Loading... |
702 "representative": { | 528 "representative": { |
703 "$ref": "ErrorEvent", | 529 "$ref": "ErrorEvent", |
704 "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." | 530 "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." |
705 }, | 531 }, |
706 "timedCounts": { | 532 "timedCounts": { |
707 "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.", | 533 "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.", |
708 "items": { | 534 "items": { |
709 "$ref": "TimedCount" | 535 "$ref": "TimedCount" |
710 }, | 536 }, |
711 "type": "array" | 537 "type": "array" |
| 538 }, |
| 539 "group": { |
| 540 "$ref": "ErrorGroup", |
| 541 "description": "Group data that is independent of the filter
criteria." |
| 542 }, |
| 543 "firstSeenTime": { |
| 544 "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.", |
| 545 "format": "google-datetime", |
| 546 "type": "string" |
712 } | 547 } |
713 }, | 548 }, |
714 "type": "object" | 549 "type": "object" |
715 }, | 550 }, |
716 "ListEventsResponse": { | 551 "ListEventsResponse": { |
717 "description": "Contains a set of requested error events.", | 552 "description": "Contains a set of requested error events.", |
718 "id": "ListEventsResponse", | 553 "id": "ListEventsResponse", |
719 "properties": { | 554 "properties": { |
720 "errorEvents": { | 555 "errorEvents": { |
721 "description": "The error events which match the given reque
st.", | 556 "description": "The error events which match the given reque
st.", |
722 "items": { | 557 "items": { |
723 "$ref": "ErrorEvent" | 558 "$ref": "ErrorEvent" |
724 }, | 559 }, |
725 "type": "array" | 560 "type": "array" |
726 }, | 561 }, |
727 "nextPageToken": { | 562 "nextPageToken": { |
728 "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.", | 563 "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.", |
729 "type": "string" | 564 "type": "string" |
730 }, | 565 }, |
731 "timeRangeBegin": { | 566 "timeRangeBegin": { |
732 "description": "The timestamp specifies the start time to wh
ich the request was restricted.", | 567 "description": "The timestamp specifies the start time to wh
ich the request was restricted.", |
733 "format": "google-datetime", | 568 "format": "google-datetime", |
734 "type": "string" | 569 "type": "string" |
735 } | 570 } |
736 }, | 571 }, |
737 "type": "object" | 572 "type": "object" |
| 573 }, |
| 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."
, |
| 576 "id": "TimedCount", |
| 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 }, |
| 583 "startTime": { |
| 584 "description": "Start of the time period to which `count` re
fers (included).", |
| 585 "format": "google-datetime", |
| 586 "type": "string" |
| 587 }, |
| 588 "count": { |
| 589 "description": "Approximate number of occurrences in the giv
en time period.", |
| 590 "format": "int64", |
| 591 "type": "string" |
| 592 } |
| 593 }, |
| 594 "type": "object" |
| 595 }, |
| 596 "ErrorGroup": { |
| 597 "description": "Description of a group of similar error events.", |
| 598 "id": "ErrorGroup", |
| 599 "properties": { |
| 600 "name": { |
| 601 "description": "The group resource name.\nExample: <code>pro
jects/my-project-123/groups/my-groupid</code>", |
| 602 "type": "string" |
| 603 }, |
| 604 "trackingIssues": { |
| 605 "description": "Associated tracking issues.", |
| 606 "items": { |
| 607 "$ref": "TrackingIssue" |
| 608 }, |
| 609 "type": "array" |
| 610 }, |
| 611 "groupId": { |
| 612 "description": "Group IDs are unique for a given project. If
the same kind of error\noccurs in different service contexts, it will receive t
he same group ID.", |
| 613 "type": "string" |
| 614 } |
| 615 }, |
| 616 "type": "object" |
| 617 }, |
| 618 "ServiceContext": { |
| 619 "description": "Describes a running service that sends errors.\nIts
version changes over time and multiple versions can run in parallel.", |
| 620 "id": "ServiceContext", |
| 621 "properties": { |
| 622 "version": { |
| 623 "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.", |
| 624 "type": "string" |
| 625 }, |
| 626 "service": { |
| 627 "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.", |
| 628 "type": "string" |
| 629 }, |
| 630 "resourceType": { |
| 631 "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.", |
| 632 "type": "string" |
| 633 } |
| 634 }, |
| 635 "type": "object" |
| 636 }, |
| 637 "SourceLocation": { |
| 638 "description": "Indicates a location in the source code of the servi
ce for which errors are\nreported. `functionName` must be provided by the applic
ation when reporting\nan error, unless the error report contains a `message` wit
h a supported\nexception stack trace. All fields are optional for the later case
.", |
| 639 "id": "SourceLocation", |
| 640 "properties": { |
| 641 "filePath": { |
| 642 "description": "The source code filename, which can include
a truncated relative\npath, or a full path from a production machine.", |
| 643 "type": "string" |
| 644 }, |
| 645 "lineNumber": { |
| 646 "description": "1-based. 0 indicates that the line number is
unknown.", |
| 647 "format": "int32", |
| 648 "type": "integer" |
| 649 }, |
| 650 "functionName": { |
| 651 "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.", |
| 652 "type": "string" |
| 653 } |
| 654 }, |
| 655 "type": "object" |
| 656 }, |
| 657 "ReportErrorEventResponse": { |
| 658 "description": "Response for reporting an individual error event.\nD
ata may be added to this message in the future.", |
| 659 "id": "ReportErrorEventResponse", |
| 660 "properties": {}, |
| 661 "type": "object" |
| 662 }, |
| 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.", |
| 665 "id": "HttpRequestContext", |
| 666 "properties": { |
| 667 "method": { |
| 668 "description": "The type of HTTP request, such as `GET`, `PO
ST`, etc.", |
| 669 "type": "string" |
| 670 }, |
| 671 "remoteIp": { |
| 672 "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.", |
| 673 "type": "string" |
| 674 }, |
| 675 "referrer": { |
| 676 "description": "The referrer information that is provided wi
th the request.", |
| 677 "type": "string" |
| 678 }, |
| 679 "userAgent": { |
| 680 "description": "The user agent information that is provided
with the request.", |
| 681 "type": "string" |
| 682 }, |
| 683 "url": { |
| 684 "description": "The URL of the request.", |
| 685 "type": "string" |
| 686 }, |
| 687 "responseStatusCode": { |
| 688 "description": "The HTTP response status code for the reques
t.", |
| 689 "format": "int32", |
| 690 "type": "integer" |
| 691 } |
| 692 }, |
| 693 "type": "object" |
| 694 }, |
| 695 "ListGroupStatsResponse": { |
| 696 "description": "Contains a set of requested error group stats.", |
| 697 "id": "ListGroupStatsResponse", |
| 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": { |
| 705 "description": "The error group stats which match the given
request.", |
| 706 "items": { |
| 707 "$ref": "ErrorGroupStats" |
| 708 }, |
| 709 "type": "array" |
| 710 }, |
| 711 "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.", |
| 713 "type": "string" |
| 714 } |
| 715 }, |
| 716 "type": "object" |
| 717 }, |
| 718 "SourceReference": { |
| 719 "description": "A reference to a particular snapshot of the source t
ree used to build and\ndeploy an application.", |
| 720 "id": "SourceReference", |
| 721 "properties": { |
| 722 "revisionId": { |
| 723 "description": "The canonical and persistent identifier of t
he deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b
\"", |
| 724 "type": "string" |
| 725 }, |
| 726 "repository": { |
| 727 "description": "Optional. A URI string identifying the repos
itory.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", |
| 728 "type": "string" |
| 729 } |
| 730 }, |
| 731 "type": "object" |
| 732 }, |
| 733 "DeleteEventsResponse": { |
| 734 "description": "Response message for deleting error events.", |
| 735 "id": "DeleteEventsResponse", |
| 736 "properties": {}, |
| 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 } |
OLD | NEW |