Google Cloud Access Approval V1 Client - Class UpdateAccessApprovalSettingsMessage (1.1.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ settings Google\Cloud\AccessApproval\V1\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
TypeDescription
Google\Cloud\AccessApproval\V1\AccessApprovalSettings|null

hasSettings

clearSettings

setSettings

The new AccessApprovalSettings.

Parameter
NameDescription
var Google\Cloud\AccessApproval\V1\AccessApprovalSettings
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
settings Google\Cloud\AccessApproval\V1\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
TypeDescription
Google\Cloud\AccessApproval\V1\UpdateAccessApprovalSettingsMessage