Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::ListTopicSnapshotsRequest.
Request for the ListTopicSnapshots
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#page_size
def page_size() -> ::Integer
Returns
- (::Integer) — Optional. Maximum number of snapshot names to return.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Maximum number of snapshot names to return.
Returns
- (::Integer) — Optional. Maximum number of snapshot names to return.
#page_token
def page_token() -> ::String
Returns
-
(::String) — Optional. The value returned by the last
ListTopicSnapshotsResponse
; indicates that this is a continuation of a priorListTopicSnapshots
call, and that the system should return the next page of data.
#page_token=
def page_token=(value) -> ::String
Parameter
-
value (::String) — Optional. The value returned by the last
ListTopicSnapshotsResponse
; indicates that this is a continuation of a priorListTopicSnapshots
call, and that the system should return the next page of data.
Returns
-
(::String) — Optional. The value returned by the last
ListTopicSnapshotsResponse
; indicates that this is a continuation of a priorListTopicSnapshots
call, and that the system should return the next page of data.
#topic
def topic() -> ::String
Returns
-
(::String) — Required. The name of the topic that snapshots are attached to.
Format is
projects/{project}/topics/{topic}
.
#topic=
def topic=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the topic that snapshots are attached to.
Format is
projects/{project}/topics/{topic}
.
Returns
-
(::String) — Required. The name of the topic that snapshots are attached to.
Format is
projects/{project}/topics/{topic}
.