Method: accessPolicies.patch

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.

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.

Try it!

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Access Context Manager