Class: Google::Apis::PubsubliteV1::ListSubscriptionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::ListSubscriptionsResponse
- 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 ListSubscriptions.
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<Google::Apis::PubsubliteV1::Subscription>
The list of subscriptions in the requested parent.
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.
220 221 222 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 220 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
212 213 214 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 212 def next_page_token @next_page_token end |
#subscriptions ⇒ Array<Google::Apis::PubsubliteV1::Subscription>
The list of subscriptions in the requested parent. The order of the
subscriptions is unspecified.
Corresponds to the JSON property subscriptions
218 219 220 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 218 def subscriptions @subscriptions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 228 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 225 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end |