Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::ListTopicsRequest (v0.17.0)

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

Request for the ListTopics 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 topics to return.

#page_size=

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

#page_token

def page_token() -> ::String
Returns
  • (::String) — The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics 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 ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.
Returns
  • (::String) — The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics 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 topics. Format is projects/{project-id}.

#project=

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