Method: accessPolicies.patch

Stay organized with collections Save and categorize content based on your preferences.

Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

HTTP request

PATCH https://accesscontextmanager.googleapis.com/v1beta/{policy.name=accessPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
policy.name

string

Output only. Resource name of the AccessPolicy. Format: accessPolicies/{policy_id}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask to control which fields get updated. Must be non-empty.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AccessPolicy.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.