# NetApp V1 API - Class Google::Cloud::NetApp::V1::UpdateSnapshotRequest (v2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::UpdateSnapshotRequest.

UpdateSnapshotRequest updates description and/or labels for a snapshot.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #snapshot

    def snapshot() -> ::Google::Cloud::NetApp::V1::Snapshot

**Returns**

- ([::Google::Cloud::NetApp::V1::Snapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-Snapshot)) --- Required. A snapshot resource

### #snapshot=

    def snapshot=(value) -> ::Google::Cloud::NetApp::V1::Snapshot

**Parameter**

- **value** ([::Google::Cloud::NetApp::V1::Snapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-Snapshot)) --- Required. A snapshot resource
**Returns**

- ([::Google::Cloud::NetApp::V1::Snapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-Snapshot)) --- Required. A snapshot resource

### #update_mask

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

**Returns**

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