xref: /aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/test/resources/logging.yaml (revision 882aa7c72c3cd3b66e72a261bdd69b93f7de7670)
1type: google.api.Service
2config_version: 3
3name: logging.googleapis.com
4title: Cloud Logging API
5
6apis:
7- name: google.logging.v2.ConfigServiceV2
8- name: google.logging.v2.LoggingServiceV2
9- name: google.logging.v2.MetricsServiceV2
10
11documentation:
12  summary: |-
13    Writes log entries and manages your Cloud Logging configuration. The table
14    entries below are presented in alphabetical order, not in order of common
15    use. For explanations of the concepts found in the table entries, read the
16    documentation at https://cloud.google.com/logging/docs.
17  overview: '# Introduction
18
19The Cloud Logging service.'
20
21backend:
22  rules:
23  - selector: 'google.logging.v2.ConfigServiceV2.*'
24    deadline: 60.0
25  - selector: 'google.logging.v2.LoggingServiceV2.*'
26    deadline: 60.0
27  - selector: google.logging.v2.LoggingServiceV2.ListLogEntries
28    deadline: 10.0
29  - selector: 'google.logging.v2.MetricsServiceV2.*'
30    deadline: 60.0
31
32authentication:
33  rules:
34  - selector: 'google.logging.v2.ConfigServiceV2.*'
35    oauth:
36      canonical_scopes: |-
37        https://www.googleapis.com/auth/cloud-platform,
38        https://www.googleapis.com/auth/logging.admin
39  - selector: google.logging.v2.ConfigServiceV2.GetBucket
40    oauth:
41      canonical_scopes: |-
42        https://www.googleapis.com/auth/cloud-platform,
43        https://www.googleapis.com/auth/cloud-platform.read-only,
44        https://www.googleapis.com/auth/logging.admin,
45        https://www.googleapis.com/auth/logging.read
46  - selector: google.logging.v2.ConfigServiceV2.GetCmekSettings
47    oauth:
48      canonical_scopes: |-
49        https://www.googleapis.com/auth/cloud-platform,
50        https://www.googleapis.com/auth/cloud-platform.read-only,
51        https://www.googleapis.com/auth/logging.admin,
52        https://www.googleapis.com/auth/logging.read
53  - selector: google.logging.v2.ConfigServiceV2.GetExclusion
54    oauth:
55      canonical_scopes: |-
56        https://www.googleapis.com/auth/cloud-platform,
57        https://www.googleapis.com/auth/cloud-platform.read-only,
58        https://www.googleapis.com/auth/logging.admin,
59        https://www.googleapis.com/auth/logging.read
60  - selector: google.logging.v2.ConfigServiceV2.GetSink
61    oauth:
62      canonical_scopes: |-
63        https://www.googleapis.com/auth/cloud-platform,
64        https://www.googleapis.com/auth/cloud-platform.read-only,
65        https://www.googleapis.com/auth/logging.admin,
66        https://www.googleapis.com/auth/logging.read
67  - selector: google.logging.v2.ConfigServiceV2.ListBuckets
68    oauth:
69      canonical_scopes: |-
70        https://www.googleapis.com/auth/cloud-platform,
71        https://www.googleapis.com/auth/cloud-platform.read-only,
72        https://www.googleapis.com/auth/logging.admin,
73        https://www.googleapis.com/auth/logging.read
74  - selector: google.logging.v2.ConfigServiceV2.ListExclusions
75    oauth:
76      canonical_scopes: |-
77        https://www.googleapis.com/auth/cloud-platform,
78        https://www.googleapis.com/auth/cloud-platform.read-only,
79        https://www.googleapis.com/auth/logging.admin,
80        https://www.googleapis.com/auth/logging.read
81  - selector: google.logging.v2.ConfigServiceV2.ListSinks
82    oauth:
83      canonical_scopes: |-
84        https://www.googleapis.com/auth/cloud-platform,
85        https://www.googleapis.com/auth/cloud-platform.read-only,
86        https://www.googleapis.com/auth/logging.admin,
87        https://www.googleapis.com/auth/logging.read
88  - selector: 'google.logging.v2.LoggingServiceV2.*'
89    oauth:
90      canonical_scopes: |-
91        https://www.googleapis.com/auth/cloud-platform,
92        https://www.googleapis.com/auth/cloud-platform.read-only,
93        https://www.googleapis.com/auth/logging.admin,
94        https://www.googleapis.com/auth/logging.read
95  - selector: google.logging.v2.LoggingServiceV2.DeleteLog
96    oauth:
97      canonical_scopes: |-
98        https://www.googleapis.com/auth/cloud-platform,
99        https://www.googleapis.com/auth/logging.admin
100  - selector: google.logging.v2.LoggingServiceV2.WriteLogEntries
101    oauth:
102      canonical_scopes: |-
103        https://www.googleapis.com/auth/cloud-platform,
104        https://www.googleapis.com/auth/logging.admin,
105        https://www.googleapis.com/auth/logging.write
106  - selector: 'google.logging.v2.MetricsServiceV2.*'
107    oauth:
108      canonical_scopes: |-
109        https://www.googleapis.com/auth/cloud-platform,
110        https://www.googleapis.com/auth/logging.admin,
111        https://www.googleapis.com/auth/logging.write
112  - selector: google.logging.v2.MetricsServiceV2.GetLogMetric
113    oauth:
114      canonical_scopes: |-
115        https://www.googleapis.com/auth/cloud-platform,
116        https://www.googleapis.com/auth/cloud-platform.read-only,
117        https://www.googleapis.com/auth/logging.admin,
118        https://www.googleapis.com/auth/logging.read
119  - selector: google.logging.v2.MetricsServiceV2.ListLogMetrics
120    oauth:
121      canonical_scopes: |-
122        https://www.googleapis.com/auth/cloud-platform,
123        https://www.googleapis.com/auth/cloud-platform.read-only,
124        https://www.googleapis.com/auth/logging.admin,
125        https://www.googleapis.com/auth/logging.read
126
127