Network Connectivity API

The Network Connectivity API provides access to Network Connectivity Center.

Service: networkconnectivity.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://networkconnectivity.googleapis.com

REST Resource: v1alpha1.projects.locations

Methods
get GET /v1alpha1/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1alpha1/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1alpha1.projects.locations.global.hubs

Methods
create POST /v1alpha1/{parent=projects/*/locations/global}/hubs
Creates a new Hub in a given project and location.
delete DELETE /v1alpha1/{name=projects/*/locations/global/hubs/*}
Deletes a single Hub.
get GET /v1alpha1/{name=projects/*/locations/global/hubs/*}
Gets details of a single Hub.
getIamPolicy GET /v1alpha1/{resource=projects/*/locations/global/hubs/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1alpha1/{parent=projects/*/locations/global}/hubs
Lists Hubs in a given project and location.
patch PATCH /v1alpha1/{hub.name=projects/*/locations/global/hubs/*}
Updates the parameters of a single Hub.
setIamPolicy POST /v1alpha1/{resource=projects/*/locations/global/hubs/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1alpha1/{resource=projects/*/locations/global/hubs/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1alpha1.projects.locations.operations

Methods
cancel POST /v1alpha1/{name=projects/*/locations/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v1alpha1/{name=projects/*/locations/*/operations/*}
Deletes a long-running operation.
get GET /v1alpha1/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1alpha1/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1alpha1.projects.locations.spokes

Methods
create POST /v1alpha1/{parent=projects/*/locations/*}/spokes
Creates a new Spoke in a given project and location.
delete DELETE /v1alpha1/{name=projects/*/locations/*/spokes/*}
Deletes a single Spoke.
get GET /v1alpha1/{name=projects/*/locations/*/spokes/*}
Gets details of a single Spoke.
getIamPolicy GET /v1alpha1/{resource=projects/*/locations/*/spokes/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1alpha1/{parent=projects/*/locations/*}/spokes
Lists Spokes in a given project and location.
patch PATCH /v1alpha1/{spoke.name=projects/*/locations/*/spokes/*}
Updates the parameters of a single Spoke.
setIamPolicy POST /v1alpha1/{resource=projects/*/locations/*/spokes/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1alpha1/{resource=projects/*/locations/*/spokes/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.locations

Methods
get GET /v1/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1.projects.locations.global.hubs

Methods
create POST /v1/{parent=projects/*/locations/global}/hubs
Creates a new hub in the specified project.
delete DELETE /v1/{name=projects/*/locations/global/hubs/*}
Deletes the specified hub.
get GET /v1/{name=projects/*/locations/global/hubs/*}
Gets details about the specified hub.
getIamPolicy GET /v1/{resource=projects/*/locations/global/hubs/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{parent=projects/*/locations/global}/hubs
Lists hubs in a given project.
patch PATCH /v1/{hub.name=projects/*/locations/global/hubs/*}
Updates the description and/or labels of the specified hub.
setIamPolicy POST /v1/{resource=projects/*/locations/global/hubs/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource=projects/*/locations/global/hubs/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.locations.operations

Methods
cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v1/{name=projects/*/locations/*/operations/*}
Deletes a long-running operation.
get GET /v1/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1.projects.locations.spokes

Methods
create POST /v1/{parent=projects/*/locations/*}/spokes
Creates a spoke in the specified project and location.
delete DELETE /v1/{name=projects/*/locations/*/spokes/*}
Deletes the specified spoke.
get GET /v1/{name=projects/*/locations/*/spokes/*}
Gets details about the specified spoke.
getIamPolicy GET /v1/{resource=projects/*/locations/*/spokes/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{parent=projects/*/locations/*}/spokes
Lists the spokes in the specified project and location.
patch PATCH /v1/{spoke.name=projects/*/locations/*/spokes/*}
Updates the parameters of the specified spoke.
setIamPolicy POST /v1/{resource=projects/*/locations/*/spokes/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource=projects/*/locations/*/spokes/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.