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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
getSettings
The new AccessApprovalSettings.
Returns | |
---|---|
Type | Description |
Google\Cloud\AccessApproval\V1\AccessApprovalSettings|null |
hasSettings
clearSettings
setSettings
The new AccessApprovalSettings.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AccessApproval\V1\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 |