Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::ListSnapshotsResponse.
Response for the ListSnapshots
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#next_page_token
def next_page_token() -> ::String
Returns
-
(::String) — Optional. If not empty, indicates that there may be more snapshot that
match the request; this value should be passed in a new
ListSnapshotsRequest
.
#next_page_token=
def next_page_token=(value) -> ::String
Parameter
-
value (::String) — Optional. If not empty, indicates that there may be more snapshot that
match the request; this value should be passed in a new
ListSnapshotsRequest
.
Returns
-
(::String) — Optional. If not empty, indicates that there may be more snapshot that
match the request; this value should be passed in a new
ListSnapshotsRequest
.
#snapshots
def snapshots() -> ::Array<::Google::Cloud::PubSub::V1::Snapshot>
Returns
- (::Array<::Google::Cloud::PubSub::V1::Snapshot>) — Optional. The resulting snapshots.
#snapshots=
def snapshots=(value) -> ::Array<::Google::Cloud::PubSub::V1::Snapshot>
Parameter
- value (::Array<::Google::Cloud::PubSub::V1::Snapshot>) — Optional. The resulting snapshots.
Returns
- (::Array<::Google::Cloud::PubSub::V1::Snapshot>) — Optional. The resulting snapshots.