Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::UpdateSnapshotRequest.
Request for the UpdateSnapshot method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#snapshot
def snapshot() -> ::Google::Cloud::PubSub::V1::Snapshot
Returns
- (::Google::Cloud::PubSub::V1::Snapshot) — Required. The updated snapshot object.
#snapshot=
def snapshot=(value) -> ::Google::Cloud::PubSub::V1::Snapshot
Parameter
- value (::Google::Cloud::PubSub::V1::Snapshot) — Required. The updated snapshot object.
Returns
- (::Google::Cloud::PubSub::V1::Snapshot) — Required. The updated snapshot object.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.
Returns
- (::Google::Protobuf::FieldMask) — Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.