• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type: google.api.Service
2config_version: 3
3name: gkehub.googleapis.com
4title: GKE Hub
5
6apis:
7- name: google.cloud.gkehub.v1beta.GkeHub
8
9types:
10- name: google.cloud.gkehub.v1beta.OperationMetadata
11
12documentation:
13  rules:
14  - selector: google.cloud.location.Locations.GetLocation
15    description: Gets information about a location.
16
17  - selector: google.cloud.location.Locations.ListLocations
18    description: Lists information about the supported locations for this service.
19
20  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
21    description: |-
22      Gets the access control policy for a resource. Returns an empty policy
23      if the resource exists and does not have a policy set.
24
25  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
26    description: |-
27      Sets the access control policy on the specified resource. Replaces
28      any existing policy.
29
30      Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
31      errors.
32
33  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
34    description: |-
35      Returns permissions that a caller has on the specified resource. If the
36      resource does not exist, this will return an empty set of
37      permissions, not a `NOT_FOUND` error.
38
39      Note: This operation is designed to be used for building
40      permission-aware UIs and command-line tools, not for authorization
41      checking. This operation may "fail open" without warning.
42
43backend:
44  rules:
45  - selector: 'google.cloud.gkehub.v1beta.GkeHub.*'
46    deadline: 60.0
47  - selector: google.cloud.location.Locations.GetLocation
48    deadline: 60.0
49  - selector: google.cloud.location.Locations.ListLocations
50    deadline: 60.0
51  - selector: 'google.iam.v1.IAMPolicy.*'
52    deadline: 60.0
53  - selector: 'google.longrunning.Operations.*'
54    deadline: 60.0
55  - selector: google.longrunning.Operations.GetOperation
56    deadline: 5.0
57
58http:
59  rules:
60  - selector: google.cloud.location.Locations.GetLocation
61    get: '/v1beta/{name=projects/*/locations/*}'
62  - selector: google.cloud.location.Locations.ListLocations
63    get: '/v1beta/{name=projects/*}/locations'
64  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
65    get: '/v1beta/{resource=projects/*/locations/*/memberships/*}:getIamPolicy'
66    additional_bindings:
67    - get: '/v1beta/{resource=projects/*/locations/*/features/*}:getIamPolicy'
68  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
69    post: '/v1beta/{resource=projects/*/locations/*/memberships/*}:setIamPolicy'
70    body: '*'
71    additional_bindings:
72    - post: '/v1beta/{resource=projects/*/locations/*/features/*}:setIamPolicy'
73      body: '*'
74  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
75    post: '/v1beta/{resource=projects/*/locations/*/memberships/*}:testIamPermissions'
76    body: '*'
77    additional_bindings:
78    - post: '/v1beta/{resource=projects/*/locations/*/features/*}:testIamPermissions'
79      body: '*'
80  - selector: google.longrunning.Operations.CancelOperation
81    post: '/v1beta/{name=projects/*/locations/*/operations/*}:cancel'
82    body: '*'
83  - selector: google.longrunning.Operations.DeleteOperation
84    delete: '/v1beta/{name=projects/*/locations/*/operations/*}'
85  - selector: google.longrunning.Operations.GetOperation
86    get: '/v1beta/{name=projects/*/locations/*/operations/*}'
87  - selector: google.longrunning.Operations.ListOperations
88    get: '/v1beta/{name=projects/*/locations/*}/operations'
89
90authentication:
91  rules:
92  - selector: 'google.cloud.gkehub.v1beta.GkeHub.*'
93    oauth:
94      canonical_scopes: |-
95        https://www.googleapis.com/auth/cloud-platform
96  - selector: google.cloud.location.Locations.GetLocation
97    oauth:
98      canonical_scopes: |-
99        https://www.googleapis.com/auth/cloud-platform
100  - selector: google.cloud.location.Locations.ListLocations
101    oauth:
102      canonical_scopes: |-
103        https://www.googleapis.com/auth/cloud-platform
104  - selector: 'google.iam.v1.IAMPolicy.*'
105    oauth:
106      canonical_scopes: |-
107        https://www.googleapis.com/auth/cloud-platform
108  - selector: 'google.longrunning.Operations.*'
109    oauth:
110      canonical_scopes: |-
111        https://www.googleapis.com/auth/cloud-platform
112