Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::GetSnapshotRequest.
Request for the GetSnapshot method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#snapshot
def snapshot() -> ::String
Returns
-
(::String) — Required. The name of the snapshot to get.
Format is
projects/{project}/snapshots/{snap}
.
#snapshot=
def snapshot=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the snapshot to get.
Format is
projects/{project}/snapshots/{snap}
.
Returns
-
(::String) — Required. The name of the snapshot to get.
Format is
projects/{project}/snapshots/{snap}
.