Class: Google::Apis::HealthcareV1::ListDatasetsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb

Overview

Lists the available datasets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDatasetsResponse

Returns a new instance of ListDatasetsResponse.



3427
3428
3429
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3427

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#datasetsArray<Google::Apis::HealthcareV1::Dataset>

The first page of datasets. Corresponds to the JSON property datasets



3419
3420
3421
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3419

def datasets
  @datasets
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3425
3426
3427
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3425

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3432
3433
3434
3435
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3432

def update!(**args)
  @datasets = args[:datasets] if args.key?(:datasets)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end