xref: /aosp_15_r20/external/googleapis/google/logging/v2/logging_v2.yaml (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
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- name: google.longrunning.Operations
11
12types:
13- name: google.logging.v2.BucketMetadata
14- name: google.logging.v2.CopyLogEntriesMetadata
15- name: google.logging.v2.CopyLogEntriesResponse
16- name: google.logging.v2.LinkMetadata
17- name: google.logging.v2.LocationMetadata
18
19documentation:
20  summary: Writes log entries and manages your Cloud Logging configuration.
21  overview: |-
22    # Introduction
23
24    The Cloud Logging service.
25
26backend:
27  rules:
28  - selector: 'google.logging.v2.ConfigServiceV2.*'
29    deadline: 60.0
30  - selector: google.logging.v2.ConfigServiceV2.CreateBucket
31    deadline: 600.0
32  - selector: google.logging.v2.ConfigServiceV2.UpdateBucket
33    deadline: 600.0
34  - selector: 'google.logging.v2.LoggingServiceV2.*'
35    deadline: 60.0
36  - selector: google.logging.v2.LoggingServiceV2.ListLogEntries
37    deadline: 10.0
38  - selector: google.logging.v2.LoggingServiceV2.TailLogEntries
39    deadline: 3600.0
40  - selector: 'google.logging.v2.MetricsServiceV2.*'
41    deadline: 60.0
42  - selector: 'google.longrunning.Operations.*'
43    deadline: 60.0
44
45http:
46  rules:
47  - selector: google.longrunning.Operations.CancelOperation
48    post: '/v2/{name=*/*/locations/*/operations/*}:cancel'
49    body: '*'
50    additional_bindings:
51    - post: '/v2/{name=projects/*/locations/*/operations/*}:cancel'
52      body: '*'
53    - post: '/v2/{name=organizations/*/locations/*/operations/*}:cancel'
54      body: '*'
55    - post: '/v2/{name=folders/*/locations/*/operations/*}:cancel'
56      body: '*'
57    - post: '/v2/{name=billingAccounts/*/locations/*/operations/*}:cancel'
58      body: '*'
59  - selector: google.longrunning.Operations.GetOperation
60    get: '/v2/{name=*/*/locations/*/operations/*}'
61    additional_bindings:
62    - get: '/v2/{name=projects/*/locations/*/operations/*}'
63    - get: '/v2/{name=organizations/*/locations/*/operations/*}'
64    - get: '/v2/{name=folders/*/locations/*/operations/*}'
65    - get: '/v2/{name=billingAccounts/*/locations/*/operations/*}'
66  - selector: google.longrunning.Operations.ListOperations
67    get: '/v2/{name=*/*/locations/*}/operations'
68    additional_bindings:
69    - get: '/v2/{name=projects/*/locations/*}/operations'
70    - get: '/v2/{name=organizations/*/locations/*}/operations'
71    - get: '/v2/{name=folders/*/locations/*}/operations'
72    - get: '/v2/{name=billingAccounts/*/locations/*}/operations'
73
74authentication:
75  rules:
76  - selector: 'google.logging.v2.ConfigServiceV2.*'
77    oauth:
78      canonical_scopes: |-
79        https://www.googleapis.com/auth/cloud-platform,
80        https://www.googleapis.com/auth/logging.admin
81  - selector: google.logging.v2.ConfigServiceV2.GetBucket
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.ConfigServiceV2.GetCmekSettings
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.ConfigServiceV2.GetExclusion
96    oauth:
97      canonical_scopes: |-
98        https://www.googleapis.com/auth/cloud-platform,
99        https://www.googleapis.com/auth/cloud-platform.read-only,
100        https://www.googleapis.com/auth/logging.admin,
101        https://www.googleapis.com/auth/logging.read
102  - selector: google.logging.v2.ConfigServiceV2.GetLink
103    oauth:
104      canonical_scopes: |-
105        https://www.googleapis.com/auth/cloud-platform,
106        https://www.googleapis.com/auth/cloud-platform.read-only,
107        https://www.googleapis.com/auth/logging.admin,
108        https://www.googleapis.com/auth/logging.read
109  - selector: google.logging.v2.ConfigServiceV2.GetSettings
110    oauth:
111      canonical_scopes: |-
112        https://www.googleapis.com/auth/cloud-platform,
113        https://www.googleapis.com/auth/cloud-platform.read-only,
114        https://www.googleapis.com/auth/logging.admin,
115        https://www.googleapis.com/auth/logging.read
116  - selector: google.logging.v2.ConfigServiceV2.GetSink
117    oauth:
118      canonical_scopes: |-
119        https://www.googleapis.com/auth/cloud-platform,
120        https://www.googleapis.com/auth/cloud-platform.read-only,
121        https://www.googleapis.com/auth/logging.admin,
122        https://www.googleapis.com/auth/logging.read
123  - selector: google.logging.v2.ConfigServiceV2.GetView
124    oauth:
125      canonical_scopes: |-
126        https://www.googleapis.com/auth/cloud-platform,
127        https://www.googleapis.com/auth/cloud-platform.read-only,
128        https://www.googleapis.com/auth/logging.admin,
129        https://www.googleapis.com/auth/logging.read
130  - selector: google.logging.v2.ConfigServiceV2.ListBuckets
131    oauth:
132      canonical_scopes: |-
133        https://www.googleapis.com/auth/cloud-platform,
134        https://www.googleapis.com/auth/cloud-platform.read-only,
135        https://www.googleapis.com/auth/logging.admin,
136        https://www.googleapis.com/auth/logging.read
137  - selector: google.logging.v2.ConfigServiceV2.ListExclusions
138    oauth:
139      canonical_scopes: |-
140        https://www.googleapis.com/auth/cloud-platform,
141        https://www.googleapis.com/auth/cloud-platform.read-only,
142        https://www.googleapis.com/auth/logging.admin,
143        https://www.googleapis.com/auth/logging.read
144  - selector: google.logging.v2.ConfigServiceV2.ListLinks
145    oauth:
146      canonical_scopes: |-
147        https://www.googleapis.com/auth/cloud-platform,
148        https://www.googleapis.com/auth/cloud-platform.read-only,
149        https://www.googleapis.com/auth/logging.admin,
150        https://www.googleapis.com/auth/logging.read
151  - selector: google.logging.v2.ConfigServiceV2.ListSinks
152    oauth:
153      canonical_scopes: |-
154        https://www.googleapis.com/auth/cloud-platform,
155        https://www.googleapis.com/auth/cloud-platform.read-only,
156        https://www.googleapis.com/auth/logging.admin,
157        https://www.googleapis.com/auth/logging.read
158  - selector: google.logging.v2.ConfigServiceV2.ListViews
159    oauth:
160      canonical_scopes: |-
161        https://www.googleapis.com/auth/cloud-platform,
162        https://www.googleapis.com/auth/cloud-platform.read-only,
163        https://www.googleapis.com/auth/logging.admin,
164        https://www.googleapis.com/auth/logging.read
165  - selector: 'google.logging.v2.LoggingServiceV2.*'
166    oauth:
167      canonical_scopes: |-
168        https://www.googleapis.com/auth/cloud-platform,
169        https://www.googleapis.com/auth/cloud-platform.read-only,
170        https://www.googleapis.com/auth/logging.admin,
171        https://www.googleapis.com/auth/logging.read
172  - selector: google.logging.v2.LoggingServiceV2.DeleteLog
173    oauth:
174      canonical_scopes: |-
175        https://www.googleapis.com/auth/cloud-platform,
176        https://www.googleapis.com/auth/logging.admin
177  - selector: google.logging.v2.LoggingServiceV2.WriteLogEntries
178    oauth:
179      canonical_scopes: |-
180        https://www.googleapis.com/auth/cloud-platform,
181        https://www.googleapis.com/auth/logging.admin,
182        https://www.googleapis.com/auth/logging.write
183  - selector: 'google.logging.v2.MetricsServiceV2.*'
184    oauth:
185      canonical_scopes: |-
186        https://www.googleapis.com/auth/cloud-platform,
187        https://www.googleapis.com/auth/logging.admin,
188        https://www.googleapis.com/auth/logging.write
189  - selector: google.logging.v2.MetricsServiceV2.GetLogMetric
190    oauth:
191      canonical_scopes: |-
192        https://www.googleapis.com/auth/cloud-platform,
193        https://www.googleapis.com/auth/cloud-platform.read-only,
194        https://www.googleapis.com/auth/logging.admin,
195        https://www.googleapis.com/auth/logging.read
196  - selector: google.logging.v2.MetricsServiceV2.ListLogMetrics
197    oauth:
198      canonical_scopes: |-
199        https://www.googleapis.com/auth/cloud-platform,
200        https://www.googleapis.com/auth/cloud-platform.read-only,
201        https://www.googleapis.com/auth/logging.admin,
202        https://www.googleapis.com/auth/logging.read
203  - selector: google.longrunning.Operations.CancelOperation
204    oauth:
205      canonical_scopes: |-
206        https://www.googleapis.com/auth/cloud-platform,
207        https://www.googleapis.com/auth/logging.admin
208  - selector: google.longrunning.Operations.GetOperation
209    oauth:
210      canonical_scopes: |-
211        https://www.googleapis.com/auth/cloud-platform,
212        https://www.googleapis.com/auth/cloud-platform.read-only,
213        https://www.googleapis.com/auth/logging.admin,
214        https://www.googleapis.com/auth/logging.read
215  - selector: google.longrunning.Operations.ListOperations
216    oauth:
217      canonical_scopes: |-
218        https://www.googleapis.com/auth/cloud-platform,
219        https://www.googleapis.com/auth/cloud-platform.read-only,
220        https://www.googleapis.com/auth/logging.admin,
221        https://www.googleapis.com/auth/logging.read
222
223publishing:
224  documentation_uri: https://cloud.google.com/logging/docs/
225