Google Cloud Net App V1 Client - Class UpdateBackupPolicyRequest (1.4.0)

Reference documentation and code samples for the Google Cloud Net App V1 Client class UpdateBackupPolicyRequest.

UpdateBackupPolicyRequest for updating a backup policy.

Generated from protobuf message google.cloud.netapp.v1.UpdateBackupPolicyRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ update_mask
Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Backup Policy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

↳ backup_policy
BackupPolicy

Required. The backup policy being updated

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the Backup Policy resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the Backup Policy resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Parameter
Name
Description
Returns
Type
Description
$this

getBackupPolicy

Required. The backup policy being updated

Returns
Type
Description
BackupPolicy |null

hasBackupPolicy

clearBackupPolicy

setBackupPolicy

Required. The backup policy being updated

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
backupPolicy
BackupPolicy

Required. The backup policy being updated

updateMask
Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Backup Policy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: