# Filestore V1 API - Class Google::Cloud::Filestore::V1::UpdateBackupRequest (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.1 2.0.0 1.2.0 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::UpdateBackupRequest.

UpdateBackupRequest updates description and/or labels for a backup.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup

    def backup() -> ::Google::Cloud::Filestore::V1::Backup

**Returns**

- ([::Google::Cloud::Filestore::V1::Backup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Backup)) --- Required. A [backup resource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Backup "Google::Cloud::Filestore::V1::Backup (class)")

### #backup=

    def backup=(value) -> ::Google::Cloud::Filestore::V1::Backup

**Parameter**

- **value** ([::Google::Cloud::Filestore::V1::Backup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Backup)) --- Required. A [backup resource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Backup "Google::Cloud::Filestore::V1::Backup (class)")
**Returns**

- ([::Google::Cloud::Filestore::V1::Backup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Backup)) --- Required. A [backup resource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Backup "Google::Cloud::Filestore::V1::Backup (class)")

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Protobuf-FieldMask)) --- Required. Mask of fields to update. At least one path must be supplied in this field.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Protobuf-FieldMask)) --- Required. Mask of fields to update. At least one path must be supplied in this field.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Protobuf-FieldMask)) --- Required. Mask of fields to update. At least one path must be supplied in this field.