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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/logging.admin": { 8 "https://www.googleapis.com/auth/logging.admin": {
9 "description": "Administrate log data for your projects" 9 "description": "Administrate log data for your projects"
10 }, 10 },
(...skipping 19 matching lines...) Expand all
30 "icons": { 30 "icons": {
31 "x16": "http://www.google.com/images/icons/product/search-16.gif", 31 "x16": "http://www.google.com/images/icons/product/search-16.gif",
32 "x32": "http://www.google.com/images/icons/product/search-32.gif" 32 "x32": "http://www.google.com/images/icons/product/search-32.gif"
33 }, 33 },
34 "id": "logging:v2beta1", 34 "id": "logging:v2beta1",
35 "kind": "discovery#restDescription", 35 "kind": "discovery#restDescription",
36 "name": "logging", 36 "name": "logging",
37 "ownerDomain": "google.com", 37 "ownerDomain": "google.com",
38 "ownerName": "Google", 38 "ownerName": "Google",
39 "parameters": { 39 "parameters": {
40 "upload_protocol": {
41 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
42 "location": "query",
43 "type": "string"
44 },
45 "prettyPrint": {
46 "default": "true",
47 "description": "Returns response with indentations and line breaks." ,
48 "location": "query",
49 "type": "boolean"
50 },
51 "uploadType": {
52 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
53 "location": "query",
54 "type": "string"
55 },
56 "fields": {
57 "description": "Selector specifying which fields to include in a par tial response.",
58 "location": "query",
59 "type": "string"
60 },
61 "callback": {
62 "description": "JSONP",
63 "location": "query",
64 "type": "string"
65 },
66 "$.xgafv": {
67 "description": "V1 error format.",
68 "enum": [
69 "1",
70 "2"
71 ],
72 "enumDescriptions": [
73 "v1 error format",
74 "v2 error format"
75 ],
76 "location": "query",
77 "type": "string"
78 },
79 "alt": { 40 "alt": {
80 "default": "json", 41 "default": "json",
81 "description": "Data format for response.", 42 "description": "Data format for response.",
82 "enum": [ 43 "enum": [
83 "json", 44 "json",
84 "media", 45 "media",
85 "proto" 46 "proto"
86 ], 47 ],
87 "enumDescriptions": [ 48 "enumDescriptions": [
88 "Responses with Content-Type of application/json", 49 "Responses with Content-Type of application/json",
(...skipping 26 matching lines...) Expand all
115 }, 76 },
116 "bearer_token": { 77 "bearer_token": {
117 "description": "OAuth bearer token.", 78 "description": "OAuth bearer token.",
118 "location": "query", 79 "location": "query",
119 "type": "string" 80 "type": "string"
120 }, 81 },
121 "oauth_token": { 82 "oauth_token": {
122 "description": "OAuth 2.0 token for the current user.", 83 "description": "OAuth 2.0 token for the current user.",
123 "location": "query", 84 "location": "query",
124 "type": "string" 85 "type": "string"
86 },
87 "upload_protocol": {
88 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
89 "location": "query",
90 "type": "string"
91 },
92 "prettyPrint": {
93 "default": "true",
94 "description": "Returns response with indentations and line breaks." ,
95 "location": "query",
96 "type": "boolean"
97 },
98 "uploadType": {
99 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
100 "location": "query",
101 "type": "string"
102 },
103 "fields": {
104 "description": "Selector specifying which fields to include in a par tial response.",
105 "location": "query",
106 "type": "string"
107 },
108 "callback": {
109 "description": "JSONP",
110 "location": "query",
111 "type": "string"
112 },
113 "$.xgafv": {
114 "description": "V1 error format.",
115 "enum": [
116 "1",
117 "2"
118 ],
119 "enumDescriptions": [
120 "v1 error format",
121 "v2 error format"
122 ],
123 "location": "query",
124 "type": "string"
125 } 125 }
126 }, 126 },
127 "protocol": "rest", 127 "protocol": "rest",
128 "resources": { 128 "resources": {
129 "monitoredResourceDescriptors": { 129 "monitoredResourceDescriptors": {
130 "methods": { 130 "methods": {
131 "list": { 131 "list": {
132 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.", 132 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.",
133 "httpMethod": "GET", 133 "httpMethod": "GET",
134 "id": "logging.monitoredResourceDescriptors.list", 134 "id": "logging.monitoredResourceDescriptors.list",
(...skipping 22 matching lines...) Expand all
157 "https://www.googleapis.com/auth/logging.read" 157 "https://www.googleapis.com/auth/logging.read"
158 ] 158 ]
159 } 159 }
160 } 160 }
161 }, 161 },
162 "organizations": { 162 "organizations": {
163 "resources": { 163 "resources": {
164 "logs": { 164 "logs": {
165 "methods": { 165 "methods": {
166 "delete": { 166 "delete": {
167 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries.", 167 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
168 "httpMethod": "DELETE", 168 "httpMethod": "DELETE",
169 "id": "logging.organizations.logs.delete", 169 "id": "logging.organizations.logs.delete",
170 "parameterOrder": [ 170 "parameterOrder": [
171 "logName" 171 "logName"
172 ], 172 ],
173 "parameters": { 173 "parameters": {
174 "logName": { 174 "logName": {
175 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \" projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresou rcemanager.googleapis.com%2Factivity\". For more information about log names, se e LogEntry.", 175 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
176 "location": "path", 176 "location": "path",
177 "pattern": "^organizations/[^/]+/logs/[^/]+$ ", 177 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
178 "required": true, 178 "required": true,
179 "type": "string" 179 "type": "string"
180 } 180 }
181 }, 181 },
182 "path": "v2beta1/{+logName}", 182 "path": "v2beta1/{+logName}",
183 "response": { 183 "response": {
184 "$ref": "Empty" 184 "$ref": "Empty"
185 }, 185 },
186 "scopes": [ 186 "scopes": [
187 "https://www.googleapis.com/auth/cloud-platform" , 187 "https://www.googleapis.com/auth/cloud-platform" ,
188 "https://www.googleapis.com/auth/logging.admin" 188 "https://www.googleapis.com/auth/logging.admin"
189 ] 189 ]
190 }, 190 },
191 "list": { 191 "list": {
192 "description": "Lists the logs in projects or organi zations. Only logs that have entries are listed.", 192 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
193 "httpMethod": "GET", 193 "httpMethod": "GET",
194 "id": "logging.organizations.logs.list", 194 "id": "logging.organizations.logs.list",
195 "parameterOrder": [ 195 "parameterOrder": [
196 "parent" 196 "parent"
197 ], 197 ],
198 "parameters": { 198 "parameters": {
199 "parent": {
200 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
201 "location": "path",
202 "pattern": "^organizations/[^/]+$",
203 "required": true,
204 "type": "string"
205 },
199 "pageToken": { 206 "pageToken": {
200 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 207 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
201 "location": "query", 208 "location": "query",
202 "type": "string" 209 "type": "string"
203 }, 210 },
204 "pageSize": { 211 "pageSize": {
205 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 212 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
206 "format": "int32", 213 "format": "int32",
207 "location": "query", 214 "location": "query",
208 "type": "integer" 215 "type": "integer"
209 },
210 "parent": {
211 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n",
212 "location": "path",
213 "pattern": "^organizations/[^/]+$",
214 "required": true,
215 "type": "string"
216 } 216 }
217 }, 217 },
218 "path": "v2beta1/{+parent}/logs", 218 "path": "v2beta1/{+parent}/logs",
219 "response": { 219 "response": {
220 "$ref": "ListLogsResponse" 220 "$ref": "ListLogsResponse"
221 }, 221 },
222 "scopes": [ 222 "scopes": [
223 "https://www.googleapis.com/auth/cloud-platform" , 223 "https://www.googleapis.com/auth/cloud-platform" ,
224 "https://www.googleapis.com/auth/cloud-platform. read-only", 224 "https://www.googleapis.com/auth/cloud-platform. read-only",
225 "https://www.googleapis.com/auth/logging.admin", 225 "https://www.googleapis.com/auth/logging.admin",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 "https://www.googleapis.com/auth/logging.admin", 270 "https://www.googleapis.com/auth/logging.admin",
271 "https://www.googleapis.com/auth/logging.write" 271 "https://www.googleapis.com/auth/logging.write"
272 ] 272 ]
273 } 273 }
274 } 274 }
275 }, 275 },
276 "projects": { 276 "projects": {
277 "resources": { 277 "resources": {
278 "metrics": { 278 "metrics": {
279 "methods": { 279 "methods": {
280 "delete": {
281 "description": "Deletes a logs-based metric.",
282 "httpMethod": "DELETE",
283 "id": "logging.projects.metrics.delete",
284 "parameterOrder": [
285 "metricName"
286 ],
287 "parameters": {
288 "metricName": {
289 "description": "The resource name of the met ric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
290 "location": "path",
291 "pattern": "^projects/[^/]+/metrics/[^/]+$",
292 "required": true,
293 "type": "string"
294 }
295 },
296 "path": "v2beta1/{+metricName}",
297 "response": {
298 "$ref": "Empty"
299 },
300 "scopes": [
301 "https://www.googleapis.com/auth/cloud-platform" ,
302 "https://www.googleapis.com/auth/logging.admin",
303 "https://www.googleapis.com/auth/logging.write"
304 ]
305 },
280 "list": { 306 "list": {
281 "description": "Lists logs-based metrics.", 307 "description": "Lists logs-based metrics.",
282 "httpMethod": "GET", 308 "httpMethod": "GET",
283 "id": "logging.projects.metrics.list", 309 "id": "logging.projects.metrics.list",
284 "parameterOrder": [ 310 "parameterOrder": [
285 "parent" 311 "parent"
286 ], 312 ],
287 "parameters": { 313 "parameters": {
314 "pageToken": {
315 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
316 "location": "query",
317 "type": "string"
318 },
288 "pageSize": { 319 "pageSize": {
289 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 320 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
290 "format": "int32", 321 "format": "int32",
291 "location": "query", 322 "location": "query",
292 "type": "integer" 323 "type": "integer"
293 }, 324 },
294 "parent": { 325 "parent": {
295 "description": "Required. The name of the pr oject containing the metrics:\n\"projects/[PROJECT_ID]\"\n", 326 "description": "Required. The name of the pr oject containing the metrics:\n\"projects/[PROJECT_ID]\"\n",
296 "location": "path", 327 "location": "path",
297 "pattern": "^projects/[^/]+$", 328 "pattern": "^projects/[^/]+$",
298 "required": true, 329 "required": true,
299 "type": "string" 330 "type": "string"
300 },
301 "pageToken": {
302 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
303 "location": "query",
304 "type": "string"
305 } 331 }
306 }, 332 },
307 "path": "v2beta1/{+parent}/metrics", 333 "path": "v2beta1/{+parent}/metrics",
308 "response": { 334 "response": {
309 "$ref": "ListLogMetricsResponse" 335 "$ref": "ListLogMetricsResponse"
310 }, 336 },
311 "scopes": [ 337 "scopes": [
312 "https://www.googleapis.com/auth/cloud-platform" , 338 "https://www.googleapis.com/auth/cloud-platform" ,
313 "https://www.googleapis.com/auth/cloud-platform. read-only", 339 "https://www.googleapis.com/auth/cloud-platform. read-only",
314 "https://www.googleapis.com/auth/logging.admin", 340 "https://www.googleapis.com/auth/logging.admin",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 "$ref": "LogMetric" 418 "$ref": "LogMetric"
393 }, 419 },
394 "response": { 420 "response": {
395 "$ref": "LogMetric" 421 "$ref": "LogMetric"
396 }, 422 },
397 "scopes": [ 423 "scopes": [
398 "https://www.googleapis.com/auth/cloud-platform" , 424 "https://www.googleapis.com/auth/cloud-platform" ,
399 "https://www.googleapis.com/auth/logging.admin", 425 "https://www.googleapis.com/auth/logging.admin",
400 "https://www.googleapis.com/auth/logging.write" 426 "https://www.googleapis.com/auth/logging.write"
401 ] 427 ]
402 },
403 "delete": {
404 "description": "Deletes a logs-based metric.",
405 "httpMethod": "DELETE",
406 "id": "logging.projects.metrics.delete",
407 "parameterOrder": [
408 "metricName"
409 ],
410 "parameters": {
411 "metricName": {
412 "description": "The resource name of the met ric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
413 "location": "path",
414 "pattern": "^projects/[^/]+/metrics/[^/]+$",
415 "required": true,
416 "type": "string"
417 }
418 },
419 "path": "v2beta1/{+metricName}",
420 "response": {
421 "$ref": "Empty"
422 },
423 "scopes": [
424 "https://www.googleapis.com/auth/cloud-platform" ,
425 "https://www.googleapis.com/auth/logging.admin",
426 "https://www.googleapis.com/auth/logging.write"
427 ]
428 } 428 }
429 } 429 }
430 }, 430 },
431 "logs": { 431 "logs": {
432 "methods": { 432 "methods": {
433 "delete": { 433 "delete": {
434 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries.", 434 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
435 "httpMethod": "DELETE", 435 "httpMethod": "DELETE",
436 "id": "logging.projects.logs.delete", 436 "id": "logging.projects.logs.delete",
437 "parameterOrder": [ 437 "parameterOrder": [
438 "logName" 438 "logName"
439 ], 439 ],
440 "parameters": { 440 "parameters": {
441 "logName": { 441 "logName": {
442 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \" projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresou rcemanager.googleapis.com%2Factivity\". For more information about log names, se e LogEntry.", 442 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
443 "location": "path", 443 "location": "path",
444 "pattern": "^projects/[^/]+/logs/[^/]+$", 444 "pattern": "^projects/[^/]+/logs/[^/]+$",
445 "required": true, 445 "required": true,
446 "type": "string" 446 "type": "string"
447 } 447 }
448 }, 448 },
449 "path": "v2beta1/{+logName}", 449 "path": "v2beta1/{+logName}",
450 "response": { 450 "response": {
451 "$ref": "Empty" 451 "$ref": "Empty"
452 }, 452 },
453 "scopes": [ 453 "scopes": [
454 "https://www.googleapis.com/auth/cloud-platform" , 454 "https://www.googleapis.com/auth/cloud-platform" ,
455 "https://www.googleapis.com/auth/logging.admin" 455 "https://www.googleapis.com/auth/logging.admin"
456 ] 456 ]
457 }, 457 },
458 "list": { 458 "list": {
459 "description": "Lists the logs in projects or organi zations. Only logs that have entries are listed.", 459 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
460 "httpMethod": "GET", 460 "httpMethod": "GET",
461 "id": "logging.projects.logs.list", 461 "id": "logging.projects.logs.list",
462 "parameterOrder": [ 462 "parameterOrder": [
463 "parent" 463 "parent"
464 ], 464 ],
465 "parameters": { 465 "parameters": {
466 "parent": {
467 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n",
468 "location": "path",
469 "pattern": "^projects/[^/]+$",
470 "required": true,
471 "type": "string"
472 },
473 "pageToken": { 466 "pageToken": {
474 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 467 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
475 "location": "query", 468 "location": "query",
476 "type": "string" 469 "type": "string"
477 }, 470 },
478 "pageSize": { 471 "pageSize": {
479 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 472 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
480 "format": "int32", 473 "format": "int32",
481 "location": "query", 474 "location": "query",
482 "type": "integer" 475 "type": "integer"
476 },
477 "parent": {
478 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
479 "location": "path",
480 "pattern": "^projects/[^/]+$",
481 "required": true,
482 "type": "string"
483 } 483 }
484 }, 484 },
485 "path": "v2beta1/{+parent}/logs", 485 "path": "v2beta1/{+parent}/logs",
486 "response": { 486 "response": {
487 "$ref": "ListLogsResponse" 487 "$ref": "ListLogsResponse"
488 }, 488 },
489 "scopes": [ 489 "scopes": [
490 "https://www.googleapis.com/auth/cloud-platform" , 490 "https://www.googleapis.com/auth/cloud-platform" ,
491 "https://www.googleapis.com/auth/cloud-platform. read-only", 491 "https://www.googleapis.com/auth/cloud-platform. read-only",
492 "https://www.googleapis.com/auth/logging.admin", 492 "https://www.googleapis.com/auth/logging.admin",
493 "https://www.googleapis.com/auth/logging.read" 493 "https://www.googleapis.com/auth/logging.read"
494 ] 494 ]
495 } 495 }
496 } 496 }
497 }, 497 },
498 "sinks": { 498 "sinks": {
499 "methods": { 499 "methods": {
500 "update": {
501 "description": "Updates a sink. If the named sink do esn't exist, then this method is identical to sinks.create. If the named sink do es exist, then this method replaces the following fields in the existing sink wi th values from the new sink: destination, filter, output_version_format, start_t ime, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.",
502 "httpMethod": "PUT",
503 "id": "logging.projects.sinks.update",
504 "parameterOrder": [
505 "sinkName"
506 ],
507 "parameters": {
508 "sinkName": {
509 "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifie r:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID] /sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
510 "location": "path",
511 "pattern": "^projects/[^/]+/sinks/[^/]+$",
512 "required": true,
513 "type": "string"
514 },
515 "uniqueWriterIdentity": {
516 "description": "Optional. See sinks.create f or a description of this field. When updating a sink, the effect of this field o n the value of writer_identity in the updated sink depends on both the old and n ew values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the ol d value was false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value was true and the new value is false.",
517 "location": "query",
518 "type": "boolean"
519 }
520 },
521 "path": "v2beta1/{+sinkName}",
522 "request": {
523 "$ref": "LogSink"
524 },
525 "response": {
526 "$ref": "LogSink"
527 },
528 "scopes": [
529 "https://www.googleapis.com/auth/cloud-platform" ,
530 "https://www.googleapis.com/auth/logging.admin"
531 ]
532 },
533 "create": {
534 "description": "Creates a sink that exports specifie d log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times o r the sink's writer_identity is not permitted to write to the destination. A sin k can export log entries only from the resource owning the sink.",
535 "httpMethod": "POST",
536 "id": "logging.projects.sinks.create",
537 "parameterOrder": [
538 "parent"
539 ],
540 "parameters": {
541 "uniqueWriterIdentity": {
542 "description": "Optional. Determines the kin d of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value r eturned as writer_identity is cloud-logs@google.com, the same identity used befo re the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from t he new sink. For more information, see writer_identity in LogSink.",
543 "location": "query",
544 "type": "boolean"
545 },
546 "parent": {
547 "description": "Required. The resource in wh ich to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATIO N_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\". ",
548 "location": "path",
549 "pattern": "^projects/[^/]+$",
550 "required": true,
551 "type": "string"
552 }
553 },
554 "path": "v2beta1/{+parent}/sinks",
555 "request": {
556 "$ref": "LogSink"
557 },
558 "response": {
559 "$ref": "LogSink"
560 },
561 "scopes": [
562 "https://www.googleapis.com/auth/cloud-platform" ,
563 "https://www.googleapis.com/auth/logging.admin"
564 ]
565 },
566 "delete": { 500 "delete": {
567 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.", 501 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.",
568 "httpMethod": "DELETE", 502 "httpMethod": "DELETE",
569 "id": "logging.projects.sinks.delete", 503 "id": "logging.projects.sinks.delete",
570 "parameterOrder": [ 504 "parameterOrder": [
571 "sinkName" 505 "sinkName"
572 ], 506 ],
573 "parameters": { 507 "parameters": {
574 "sinkName": { 508 "sinkName": {
575 "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifie r:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID] /sinks/[SINK_ID]\"\nIt is an error if the sink does not exist. Example: \"projec ts/my-project-id/sinks/my-sink-id\". It is an error if the sink does not exist." , 509 "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifie r:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID] /sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\" folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/m y-sink-id\".",
576 "location": "path", 510 "location": "path",
577 "pattern": "^projects/[^/]+/sinks/[^/]+$", 511 "pattern": "^projects/[^/]+/sinks/[^/]+$",
578 "required": true, 512 "required": true,
579 "type": "string" 513 "type": "string"
580 } 514 }
581 }, 515 },
582 "path": "v2beta1/{+sinkName}", 516 "path": "v2beta1/{+sinkName}",
583 "response": { 517 "response": {
584 "$ref": "Empty" 518 "$ref": "Empty"
585 }, 519 },
586 "scopes": [ 520 "scopes": [
587 "https://www.googleapis.com/auth/cloud-platform" , 521 "https://www.googleapis.com/auth/cloud-platform" ,
588 "https://www.googleapis.com/auth/logging.admin" 522 "https://www.googleapis.com/auth/logging.admin"
589 ] 523 ]
590 }, 524 },
591 "list": { 525 "list": {
592 "description": "Lists sinks.", 526 "description": "Lists sinks.",
593 "httpMethod": "GET", 527 "httpMethod": "GET",
594 "id": "logging.projects.sinks.list", 528 "id": "logging.projects.sinks.list",
595 "parameterOrder": [ 529 "parameterOrder": [
596 "parent" 530 "parent"
597 ], 531 ],
598 "parameters": { 532 "parameters": {
533 "pageSize": {
534 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
535 "format": "int32",
536 "location": "query",
537 "type": "integer"
538 },
599 "parent": { 539 "parent": {
600 "description": "Required. The parent resourc e whose sinks are to be listed. Examples: \"projects/my-logging-project\", \"org anizations/123456789\".", 540 "description": "Required. The parent resourc e whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORG ANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID] \"\n",
601 "location": "path", 541 "location": "path",
602 "pattern": "^projects/[^/]+$", 542 "pattern": "^projects/[^/]+$",
603 "required": true, 543 "required": true,
604 "type": "string" 544 "type": "string"
605 }, 545 },
606 "pageToken": { 546 "pageToken": {
607 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 547 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
608 "location": "query", 548 "location": "query",
609 "type": "string" 549 "type": "string"
610 },
611 "pageSize": {
612 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
613 "format": "int32",
614 "location": "query",
615 "type": "integer"
616 } 550 }
617 }, 551 },
618 "path": "v2beta1/{+parent}/sinks", 552 "path": "v2beta1/{+parent}/sinks",
619 "response": { 553 "response": {
620 "$ref": "ListSinksResponse" 554 "$ref": "ListSinksResponse"
621 }, 555 },
622 "scopes": [ 556 "scopes": [
623 "https://www.googleapis.com/auth/cloud-platform" , 557 "https://www.googleapis.com/auth/cloud-platform" ,
624 "https://www.googleapis.com/auth/cloud-platform. read-only", 558 "https://www.googleapis.com/auth/cloud-platform. read-only",
625 "https://www.googleapis.com/auth/logging.admin", 559 "https://www.googleapis.com/auth/logging.admin",
626 "https://www.googleapis.com/auth/logging.read" 560 "https://www.googleapis.com/auth/logging.read"
627 ] 561 ]
628 }, 562 },
629 "get": { 563 "get": {
630 "description": "Gets a sink.", 564 "description": "Gets a sink.",
631 "httpMethod": "GET", 565 "httpMethod": "GET",
632 "id": "logging.projects.sinks.get", 566 "id": "logging.projects.sinks.get",
633 "parameterOrder": [ 567 "parameterOrder": [
634 "sinkName" 568 "sinkName"
635 ], 569 ],
636 "parameters": { 570 "parameters": {
637 "sinkName": { 571 "sinkName": {
638 "description": "Required. The parent resourc e name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/ [ORGANIZATION_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my- sink-id\".", 572 "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANI ZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK _ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project- id/sinks/my-sink-id\".",
639 "location": "path", 573 "location": "path",
640 "pattern": "^projects/[^/]+/sinks/[^/]+$", 574 "pattern": "^projects/[^/]+/sinks/[^/]+$",
641 "required": true, 575 "required": true,
642 "type": "string" 576 "type": "string"
643 } 577 }
644 }, 578 },
645 "path": "v2beta1/{+sinkName}", 579 "path": "v2beta1/{+sinkName}",
646 "response": { 580 "response": {
647 "$ref": "LogSink" 581 "$ref": "LogSink"
648 }, 582 },
649 "scopes": [ 583 "scopes": [
650 "https://www.googleapis.com/auth/cloud-platform" , 584 "https://www.googleapis.com/auth/cloud-platform" ,
651 "https://www.googleapis.com/auth/cloud-platform. read-only", 585 "https://www.googleapis.com/auth/cloud-platform. read-only",
652 "https://www.googleapis.com/auth/logging.admin", 586 "https://www.googleapis.com/auth/logging.admin",
653 "https://www.googleapis.com/auth/logging.read" 587 "https://www.googleapis.com/auth/logging.read"
654 ] 588 ]
589 },
590 "update": {
591 "description": "Updates a sink. If the named sink do esn't exist, then this method is identical to sinks.create. If the named sink do es exist, then this method replaces the following fields in the existing sink wi th values from the new sink: destination, filter, output_version_format, start_t ime, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.",
592 "httpMethod": "PUT",
593 "id": "logging.projects.sinks.update",
594 "parameterOrder": [
595 "sinkName"
596 ],
597 "parameters": {
598 "sinkName": {
599 "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifie r:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID] /sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\" folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/m y-sink-id\".",
600 "location": "path",
601 "pattern": "^projects/[^/]+/sinks/[^/]+$",
602 "required": true,
603 "type": "string"
604 },
605 "uniqueWriterIdentity": {
606 "description": "Optional. See sinks.create f or a description of this field. When updating a sink, the effect of this field o n the value of writer_identity in the updated sink depends on both the old and n ew values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the ol d value was false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value was true and the new value is false.",
607 "location": "query",
608 "type": "boolean"
609 }
610 },
611 "path": "v2beta1/{+sinkName}",
612 "request": {
613 "$ref": "LogSink"
614 },
615 "response": {
616 "$ref": "LogSink"
617 },
618 "scopes": [
619 "https://www.googleapis.com/auth/cloud-platform" ,
620 "https://www.googleapis.com/auth/logging.admin"
621 ]
622 },
623 "create": {
624 "description": "Creates a sink that exports specifie d log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times o r the sink's writer_identity is not permitted to write to the destination. A sin k can export log entries only from the resource owning the sink.",
625 "httpMethod": "POST",
626 "id": "logging.projects.sinks.create",
627 "parameterOrder": [
628 "parent"
629 ],
630 "parameters": {
631 "parent": {
632 "description": "Required. The resource in wh ich to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATIO N_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExam ples: \"projects/my-logging-project\", \"organizations/123456789\".",
633 "location": "path",
634 "pattern": "^projects/[^/]+$",
635 "required": true,
636 "type": "string"
637 },
638 "uniqueWriterIdentity": {
639 "description": "Optional. Determines the kin d of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value r eturned as writer_identity is cloud-logs@system.gserviceaccount.com, the same id entity used before the addition of writer identities to this API. The sink's des tination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only fo r exports from the new sink. For more information, see writer_identity in LogSin k.",
640 "location": "query",
641 "type": "boolean"
642 }
643 },
644 "path": "v2beta1/{+parent}/sinks",
645 "request": {
646 "$ref": "LogSink"
647 },
648 "response": {
649 "$ref": "LogSink"
650 },
651 "scopes": [
652 "https://www.googleapis.com/auth/cloud-platform" ,
653 "https://www.googleapis.com/auth/logging.admin"
654 ]
655 } 655 }
656 } 656 }
657 } 657 }
658 } 658 }
659 }, 659 },
660 "billingAccounts": { 660 "billingAccounts": {
661 "resources": { 661 "resources": {
662 "logs": { 662 "logs": {
663 "methods": { 663 "methods": {
664 "delete": { 664 "delete": {
665 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries.", 665 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
666 "httpMethod": "DELETE", 666 "httpMethod": "DELETE",
667 "id": "logging.billingAccounts.logs.delete", 667 "id": "logging.billingAccounts.logs.delete",
668 "parameterOrder": [ 668 "parameterOrder": [
669 "logName" 669 "logName"
670 ], 670 ],
671 "parameters": { 671 "parameters": {
672 "logName": { 672 "logName": {
673 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \" projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresou rcemanager.googleapis.com%2Factivity\". For more information about log names, se e LogEntry.", 673 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
674 "location": "path", 674 "location": "path",
675 "pattern": "^billingAccounts/[^/]+/logs/[^/] +$", 675 "pattern": "^billingAccounts/[^/]+/logs/[^/] +$",
676 "required": true, 676 "required": true,
677 "type": "string" 677 "type": "string"
678 } 678 }
679 }, 679 },
680 "path": "v2beta1/{+logName}", 680 "path": "v2beta1/{+logName}",
681 "response": { 681 "response": {
682 "$ref": "Empty" 682 "$ref": "Empty"
683 }, 683 },
684 "scopes": [ 684 "scopes": [
685 "https://www.googleapis.com/auth/cloud-platform" , 685 "https://www.googleapis.com/auth/cloud-platform" ,
686 "https://www.googleapis.com/auth/logging.admin" 686 "https://www.googleapis.com/auth/logging.admin"
687 ] 687 ]
688 }, 688 },
689 "list": { 689 "list": {
690 "description": "Lists the logs in projects or organi zations. Only logs that have entries are listed.", 690 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
691 "httpMethod": "GET", 691 "httpMethod": "GET",
692 "id": "logging.billingAccounts.logs.list", 692 "id": "logging.billingAccounts.logs.list",
693 "parameterOrder": [ 693 "parameterOrder": [
694 "parent" 694 "parent"
695 ], 695 ],
696 "parameters": { 696 "parameters": {
697 "pageToken": { 697 "pageToken": {
698 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 698 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
699 "location": "query", 699 "location": "query",
700 "type": "string" 700 "type": "string"
701 }, 701 },
702 "pageSize": { 702 "pageSize": {
703 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 703 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
704 "format": "int32", 704 "format": "int32",
705 "location": "query", 705 "location": "query",
706 "type": "integer" 706 "type": "integer"
707 }, 707 },
708 "parent": { 708 "parent": {
709 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n", 709 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
710 "location": "path", 710 "location": "path",
711 "pattern": "^billingAccounts/[^/]+$", 711 "pattern": "^billingAccounts/[^/]+$",
712 "required": true, 712 "required": true,
713 "type": "string" 713 "type": "string"
714 } 714 }
715 }, 715 },
716 "path": "v2beta1/{+parent}/logs", 716 "path": "v2beta1/{+parent}/logs",
717 "response": { 717 "response": {
718 "$ref": "ListLogsResponse" 718 "$ref": "ListLogsResponse"
719 }, 719 },
720 "scopes": [ 720 "scopes": [
721 "https://www.googleapis.com/auth/cloud-platform" , 721 "https://www.googleapis.com/auth/cloud-platform" ,
722 "https://www.googleapis.com/auth/cloud-platform. read-only", 722 "https://www.googleapis.com/auth/cloud-platform. read-only",
723 "https://www.googleapis.com/auth/logging.admin", 723 "https://www.googleapis.com/auth/logging.admin",
724 "https://www.googleapis.com/auth/logging.read" 724 "https://www.googleapis.com/auth/logging.read"
725 ] 725 ]
726 } 726 }
727 } 727 }
728 } 728 }
729 } 729 }
730 } 730 }
731 }, 731 },
732 "revision": "20170114", 732 "revision": "20170210",
733 "rootUrl": "https://logging.googleapis.com/", 733 "rootUrl": "https://logging.googleapis.com/",
734 "schemas": { 734 "schemas": {
735 "LabelDescriptor": {
736 "description": "A description of a label.",
737 "id": "LabelDescriptor",
738 "properties": {
739 "key": {
740 "description": "The label key.",
741 "type": "string"
742 },
743 "description": {
744 "description": "A human-readable description for the label." ,
745 "type": "string"
746 },
747 "valueType": {
748 "description": "The type of data that can be assigned to the label.",
749 "enum": [
750 "STRING",
751 "BOOL",
752 "INT64"
753 ],
754 "enumDescriptions": [
755 "A variable-length string. This is the default.",
756 "Boolean; true or false.",
757 "A 64-bit signed integer."
758 ],
759 "type": "string"
760 }
761 },
762 "type": "object"
763 },
764 "MonitoredResourceDescriptor": {
765 "description": "An object that describes the schema of a MonitoredRe source object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_i nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id entify particular VM instances.Different APIs can support different monitored re source types. APIs generally provide a list method that returns the monitored re source descriptors used by the API.",
766 "id": "MonitoredResourceDescriptor",
767 "properties": {
768 "type": {
769 "description": "Required. The monitored resource type. For e xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
770 "type": "string"
771 },
772 "labels": {
773 "description": "Required. A set of labels used to describe i nstances of this monitored resource type. For example, an individual Google Clou d SQL database is identified by values for the labels \"database_id\" and \"zone \".",
774 "items": {
775 "$ref": "LabelDescriptor"
776 },
777 "type": "array"
778 },
779 "name": {
780 "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type }\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitored ResourceDescriptors/{type}\".",
781 "type": "string"
782 },
783 "displayName": {
784 "description": "Optional. A concise name for the monitored r esource type that might be displayed in user interfaces. It should be a Title Ca sed Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".",
785 "type": "string"
786 },
787 "description": {
788 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
789 "type": "string"
790 }
791 },
792 "type": "object"
793 },
794 "LogEntrySourceLocation": {
795 "description": "Additional information about the source code locatio n that produced the log entry.",
796 "id": "LogEntrySourceLocation",
797 "properties": {
798 "function": {
799 "description": "Optional. Human-readable name of the functio n or method being invoked, with optional context such as the class or package na me. This information may be used in contexts such as the logs viewer, where a fi le and line number are less meaningful. The format can vary by language. For exa mple: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). ",
800 "type": "string"
801 },
802 "line": {
803 "description": "Optional. Line within the source file. 1-bas ed; 0 indicates no line number available.",
804 "format": "int64",
805 "type": "string"
806 },
807 "file": {
808 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
809 "type": "string"
810 }
811 },
812 "type": "object"
813 },
735 "ListLogEntriesResponse": { 814 "ListLogEntriesResponse": {
736 "description": "Result returned from ListLogEntries.", 815 "description": "Result returned from ListLogEntries.",
737 "id": "ListLogEntriesResponse", 816 "id": "ListLogEntriesResponse",
738 "properties": { 817 "properties": {
739 "nextPageToken": { 818 "nextPageToken": {
740 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.I f a value for next_page_token appears and the entries field is empty, it means t hat the search found no log entries so far but it did not have time to search al l the possible log entries. Retry the method with this value for page_token to c ontinue the search. Alternatively, consider speeding up the search by changing y our filter to specify a single log name or resource type, or to narrow the time range of the search.", 819 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.I f a value for next_page_token appears and the entries field is empty, it means t hat the search found no log entries so far but it did not have time to search al l the possible log entries. Retry the method with this value for page_token to c ontinue the search. Alternatively, consider speeding up the search by changing y our filter to specify a single log name or resource type, or to narrow the time range of the search.",
741 "type": "string" 820 "type": "string"
742 }, 821 },
743 "entries": { 822 "entries": {
744 "description": "A list of log entries.", 823 "description": "A list of log entries.",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 "Empty": { 896 "Empty": {
818 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Fo o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J SON representation for Empty is empty JSON object {}.", 897 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Fo o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J SON representation for Empty is empty JSON object {}.",
819 "id": "Empty", 898 "id": "Empty",
820 "properties": {}, 899 "properties": {},
821 "type": "object" 900 "type": "object"
822 }, 901 },
823 "LogEntry": { 902 "LogEntry": {
824 "description": "An individual entry in a log.", 903 "description": "An individual entry in a log.",
825 "id": "LogEntry", 904 "id": "LogEntry",
826 "properties": { 905 "properties": {
827 "resource": {
828 "$ref": "MonitoredResource",
829 "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
830 },
831 "httpRequest": {
832 "$ref": "HttpRequest",
833 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
834 },
835 "jsonPayload": {
836 "additionalProperties": {
837 "description": "Properties of the object.",
838 "type": "any"
839 },
840 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
841 "type": "object"
842 },
843 "insertId": {
844 "description": "Optional. A unique ID for the log entry. If you provide this field, the logging service considers other log entries in the s ame project with the same ID as duplicates which can be removed. If omitted, Sta ckdriver Logging will generate a unique ID for this log entry.",
845 "type": "string"
846 },
847 "operation": {
848 "$ref": "LogEntryOperation",
849 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
850 },
851 "textPayload": {
852 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
853 "type": "string"
854 },
855 "protoPayload": { 906 "protoPayload": {
856 "additionalProperties": { 907 "additionalProperties": {
857 "description": "Properties of the object. Contains field @type with type URL.", 908 "description": "Properties of the object. Contains field @type with type URL.",
858 "type": "any" 909 "type": "any"
859 }, 910 },
860 "description": "The log entry payload, represented as a prot ocol buffer. Some Google Cloud Platform services use this field for their log en try payloads.", 911 "description": "The log entry payload, represented as a prot ocol buffer. Some Google Cloud Platform services use this field for their log en try payloads.",
861 "type": "object" 912 "type": "object"
862 }, 913 },
914 "trace": {
915 "description": "Optional. Resource name of the trace associa ted with the log entry, if any. If it contains a relative resource name, the nam e is assumed to be relative to //tracing.googleapis.com. Example: projects/my-pr ojectid/traces/06796866738c859f2f19b7cfb3214824",
916 "type": "string"
917 },
863 "labels": { 918 "labels": {
864 "additionalProperties": { 919 "additionalProperties": {
865 "type": "string" 920 "type": "string"
866 }, 921 },
867 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.", 922 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
868 "type": "object" 923 "type": "object"
869 }, 924 },
870 "trace": {
871 "description": "Optional. Resource name of the trace associa ted with the log entry, if any. If it contains a relative resource name, the nam e is assumed to be relative to //tracing.googleapis.com. Example: projects/my-pr ojectid/traces/06796866738c859f2f19b7cfb3214824",
872 "type": "string"
873 },
874 "severity": { 925 "severity": {
875 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", 926 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
876 "enum": [ 927 "enum": [
877 "DEFAULT", 928 "DEFAULT",
878 "DEBUG", 929 "DEBUG",
879 "INFO", 930 "INFO",
880 "NOTICE", 931 "NOTICE",
881 "WARNING", 932 "WARNING",
882 "ERROR", 933 "ERROR",
883 "CRITICAL", 934 "CRITICAL",
(...skipping 16 matching lines...) Expand all
900 "sourceLocation": { 951 "sourceLocation": {
901 "$ref": "LogEntrySourceLocation", 952 "$ref": "LogEntrySourceLocation",
902 "description": "Optional. Source code location information a ssociated with the log entry, if any." 953 "description": "Optional. Source code location information a ssociated with the log entry, if any."
903 }, 954 },
904 "timestamp": { 955 "timestamp": {
905 "description": "Optional. The time the event described by th e log entry occurred. If omitted, Stackdriver Logging will use the time the log entry is received.", 956 "description": "Optional. The time the event described by th e log entry occurred. If omitted, Stackdriver Logging will use the time the log entry is received.",
906 "format": "google-datetime", 957 "format": "google-datetime",
907 "type": "string" 958 "type": "string"
908 }, 959 },
909 "logName": { 960 "logName": {
910 "description": "Required. The resource name of the log to wh ich this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organiza tions/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log _name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis. com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only in clude the following characters: upper and lower case alphanumeric characters, fo rward-slash, underscore, hyphen, and period.For backward compatibility, if log_n ame begins with a forward-slash, such as /projects/..., then the log entry is in gested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will n ever return any results.", 961 "description": "Required. The resource name of the log to wh ich this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organiza tions/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/ logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-enc oded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemana ger.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatib ility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leadi ng slash will never return any results.",
962 "type": "string"
963 },
964 "httpRequest": {
965 "$ref": "HttpRequest",
966 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
967 },
968 "resource": {
969 "$ref": "MonitoredResource",
970 "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
971 },
972 "jsonPayload": {
973 "additionalProperties": {
974 "description": "Properties of the object.",
975 "type": "any"
976 },
977 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
978 "type": "object"
979 },
980 "operation": {
981 "$ref": "LogEntryOperation",
982 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
983 },
984 "insertId": {
985 "description": "Optional. A unique ID for the log entry. If you provide this field, the logging service considers other log entries in the s ame project with the same ID as duplicates which can be removed. If omitted, Sta ckdriver Logging will generate a unique ID for this log entry.",
986 "type": "string"
987 },
988 "textPayload": {
989 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
911 "type": "string" 990 "type": "string"
912 } 991 }
913 }, 992 },
914 "type": "object" 993 "type": "object"
915 }, 994 },
916 "SourceLocation": { 995 "SourceLocation": {
917 "description": "Specifies a location in a source code file.", 996 "description": "Specifies a location in a source code file.",
918 "id": "SourceLocation", 997 "id": "SourceLocation",
919 "properties": { 998 "properties": {
920 "file": {
921 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.",
922 "type": "string"
923 },
924 "functionName": { 999 "functionName": {
925 "description": "Human-readable name of the function or metho d being invoked, with optional context such as the class or package name. This i nformation is used in contexts such as the logs viewer, where a file and line nu mber are less meaningful. The format can vary by language. For example: qual.if. ied.Class.method (Java), dir/package.func (Go), function (Python).", 1000 "description": "Human-readable name of the function or metho d being invoked, with optional context such as the class or package name. This i nformation is used in contexts such as the logs viewer, where a file and line nu mber are less meaningful. The format can vary by language. For example: qual.if. ied.Class.method (Java), dir/package.func (Go), function (Python).",
926 "type": "string" 1001 "type": "string"
927 }, 1002 },
928 "line": { 1003 "line": {
929 "description": "Line within the source file.", 1004 "description": "Line within the source file.",
930 "format": "int64", 1005 "format": "int64",
931 "type": "string" 1006 "type": "string"
1007 },
1008 "file": {
1009 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.",
1010 "type": "string"
932 } 1011 }
933 }, 1012 },
934 "type": "object" 1013 "type": "object"
935 }, 1014 },
936 "ListLogEntriesRequest": { 1015 "ListLogEntriesRequest": {
937 "description": "The parameters to ListLogEntries.", 1016 "description": "The parameters to ListLogEntries.",
938 "id": "ListLogEntriesRequest", 1017 "id": "ListLogEntriesRequest",
939 "properties": { 1018 "properties": {
1019 "orderBy": {
1020 "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"times tamp desc\". The first option returns entries in order of increasing values of L ogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are retu rned in order of LogEntry.insertId.",
1021 "type": "string"
1022 },
1023 "resourceNames": {
1024 "description": "Required. Names of one or more parent resour ces from which to retrieve log entries:\n\"projects/[PROJECT_ID]\"\n\"organizati ons/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FO LDER_ID]\"\nProjects listed in the project_ids field are added to this list.",
1025 "items": {
1026 "type": "string"
1027 },
1028 "type": "array"
1029 },
940 "projectIds": { 1030 "projectIds": {
941 "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entrie s. Example: \"my-project-1A\". If present, these project identifiers are convert ed to resource name format and added to the list of resources in resource_names. ", 1031 "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entrie s. Example: \"my-project-1A\". If present, these project identifiers are convert ed to resource name format and added to the list of resources in resource_names. ",
942 "items": { 1032 "items": {
943 "type": "string" 1033 "type": "string"
944 }, 1034 },
945 "type": "array" 1035 "type": "array"
946 }, 1036 },
947 "filter": { 1037 "filter": {
948 "description": "Optional. A filter that chooses which log en tries to return. See Advanced Logs Filters. Only log entries that match the filt er are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource _names will cause the filter to return no results. The maximum length of the fil ter is 20000 characters.", 1038 "description": "Optional. A filter that chooses which log en tries to return. See Advanced Logs Filters. Only log entries that match the filt er are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource _names will cause the filter to return no results. The maximum length of the fil ter is 20000 characters.",
949 "type": "string" 1039 "type": "string"
950 }, 1040 },
951 "pageToken": { 1041 "pageToken": {
952 "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method pa rameters should be identical to those in the previous call.", 1042 "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method pa rameters should be identical to those in the previous call.",
953 "type": "string" 1043 "type": "string"
954 }, 1044 },
955 "pageSize": { 1045 "pageSize": {
956 "description": "Optional. The maximum number of results to r eturn from this request. Non-positive values are ignored. The presence of nextPa geToken in the response indicates that more results might be available.", 1046 "description": "Optional. The maximum number of results to r eturn from this request. Non-positive values are ignored. The presence of nextPa geToken in the response indicates that more results might be available.",
957 "format": "int32", 1047 "format": "int32",
958 "type": "integer" 1048 "type": "integer"
959 },
960 "orderBy": {
961 "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"times tamp desc\". The first option returns entries in order of increasing values of L ogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are retu rned in order of LogEntry.insertId.",
962 "type": "string"
963 },
964 "resourceNames": {
965 "description": "Required. Names of one or more resources fro m which to retrieve log entries:\n\"projects/[PROJECT_ID]\"\n\"organizations/[OR GANIZATION_ID]\"\nProjects listed in the project_ids field are added to this lis t.",
966 "items": {
967 "type": "string"
968 },
969 "type": "array"
970 } 1049 }
971 }, 1050 },
972 "type": "object" 1051 "type": "object"
973 }, 1052 },
974 "RequestLog": { 1053 "RequestLog": {
975 "description": "Complete log information about a single HTTP request to an App Engine application.", 1054 "description": "Complete log information about a single HTTP request to an App Engine application.",
976 "id": "RequestLog", 1055 "id": "RequestLog",
977 "properties": { 1056 "properties": {
978 "megaCycles": {
979 "description": "Number of CPU megacycles used to process req uest.",
980 "format": "int64",
981 "type": "string"
982 },
983 "first": {
984 "description": "Whether this is the first RequestLog entry f or this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.",
985 "type": "boolean"
986 },
987 "versionId": {
988 "description": "Version of the application that handled this request.",
989 "type": "string"
990 },
991 "moduleId": {
992 "description": "Module of the application that handled this request.",
993 "type": "string"
994 },
995 "endTime": {
996 "description": "Time when the request finished.",
997 "format": "google-datetime",
998 "type": "string"
999 },
1000 "userAgent": {
1001 "description": "User agent that made the request.",
1002 "type": "string"
1003 },
1004 "wasLoadingRequest": {
1005 "description": "Whether this was a loading request for the i nstance.",
1006 "type": "boolean"
1007 },
1008 "sourceReference": {
1009 "description": "Source code for the application that handled this request. There can be more than one source reference per deployed applicat ion if source code is distributed among multiple repositories.",
1010 "items": {
1011 "$ref": "SourceReference"
1012 },
1013 "type": "array"
1014 },
1015 "responseSize": { 1057 "responseSize": {
1016 "description": "Size in bytes sent back to client by request .", 1058 "description": "Size in bytes sent back to client by request .",
1017 "format": "int64", 1059 "format": "int64",
1018 "type": "string" 1060 "type": "string"
1019 }, 1061 },
1020 "traceId": { 1062 "traceId": {
1021 "description": "Stackdriver Trace identifier for this reques t.", 1063 "description": "Stackdriver Trace identifier for this reques t.",
1022 "type": "string" 1064 "type": "string"
1023 }, 1065 },
1024 "line": { 1066 "line": {
1025 "description": "A list of log lines emitted by the applicati on while serving this request.", 1067 "description": "A list of log lines emitted by the applicati on while serving this request.",
1026 "items": { 1068 "items": {
1027 "$ref": "LogLine" 1069 "$ref": "LogLine"
1028 }, 1070 },
1029 "type": "array" 1071 "type": "array"
1030 }, 1072 },
1073 "taskQueueName": {
1074 "description": "Queue name of the request, in the case of an offline request.",
1075 "type": "string"
1076 },
1031 "referrer": { 1077 "referrer": {
1032 "description": "Referrer URL of request.", 1078 "description": "Referrer URL of request.",
1033 "type": "string" 1079 "type": "string"
1034 }, 1080 },
1035 "taskQueueName": {
1036 "description": "Queue name of the request, in the case of an offline request.",
1037 "type": "string"
1038 },
1039 "requestId": { 1081 "requestId": {
1040 "description": "Globally unique identifier for a request, wh ich is based on the request start time. Request IDs for requests which started l ater will compare greater as strings than those for requests which started earli er.", 1082 "description": "Globally unique identifier for a request, wh ich is based on the request start time. Request IDs for requests which started l ater will compare greater as strings than those for requests which started earli er.",
1041 "type": "string" 1083 "type": "string"
1042 }, 1084 },
1043 "nickname": { 1085 "nickname": {
1044 "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via th e App Engine Users API.This field will be populated starting with App Engine 1.9 .21.", 1086 "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via th e App Engine Users API.This field will be populated starting with App Engine 1.9 .21.",
1045 "type": "string" 1087 "type": "string"
1046 }, 1088 },
1047 "pendingTime": { 1089 "pendingTime": {
1048 "description": "Time this request spent in the pending reque st queue.", 1090 "description": "Time this request spent in the pending reque st queue.",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 "type": "string" 1152 "type": "string"
1111 }, 1153 },
1112 "cost": { 1154 "cost": {
1113 "description": "An indication of the relative cost of servin g this request.", 1155 "description": "An indication of the relative cost of servin g this request.",
1114 "format": "double", 1156 "format": "double",
1115 "type": "number" 1157 "type": "number"
1116 }, 1158 },
1117 "instanceId": { 1159 "instanceId": {
1118 "description": "An identifier for the instance that handled the request.", 1160 "description": "An identifier for the instance that handled the request.",
1119 "type": "string" 1161 "type": "string"
1162 },
1163 "megaCycles": {
1164 "description": "Number of CPU megacycles used to process req uest.",
1165 "format": "int64",
1166 "type": "string"
1167 },
1168 "first": {
1169 "description": "Whether this is the first RequestLog entry f or this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.",
1170 "type": "boolean"
1171 },
1172 "versionId": {
1173 "description": "Version of the application that handled this request.",
1174 "type": "string"
1175 },
1176 "moduleId": {
1177 "description": "Module of the application that handled this request.",
1178 "type": "string"
1179 },
1180 "endTime": {
1181 "description": "Time when the request finished.",
1182 "format": "google-datetime",
1183 "type": "string"
1184 },
1185 "userAgent": {
1186 "description": "User agent that made the request.",
1187 "type": "string"
1188 },
1189 "wasLoadingRequest": {
1190 "description": "Whether this was a loading request for the i nstance.",
1191 "type": "boolean"
1192 },
1193 "sourceReference": {
1194 "description": "Source code for the application that handled this request. There can be more than one source reference per deployed applicat ion if source code is distributed among multiple repositories.",
1195 "items": {
1196 "$ref": "SourceReference"
1197 },
1198 "type": "array"
1120 } 1199 }
1121 }, 1200 },
1122 "type": "object" 1201 "type": "object"
1123 }, 1202 },
1124 "ListMonitoredResourceDescriptorsResponse": { 1203 "ListMonitoredResourceDescriptorsResponse": {
1125 "description": "Result returned from ListMonitoredResourceDescriptor s.", 1204 "description": "Result returned from ListMonitoredResourceDescriptor s.",
1126 "id": "ListMonitoredResourceDescriptorsResponse", 1205 "id": "ListMonitoredResourceDescriptorsResponse",
1127 "properties": { 1206 "properties": {
1207 "nextPageToken": {
1208 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." ,
1209 "type": "string"
1210 },
1128 "resourceDescriptors": { 1211 "resourceDescriptors": {
1129 "description": "A list of resource descriptors.", 1212 "description": "A list of resource descriptors.",
1130 "items": { 1213 "items": {
1131 "$ref": "MonitoredResourceDescriptor" 1214 "$ref": "MonitoredResourceDescriptor"
1132 }, 1215 },
1133 "type": "array" 1216 "type": "array"
1134 },
1135 "nextPageToken": {
1136 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." ,
1137 "type": "string"
1138 } 1217 }
1139 }, 1218 },
1140 "type": "object" 1219 "type": "object"
1141 }, 1220 },
1142 "SourceReference": { 1221 "SourceReference": {
1143 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.", 1222 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.",
1144 "id": "SourceReference", 1223 "id": "SourceReference",
1145 "properties": { 1224 "properties": {
1225 "revisionId": {
1226 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "",
1227 "type": "string"
1228 },
1146 "repository": { 1229 "repository": {
1147 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", 1230 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
1148 "type": "string" 1231 "type": "string"
1149 },
1150 "revisionId": {
1151 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "",
1152 "type": "string"
1153 } 1232 }
1154 }, 1233 },
1155 "type": "object" 1234 "type": "object"
1156 }, 1235 },
1157 "LogEntryOperation": { 1236 "WriteLogEntriesResponse": {
1158 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.", 1237 "description": "Result returned from WriteLogEntries. empty",
1159 "id": "LogEntryOperation", 1238 "id": "WriteLogEntriesResponse",
1160 "properties": { 1239 "properties": {},
1161 "last": {
1162 "description": "Optional. Set this to True if this is the la st log entry in the operation.",
1163 "type": "boolean"
1164 },
1165 "id": {
1166 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.",
1167 "type": "string"
1168 },
1169 "producer": {
1170 "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for produce r: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
1171 "type": "string"
1172 },
1173 "first": {
1174 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.",
1175 "type": "boolean"
1176 }
1177 },
1178 "type": "object" 1240 "type": "object"
1179 }, 1241 },
1180 "LogMetric": { 1242 "LogMetric": {
1181 "description": "Describes a logs-based metric. The value of the metr ic is the number of log entries that match a logs filter in a given time interva l.", 1243 "description": "Describes a logs-based metric. The value of the metr ic is the number of log entries that match a logs filter in a given time interva l.",
1182 "id": "LogMetric", 1244 "id": "LogMetric",
1183 "properties": { 1245 "properties": {
1246 "description": {
1247 "description": "Optional. A description of this metric, whic h is used in documentation.",
1248 "type": "string"
1249 },
1184 "version": { 1250 "version": {
1185 "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter express ion. When a value for this field is missing, the default value of V2 should be a ssumed.", 1251 "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter express ion. When a value for this field is missing, the default value of V2 should be a ssumed.",
1186 "enum": [ 1252 "enum": [
1187 "V2", 1253 "V2",
1188 "V1" 1254 "V1"
1189 ], 1255 ],
1190 "enumDescriptions": [ 1256 "enumDescriptions": [
1191 "Stackdriver Logging API v2.", 1257 "Stackdriver Logging API v2.",
1192 "Stackdriver Logging API v1." 1258 "Stackdriver Logging API v1."
1193 ], 1259 ],
1194 "type": "string" 1260 "type": "string"
1195 }, 1261 },
1196 "filter": { 1262 "filter": {
1197 "description": "Required. An advanced logs filter which is u sed to match log entries. Example:\n\"resource.type=gae_app AND severity>=ERROR\ "\nThe maximum length of the filter is 20000 characters.", 1263 "description": "Required. An advanced logs filter which is u sed to match log entries. Example:\n\"resource.type=gae_app AND severity>=ERROR\ "\nThe maximum length of the filter is 20000 characters.",
1198 "type": "string" 1264 "type": "string"
1199 }, 1265 },
1200 "name": { 1266 "name": {
1201 "description": "Required. The client-assigned metric identif ier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limite d to 100 characters and can include only the following characters: A-Z, a-z, 0-9 , and the special characters _-.,+!*',()%/. The forward-slash character (/) deno tes a hierarchy of name pieces, and it cannot be the first character of the name .The metric identifier in this field must not be URL-encoded (https://en.wikiped ia.org/wiki/Percent-encoding). However, when the metric identifier appears as th e [METRIC_ID] part of a metric_name API parameter, then the metric identifier mu st be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".", 1267 "description": "Required. The client-assigned metric identif ier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limite d to 100 characters and can include only the following characters: A-Z, a-z, 0-9 , and the special characters _-.,+!*',()%/. The forward-slash character (/) deno tes a hierarchy of name pieces, and it cannot be the first character of the name .The metric identifier in this field must not be URL-encoded (https://en.wikiped ia.org/wiki/Percent-encoding). However, when the metric identifier appears as th e [METRIC_ID] part of a metric_name API parameter, then the metric identifier mu st be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".",
1202 "type": "string" 1268 "type": "string"
1203 },
1204 "description": {
1205 "description": "Optional. A description of this metric, whic h is used in documentation.",
1206 "type": "string"
1207 } 1269 }
1208 }, 1270 },
1209 "type": "object" 1271 "type": "object"
1210 }, 1272 },
1211 "WriteLogEntriesResponse": { 1273 "LogEntryOperation": {
1212 "description": "Result returned from WriteLogEntries. empty", 1274 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.",
1213 "id": "WriteLogEntriesResponse", 1275 "id": "LogEntryOperation",
1214 "properties": {}, 1276 "properties": {
1277 "id": {
1278 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.",
1279 "type": "string"
1280 },
1281 "producer": {
1282 "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for produce r: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
1283 "type": "string"
1284 },
1285 "first": {
1286 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.",
1287 "type": "boolean"
1288 },
1289 "last": {
1290 "description": "Optional. Set this to True if this is the la st log entry in the operation.",
1291 "type": "boolean"
1292 }
1293 },
1215 "type": "object" 1294 "type": "object"
1216 }, 1295 },
1217 "MonitoredResource": { 1296 "MonitoredResource": {
1218 "description": "An object representing a resource that can be used f or monitoring, logging, billing, or other purposes. Examples include virtual mac hine instances, databases, and storage devices such as disks. The type field ide ntifies a MonitoredResourceDescriptor object that describes the resource's schem a. Information in the labels field identifies the actual resource and its attrib utes according to the schema. For example, a particular Compute Engine VM instan ce could be represented by the following object, because the MonitoredResourceDe scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type \": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n", 1297 "description": "An object representing a resource that can be used f or monitoring, logging, billing, or other purposes. Examples include virtual mac hine instances, databases, and storage devices such as disks. The type field ide ntifies a MonitoredResourceDescriptor object that describes the resource's schem a. Information in the labels field identifies the actual resource and its attrib utes according to the schema. For example, a particular Compute Engine VM instan ce could be represented by the following object, because the MonitoredResourceDe scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type \": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
1219 "id": "MonitoredResource", 1298 "id": "MonitoredResource",
1220 "properties": { 1299 "properties": {
1300 "type": {
1301 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Cloud SQL database is \"cloudsql_database\".",
1302 "type": "string"
1303 },
1221 "labels": { 1304 "labels": {
1222 "additionalProperties": { 1305 "additionalProperties": {
1223 "type": "string" 1306 "type": "string"
1224 }, 1307 },
1225 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Cloud SQL databa ses use the labels \"database_id\" and \"zone\".", 1308 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Cloud SQL databa ses use the labels \"database_id\" and \"zone\".",
1226 "type": "object" 1309 "type": "object"
1310 }
1311 },
1312 "type": "object"
1313 },
1314 "WriteLogEntriesRequest": {
1315 "description": "The parameters to WriteLogEntries.",
1316 "id": "WriteLogEntriesRequest",
1317 "properties": {
1318 "logName": {
1319 "description": "Optional. A default log resource name that i s assigned to all log entries in entries that do not specify a value for log_nam e:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/l ogs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folder s/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"proj ects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourc emanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
1320 "type": "string"
1227 }, 1321 },
1228 "type": { 1322 "entries": {
1229 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Cloud SQL database is \"cloudsql_database\".", 1323 "description": "Required. The log entries to write. Values s upplied for the fields log_name, resource, and labels in this entries.write requ est are added to those log entries that do not provide their own values for the fields.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than callin g this method for each individual log entry.",
1230 "type": "string" 1324 "items": {
1325 "$ref": "LogEntry"
1326 },
1327 "type": "array"
1328 },
1329 "partialSuccess": {
1330 "description": "Optional. Whether valid entries should be wr itten even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENI ED errors. If any entry is not written, the response status will be the error as sociated with one of the failed entries and include error details in the form of WriteLogEntriesPartialErrors.",
1331 "type": "boolean"
1332 },
1333 "labels": {
1334 "additionalProperties": {
1335 "type": "string"
1336 },
1337 "description": "Optional. Default labels that are added to t he labels field of all log entries in entries. If a log entry already has a labe l with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
1338 "type": "object"
1339 },
1340 "resource": {
1341 "$ref": "MonitoredResource",
1342 "description": "Optional. A default monitored resource objec t that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\ ": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry ."
1231 } 1343 }
1232 }, 1344 },
1233 "type": "object" 1345 "type": "object"
1234 }, 1346 },
1235 "LogSink": { 1347 "LogSink": {
1236 "description": "Describes a sink used to export log entries to one o f the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project or organization.", 1348 "description": "Describes a sink used to export log entries to one o f the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing accou nt, or folder.",
1237 "id": "LogSink", 1349 "id": "LogSink",
1238 "properties": { 1350 "properties": {
1239 "name": { 1351 "startTime": {
1240 "description": "Required. The client-assigned sink identifie r, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink iden tifiers are limited to 100 characters and can include only the following charact ers: upper and lower-case alphanumeric characters, underscores, hyphens, and per iods.", 1352 "description": "Optional. The time at which this sink will b egin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
1241 "type": "string"
1242 },
1243 "destination": {
1244 "description": "Required. The export destination:\n\"storage .googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/ datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPI C_ID]\"\nThe sink's writer_identity, set when the sink is created, must have per mission to write to the destination or else the log entries are not exported. Fo r more information, see Exporting Logs With Sinks.",
1245 "type": "string"
1246 },
1247 "filter": {
1248 "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the out put_version_format parameter. For example, in the v2 format:\nlogName=\"projects /[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
1249 "type": "string"
1250 },
1251 "endTime": {
1252 "description": "Optional. The time at which this sink will s top exporting log entries. Log entries are exported only if their timestamp is e arlier than the end time. If this field is not supplied, there is no end time. I f both a start time and an end time are provided, then the end time must be late r than the start time.",
1253 "format": "google-datetime", 1353 "format": "google-datetime",
1254 "type": "string" 1354 "type": "string"
1255 }, 1355 },
1256 "writerIdentity": { 1356 "writerIdentity": {
1257 "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.u pdate, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from thi s sink will fail. For more information, see Granting access for a resource. Cons ult the destination service's documentation to determine the appropriate IAM rol es to assign to the identity.", 1357 "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.u pdate, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from thi s sink will fail. For more information, see Granting access for a resource. Cons ult the destination service's documentation to determine the appropriate IAM rol es to assign to the identity.",
1258 "type": "string" 1358 "type": "string"
1259 }, 1359 },
1260 "startTime": {
1261 "description": "Optional. The time at which this sink will b egin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
1262 "format": "google-datetime",
1263 "type": "string"
1264 },
1265 "outputVersionFormat": { 1360 "outputVersionFormat": {
1266 "description": "Optional. The log entry format to use for th is sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See M igration to the v2 API.", 1361 "description": "Optional. The log entry format to use for th is sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See M igration to the v2 API.",
1267 "enum": [ 1362 "enum": [
1268 "VERSION_FORMAT_UNSPECIFIED", 1363 "VERSION_FORMAT_UNSPECIFIED",
1269 "V2", 1364 "V2",
1270 "V1" 1365 "V1"
1271 ], 1366 ],
1272 "enumDescriptions": [ 1367 "enumDescriptions": [
1273 "An unspecified format version that will default to V2." , 1368 "An unspecified format version that will default to V2." ,
1274 "LogEntry version 2 format.", 1369 "LogEntry version 2 format.",
1275 "LogEntry version 1 format." 1370 "LogEntry version 1 format."
1276 ], 1371 ],
1277 "type": "string" 1372 "type": "string"
1373 },
1374 "name": {
1375 "description": "Required. The client-assigned sink identifie r, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink iden tifiers are limited to 100 characters and can include only the following charact ers: upper and lower-case alphanumeric characters, underscores, hyphens, and per iods.",
1376 "type": "string"
1377 },
1378 "filter": {
1379 "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the out put_version_format parameter. For example, in the v2 format:\nlogName=\"projects /[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
1380 "type": "string"
1381 },
1382 "destination": {
1383 "description": "Required. The export destination:\n\"storage .googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/ datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPI C_ID]\"\nThe sink's writer_identity, set when the sink is created, must have per mission to write to the destination or else the log entries are not exported. Fo r more information, see Exporting Logs With Sinks.",
1384 "type": "string"
1385 },
1386 "endTime": {
1387 "description": "Optional. The time at which this sink will s top exporting log entries. Log entries are exported only if their timestamp is e arlier than the end time. If this field is not supplied, there is no end time. I f both a start time and an end time are provided, then the end time must be late r than the start time.",
1388 "format": "google-datetime",
1389 "type": "string"
1278 } 1390 }
1279 }, 1391 },
1280 "type": "object" 1392 "type": "object"
1281 },
1282 "WriteLogEntriesRequest": {
1283 "description": "The parameters to WriteLogEntries.",
1284 "id": "WriteLogEntriesRequest",
1285 "properties": {
1286 "labels": {
1287 "additionalProperties": {
1288 "type": "string"
1289 },
1290 "description": "Optional. Default labels that are added to t he labels field of all log entries in entries. If a log entry already has a labe l with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
1291 "type": "object"
1292 },
1293 "resource": {
1294 "$ref": "MonitoredResource",
1295 "description": "Optional. A default monitored resource objec t that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\ ": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry ."
1296 },
1297 "logName": {
1298 "description": "Optional. A default log resource name that i s assigned to all log entries in entries that do not specify a value for log_nam e:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/l ogs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project -id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.google apis.com%2Factivity\". For more information about log names, see LogEntry.",
1299 "type": "string"
1300 },
1301 "entries": {
1302 "description": "Required. The log entries to write. Values s upplied for the fields log_name, resource, and labels in this entries.write requ est are added to those log entries that do not provide their own values for the fields.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than callin g this method for each individual log entry.",
1303 "items": {
1304 "$ref": "LogEntry"
1305 },
1306 "type": "array"
1307 },
1308 "partialSuccess": {
1309 "description": "Optional. Whether valid entries should be wr itten even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENI ED errors. If any entry is not written, the response status will be the error as sociated with one of the failed entries and include error details in the form of WriteLogEntriesPartialErrors.",
1310 "type": "boolean"
1311 }
1312 },
1313 "type": "object"
1314 }, 1393 },
1315 "ListLogsResponse": { 1394 "ListLogsResponse": {
1316 "description": "Result returned from ListLogs.", 1395 "description": "Result returned from ListLogs.",
1317 "id": "ListLogsResponse", 1396 "id": "ListLogsResponse",
1318 "properties": { 1397 "properties": {
1319 "nextPageToken": {
1320 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." ,
1321 "type": "string"
1322 },
1323 "logNames": { 1398 "logNames": {
1324 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".", 1399 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".",
1325 "items": { 1400 "items": {
1326 "type": "string" 1401 "type": "string"
1327 }, 1402 },
1328 "type": "array" 1403 "type": "array"
1404 },
1405 "nextPageToken": {
1406 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." ,
1407 "type": "string"
1329 } 1408 }
1330 }, 1409 },
1331 "type": "object" 1410 "type": "object"
1332 },
1333 "ListSinksResponse": {
1334 "description": "Result returned from ListSinks.",
1335 "id": "ListSinksResponse",
1336 "properties": {
1337 "nextPageToken": {
1338 "description": "If there might be more results than appear i n this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
1339 "type": "string"
1340 },
1341 "sinks": {
1342 "description": "A list of sinks.",
1343 "items": {
1344 "$ref": "LogSink"
1345 },
1346 "type": "array"
1347 }
1348 },
1349 "type": "object"
1350 }, 1411 },
1351 "HttpRequest": { 1412 "HttpRequest": {
1352 "description": "A common proto for logging HTTP requests. Only conta ins semantics defined by the HTTP specification. Product-specific logging inform ation MUST be defined in a separate message.", 1413 "description": "A common proto for logging HTTP requests. Only conta ins semantics defined by the HTTP specification. Product-specific logging inform ation MUST be defined in a separate message.",
1353 "id": "HttpRequest", 1414 "id": "HttpRequest",
1354 "properties": { 1415 "properties": {
1355 "cacheLookup": { 1416 "userAgent": {
1356 "description": "Whether or not a cache lookup was attempted. ", 1417 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
1357 "type": "boolean"
1358 },
1359 "cacheHit": {
1360 "description": "Whether or not an entity was served from cac he (with or without validation).",
1361 "type": "boolean"
1362 },
1363 "cacheValidatedWithOriginServer": {
1364 "description": "Whether or not the response was validated wi th the origin server before being served from cache. This field is only meaningf ul if cache_hit is True.",
1365 "type": "boolean"
1366 },
1367 "status": {
1368 "description": "The response code indicating the status of r esponse. Examples: 200, 404.",
1369 "format": "int32",
1370 "type": "integer"
1371 },
1372 "referer": {
1373 "description": "The referer URL of the request, as defined i n HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616 -sec14.html).",
1374 "type": "string" 1418 "type": "string"
1375 }, 1419 },
1376 "latency": { 1420 "latency": {
1377 "description": "The request processing latency on the server , from the time the request was received until the response was sent.", 1421 "description": "The request processing latency on the server , from the time the request was received until the response was sent.",
1378 "format": "google-duration", 1422 "format": "google-duration",
1379 "type": "string" 1423 "type": "string"
1380 }, 1424 },
1381 "userAgent": {
1382 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
1383 "type": "string"
1384 },
1385 "cacheFillBytes": { 1425 "cacheFillBytes": {
1386 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.", 1426 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.",
1387 "format": "int64", 1427 "format": "int64",
1388 "type": "string" 1428 "type": "string"
1389 }, 1429 },
1390 "requestMethod": { 1430 "requestMethod": {
1391 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".", 1431 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".",
1392 "type": "string" 1432 "type": "string"
1393 }, 1433 },
1394 "responseSize": { 1434 "responseSize": {
(...skipping 10 matching lines...) Expand all
1405 "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://exa mple.com/some/info?color=red\".", 1445 "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://exa mple.com/some/info?color=red\".",
1406 "type": "string" 1446 "type": "string"
1407 }, 1447 },
1408 "serverIp": { 1448 "serverIp": {
1409 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.", 1449 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
1410 "type": "string" 1450 "type": "string"
1411 }, 1451 },
1412 "remoteIp": { 1452 "remoteIp": {
1413 "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E: 8329\".", 1453 "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E: 8329\".",
1414 "type": "string" 1454 "type": "string"
1455 },
1456 "cacheLookup": {
1457 "description": "Whether or not a cache lookup was attempted. ",
1458 "type": "boolean"
1459 },
1460 "cacheHit": {
1461 "description": "Whether or not an entity was served from cac he (with or without validation).",
1462 "type": "boolean"
1463 },
1464 "cacheValidatedWithOriginServer": {
1465 "description": "Whether or not the response was validated wi th the origin server before being served from cache. This field is only meaningf ul if cache_hit is True.",
1466 "type": "boolean"
1467 },
1468 "status": {
1469 "description": "The response code indicating the status of r esponse. Examples: 200, 404.",
1470 "format": "int32",
1471 "type": "integer"
1472 },
1473 "referer": {
1474 "description": "The referer URL of the request, as defined i n HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616 -sec14.html).",
1475 "type": "string"
1415 } 1476 }
1416 }, 1477 },
1417 "type": "object" 1478 "type": "object"
1418 }, 1479 },
1419 "LabelDescriptor": { 1480 "ListSinksResponse": {
1420 "description": "A description of a label.", 1481 "description": "Result returned from ListSinks.",
1421 "id": "LabelDescriptor", 1482 "id": "ListSinksResponse",
1422 "properties": { 1483 "properties": {
1423 "key": { 1484 "sinks": {
1424 "description": "The label key.", 1485 "description": "A list of sinks.",
1425 "type": "string" 1486 "items": {
1487 "$ref": "LogSink"
1488 },
1489 "type": "array"
1426 }, 1490 },
1427 "description": { 1491 "nextPageToken": {
1428 "description": "A human-readable description for the label." , 1492 "description": "If there might be more results than appear i n this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
1429 "type": "string"
1430 },
1431 "valueType": {
1432 "description": "The type of data that can be assigned to the label.",
1433 "enum": [
1434 "STRING",
1435 "BOOL",
1436 "INT64"
1437 ],
1438 "enumDescriptions": [
1439 "A variable-length string. This is the default.",
1440 "Boolean; true or false.",
1441 "A 64-bit signed integer."
1442 ],
1443 "type": "string" 1493 "type": "string"
1444 } 1494 }
1445 }, 1495 },
1446 "type": "object"
1447 },
1448 "MonitoredResourceDescriptor": {
1449 "description": "An object that describes the schema of a MonitoredRe source object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_i nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id entify particular VM instances.Different APIs can support different monitored re source types. APIs generally provide a list method that returns the monitored re source descriptors used by the API.",
1450 "id": "MonitoredResourceDescriptor",
1451 "properties": {
1452 "labels": {
1453 "description": "Required. A set of labels used to describe i nstances of this monitored resource type. For example, an individual Google Clou d SQL database is identified by values for the labels \"database_id\" and \"zone \".",
1454 "items": {
1455 "$ref": "LabelDescriptor"
1456 },
1457 "type": "array"
1458 },
1459 "name": {
1460 "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type }\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitored ResourceDescriptors/{type}\".",
1461 "type": "string"
1462 },
1463 "displayName": {
1464 "description": "Optional. A concise name for the monitored r esource type that might be displayed in user interfaces. It should be a Title Ca sed Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".",
1465 "type": "string"
1466 },
1467 "description": {
1468 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
1469 "type": "string"
1470 },
1471 "type": {
1472 "description": "Required. The monitored resource type. For e xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
1473 "type": "string"
1474 }
1475 },
1476 "type": "object"
1477 },
1478 "LogEntrySourceLocation": {
1479 "description": "Additional information about the source code locatio n that produced the log entry.",
1480 "id": "LogEntrySourceLocation",
1481 "properties": {
1482 "file": {
1483 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
1484 "type": "string"
1485 },
1486 "function": {
1487 "description": "Optional. Human-readable name of the functio n or method being invoked, with optional context such as the class or package na me. This information may be used in contexts such as the logs viewer, where a fi le and line number are less meaningful. The format can vary by language. For exa mple: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). ",
1488 "type": "string"
1489 },
1490 "line": {
1491 "description": "Optional. Line within the source file. 1-bas ed; 0 indicates no line number available.",
1492 "format": "int64",
1493 "type": "string"
1494 }
1495 },
1496 "type": "object" 1496 "type": "object"
1497 } 1497 }
1498 }, 1498 },
1499 "servicePath": "", 1499 "servicePath": "",
1500 "title": "Stackdriver Logging API", 1500 "title": "Stackdriver Logging API",
1501 "version": "v2beta1" 1501 "version": "v2beta1"
1502 } 1502 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/language__v1beta1.json ('k') | discovery/googleapis_beta/ml__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698