Method: organizations.updateAccessApprovalSettings

Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.

HTTP request

PATCH https://accessapproval.googleapis.com/v1/{settings.name=organizations/*/accessApprovalSettings}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
settings.name

string

The resource name of the settings. Format is one of:

  • "projects/{project}/accessApprovalSettings"
  • "folders/{folder}/accessApprovalSettings"
  • "organizations/{organization}/accessApprovalSettings"

Query parameters

Parameters
updateMask

string (FieldMask format)

The update mask applies to the Access Approval settings. For each field, if the update mask is included, the currently stored value is overwritten with the value of the field passed in this request.

For the FieldMask definition, see Protocol Buffers Well-Known Types page in the Protocol Buffers documentation.

If this field is left unset, only the notificationEmails field will be updated.

This is a comma-separated list of fully qualified names of fields. Example: "notificationEmails,preferredRequestExpirationDays".

Request body

The request body contains an instance of AccessApprovalSettings.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.