Class: Google::Apis::PubsubV1beta1a::ListSubscriptionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubV1beta1a::ListSubscriptionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsub_v1beta1a/classes.rb,
generated/google/apis/pubsub_v1beta1a/representations.rb,
generated/google/apis/pubsub_v1beta1a/representations.rb
Overview
Response for the ListSubscriptions method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If not empty, indicates that there are more subscriptions that match the request and this value should be passed to the next
ListSubscriptionsRequest
to continue. -
#subscription ⇒ Array<Google::Apis::PubsubV1beta1a::Subscription>
The subscriptions that match the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSubscriptionsResponse
constructor
A new instance of ListSubscriptionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListSubscriptionsResponse
Returns a new instance of ListSubscriptionsResponse
135 136 137 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If not empty, indicates that there are more subscriptions that match the
request and this value should be passed to the next
ListSubscriptionsRequest
to continue.
Corresponds to the JSON property nextPageToken
128 129 130 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 128 def next_page_token @next_page_token end |
#subscription ⇒ Array<Google::Apis::PubsubV1beta1a::Subscription>
The subscriptions that match the request.
Corresponds to the JSON property subscription
133 134 135 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 133 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
140 141 142 143 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 140 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscription = args[:subscription] if args.key?(:subscription) end |