• 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.networkconnectivity.v1alpha1.HubService
8
9types:
10- name: google.cloud.networkconnectivity.v1alpha1.OperationMetadata
11
12documentation:
13  summary: |-
14    The Network Connectivity API will be home to various services which provide
15    information pertaining to network connectivity.
16  overview: |-
17    The Network Connectivity API will be home to various services which
18    provide information pertaining to network connectivity. This includes
19    information like interconnects, VPNs, VPCs, routing information, ip
20    address details, etc. This information will help customers verify their
21    network configurations and helps them to discover misconfigurations,
22    inconsistencies, etc.
23  rules:
24  - selector: google.cloud.location.Locations.GetLocation
25    description: Gets information about a location.
26
27  - selector: google.cloud.location.Locations.ListLocations
28    description: Lists information about the supported locations for this service.
29
30  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
31    description: |-
32      Gets the access control policy for a resource. Returns an empty policy
33      if the resource exists and does not have a policy set.
34
35  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
36    description: |-
37      Sets the access control policy on the specified resource. Replaces
38      any existing policy.
39
40      Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
41      errors.
42
43  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
44    description: |-
45      Returns permissions that a caller has on the specified resource. If the
46      resource does not exist, this will return an empty set of
47      permissions, not a `NOT_FOUND` error.
48
49      Note: This operation is designed to be used for building
50      permission-aware UIs and command-line tools, not for authorization
51      checking. This operation may "fail open" without warning.
52
53backend:
54  rules:
55  - selector: google.cloud.location.Locations.GetLocation
56    deadline: 60.0
57  - selector: google.cloud.location.Locations.ListLocations
58    deadline: 60.0
59  - selector: 'google.cloud.networkconnectivity.v1alpha1.HubService.*'
60    deadline: 60.0
61  - selector: 'google.iam.v1.IAMPolicy.*'
62    deadline: 60.0
63  - selector: 'google.longrunning.Operations.*'
64    deadline: 60.0
65
66http:
67  rules:
68  - selector: google.cloud.location.Locations.GetLocation
69    get: '/v1alpha1/{name=projects/*/locations/*}'
70  - selector: google.cloud.location.Locations.ListLocations
71    get: '/v1alpha1/{name=projects/*}/locations'
72  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
73    get: '/v1alpha1/{resource=projects/*/locations/global/hubs/*}:getIamPolicy'
74    additional_bindings:
75    - get: '/v1alpha1/{resource=projects/*/locations/*/spokes/*}:getIamPolicy'
76  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
77    post: '/v1alpha1/{resource=projects/*/locations/global/hubs/*}:setIamPolicy'
78    body: '*'
79    additional_bindings:
80    - post: '/v1alpha1/{resource=projects/*/locations/*/spokes/*}:setIamPolicy'
81      body: '*'
82  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
83    post: '/v1alpha1/{resource=projects/*/locations/global/hubs/*}:testIamPermissions'
84    body: '*'
85    additional_bindings:
86    - post: '/v1alpha1/{resource=projects/*/locations/*/spokes/*}:testIamPermissions'
87      body: '*'
88  - selector: google.longrunning.Operations.CancelOperation
89    post: '/v1alpha1/{name=projects/*/locations/*/operations/*}:cancel'
90    body: '*'
91  - selector: google.longrunning.Operations.DeleteOperation
92    delete: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
93  - selector: google.longrunning.Operations.GetOperation
94    get: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
95  - selector: google.longrunning.Operations.ListOperations
96    get: '/v1alpha1/{name=projects/*/locations/*}/operations'
97
98authentication:
99  rules:
100  - selector: google.cloud.location.Locations.GetLocation
101    oauth:
102      canonical_scopes: |-
103        https://www.googleapis.com/auth/cloud-platform
104  - selector: google.cloud.location.Locations.ListLocations
105    oauth:
106      canonical_scopes: |-
107        https://www.googleapis.com/auth/cloud-platform
108  - selector: 'google.cloud.networkconnectivity.v1alpha1.HubService.*'
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