xref: /aosp_15_r20/external/googleapis/google/api/apikeys/v2/apikeys_v2.yaml (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1type: google.api.Service
2config_version: 3
3name: apikeys.googleapis.com
4title: API Keys API
5
6apis:
7- name: google.api.apikeys.v2.ApiKeys
8- name: google.longrunning.Operations
9
10documentation:
11  summary: Manages the API keys associated with developer projects.
12
13backend:
14  rules:
15  - selector: 'google.api.apikeys.v2.ApiKeys.*'
16    deadline: 120.0
17  - selector: google.longrunning.Operations.GetOperation
18    deadline: 120.0
19
20http:
21  rules:
22  - selector: google.longrunning.Operations.GetOperation
23    get: '/v2/{name=operations/*}'
24
25authentication:
26  rules:
27  - selector: 'google.api.apikeys.v2.ApiKeys.*'
28    oauth:
29      canonical_scopes: |-
30        https://www.googleapis.com/auth/cloud-platform
31  - selector: google.api.apikeys.v2.ApiKeys.GetKey
32    oauth:
33      canonical_scopes: |-
34        https://www.googleapis.com/auth/cloud-platform,
35        https://www.googleapis.com/auth/cloud-platform.read-only
36  - selector: google.api.apikeys.v2.ApiKeys.GetKeyString
37    oauth:
38      canonical_scopes: |-
39        https://www.googleapis.com/auth/cloud-platform,
40        https://www.googleapis.com/auth/cloud-platform.read-only
41  - selector: google.api.apikeys.v2.ApiKeys.ListKeys
42    oauth:
43      canonical_scopes: |-
44        https://www.googleapis.com/auth/cloud-platform,
45        https://www.googleapis.com/auth/cloud-platform.read-only
46  - selector: google.api.apikeys.v2.ApiKeys.LookupKey
47    oauth:
48      canonical_scopes: |-
49        https://www.googleapis.com/auth/cloud-platform,
50        https://www.googleapis.com/auth/cloud-platform.read-only
51  - selector: google.longrunning.Operations.GetOperation
52    oauth:
53      canonical_scopes: |-
54        https://www.googleapis.com/auth/cloud-platform,
55        https://www.googleapis.com/auth/cloud-platform.read-only
56