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

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

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/logging.admin": {
9 "description": "Administrate log data for your projects"
10 },
11 "https://www.googleapis.com/auth/logging.read": {
12 "description": "View log data for your projects"
13 },
14 "https://www.googleapis.com/auth/logging.write": {
15 "description": "Submit log data for your projects"
7 } 16 }
8 } 17 }
9 } 18 }
10 }, 19 },
11 "basePath": "", 20 "basePath": "",
12 "baseUrl": "https://logging.googleapis.com/", 21 "baseUrl": "https://logging.googleapis.com/",
13 "batchPath": "batch", 22 "batchPath": "batch",
14 "description": "Google Cloud Logging API lets you create logs, ingest log en tries, and manage log sinks.", 23 "description": "Google Cloud Logging API lets you create logs, ingest log en tries, and manage log sinks.",
15 "discoveryVersion": "v1", 24 "discoveryVersion": "v1",
16 "documentationLink": "", 25 "documentationLink": "https://cloud.google.com/logging/docs/",
17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WoU1Y-TPU2mFiyKWAKMijLjE-Hc\"", 26 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/su6xARXDviFKMcCcXpmlSeVVUas\"",
18 "icons": { 27 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 28 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 29 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 30 },
22 "id": "logging:v1beta3", 31 "id": "logging:v1beta3",
23 "kind": "discovery#restDescription", 32 "kind": "discovery#restDescription",
24 "name": "logging", 33 "name": "logging",
25 "ownerDomain": "google.com", 34 "ownerDomain": "google.com",
26 "ownerName": "Google", 35 "ownerName": "Google",
27 "parameters": { 36 "parameters": {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "default": "true", 85 "default": "true",
77 "description": "Returns response with indentations and line breaks." , 86 "description": "Returns response with indentations and line breaks." ,
78 "location": "query", 87 "location": "query",
79 "type": "boolean" 88 "type": "boolean"
80 }, 89 },
81 "quotaUser": { 90 "quotaUser": {
82 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
83 "location": "query", 92 "location": "query",
84 "type": "string" 93 "type": "string"
85 }, 94 },
95 "upload_protocol": {
96 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
97 "location": "query",
98 "type": "string"
99 },
100 "uploadType": {
101 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
102 "location": "query",
103 "type": "string"
104 },
86 "$.xgafv": { 105 "$.xgafv": {
87 "description": "V1 error format.", 106 "description": "V1 error format.",
88 "enumDescriptions": [ 107 "enumDescriptions": [
89 "v1 error format", 108 "v1 error format",
90 "v2 error format" 109 "v2 error format"
91 ], 110 ],
92 "location": "query", 111 "location": "query",
93 "type": "string" 112 "type": "string"
94 } 113 }
95 }, 114 },
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 "description": "An opaque token, returned as `nextPageToken` by a prior `ListLogs` operation. If `pageToken` is supplied, th en the other fields of this request are ignored, and instead the previous `ListL ogs` operation is continued.", 152 "description": "An opaque token, returned as `nextPageToken` by a prior `ListLogs` operation. If `pageToken` is supplied, th en the other fields of this request are ignored, and instead the previous `ListL ogs` operation is continued.",
134 "location": "query", 153 "location": "query",
135 "type": "string" 154 "type": "string"
136 } 155 }
137 }, 156 },
138 "path": "v1beta3/projects/{projectsId}/logs", 157 "path": "v1beta3/projects/{projectsId}/logs",
139 "response": { 158 "response": {
140 "$ref": "ListLogsResponse" 159 "$ref": "ListLogsResponse"
141 }, 160 },
142 "scopes": [ 161 "scopes": [
143 "https://www.googleapis.com/auth/cloud-platform" 162 "https://www.googleapis.com/auth/cloud-platform" ,
163 "https://www.googleapis.com/auth/logging.admin",
164 "https://www.googleapis.com/auth/logging.read"
144 ] 165 ]
145 }, 166 },
146 "delete": { 167 "delete": {
147 "description": "Deletes the specified log resource a nd all log entries contained in it.", 168 "description": "Deletes the specified log resource a nd all log entries contained in it.",
148 "httpMethod": "DELETE", 169 "httpMethod": "DELETE",
149 "id": "logging.projects.logs.delete", 170 "id": "logging.projects.logs.delete",
150 "parameterOrder": [ 171 "parameterOrder": [
151 "projectsId", 172 "projectsId",
152 "logsId" 173 "logsId"
153 ], 174 ],
154 "parameters": { 175 "parameters": {
155 "projectsId": { 176 "projectsId": {
156 "description": "Part of `logName`. The log r esource to delete.", 177 "description": "Part of `logName`. The log r esource to delete.",
157 "location": "path", 178 "location": "path",
158 "required": true, 179 "required": true,
159 "type": "string" 180 "type": "string"
160 }, 181 },
161 "logsId": { 182 "logsId": {
162 "description": "Part of `logName`. See docum entation of `projectsId`.", 183 "description": "Part of `logName`. See docum entation of `projectsId`.",
163 "location": "path", 184 "location": "path",
164 "required": true, 185 "required": true,
165 "type": "string" 186 "type": "string"
166 } 187 }
167 }, 188 },
168 "path": "v1beta3/projects/{projectsId}/logs/{logsId} ", 189 "path": "v1beta3/projects/{projectsId}/logs/{logsId} ",
169 "response": { 190 "response": {
170 "$ref": "Empty" 191 "$ref": "Empty"
171 }, 192 },
172 "scopes": [ 193 "scopes": [
173 "https://www.googleapis.com/auth/cloud-platform" 194 "https://www.googleapis.com/auth/cloud-platform" ,
195 "https://www.googleapis.com/auth/logging.admin"
174 ] 196 ]
175 } 197 }
176 }, 198 },
177 "resources": { 199 "resources": {
178 "entries": { 200 "entries": {
179 "methods": { 201 "methods": {
180 "write": { 202 "write": {
181 "description": "Creates one or more log entr ies in a log. You must supply a list of `LogEntry` objects, named `entries`. Eac h `LogEntry` object must contain a payload object and a `LogEntryMetadata` objec t that describes the entry. You must fill in all the fields of the entry, metada ta, and payload. You can also supply a map, `commonLabels`, that supplies defaul t (key, value) data for the `entries[].metadata.labels` maps, saving you the tro uble of creating identical copies for each entry.", 203 "description": "Creates one or more log entr ies in a log. You must supply a list of `LogEntry` objects, named `entries`. Eac h `LogEntry` object must contain a payload object and a `LogEntryMetadata` objec t that describes the entry. You must fill in all the fields of the entry, metada ta, and payload. You can also supply a map, `commonLabels`, that supplies defaul t (key, value) data for the `entries[].metadata.labels` maps, saving you the tro uble of creating identical copies for each entry.",
182 "httpMethod": "POST", 204 "httpMethod": "POST",
183 "id": "logging.projects.logs.entries.write", 205 "id": "logging.projects.logs.entries.write",
(...skipping 16 matching lines...) Expand all
200 } 222 }
201 }, 223 },
202 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/entries:write", 224 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/entries:write",
203 "request": { 225 "request": {
204 "$ref": "WriteLogEntriesRequest" 226 "$ref": "WriteLogEntriesRequest"
205 }, 227 },
206 "response": { 228 "response": {
207 "$ref": "WriteLogEntriesResponse" 229 "$ref": "WriteLogEntriesResponse"
208 }, 230 },
209 "scopes": [ 231 "scopes": [
210 "https://www.googleapis.com/auth/cloud-p latform" 232 "https://www.googleapis.com/auth/cloud-p latform",
233 "https://www.googleapis.com/auth/logging .admin",
234 "https://www.googleapis.com/auth/logging .write"
211 ] 235 ]
212 } 236 }
213 } 237 }
214 }, 238 },
215 "sinks": { 239 "sinks": {
216 "methods": { 240 "methods": {
217 "list": { 241 "list": {
218 "description": "Lists log sinks associated w ith the specified log.", 242 "description": "Lists log sinks associated w ith the specified log.",
219 "httpMethod": "GET", 243 "httpMethod": "GET",
220 "id": "logging.projects.logs.sinks.list", 244 "id": "logging.projects.logs.sinks.list",
(...skipping 13 matching lines...) Expand all
234 "location": "path", 258 "location": "path",
235 "required": true, 259 "required": true,
236 "type": "string" 260 "type": "string"
237 } 261 }
238 }, 262 },
239 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks", 263 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks",
240 "response": { 264 "response": {
241 "$ref": "ListLogSinksResponse" 265 "$ref": "ListLogSinksResponse"
242 }, 266 },
243 "scopes": [ 267 "scopes": [
244 "https://www.googleapis.com/auth/cloud-p latform" 268 "https://www.googleapis.com/auth/cloud-p latform",
269 "https://www.googleapis.com/auth/logging .admin",
270 "https://www.googleapis.com/auth/logging .read"
245 ] 271 ]
246 }, 272 },
247 "get": { 273 "get": {
248 "description": "Gets the specified log sink resource.", 274 "description": "Gets the specified log sink resource.",
249 "httpMethod": "GET", 275 "httpMethod": "GET",
250 "id": "logging.projects.logs.sinks.get", 276 "id": "logging.projects.logs.sinks.get",
251 "parameterOrder": [ 277 "parameterOrder": [
252 "projectsId", 278 "projectsId",
253 "logsId", 279 "logsId",
254 "sinksId" 280 "sinksId"
(...skipping 16 matching lines...) Expand all
271 "location": "path", 297 "location": "path",
272 "required": true, 298 "required": true,
273 "type": "string" 299 "type": "string"
274 } 300 }
275 }, 301 },
276 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}", 302 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}",
277 "response": { 303 "response": {
278 "$ref": "LogSink" 304 "$ref": "LogSink"
279 }, 305 },
280 "scopes": [ 306 "scopes": [
281 "https://www.googleapis.com/auth/cloud-p latform" 307 "https://www.googleapis.com/auth/cloud-p latform",
308 "https://www.googleapis.com/auth/logging .admin",
309 "https://www.googleapis.com/auth/logging .read"
282 ] 310 ]
283 }, 311 },
284 "create": { 312 "create": {
285 "description": "Creates the specified log si nk resource.", 313 "description": "Creates the specified log si nk resource.",
286 "httpMethod": "POST", 314 "httpMethod": "POST",
287 "id": "logging.projects.logs.sinks.create", 315 "id": "logging.projects.logs.sinks.create",
288 "parameterOrder": [ 316 "parameterOrder": [
289 "projectsId", 317 "projectsId",
290 "logsId" 318 "logsId"
291 ], 319 ],
(...skipping 12 matching lines...) Expand all
304 } 332 }
305 }, 333 },
306 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks", 334 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks",
307 "request": { 335 "request": {
308 "$ref": "LogSink" 336 "$ref": "LogSink"
309 }, 337 },
310 "response": { 338 "response": {
311 "$ref": "LogSink" 339 "$ref": "LogSink"
312 }, 340 },
313 "scopes": [ 341 "scopes": [
314 "https://www.googleapis.com/auth/cloud-p latform" 342 "https://www.googleapis.com/auth/cloud-p latform",
343 "https://www.googleapis.com/auth/logging .admin"
315 ] 344 ]
316 }, 345 },
317 "update": { 346 "update": {
318 "description": "Creates or updates the speci fied log sink resource.", 347 "description": "Creates or updates the speci fied log sink resource.",
319 "httpMethod": "PUT", 348 "httpMethod": "PUT",
320 "id": "logging.projects.logs.sinks.update", 349 "id": "logging.projects.logs.sinks.update",
321 "parameterOrder": [ 350 "parameterOrder": [
322 "projectsId", 351 "projectsId",
323 "logsId", 352 "logsId",
324 "sinksId" 353 "sinksId"
(...skipping 19 matching lines...) Expand all
344 } 373 }
345 }, 374 },
346 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}", 375 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}",
347 "request": { 376 "request": {
348 "$ref": "LogSink" 377 "$ref": "LogSink"
349 }, 378 },
350 "response": { 379 "response": {
351 "$ref": "LogSink" 380 "$ref": "LogSink"
352 }, 381 },
353 "scopes": [ 382 "scopes": [
354 "https://www.googleapis.com/auth/cloud-p latform" 383 "https://www.googleapis.com/auth/cloud-p latform",
384 "https://www.googleapis.com/auth/logging .admin"
355 ] 385 ]
356 }, 386 },
357 "delete": { 387 "delete": {
358 "description": "Deletes the specified log si nk resource.", 388 "description": "Deletes the specified log si nk resource.",
359 "httpMethod": "DELETE", 389 "httpMethod": "DELETE",
360 "id": "logging.projects.logs.sinks.delete", 390 "id": "logging.projects.logs.sinks.delete",
361 "parameterOrder": [ 391 "parameterOrder": [
362 "projectsId", 392 "projectsId",
363 "logsId", 393 "logsId",
364 "sinksId" 394 "sinksId"
(...skipping 16 matching lines...) Expand all
381 "location": "path", 411 "location": "path",
382 "required": true, 412 "required": true,
383 "type": "string" 413 "type": "string"
384 } 414 }
385 }, 415 },
386 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}", 416 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}",
387 "response": { 417 "response": {
388 "$ref": "Empty" 418 "$ref": "Empty"
389 }, 419 },
390 "scopes": [ 420 "scopes": [
391 "https://www.googleapis.com/auth/cloud-p latform" 421 "https://www.googleapis.com/auth/cloud-p latform",
422 "https://www.googleapis.com/auth/logging .admin"
392 ] 423 ]
393 } 424 }
394 } 425 }
395 } 426 }
396 } 427 }
397 }, 428 },
398 "logServices": { 429 "logServices": {
399 "methods": { 430 "methods": {
400 "list": { 431 "list": {
401 "description": "Lists log services associated with l og entries ingested for a project.", 432 "description": "Lists log services associated with l og entries ingested for a project.",
(...skipping 24 matching lines...) Expand all
426 "description": "An opaque token, returned as `nextPageToken` by a prior `ListLogServices` operation. If `pageToken` is suppl ied, then the other fields of this request are ignored, and instead the previous `ListLogServices` operation is continued.", 457 "description": "An opaque token, returned as `nextPageToken` by a prior `ListLogServices` operation. If `pageToken` is suppl ied, then the other fields of this request are ignored, and instead the previous `ListLogServices` operation is continued.",
427 "location": "query", 458 "location": "query",
428 "type": "string" 459 "type": "string"
429 } 460 }
430 }, 461 },
431 "path": "v1beta3/projects/{projectsId}/logServices", 462 "path": "v1beta3/projects/{projectsId}/logServices",
432 "response": { 463 "response": {
433 "$ref": "ListLogServicesResponse" 464 "$ref": "ListLogServicesResponse"
434 }, 465 },
435 "scopes": [ 466 "scopes": [
436 "https://www.googleapis.com/auth/cloud-platform" 467 "https://www.googleapis.com/auth/cloud-platform" ,
468 "https://www.googleapis.com/auth/logging.admin",
469 "https://www.googleapis.com/auth/logging.read"
437 ] 470 ]
438 } 471 }
439 }, 472 },
440 "resources": { 473 "resources": {
441 "indexes": { 474 "indexes": {
442 "methods": { 475 "methods": {
443 "list": { 476 "list": {
444 "description": "Lists log service indexes as sociated with a log service.", 477 "description": "Lists log service indexes as sociated with a log service.",
445 "httpMethod": "GET", 478 "httpMethod": "GET",
446 "id": "logging.projects.logServices.indexes. list", 479 "id": "logging.projects.logServices.indexes. list",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 "description": "An opaque token, ret urned as `nextPageToken` by a prior `ListLogServiceIndexes` operation. If `pageT oken` is supplied, then the other fields of this request are ignored, and instea d the previous `ListLogServiceIndexes` operation is continued.", 520 "description": "An opaque token, ret urned as `nextPageToken` by a prior `ListLogServiceIndexes` operation. If `pageT oken` is supplied, then the other fields of this request are ignored, and instea d the previous `ListLogServiceIndexes` operation is continued.",
488 "location": "query", 521 "location": "query",
489 "type": "string" 522 "type": "string"
490 } 523 }
491 }, 524 },
492 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/indexes", 525 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/indexes",
493 "response": { 526 "response": {
494 "$ref": "ListLogServiceIndexesResponse" 527 "$ref": "ListLogServiceIndexesResponse"
495 }, 528 },
496 "scopes": [ 529 "scopes": [
497 "https://www.googleapis.com/auth/cloud-p latform" 530 "https://www.googleapis.com/auth/cloud-p latform",
531 "https://www.googleapis.com/auth/logging .admin",
532 "https://www.googleapis.com/auth/logging .read"
498 ] 533 ]
499 } 534 }
500 } 535 }
501 }, 536 },
502 "sinks": { 537 "sinks": {
503 "methods": { 538 "methods": {
504 "list": { 539 "list": {
505 "description": "Lists log service sinks asso ciated with the specified service.", 540 "description": "Lists log service sinks asso ciated with the specified service.",
506 "httpMethod": "GET", 541 "httpMethod": "GET",
507 "id": "logging.projects.logServices.sinks.li st", 542 "id": "logging.projects.logServices.sinks.li st",
(...skipping 13 matching lines...) Expand all
521 "location": "path", 556 "location": "path",
522 "required": true, 557 "required": true,
523 "type": "string" 558 "type": "string"
524 } 559 }
525 }, 560 },
526 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks", 561 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks",
527 "response": { 562 "response": {
528 "$ref": "ListLogServiceSinksResponse" 563 "$ref": "ListLogServiceSinksResponse"
529 }, 564 },
530 "scopes": [ 565 "scopes": [
531 "https://www.googleapis.com/auth/cloud-p latform" 566 "https://www.googleapis.com/auth/cloud-p latform",
567 "https://www.googleapis.com/auth/logging .admin",
568 "https://www.googleapis.com/auth/logging .read"
532 ] 569 ]
533 }, 570 },
534 "get": { 571 "get": {
535 "description": "Gets the specified log servi ce sink resource.", 572 "description": "Gets the specified log servi ce sink resource.",
536 "httpMethod": "GET", 573 "httpMethod": "GET",
537 "id": "logging.projects.logServices.sinks.ge t", 574 "id": "logging.projects.logServices.sinks.ge t",
538 "parameterOrder": [ 575 "parameterOrder": [
539 "projectsId", 576 "projectsId",
540 "logServicesId", 577 "logServicesId",
541 "sinksId" 578 "sinksId"
(...skipping 16 matching lines...) Expand all
558 "location": "path", 595 "location": "path",
559 "required": true, 596 "required": true,
560 "type": "string" 597 "type": "string"
561 } 598 }
562 }, 599 },
563 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}", 600 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}",
564 "response": { 601 "response": {
565 "$ref": "LogSink" 602 "$ref": "LogSink"
566 }, 603 },
567 "scopes": [ 604 "scopes": [
568 "https://www.googleapis.com/auth/cloud-p latform" 605 "https://www.googleapis.com/auth/cloud-p latform",
606 "https://www.googleapis.com/auth/logging .admin",
607 "https://www.googleapis.com/auth/logging .read"
569 ] 608 ]
570 }, 609 },
571 "create": { 610 "create": {
572 "description": "Creates the specified log se rvice sink resource.", 611 "description": "Creates the specified log se rvice sink resource.",
573 "httpMethod": "POST", 612 "httpMethod": "POST",
574 "id": "logging.projects.logServices.sinks.cr eate", 613 "id": "logging.projects.logServices.sinks.cr eate",
575 "parameterOrder": [ 614 "parameterOrder": [
576 "projectsId", 615 "projectsId",
577 "logServicesId" 616 "logServicesId"
578 ], 617 ],
(...skipping 12 matching lines...) Expand all
591 } 630 }
592 }, 631 },
593 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks", 632 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks",
594 "request": { 633 "request": {
595 "$ref": "LogSink" 634 "$ref": "LogSink"
596 }, 635 },
597 "response": { 636 "response": {
598 "$ref": "LogSink" 637 "$ref": "LogSink"
599 }, 638 },
600 "scopes": [ 639 "scopes": [
601 "https://www.googleapis.com/auth/cloud-p latform" 640 "https://www.googleapis.com/auth/cloud-p latform",
641 "https://www.googleapis.com/auth/logging .admin"
602 ] 642 ]
603 }, 643 },
604 "update": { 644 "update": {
605 "description": "Creates or update the specif ied log service sink resource.", 645 "description": "Creates or update the specif ied log service sink resource.",
606 "httpMethod": "PUT", 646 "httpMethod": "PUT",
607 "id": "logging.projects.logServices.sinks.up date", 647 "id": "logging.projects.logServices.sinks.up date",
608 "parameterOrder": [ 648 "parameterOrder": [
609 "projectsId", 649 "projectsId",
610 "logServicesId", 650 "logServicesId",
611 "sinksId" 651 "sinksId"
(...skipping 19 matching lines...) Expand all
631 } 671 }
632 }, 672 },
633 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}", 673 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}",
634 "request": { 674 "request": {
635 "$ref": "LogSink" 675 "$ref": "LogSink"
636 }, 676 },
637 "response": { 677 "response": {
638 "$ref": "LogSink" 678 "$ref": "LogSink"
639 }, 679 },
640 "scopes": [ 680 "scopes": [
641 "https://www.googleapis.com/auth/cloud-p latform" 681 "https://www.googleapis.com/auth/cloud-p latform",
682 "https://www.googleapis.com/auth/logging .admin"
642 ] 683 ]
643 }, 684 },
644 "delete": { 685 "delete": {
645 "description": "Deletes the specified log se rvice sink.", 686 "description": "Deletes the specified log se rvice sink.",
646 "httpMethod": "DELETE", 687 "httpMethod": "DELETE",
647 "id": "logging.projects.logServices.sinks.de lete", 688 "id": "logging.projects.logServices.sinks.de lete",
648 "parameterOrder": [ 689 "parameterOrder": [
649 "projectsId", 690 "projectsId",
650 "logServicesId", 691 "logServicesId",
651 "sinksId" 692 "sinksId"
(...skipping 16 matching lines...) Expand all
668 "location": "path", 709 "location": "path",
669 "required": true, 710 "required": true,
670 "type": "string" 711 "type": "string"
671 } 712 }
672 }, 713 },
673 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}", 714 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}",
674 "response": { 715 "response": {
675 "$ref": "Empty" 716 "$ref": "Empty"
676 }, 717 },
677 "scopes": [ 718 "scopes": [
678 "https://www.googleapis.com/auth/cloud-p latform" 719 "https://www.googleapis.com/auth/cloud-p latform",
720 "https://www.googleapis.com/auth/logging .admin"
679 ] 721 ]
680 } 722 }
681 } 723 }
682 } 724 }
683 } 725 }
726 },
727 "sinks": {
728 "methods": {
729 "list": {
730 "description": "Lists sinks associated with the spec ified project.",
731 "httpMethod": "GET",
732 "id": "logging.projects.sinks.list",
733 "parameterOrder": [
734 "projectsId"
735 ],
736 "parameters": {
737 "projectsId": {
738 "description": "Part of `projectName`. The n ame of the project for which to list sinks.",
739 "location": "path",
740 "required": true,
741 "type": "string"
742 }
743 },
744 "path": "v1beta3/projects/{projectsId}/sinks",
745 "response": {
746 "$ref": "ListSinksResponse"
747 },
748 "scopes": [
749 "https://www.googleapis.com/auth/cloud-platform" ,
750 "https://www.googleapis.com/auth/logging.admin",
751 "https://www.googleapis.com/auth/logging.read"
752 ]
753 },
754 "get": {
755 "description": "Gets the specified sink resource.",
756 "httpMethod": "GET",
757 "id": "logging.projects.sinks.get",
758 "parameterOrder": [
759 "projectsId",
760 "sinksId"
761 ],
762 "parameters": {
763 "projectsId": {
764 "description": "Part of `sinkName`. The name of the sink to return.",
765 "location": "path",
766 "required": true,
767 "type": "string"
768 },
769 "sinksId": {
770 "description": "Part of `sinkName`. See docu mentation of `projectsId`.",
771 "location": "path",
772 "required": true,
773 "type": "string"
774 }
775 },
776 "path": "v1beta3/projects/{projectsId}/sinks/{sinksI d}",
777 "response": {
778 "$ref": "LogSink"
779 },
780 "scopes": [
781 "https://www.googleapis.com/auth/cloud-platform" ,
782 "https://www.googleapis.com/auth/logging.admin",
783 "https://www.googleapis.com/auth/logging.read"
784 ]
785 },
786 "create": {
787 "description": "Creates the specified sink resource. ",
788 "httpMethod": "POST",
789 "id": "logging.projects.sinks.create",
790 "parameterOrder": [
791 "projectsId"
792 ],
793 "parameters": {
794 "projectsId": {
795 "description": "Part of `projectName`. The n ame of the project in which to create a sink.",
796 "location": "path",
797 "required": true,
798 "type": "string"
799 }
800 },
801 "path": "v1beta3/projects/{projectsId}/sinks",
802 "request": {
803 "$ref": "LogSink"
804 },
805 "response": {
806 "$ref": "LogSink"
807 },
808 "scopes": [
809 "https://www.googleapis.com/auth/cloud-platform" ,
810 "https://www.googleapis.com/auth/logging.admin"
811 ]
812 },
813 "update": {
814 "description": "Creates or update the specified sink resource.",
815 "httpMethod": "PUT",
816 "id": "logging.projects.sinks.update",
817 "parameterOrder": [
818 "projectsId",
819 "sinksId"
820 ],
821 "parameters": {
822 "projectsId": {
823 "description": "Part of `sinkName`. The name of the sink to update.",
824 "location": "path",
825 "required": true,
826 "type": "string"
827 },
828 "sinksId": {
829 "description": "Part of `sinkName`. See docu mentation of `projectsId`.",
830 "location": "path",
831 "required": true,
832 "type": "string"
833 }
834 },
835 "path": "v1beta3/projects/{projectsId}/sinks/{sinksI d}",
836 "request": {
837 "$ref": "LogSink"
838 },
839 "response": {
840 "$ref": "LogSink"
841 },
842 "scopes": [
843 "https://www.googleapis.com/auth/cloud-platform" ,
844 "https://www.googleapis.com/auth/logging.admin"
845 ]
846 },
847 "delete": {
848 "description": "Deletes the specified sink.",
849 "httpMethod": "DELETE",
850 "id": "logging.projects.sinks.delete",
851 "parameterOrder": [
852 "projectsId",
853 "sinksId"
854 ],
855 "parameters": {
856 "projectsId": {
857 "description": "Part of `sinkName`. The name of the sink to delete.",
858 "location": "path",
859 "required": true,
860 "type": "string"
861 },
862 "sinksId": {
863 "description": "Part of `sinkName`. See docu mentation of `projectsId`.",
864 "location": "path",
865 "required": true,
866 "type": "string"
867 }
868 },
869 "path": "v1beta3/projects/{projectsId}/sinks/{sinksI d}",
870 "response": {
871 "$ref": "Empty"
872 },
873 "scopes": [
874 "https://www.googleapis.com/auth/cloud-platform" ,
875 "https://www.googleapis.com/auth/logging.admin"
876 ]
877 }
878 }
684 } 879 }
685 } 880 }
686 } 881 }
687 }, 882 },
688 "revision": "20150326", 883 "revision": "20150615",
689 "rootUrl": "https://logging.googleapis.com/", 884 "rootUrl": "https://logging.googleapis.com/",
690 "schemas": { 885 "schemas": {
691 "ListLogsResponse": { 886 "ListLogsResponse": {
692 "description": "Result returned from ListLogs.", 887 "description": "Result returned from ListLogs.",
693 "id": "ListLogsResponse", 888 "id": "ListLogsResponse",
694 "properties": { 889 "properties": {
695 "logs": { 890 "logs": {
696 "description": "A list of log resources.", 891 "description": "A list of log resources.",
697 "items": { 892 "items": {
698 "$ref": "Log" 893 "$ref": "Log"
699 }, 894 },
700 "type": "array" 895 "type": "array"
701 }, 896 },
702 "nextPageToken": { 897 "nextPageToken": {
703 "description": "If there are more results, then `nextPageTok en` is returned in the response. To get the next batch of logs, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogs`. If `nextPageToke n` is empty, then there are no more results.", 898 "description": "If there are more results, then `nextPageTok en` is returned in the response. To get the next batch of logs, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogs`. If `nextPageToke n` is empty, then there are no more results.",
704 "type": "string" 899 "type": "string"
705 } 900 }
706 }, 901 },
707 "type": "object" 902 "type": "object"
708 }, 903 },
709 "Log": { 904 "Log": {
710 "description": "A log object.", 905 "description": "A log object.",
711 "id": "Log", 906 "id": "Log",
712 "properties": { 907 "properties": {
713 "name": { 908 "name": {
714 "description": "REQUIRED: The log's name name. Example: `\"c ompute.googleapis.com/activity_log\"`.", 909 "description": "REQUIRED: The log's name. Example: `\"comput e.googleapis.com/activity_log\"`.",
715 "type": "string" 910 "type": "string"
716 }, 911 },
717 "displayName": { 912 "displayName": {
718 "description": "Name used when displaying the log to the use r (for example, in a UI). Example: `\"activity_log\"`", 913 "description": "Name used when displaying the log to the use r (for example, in a UI). Example: `\"activity_log\"`",
719 "type": "string" 914 "type": "string"
720 }, 915 },
721 "payloadType": { 916 "payloadType": {
722 "description": "Type URL describing the expected payload typ e for the log.", 917 "description": "Type URL describing the expected payload typ e for the log.",
723 "type": "string" 918 "type": "string"
724 } 919 }
725 }, 920 },
726 "type": "object" 921 "type": "object"
727 }, 922 },
728 "Empty": { 923 "Empty": {
729 "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: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", 924 "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: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re presentation for `Empty` is empty JSON object `{}`.",
730 "id": "Empty", 925 "id": "Empty",
731 "type": "object" 926 "type": "object"
732 }, 927 },
733 "WriteLogEntriesRequest": { 928 "WriteLogEntriesRequest": {
734 "description": "The parameters to WriteLogEntries.", 929 "description": "The parameters to WriteLogEntries.",
735 "id": "WriteLogEntriesRequest", 930 "id": "WriteLogEntriesRequest",
736 "properties": { 931 "properties": {
737 "commonLabels": { 932 "commonLabels": {
738 "additionalProperties": { 933 "additionalProperties": {
739 "type": "string" 934 "type": "string"
740 }, 935 },
741 "description": "Metadata labels that apply to all entries in this request. If one of the log entries contains a (key, value) with the same k ey that is in `commonLabels`, then the entry's (key, value) overrides the one in `commonLabels`.", 936 "description": "Metadata labels that apply to all log entrie s in this request, so that you don't have to repeat them in each log entry's `me tadata.labels` field. If any of the log entries contains a (key, value) with the same key that is in `commonLabels`, then the entry's (key, value) overrides the one in `commonLabels`.",
742 "type": "object" 937 "type": "object"
743 }, 938 },
744 "entries": { 939 "entries": {
745 "description": "Log entries to insert.", 940 "description": "Log entries to insert.",
746 "items": { 941 "items": {
747 "$ref": "LogEntry" 942 "$ref": "LogEntry"
748 }, 943 },
749 "type": "array" 944 "type": "array"
750 } 945 }
751 }, 946 },
(...skipping 27 matching lines...) Expand all
779 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.", 974 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
780 "type": "object" 975 "type": "object"
781 }, 976 },
782 "insertId": { 977 "insertId": {
783 "description": "A unique ID for the log entry. If you provid e this field, the logging service considers other log entries in the same log wi th the same ID as duplicates which can be removed.", 978 "description": "A unique ID for the log entry. If you provid e this field, the logging service considers other log entries in the same log wi th the same ID as duplicates which can be removed.",
784 "type": "string" 979 "type": "string"
785 }, 980 },
786 "log": { 981 "log": {
787 "description": "The log to which this entry belongs. When a log entry is ingested, the value of this field is set by the logging system.", 982 "description": "The log to which this entry belongs. When a log entry is ingested, the value of this field is set by the logging system.",
788 "type": "string" 983 "type": "string"
984 },
985 "httpRequest": {
986 "$ref": "HttpRequest",
987 "description": "Information about the HTTP request associate d with this log entry, if applicable."
789 } 988 }
790 }, 989 },
791 "type": "object" 990 "type": "object"
792 }, 991 },
793 "LogEntryMetadata": { 992 "LogEntryMetadata": {
794 "description": "Additional data that is associated with a log entry, set by the service creating the log entry.", 993 "description": "Additional data that is associated with a log entry, set by the service creating the log entry.",
795 "id": "LogEntryMetadata", 994 "id": "LogEntryMetadata",
796 "properties": { 995 "properties": {
797 "timestamp": { 996 "timestamp": {
798 "description": "The time the event described by the log entr y occurred. Timestamps must be later than January 1, 1970.", 997 "description": "The time the event described by the log entr y occurred. Timestamps must be later than January 1, 1970.",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 "labels": { 1035 "labels": {
837 "additionalProperties": { 1036 "additionalProperties": {
838 "type": "string" 1037 "type": "string"
839 }, 1038 },
840 "description": "A set of (key, value) data that provides add itional information about the log entry. If the log entry is from one of the Goo gle Cloud Platform sources listed below, the indicated (key, value) information must be provided: Google App Engine, service_name `appengine.googleapis.com`: \" appengine.googleapis.com/module_id\", \"appengine.googleapis.com/version_id\", and one of: \"appengine.googleapis.com/replica_index\", \"appengine.googleapis .com/clone_id\", or else provide the following Compute Engine labels: Google Co mpute Engine, service_name `compute.googleapis.com`: \"compute.googleapis.com/re source_type\", \"instance\" \"compute.googleapis.com/resource_id\",", 1039 "description": "A set of (key, value) data that provides add itional information about the log entry. If the log entry is from one of the Goo gle Cloud Platform sources listed below, the indicated (key, value) information must be provided: Google App Engine, service_name `appengine.googleapis.com`: \" appengine.googleapis.com/module_id\", \"appengine.googleapis.com/version_id\", and one of: \"appengine.googleapis.com/replica_index\", \"appengine.googleapis .com/clone_id\", or else provide the following Compute Engine labels: Google Co mpute Engine, service_name `compute.googleapis.com`: \"compute.googleapis.com/re source_type\", \"instance\" \"compute.googleapis.com/resource_id\",",
841 "type": "object" 1040 "type": "object"
842 } 1041 }
843 }, 1042 },
844 "type": "object" 1043 "type": "object"
845 }, 1044 },
1045 "HttpRequest": {
1046 "description": "A common proto for logging HTTP requests.",
1047 "id": "HttpRequest",
1048 "properties": {
1049 "requestMethod": {
1050 "description": "Request method, such as `GET`, `HEAD`, `PUT` or `POST`.",
1051 "type": "string"
1052 },
1053 "requestUrl": {
1054 "description": "Contains the scheme (http|https), the host n ame, the path and the query portion of the URL that was requested.",
1055 "type": "string"
1056 },
1057 "requestSize": {
1058 "description": "Size of the HTTP request message in bytes, i ncluding request headers and the request body.",
1059 "format": "int64",
1060 "type": "string"
1061 },
1062 "status": {
1063 "description": "A response code indicates the status of resp onse, e.g., 200.",
1064 "format": "int32",
1065 "type": "integer"
1066 },
1067 "responseSize": {
1068 "description": "Size of the HTTP response message in bytes s ent back to the client, including response headers and response body.",
1069 "format": "int64",
1070 "type": "string"
1071 },
1072 "userAgent": {
1073 "description": "User agent sent by the client, e.g., \"Mozil la/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".",
1074 "type": "string"
1075 },
1076 "remoteIp": {
1077 "description": "IP address of the client who issues the HTTP request. Could be either IPv4 or IPv6.",
1078 "type": "string"
1079 },
1080 "referer": {
1081 "description": "Referer (a.k.a. referrer) URL of request, as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html.",
1082 "type": "string"
1083 }
1084 },
1085 "type": "object"
1086 },
846 "WriteLogEntriesResponse": { 1087 "WriteLogEntriesResponse": {
847 "description": "Result returned from WriteLogEntries. empty", 1088 "description": "Result returned from WriteLogEntries. empty",
848 "id": "WriteLogEntriesResponse", 1089 "id": "WriteLogEntriesResponse",
849 "type": "object" 1090 "type": "object"
850 }, 1091 },
851 "ListLogServicesResponse": { 1092 "ListLogServicesResponse": {
852 "description": "Result returned from `ListLogServicesRequest`.", 1093 "description": "Result returned from `ListLogServicesRequest`.",
853 "id": "ListLogServicesResponse", 1094 "id": "ListLogServicesResponse",
854 "properties": { 1095 "properties": {
855 "logServices": { 1096 "logServices": {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 "id": "ListLogServiceIndexesResponse", 1130 "id": "ListLogServiceIndexesResponse",
890 "properties": { 1131 "properties": {
891 "serviceIndexPrefixes": { 1132 "serviceIndexPrefixes": {
892 "description": "A list of log service index prefixes.", 1133 "description": "A list of log service index prefixes.",
893 "items": { 1134 "items": {
894 "type": "string" 1135 "type": "string"
895 }, 1136 },
896 "type": "array" 1137 "type": "array"
897 }, 1138 },
898 "nextPageToken": { 1139 "nextPageToken": {
899 "description": "If there are more results, then `nextPageTok en` is returned in the response. To get the next batch of indexes, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogServiceIndexess`. If `nextPageToken` is empty, then there are no more results.", 1140 "description": "If there are more results, then `nextPageTok en` is returned in the response. To get the next batch of indexes, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogServiceIndexes`. If `nextPageToken` is empty, then there are no more results.",
900 "type": "string" 1141 "type": "string"
901 } 1142 }
902 }, 1143 },
903 "type": "object" 1144 "type": "object"
904 }, 1145 },
905 "ListLogSinksResponse": { 1146 "ListLogSinksResponse": {
906 "description": "Result returned from `ListLogSinks`.", 1147 "description": "Result returned from `ListLogSinks`.",
907 "id": "ListLogSinksResponse", 1148 "id": "ListLogSinksResponse",
908 "properties": { 1149 "properties": {
909 "sinks": { 1150 "sinks": {
(...skipping 11 matching lines...) Expand all
921 "id": "LogSink", 1162 "id": "LogSink",
922 "properties": { 1163 "properties": {
923 "name": { 1164 "name": {
924 "description": "The name of this sink. This is a client-assi gned identifier for the resource. This is ignored by UpdateLogSink and UpdateLog ServicesSink.", 1165 "description": "The name of this sink. This is a client-assi gned identifier for the resource. This is ignored by UpdateLogSink and UpdateLog ServicesSink.",
925 "type": "string" 1166 "type": "string"
926 }, 1167 },
927 "destination": { 1168 "destination": {
928 "description": "The resource to send log entries to. The sup ported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/ BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googlea pis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API suppo rts at most one sink for each resource type per log or log service resource.", 1169 "description": "The resource to send log entries to. The sup ported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/ BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googlea pis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API suppo rts at most one sink for each resource type per log or log service resource.",
929 "type": "string" 1170 "type": "string"
930 }, 1171 },
1172 "filter": {
1173 "description": "One Platform filter expression. If provided, only the messages matching the filter will be published.",
1174 "type": "string"
1175 },
931 "errors": { 1176 "errors": {
932 "description": "_Output only._ All active errors found for t his sink.", 1177 "description": "_Output only._ All active errors found for t his sink.",
933 "items": { 1178 "items": {
934 "$ref": "LogError" 1179 "$ref": "LogError"
935 }, 1180 },
936 "type": "array" 1181 "type": "array"
937 } 1182 }
938 }, 1183 },
939 "type": "object" 1184 "type": "object"
940 }, 1185 },
(...skipping 11 matching lines...) Expand all
952 }, 1197 },
953 "timeNanos": { 1198 "timeNanos": {
954 "description": "The last time the error was observed, in nan oseconds since the Unix epoch.", 1199 "description": "The last time the error was observed, in nan oseconds since the Unix epoch.",
955 "format": "int64", 1200 "format": "int64",
956 "type": "string" 1201 "type": "string"
957 } 1202 }
958 }, 1203 },
959 "type": "object" 1204 "type": "object"
960 }, 1205 },
961 "Status": { 1206 "Status": {
962 "description": "Represents the RPC error status for Google APIs. See http://go/errormodel for details.", 1207 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designe d to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed . The error message should be a developer-facing English message that helps deve lopers *understand* and *resolve* the error. If a localized user-facing error me ssage is needed, put the localized message in the error details or localize it i n the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `goog le.rpc` which can be used for common error conditions. # Language mapping The `S tatus` message is the logical representation of the error model, but it is not n ecessarily the actual wire format. When the `Status` message is exposed in diffe rent client libraries and different wire protocols, it can be mapped differently . For example, it will likely be mapped to some exceptions in Java, but more lik ely mapped to some error codes in C. # Other uses The error model and the `Statu s` message can be used in a variety of environments, either with or without APIs , to provide a consistent developer experience across different environments. Ex ample uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal res ponse to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpos e. - Batch operations. If a client uses batch request and batch response, the `S tatus` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous ope ration results in its response, the status of those operations should be represe nted directly using the `Status` message. - Logging. If some API errors are stor ed in logs, the message `Status` could be used directly after any stripping need ed for security/privacy reasons.",
963 "id": "Status", 1208 "id": "Status",
964 "properties": { 1209 "properties": {
965 "code": { 1210 "code": {
966 "description": "The status code, which should be an enum val ue of [google.rpc.Code][].", 1211 "description": "The status code, which should be an enum val ue of [google.rpc.Code][].",
967 "format": "int32", 1212 "format": "int32",
968 "type": "integer" 1213 "type": "integer"
969 }, 1214 },
970 "message": { 1215 "message": {
971 "description": "A developer-facing error message, which shou ld be in English. The user-facing error message should be localized and stored i n the [google.rpc.Status.details][google.rpc.Status.details] field.", 1216 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized b y the client.",
972 "type": "string" 1217 "type": "string"
973 }, 1218 },
974 "details": { 1219 "details": {
975 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.", 1220 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
976 "items": { 1221 "items": {
977 "additionalProperties": { 1222 "additionalProperties": {
978 "description": "Properties of the object. Contains f ield @ype with type URL.", 1223 "description": "Properties of the object. Contains f ield @ype with type URL.",
979 "type": "any" 1224 "type": "any"
980 }, 1225 },
981 "type": "object" 1226 "type": "object"
982 }, 1227 },
983 "type": "array" 1228 "type": "array"
984 } 1229 }
985 }, 1230 },
986 "type": "object" 1231 "type": "object"
987 }, 1232 },
988 "ListLogServiceSinksResponse": { 1233 "ListLogServiceSinksResponse": {
989 "description": "Result returned from `ListLogServiceSinks`.", 1234 "description": "Result returned from `ListLogServiceSinks`.",
990 "id": "ListLogServiceSinksResponse", 1235 "id": "ListLogServiceSinksResponse",
991 "properties": { 1236 "properties": {
992 "sinks": { 1237 "sinks": {
993 "description": "The requested log service sinks. If any of t he returned `LogSink` objects have an empty `destination` field, then call `logS ervices.sinks.get` to retrieve the complete `LogSink` object.", 1238 "description": "The requested log service sinks. If any of t he returned `LogSink` objects have an empty `destination` field, then call `logS ervices.sinks.get` to retrieve the complete `LogSink` object.",
994 "items": { 1239 "items": {
995 "$ref": "LogSink" 1240 "$ref": "LogSink"
996 }, 1241 },
997 "type": "array" 1242 "type": "array"
998 } 1243 }
999 }, 1244 },
1000 "type": "object" 1245 "type": "object"
1246 },
1247 "ListSinksResponse": {
1248 "description": "Result returned from `ListSinks`.",
1249 "id": "ListSinksResponse",
1250 "properties": {
1251 "sinks": {
1252 "description": "The requested sinks.",
1253 "items": {
1254 "$ref": "LogSink"
1255 },
1256 "type": "array"
1257 }
1258 },
1259 "type": "object"
1260 },
1261 "RequestLog": {
1262 "description": "Complete log information about a single request to a n application.",
1263 "id": "RequestLog",
1264 "properties": {
1265 "appId": {
1266 "description": "Identifies the application that handled this request.",
1267 "type": "string"
1268 },
1269 "moduleId": {
1270 "description": "Identifies the module of the application tha t handled this request.",
1271 "type": "string"
1272 },
1273 "versionId": {
1274 "description": "Version of the application that handled this request.",
1275 "type": "string"
1276 },
1277 "requestId": {
1278 "description": "Globally unique identifier for a request, ba sed on request start time. Request IDs for requests which started later will com pare greater as binary strings than those for requests which started earlier.",
1279 "format": "byte",
1280 "type": "string"
1281 },
1282 "ip": {
1283 "description": "Origin IP address.",
1284 "type": "string"
1285 },
1286 "startTime": {
1287 "description": "Time at which request was known to have begu n processing.",
1288 "type": "string"
1289 },
1290 "endTime": {
1291 "description": "Time at which request was known to end proce ssing.",
1292 "type": "string"
1293 },
1294 "latency": {
1295 "description": "Latency of the request.",
1296 "type": "string"
1297 },
1298 "megaCycles": {
1299 "description": "Number of CPU megacycles used to process req uest.",
1300 "format": "int64",
1301 "type": "string"
1302 },
1303 "method": {
1304 "description": "Request method, such as `GET`, `HEAD`, `PUT` , `POST`, or `DELETE`.",
1305 "type": "string"
1306 },
1307 "resource": {
1308 "description": "Contains the path and query portion of the U RL that was requested. For example, if the URL was \"http://example.com/app?name =val\", the resource would be \"/app?name=val\". Any trailing fragment (separate d by a '#' character) will not be included.",
1309 "type": "string"
1310 },
1311 "httpVersion": {
1312 "description": "HTTP version of request.",
1313 "type": "string"
1314 },
1315 "status": {
1316 "description": "Response status of request.",
1317 "format": "int32",
1318 "type": "integer"
1319 },
1320 "responseSize": {
1321 "description": "Size in bytes sent back to client by request .",
1322 "format": "int64",
1323 "type": "string"
1324 },
1325 "referrer": {
1326 "description": "Referrer URL of request.",
1327 "type": "string"
1328 },
1329 "userAgent": {
1330 "description": "User agent used for making request.",
1331 "type": "string"
1332 },
1333 "nickname": {
1334 "description": "A string that identifies a logged-in user wh o made this request, or empty if the user is not logged in. Most likely, this is the part of the user's email before the '@' sign. The field value is the same f or different requests from the same user, but different users may have a similar name. This information is also available to the application via Users API. This field will be populated starting with App Engine 1.9.21.",
1335 "type": "string"
1336 },
1337 "urlMapEntry": {
1338 "description": "File or class within URL mapping used for re quest. Useful for tracking down the source code which was responsible for managi ng request. Especially for multiply mapped handlers.",
1339 "type": "string"
1340 },
1341 "host": {
1342 "description": "The Internet host and port number of the res ource being requested.",
1343 "type": "string"
1344 },
1345 "cost": {
1346 "description": "An indication of the relative cost of servin g this request.",
1347 "format": "double",
1348 "type": "number"
1349 },
1350 "taskQueueName": {
1351 "description": "Queue name of the request (for an offline re quest).",
1352 "type": "string"
1353 },
1354 "taskName": {
1355 "description": "Task name of the request (for an offline req uest).",
1356 "type": "string"
1357 },
1358 "wasLoadingRequest": {
1359 "description": "Was this request a loading request for this instance?",
1360 "type": "boolean"
1361 },
1362 "pendingTime": {
1363 "description": "Time this request spent in the pending reque st queue, if it was pending at all.",
1364 "type": "string"
1365 },
1366 "instanceIndex": {
1367 "description": "If the instance that processed this request was individually addressable (i.e. belongs to a manually scaled module), this is the index of the instance.",
1368 "format": "int32",
1369 "type": "integer"
1370 },
1371 "finished": {
1372 "description": "If true, represents a finished request. Othe rwise, the request is active.",
1373 "type": "boolean"
1374 },
1375 "instanceId": {
1376 "description": "An opaque identifier for the instance that h andled the request.",
1377 "format": "byte",
1378 "type": "string"
1379 },
1380 "line": {
1381 "description": "List of log lines emitted by the application while serving this request, if requested.",
1382 "items": {
1383 "$ref": "LogLine"
1384 },
1385 "type": "array"
1386 },
1387 "appEngineRelease": {
1388 "description": "App Engine release version string.",
1389 "type": "string"
1390 },
1391 "traceId": {
1392 "description": "Cloud Trace identifier of the trace for this request.",
1393 "type": "string"
1394 },
1395 "sourceReference": {
1396 "description": "Source code for the application that handled this request. There can be more than one source reference per deployed applicat ion if source code is distributed among multiple repositories.",
1397 "items": {
1398 "$ref": "SourceReference"
1399 },
1400 "type": "array"
1401 }
1402 },
1403 "type": "object"
1404 },
1405 "LogLine": {
1406 "description": "Application log line emitted while processing a requ est.",
1407 "id": "LogLine",
1408 "properties": {
1409 "time": {
1410 "description": "Time when log entry was made. May be inaccur ate.",
1411 "type": "string"
1412 },
1413 "severity": {
1414 "description": "Severity of log.",
1415 "enum": [
1416 "DEFAULT",
1417 "DEBUG",
1418 "INFO",
1419 "NOTICE",
1420 "WARNING",
1421 "ERROR",
1422 "CRITICAL",
1423 "ALERT",
1424 "EMERGENCY"
1425 ],
1426 "type": "string"
1427 },
1428 "logMessage": {
1429 "description": "App provided log message.",
1430 "type": "string"
1431 },
1432 "sourceLocation": {
1433 "$ref": "SourceLocation",
1434 "description": "Line of code that generated this log message ."
1435 }
1436 },
1437 "type": "object"
1438 },
1439 "SourceLocation": {
1440 "description": "Specifies a location in a source file.",
1441 "id": "SourceLocation",
1442 "properties": {
1443 "file": {
1444 "description": "Source file name. May or may not be a fully qualified name, depending on the runtime environment.",
1445 "type": "string"
1446 },
1447 "line": {
1448 "description": "Line within the source file.",
1449 "format": "int64",
1450 "type": "string"
1451 },
1452 "functionName": {
1453 "description": "Human-readable name of the function or metho d being invoked, with optional context such as the class or package name, for us e in contexts such as the logs viewer where file:line number is less meaningful. This may vary by language, for example: in Java: qual.if.ied.Class.method in Go : dir/package.func in Python: function ...",
1454 "type": "string"
1455 }
1456 },
1457 "type": "object"
1458 },
1459 "SourceReference": {
1460 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.",
1461 "id": "SourceReference",
1462 "properties": {
1463 "repository": {
1464 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
1465 "type": "string"
1466 },
1467 "revisionId": {
1468 "description": "The canonical (and persistent) identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1 b\"",
1469 "type": "string"
1470 }
1471 },
1472 "type": "object"
1473 },
1474 "AuditLog": {
1475 "description": "Common audit log format for Google Cloud Platform AP I calls.",
1476 "id": "AuditLog",
1477 "properties": {
1478 "serviceName": {
1479 "description": "Name of the API service for the request. e.g ., datastore.googleapis.com",
1480 "type": "string"
1481 },
1482 "methodName": {
1483 "description": "Name of the service method or operation. Def ined by the service. For API call events, should match the name of the API metho d. For example, `google.datastore.v1.Datastore.RunQuery` `google.logging.v1.Logg ingService.DeleteLog`",
1484 "type": "string"
1485 },
1486 "resourceName": {
1487 "description": "Resource name of the resource or collection that is the target of this request, as a scheme-less URI, not including the API service name. For example: shelves/shelf_id/books shelves/shelf_id/books/book_id ",
1488 "type": "string"
1489 },
1490 "numResponseItems": {
1491 "description": "If applicable, the number of items returned from a List or Query API method.",
1492 "format": "int64",
1493 "type": "string"
1494 },
1495 "status": {
1496 "$ref": "Status",
1497 "description": "The status of the overall API call."
1498 },
1499 "authenticationInfo": {
1500 "$ref": "AuthenticationInfo",
1501 "description": "Authentication information about the call."
1502 },
1503 "authorizationInfo": {
1504 "description": "Authorization information about the call. If there are multiple resources or permissions involved in authorizing the request , there will be one AuthorizationInfo element for each {resource, permission} tu ple.",
1505 "items": {
1506 "$ref": "AuthorizationInfo"
1507 },
1508 "type": "array"
1509 },
1510 "requestMetadata": {
1511 "$ref": "RequestMetadata",
1512 "description": "Metadata about the request."
1513 },
1514 "serviceData": {
1515 "additionalProperties": {
1516 "description": "Properties of the object. Contains field @ype with type URL.",
1517 "type": "any"
1518 },
1519 "description": "Service specific data about the request, res ponse, and other event data. This should include all request parameters or respo nse elements, except for parameters that are large or privacy-sensitive. It shou ld never contain user-generated data (such as file contents).",
1520 "type": "object"
1521 },
1522 "bigqueryData": {
1523 "$ref": "AuditData",
1524 "description": "Service-specific data for BigQuery."
1525 }
1526 },
1527 "type": "object"
1528 },
1529 "AuthenticationInfo": {
1530 "description": "Authentication information for the call.",
1531 "id": "AuthenticationInfo",
1532 "properties": {
1533 "principalEmail": {
1534 "description": "Email address of the authenticated user maki ng the request",
1535 "type": "string"
1536 }
1537 },
1538 "type": "object"
1539 },
1540 "AuthorizationInfo": {
1541 "description": "Authorization information for the call.",
1542 "id": "AuthorizationInfo",
1543 "properties": {
1544 "resource": {
1545 "description": "The resource being accessed, as a REST-style string. For example: `bigquery.googlapis.com/projects/PROJECTID/datasets/DATASE TID`",
1546 "type": "string"
1547 },
1548 "permission": {
1549 "description": "The required IAM permission.",
1550 "type": "string"
1551 },
1552 "granted": {
1553 "description": "Whether or not authorization for this resour ce and permission was granted.",
1554 "type": "boolean"
1555 }
1556 },
1557 "type": "object"
1558 },
1559 "RequestMetadata": {
1560 "description": "Metadata about the request.",
1561 "id": "RequestMetadata",
1562 "properties": {
1563 "callerIp": {
1564 "description": "IP address of the caller",
1565 "type": "string"
1566 },
1567 "callerSuppliedUserAgent": {
1568 "description": "User-Agent of the caller. This is not authen ticated, so a malicious caller could provide a misleading value. For example: `g oogle-api-python-client/1.4.0` The request was made by the Google API client for Python. `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62` The req uest was made by the Google Cloud SDK CLI (gcloud). `AppEngine-Google; (+http:// code.google.com/appengine; appid: s~my-project` The request was made from the `m y-project` App Engine app.",
1569 "type": "string"
1570 }
1571 },
1572 "type": "object"
1573 },
1574 "AuditData": {
1575 "description": "BigQuery request and response messages for audit log .",
1576 "id": "AuditData",
1577 "properties": {
1578 "tableInsertRequest": {
1579 "$ref": "TableInsertRequest",
1580 "description": "Table insert request."
1581 },
1582 "tableUpdateRequest": {
1583 "$ref": "TableUpdateRequest",
1584 "description": "Table update request."
1585 },
1586 "datasetListRequest": {
1587 "$ref": "DatasetListRequest",
1588 "description": "Dataset list request."
1589 },
1590 "datasetInsertRequest": {
1591 "$ref": "DatasetInsertRequest",
1592 "description": "Dataset insert request."
1593 },
1594 "datasetUpdateRequest": {
1595 "$ref": "DatasetUpdateRequest",
1596 "description": "Dataset update request."
1597 },
1598 "jobInsertRequest": {
1599 "$ref": "JobInsertRequest",
1600 "description": "Job insert request."
1601 },
1602 "jobQueryRequest": {
1603 "$ref": "JobQueryRequest",
1604 "description": "Job query request."
1605 },
1606 "jobGetQueryResultsRequest": {
1607 "$ref": "JobGetQueryResultsRequest",
1608 "description": "Job get query results request."
1609 },
1610 "tableDataListRequest": {
1611 "$ref": "TableDataListRequest",
1612 "description": "Table data-list request."
1613 },
1614 "tableInsertResponse": {
1615 "$ref": "TableInsertResponse",
1616 "description": "Table insert response."
1617 },
1618 "tableUpdateResponse": {
1619 "$ref": "TableUpdateResponse",
1620 "description": "Table update response."
1621 },
1622 "datasetInsertResponse": {
1623 "$ref": "DatasetInsertResponse",
1624 "description": "Dataset insert response."
1625 },
1626 "datasetUpdateResponse": {
1627 "$ref": "DatasetUpdateResponse",
1628 "description": "Dataset update response."
1629 },
1630 "jobQueryResponse": {
1631 "$ref": "JobQueryResponse",
1632 "description": "Job query response."
1633 },
1634 "jobGetQueryResultsResponse": {
1635 "$ref": "JobGetQueryResultsResponse",
1636 "description": "Job get query results response."
1637 },
1638 "jobQueryDoneResponse": {
1639 "$ref": "JobQueryDoneResponse",
1640 "description": "Job query-done response. Use this informatio n for usage analysis."
1641 }
1642 },
1643 "type": "object"
1644 },
1645 "TableInsertRequest": {
1646 "description": "==== Table =======// Table insert request.",
1647 "id": "TableInsertRequest",
1648 "properties": {
1649 "resource": {
1650 "$ref": "Table",
1651 "description": "Table insert payload."
1652 }
1653 },
1654 "type": "object"
1655 },
1656 "Table": {
1657 "description": "Message containing BigQuery table information.",
1658 "id": "Table",
1659 "properties": {
1660 "tableName": {
1661 "$ref": "TableName",
1662 "description": "The table and dataset IDs uniquely describin g this table."
1663 },
1664 "info": {
1665 "$ref": "TableInfo",
1666 "description": "User-modifiable metadata for this table."
1667 },
1668 "schema": {
1669 "$ref": "TableSchema",
1670 "description": "The table schema."
1671 },
1672 "view": {
1673 "$ref": "TableViewDefinition",
1674 "description": "The table provides a Database View behavior and functionality based on a query."
1675 },
1676 "expireTime": {
1677 "description": "The expiration date for this table. After th is time, the table will not be externally visible and all storage associated wit h the table may be garbage collected. If this field is not present, the HelixDat aset.default_table_expiration_ms value will be used to calculate the expiration time. Otherwise, the table will live until explicitly deleted.",
1678 "type": "string"
1679 },
1680 "createTime": {
1681 "description": "The creation time for this table.",
1682 "type": "string"
1683 },
1684 "truncateTime": {
1685 "description": "The last truncation time for this table. Thi s will only be updated when operation specified with WRITE_TRUNCATE.",
1686 "type": "string"
1687 }
1688 },
1689 "type": "object"
1690 },
1691 "TableName": {
1692 "description": "Fully-qualified name for a table -- referenced throu gh a dataset.",
1693 "id": "TableName",
1694 "properties": {
1695 "projectId": {
1696 "description": "A string containing the id of this project. The id be the alphanumeric project ID, or the project number.",
1697 "type": "string"
1698 },
1699 "datasetId": {
1700 "description": "The ID of the dataset (scoped to the project above).",
1701 "type": "string"
1702 },
1703 "tableId": {
1704 "description": "The ID of the table (scoped to the dataset a bove).",
1705 "type": "string"
1706 }
1707 },
1708 "type": "object"
1709 },
1710 "TableInfo": {
1711 "description": "User-provided metadata for a table, primarily for di splay in the UI.",
1712 "id": "TableInfo",
1713 "properties": {
1714 "friendlyName": {
1715 "description": "The human-readable name of a table. This sho uld be a short phrase identifying the table (e.g., \"Analytics Data - Jan 2011\" ).",
1716 "type": "string"
1717 },
1718 "description": {
1719 "description": "The description of a table. This can be seve ral sentences or paragraphs describing the table contents in detail.",
1720 "type": "string"
1721 }
1722 },
1723 "type": "object"
1724 },
1725 "TableSchema": {
1726 "description": "BigQuery table schema.",
1727 "id": "TableSchema",
1728 "properties": {
1729 "fields": {
1730 "description": "One field per column in the table",
1731 "items": {
1732 "$ref": "FieldSchema"
1733 },
1734 "type": "array"
1735 }
1736 },
1737 "type": "object"
1738 },
1739 "FieldSchema": {
1740 "description": "BigQuery field schema.",
1741 "id": "FieldSchema",
1742 "properties": {
1743 "name": {
1744 "description": "Column name Matches: [A-Za-z_][A-Za-z_0-9]{0 ,127}",
1745 "type": "string"
1746 },
1747 "type": {
1748 "description": "Column type",
1749 "type": "string"
1750 },
1751 "mode": {
1752 "description": "Column mode",
1753 "type": "string"
1754 },
1755 "schema": {
1756 "$ref": "TableSchema",
1757 "description": "Present iff type == RECORD."
1758 }
1759 },
1760 "type": "object"
1761 },
1762 "TableViewDefinition": {
1763 "description": "Metadata for a table to become like a Database View based on a SQL-like query.",
1764 "id": "TableViewDefinition",
1765 "properties": {
1766 "query": {
1767 "description": "Sql query to run.",
1768 "type": "string"
1769 }
1770 },
1771 "type": "object"
1772 },
1773 "TableUpdateRequest": {
1774 "description": "Table update request.",
1775 "id": "TableUpdateRequest",
1776 "properties": {
1777 "resource": {
1778 "$ref": "Table",
1779 "description": "Table update payload."
1780 }
1781 },
1782 "type": "object"
1783 },
1784 "DatasetListRequest": {
1785 "description": "Dataset list request.",
1786 "id": "DatasetListRequest",
1787 "properties": {
1788 "listAll": {
1789 "description": "Whether to list all datasets, including hidd en ones.",
1790 "type": "boolean"
1791 }
1792 },
1793 "type": "object"
1794 },
1795 "DatasetInsertRequest": {
1796 "description": "Dataset insert request.",
1797 "id": "DatasetInsertRequest",
1798 "properties": {
1799 "resource": {
1800 "$ref": "Dataset",
1801 "description": "Dataset insert payload."
1802 }
1803 },
1804 "type": "object"
1805 },
1806 "Dataset": {
1807 "description": "BigQuery dataset information.",
1808 "id": "Dataset",
1809 "properties": {
1810 "datasetName": {
1811 "$ref": "DatasetName",
1812 "description": "The name of this dataset."
1813 },
1814 "info": {
1815 "$ref": "DatasetInfo",
1816 "description": "User-modifiable metadata for this dataset."
1817 },
1818 "createTime": {
1819 "description": "The creation time for this dataset.",
1820 "type": "string"
1821 },
1822 "updateTime": {
1823 "description": "The last modified time for this dataset.",
1824 "type": "string"
1825 },
1826 "acl": {
1827 "$ref": "BigQueryAcl",
1828 "description": "Access contol list for this dataset."
1829 },
1830 "defaultTableExpireDuration": {
1831 "description": "The number of milliseconds which should be a dded to the creation time to determine the expiration time for newly created tab les. If this value is null then no expiration time will be set for new tables.",
1832 "type": "string"
1833 }
1834 },
1835 "type": "object"
1836 },
1837 "DatasetName": {
1838 "description": "Fully qualified name for a dataset.",
1839 "id": "DatasetName",
1840 "properties": {
1841 "projectId": {
1842 "description": "A string containing the id of this project. The id may be the alphanumeric project ID, or the project number.",
1843 "type": "string"
1844 },
1845 "datasetId": {
1846 "description": "The ID of the dataset (scoped to the project above).",
1847 "type": "string"
1848 }
1849 },
1850 "type": "object"
1851 },
1852 "DatasetInfo": {
1853 "description": "User-provided metadata for a dataset, primarily for display in the UI.",
1854 "id": "DatasetInfo",
1855 "properties": {
1856 "friendlyName": {
1857 "description": "The human-readable name of a dataset. This s hould be a short phrase identifying the dataset (e.g., \"Analytics Data 2011\"). ",
1858 "type": "string"
1859 },
1860 "description": {
1861 "description": "The description of a dataset. This can be se veral sentences or paragraphs describing the dataset contents in detail.",
1862 "type": "string"
1863 }
1864 },
1865 "type": "object"
1866 },
1867 "BigQueryAcl": {
1868 "description": "Access control list.",
1869 "id": "BigQueryAcl",
1870 "properties": {
1871 "entries": {
1872 "description": "Access control entry list.",
1873 "items": {
1874 "$ref": "Entry"
1875 },
1876 "type": "array"
1877 }
1878 },
1879 "type": "object"
1880 },
1881 "Entry": {
1882 "description": "Access control entry.",
1883 "id": "Entry",
1884 "properties": {
1885 "role": {
1886 "description": "Granted role. Valid roles are READER, WRITER , OWNER.",
1887 "type": "string"
1888 },
1889 "groupEmail": {
1890 "description": "Grants access to a group, by e-mail.",
1891 "type": "string"
1892 },
1893 "userEmail": {
1894 "description": "Grants access to a user, by e-mail.",
1895 "type": "string"
1896 },
1897 "domain": {
1898 "description": "Grants access to all members of a domain.",
1899 "type": "string"
1900 },
1901 "specialGroup": {
1902 "description": "Grants access to special groups. Valid group s are PROJECT_OWNERS, PROJECT_READERS, PROJECT_WRITERS and ALL_AUTHENTICATED_USE RS.",
1903 "type": "string"
1904 },
1905 "viewName": {
1906 "$ref": "TableName",
1907 "description": "Grants access to a BigQuery View."
1908 }
1909 },
1910 "type": "object"
1911 },
1912 "DatasetUpdateRequest": {
1913 "description": "Dataset update request.",
1914 "id": "DatasetUpdateRequest",
1915 "properties": {
1916 "resource": {
1917 "$ref": "Dataset",
1918 "description": "Dataset update payload."
1919 }
1920 },
1921 "type": "object"
1922 },
1923 "JobInsertRequest": {
1924 "description": "Job insert request.",
1925 "id": "JobInsertRequest",
1926 "properties": {
1927 "resource": {
1928 "$ref": "Job",
1929 "description": "Job insert payload."
1930 }
1931 },
1932 "type": "object"
1933 },
1934 "Job": {
1935 "description": "Combines all of the information about a job.",
1936 "id": "Job",
1937 "properties": {
1938 "jobName": {
1939 "$ref": "JobName",
1940 "description": "Job name."
1941 },
1942 "jobConfiguration": {
1943 "$ref": "JobConfiguration",
1944 "description": "Job configuration."
1945 },
1946 "jobStatus": {
1947 "$ref": "JobStatus",
1948 "description": "Job status."
1949 },
1950 "jobStatistics": {
1951 "$ref": "JobStatistics",
1952 "description": "Job statistics."
1953 }
1954 },
1955 "type": "object"
1956 },
1957 "JobName": {
1958 "description": "Fully-qualified name for a job.",
1959 "id": "JobName",
1960 "properties": {
1961 "projectId": {
1962 "description": "A string containing the id of this project." ,
1963 "type": "string"
1964 },
1965 "jobId": {
1966 "description": "The ID of the job (scoped to the project abo ve).",
1967 "type": "string"
1968 }
1969 },
1970 "type": "object"
1971 },
1972 "JobConfiguration": {
1973 "description": "Job configuration information.",
1974 "id": "JobConfiguration",
1975 "properties": {
1976 "query": {
1977 "$ref": "Query",
1978 "description": "Query job information."
1979 },
1980 "load": {
1981 "$ref": "Load",
1982 "description": "Load job information."
1983 },
1984 "extract": {
1985 "$ref": "Extract",
1986 "description": "Extract job information."
1987 },
1988 "tableCopy": {
1989 "$ref": "TableCopy",
1990 "description": "TableCopy job information."
1991 },
1992 "dryRun": {
1993 "description": "If set, don't actually run the job. Just che ck that it would run.",
1994 "type": "boolean"
1995 }
1996 },
1997 "type": "object"
1998 },
1999 "Query": {
2000 "description": "Describes a query job, which executes a SQL-like que ry.",
2001 "id": "Query",
2002 "properties": {
2003 "query": {
2004 "description": "SQL query to run.",
2005 "type": "string"
2006 },
2007 "destinationTable": {
2008 "$ref": "TableName",
2009 "description": "table where results should be written."
2010 },
2011 "createDisposition": {
2012 "description": "Describe when a job should create a table.",
2013 "type": "string"
2014 },
2015 "writeDisposition": {
2016 "description": "Describes how writes should affect the table associated with the job.",
2017 "type": "string"
2018 },
2019 "defaultDataset": {
2020 "$ref": "DatasetName",
2021 "description": "If a table name is specified without a datas et in a query, this dataset will be added to table name."
2022 },
2023 "tableDefinitions": {
2024 "description": "Additional tables that this query might refe rence beyond the tables already defined in BigQuery. This is typically used to p rovide external data references for this query.",
2025 "items": {
2026 "$ref": "TableDefinition"
2027 },
2028 "type": "array"
2029 }
2030 },
2031 "type": "object"
2032 },
2033 "TableDefinition": {
2034 "description": "Per Query external tables. These tables can be refer enced with 'name' in the query and can be read just like any other table.",
2035 "id": "TableDefinition",
2036 "properties": {
2037 "name": {
2038 "description": "Name of the table. This will be used to refe rence this table in the query.",
2039 "type": "string"
2040 },
2041 "sourceUris": {
2042 "description": "URIs for the data to be imported.",
2043 "items": {
2044 "type": "string"
2045 },
2046 "type": "array"
2047 }
2048 },
2049 "type": "object"
2050 },
2051 "Load": {
2052 "description": "Describes a load job, which loads data from an exter nal source via the import pipeline.",
2053 "id": "Load",
2054 "properties": {
2055 "sourceUris": {
2056 "description": "URIs for the data to be imported. Only Bigst ore URIs are supported (e.g., \"gs://bucket/object\").",
2057 "items": {
2058 "type": "string"
2059 },
2060 "type": "array"
2061 },
2062 "schema": {
2063 "$ref": "TableSchema",
2064 "description": "Schema for the data to be imported."
2065 },
2066 "destinationTable": {
2067 "$ref": "TableName",
2068 "description": "table where the imported data should be writ ten."
2069 },
2070 "createDisposition": {
2071 "description": "Describes when a job should create a table." ,
2072 "type": "string"
2073 },
2074 "writeDisposition": {
2075 "description": "Describes how writes should affect the table associated with the job.",
2076 "type": "string"
2077 }
2078 },
2079 "type": "object"
2080 },
2081 "Extract": {
2082 "description": "Describes an extract job, which exports data to an e xternal source via the export pipeline.",
2083 "id": "Extract",
2084 "properties": {
2085 "destinationUris": {
2086 "description": "URI or URIs where extracted data should be w ritten. Currently, only Bigstore URIs are supported (e.g., \"gs://bucket/object\ "). If more than one URI given, output will be divided into 'partitions' of data , with each partition containing one or more files. If more than one URI is give n, each URI must contain exactly one '*' which will be replaced with the file nu mber (within the partition) padded out to 9 digits.",
2087 "items": {
2088 "type": "string"
2089 },
2090 "type": "array"
2091 },
2092 "sourceTable": {
2093 "$ref": "TableName",
2094 "description": "Source table."
2095 }
2096 },
2097 "type": "object"
2098 },
2099 "TableCopy": {
2100 "description": "Describes a copy job, which copies an existing table to another table.",
2101 "id": "TableCopy",
2102 "properties": {
2103 "sourceTables": {
2104 "description": "Source tables.",
2105 "items": {
2106 "$ref": "TableName"
2107 },
2108 "type": "array"
2109 },
2110 "destinationTable": {
2111 "$ref": "TableName",
2112 "description": "Destination table."
2113 },
2114 "createDisposition": {
2115 "description": "Describe when a job should create a table.",
2116 "type": "string"
2117 },
2118 "writeDisposition": {
2119 "description": "Describe whether the copy operation should a ppend or not.",
2120 "type": "string"
2121 }
2122 },
2123 "type": "object"
2124 },
2125 "JobStatus": {
2126 "description": "Running state of a job (whether it is running, faile d, etc).",
2127 "id": "JobStatus",
2128 "properties": {
2129 "state": {
2130 "description": "State of a job: PENDING, RUNNING, DONE. Incl udes no information about whether the job was successful or not.",
2131 "type": "string"
2132 },
2133 "error": {
2134 "$ref": "Status",
2135 "description": "If the job did not complete successfully, th is will contain an error."
2136 }
2137 },
2138 "type": "object"
2139 },
2140 "JobStatistics": {
2141 "description": "Job statistics that may change after a job starts.",
2142 "id": "JobStatistics",
2143 "properties": {
2144 "createTime": {
2145 "description": "Time when the job was created (in millisecon ds since the POSIX epoch).",
2146 "type": "string"
2147 },
2148 "startTime": {
2149 "description": "Time when the job started.",
2150 "type": "string"
2151 },
2152 "endTime": {
2153 "description": "Time when the job ended.",
2154 "type": "string"
2155 },
2156 "totalProcessedBytes": {
2157 "description": "Total bytes processed for a job.",
2158 "format": "int64",
2159 "type": "string"
2160 }
2161 },
2162 "type": "object"
2163 },
2164 "JobQueryRequest": {
2165 "description": "Job query request.",
2166 "id": "JobQueryRequest",
2167 "properties": {
2168 "query": {
2169 "description": "The query to execute.",
2170 "type": "string"
2171 },
2172 "maxResults": {
2173 "description": "Maximum number of results to return.",
2174 "format": "uint32",
2175 "type": "integer"
2176 },
2177 "defaultDataset": {
2178 "$ref": "DatasetName",
2179 "description": "Default dataset to use when tables in a quer y do not have a dataset specified."
2180 },
2181 "projectId": {
2182 "description": "Project that the query should be charged to. ",
2183 "type": "string"
2184 },
2185 "dryRun": {
2186 "description": "If set, don't actually run the query.",
2187 "type": "boolean"
2188 }
2189 },
2190 "type": "object"
2191 },
2192 "JobGetQueryResultsRequest": {
2193 "description": "Job get-query-results request.",
2194 "id": "JobGetQueryResultsRequest",
2195 "properties": {
2196 "maxResults": {
2197 "description": "Maximum number of results to return.",
2198 "format": "uint32",
2199 "type": "integer"
2200 },
2201 "startRow": {
2202 "description": "Row number to start returning results from." ,
2203 "format": "uint64",
2204 "type": "string"
2205 }
2206 },
2207 "type": "object"
2208 },
2209 "TableDataListRequest": {
2210 "description": "Table data-list request.",
2211 "id": "TableDataListRequest",
2212 "properties": {
2213 "startRow": {
2214 "description": "Starting row offset.",
2215 "format": "uint64",
2216 "type": "string"
2217 },
2218 "maxResults": {
2219 "description": "Maximum number of results to return.",
2220 "format": "uint32",
2221 "type": "integer"
2222 }
2223 },
2224 "type": "object"
2225 },
2226 "TableInsertResponse": {
2227 "description": "Table insert response.",
2228 "id": "TableInsertResponse",
2229 "properties": {
2230 "resource": {
2231 "$ref": "Table",
2232 "description": "Final state of inserted table."
2233 }
2234 },
2235 "type": "object"
2236 },
2237 "TableUpdateResponse": {
2238 "description": "Table update response.",
2239 "id": "TableUpdateResponse",
2240 "properties": {
2241 "resource": {
2242 "$ref": "Table",
2243 "description": "Final state of updated table."
2244 }
2245 },
2246 "type": "object"
2247 },
2248 "DatasetInsertResponse": {
2249 "description": "Dataset insert response.",
2250 "id": "DatasetInsertResponse",
2251 "properties": {
2252 "resource": {
2253 "$ref": "Dataset",
2254 "description": "Final state of inserted dataset."
2255 }
2256 },
2257 "type": "object"
2258 },
2259 "DatasetUpdateResponse": {
2260 "description": "Dataset update response.",
2261 "id": "DatasetUpdateResponse",
2262 "properties": {
2263 "resource": {
2264 "$ref": "Dataset",
2265 "description": "Final state of updated dataset."
2266 }
2267 },
2268 "type": "object"
2269 },
2270 "JobQueryResponse": {
2271 "description": "Job query response.",
2272 "id": "JobQueryResponse",
2273 "properties": {
2274 "totalResults": {
2275 "description": "The total number of rows in the complete que ry result set.",
2276 "format": "uint64",
2277 "type": "string"
2278 },
2279 "job": {
2280 "$ref": "Job",
2281 "description": "Information about queried job."
2282 }
2283 },
2284 "type": "object"
2285 },
2286 "JobGetQueryResultsResponse": {
2287 "description": "Job get-query-results response.",
2288 "id": "JobGetQueryResultsResponse",
2289 "properties": {
2290 "totalResults": {
2291 "description": "Total number of results in query results.",
2292 "format": "uint64",
2293 "type": "string"
2294 },
2295 "job": {
2296 "$ref": "Job",
2297 "description": "Job that was created to run the query. Inclu des job state, job statistics, and job errors (if any). To determine whether the job has completed, check that job.status.state == DONE. If job.status.error_res ult is set, then the job failed. If the job has not yet completed, call GetQuery Results again."
2298 }
2299 },
2300 "type": "object"
2301 },
2302 "JobQueryDoneResponse": {
2303 "description": "Job get query-done response.",
2304 "id": "JobQueryDoneResponse",
2305 "properties": {
2306 "job": {
2307 "$ref": "Job",
2308 "description": "Usage information about completed job."
2309 }
2310 },
2311 "type": "object"
2312 },
2313 "Money": {
2314 "description": "Represents an amount of money with its currency type .",
2315 "id": "Money",
2316 "properties": {
2317 "currencyCode": {
2318 "description": "The 3-letter currency code defined in ISO 42 17.",
2319 "type": "string"
2320 },
2321 "units": {
2322 "description": "The whole units of the amount. For example i f `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
2323 "format": "int64",
2324 "type": "string"
2325 },
2326 "nanos": {
2327 "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. ",
2328 "format": "int32",
2329 "type": "integer"
2330 }
2331 },
2332 "type": "object"
1001 } 2333 }
1002 }, 2334 },
1003 "servicePath": "", 2335 "servicePath": "",
1004 "title": "Google Cloud Logging API", 2336 "title": "Google Cloud Logging API",
1005 "version": "v1beta3" 2337 "version": "v1beta3"
1006 } 2338 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698