Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::UpdateBackupPolicyRequest.
UpdateBackupPolicyRequest for updating a backup policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_policy
def backup_policy() -> ::Google::Cloud::NetApp::V1::BackupPolicy
Returns
- (::Google::Cloud::NetApp::V1::BackupPolicy) — Required. The backup policy being updated
#backup_policy=
def backup_policy=(value) -> ::Google::Cloud::NetApp::V1::BackupPolicy
Parameter
- value (::Google::Cloud::NetApp::V1::BackupPolicy) — Required. The backup policy being updated
Returns
- (::Google::Cloud::NetApp::V1::BackupPolicy) — Required. The backup policy being updated
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::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.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::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
- (::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.