Network Services API


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 document:

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:


REST Resource: v1beta1.projects.locations

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

REST Resource: v1beta1.projects.locations.endpointPolicies

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

REST Resource: v1beta1.projects.locations.operations

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