Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::ListSnapshotsRequest (v0.17.4)

Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::ListSnapshotsRequest.

Request for the ListSnapshots method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Maximum number of snapshots to return.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of snapshots to return.
Returns
  • (::Integer) — Maximum number of snapshots to return.

#page_token

def page_token() -> ::String
Returns
  • (::String) — The value returned by the last ListSnapshotsResponse; indicates that this is a continuation of a prior ListSnapshots call, and that the system should return the next page of data.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — The value returned by the last ListSnapshotsResponse; indicates that this is a continuation of a prior ListSnapshots call, and that the system should return the next page of data.
Returns
  • (::String) — The value returned by the last ListSnapshotsResponse; indicates that this is a continuation of a prior ListSnapshots call, and that the system should return the next page of data.

#project

def project() -> ::String
Returns
  • (::String) — Required. The name of the project in which to list snapshots. Format is projects/{project-id}.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the project in which to list snapshots. Format is projects/{project-id}.
Returns
  • (::String) — Required. The name of the project in which to list snapshots. Format is projects/{project-id}.