Class: Google::Apis::PubsubliteV1::ListTopicSubscriptionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::ListTopicSubscriptionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsublite_v1/classes.rb,
generated/google/apis/pubsublite_v1/representations.rb,
generated/google/apis/pubsublite_v1/representations.rb
Overview
Response for ListTopicSubscriptions.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page of results. -
#subscriptions ⇒ Array<String>
The names of subscriptions attached to the topic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTopicSubscriptionsResponse
constructor
A new instance of ListTopicSubscriptionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTopicSubscriptionsResponse
Returns a new instance of ListTopicSubscriptionsResponse.
247 248 249 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token
to retrieve the next page of results.
If this field is omitted, there are no more results.
Corresponds to the JSON property nextPageToken
239 240 241 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 239 def next_page_token @next_page_token end |
#subscriptions ⇒ Array<String>
The names of subscriptions attached to the topic. The order of the
subscriptions is unspecified.
Corresponds to the JSON property subscriptions
245 246 247 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 245 def subscriptions @subscriptions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
252 253 254 255 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 252 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end |