xref: /aosp_15_r20/external/googleapis/google/cloud/tpu/v1/tpu_v1.yaml (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1type: google.api.Service
2config_version: 3
3name: tpu.googleapis.com
4title: Cloud TPU API
5
6apis:
7- name: google.cloud.location.Locations
8- name: google.cloud.tpu.v1.Tpu
9- name: google.longrunning.Operations
10
11types:
12- name: google.cloud.tpu.v1.OperationMetadata
13
14documentation:
15  summary: TPU API provides customers with access to Google TPU technology.
16  rules:
17  - selector: google.cloud.location.Locations.GetLocation
18    description: Gets information about a location.
19
20  - selector: google.cloud.location.Locations.ListLocations
21    description: Lists information about the supported locations for this service.
22
23http:
24  rules:
25  - selector: google.cloud.location.Locations.GetLocation
26    get: '/v1/{name=projects/*/locations/*}'
27  - selector: google.cloud.location.Locations.ListLocations
28    get: '/v1/{name=projects/*}/locations'
29  - selector: google.longrunning.Operations.CancelOperation
30    post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
31  - selector: google.longrunning.Operations.DeleteOperation
32    delete: '/v1/{name=projects/*/locations/*/operations/*}'
33  - selector: google.longrunning.Operations.GetOperation
34    get: '/v1/{name=projects/*/locations/*/operations/*}'
35  - selector: google.longrunning.Operations.ListOperations
36    get: '/v1/{name=projects/*/locations/*}/operations'
37
38authentication:
39  rules:
40  - selector: google.cloud.location.Locations.GetLocation
41    oauth:
42      canonical_scopes: |-
43        https://www.googleapis.com/auth/cloud-platform
44  - selector: google.cloud.location.Locations.ListLocations
45    oauth:
46      canonical_scopes: |-
47        https://www.googleapis.com/auth/cloud-platform
48  - selector: 'google.cloud.tpu.v1.Tpu.*'
49    oauth:
50      canonical_scopes: |-
51        https://www.googleapis.com/auth/cloud-platform
52  - selector: 'google.longrunning.Operations.*'
53    oauth:
54      canonical_scopes: |-
55        https://www.googleapis.com/auth/cloud-platform
56