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