Method: accessPolicies.authorizedOrgsDescs.patch

Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in AuthorizedOrgsDesc can be updated. The name, authorizationType, assetType and authorizationDirection cannot be updated.

HTTP request

PATCH https://accesscontextmanager.googleapis.com/v1alpha/{authorizedOrgsDesc.name=accessPolicies/*/authorizedOrgsDescs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
authorizedOrgsDesc.name

string

Identifier. Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorizedOrgsDesc}.

The authorizedOrgsDesc component must begin with a letter, followed by alphanumeric characters or _.

After you create an AuthorizedOrgsDesc, you cannot change its name.

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

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.