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

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

Issue 1078053002: Roll of googleapis as of 4/7/2015. (Closed) Base URL: https://github.com/dart-lang/googleapis.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://logging.googleapis.com/",
13 "batchPath": "batch",
14 "description": "Google Cloud Logging API lets you create logs, ingest log en tries, and manage log sinks.",
15 "discoveryVersion": "v1",
16 "documentationLink": "",
17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WoU1Y-TPU2mFiyKWAKMijLjE-Hc\"",
18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 },
22 "id": "logging:v1beta3",
23 "kind": "discovery#restDescription",
24 "name": "logging",
25 "ownerDomain": "google.com",
26 "ownerName": "Google",
27 "parameters": {
28 "access_token": {
29 "description": "OAuth access token.",
30 "location": "query",
31 "type": "string"
32 },
33 "alt": {
34 "default": "json",
35 "description": "Data format for response.",
36 "enumDescriptions": [
37 "Responses with Content-Type of application/json",
38 "Media download with context-dependent Content-Type",
39 "Responses with Content-Type of application/x-protobuf"
40 ],
41 "location": "query",
42 "type": "string"
43 },
44 "bearer_token": {
45 "description": "OAuth bearer token.",
46 "location": "query",
47 "type": "string"
48 },
49 "callback": {
50 "description": "JSONP",
51 "location": "query",
52 "type": "string"
53 },
54 "fields": {
55 "description": "Selector specifying which fields to include in a par tial response.",
56 "location": "query",
57 "type": "string"
58 },
59 "key": {
60 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
61 "location": "query",
62 "type": "string"
63 },
64 "oauth_token": {
65 "description": "OAuth 2.0 token for the current user.",
66 "location": "query",
67 "type": "string"
68 },
69 "pp": {
70 "default": "true",
71 "description": "Pretty-print response.",
72 "location": "query",
73 "type": "boolean"
74 },
75 "prettyPrint": {
76 "default": "true",
77 "description": "Returns response with indentations and line breaks." ,
78 "location": "query",
79 "type": "boolean"
80 },
81 "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.",
83 "location": "query",
84 "type": "string"
85 },
86 "$.xgafv": {
87 "description": "V1 error format.",
88 "enumDescriptions": [
89 "v1 error format",
90 "v2 error format"
91 ],
92 "location": "query",
93 "type": "string"
94 }
95 },
96 "protocol": "rest",
97 "resources": {
98 "projects": {
99 "resources": {
100 "logs": {
101 "methods": {
102 "list": {
103 "description": "Lists log resources belonging to the specified project.",
104 "httpMethod": "GET",
105 "id": "logging.projects.logs.list",
106 "parameterOrder": [
107 "projectsId"
108 ],
109 "parameters": {
110 "projectsId": {
111 "description": "Part of `projectName`. The p roject name for which to list the log resources.",
112 "location": "path",
113 "required": true,
114 "type": "string"
115 },
116 "serviceName": {
117 "description": "A service name for which to list logs. Only logs containing entries whose metadata includes this service nam e are returned. If `serviceName` and `serviceIndexPrefix` are both empty, then a ll log names are returned. To list all log names, regardless of service, leave b oth the `serviceName` and `serviceIndexPrefix` empty. To list log names containi ng entries with a particular service name (or explicitly empty service name) set `serviceName` to the desired value and `serviceIndexPrefix` to `\"/\"`.",
118 "location": "query",
119 "type": "string"
120 },
121 "serviceIndexPrefix": {
122 "description": "A log service index prefix f or which to list logs. Only logs containing entries whose metadata that includes these label values (associated with index keys) are returned. The prefix is a s lash separated list of values, and need not specify all index labels. An empty i ndex (or a single slash) matches all log service indexes.",
123 "location": "query",
124 "type": "string"
125 },
126 "pageSize": {
127 "description": "The maximum number of result s to return.",
128 "format": "int32",
129 "location": "query",
130 "type": "integer"
131 },
132 "pageToken": {
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.",
134 "location": "query",
135 "type": "string"
136 }
137 },
138 "path": "v1beta3/projects/{projectsId}/logs",
139 "response": {
140 "$ref": "ListLogsResponse"
141 },
142 "scopes": [
143 "https://www.googleapis.com/auth/cloud-platform"
144 ]
145 },
146 "delete": {
147 "description": "Deletes the specified log resource a nd all log entries contained in it.",
148 "httpMethod": "DELETE",
149 "id": "logging.projects.logs.delete",
150 "parameterOrder": [
151 "projectsId",
152 "logsId"
153 ],
154 "parameters": {
155 "projectsId": {
156 "description": "Part of `logName`. The log r esource to delete.",
157 "location": "path",
158 "required": true,
159 "type": "string"
160 },
161 "logsId": {
162 "description": "Part of `logName`. See docum entation of `projectsId`.",
163 "location": "path",
164 "required": true,
165 "type": "string"
166 }
167 },
168 "path": "v1beta3/projects/{projectsId}/logs/{logsId} ",
169 "response": {
170 "$ref": "Empty"
171 },
172 "scopes": [
173 "https://www.googleapis.com/auth/cloud-platform"
174 ]
175 }
176 },
177 "resources": {
178 "entries": {
179 "methods": {
180 "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.",
182 "httpMethod": "POST",
183 "id": "logging.projects.logs.entries.write",
184 "parameterOrder": [
185 "projectsId",
186 "logsId"
187 ],
188 "parameters": {
189 "projectsId": {
190 "description": "Part of `logName`. T he name of the log resource into which to insert the log entries.",
191 "location": "path",
192 "required": true,
193 "type": "string"
194 },
195 "logsId": {
196 "description": "Part of `logName`. S ee documentation of `projectsId`.",
197 "location": "path",
198 "required": true,
199 "type": "string"
200 }
201 },
202 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/entries:write",
203 "request": {
204 "$ref": "WriteLogEntriesRequest"
205 },
206 "response": {
207 "$ref": "WriteLogEntriesResponse"
208 },
209 "scopes": [
210 "https://www.googleapis.com/auth/cloud-p latform"
211 ]
212 }
213 }
214 },
215 "sinks": {
216 "methods": {
217 "list": {
218 "description": "Lists log sinks associated w ith the specified log.",
219 "httpMethod": "GET",
220 "id": "logging.projects.logs.sinks.list",
221 "parameterOrder": [
222 "projectsId",
223 "logsId"
224 ],
225 "parameters": {
226 "projectsId": {
227 "description": "Part of `logName`. T he log for which to list sinks.",
228 "location": "path",
229 "required": true,
230 "type": "string"
231 },
232 "logsId": {
233 "description": "Part of `logName`. S ee documentation of `projectsId`.",
234 "location": "path",
235 "required": true,
236 "type": "string"
237 }
238 },
239 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks",
240 "response": {
241 "$ref": "ListLogSinksResponse"
242 },
243 "scopes": [
244 "https://www.googleapis.com/auth/cloud-p latform"
245 ]
246 },
247 "get": {
248 "description": "Gets the specified log sink resource.",
249 "httpMethod": "GET",
250 "id": "logging.projects.logs.sinks.get",
251 "parameterOrder": [
252 "projectsId",
253 "logsId",
254 "sinksId"
255 ],
256 "parameters": {
257 "projectsId": {
258 "description": "Part of `sinkName`. The name of the sink resource to return.",
259 "location": "path",
260 "required": true,
261 "type": "string"
262 },
263 "logsId": {
264 "description": "Part of `sinkName`. See documentation of `projectsId`.",
265 "location": "path",
266 "required": true,
267 "type": "string"
268 },
269 "sinksId": {
270 "description": "Part of `sinkName`. See documentation of `projectsId`.",
271 "location": "path",
272 "required": true,
273 "type": "string"
274 }
275 },
276 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}",
277 "response": {
278 "$ref": "LogSink"
279 },
280 "scopes": [
281 "https://www.googleapis.com/auth/cloud-p latform"
282 ]
283 },
284 "create": {
285 "description": "Creates the specified log si nk resource.",
286 "httpMethod": "POST",
287 "id": "logging.projects.logs.sinks.create",
288 "parameterOrder": [
289 "projectsId",
290 "logsId"
291 ],
292 "parameters": {
293 "projectsId": {
294 "description": "Part of `logName`. T he log in which to create a sink resource.",
295 "location": "path",
296 "required": true,
297 "type": "string"
298 },
299 "logsId": {
300 "description": "Part of `logName`. S ee documentation of `projectsId`.",
301 "location": "path",
302 "required": true,
303 "type": "string"
304 }
305 },
306 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks",
307 "request": {
308 "$ref": "LogSink"
309 },
310 "response": {
311 "$ref": "LogSink"
312 },
313 "scopes": [
314 "https://www.googleapis.com/auth/cloud-p latform"
315 ]
316 },
317 "update": {
318 "description": "Creates or updates the speci fied log sink resource.",
319 "httpMethod": "PUT",
320 "id": "logging.projects.logs.sinks.update",
321 "parameterOrder": [
322 "projectsId",
323 "logsId",
324 "sinksId"
325 ],
326 "parameters": {
327 "projectsId": {
328 "description": "Part of `sinkName`. The name of the sink to update.",
329 "location": "path",
330 "required": true,
331 "type": "string"
332 },
333 "logsId": {
334 "description": "Part of `sinkName`. See documentation of `projectsId`.",
335 "location": "path",
336 "required": true,
337 "type": "string"
338 },
339 "sinksId": {
340 "description": "Part of `sinkName`. See documentation of `projectsId`.",
341 "location": "path",
342 "required": true,
343 "type": "string"
344 }
345 },
346 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}",
347 "request": {
348 "$ref": "LogSink"
349 },
350 "response": {
351 "$ref": "LogSink"
352 },
353 "scopes": [
354 "https://www.googleapis.com/auth/cloud-p latform"
355 ]
356 },
357 "delete": {
358 "description": "Deletes the specified log si nk resource.",
359 "httpMethod": "DELETE",
360 "id": "logging.projects.logs.sinks.delete",
361 "parameterOrder": [
362 "projectsId",
363 "logsId",
364 "sinksId"
365 ],
366 "parameters": {
367 "projectsId": {
368 "description": "Part of `sinkName`. The name of the sink to delete.",
369 "location": "path",
370 "required": true,
371 "type": "string"
372 },
373 "logsId": {
374 "description": "Part of `sinkName`. See documentation of `projectsId`.",
375 "location": "path",
376 "required": true,
377 "type": "string"
378 },
379 "sinksId": {
380 "description": "Part of `sinkName`. See documentation of `projectsId`.",
381 "location": "path",
382 "required": true,
383 "type": "string"
384 }
385 },
386 "path": "v1beta3/projects/{projectsId}/logs/ {logsId}/sinks/{sinksId}",
387 "response": {
388 "$ref": "Empty"
389 },
390 "scopes": [
391 "https://www.googleapis.com/auth/cloud-p latform"
392 ]
393 }
394 }
395 }
396 }
397 },
398 "logServices": {
399 "methods": {
400 "list": {
401 "description": "Lists log services associated with l og entries ingested for a project.",
402 "httpMethod": "GET",
403 "id": "logging.projects.logServices.list",
404 "parameterOrder": [
405 "projectsId"
406 ],
407 "parameters": {
408 "projectsId": {
409 "description": "Part of `projectName`. The p roject resource whose services are to be listed.",
410 "location": "path",
411 "required": true,
412 "type": "string"
413 },
414 "log": {
415 "description": "The name of the log resource whose services are to be listed. log for which to list services. When empty, al l services are listed.",
416 "location": "query",
417 "type": "string"
418 },
419 "pageSize": {
420 "description": "The maximum number of `LogSe rvice` objects to return in one operation.",
421 "format": "int32",
422 "location": "query",
423 "type": "integer"
424 },
425 "pageToken": {
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.",
427 "location": "query",
428 "type": "string"
429 }
430 },
431 "path": "v1beta3/projects/{projectsId}/logServices",
432 "response": {
433 "$ref": "ListLogServicesResponse"
434 },
435 "scopes": [
436 "https://www.googleapis.com/auth/cloud-platform"
437 ]
438 }
439 },
440 "resources": {
441 "indexes": {
442 "methods": {
443 "list": {
444 "description": "Lists log service indexes as sociated with a log service.",
445 "httpMethod": "GET",
446 "id": "logging.projects.logServices.indexes. list",
447 "parameterOrder": [
448 "projectsId",
449 "logServicesId"
450 ],
451 "parameters": {
452 "projectsId": {
453 "description": "Part of `serviceName `. A log service resource of the form `/projects/*/logServices/*`. The service i ndexes of the log service are returned. Example: `\"/projects/myProj/logServices /appengine.googleapis.com\"`.",
454 "location": "path",
455 "required": true,
456 "type": "string"
457 },
458 "logServicesId": {
459 "description": "Part of `serviceName `. See documentation of `projectsId`.",
460 "location": "path",
461 "required": true,
462 "type": "string"
463 },
464 "indexPrefix": {
465 "description": "Restricts the indexe s returned to be those with a specified prefix. The prefix has the form `\"/labe l_value/label_value/...\"`, in order corresponding to the [`LogService indexKeys `][google.logging.v1.LogService.index_keys]. Non-empty prefixes must begin with `/` . Example prefixes: + `\"/myModule/\"` retrieves App Engine versions associa ted with `myModule`. The trailing slash terminates the value. + `\"/myModule\"` retrieves App Engine modules with names beginning with `myModule`. + `\"\"` retr ieves all indexes.",
466 "location": "query",
467 "type": "string"
468 },
469 "depth": {
470 "description": "A limit to the numbe r of levels of the index hierarchy that are expanded. If `depth` is 0, it defaul ts to the level specified by the prefix field (the number of slash separators). The default empty prefix implies a `depth` of 1. It is an error for `depth` to b e any non-zero value less than the number of components in `indexPrefix`.",
471 "format": "int32",
472 "location": "query",
473 "type": "integer"
474 },
475 "log": {
476 "description": "A log resource like `/projects/project_id/logs/log_name`, identifying the log for which to list serv ice indexes.",
477 "location": "query",
478 "type": "string"
479 },
480 "pageSize": {
481 "description": "The maximum number o f log service index resources to return in one operation.",
482 "format": "int32",
483 "location": "query",
484 "type": "integer"
485 },
486 "pageToken": {
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.",
488 "location": "query",
489 "type": "string"
490 }
491 },
492 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/indexes",
493 "response": {
494 "$ref": "ListLogServiceIndexesResponse"
495 },
496 "scopes": [
497 "https://www.googleapis.com/auth/cloud-p latform"
498 ]
499 }
500 }
501 },
502 "sinks": {
503 "methods": {
504 "list": {
505 "description": "Lists log service sinks asso ciated with the specified service.",
506 "httpMethod": "GET",
507 "id": "logging.projects.logServices.sinks.li st",
508 "parameterOrder": [
509 "projectsId",
510 "logServicesId"
511 ],
512 "parameters": {
513 "projectsId": {
514 "description": "Part of `serviceName `. The name of the service for which to list sinks.",
515 "location": "path",
516 "required": true,
517 "type": "string"
518 },
519 "logServicesId": {
520 "description": "Part of `serviceName `. See documentation of `projectsId`.",
521 "location": "path",
522 "required": true,
523 "type": "string"
524 }
525 },
526 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks",
527 "response": {
528 "$ref": "ListLogServiceSinksResponse"
529 },
530 "scopes": [
531 "https://www.googleapis.com/auth/cloud-p latform"
532 ]
533 },
534 "get": {
535 "description": "Gets the specified log servi ce sink resource.",
536 "httpMethod": "GET",
537 "id": "logging.projects.logServices.sinks.ge t",
538 "parameterOrder": [
539 "projectsId",
540 "logServicesId",
541 "sinksId"
542 ],
543 "parameters": {
544 "projectsId": {
545 "description": "Part of `sinkName`. The name of the sink to return.",
546 "location": "path",
547 "required": true,
548 "type": "string"
549 },
550 "logServicesId": {
551 "description": "Part of `sinkName`. See documentation of `projectsId`.",
552 "location": "path",
553 "required": true,
554 "type": "string"
555 },
556 "sinksId": {
557 "description": "Part of `sinkName`. See documentation of `projectsId`.",
558 "location": "path",
559 "required": true,
560 "type": "string"
561 }
562 },
563 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}",
564 "response": {
565 "$ref": "LogSink"
566 },
567 "scopes": [
568 "https://www.googleapis.com/auth/cloud-p latform"
569 ]
570 },
571 "create": {
572 "description": "Creates the specified log se rvice sink resource.",
573 "httpMethod": "POST",
574 "id": "logging.projects.logServices.sinks.cr eate",
575 "parameterOrder": [
576 "projectsId",
577 "logServicesId"
578 ],
579 "parameters": {
580 "projectsId": {
581 "description": "Part of `serviceName `. The name of the service in which to create a sink.",
582 "location": "path",
583 "required": true,
584 "type": "string"
585 },
586 "logServicesId": {
587 "description": "Part of `serviceName `. See documentation of `projectsId`.",
588 "location": "path",
589 "required": true,
590 "type": "string"
591 }
592 },
593 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks",
594 "request": {
595 "$ref": "LogSink"
596 },
597 "response": {
598 "$ref": "LogSink"
599 },
600 "scopes": [
601 "https://www.googleapis.com/auth/cloud-p latform"
602 ]
603 },
604 "update": {
605 "description": "Creates or update the specif ied log service sink resource.",
606 "httpMethod": "PUT",
607 "id": "logging.projects.logServices.sinks.up date",
608 "parameterOrder": [
609 "projectsId",
610 "logServicesId",
611 "sinksId"
612 ],
613 "parameters": {
614 "projectsId": {
615 "description": "Part of `sinkName`. The name of the sink to update.",
616 "location": "path",
617 "required": true,
618 "type": "string"
619 },
620 "logServicesId": {
621 "description": "Part of `sinkName`. See documentation of `projectsId`.",
622 "location": "path",
623 "required": true,
624 "type": "string"
625 },
626 "sinksId": {
627 "description": "Part of `sinkName`. See documentation of `projectsId`.",
628 "location": "path",
629 "required": true,
630 "type": "string"
631 }
632 },
633 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}",
634 "request": {
635 "$ref": "LogSink"
636 },
637 "response": {
638 "$ref": "LogSink"
639 },
640 "scopes": [
641 "https://www.googleapis.com/auth/cloud-p latform"
642 ]
643 },
644 "delete": {
645 "description": "Deletes the specified log se rvice sink.",
646 "httpMethod": "DELETE",
647 "id": "logging.projects.logServices.sinks.de lete",
648 "parameterOrder": [
649 "projectsId",
650 "logServicesId",
651 "sinksId"
652 ],
653 "parameters": {
654 "projectsId": {
655 "description": "Part of `sinkName`. The name of the sink to delete.",
656 "location": "path",
657 "required": true,
658 "type": "string"
659 },
660 "logServicesId": {
661 "description": "Part of `sinkName`. See documentation of `projectsId`.",
662 "location": "path",
663 "required": true,
664 "type": "string"
665 },
666 "sinksId": {
667 "description": "Part of `sinkName`. See documentation of `projectsId`.",
668 "location": "path",
669 "required": true,
670 "type": "string"
671 }
672 },
673 "path": "v1beta3/projects/{projectsId}/logSe rvices/{logServicesId}/sinks/{sinksId}",
674 "response": {
675 "$ref": "Empty"
676 },
677 "scopes": [
678 "https://www.googleapis.com/auth/cloud-p latform"
679 ]
680 }
681 }
682 }
683 }
684 }
685 }
686 }
687 },
688 "revision": "20150326",
689 "rootUrl": "https://logging.googleapis.com/",
690 "schemas": {
691 "ListLogsResponse": {
692 "description": "Result returned from ListLogs.",
693 "id": "ListLogsResponse",
694 "properties": {
695 "logs": {
696 "description": "A list of log resources.",
697 "items": {
698 "$ref": "Log"
699 },
700 "type": "array"
701 },
702 "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.",
704 "type": "string"
705 }
706 },
707 "type": "object"
708 },
709 "Log": {
710 "description": "A log object.",
711 "id": "Log",
712 "properties": {
713 "name": {
714 "description": "REQUIRED: The log's name name. Example: `\"c ompute.googleapis.com/activity_log\"`.",
715 "type": "string"
716 },
717 "displayName": {
718 "description": "Name used when displaying the log to the use r (for example, in a UI). Example: `\"activity_log\"`",
719 "type": "string"
720 },
721 "payloadType": {
722 "description": "Type URL describing the expected payload typ e for the log.",
723 "type": "string"
724 }
725 },
726 "type": "object"
727 },
728 "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); }",
730 "id": "Empty",
731 "type": "object"
732 },
733 "WriteLogEntriesRequest": {
734 "description": "The parameters to WriteLogEntries.",
735 "id": "WriteLogEntriesRequest",
736 "properties": {
737 "commonLabels": {
738 "additionalProperties": {
739 "type": "string"
740 },
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`.",
742 "type": "object"
743 },
744 "entries": {
745 "description": "Log entries to insert.",
746 "items": {
747 "$ref": "LogEntry"
748 },
749 "type": "array"
750 }
751 },
752 "type": "object"
753 },
754 "LogEntry": {
755 "description": "An individual entry in a log.",
756 "id": "LogEntry",
757 "properties": {
758 "metadata": {
759 "$ref": "LogEntryMetadata",
760 "description": "Information about the log entry."
761 },
762 "protoPayload": {
763 "additionalProperties": {
764 "description": "Properties of the object. Contains field @ype with type URL.",
765 "type": "any"
766 },
767 "description": "The log entry payload, represented as a prot ocol buffer that is expressed as a JSON object. You can only pass `protoPayload` values that belong to a set of approved types.",
768 "type": "object"
769 },
770 "textPayload": {
771 "description": "The log entry payload, represented as a text string.",
772 "type": "string"
773 },
774 "structPayload": {
775 "additionalProperties": {
776 "description": "Properties of the object.",
777 "type": "any"
778 },
779 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
780 "type": "object"
781 },
782 "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.",
784 "type": "string"
785 },
786 "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.",
788 "type": "string"
789 }
790 },
791 "type": "object"
792 },
793 "LogEntryMetadata": {
794 "description": "Additional data that is associated with a log entry, set by the service creating the log entry.",
795 "id": "LogEntryMetadata",
796 "properties": {
797 "timestamp": {
798 "description": "The time the event described by the log entr y occurred. Timestamps must be later than January 1, 1970.",
799 "type": "string"
800 },
801 "severity": {
802 "description": "The severity of the log entry.",
803 "enum": [
804 "DEFAULT",
805 "DEBUG",
806 "INFO",
807 "NOTICE",
808 "WARNING",
809 "ERROR",
810 "CRITICAL",
811 "ALERT",
812 "EMERGENCY"
813 ],
814 "type": "string"
815 },
816 "projectId": {
817 "description": "The project ID of the Google Cloud Platform service that created the log entry.",
818 "type": "string"
819 },
820 "serviceName": {
821 "description": "The API name of the Google Cloud Platform se rvice that created the log entry. For example, `\"compute.googleapis.com\"`.",
822 "type": "string"
823 },
824 "region": {
825 "description": "The region name of the Google Cloud Platform service that created the log entry. For example, `\"us-central1\"`.",
826 "type": "string"
827 },
828 "zone": {
829 "description": "The zone of the Google Cloud Platform servic e that created the log entry. For example, `\"us-central1-a\"`.",
830 "type": "string"
831 },
832 "userId": {
833 "description": "The fully-qualified email address of the aut henticated user that performed or requested the action represented by the log en try. If the log entry does not apply to an action taken by an authenticated user , then the field should be empty.",
834 "type": "string"
835 },
836 "labels": {
837 "additionalProperties": {
838 "type": "string"
839 },
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\",",
841 "type": "object"
842 }
843 },
844 "type": "object"
845 },
846 "WriteLogEntriesResponse": {
847 "description": "Result returned from WriteLogEntries. empty",
848 "id": "WriteLogEntriesResponse",
849 "type": "object"
850 },
851 "ListLogServicesResponse": {
852 "description": "Result returned from `ListLogServicesRequest`.",
853 "id": "ListLogServicesResponse",
854 "properties": {
855 "logServices": {
856 "description": "A list of log services.",
857 "items": {
858 "$ref": "LogService"
859 },
860 "type": "array"
861 },
862 "nextPageToken": {
863 "description": "If there are more results, then `nextPageTok en` is returned in the response. To get the next batch of services, use the valu e of `nextPageToken` as `pageToken` in the next call of `ListLogServices`. If `n extPageToken` is empty, then there are no more results.",
864 "type": "string"
865 }
866 },
867 "type": "object"
868 },
869 "LogService": {
870 "description": "A log service object.",
871 "id": "LogService",
872 "properties": {
873 "name": {
874 "description": "The service's name.",
875 "type": "string"
876 },
877 "indexKeys": {
878 "description": "Label keys used when labeling log entries fo r this service. The order of the keys is significant, with higher priority keys coming earlier in the list.",
879 "items": {
880 "type": "string"
881 },
882 "type": "array"
883 }
884 },
885 "type": "object"
886 },
887 "ListLogServiceIndexesResponse": {
888 "description": "Result returned from ListLogServiceIndexesRequest.",
889 "id": "ListLogServiceIndexesResponse",
890 "properties": {
891 "serviceIndexPrefixes": {
892 "description": "A list of log service index prefixes.",
893 "items": {
894 "type": "string"
895 },
896 "type": "array"
897 },
898 "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.",
900 "type": "string"
901 }
902 },
903 "type": "object"
904 },
905 "ListLogSinksResponse": {
906 "description": "Result returned from `ListLogSinks`.",
907 "id": "ListLogSinksResponse",
908 "properties": {
909 "sinks": {
910 "description": "The requested log sinks. If any of the retur ned `LogSink` objects have an empty `destination` field, then call `logServices. sinks.get` to retrieve the complete `LogSink` object.",
911 "items": {
912 "$ref": "LogSink"
913 },
914 "type": "array"
915 }
916 },
917 "type": "object"
918 },
919 "LogSink": {
920 "description": "An object that describes where a log may be written. ",
921 "id": "LogSink",
922 "properties": {
923 "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.",
925 "type": "string"
926 },
927 "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.",
929 "type": "string"
930 },
931 "errors": {
932 "description": "_Output only._ All active errors found for t his sink.",
933 "items": {
934 "$ref": "LogError"
935 },
936 "type": "array"
937 }
938 },
939 "type": "object"
940 },
941 "LogError": {
942 "description": "A problem in a sink or the sink's configuration.",
943 "id": "LogError",
944 "properties": {
945 "resource": {
946 "description": "The resource associated with the error. It m ay be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset .",
947 "type": "string"
948 },
949 "status": {
950 "$ref": "Status",
951 "description": "The description of the last error observed."
952 },
953 "timeNanos": {
954 "description": "The last time the error was observed, in nan oseconds since the Unix epoch.",
955 "format": "int64",
956 "type": "string"
957 }
958 },
959 "type": "object"
960 },
961 "Status": {
962 "description": "Represents the RPC error status for Google APIs. See http://go/errormodel for details.",
963 "id": "Status",
964 "properties": {
965 "code": {
966 "description": "The status code, which should be an enum val ue of [google.rpc.Code][].",
967 "format": "int32",
968 "type": "integer"
969 },
970 "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.",
972 "type": "string"
973 },
974 "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.",
976 "items": {
977 "additionalProperties": {
978 "description": "Properties of the object. Contains f ield @ype with type URL.",
979 "type": "any"
980 },
981 "type": "object"
982 },
983 "type": "array"
984 }
985 },
986 "type": "object"
987 },
988 "ListLogServiceSinksResponse": {
989 "description": "Result returned from `ListLogServiceSinks`.",
990 "id": "ListLogServiceSinksResponse",
991 "properties": {
992 "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.",
994 "items": {
995 "$ref": "LogSink"
996 },
997 "type": "array"
998 }
999 },
1000 "type": "object"
1001 }
1002 },
1003 "servicePath": "",
1004 "title": "Google Cloud Logging API",
1005 "version": "v1beta3"
1006 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/genomics__v1beta2.json ('k') | discovery/googleapis_beta/pubsub__v1beta2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698