Class: Google::Apis::HealthV4::ListSubscribersResponse
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::ListSubscribersResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/health_v4/classes.rb,
lib/google/apis/health_v4/representations.rb,
lib/google/apis/health_v4/representations.rb
Overview
Response message for ListSubscribers.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#subscribers ⇒ Array<Google::Apis::HealthV4::Subscriber>
Subscribers from the specified project.
-
#total_size ⇒ Fixnum
The total number of subscribers matching the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSubscribersResponse
constructor
A new instance of ListSubscribersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSubscribersResponse
Returns a new instance of ListSubscribersResponse.
2285 2286 2287 |
# File 'lib/google/apis/health_v4/classes.rb', line 2285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
2273 2274 2275 |
# File 'lib/google/apis/health_v4/classes.rb', line 2273 def next_page_token @next_page_token end |
#subscribers ⇒ Array<Google::Apis::HealthV4::Subscriber>
Subscribers from the specified project.
Corresponds to the JSON property subscribers
2278 2279 2280 |
# File 'lib/google/apis/health_v4/classes.rb', line 2278 def subscribers @subscribers end |
#total_size ⇒ Fixnum
The total number of subscribers matching the request.
Corresponds to the JSON property totalSize
2283 2284 2285 |
# File 'lib/google/apis/health_v4/classes.rb', line 2283 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2290 2291 2292 2293 2294 |
# File 'lib/google/apis/health_v4/classes.rb', line 2290 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscribers = args[:subscribers] if args.key?(:subscribers) @total_size = args[:total_size] if args.key?(:total_size) end |