Method: accessPolicies.servicePerimeters.create

Creates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered.

HTTP request

POST https://accesscontextmanager.googleapis.com/v1/{parent=accessPolicies/*}/servicePerimeters

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name for the access policy which owns this Service Perimeter.

Format: accessPolicies/{policy_id}

Request body

The request body contains an instance of ServicePerimeter.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.