Method: organizations.locations.principalAccessBoundaryPolicies.patch

Updates a principal access boundary policy.

HTTP request

PATCH https://iam.googleapis.com/v3beta/{principalAccessBoundaryPolicy.name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
principalAccessBoundaryPolicy.name

string

Identifier. The resource name of the principal access boundary policy.

The following format is supported: organizations/{organizationId}/locations/{location}/principalAccessBoundaryPolicies/{policyId}

Query parameters

Parameters
validateOnly

boolean

Optional. If set, validate the request and preview the update, but do not actually post it.

updateMask

string (FieldMask format)

Optional. The list of fields to update

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 PrincipalAccessBoundaryPolicy.

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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • iam.principalaccessboundarypolicies.update

For more information, see the IAM documentation.