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.
Constructor Details
#initialize(**args) ⇒ ListSubscriptionsResponse
Returns a new instance of ListSubscriptionsResponse.
126 127 128 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 126 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
119 120 121 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 119 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
124 125 126 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 124 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
131 132 133 134 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 131 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscription = args[:subscription] if args.key?(:subscription) end |