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.



2894
2895
2896
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2894

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



2886
2887
2888
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2886

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)


2892
2893
2894
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2892

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2899
2900
2901
2902
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2899

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