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

Side by Side Diff: discovery/googleapis/logging__v2.json

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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
« no previous file with comments | « discovery/googleapis/licensing__v1.json ('k') | discovery/googleapis/manufacturers__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/cloud-platform.read-only": { 8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 9 "description": "View your data across Google Cloud Platform services"
7 }, 10 },
8 "https://www.googleapis.com/auth/logging.admin": { 11 "https://www.googleapis.com/auth/logging.admin": {
9 "description": "Administrate log data for your projects" 12 "description": "Administrate log data for your projects"
10 }, 13 },
11 "https://www.googleapis.com/auth/logging.read": { 14 "https://www.googleapis.com/auth/logging.read": {
12 "description": "View log data for your projects" 15 "description": "View log data for your projects"
13 }, 16 },
14 "https://www.googleapis.com/auth/logging.write": { 17 "https://www.googleapis.com/auth/logging.write": {
15 "description": "Submit log data for your projects" 18 "description": "Submit log data for your projects"
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:v2", 34 "id": "logging:v2",
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 "uploadType": { 40 "upload_protocol": {
41 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 41 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
42 "location": "query", 42 "location": "query",
43 "type": "string" 43 "type": "string"
44 }, 44 },
45 "prettyPrint": {
46 "default": "true",
47 "description": "Returns response with indentations and line breaks." ,
48 "location": "query",
49 "type": "boolean"
50 },
45 "fields": { 51 "fields": {
46 "description": "Selector specifying which fields to include in a par tial response.", 52 "description": "Selector specifying which fields to include in a par tial response.",
47 "location": "query", 53 "location": "query",
48 "type": "string" 54 "type": "string"
49 }, 55 },
56 "uploadType": {
57 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
58 "location": "query",
59 "type": "string"
60 },
50 "$.xgafv": { 61 "$.xgafv": {
51 "description": "V1 error format.", 62 "description": "V1 error format.",
52 "enum": [ 63 "enum": [
53 "1", 64 "1",
54 "2" 65 "2"
55 ], 66 ],
56 "enumDescriptions": [ 67 "enumDescriptions": [
57 "v1 error format", 68 "v1 error format",
58 "v2 error format" 69 "v2 error format"
59 ], 70 ],
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 }, 115 },
105 "oauth_token": { 116 "oauth_token": {
106 "description": "OAuth 2.0 token for the current user.", 117 "description": "OAuth 2.0 token for the current user.",
107 "location": "query", 118 "location": "query",
108 "type": "string" 119 "type": "string"
109 }, 120 },
110 "bearer_token": { 121 "bearer_token": {
111 "description": "OAuth bearer token.", 122 "description": "OAuth bearer token.",
112 "location": "query", 123 "location": "query",
113 "type": "string" 124 "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 "organizations": { 129 "folders": {
130 "resources": { 130 "resources": {
131 "logs": { 131 "logs": {
132 "methods": { 132 "methods": {
133 "delete": { 133 "delete": {
134 "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.", 134 "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.",
135 "httpMethod": "DELETE", 135 "httpMethod": "DELETE",
136 "id": "logging.organizations.logs.delete", 136 "id": "logging.folders.logs.delete",
137 "parameterOrder": [ 137 "parameterOrder": [
138 "logName" 138 "logName"
139 ], 139 ],
140 "parameters": { 140 "parameters": {
141 "logName": { 141 "logName": {
142 "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.", 142 "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.",
143 "location": "path", 143 "location": "path",
144 "pattern": "^organizations/[^/]+/logs/[^/]+$ ", 144 "pattern": "^folders/[^/]+/logs/[^/]+$",
145 "required": true, 145 "required": true,
146 "type": "string" 146 "type": "string"
147 } 147 }
148 }, 148 },
149 "path": "v2/{+logName}", 149 "path": "v2/{+logName}",
150 "response": { 150 "response": {
151 "$ref": "Empty" 151 "$ref": "Empty"
152 }, 152 },
153 "scopes": [ 153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform" , 154 "https://www.googleapis.com/auth/cloud-platform" ,
155 "https://www.googleapis.com/auth/logging.admin" 155 "https://www.googleapis.com/auth/logging.admin"
156 ] 156 ]
157 }, 157 },
158 "list": { 158 "list": {
159 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 159 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
160 "httpMethod": "GET", 160 "httpMethod": "GET",
161 "id": "logging.organizations.logs.list", 161 "id": "logging.folders.logs.list",
162 "parameterOrder": [ 162 "parameterOrder": [
163 "parent" 163 "parent"
164 ], 164 ],
165 "parameters": { 165 "parameters": {
166 "pageSize": {
167 "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.",
168 "format": "int32",
169 "location": "query",
170 "type": "integer"
171 },
172 "parent": { 166 "parent": {
173 "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", 167 "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",
174 "location": "path", 168 "location": "path",
175 "pattern": "^organizations/[^/]+$", 169 "pattern": "^folders/[^/]+$",
176 "required": true, 170 "required": true,
177 "type": "string" 171 "type": "string"
178 }, 172 },
179 "pageToken": { 173 "pageToken": {
180 "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.", 174 "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.",
181 "location": "query", 175 "location": "query",
182 "type": "string" 176 "type": "string"
177 },
178 "pageSize": {
179 "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.",
180 "format": "int32",
181 "location": "query",
182 "type": "integer"
183 } 183 }
184 }, 184 },
185 "path": "v2/{+parent}/logs", 185 "path": "v2/{+parent}/logs",
186 "response": { 186 "response": {
187 "$ref": "ListLogsResponse" 187 "$ref": "ListLogsResponse"
188 }, 188 },
189 "scopes": [ 189 "scopes": [
190 "https://www.googleapis.com/auth/cloud-platform" , 190 "https://www.googleapis.com/auth/cloud-platform" ,
191 "https://www.googleapis.com/auth/cloud-platform. read-only", 191 "https://www.googleapis.com/auth/cloud-platform. read-only",
192 "https://www.googleapis.com/auth/logging.admin", 192 "https://www.googleapis.com/auth/logging.admin",
193 "https://www.googleapis.com/auth/logging.read" 193 "https://www.googleapis.com/auth/logging.read"
194 ] 194 ]
195 } 195 }
196 } 196 }
197 }, 197 },
198 "sinks": { 198 "sinks": {
199 "methods": { 199 "methods": {
200 "create": {
201 "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.",
202 "httpMethod": "POST",
203 "id": "logging.folders.sinks.create",
204 "parameterOrder": [
205 "parent"
206 ],
207 "parameters": {
208 "parent": {
209 "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\".",
210 "location": "path",
211 "pattern": "^folders/[^/]+$",
212 "required": true,
213 "type": "string"
214 },
215 "uniqueWriterIdentity": {
216 "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 the same group or service account used by Stackdri ver Logging 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.",
217 "location": "query",
218 "type": "boolean"
219 }
220 },
221 "path": "v2/{+parent}/sinks",
222 "request": {
223 "$ref": "LogSink"
224 },
225 "response": {
226 "$ref": "LogSink"
227 },
228 "scopes": [
229 "https://www.googleapis.com/auth/cloud-platform" ,
230 "https://www.googleapis.com/auth/logging.admin"
231 ]
232 },
200 "delete": { 233 "delete": {
201 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.", 234 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.",
202 "httpMethod": "DELETE", 235 "httpMethod": "DELETE",
203 "id": "logging.organizations.sinks.delete", 236 "id": "logging.folders.sinks.delete",
204 "parameterOrder": [ 237 "parameterOrder": [
205 "sinkName" 238 "sinkName"
206 ], 239 ],
207 "parameters": { 240 "parameters": {
208 "sinkName": { 241 "sinkName": {
209 "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\".", 242 "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\".",
210 "location": "path", 243 "location": "path",
211 "pattern": "^organizations/[^/]+/sinks/[^/]+ $", 244 "pattern": "^folders/[^/]+/sinks/[^/]+$",
212 "required": true, 245 "required": true,
213 "type": "string" 246 "type": "string"
214 } 247 }
215 }, 248 },
216 "path": "v2/{+sinkName}", 249 "path": "v2/{+sinkName}",
217 "response": { 250 "response": {
218 "$ref": "Empty" 251 "$ref": "Empty"
219 }, 252 },
220 "scopes": [ 253 "scopes": [
221 "https://www.googleapis.com/auth/cloud-platform" , 254 "https://www.googleapis.com/auth/cloud-platform" ,
222 "https://www.googleapis.com/auth/logging.admin" 255 "https://www.googleapis.com/auth/logging.admin"
223 ] 256 ]
224 }, 257 },
225 "list": { 258 "list": {
226 "description": "Lists sinks.", 259 "description": "Lists sinks.",
227 "httpMethod": "GET", 260 "httpMethod": "GET",
228 "id": "logging.organizations.sinks.list", 261 "id": "logging.folders.sinks.list",
229 "parameterOrder": [ 262 "parameterOrder": [
230 "parent" 263 "parent"
231 ], 264 ],
232 "parameters": { 265 "parameters": {
233 "pageSize": {
234 "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.",
235 "format": "int32",
236 "location": "query",
237 "type": "integer"
238 },
239 "parent": { 266 "parent": {
240 "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", 267 "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",
241 "location": "path", 268 "location": "path",
242 "pattern": "^organizations/[^/]+$", 269 "pattern": "^folders/[^/]+$",
243 "required": true, 270 "required": true,
244 "type": "string" 271 "type": "string"
245 }, 272 },
246 "pageToken": { 273 "pageToken": {
247 "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.", 274 "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.",
248 "location": "query", 275 "location": "query",
249 "type": "string" 276 "type": "string"
277 },
278 "pageSize": {
279 "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.",
280 "format": "int32",
281 "location": "query",
282 "type": "integer"
250 } 283 }
251 }, 284 },
252 "path": "v2/{+parent}/sinks", 285 "path": "v2/{+parent}/sinks",
253 "response": { 286 "response": {
254 "$ref": "ListSinksResponse" 287 "$ref": "ListSinksResponse"
255 }, 288 },
256 "scopes": [ 289 "scopes": [
257 "https://www.googleapis.com/auth/cloud-platform" , 290 "https://www.googleapis.com/auth/cloud-platform" ,
258 "https://www.googleapis.com/auth/cloud-platform. read-only", 291 "https://www.googleapis.com/auth/cloud-platform. read-only",
259 "https://www.googleapis.com/auth/logging.admin", 292 "https://www.googleapis.com/auth/logging.admin",
260 "https://www.googleapis.com/auth/logging.read" 293 "https://www.googleapis.com/auth/logging.read"
261 ] 294 ]
262 }, 295 },
263 "get": { 296 "get": {
264 "description": "Gets a sink.", 297 "description": "Gets a sink.",
265 "httpMethod": "GET", 298 "httpMethod": "GET",
266 "id": "logging.organizations.sinks.get", 299 "id": "logging.folders.sinks.get",
267 "parameterOrder": [ 300 "parameterOrder": [
268 "sinkName" 301 "sinkName"
269 ], 302 ],
270 "parameters": { 303 "parameters": {
271 "sinkName": { 304 "sinkName": {
272 "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\".", 305 "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\".",
273 "location": "path", 306 "location": "path",
274 "pattern": "^organizations/[^/]+/sinks/[^/]+ $", 307 "pattern": "^folders/[^/]+/sinks/[^/]+$",
275 "required": true, 308 "required": true,
276 "type": "string" 309 "type": "string"
277 } 310 }
278 }, 311 },
279 "path": "v2/{+sinkName}", 312 "path": "v2/{+sinkName}",
280 "response": { 313 "response": {
281 "$ref": "LogSink" 314 "$ref": "LogSink"
282 }, 315 },
283 "scopes": [ 316 "scopes": [
284 "https://www.googleapis.com/auth/cloud-platform" , 317 "https://www.googleapis.com/auth/cloud-platform" ,
285 "https://www.googleapis.com/auth/cloud-platform. read-only", 318 "https://www.googleapis.com/auth/cloud-platform. read-only",
286 "https://www.googleapis.com/auth/logging.admin", 319 "https://www.googleapis.com/auth/logging.admin",
287 "https://www.googleapis.com/auth/logging.read" 320 "https://www.googleapis.com/auth/logging.read"
288 ] 321 ]
289 }, 322 },
290 "update": { 323 "update": {
291 "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.", 324 "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.",
292 "httpMethod": "PUT", 325 "httpMethod": "PUT",
293 "id": "logging.organizations.sinks.update", 326 "id": "logging.folders.sinks.update",
294 "parameterOrder": [ 327 "parameterOrder": [
295 "sinkName" 328 "sinkName"
296 ], 329 ],
297 "parameters": { 330 "parameters": {
298 "sinkName": { 331 "sinkName": {
299 "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\".", 332 "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\".",
300 "location": "path", 333 "location": "path",
301 "pattern": "^organizations/[^/]+/sinks/[^/]+ $", 334 "pattern": "^folders/[^/]+/sinks/[^/]+$",
302 "required": true, 335 "required": true,
303 "type": "string" 336 "type": "string"
304 }, 337 },
305 "uniqueWriterIdentity": { 338 "uniqueWriterIdentity": {
306 "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 is 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 is true and the new va lue is false.", 339 "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 is 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 is true and the new va lue is false.",
307 "location": "query", 340 "location": "query",
308 "type": "boolean" 341 "type": "boolean"
309 } 342 }
310 }, 343 },
311 "path": "v2/{+sinkName}", 344 "path": "v2/{+sinkName}",
312 "request": { 345 "request": {
313 "$ref": "LogSink" 346 "$ref": "LogSink"
314 }, 347 },
315 "response": { 348 "response": {
316 "$ref": "LogSink" 349 "$ref": "LogSink"
317 }, 350 },
318 "scopes": [ 351 "scopes": [
319 "https://www.googleapis.com/auth/cloud-platform" , 352 "https://www.googleapis.com/auth/cloud-platform" ,
320 "https://www.googleapis.com/auth/logging.admin" 353 "https://www.googleapis.com/auth/logging.admin"
321 ] 354 ]
322 },
323 "create": {
324 "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.",
325 "httpMethod": "POST",
326 "id": "logging.organizations.sinks.create",
327 "parameterOrder": [
328 "parent"
329 ],
330 "parameters": {
331 "parent": {
332 "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\".",
333 "location": "path",
334 "pattern": "^organizations/[^/]+$",
335 "required": true,
336 "type": "string"
337 },
338 "uniqueWriterIdentity": {
339 "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 the same group or service account used by Stackdri ver Logging 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.",
340 "location": "query",
341 "type": "boolean"
342 }
343 },
344 "path": "v2/{+parent}/sinks",
345 "request": {
346 "$ref": "LogSink"
347 },
348 "response": {
349 "$ref": "LogSink"
350 },
351 "scopes": [
352 "https://www.googleapis.com/auth/cloud-platform" ,
353 "https://www.googleapis.com/auth/logging.admin"
354 ]
355 } 355 }
356 } 356 }
357 } 357 }
358 } 358 }
359 }, 359 },
360 "entries": { 360 "monitoredResourceDescriptors": {
361 "methods": { 361 "methods": {
362 "list": { 362 "list": {
363 "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.", 363 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.",
364 "httpMethod": "POST", 364 "httpMethod": "GET",
365 "id": "logging.entries.list", 365 "id": "logging.monitoredResourceDescriptors.list",
366 "parameterOrder": [], 366 "parameterOrder": [],
367 "parameters": {}, 367 "parameters": {
368 "path": "v2/entries:list", 368 "pageToken": {
369 "request": { 369 "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.",
370 "$ref": "ListLogEntriesRequest" 370 "location": "query",
371 "type": "string"
372 },
373 "pageSize": {
374 "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." ,
375 "format": "int32",
376 "location": "query",
377 "type": "integer"
378 }
371 }, 379 },
380 "path": "v2/monitoredResourceDescriptors",
372 "response": { 381 "response": {
373 "$ref": "ListLogEntriesResponse" 382 "$ref": "ListMonitoredResourceDescriptorsResponse"
374 }, 383 },
375 "scopes": [ 384 "scopes": [
376 "https://www.googleapis.com/auth/cloud-platform", 385 "https://www.googleapis.com/auth/cloud-platform",
377 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 386 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
378 "https://www.googleapis.com/auth/logging.admin", 387 "https://www.googleapis.com/auth/logging.admin",
379 "https://www.googleapis.com/auth/logging.read" 388 "https://www.googleapis.com/auth/logging.read"
380 ] 389 ]
381 },
382 "write": {
383 "description": "Writes log entries to Stackdriver Logging.",
384 "httpMethod": "POST",
385 "id": "logging.entries.write",
386 "parameterOrder": [],
387 "parameters": {},
388 "path": "v2/entries:write",
389 "request": {
390 "$ref": "WriteLogEntriesRequest"
391 },
392 "response": {
393 "$ref": "WriteLogEntriesResponse"
394 },
395 "scopes": [
396 "https://www.googleapis.com/auth/cloud-platform",
397 "https://www.googleapis.com/auth/logging.admin",
398 "https://www.googleapis.com/auth/logging.write"
399 ]
400 } 390 }
401 } 391 }
402 }, 392 },
403 "projects": { 393 "organizations": {
404 "resources": { 394 "resources": {
405 "logs": { 395 "logs": {
406 "methods": { 396 "methods": {
407 "delete": { 397 "delete": {
408 "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.", 398 "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.",
409 "httpMethod": "DELETE", 399 "httpMethod": "DELETE",
410 "id": "logging.projects.logs.delete", 400 "id": "logging.organizations.logs.delete",
411 "parameterOrder": [ 401 "parameterOrder": [
412 "logName" 402 "logName"
413 ], 403 ],
414 "parameters": { 404 "parameters": {
415 "logName": { 405 "logName": {
416 "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.", 406 "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.",
417 "location": "path", 407 "location": "path",
418 "pattern": "^projects/[^/]+/logs/[^/]+$", 408 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
419 "required": true, 409 "required": true,
420 "type": "string" 410 "type": "string"
421 } 411 }
422 }, 412 },
423 "path": "v2/{+logName}", 413 "path": "v2/{+logName}",
424 "response": { 414 "response": {
425 "$ref": "Empty" 415 "$ref": "Empty"
426 }, 416 },
427 "scopes": [ 417 "scopes": [
428 "https://www.googleapis.com/auth/cloud-platform" , 418 "https://www.googleapis.com/auth/cloud-platform" ,
429 "https://www.googleapis.com/auth/logging.admin" 419 "https://www.googleapis.com/auth/logging.admin"
430 ] 420 ]
431 }, 421 },
432 "list": { 422 "list": {
433 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 423 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
434 "httpMethod": "GET", 424 "httpMethod": "GET",
435 "id": "logging.projects.logs.list", 425 "id": "logging.organizations.logs.list",
436 "parameterOrder": [ 426 "parameterOrder": [
437 "parent" 427 "parent"
438 ], 428 ],
439 "parameters": { 429 "parameters": {
440 "pageSize": {
441 "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.",
442 "format": "int32",
443 "location": "query",
444 "type": "integer"
445 },
446 "parent": { 430 "parent": {
447 "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", 431 "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",
448 "location": "path", 432 "location": "path",
449 "pattern": "^projects/[^/]+$", 433 "pattern": "^organizations/[^/]+$",
450 "required": true, 434 "required": true,
451 "type": "string" 435 "type": "string"
452 }, 436 },
453 "pageToken": { 437 "pageToken": {
454 "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.", 438 "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.",
455 "location": "query", 439 "location": "query",
456 "type": "string" 440 "type": "string"
441 },
442 "pageSize": {
443 "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.",
444 "format": "int32",
445 "location": "query",
446 "type": "integer"
457 } 447 }
458 }, 448 },
459 "path": "v2/{+parent}/logs", 449 "path": "v2/{+parent}/logs",
460 "response": { 450 "response": {
461 "$ref": "ListLogsResponse" 451 "$ref": "ListLogsResponse"
462 }, 452 },
463 "scopes": [ 453 "scopes": [
464 "https://www.googleapis.com/auth/cloud-platform" , 454 "https://www.googleapis.com/auth/cloud-platform" ,
465 "https://www.googleapis.com/auth/cloud-platform. read-only", 455 "https://www.googleapis.com/auth/cloud-platform. read-only",
466 "https://www.googleapis.com/auth/logging.admin", 456 "https://www.googleapis.com/auth/logging.admin",
467 "https://www.googleapis.com/auth/logging.read" 457 "https://www.googleapis.com/auth/logging.read"
468 ] 458 ]
469 } 459 }
470 } 460 }
471 }, 461 },
472 "sinks": { 462 "sinks": {
473 "methods": { 463 "methods": {
464 "delete": {
465 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.",
466 "httpMethod": "DELETE",
467 "id": "logging.organizations.sinks.delete",
468 "parameterOrder": [
469 "sinkName"
470 ],
471 "parameters": {
472 "sinkName": {
473 "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\".",
474 "location": "path",
475 "pattern": "^organizations/[^/]+/sinks/[^/]+ $",
476 "required": true,
477 "type": "string"
478 }
479 },
480 "path": "v2/{+sinkName}",
481 "response": {
482 "$ref": "Empty"
483 },
484 "scopes": [
485 "https://www.googleapis.com/auth/cloud-platform" ,
486 "https://www.googleapis.com/auth/logging.admin"
487 ]
488 },
474 "list": { 489 "list": {
475 "description": "Lists sinks.", 490 "description": "Lists sinks.",
476 "httpMethod": "GET", 491 "httpMethod": "GET",
477 "id": "logging.projects.sinks.list", 492 "id": "logging.organizations.sinks.list",
478 "parameterOrder": [ 493 "parameterOrder": [
479 "parent" 494 "parent"
480 ], 495 ],
481 "parameters": { 496 "parameters": {
482 "pageToken": { 497 "pageToken": {
483 "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.", 498 "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.",
484 "location": "query", 499 "location": "query",
485 "type": "string" 500 "type": "string"
486 }, 501 },
487 "pageSize": { 502 "pageSize": {
488 "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.", 503 "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.",
489 "format": "int32", 504 "format": "int32",
490 "location": "query", 505 "location": "query",
491 "type": "integer" 506 "type": "integer"
492 }, 507 },
493 "parent": { 508 "parent": {
494 "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", 509 "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",
495 "location": "path", 510 "location": "path",
496 "pattern": "^projects/[^/]+$", 511 "pattern": "^organizations/[^/]+$",
497 "required": true, 512 "required": true,
498 "type": "string" 513 "type": "string"
499 } 514 }
500 }, 515 },
501 "path": "v2/{+parent}/sinks", 516 "path": "v2/{+parent}/sinks",
502 "response": { 517 "response": {
503 "$ref": "ListSinksResponse" 518 "$ref": "ListSinksResponse"
504 }, 519 },
505 "scopes": [ 520 "scopes": [
506 "https://www.googleapis.com/auth/cloud-platform" , 521 "https://www.googleapis.com/auth/cloud-platform" ,
507 "https://www.googleapis.com/auth/cloud-platform. read-only", 522 "https://www.googleapis.com/auth/cloud-platform. read-only",
508 "https://www.googleapis.com/auth/logging.admin", 523 "https://www.googleapis.com/auth/logging.admin",
509 "https://www.googleapis.com/auth/logging.read" 524 "https://www.googleapis.com/auth/logging.read"
510 ] 525 ]
511 }, 526 },
512 "get": { 527 "get": {
513 "description": "Gets a sink.", 528 "description": "Gets a sink.",
514 "httpMethod": "GET", 529 "httpMethod": "GET",
515 "id": "logging.projects.sinks.get", 530 "id": "logging.organizations.sinks.get",
516 "parameterOrder": [ 531 "parameterOrder": [
517 "sinkName" 532 "sinkName"
518 ], 533 ],
519 "parameters": { 534 "parameters": {
520 "sinkName": { 535 "sinkName": {
521 "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\".", 536 "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\".",
522 "location": "path", 537 "location": "path",
523 "pattern": "^projects/[^/]+/sinks/[^/]+$", 538 "pattern": "^organizations/[^/]+/sinks/[^/]+ $",
524 "required": true, 539 "required": true,
525 "type": "string" 540 "type": "string"
526 } 541 }
527 }, 542 },
528 "path": "v2/{+sinkName}", 543 "path": "v2/{+sinkName}",
529 "response": { 544 "response": {
530 "$ref": "LogSink" 545 "$ref": "LogSink"
531 }, 546 },
532 "scopes": [ 547 "scopes": [
533 "https://www.googleapis.com/auth/cloud-platform" , 548 "https://www.googleapis.com/auth/cloud-platform" ,
534 "https://www.googleapis.com/auth/cloud-platform. read-only", 549 "https://www.googleapis.com/auth/cloud-platform. read-only",
535 "https://www.googleapis.com/auth/logging.admin", 550 "https://www.googleapis.com/auth/logging.admin",
536 "https://www.googleapis.com/auth/logging.read" 551 "https://www.googleapis.com/auth/logging.read"
537 ] 552 ]
538 }, 553 },
539 "update": { 554 "update": {
540 "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.", 555 "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.",
541 "httpMethod": "PUT", 556 "httpMethod": "PUT",
542 "id": "logging.projects.sinks.update", 557 "id": "logging.organizations.sinks.update",
543 "parameterOrder": [ 558 "parameterOrder": [
544 "sinkName" 559 "sinkName"
545 ], 560 ],
546 "parameters": { 561 "parameters": {
547 "sinkName": { 562 "sinkName": {
548 "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\".", 563 "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\".",
549 "location": "path", 564 "location": "path",
550 "pattern": "^projects/[^/]+/sinks/[^/]+$", 565 "pattern": "^organizations/[^/]+/sinks/[^/]+ $",
551 "required": true, 566 "required": true,
552 "type": "string" 567 "type": "string"
553 }, 568 },
554 "uniqueWriterIdentity": { 569 "uniqueWriterIdentity": {
555 "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 is 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 is true and the new va lue is false.", 570 "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 is 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 is true and the new va lue is false.",
556 "location": "query", 571 "location": "query",
557 "type": "boolean" 572 "type": "boolean"
558 } 573 }
559 }, 574 },
560 "path": "v2/{+sinkName}", 575 "path": "v2/{+sinkName}",
561 "request": { 576 "request": {
562 "$ref": "LogSink" 577 "$ref": "LogSink"
563 }, 578 },
564 "response": { 579 "response": {
565 "$ref": "LogSink" 580 "$ref": "LogSink"
566 }, 581 },
567 "scopes": [ 582 "scopes": [
568 "https://www.googleapis.com/auth/cloud-platform" , 583 "https://www.googleapis.com/auth/cloud-platform" ,
569 "https://www.googleapis.com/auth/logging.admin" 584 "https://www.googleapis.com/auth/logging.admin"
570 ] 585 ]
571 }, 586 },
572 "create": { 587 "create": {
573 "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.", 588 "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.",
574 "httpMethod": "POST", 589 "httpMethod": "POST",
590 "id": "logging.organizations.sinks.create",
591 "parameterOrder": [
592 "parent"
593 ],
594 "parameters": {
595 "uniqueWriterIdentity": {
596 "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 the same group or service account used by Stackdri ver Logging 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.",
597 "location": "query",
598 "type": "boolean"
599 },
600 "parent": {
601 "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\".",
602 "location": "path",
603 "pattern": "^organizations/[^/]+$",
604 "required": true,
605 "type": "string"
606 }
607 },
608 "path": "v2/{+parent}/sinks",
609 "request": {
610 "$ref": "LogSink"
611 },
612 "response": {
613 "$ref": "LogSink"
614 },
615 "scopes": [
616 "https://www.googleapis.com/auth/cloud-platform" ,
617 "https://www.googleapis.com/auth/logging.admin"
618 ]
619 }
620 }
621 }
622 }
623 },
624 "entries": {
625 "methods": {
626 "list": {
627 "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.",
628 "httpMethod": "POST",
629 "id": "logging.entries.list",
630 "parameterOrder": [],
631 "parameters": {},
632 "path": "v2/entries:list",
633 "request": {
634 "$ref": "ListLogEntriesRequest"
635 },
636 "response": {
637 "$ref": "ListLogEntriesResponse"
638 },
639 "scopes": [
640 "https://www.googleapis.com/auth/cloud-platform",
641 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
642 "https://www.googleapis.com/auth/logging.admin",
643 "https://www.googleapis.com/auth/logging.read"
644 ]
645 },
646 "write": {
647 "description": "Writes log entries to Stackdriver Logging.",
648 "httpMethod": "POST",
649 "id": "logging.entries.write",
650 "parameterOrder": [],
651 "parameters": {},
652 "path": "v2/entries:write",
653 "request": {
654 "$ref": "WriteLogEntriesRequest"
655 },
656 "response": {
657 "$ref": "WriteLogEntriesResponse"
658 },
659 "scopes": [
660 "https://www.googleapis.com/auth/cloud-platform",
661 "https://www.googleapis.com/auth/logging.admin",
662 "https://www.googleapis.com/auth/logging.write"
663 ]
664 }
665 }
666 },
667 "projects": {
668 "resources": {
669 "logs": {
670 "methods": {
671 "delete": {
672 "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.",
673 "httpMethod": "DELETE",
674 "id": "logging.projects.logs.delete",
675 "parameterOrder": [
676 "logName"
677 ],
678 "parameters": {
679 "logName": {
680 "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.",
681 "location": "path",
682 "pattern": "^projects/[^/]+/logs/[^/]+$",
683 "required": true,
684 "type": "string"
685 }
686 },
687 "path": "v2/{+logName}",
688 "response": {
689 "$ref": "Empty"
690 },
691 "scopes": [
692 "https://www.googleapis.com/auth/cloud-platform" ,
693 "https://www.googleapis.com/auth/logging.admin"
694 ]
695 },
696 "list": {
697 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
698 "httpMethod": "GET",
699 "id": "logging.projects.logs.list",
700 "parameterOrder": [
701 "parent"
702 ],
703 "parameters": {
704 "parent": {
705 "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",
706 "location": "path",
707 "pattern": "^projects/[^/]+$",
708 "required": true,
709 "type": "string"
710 },
711 "pageToken": {
712 "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.",
713 "location": "query",
714 "type": "string"
715 },
716 "pageSize": {
717 "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.",
718 "format": "int32",
719 "location": "query",
720 "type": "integer"
721 }
722 },
723 "path": "v2/{+parent}/logs",
724 "response": {
725 "$ref": "ListLogsResponse"
726 },
727 "scopes": [
728 "https://www.googleapis.com/auth/cloud-platform" ,
729 "https://www.googleapis.com/auth/cloud-platform. read-only",
730 "https://www.googleapis.com/auth/logging.admin",
731 "https://www.googleapis.com/auth/logging.read"
732 ]
733 }
734 }
735 },
736 "sinks": {
737 "methods": {
738 "list": {
739 "description": "Lists sinks.",
740 "httpMethod": "GET",
741 "id": "logging.projects.sinks.list",
742 "parameterOrder": [
743 "parent"
744 ],
745 "parameters": {
746 "pageToken": {
747 "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.",
748 "location": "query",
749 "type": "string"
750 },
751 "pageSize": {
752 "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.",
753 "format": "int32",
754 "location": "query",
755 "type": "integer"
756 },
757 "parent": {
758 "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",
759 "location": "path",
760 "pattern": "^projects/[^/]+$",
761 "required": true,
762 "type": "string"
763 }
764 },
765 "path": "v2/{+parent}/sinks",
766 "response": {
767 "$ref": "ListSinksResponse"
768 },
769 "scopes": [
770 "https://www.googleapis.com/auth/cloud-platform" ,
771 "https://www.googleapis.com/auth/cloud-platform. read-only",
772 "https://www.googleapis.com/auth/logging.admin",
773 "https://www.googleapis.com/auth/logging.read"
774 ]
775 },
776 "get": {
777 "description": "Gets a sink.",
778 "httpMethod": "GET",
779 "id": "logging.projects.sinks.get",
780 "parameterOrder": [
781 "sinkName"
782 ],
783 "parameters": {
784 "sinkName": {
785 "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\".",
786 "location": "path",
787 "pattern": "^projects/[^/]+/sinks/[^/]+$",
788 "required": true,
789 "type": "string"
790 }
791 },
792 "path": "v2/{+sinkName}",
793 "response": {
794 "$ref": "LogSink"
795 },
796 "scopes": [
797 "https://www.googleapis.com/auth/cloud-platform" ,
798 "https://www.googleapis.com/auth/cloud-platform. read-only",
799 "https://www.googleapis.com/auth/logging.admin",
800 "https://www.googleapis.com/auth/logging.read"
801 ]
802 },
803 "update": {
804 "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.",
805 "httpMethod": "PUT",
806 "id": "logging.projects.sinks.update",
807 "parameterOrder": [
808 "sinkName"
809 ],
810 "parameters": {
811 "sinkName": {
812 "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\".",
813 "location": "path",
814 "pattern": "^projects/[^/]+/sinks/[^/]+$",
815 "required": true,
816 "type": "string"
817 },
818 "uniqueWriterIdentity": {
819 "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 is 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 is true and the new va lue is false.",
820 "location": "query",
821 "type": "boolean"
822 }
823 },
824 "path": "v2/{+sinkName}",
825 "request": {
826 "$ref": "LogSink"
827 },
828 "response": {
829 "$ref": "LogSink"
830 },
831 "scopes": [
832 "https://www.googleapis.com/auth/cloud-platform" ,
833 "https://www.googleapis.com/auth/logging.admin"
834 ]
835 },
836 "create": {
837 "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.",
838 "httpMethod": "POST",
575 "id": "logging.projects.sinks.create", 839 "id": "logging.projects.sinks.create",
576 "parameterOrder": [ 840 "parameterOrder": [
577 "parent" 841 "parent"
578 ], 842 ],
579 "parameters": { 843 "parameters": {
580 "parent": { 844 "parent": {
581 "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\".", 845 "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\".",
582 "location": "path", 846 "location": "path",
583 "pattern": "^projects/[^/]+$", 847 "pattern": "^projects/[^/]+$",
584 "required": true, 848 "required": true,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 ] 1078 ]
815 }, 1079 },
816 "list": { 1080 "list": {
817 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 1081 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
818 "httpMethod": "GET", 1082 "httpMethod": "GET",
819 "id": "logging.billingAccounts.logs.list", 1083 "id": "logging.billingAccounts.logs.list",
820 "parameterOrder": [ 1084 "parameterOrder": [
821 "parent" 1085 "parent"
822 ], 1086 ],
823 "parameters": { 1087 "parameters": {
1088 "pageToken": {
1089 "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.",
1090 "location": "query",
1091 "type": "string"
1092 },
824 "pageSize": { 1093 "pageSize": {
825 "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.", 1094 "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.",
826 "format": "int32", 1095 "format": "int32",
827 "location": "query", 1096 "location": "query",
828 "type": "integer" 1097 "type": "integer"
829 }, 1098 },
830 "parent": { 1099 "parent": {
831 "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", 1100 "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",
832 "location": "path", 1101 "location": "path",
833 "pattern": "^billingAccounts/[^/]+$", 1102 "pattern": "^billingAccounts/[^/]+$",
834 "required": true, 1103 "required": true,
835 "type": "string" 1104 "type": "string"
836 },
837 "pageToken": {
838 "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.",
839 "location": "query",
840 "type": "string"
841 } 1105 }
842 }, 1106 },
843 "path": "v2/{+parent}/logs", 1107 "path": "v2/{+parent}/logs",
844 "response": { 1108 "response": {
845 "$ref": "ListLogsResponse" 1109 "$ref": "ListLogsResponse"
846 }, 1110 },
847 "scopes": [ 1111 "scopes": [
848 "https://www.googleapis.com/auth/cloud-platform" , 1112 "https://www.googleapis.com/auth/cloud-platform" ,
849 "https://www.googleapis.com/auth/cloud-platform. read-only", 1113 "https://www.googleapis.com/auth/cloud-platform. read-only",
850 "https://www.googleapis.com/auth/logging.admin", 1114 "https://www.googleapis.com/auth/logging.admin",
851 "https://www.googleapis.com/auth/logging.read" 1115 "https://www.googleapis.com/auth/logging.read"
852 ] 1116 ]
853 } 1117 }
854 } 1118 }
855 }, 1119 },
856 "sinks": { 1120 "sinks": {
857 "methods": { 1121 "methods": {
858 "list": {
859 "description": "Lists sinks.",
860 "httpMethod": "GET",
861 "id": "logging.billingAccounts.sinks.list",
862 "parameterOrder": [
863 "parent"
864 ],
865 "parameters": {
866 "pageToken": {
867 "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.",
868 "location": "query",
869 "type": "string"
870 },
871 "pageSize": {
872 "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.",
873 "format": "int32",
874 "location": "query",
875 "type": "integer"
876 },
877 "parent": {
878 "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",
879 "location": "path",
880 "pattern": "^billingAccounts/[^/]+$",
881 "required": true,
882 "type": "string"
883 }
884 },
885 "path": "v2/{+parent}/sinks",
886 "response": {
887 "$ref": "ListSinksResponse"
888 },
889 "scopes": [
890 "https://www.googleapis.com/auth/cloud-platform" ,
891 "https://www.googleapis.com/auth/cloud-platform. read-only",
892 "https://www.googleapis.com/auth/logging.admin",
893 "https://www.googleapis.com/auth/logging.read"
894 ]
895 },
896 "get": {
897 "description": "Gets a sink.",
898 "httpMethod": "GET",
899 "id": "logging.billingAccounts.sinks.get",
900 "parameterOrder": [
901 "sinkName"
902 ],
903 "parameters": {
904 "sinkName": {
905 "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\".",
906 "location": "path",
907 "pattern": "^billingAccounts/[^/]+/sinks/[^/ ]+$",
908 "required": true,
909 "type": "string"
910 }
911 },
912 "path": "v2/{+sinkName}",
913 "response": {
914 "$ref": "LogSink"
915 },
916 "scopes": [
917 "https://www.googleapis.com/auth/cloud-platform" ,
918 "https://www.googleapis.com/auth/cloud-platform. read-only",
919 "https://www.googleapis.com/auth/logging.admin",
920 "https://www.googleapis.com/auth/logging.read"
921 ]
922 },
923 "update": {
924 "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.",
925 "httpMethod": "PUT",
926 "id": "logging.billingAccounts.sinks.update",
927 "parameterOrder": [
928 "sinkName"
929 ],
930 "parameters": {
931 "sinkName": {
932 "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\".",
933 "location": "path",
934 "pattern": "^billingAccounts/[^/]+/sinks/[^/ ]+$",
935 "required": true,
936 "type": "string"
937 },
938 "uniqueWriterIdentity": {
939 "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 is 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 is true and the new va lue is false.",
940 "location": "query",
941 "type": "boolean"
942 }
943 },
944 "path": "v2/{+sinkName}",
945 "request": {
946 "$ref": "LogSink"
947 },
948 "response": {
949 "$ref": "LogSink"
950 },
951 "scopes": [
952 "https://www.googleapis.com/auth/cloud-platform" ,
953 "https://www.googleapis.com/auth/logging.admin"
954 ]
955 },
956 "create": {
957 "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.",
958 "httpMethod": "POST",
959 "id": "logging.billingAccounts.sinks.create",
960 "parameterOrder": [
961 "parent"
962 ],
963 "parameters": {
964 "parent": {
965 "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\".",
966 "location": "path",
967 "pattern": "^billingAccounts/[^/]+$",
968 "required": true,
969 "type": "string"
970 },
971 "uniqueWriterIdentity": {
972 "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 the same group or service account used by Stackdri ver Logging 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.",
973 "location": "query",
974 "type": "boolean"
975 }
976 },
977 "path": "v2/{+parent}/sinks",
978 "request": {
979 "$ref": "LogSink"
980 },
981 "response": {
982 "$ref": "LogSink"
983 },
984 "scopes": [
985 "https://www.googleapis.com/auth/cloud-platform" ,
986 "https://www.googleapis.com/auth/logging.admin"
987 ]
988 },
989 "delete": { 1122 "delete": {
990 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.", 1123 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.",
991 "httpMethod": "DELETE", 1124 "httpMethod": "DELETE",
992 "id": "logging.billingAccounts.sinks.delete", 1125 "id": "logging.billingAccounts.sinks.delete",
993 "parameterOrder": [ 1126 "parameterOrder": [
994 "sinkName" 1127 "sinkName"
995 ], 1128 ],
996 "parameters": { 1129 "parameters": {
997 "sinkName": { 1130 "sinkName": {
998 "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\".", 1131 "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\".",
999 "location": "path", 1132 "location": "path",
1000 "pattern": "^billingAccounts/[^/]+/sinks/[^/ ]+$", 1133 "pattern": "^billingAccounts/[^/]+/sinks/[^/ ]+$",
1001 "required": true, 1134 "required": true,
1002 "type": "string" 1135 "type": "string"
1003 } 1136 }
1004 }, 1137 },
1005 "path": "v2/{+sinkName}", 1138 "path": "v2/{+sinkName}",
1006 "response": { 1139 "response": {
1007 "$ref": "Empty" 1140 "$ref": "Empty"
1008 }, 1141 },
1009 "scopes": [ 1142 "scopes": [
1010 "https://www.googleapis.com/auth/cloud-platform" , 1143 "https://www.googleapis.com/auth/cloud-platform" ,
1011 "https://www.googleapis.com/auth/logging.admin" 1144 "https://www.googleapis.com/auth/logging.admin"
1012 ] 1145 ]
1013 }
1014 }
1015 }
1016 }
1017 },
1018 "folders": {
1019 "resources": {
1020 "logs": {
1021 "methods": {
1022 "delete": {
1023 "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.",
1024 "httpMethod": "DELETE",
1025 "id": "logging.folders.logs.delete",
1026 "parameterOrder": [
1027 "logName"
1028 ],
1029 "parameters": {
1030 "logName": {
1031 "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.",
1032 "location": "path",
1033 "pattern": "^folders/[^/]+/logs/[^/]+$",
1034 "required": true,
1035 "type": "string"
1036 }
1037 },
1038 "path": "v2/{+logName}",
1039 "response": {
1040 "$ref": "Empty"
1041 },
1042 "scopes": [
1043 "https://www.googleapis.com/auth/cloud-platform" ,
1044 "https://www.googleapis.com/auth/logging.admin"
1045 ]
1046 }, 1146 },
1047 "list": { 1147 "list": {
1048 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 1148 "description": "Lists sinks.",
1049 "httpMethod": "GET", 1149 "httpMethod": "GET",
1050 "id": "logging.folders.logs.list", 1150 "id": "logging.billingAccounts.sinks.list",
1051 "parameterOrder": [ 1151 "parameterOrder": [
1052 "parent" 1152 "parent"
1053 ], 1153 ],
1054 "parameters": { 1154 "parameters": {
1055 "pageToken": {
1056 "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.",
1057 "location": "query",
1058 "type": "string"
1059 },
1060 "pageSize": {
1061 "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.",
1062 "format": "int32",
1063 "location": "query",
1064 "type": "integer"
1065 },
1066 "parent": {
1067 "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",
1068 "location": "path",
1069 "pattern": "^folders/[^/]+$",
1070 "required": true,
1071 "type": "string"
1072 }
1073 },
1074 "path": "v2/{+parent}/logs",
1075 "response": {
1076 "$ref": "ListLogsResponse"
1077 },
1078 "scopes": [
1079 "https://www.googleapis.com/auth/cloud-platform" ,
1080 "https://www.googleapis.com/auth/cloud-platform. read-only",
1081 "https://www.googleapis.com/auth/logging.admin",
1082 "https://www.googleapis.com/auth/logging.read"
1083 ]
1084 }
1085 }
1086 },
1087 "sinks": {
1088 "methods": {
1089 "list": {
1090 "description": "Lists sinks.",
1091 "httpMethod": "GET",
1092 "id": "logging.folders.sinks.list",
1093 "parameterOrder": [
1094 "parent"
1095 ],
1096 "parameters": {
1097 "pageSize": {
1098 "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.",
1099 "format": "int32",
1100 "location": "query",
1101 "type": "integer"
1102 },
1103 "parent": { 1155 "parent": {
1104 "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", 1156 "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",
1105 "location": "path", 1157 "location": "path",
1106 "pattern": "^folders/[^/]+$", 1158 "pattern": "^billingAccounts/[^/]+$",
1107 "required": true, 1159 "required": true,
1108 "type": "string" 1160 "type": "string"
1109 }, 1161 },
1110 "pageToken": { 1162 "pageToken": {
1111 "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.", 1163 "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.",
1112 "location": "query", 1164 "location": "query",
1113 "type": "string" 1165 "type": "string"
1166 },
1167 "pageSize": {
1168 "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.",
1169 "format": "int32",
1170 "location": "query",
1171 "type": "integer"
1114 } 1172 }
1115 }, 1173 },
1116 "path": "v2/{+parent}/sinks", 1174 "path": "v2/{+parent}/sinks",
1117 "response": { 1175 "response": {
1118 "$ref": "ListSinksResponse" 1176 "$ref": "ListSinksResponse"
1119 }, 1177 },
1120 "scopes": [ 1178 "scopes": [
1121 "https://www.googleapis.com/auth/cloud-platform" , 1179 "https://www.googleapis.com/auth/cloud-platform" ,
1122 "https://www.googleapis.com/auth/cloud-platform. read-only", 1180 "https://www.googleapis.com/auth/cloud-platform. read-only",
1123 "https://www.googleapis.com/auth/logging.admin", 1181 "https://www.googleapis.com/auth/logging.admin",
1124 "https://www.googleapis.com/auth/logging.read" 1182 "https://www.googleapis.com/auth/logging.read"
1125 ] 1183 ]
1126 }, 1184 },
1127 "get": { 1185 "get": {
1128 "description": "Gets a sink.", 1186 "description": "Gets a sink.",
1129 "httpMethod": "GET", 1187 "httpMethod": "GET",
1130 "id": "logging.folders.sinks.get", 1188 "id": "logging.billingAccounts.sinks.get",
1131 "parameterOrder": [ 1189 "parameterOrder": [
1132 "sinkName" 1190 "sinkName"
1133 ], 1191 ],
1134 "parameters": { 1192 "parameters": {
1135 "sinkName": { 1193 "sinkName": {
1136 "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\".", 1194 "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\".",
1137 "location": "path", 1195 "location": "path",
1138 "pattern": "^folders/[^/]+/sinks/[^/]+$", 1196 "pattern": "^billingAccounts/[^/]+/sinks/[^/ ]+$",
1139 "required": true, 1197 "required": true,
1140 "type": "string" 1198 "type": "string"
1141 } 1199 }
1142 }, 1200 },
1143 "path": "v2/{+sinkName}", 1201 "path": "v2/{+sinkName}",
1144 "response": { 1202 "response": {
1145 "$ref": "LogSink" 1203 "$ref": "LogSink"
1146 }, 1204 },
1147 "scopes": [ 1205 "scopes": [
1148 "https://www.googleapis.com/auth/cloud-platform" , 1206 "https://www.googleapis.com/auth/cloud-platform" ,
1149 "https://www.googleapis.com/auth/cloud-platform. read-only", 1207 "https://www.googleapis.com/auth/cloud-platform. read-only",
1150 "https://www.googleapis.com/auth/logging.admin", 1208 "https://www.googleapis.com/auth/logging.admin",
1151 "https://www.googleapis.com/auth/logging.read" 1209 "https://www.googleapis.com/auth/logging.read"
1152 ] 1210 ]
1153 }, 1211 },
1154 "update": { 1212 "update": {
1155 "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.", 1213 "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.",
1156 "httpMethod": "PUT", 1214 "httpMethod": "PUT",
1157 "id": "logging.folders.sinks.update", 1215 "id": "logging.billingAccounts.sinks.update",
1158 "parameterOrder": [ 1216 "parameterOrder": [
1159 "sinkName" 1217 "sinkName"
1160 ], 1218 ],
1161 "parameters": { 1219 "parameters": {
1162 "sinkName": { 1220 "sinkName": {
1163 "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\".", 1221 "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\".",
1164 "location": "path", 1222 "location": "path",
1165 "pattern": "^folders/[^/]+/sinks/[^/]+$", 1223 "pattern": "^billingAccounts/[^/]+/sinks/[^/ ]+$",
1166 "required": true, 1224 "required": true,
1167 "type": "string" 1225 "type": "string"
1168 }, 1226 },
1169 "uniqueWriterIdentity": { 1227 "uniqueWriterIdentity": {
1170 "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 is 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 is true and the new va lue is false.", 1228 "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 is 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 is true and the new va lue is false.",
1171 "location": "query", 1229 "location": "query",
1172 "type": "boolean" 1230 "type": "boolean"
1173 } 1231 }
1174 }, 1232 },
1175 "path": "v2/{+sinkName}", 1233 "path": "v2/{+sinkName}",
1176 "request": { 1234 "request": {
1177 "$ref": "LogSink" 1235 "$ref": "LogSink"
1178 }, 1236 },
1179 "response": { 1237 "response": {
1180 "$ref": "LogSink" 1238 "$ref": "LogSink"
1181 }, 1239 },
1182 "scopes": [ 1240 "scopes": [
1183 "https://www.googleapis.com/auth/cloud-platform" , 1241 "https://www.googleapis.com/auth/cloud-platform" ,
1184 "https://www.googleapis.com/auth/logging.admin" 1242 "https://www.googleapis.com/auth/logging.admin"
1185 ] 1243 ]
1186 }, 1244 },
1187 "create": { 1245 "create": {
1188 "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.", 1246 "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.",
1189 "httpMethod": "POST", 1247 "httpMethod": "POST",
1190 "id": "logging.folders.sinks.create", 1248 "id": "logging.billingAccounts.sinks.create",
1191 "parameterOrder": [ 1249 "parameterOrder": [
1192 "parent" 1250 "parent"
1193 ], 1251 ],
1194 "parameters": { 1252 "parameters": {
1253 "parent": {
1254 "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\".",
1255 "location": "path",
1256 "pattern": "^billingAccounts/[^/]+$",
1257 "required": true,
1258 "type": "string"
1259 },
1195 "uniqueWriterIdentity": { 1260 "uniqueWriterIdentity": {
1196 "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 the same group or service account used by Stackdri ver Logging 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.", 1261 "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 the same group or service account used by Stackdri ver Logging 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.",
1197 "location": "query", 1262 "location": "query",
1198 "type": "boolean" 1263 "type": "boolean"
1199 },
1200 "parent": {
1201 "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\".",
1202 "location": "path",
1203 "pattern": "^folders/[^/]+$",
1204 "required": true,
1205 "type": "string"
1206 } 1264 }
1207 }, 1265 },
1208 "path": "v2/{+parent}/sinks", 1266 "path": "v2/{+parent}/sinks",
1209 "request": { 1267 "request": {
1210 "$ref": "LogSink" 1268 "$ref": "LogSink"
1211 }, 1269 },
1212 "response": { 1270 "response": {
1213 "$ref": "LogSink" 1271 "$ref": "LogSink"
1214 }, 1272 },
1215 "scopes": [ 1273 "scopes": [
1216 "https://www.googleapis.com/auth/cloud-platform" , 1274 "https://www.googleapis.com/auth/cloud-platform" ,
1217 "https://www.googleapis.com/auth/logging.admin" 1275 "https://www.googleapis.com/auth/logging.admin"
1218 ] 1276 ]
1219 },
1220 "delete": {
1221 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.",
1222 "httpMethod": "DELETE",
1223 "id": "logging.folders.sinks.delete",
1224 "parameterOrder": [
1225 "sinkName"
1226 ],
1227 "parameters": {
1228 "sinkName": {
1229 "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\".",
1230 "location": "path",
1231 "pattern": "^folders/[^/]+/sinks/[^/]+$",
1232 "required": true,
1233 "type": "string"
1234 }
1235 },
1236 "path": "v2/{+sinkName}",
1237 "response": {
1238 "$ref": "Empty"
1239 },
1240 "scopes": [
1241 "https://www.googleapis.com/auth/cloud-platform" ,
1242 "https://www.googleapis.com/auth/logging.admin"
1243 ]
1244 } 1277 }
1245 } 1278 }
1246 } 1279 }
1247 } 1280 }
1248 },
1249 "monitoredResourceDescriptors": {
1250 "methods": {
1251 "list": {
1252 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.",
1253 "httpMethod": "GET",
1254 "id": "logging.monitoredResourceDescriptors.list",
1255 "parameterOrder": [],
1256 "parameters": {
1257 "pageSize": {
1258 "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." ,
1259 "format": "int32",
1260 "location": "query",
1261 "type": "integer"
1262 },
1263 "pageToken": {
1264 "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.",
1265 "location": "query",
1266 "type": "string"
1267 }
1268 },
1269 "path": "v2/monitoredResourceDescriptors",
1270 "response": {
1271 "$ref": "ListMonitoredResourceDescriptorsResponse"
1272 },
1273 "scopes": [
1274 "https://www.googleapis.com/auth/cloud-platform",
1275 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
1276 "https://www.googleapis.com/auth/logging.admin",
1277 "https://www.googleapis.com/auth/logging.read"
1278 ]
1279 }
1280 }
1281 } 1281 }
1282 }, 1282 },
1283 "revision": "20170320", 1283 "revision": "20170410",
1284 "rootUrl": "https://logging.googleapis.com/", 1284 "rootUrl": "https://logging.googleapis.com/",
1285 "schemas": { 1285 "schemas": {
1286 "WriteLogEntriesRequest": {
1287 "description": "The parameters to WriteLogEntries.",
1288 "id": "WriteLogEntriesRequest",
1289 "properties": {
1290 "labels": {
1291 "additionalProperties": {
1292 "type": "string"
1293 },
1294 "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.",
1295 "type": "object"
1296 },
1297 "resource": {
1298 "$ref": "MonitoredResource",
1299 "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 ."
1300 },
1301 "logName": {
1302 "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.",
1303 "type": "string"
1304 },
1305 "entries": {
1306 "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.",
1307 "items": {
1308 "$ref": "LogEntry"
1309 },
1310 "type": "array"
1311 },
1312 "partialSuccess": {
1313 "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.",
1314 "type": "boolean"
1315 }
1316 },
1317 "type": "object"
1318 },
1319 "LogSink": {
1320 "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.",
1321 "id": "LogSink",
1322 "properties": {
1323 "name": {
1324 "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.",
1325 "type": "string"
1326 },
1327 "includeChildren": {
1328 "description": "Optional. This field presently applies only to sinks in organizations and folders. If true, then logs from children of this entity will also be available to this sink for export. Whether particular log en tries from the children are exported depends on the sink's filter expression. Fo r example, if this sink is associated with an organization, then logs from all p rojects in the organization as well as from the organization itself will be avai lable for export.",
1329 "type": "boolean"
1330 },
1331 "destination": {
1332 "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.",
1333 "type": "string"
1334 },
1335 "filter": {
1336 "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",
1337 "type": "string"
1338 },
1339 "endTime": {
1340 "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.",
1341 "format": "google-datetime",
1342 "type": "string"
1343 },
1344 "writerIdentity": {
1345 "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.",
1346 "type": "string"
1347 },
1348 "startTime": {
1349 "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.",
1350 "format": "google-datetime",
1351 "type": "string"
1352 },
1353 "outputVersionFormat": {
1354 "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.",
1355 "enum": [
1356 "VERSION_FORMAT_UNSPECIFIED",
1357 "V2",
1358 "V1"
1359 ],
1360 "enumDescriptions": [
1361 "An unspecified format version that will default to V2." ,
1362 "LogEntry version 2 format.",
1363 "LogEntry version 1 format."
1364 ],
1365 "type": "string"
1366 }
1367 },
1368 "type": "object"
1369 },
1370 "ListLogsResponse": {
1371 "description": "Result returned from ListLogs.",
1372 "id": "ListLogsResponse",
1373 "properties": {
1374 "nextPageToken": {
1375 "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." ,
1376 "type": "string"
1377 },
1378 "logNames": {
1379 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".",
1380 "items": {
1381 "type": "string"
1382 },
1383 "type": "array"
1384 }
1385 },
1386 "type": "object"
1387 },
1388 "HttpRequest": {
1389 "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.",
1390 "id": "HttpRequest",
1391 "properties": {
1392 "userAgent": {
1393 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
1394 "type": "string"
1395 },
1396 "latency": {
1397 "description": "The request processing latency on the server , from the time the request was received until the response was sent.",
1398 "format": "google-duration",
1399 "type": "string"
1400 },
1401 "cacheFillBytes": {
1402 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.",
1403 "format": "int64",
1404 "type": "string"
1405 },
1406 "requestMethod": {
1407 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".",
1408 "type": "string"
1409 },
1410 "requestSize": {
1411 "description": "The size of the HTTP request message in byte s, including the request headers and the request body.",
1412 "format": "int64",
1413 "type": "string"
1414 },
1415 "responseSize": {
1416 "description": "The size of the HTTP response message sent b ack to the client, in bytes, including the response headers and the response bod y.",
1417 "format": "int64",
1418 "type": "string"
1419 },
1420 "requestUrl": {
1421 "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\".",
1422 "type": "string"
1423 },
1424 "remoteIp": {
1425 "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\".",
1426 "type": "string"
1427 },
1428 "serverIp": {
1429 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
1430 "type": "string"
1431 },
1432 "cacheLookup": {
1433 "description": "Whether or not a cache lookup was attempted. ",
1434 "type": "boolean"
1435 },
1436 "cacheHit": {
1437 "description": "Whether or not an entity was served from cac he (with or without validation).",
1438 "type": "boolean"
1439 },
1440 "cacheValidatedWithOriginServer": {
1441 "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.",
1442 "type": "boolean"
1443 },
1444 "status": {
1445 "description": "The response code indicating the status of r esponse. Examples: 200, 404.",
1446 "format": "int32",
1447 "type": "integer"
1448 },
1449 "referer": {
1450 "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).",
1451 "type": "string"
1452 }
1453 },
1454 "type": "object"
1455 },
1456 "ListSinksResponse": {
1457 "description": "Result returned from ListSinks.",
1458 "id": "ListSinksResponse",
1459 "properties": {
1460 "sinks": {
1461 "description": "A list of sinks.",
1462 "items": {
1463 "$ref": "LogSink"
1464 },
1465 "type": "array"
1466 },
1467 "nextPageToken": {
1468 "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.",
1469 "type": "string"
1470 }
1471 },
1472 "type": "object"
1473 },
1474 "LabelDescriptor": {
1475 "description": "A description of a label.",
1476 "id": "LabelDescriptor",
1477 "properties": {
1478 "key": {
1479 "description": "The label key.",
1480 "type": "string"
1481 },
1482 "description": {
1483 "description": "A human-readable description for the label." ,
1484 "type": "string"
1485 },
1486 "valueType": {
1487 "description": "The type of data that can be assigned to the label.",
1488 "enum": [
1489 "STRING",
1490 "BOOL",
1491 "INT64"
1492 ],
1493 "enumDescriptions": [
1494 "A variable-length string. This is the default.",
1495 "Boolean; true or false.",
1496 "A 64-bit signed integer."
1497 ],
1498 "type": "string"
1499 }
1500 },
1501 "type": "object"
1502 },
1503 "MonitoredResourceDescriptor": {
1504 "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.",
1505 "id": "MonitoredResourceDescriptor",
1506 "properties": {
1507 "labels": {
1508 "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 \".",
1509 "items": {
1510 "$ref": "LabelDescriptor"
1511 },
1512 "type": "array"
1513 },
1514 "name": {
1515 "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}\".",
1516 "type": "string"
1517 },
1518 "displayName": {
1519 "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\".",
1520 "type": "string"
1521 },
1522 "description": {
1523 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
1524 "type": "string"
1525 },
1526 "type": {
1527 "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.",
1528 "type": "string"
1529 }
1530 },
1531 "type": "object"
1532 },
1286 "LogEntrySourceLocation": { 1533 "LogEntrySourceLocation": {
1287 "description": "Additional information about the source code locatio n that produced the log entry.", 1534 "description": "Additional information about the source code locatio n that produced the log entry.",
1288 "id": "LogEntrySourceLocation", 1535 "id": "LogEntrySourceLocation",
1289 "properties": { 1536 "properties": {
1290 "file": { 1537 "file": {
1291 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", 1538 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
1292 "type": "string" 1539 "type": "string"
1293 }, 1540 },
1294 "function": { 1541 "function": {
1295 "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). ", 1542 "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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 }, 1625 },
1379 "type": "array" 1626 "type": "array"
1380 }, 1627 },
1381 "nextPageToken": { 1628 "nextPageToken": {
1382 "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 this method again using the value of nextPageToken as pageToken.", 1629 "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 this method again using the value of nextPageToken as pageToken.",
1383 "type": "string" 1630 "type": "string"
1384 } 1631 }
1385 }, 1632 },
1386 "type": "object" 1633 "type": "object"
1387 }, 1634 },
1635 "Empty": {
1636 "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 {}.",
1637 "id": "Empty",
1638 "properties": {},
1639 "type": "object"
1640 },
1388 "LogEntry": { 1641 "LogEntry": {
1389 "description": "An individual entry in a log.", 1642 "description": "An individual entry in a log.",
1390 "id": "LogEntry", 1643 "id": "LogEntry",
1391 "properties": { 1644 "properties": {
1392 "logName": {
1393 "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.",
1394 "type": "string"
1395 },
1396 "httpRequest": {
1397 "$ref": "HttpRequest",
1398 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
1399 },
1400 "resource": {
1401 "$ref": "MonitoredResource",
1402 "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."
1403 },
1404 "jsonPayload": {
1405 "additionalProperties": {
1406 "description": "Properties of the object.",
1407 "type": "any"
1408 },
1409 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
1410 "type": "object"
1411 },
1412 "insertId": {
1413 "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.",
1414 "type": "string"
1415 },
1416 "operation": {
1417 "$ref": "LogEntryOperation",
1418 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
1419 },
1420 "textPayload": {
1421 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
1422 "type": "string"
1423 },
1424 "protoPayload": {
1425 "additionalProperties": {
1426 "description": "Properties of the object. Contains field @type with type URL.",
1427 "type": "any"
1428 },
1429 "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.",
1430 "type": "object"
1431 },
1432 "trace": {
1433 "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",
1434 "type": "string"
1435 },
1436 "labels": { 1645 "labels": {
1437 "additionalProperties": { 1646 "additionalProperties": {
1438 "type": "string" 1647 "type": "string"
1439 }, 1648 },
1440 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.", 1649 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
1441 "type": "object" 1650 "type": "object"
1442 }, 1651 },
1652 "trace": {
1653 "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",
1654 "type": "string"
1655 },
1443 "severity": { 1656 "severity": {
1444 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", 1657 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
1445 "enum": [ 1658 "enum": [
1446 "DEFAULT", 1659 "DEFAULT",
1447 "DEBUG", 1660 "DEBUG",
1448 "INFO", 1661 "INFO",
1449 "NOTICE", 1662 "NOTICE",
1450 "WARNING", 1663 "WARNING",
1451 "ERROR", 1664 "ERROR",
1452 "CRITICAL", 1665 "CRITICAL",
(...skipping 14 matching lines...) Expand all
1467 "type": "string" 1680 "type": "string"
1468 }, 1681 },
1469 "sourceLocation": { 1682 "sourceLocation": {
1470 "$ref": "LogEntrySourceLocation", 1683 "$ref": "LogEntrySourceLocation",
1471 "description": "Optional. Source code location information a ssociated with the log entry, if any." 1684 "description": "Optional. Source code location information a ssociated with the log entry, if any."
1472 }, 1685 },
1473 "timestamp": { 1686 "timestamp": {
1474 "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.", 1687 "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.",
1475 "format": "google-datetime", 1688 "format": "google-datetime",
1476 "type": "string" 1689 "type": "string"
1690 },
1691 "logName": {
1692 "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.",
1693 "type": "string"
1694 },
1695 "resource": {
1696 "$ref": "MonitoredResource",
1697 "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."
1698 },
1699 "httpRequest": {
1700 "$ref": "HttpRequest",
1701 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
1702 },
1703 "jsonPayload": {
1704 "additionalProperties": {
1705 "description": "Properties of the object.",
1706 "type": "any"
1707 },
1708 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
1709 "type": "object"
1710 },
1711 "operation": {
1712 "$ref": "LogEntryOperation",
1713 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
1714 },
1715 "insertId": {
1716 "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.",
1717 "type": "string"
1718 },
1719 "textPayload": {
1720 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
1721 "type": "string"
1722 },
1723 "protoPayload": {
1724 "additionalProperties": {
1725 "description": "Properties of the object. Contains field @type with type URL.",
1726 "type": "any"
1727 },
1728 "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.",
1729 "type": "object"
1477 } 1730 }
1478 }, 1731 },
1479 "type": "object" 1732 "type": "object"
1480 }, 1733 },
1481 "Empty": {
1482 "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 {}.",
1483 "id": "Empty",
1484 "properties": {},
1485 "type": "object"
1486 },
1487 "SourceLocation": { 1734 "SourceLocation": {
1488 "description": "Specifies a location in a source code file.", 1735 "description": "Specifies a location in a source code file.",
1489 "id": "SourceLocation", 1736 "id": "SourceLocation",
1490 "properties": { 1737 "properties": {
1738 "line": {
1739 "description": "Line within the source file.",
1740 "format": "int64",
1741 "type": "string"
1742 },
1491 "file": { 1743 "file": {
1492 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.", 1744 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.",
1493 "type": "string" 1745 "type": "string"
1494 }, 1746 },
1495 "functionName": { 1747 "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).", 1748 "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" 1749 "type": "string"
1498 },
1499 "line": {
1500 "description": "Line within the source file.",
1501 "format": "int64",
1502 "type": "string"
1503 } 1750 }
1504 }, 1751 },
1505 "type": "object" 1752 "type": "object"
1506 }, 1753 },
1507 "ListLogEntriesRequest": { 1754 "ListLogEntriesRequest": {
1508 "description": "The parameters to ListLogEntries.", 1755 "description": "The parameters to ListLogEntries.",
1509 "id": "ListLogEntriesRequest", 1756 "id": "ListLogEntriesRequest",
1510 "properties": { 1757 "properties": {
1758 "pageToken": {
1759 "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.",
1760 "type": "string"
1761 },
1511 "pageSize": { 1762 "pageSize": {
1512 "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.", 1763 "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.",
1513 "format": "int32", 1764 "format": "int32",
1514 "type": "integer" 1765 "type": "integer"
1515 }, 1766 },
1516 "orderBy": { 1767 "orderBy": {
1517 "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.", 1768 "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.",
1518 "type": "string" 1769 "type": "string"
1519 }, 1770 },
1520 "resourceNames": { 1771 "resourceNames": {
1521 "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.", 1772 "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.",
1522 "items": { 1773 "items": {
1523 "type": "string" 1774 "type": "string"
1524 }, 1775 },
1525 "type": "array" 1776 "type": "array"
1526 }, 1777 },
1527 "projectIds": { 1778 "projectIds": {
1528 "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. ", 1779 "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. ",
1529 "items": { 1780 "items": {
1530 "type": "string" 1781 "type": "string"
1531 }, 1782 },
1532 "type": "array" 1783 "type": "array"
1533 }, 1784 },
1534 "filter": { 1785 "filter": {
1535 "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.", 1786 "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.",
1536 "type": "string" 1787 "type": "string"
1537 },
1538 "pageToken": {
1539 "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.",
1540 "type": "string"
1541 } 1788 }
1542 }, 1789 },
1543 "type": "object" 1790 "type": "object"
1544 }, 1791 },
1545 "RequestLog": { 1792 "RequestLog": {
1546 "description": "Complete log information about a single HTTP request to an App Engine application.", 1793 "description": "Complete log information about a single HTTP request to an App Engine application.",
1547 "id": "RequestLog", 1794 "id": "RequestLog",
1548 "properties": { 1795 "properties": {
1796 "ip": {
1797 "description": "Origin IP address.",
1798 "type": "string"
1799 },
1800 "appId": {
1801 "description": "Application that handled this request.",
1802 "type": "string"
1803 },
1804 "appEngineRelease": {
1805 "description": "App Engine release version.",
1806 "type": "string"
1807 },
1808 "method": {
1809 "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".",
1810 "type": "string"
1811 },
1812 "cost": {
1813 "description": "An indication of the relative cost of servin g this request.",
1814 "format": "double",
1815 "type": "number"
1816 },
1817 "instanceId": {
1818 "description": "An identifier for the instance that handled the request.",
1819 "type": "string"
1820 },
1821 "megaCycles": {
1822 "description": "Number of CPU megacycles used to process req uest.",
1823 "format": "int64",
1824 "type": "string"
1825 },
1549 "first": { 1826 "first": {
1550 "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.", 1827 "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.",
1551 "type": "boolean" 1828 "type": "boolean"
1552 }, 1829 },
1553 "versionId": { 1830 "versionId": {
1554 "description": "Version of the application that handled this request.", 1831 "description": "Version of the application that handled this request.",
1555 "type": "string" 1832 "type": "string"
1556 }, 1833 },
1557 "moduleId": { 1834 "moduleId": {
1558 "description": "Module of the application that handled this request.", 1835 "description": "Module of the application that handled this request.",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 }, 1928 },
1652 "startTime": { 1929 "startTime": {
1653 "description": "Time when the request started.", 1930 "description": "Time when the request started.",
1654 "format": "google-datetime", 1931 "format": "google-datetime",
1655 "type": "string" 1932 "type": "string"
1656 }, 1933 },
1657 "latency": { 1934 "latency": {
1658 "description": "Latency of the request.", 1935 "description": "Latency of the request.",
1659 "format": "google-duration", 1936 "format": "google-duration",
1660 "type": "string" 1937 "type": "string"
1661 },
1662 "ip": {
1663 "description": "Origin IP address.",
1664 "type": "string"
1665 },
1666 "appId": {
1667 "description": "Application that handled this request.",
1668 "type": "string"
1669 },
1670 "appEngineRelease": {
1671 "description": "App Engine release version.",
1672 "type": "string"
1673 },
1674 "method": {
1675 "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".",
1676 "type": "string"
1677 },
1678 "cost": {
1679 "description": "An indication of the relative cost of servin g this request.",
1680 "format": "double",
1681 "type": "number"
1682 },
1683 "instanceId": {
1684 "description": "An identifier for the instance that handled the request.",
1685 "type": "string"
1686 },
1687 "megaCycles": {
1688 "description": "Number of CPU megacycles used to process req uest.",
1689 "format": "int64",
1690 "type": "string"
1691 } 1938 }
1692 }, 1939 },
1693 "type": "object" 1940 "type": "object"
1694 }, 1941 },
1695 "ListMonitoredResourceDescriptorsResponse": { 1942 "ListMonitoredResourceDescriptorsResponse": {
1696 "description": "Result returned from ListMonitoredResourceDescriptor s.", 1943 "description": "Result returned from ListMonitoredResourceDescriptor s.",
1697 "id": "ListMonitoredResourceDescriptorsResponse", 1944 "id": "ListMonitoredResourceDescriptorsResponse",
1698 "properties": { 1945 "properties": {
1699 "resourceDescriptors": { 1946 "resourceDescriptors": {
1700 "description": "A list of resource descriptors.", 1947 "description": "A list of resource descriptors.",
(...skipping 21 matching lines...) Expand all
1722 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "", 1969 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "",
1723 "type": "string" 1970 "type": "string"
1724 } 1971 }
1725 }, 1972 },
1726 "type": "object" 1973 "type": "object"
1727 }, 1974 },
1728 "LogMetric": { 1975 "LogMetric": {
1729 "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.", 1976 "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.",
1730 "id": "LogMetric", 1977 "id": "LogMetric",
1731 "properties": { 1978 "properties": {
1979 "name": {
1980 "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\".",
1981 "type": "string"
1982 },
1732 "description": { 1983 "description": {
1733 "description": "Optional. A description of this metric, whic h is used in documentation.", 1984 "description": "Optional. A description of this metric, whic h is used in documentation.",
1734 "type": "string" 1985 "type": "string"
1735 }, 1986 },
1736 "version": { 1987 "version": {
1737 "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.", 1988 "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.",
1738 "enum": [ 1989 "enum": [
1739 "V2", 1990 "V2",
1740 "V1" 1991 "V1"
1741 ], 1992 ],
1742 "enumDescriptions": [ 1993 "enumDescriptions": [
1743 "Stackdriver Logging API v2.", 1994 "Stackdriver Logging API v2.",
1744 "Stackdriver Logging API v1." 1995 "Stackdriver Logging API v1."
1745 ], 1996 ],
1746 "type": "string" 1997 "type": "string"
1747 }, 1998 },
1748 "filter": { 1999 "filter": {
1749 "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.", 2000 "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.",
1750 "type": "string" 2001 "type": "string"
1751 },
1752 "name": {
1753 "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\".",
1754 "type": "string"
1755 } 2002 }
1756 }, 2003 },
1757 "type": "object" 2004 "type": "object"
1758 }, 2005 },
1759 "LogEntryOperation": { 2006 "LogEntryOperation": {
1760 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.", 2007 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.",
1761 "id": "LogEntryOperation", 2008 "id": "LogEntryOperation",
1762 "properties": { 2009 "properties": {
1763 "producer": { 2010 "producer": {
1764 "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\".", 2011 "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\".",
(...skipping 17 matching lines...) Expand all
1782 "WriteLogEntriesResponse": { 2029 "WriteLogEntriesResponse": {
1783 "description": "Result returned from WriteLogEntries. empty", 2030 "description": "Result returned from WriteLogEntries. empty",
1784 "id": "WriteLogEntriesResponse", 2031 "id": "WriteLogEntriesResponse",
1785 "properties": {}, 2032 "properties": {},
1786 "type": "object" 2033 "type": "object"
1787 }, 2034 },
1788 "MonitoredResource": { 2035 "MonitoredResource": {
1789 "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", 2036 "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",
1790 "id": "MonitoredResource", 2037 "id": "MonitoredResource",
1791 "properties": { 2038 "properties": {
1792 "type": {
1793 "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\".",
1794 "type": "string"
1795 },
1796 "labels": { 2039 "labels": {
1797 "additionalProperties": { 2040 "additionalProperties": {
1798 "type": "string" 2041 "type": "string"
1799 }, 2042 },
1800 "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\".", 2043 "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\".",
1801 "type": "object" 2044 "type": "object"
1802 }
1803 },
1804 "type": "object"
1805 },
1806 "LogSink": {
1807 "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.",
1808 "id": "LogSink",
1809 "properties": {
1810 "name": {
1811 "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.",
1812 "type": "string"
1813 }, 2045 },
1814 "destination": { 2046 "type": {
1815 "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.", 2047 "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\".",
1816 "type": "string"
1817 },
1818 "filter": {
1819 "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",
1820 "type": "string"
1821 },
1822 "endTime": {
1823 "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.",
1824 "format": "google-datetime",
1825 "type": "string"
1826 },
1827 "startTime": {
1828 "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.",
1829 "format": "google-datetime",
1830 "type": "string"
1831 },
1832 "writerIdentity": {
1833 "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.",
1834 "type": "string"
1835 },
1836 "outputVersionFormat": {
1837 "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.",
1838 "enum": [
1839 "VERSION_FORMAT_UNSPECIFIED",
1840 "V2",
1841 "V1"
1842 ],
1843 "enumDescriptions": [
1844 "An unspecified format version that will default to V2." ,
1845 "LogEntry version 2 format.",
1846 "LogEntry version 1 format."
1847 ],
1848 "type": "string" 2048 "type": "string"
1849 } 2049 }
1850 }, 2050 },
1851 "type": "object"
1852 },
1853 "WriteLogEntriesRequest": {
1854 "description": "The parameters to WriteLogEntries.",
1855 "id": "WriteLogEntriesRequest",
1856 "properties": {
1857 "labels": {
1858 "additionalProperties": {
1859 "type": "string"
1860 },
1861 "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.",
1862 "type": "object"
1863 },
1864 "resource": {
1865 "$ref": "MonitoredResource",
1866 "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 ."
1867 },
1868 "logName": {
1869 "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.",
1870 "type": "string"
1871 },
1872 "entries": {
1873 "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.",
1874 "items": {
1875 "$ref": "LogEntry"
1876 },
1877 "type": "array"
1878 },
1879 "partialSuccess": {
1880 "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.",
1881 "type": "boolean"
1882 }
1883 },
1884 "type": "object"
1885 },
1886 "ListLogsResponse": {
1887 "description": "Result returned from ListLogs.",
1888 "id": "ListLogsResponse",
1889 "properties": {
1890 "nextPageToken": {
1891 "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." ,
1892 "type": "string"
1893 },
1894 "logNames": {
1895 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".",
1896 "items": {
1897 "type": "string"
1898 },
1899 "type": "array"
1900 }
1901 },
1902 "type": "object"
1903 },
1904 "ListSinksResponse": {
1905 "description": "Result returned from ListSinks.",
1906 "id": "ListSinksResponse",
1907 "properties": {
1908 "nextPageToken": {
1909 "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.",
1910 "type": "string"
1911 },
1912 "sinks": {
1913 "description": "A list of sinks.",
1914 "items": {
1915 "$ref": "LogSink"
1916 },
1917 "type": "array"
1918 }
1919 },
1920 "type": "object"
1921 },
1922 "HttpRequest": {
1923 "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.",
1924 "id": "HttpRequest",
1925 "properties": {
1926 "cacheValidatedWithOriginServer": {
1927 "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.",
1928 "type": "boolean"
1929 },
1930 "status": {
1931 "description": "The response code indicating the status of r esponse. Examples: 200, 404.",
1932 "format": "int32",
1933 "type": "integer"
1934 },
1935 "referer": {
1936 "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).",
1937 "type": "string"
1938 },
1939 "userAgent": {
1940 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
1941 "type": "string"
1942 },
1943 "latency": {
1944 "description": "The request processing latency on the server , from the time the request was received until the response was sent.",
1945 "format": "google-duration",
1946 "type": "string"
1947 },
1948 "cacheFillBytes": {
1949 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.",
1950 "format": "int64",
1951 "type": "string"
1952 },
1953 "requestMethod": {
1954 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".",
1955 "type": "string"
1956 },
1957 "responseSize": {
1958 "description": "The size of the HTTP response message sent b ack to the client, in bytes, including the response headers and the response bod y.",
1959 "format": "int64",
1960 "type": "string"
1961 },
1962 "requestSize": {
1963 "description": "The size of the HTTP request message in byte s, including the request headers and the request body.",
1964 "format": "int64",
1965 "type": "string"
1966 },
1967 "requestUrl": {
1968 "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\".",
1969 "type": "string"
1970 },
1971 "serverIp": {
1972 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
1973 "type": "string"
1974 },
1975 "remoteIp": {
1976 "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\".",
1977 "type": "string"
1978 },
1979 "cacheLookup": {
1980 "description": "Whether or not a cache lookup was attempted. ",
1981 "type": "boolean"
1982 },
1983 "cacheHit": {
1984 "description": "Whether or not an entity was served from cac he (with or without validation).",
1985 "type": "boolean"
1986 }
1987 },
1988 "type": "object"
1989 },
1990 "LabelDescriptor": {
1991 "description": "A description of a label.",
1992 "id": "LabelDescriptor",
1993 "properties": {
1994 "description": {
1995 "description": "A human-readable description for the label." ,
1996 "type": "string"
1997 },
1998 "valueType": {
1999 "description": "The type of data that can be assigned to the label.",
2000 "enum": [
2001 "STRING",
2002 "BOOL",
2003 "INT64"
2004 ],
2005 "enumDescriptions": [
2006 "A variable-length string. This is the default.",
2007 "Boolean; true or false.",
2008 "A 64-bit signed integer."
2009 ],
2010 "type": "string"
2011 },
2012 "key": {
2013 "description": "The label key.",
2014 "type": "string"
2015 }
2016 },
2017 "type": "object"
2018 },
2019 "MonitoredResourceDescriptor": {
2020 "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.",
2021 "id": "MonitoredResourceDescriptor",
2022 "properties": {
2023 "labels": {
2024 "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 \".",
2025 "items": {
2026 "$ref": "LabelDescriptor"
2027 },
2028 "type": "array"
2029 },
2030 "name": {
2031 "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}\".",
2032 "type": "string"
2033 },
2034 "displayName": {
2035 "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\".",
2036 "type": "string"
2037 },
2038 "description": {
2039 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
2040 "type": "string"
2041 },
2042 "type": {
2043 "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.",
2044 "type": "string"
2045 }
2046 },
2047 "type": "object" 2051 "type": "object"
2048 } 2052 }
2049 }, 2053 },
2050 "servicePath": "", 2054 "servicePath": "",
2051 "title": "Stackdriver Logging API", 2055 "title": "Stackdriver Logging API",
2052 "version": "v2" 2056 "version": "v2"
2053 } 2057 }
OLDNEW
« no previous file with comments | « discovery/googleapis/licensing__v1.json ('k') | discovery/googleapis/manufacturers__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698