Google Cloud Access Approval V1 Client - Class UpdateAccessApprovalSettingsMessage (2.0.3)

Reference documentation and code samples for the Google Cloud Access Approval V1 Client class UpdateAccessApprovalSettingsMessage.

Request to update access approval settings.

Generated from protobuf message google.cloud.accessapproval.v1.UpdateAccessApprovalSettingsMessage

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ settings AccessApprovalSettings

The new AccessApprovalSettings.

↳ update_mask Google\Protobuf\FieldMask

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

getSettings

The new AccessApprovalSettings.

Returns
Type Description
AccessApprovalSettings|null

hasSettings

clearSettings

setSettings

The new AccessApprovalSettings.

Parameter
Name Description
var AccessApprovalSettings
Returns
Type Description
$this

getUpdateMask

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
settings AccessApprovalSettings

The new AccessApprovalSettings.

updateMask Google\Protobuf\FieldMask

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

Returns
Type Description
UpdateAccessApprovalSettingsMessage