Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::ListSubscriptionsResponse.
Response for the ListSubscriptions
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 subscriptions that
match the request; this value should be passed in a new
ListSubscriptionsRequest
to get more subscriptions.
#next_page_token=
def next_page_token=(value) -> ::String
Parameter
-
value (::String) — Optional. If not empty, indicates that there may be more subscriptions that
match the request; this value should be passed in a new
ListSubscriptionsRequest
to get more subscriptions.
Returns
-
(::String) — Optional. If not empty, indicates that there may be more subscriptions that
match the request; this value should be passed in a new
ListSubscriptionsRequest
to get more subscriptions.
#subscriptions
def subscriptions() -> ::Array<::Google::Cloud::PubSub::V1::Subscription>
Returns
- (::Array<::Google::Cloud::PubSub::V1::Subscription>) — Optional. The subscriptions that match the request.
#subscriptions=
def subscriptions=(value) -> ::Array<::Google::Cloud::PubSub::V1::Subscription>
Parameter
- value (::Array<::Google::Cloud::PubSub::V1::Subscription>) — Optional. The subscriptions that match the request.
Returns
- (::Array<::Google::Cloud::PubSub::V1::Subscription>) — Optional. The subscriptions that match the request.