Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::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::Filestore::V1::Snapshot
Returns
- (::Google::Cloud::Filestore::V1::Snapshot) — Required. A snapshot resource.
#snapshot=
def snapshot=(value) -> ::Google::Cloud::Filestore::V1::Snapshot
Parameter
- value (::Google::Cloud::Filestore::V1::Snapshot) — Required. A snapshot resource.
Returns
- (::Google::Cloud::Filestore::V1::Snapshot) — Required. A snapshot resource.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::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) — Required. Mask of fields to update. At least one path must be supplied in this field.
Returns
- (::Google::Protobuf::FieldMask) — Required. Mask of fields to update. At least one path must be supplied in this field.