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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
5 "https://www.googleapis.com/auth/logging.write": { 8 "https://www.googleapis.com/auth/logging.write": {
6 "description": "Submit log data for your projects" 9 "description": "Submit log data for your projects"
7 }, 10 },
8 "https://www.googleapis.com/auth/logging.read": { 11 "https://www.googleapis.com/auth/logging.read": {
9 "description": "View log data for your projects" 12 "description": "View log data for your projects"
10 }, 13 },
11 "https://www.googleapis.com/auth/logging.admin": { 14 "https://www.googleapis.com/auth/logging.admin": {
12 "description": "Administrate log data for your projects" 15 "description": "Administrate log data for your projects"
13 }, 16 },
14 "https://www.googleapis.com/auth/cloud-platform.read-only": { 17 "https://www.googleapis.com/auth/cloud-platform.read-only": {
15 "description": "View your data across Google Cloud Platform services" 18 "description": "View your data across Google Cloud Platform services"
16 },
17 "https://www.googleapis.com/auth/cloud-platform": {
18 "description": "View and manage your data across Google Clou d Platform services"
19 } 19 }
20 } 20 }
21 } 21 }
22 }, 22 },
23 "basePath": "", 23 "basePath": "",
24 "baseUrl": "https://logging.googleapis.com/", 24 "baseUrl": "https://logging.googleapis.com/",
25 "batchPath": "batch", 25 "batchPath": "batch",
26 "canonicalName": "Logging", 26 "canonicalName": "Logging",
27 "description": "Writes log entries and manages your Stackdriver Logging conf iguration.", 27 "description": "Writes log entries and manages your Stackdriver Logging conf iguration.",
28 "discoveryVersion": "v1", 28 "discoveryVersion": "v1",
29 "documentationLink": "https://cloud.google.com/logging/docs/", 29 "documentationLink": "https://cloud.google.com/logging/docs/",
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 "fields": { 40 "bearer_token": {
41 "description": "Selector specifying which fields to include in a par tial response.", 41 "description": "OAuth bearer token.",
42 "location": "query", 42 "location": "query",
43 "type": "string" 43 "type": "string"
44 }, 44 },
45 "oauth_token": {
46 "description": "OAuth 2.0 token for the current user.",
47 "location": "query",
48 "type": "string"
49 },
50 "upload_protocol": {
51 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
52 "location": "query",
53 "type": "string"
54 },
55 "prettyPrint": {
56 "default": "true",
57 "description": "Returns response with indentations and line breaks." ,
58 "location": "query",
59 "type": "boolean"
60 },
45 "uploadType": { 61 "uploadType": {
46 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 62 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
47 "location": "query", 63 "location": "query",
48 "type": "string" 64 "type": "string"
49 }, 65 },
50 "callback": { 66 "fields": {
51 "description": "JSONP", 67 "description": "Selector specifying which fields to include in a par tial response.",
52 "location": "query", 68 "location": "query",
53 "type": "string" 69 "type": "string"
54 }, 70 },
55 "$.xgafv": { 71 "$.xgafv": {
56 "description": "V1 error format.", 72 "description": "V1 error format.",
57 "enum": [ 73 "enum": [
58 "1", 74 "1",
59 "2" 75 "2"
60 ], 76 ],
61 "enumDescriptions": [ 77 "enumDescriptions": [
62 "v1 error format", 78 "v1 error format",
63 "v2 error format" 79 "v2 error format"
64 ], 80 ],
65 "location": "query", 81 "location": "query",
66 "type": "string" 82 "type": "string"
67 }, 83 },
84 "callback": {
85 "description": "JSONP",
86 "location": "query",
87 "type": "string"
88 },
68 "alt": { 89 "alt": {
69 "default": "json", 90 "default": "json",
70 "description": "Data format for response.", 91 "description": "Data format for response.",
71 "enum": [ 92 "enum": [
72 "json", 93 "json",
73 "media", 94 "media",
74 "proto" 95 "proto"
75 ], 96 ],
76 "enumDescriptions": [ 97 "enumDescriptions": [
77 "Responses with Content-Type of application/json", 98 "Responses with Content-Type of application/json",
78 "Media download with context-dependent Content-Type", 99 "Media download with context-dependent Content-Type",
79 "Responses with Content-Type of application/x-protobuf" 100 "Responses with Content-Type of application/x-protobuf"
80 ], 101 ],
81 "location": "query", 102 "location": "query",
82 "type": "string" 103 "type": "string"
83 }, 104 },
105 "access_token": {
106 "description": "OAuth access token.",
107 "location": "query",
108 "type": "string"
109 },
84 "key": { 110 "key": {
85 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 111 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
86 "location": "query", 112 "location": "query",
87 "type": "string" 113 "type": "string"
88 }, 114 },
89 "access_token": {
90 "description": "OAuth access token.",
91 "location": "query",
92 "type": "string"
93 },
94 "quotaUser": { 115 "quotaUser": {
95 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 116 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
96 "location": "query", 117 "location": "query",
97 "type": "string" 118 "type": "string"
98 }, 119 },
99 "pp": { 120 "pp": {
100 "default": "true", 121 "default": "true",
101 "description": "Pretty-print response.", 122 "description": "Pretty-print response.",
102 "location": "query", 123 "location": "query",
103 "type": "boolean" 124 "type": "boolean"
104 },
105 "bearer_token": {
106 "description": "OAuth bearer token.",
107 "location": "query",
108 "type": "string"
109 },
110 "oauth_token": {
111 "description": "OAuth 2.0 token for the current user.",
112 "location": "query",
113 "type": "string"
114 },
115 "upload_protocol": {
116 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
117 "location": "query",
118 "type": "string"
119 },
120 "prettyPrint": {
121 "default": "true",
122 "description": "Returns response with indentations and line breaks." ,
123 "location": "query",
124 "type": "boolean"
125 } 125 }
126 }, 126 },
127 "protocol": "rest", 127 "protocol": "rest",
128 "resources": { 128 "resources": {
129 "monitoredResourceDescriptors": {
130 "methods": {
131 "list": {
132 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.",
133 "httpMethod": "GET",
134 "id": "logging.monitoredResourceDescriptors.list",
135 "parameterOrder": [],
136 "parameters": {
137 "pageToken": {
138 "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 m ethod parameters should be identical to those in the previous call.",
139 "location": "query",
140 "type": "string"
141 },
142 "pageSize": {
143 "description": "Optional. The maximum number of resu lts to return from this request. Non-positive values are ignored. The presence o f nextPageToken in the response indicates that more results might be available." ,
144 "format": "int32",
145 "location": "query",
146 "type": "integer"
147 }
148 },
149 "path": "v2beta1/monitoredResourceDescriptors",
150 "response": {
151 "$ref": "ListMonitoredResourceDescriptorsResponse"
152 },
153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform",
155 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
156 "https://www.googleapis.com/auth/logging.admin",
157 "https://www.googleapis.com/auth/logging.read"
158 ]
159 }
160 }
161 },
162 "organizations": {
163 "resources": {
164 "logs": {
165 "methods": {
166 "delete": {
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",
169 "id": "logging.organizations.logs.delete",
170 "parameterOrder": [
171 "logName"
172 ],
173 "parameters": {
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\"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",
177 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
178 "required": true,
179 "type": "string"
180 }
181 },
182 "path": "v2beta1/{+logName}",
183 "response": {
184 "$ref": "Empty"
185 },
186 "scopes": [
187 "https://www.googleapis.com/auth/cloud-platform" ,
188 "https://www.googleapis.com/auth/logging.admin"
189 ]
190 },
191 "list": {
192 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
193 "httpMethod": "GET",
194 "id": "logging.organizations.logs.list",
195 "parameterOrder": [
196 "parent"
197 ],
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 },
206 "pageToken": {
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.",
208 "location": "query",
209 "type": "string"
210 },
211 "pageSize": {
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.",
213 "format": "int32",
214 "location": "query",
215 "type": "integer"
216 }
217 },
218 "path": "v2beta1/{+parent}/logs",
219 "response": {
220 "$ref": "ListLogsResponse"
221 },
222 "scopes": [
223 "https://www.googleapis.com/auth/cloud-platform" ,
224 "https://www.googleapis.com/auth/cloud-platform. read-only",
225 "https://www.googleapis.com/auth/logging.admin",
226 "https://www.googleapis.com/auth/logging.read"
227 ]
228 }
229 }
230 }
231 }
232 },
233 "entries": {
234 "methods": {
235 "write": {
236 "description": "Writes log entries to Stackdriver Logging.",
237 "httpMethod": "POST",
238 "id": "logging.entries.write",
239 "parameterOrder": [],
240 "parameters": {},
241 "path": "v2beta1/entries:write",
242 "request": {
243 "$ref": "WriteLogEntriesRequest"
244 },
245 "response": {
246 "$ref": "WriteLogEntriesResponse"
247 },
248 "scopes": [
249 "https://www.googleapis.com/auth/cloud-platform",
250 "https://www.googleapis.com/auth/logging.admin",
251 "https://www.googleapis.com/auth/logging.write"
252 ]
253 },
254 "list": {
255 "description": "Lists log entries. Use this method to retrie ve log entries from Stackdriver Logging. For ways to export log entries, see Exp orting Logs.",
256 "httpMethod": "POST",
257 "id": "logging.entries.list",
258 "parameterOrder": [],
259 "parameters": {},
260 "path": "v2beta1/entries:list",
261 "request": {
262 "$ref": "ListLogEntriesRequest"
263 },
264 "response": {
265 "$ref": "ListLogEntriesResponse"
266 },
267 "scopes": [
268 "https://www.googleapis.com/auth/cloud-platform",
269 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
270 "https://www.googleapis.com/auth/logging.admin",
271 "https://www.googleapis.com/auth/logging.read"
272 ]
273 }
274 }
275 },
276 "projects": { 129 "projects": {
277 "resources": { 130 "resources": {
278 "sinks": { 131 "sinks": {
279 "methods": { 132 "methods": {
280 "update": { 133 "update": {
281 "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.", 134 "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.",
282 "httpMethod": "PUT", 135 "httpMethod": "PUT",
283 "id": "logging.projects.sinks.update", 136 "id": "logging.projects.sinks.update",
284 "parameterOrder": [ 137 "parameterOrder": [
285 "sinkName" 138 "sinkName"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 ] 316 ]
464 }, 317 },
465 "list": { 318 "list": {
466 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 319 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
467 "httpMethod": "GET", 320 "httpMethod": "GET",
468 "id": "logging.projects.logs.list", 321 "id": "logging.projects.logs.list",
469 "parameterOrder": [ 322 "parameterOrder": [
470 "parent" 323 "parent"
471 ], 324 ],
472 "parameters": { 325 "parameters": {
473 "parent": {
474 "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",
475 "location": "path",
476 "pattern": "^projects/[^/]+$",
477 "required": true,
478 "type": "string"
479 },
480 "pageToken": { 326 "pageToken": {
481 "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.", 327 "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.",
482 "location": "query", 328 "location": "query",
483 "type": "string" 329 "type": "string"
484 }, 330 },
485 "pageSize": { 331 "pageSize": {
486 "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.", 332 "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.",
487 "format": "int32", 333 "format": "int32",
488 "location": "query", 334 "location": "query",
489 "type": "integer" 335 "type": "integer"
336 },
337 "parent": {
338 "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",
339 "location": "path",
340 "pattern": "^projects/[^/]+$",
341 "required": true,
342 "type": "string"
490 } 343 }
491 }, 344 },
492 "path": "v2beta1/{+parent}/logs", 345 "path": "v2beta1/{+parent}/logs",
493 "response": { 346 "response": {
494 "$ref": "ListLogsResponse" 347 "$ref": "ListLogsResponse"
495 }, 348 },
496 "scopes": [ 349 "scopes": [
497 "https://www.googleapis.com/auth/cloud-platform" , 350 "https://www.googleapis.com/auth/cloud-platform" ,
498 "https://www.googleapis.com/auth/cloud-platform. read-only", 351 "https://www.googleapis.com/auth/cloud-platform. read-only",
499 "https://www.googleapis.com/auth/logging.admin", 352 "https://www.googleapis.com/auth/logging.admin",
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 ] 540 ]
688 }, 541 },
689 "list": { 542 "list": {
690 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 543 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
691 "httpMethod": "GET", 544 "httpMethod": "GET",
692 "id": "logging.billingAccounts.logs.list", 545 "id": "logging.billingAccounts.logs.list",
693 "parameterOrder": [ 546 "parameterOrder": [
694 "parent" 547 "parent"
695 ], 548 ],
696 "parameters": { 549 "parameters": {
697 "parent": {
698 "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",
699 "location": "path",
700 "pattern": "^billingAccounts/[^/]+$",
701 "required": true,
702 "type": "string"
703 },
704 "pageToken": { 550 "pageToken": {
705 "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.", 551 "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.",
706 "location": "query", 552 "location": "query",
707 "type": "string" 553 "type": "string"
708 }, 554 },
709 "pageSize": { 555 "pageSize": {
710 "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.", 556 "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.",
711 "format": "int32", 557 "format": "int32",
712 "location": "query", 558 "location": "query",
713 "type": "integer" 559 "type": "integer"
560 },
561 "parent": {
562 "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",
563 "location": "path",
564 "pattern": "^billingAccounts/[^/]+$",
565 "required": true,
566 "type": "string"
714 } 567 }
715 }, 568 },
716 "path": "v2beta1/{+parent}/logs", 569 "path": "v2beta1/{+parent}/logs",
717 "response": { 570 "response": {
718 "$ref": "ListLogsResponse" 571 "$ref": "ListLogsResponse"
719 }, 572 },
720 "scopes": [ 573 "scopes": [
721 "https://www.googleapis.com/auth/cloud-platform" , 574 "https://www.googleapis.com/auth/cloud-platform" ,
722 "https://www.googleapis.com/auth/cloud-platform. read-only", 575 "https://www.googleapis.com/auth/cloud-platform. read-only",
723 "https://www.googleapis.com/auth/logging.admin", 576 "https://www.googleapis.com/auth/logging.admin",
724 "https://www.googleapis.com/auth/logging.read" 577 "https://www.googleapis.com/auth/logging.read"
725 ] 578 ]
726 } 579 }
727 } 580 }
728 } 581 }
729 } 582 }
583 },
584 "monitoredResourceDescriptors": {
585 "methods": {
586 "list": {
587 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.",
588 "httpMethod": "GET",
589 "id": "logging.monitoredResourceDescriptors.list",
590 "parameterOrder": [],
591 "parameters": {
592 "pageToken": {
593 "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 m ethod parameters should be identical to those in the previous call.",
594 "location": "query",
595 "type": "string"
596 },
597 "pageSize": {
598 "description": "Optional. The maximum number of resu lts to return from this request. Non-positive values are ignored. The presence o f nextPageToken in the response indicates that more results might be available." ,
599 "format": "int32",
600 "location": "query",
601 "type": "integer"
602 }
603 },
604 "path": "v2beta1/monitoredResourceDescriptors",
605 "response": {
606 "$ref": "ListMonitoredResourceDescriptorsResponse"
607 },
608 "scopes": [
609 "https://www.googleapis.com/auth/cloud-platform",
610 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
611 "https://www.googleapis.com/auth/logging.admin",
612 "https://www.googleapis.com/auth/logging.read"
613 ]
614 }
615 }
616 },
617 "organizations": {
618 "resources": {
619 "logs": {
620 "methods": {
621 "delete": {
622 "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.",
623 "httpMethod": "DELETE",
624 "id": "logging.organizations.logs.delete",
625 "parameterOrder": [
626 "logName"
627 ],
628 "parameters": {
629 "logName": {
630 "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.",
631 "location": "path",
632 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
633 "required": true,
634 "type": "string"
635 }
636 },
637 "path": "v2beta1/{+logName}",
638 "response": {
639 "$ref": "Empty"
640 },
641 "scopes": [
642 "https://www.googleapis.com/auth/cloud-platform" ,
643 "https://www.googleapis.com/auth/logging.admin"
644 ]
645 },
646 "list": {
647 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
648 "httpMethod": "GET",
649 "id": "logging.organizations.logs.list",
650 "parameterOrder": [
651 "parent"
652 ],
653 "parameters": {
654 "pageToken": {
655 "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.",
656 "location": "query",
657 "type": "string"
658 },
659 "pageSize": {
660 "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.",
661 "format": "int32",
662 "location": "query",
663 "type": "integer"
664 },
665 "parent": {
666 "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",
667 "location": "path",
668 "pattern": "^organizations/[^/]+$",
669 "required": true,
670 "type": "string"
671 }
672 },
673 "path": "v2beta1/{+parent}/logs",
674 "response": {
675 "$ref": "ListLogsResponse"
676 },
677 "scopes": [
678 "https://www.googleapis.com/auth/cloud-platform" ,
679 "https://www.googleapis.com/auth/cloud-platform. read-only",
680 "https://www.googleapis.com/auth/logging.admin",
681 "https://www.googleapis.com/auth/logging.read"
682 ]
683 }
684 }
685 }
686 }
687 },
688 "entries": {
689 "methods": {
690 "write": {
691 "description": "Writes log entries to Stackdriver Logging.",
692 "httpMethod": "POST",
693 "id": "logging.entries.write",
694 "parameterOrder": [],
695 "parameters": {},
696 "path": "v2beta1/entries:write",
697 "request": {
698 "$ref": "WriteLogEntriesRequest"
699 },
700 "response": {
701 "$ref": "WriteLogEntriesResponse"
702 },
703 "scopes": [
704 "https://www.googleapis.com/auth/cloud-platform",
705 "https://www.googleapis.com/auth/logging.admin",
706 "https://www.googleapis.com/auth/logging.write"
707 ]
708 },
709 "list": {
710 "description": "Lists log entries. Use this method to retrie ve log entries from Stackdriver Logging. For ways to export log entries, see Exp orting Logs.",
711 "httpMethod": "POST",
712 "id": "logging.entries.list",
713 "parameterOrder": [],
714 "parameters": {},
715 "path": "v2beta1/entries:list",
716 "request": {
717 "$ref": "ListLogEntriesRequest"
718 },
719 "response": {
720 "$ref": "ListLogEntriesResponse"
721 },
722 "scopes": [
723 "https://www.googleapis.com/auth/cloud-platform",
724 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
725 "https://www.googleapis.com/auth/logging.admin",
726 "https://www.googleapis.com/auth/logging.read"
727 ]
728 }
729 }
730 } 730 }
731 }, 731 },
732 "revision": "20170626", 732 "revision": "20170717",
733 "rootUrl": "https://logging.googleapis.com/", 733 "rootUrl": "https://logging.googleapis.com/",
734 "schemas": { 734 "schemas": {
735 "ListLogEntriesRequest": {
736 "description": "The parameters to ListLogEntries.",
737 "id": "ListLogEntriesRequest",
738 "properties": {
739 "pageToken": {
740 "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.",
741 "type": "string"
742 },
743 "pageSize": {
744 "description": "Optional. The maximum number of results to r eturn from this request. Non-positive values are ignored. The presence of next_p age_token in the response indicates that more results might be available.",
745 "format": "int32",
746 "type": "integer"
747 },
748 "orderBy": {
749 "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 their insert_id values.",
750 "type": "string"
751 },
752 "resourceNames": {
753 "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.",
754 "items": {
755 "type": "string"
756 },
757 "type": "array"
758 },
759 "projectIds": {
760 "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. ",
761 "items": {
762 "type": "string"
763 },
764 "type": "array"
765 },
766 "filter": {
767 "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.",
768 "type": "string"
769 }
770 },
771 "type": "object"
772 },
773 "RequestLog": { 735 "RequestLog": {
774 "description": "Complete log information about a single HTTP request to an App Engine application.", 736 "description": "Complete log information about a single HTTP request to an App Engine application.",
775 "id": "RequestLog", 737 "id": "RequestLog",
776 "properties": { 738 "properties": {
739 "userAgent": {
740 "description": "User agent that made the request.",
741 "type": "string"
742 },
743 "wasLoadingRequest": {
744 "description": "Whether this was a loading request for the i nstance.",
745 "type": "boolean"
746 },
747 "sourceReference": {
748 "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.",
749 "items": {
750 "$ref": "SourceReference"
751 },
752 "type": "array"
753 },
754 "responseSize": {
755 "description": "Size in bytes sent back to client by request .",
756 "format": "int64",
757 "type": "string"
758 },
759 "traceId": {
760 "description": "Stackdriver Trace identifier for this reques t.",
761 "type": "string"
762 },
763 "line": {
764 "description": "A list of log lines emitted by the applicati on while serving this request.",
765 "items": {
766 "$ref": "LogLine"
767 },
768 "type": "array"
769 },
770 "referrer": {
771 "description": "Referrer URL of request.",
772 "type": "string"
773 },
774 "taskQueueName": {
775 "description": "Queue name of the request, in the case of an offline request.",
776 "type": "string"
777 },
778 "requestId": {
779 "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.",
780 "type": "string"
781 },
782 "nickname": {
783 "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.",
784 "type": "string"
785 },
786 "status": {
787 "description": "HTTP response status code. Example: 200, 404 .",
788 "format": "int32",
789 "type": "integer"
790 },
791 "resource": {
792 "description": "Contains the path and query portion of the U RL that was requested. For example, if the URL was \"http://example.com/app?name =val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
793 "type": "string"
794 },
795 "pendingTime": {
796 "description": "Time this request spent in the pending reque st queue.",
797 "format": "google-duration",
798 "type": "string"
799 },
777 "taskName": { 800 "taskName": {
778 "description": "Task name of the request, in the case of an offline request.", 801 "description": "Task name of the request, in the case of an offline request.",
779 "type": "string" 802 "type": "string"
780 }, 803 },
781 "urlMapEntry": { 804 "urlMapEntry": {
782 "description": "File or class that handled the request.", 805 "description": "File or class that handled the request.",
783 "type": "string" 806 "type": "string"
784 }, 807 },
785 "instanceIndex": { 808 "instanceIndex": {
786 "description": "If the instance processing this request belo ngs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.", 809 "description": "If the instance processing this request belo ngs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 "type": "string" 871 "type": "string"
849 }, 872 },
850 "moduleId": { 873 "moduleId": {
851 "description": "Module of the application that handled this request.", 874 "description": "Module of the application that handled this request.",
852 "type": "string" 875 "type": "string"
853 }, 876 },
854 "endTime": { 877 "endTime": {
855 "description": "Time when the request finished.", 878 "description": "Time when the request finished.",
856 "format": "google-datetime", 879 "format": "google-datetime",
857 "type": "string" 880 "type": "string"
858 },
859 "userAgent": {
860 "description": "User agent that made the request.",
861 "type": "string"
862 },
863 "wasLoadingRequest": {
864 "description": "Whether this was a loading request for the i nstance.",
865 "type": "boolean"
866 },
867 "sourceReference": {
868 "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.",
869 "items": {
870 "$ref": "SourceReference"
871 },
872 "type": "array"
873 },
874 "responseSize": {
875 "description": "Size in bytes sent back to client by request .",
876 "format": "int64",
877 "type": "string"
878 },
879 "traceId": {
880 "description": "Stackdriver Trace identifier for this reques t.",
881 "type": "string"
882 },
883 "line": {
884 "description": "A list of log lines emitted by the applicati on while serving this request.",
885 "items": {
886 "$ref": "LogLine"
887 },
888 "type": "array"
889 },
890 "taskQueueName": {
891 "description": "Queue name of the request, in the case of an offline request.",
892 "type": "string"
893 },
894 "referrer": {
895 "description": "Referrer URL of request.",
896 "type": "string"
897 },
898 "requestId": {
899 "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.",
900 "type": "string"
901 },
902 "nickname": {
903 "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.",
904 "type": "string"
905 },
906 "status": {
907 "description": "HTTP response status code. Example: 200, 404 .",
908 "format": "int32",
909 "type": "integer"
910 },
911 "resource": {
912 "description": "Contains the path and query portion of the U RL that was requested. For example, if the URL was \"http://example.com/app?name =val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
913 "type": "string"
914 },
915 "pendingTime": {
916 "description": "Time this request spent in the pending reque st queue.",
917 "format": "google-duration",
918 "type": "string"
919 } 881 }
920 }, 882 },
921 "type": "object" 883 "type": "object"
922 }, 884 },
923 "ListMonitoredResourceDescriptorsResponse": { 885 "ListMonitoredResourceDescriptorsResponse": {
924 "description": "Result returned from ListMonitoredResourceDescriptor s.", 886 "description": "Result returned from ListMonitoredResourceDescriptor s.",
925 "id": "ListMonitoredResourceDescriptorsResponse", 887 "id": "ListMonitoredResourceDescriptorsResponse",
926 "properties": { 888 "properties": {
927 "nextPageToken": { 889 "nextPageToken": {
928 "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." , 890 "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." ,
929 "type": "string" 891 "type": "string"
930 }, 892 },
931 "resourceDescriptors": { 893 "resourceDescriptors": {
932 "description": "A list of resource descriptors.", 894 "description": "A list of resource descriptors.",
933 "items": { 895 "items": {
934 "$ref": "MonitoredResourceDescriptor" 896 "$ref": "MonitoredResourceDescriptor"
935 }, 897 },
936 "type": "array" 898 "type": "array"
937 } 899 }
938 }, 900 },
939 "type": "object" 901 "type": "object"
940 }, 902 },
941 "SourceReference": { 903 "SourceReference": {
942 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.", 904 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.",
943 "id": "SourceReference", 905 "id": "SourceReference",
944 "properties": { 906 "properties": {
907 "repository": {
908 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
909 "type": "string"
910 },
945 "revisionId": { 911 "revisionId": {
946 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "", 912 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "",
947 "type": "string" 913 "type": "string"
948 },
949 "repository": {
950 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
951 "type": "string"
952 } 914 }
953 }, 915 },
954 "type": "object" 916 "type": "object"
955 }, 917 },
918 "WriteLogEntriesResponse": {
919 "description": "Result returned from WriteLogEntries. empty",
920 "id": "WriteLogEntriesResponse",
921 "properties": {},
922 "type": "object"
923 },
956 "LogEntryOperation": { 924 "LogEntryOperation": {
957 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.", 925 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.",
958 "id": "LogEntryOperation", 926 "id": "LogEntryOperation",
959 "properties": { 927 "properties": {
960 "last": { 928 "last": {
961 "description": "Optional. Set this to True if this is the la st log entry in the operation.", 929 "description": "Optional. Set this to True if this is the la st log entry in the operation.",
962 "type": "boolean" 930 "type": "boolean"
963 }, 931 },
964 "id": { 932 "id": {
965 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.", 933 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.",
966 "type": "string" 934 "type": "string"
967 }, 935 },
968 "first": { 936 "first": {
969 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.", 937 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.",
970 "type": "boolean" 938 "type": "boolean"
971 }, 939 },
972 "producer": { 940 "producer": {
973 "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\".", 941 "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\".",
974 "type": "string" 942 "type": "string"
975 } 943 }
976 }, 944 },
977 "type": "object" 945 "type": "object"
978 }, 946 },
979 "LogMetric": { 947 "LogMetric": {
980 "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.", 948 "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.",
981 "id": "LogMetric", 949 "id": "LogMetric",
982 "properties": { 950 "properties": {
951 "name": {
952 "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\".",
953 "type": "string"
954 },
955 "description": {
956 "description": "Optional. A description of this metric, whic h is used in documentation.",
957 "type": "string"
958 },
983 "version": { 959 "version": {
984 "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.", 960 "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.",
985 "enum": [ 961 "enum": [
986 "V2", 962 "V2",
987 "V1" 963 "V1"
988 ], 964 ],
989 "enumDescriptions": [ 965 "enumDescriptions": [
990 "Stackdriver Logging API v2.", 966 "Stackdriver Logging API v2.",
991 "Stackdriver Logging API v1." 967 "Stackdriver Logging API v1."
992 ], 968 ],
993 "type": "string" 969 "type": "string"
994 }, 970 },
995 "filter": { 971 "filter": {
996 "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.", 972 "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.",
997 "type": "string" 973 "type": "string"
998 },
999 "name": {
1000 "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\".",
1001 "type": "string"
1002 },
1003 "description": {
1004 "description": "Optional. A description of this metric, whic h is used in documentation.",
1005 "type": "string"
1006 } 974 }
1007 }, 975 },
1008 "type": "object" 976 "type": "object"
1009 }, 977 },
1010 "WriteLogEntriesResponse": {
1011 "description": "Result returned from WriteLogEntries. empty",
1012 "id": "WriteLogEntriesResponse",
1013 "properties": {},
1014 "type": "object"
1015 },
1016 "MonitoredResource": { 978 "MonitoredResource": {
1017 "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", 979 "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",
1018 "id": "MonitoredResource", 980 "id": "MonitoredResource",
1019 "properties": { 981 "properties": {
1020 "type": { 982 "type": {
1021 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Compute Engine VM instance is gce_instance.", 983 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Compute Engine VM instance is gce_instance.",
1022 "type": "string" 984 "type": "string"
1023 }, 985 },
1024 "labels": { 986 "labels": {
1025 "additionalProperties": { 987 "additionalProperties": {
1026 "type": "string" 988 "type": "string"
1027 }, 989 },
1028 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Compute Engine V M instances use the labels \"project_id\", \"instance_id\", and \"zone\".", 990 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Compute Engine V M instances use the labels \"project_id\", \"instance_id\", and \"zone\".",
1029 "type": "object" 991 "type": "object"
1030 } 992 }
1031 }, 993 },
1032 "type": "object" 994 "type": "object"
1033 }, 995 },
996 "WriteLogEntriesRequest": {
997 "description": "The parameters to WriteLogEntries.",
998 "id": "WriteLogEntriesRequest",
999 "properties": {
1000 "partialSuccess": {
1001 "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, then the response status is the error as sociated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.",
1002 "type": "boolean"
1003 },
1004 "labels": {
1005 "additionalProperties": {
1006 "type": "string"
1007 },
1008 "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.",
1009 "type": "object"
1010 },
1011 "resource": {
1012 "$ref": "MonitoredResource",
1013 "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 ."
1014 },
1015 "entries": {
1016 "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 inserted into those log entries in this list that do not provide their o wn values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later ent ries. Otherwise, the order of log entries in this list does not matter.To improv e throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method fo r each individual log entry.",
1017 "items": {
1018 "$ref": "LogEntry"
1019 },
1020 "type": "array"
1021 },
1022 "logName": {
1023 "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.",
1024 "type": "string"
1025 }
1026 },
1027 "type": "object"
1028 },
1034 "LogSink": { 1029 "LogSink": {
1035 "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.", 1030 "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.",
1036 "id": "LogSink", 1031 "id": "LogSink",
1037 "properties": { 1032 "properties": {
1038 "name": { 1033 "name": {
1039 "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.", 1034 "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.",
1040 "type": "string" 1035 "type": "string"
1041 }, 1036 },
1042 "includeChildren": { 1037 "includeChildren": {
1043 "description": "Optional. This field applies only to sinks o wned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then logs from all the projects, folders, and billing accounts containe d in the sink's parent resource are also available for export. Whether a particu lar log entry from the children is exported depends on the sink's filter express ion. For example, if this field is true, then the filter resource.type=gce_insta nce would export all Compute Engine VM instance log entries from all projects in the sink's parent. To only export entries from certain child projects, filter o n the project part of the log name:\nlogName:(\"projects/test-project1/\" OR \"p rojects/test-project2/\") AND\nresource.type=gce_instance\n", 1038 "description": "Optional. This field applies only to sinks o wned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then logs from all the projects, folders, and billing accounts containe d in the sink's parent resource are also available for export. Whether a particu lar log entry from the children is exported depends on the sink's filter express ion. For example, if this field is true, then the filter resource.type=gce_insta nce would export all Compute Engine VM instance log entries from all projects in the sink's parent. To only export entries from certain child projects, filter o n the project part of the log name:\nlogName:(\"projects/test-project1/\" OR \"p rojects/test-project2/\") AND\nresource.type=gce_instance\n",
1044 "type": "boolean" 1039 "type": "boolean"
1045 }, 1040 },
1041 "filter": {
1042 "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",
1043 "type": "string"
1044 },
1046 "destination": { 1045 "destination": {
1047 "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.", 1046 "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.",
1048 "type": "string" 1047 "type": "string"
1049 }, 1048 },
1050 "filter": {
1051 "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",
1052 "type": "string"
1053 },
1054 "endTime": { 1049 "endTime": {
1055 "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.", 1050 "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.",
1056 "format": "google-datetime", 1051 "format": "google-datetime",
1057 "type": "string" 1052 "type": "string"
1058 }, 1053 },
1054 "writerIdentity": {
1055 "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.",
1056 "type": "string"
1057 },
1059 "startTime": { 1058 "startTime": {
1060 "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.", 1059 "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.",
1061 "format": "google-datetime", 1060 "format": "google-datetime",
1062 "type": "string" 1061 "type": "string"
1063 }, 1062 },
1064 "writerIdentity": {
1065 "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.",
1066 "type": "string"
1067 },
1068 "outputVersionFormat": { 1063 "outputVersionFormat": {
1069 "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.", 1064 "description": "Deprecated. The log entry format to use for this sink's exported log entries. The v2 format is used by default and cannot be changed.",
1070 "enum": [ 1065 "enum": [
1071 "VERSION_FORMAT_UNSPECIFIED", 1066 "VERSION_FORMAT_UNSPECIFIED",
1072 "V2", 1067 "V2",
1073 "V1" 1068 "V1"
1074 ], 1069 ],
1075 "enumDescriptions": [ 1070 "enumDescriptions": [
1076 "An unspecified format version that will default to V2." , 1071 "An unspecified format version that will default to V2." ,
1077 "LogEntry version 2 format.", 1072 "LogEntry version 2 format.",
1078 "LogEntry version 1 format." 1073 "LogEntry version 1 format."
1079 ], 1074 ],
1080 "type": "string" 1075 "type": "string"
1081 } 1076 }
1082 }, 1077 },
1083 "type": "object" 1078 "type": "object"
1084 }, 1079 },
1085 "WriteLogEntriesRequest": {
1086 "description": "The parameters to WriteLogEntries.",
1087 "id": "WriteLogEntriesRequest",
1088 "properties": {
1089 "entries": {
1090 "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 inserted into those log entries in this list that do not provide their o wn values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later ent ries. Otherwise, the order of log entries in this list does not matter.To improv e throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method fo r each individual log entry.",
1091 "items": {
1092 "$ref": "LogEntry"
1093 },
1094 "type": "array"
1095 },
1096 "logName": {
1097 "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.",
1098 "type": "string"
1099 },
1100 "partialSuccess": {
1101 "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, then the response status is the error as sociated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.",
1102 "type": "boolean"
1103 },
1104 "labels": {
1105 "additionalProperties": {
1106 "type": "string"
1107 },
1108 "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.",
1109 "type": "object"
1110 },
1111 "resource": {
1112 "$ref": "MonitoredResource",
1113 "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 ."
1114 }
1115 },
1116 "type": "object"
1117 },
1118 "ListLogsResponse": { 1080 "ListLogsResponse": {
1119 "description": "Result returned from ListLogs.", 1081 "description": "Result returned from ListLogs.",
1120 "id": "ListLogsResponse", 1082 "id": "ListLogsResponse",
1121 "properties": { 1083 "properties": {
1122 "nextPageToken": { 1084 "nextPageToken": {
1123 "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." , 1085 "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." ,
1124 "type": "string" 1086 "type": "string"
1125 }, 1087 },
1126 "logNames": { 1088 "logNames": {
1127 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".", 1089 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".",
(...skipping 24 matching lines...) Expand all
1152 "type": "object" 1114 "type": "object"
1153 }, 1115 },
1154 "HttpRequest": { 1116 "HttpRequest": {
1155 "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.", 1117 "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.",
1156 "id": "HttpRequest", 1118 "id": "HttpRequest",
1157 "properties": { 1119 "properties": {
1158 "requestUrl": { 1120 "requestUrl": {
1159 "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\".", 1121 "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\".",
1160 "type": "string" 1122 "type": "string"
1161 }, 1123 },
1124 "serverIp": {
1125 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
1126 "type": "string"
1127 },
1162 "remoteIp": { 1128 "remoteIp": {
1163 "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\".", 1129 "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\".",
1164 "type": "string" 1130 "type": "string"
1165 }, 1131 },
1166 "serverIp": {
1167 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
1168 "type": "string"
1169 },
1170 "cacheLookup": { 1132 "cacheLookup": {
1171 "description": "Whether or not a cache lookup was attempted. ", 1133 "description": "Whether or not a cache lookup was attempted. ",
1172 "type": "boolean" 1134 "type": "boolean"
1173 }, 1135 },
1174 "cacheHit": { 1136 "cacheHit": {
1175 "description": "Whether or not an entity was served from cac he (with or without validation).", 1137 "description": "Whether or not an entity was served from cac he (with or without validation).",
1176 "type": "boolean" 1138 "type": "boolean"
1177 }, 1139 },
1178 "cacheValidatedWithOriginServer": { 1140 "cacheValidatedWithOriginServer": {
1179 "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.", 1141 "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.",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 "format": "int64", 1178 "format": "int64",
1217 "type": "string" 1179 "type": "string"
1218 } 1180 }
1219 }, 1181 },
1220 "type": "object" 1182 "type": "object"
1221 }, 1183 },
1222 "LabelDescriptor": { 1184 "LabelDescriptor": {
1223 "description": "A description of a label.", 1185 "description": "A description of a label.",
1224 "id": "LabelDescriptor", 1186 "id": "LabelDescriptor",
1225 "properties": { 1187 "properties": {
1226 "key": {
1227 "description": "The label key.",
1228 "type": "string"
1229 },
1230 "description": {
1231 "description": "A human-readable description for the label." ,
1232 "type": "string"
1233 },
1234 "valueType": { 1188 "valueType": {
1235 "description": "The type of data that can be assigned to the label.", 1189 "description": "The type of data that can be assigned to the label.",
1236 "enum": [ 1190 "enum": [
1237 "STRING", 1191 "STRING",
1238 "BOOL", 1192 "BOOL",
1239 "INT64" 1193 "INT64"
1240 ], 1194 ],
1241 "enumDescriptions": [ 1195 "enumDescriptions": [
1242 "A variable-length string. This is the default.", 1196 "A variable-length string. This is the default.",
1243 "Boolean; true or false.", 1197 "Boolean; true or false.",
1244 "A 64-bit signed integer." 1198 "A 64-bit signed integer."
1245 ], 1199 ],
1246 "type": "string" 1200 "type": "string"
1201 },
1202 "key": {
1203 "description": "The label key.",
1204 "type": "string"
1205 },
1206 "description": {
1207 "description": "A human-readable description for the label." ,
1208 "type": "string"
1247 } 1209 }
1248 }, 1210 },
1249 "type": "object" 1211 "type": "object"
1250 }, 1212 },
1251 "MonitoredResourceDescriptor": { 1213 "MonitoredResourceDescriptor": {
1252 "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.", 1214 "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.",
1253 "id": "MonitoredResourceDescriptor", 1215 "id": "MonitoredResourceDescriptor",
1254 "properties": { 1216 "properties": {
1255 "labels": {
1256 "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 \".",
1257 "items": {
1258 "$ref": "LabelDescriptor"
1259 },
1260 "type": "array"
1261 },
1262 "name": { 1217 "name": {
1263 "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}\".", 1218 "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}\".",
1264 "type": "string" 1219 "type": "string"
1265 }, 1220 },
1266 "description": { 1221 "description": {
1267 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.", 1222 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
1268 "type": "string" 1223 "type": "string"
1269 }, 1224 },
1270 "displayName": { 1225 "displayName": {
1271 "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\".", 1226 "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\".",
1272 "type": "string" 1227 "type": "string"
1273 }, 1228 },
1274 "type": { 1229 "type": {
1275 "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.", 1230 "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.",
1276 "type": "string" 1231 "type": "string"
1232 },
1233 "labels": {
1234 "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 \".",
1235 "items": {
1236 "$ref": "LabelDescriptor"
1237 },
1238 "type": "array"
1277 } 1239 }
1278 }, 1240 },
1279 "type": "object" 1241 "type": "object"
1280 }, 1242 },
1281 "LogEntrySourceLocation": { 1243 "LogEntrySourceLocation": {
1282 "description": "Additional information about the source code locatio n that produced the log entry.", 1244 "description": "Additional information about the source code locatio n that produced the log entry.",
1283 "id": "LogEntrySourceLocation", 1245 "id": "LogEntrySourceLocation",
1284 "properties": { 1246 "properties": {
1285 "function": { 1247 "function": {
1286 "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). ", 1248 "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). ",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1383 "Empty": { 1345 "Empty": {
1384 "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 {}.", 1346 "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 {}.",
1385 "id": "Empty", 1347 "id": "Empty",
1386 "properties": {}, 1348 "properties": {},
1387 "type": "object" 1349 "type": "object"
1388 }, 1350 },
1389 "LogEntry": { 1351 "LogEntry": {
1390 "description": "An individual entry in a log.", 1352 "description": "An individual entry in a log.",
1391 "id": "LogEntry", 1353 "id": "LogEntry",
1392 "properties": { 1354 "properties": {
1393 "labels": {
1394 "additionalProperties": {
1395 "type": "string"
1396 },
1397 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
1398 "type": "object"
1399 },
1400 "trace": {
1401 "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",
1402 "type": "string"
1403 },
1404 "severity": { 1355 "severity": {
1405 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", 1356 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
1406 "enum": [ 1357 "enum": [
1407 "DEFAULT", 1358 "DEFAULT",
1408 "DEBUG", 1359 "DEBUG",
1409 "INFO", 1360 "INFO",
1410 "NOTICE", 1361 "NOTICE",
1411 "WARNING", 1362 "WARNING",
1412 "ERROR", 1363 "ERROR",
1413 "CRITICAL", 1364 "CRITICAL",
(...skipping 24 matching lines...) Expand all
1438 }, 1389 },
1439 "timestamp": { 1390 "timestamp": {
1440 "description": "Optional. The time the event described by th e log entry occurred. If omitted in a new log entry, Stackdriver Logging will in sert the time the log entry is received. Stackdriver Logging might reject log en tries whose time stamps are more than a couple of hours in the future. Log entri es with time stamps in the past are accepted.", 1391 "description": "Optional. The time the event described by th e log entry occurred. If omitted in a new log entry, Stackdriver Logging will in sert the time the log entry is received. Stackdriver Logging might reject log en tries whose time stamps are more than a couple of hours in the future. Log entri es with time stamps in the past are accepted.",
1441 "format": "google-datetime", 1392 "format": "google-datetime",
1442 "type": "string" 1393 "type": "string"
1443 }, 1394 },
1444 "logName": { 1395 "logName": {
1445 "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.", 1396 "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.",
1446 "type": "string" 1397 "type": "string"
1447 }, 1398 },
1399 "httpRequest": {
1400 "$ref": "HttpRequest",
1401 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
1402 },
1448 "resource": { 1403 "resource": {
1449 "$ref": "MonitoredResource", 1404 "$ref": "MonitoredResource",
1450 "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." 1405 "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."
1451 }, 1406 },
1452 "httpRequest": {
1453 "$ref": "HttpRequest",
1454 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
1455 },
1456 "jsonPayload": { 1407 "jsonPayload": {
1457 "additionalProperties": { 1408 "additionalProperties": {
1458 "description": "Properties of the object.", 1409 "description": "Properties of the object.",
1459 "type": "any" 1410 "type": "any"
1460 }, 1411 },
1461 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.", 1412 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
1462 "type": "object" 1413 "type": "object"
1463 }, 1414 },
1464 "insertId": { 1415 "insertId": {
1465 "description": "Optional. A unique identifier for the log en try. If you provide a value, then Stackdriver Logging considers other log entrie s in the same project, with the same timestamp, and with the same insert_id to b e duplicates which can be removed. If omitted in new log entries, then Stackdriv er Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.", 1416 "description": "Optional. A unique identifier for the log en try. If you provide a value, then Stackdriver Logging considers other log entrie s in the same project, with the same timestamp, and with the same insert_id to b e duplicates which can be removed. If omitted in new log entries, then Stackdriv er Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.",
1466 "type": "string" 1417 "type": "string"
1467 }, 1418 },
1468 "operation": { 1419 "operation": {
1469 "$ref": "LogEntryOperation", 1420 "$ref": "LogEntryOperation",
1470 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable." 1421 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
1471 }, 1422 },
1472 "textPayload": { 1423 "textPayload": {
1473 "description": "The log entry payload, represented as a Unic ode string (UTF-8).", 1424 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
1474 "type": "string" 1425 "type": "string"
1475 }, 1426 },
1476 "protoPayload": { 1427 "protoPayload": {
1477 "additionalProperties": { 1428 "additionalProperties": {
1478 "description": "Properties of the object. Contains field @type with type URL.", 1429 "description": "Properties of the object. Contains field @type with type URL.",
1479 "type": "any" 1430 "type": "any"
1480 }, 1431 },
1481 "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.", 1432 "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.",
1482 "type": "object" 1433 "type": "object"
1434 },
1435 "trace": {
1436 "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",
1437 "type": "string"
1438 },
1439 "labels": {
1440 "additionalProperties": {
1441 "type": "string"
1442 },
1443 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
1444 "type": "object"
1483 } 1445 }
1484 }, 1446 },
1485 "type": "object" 1447 "type": "object"
1486 }, 1448 },
1487 "SourceLocation": { 1449 "SourceLocation": {
1488 "description": "Specifies a location in a source code file.", 1450 "description": "Specifies a location in a source code file.",
1489 "id": "SourceLocation", 1451 "id": "SourceLocation",
1490 "properties": { 1452 "properties": {
1491 "file": { 1453 "file": {
1492 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.", 1454 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.",
1493 "type": "string" 1455 "type": "string"
1494 }, 1456 },
1495 "functionName": { 1457 "functionName": {
1496 "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).", 1458 "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).",
1497 "type": "string" 1459 "type": "string"
1498 }, 1460 },
1499 "line": { 1461 "line": {
1500 "description": "Line within the source file.", 1462 "description": "Line within the source file.",
1501 "format": "int64", 1463 "format": "int64",
1502 "type": "string" 1464 "type": "string"
1503 } 1465 }
1504 }, 1466 },
1505 "type": "object" 1467 "type": "object"
1468 },
1469 "ListLogEntriesRequest": {
1470 "description": "The parameters to ListLogEntries.",
1471 "id": "ListLogEntriesRequest",
1472 "properties": {
1473 "projectIds": {
1474 "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. ",
1475 "items": {
1476 "type": "string"
1477 },
1478 "type": "array"
1479 },
1480 "filter": {
1481 "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.",
1482 "type": "string"
1483 },
1484 "pageToken": {
1485 "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.",
1486 "type": "string"
1487 },
1488 "pageSize": {
1489 "description": "Optional. The maximum number of results to r eturn from this request. Non-positive values are ignored. The presence of next_p age_token in the response indicates that more results might be available.",
1490 "format": "int32",
1491 "type": "integer"
1492 },
1493 "orderBy": {
1494 "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 their insert_id values.",
1495 "type": "string"
1496 },
1497 "resourceNames": {
1498 "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.",
1499 "items": {
1500 "type": "string"
1501 },
1502 "type": "array"
1503 }
1504 },
1505 "type": "object"
1506 } 1506 }
1507 }, 1507 },
1508 "servicePath": "", 1508 "servicePath": "",
1509 "title": "Stackdriver Logging API", 1509 "title": "Stackdriver Logging API",
1510 "version": "v2beta1" 1510 "version": "v2beta1"
1511 } 1511 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/language__v1beta2.json ('k') | discovery/googleapis_beta/oslogin__v1alpha.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698