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.



2451
2452
2453
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2451

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



2443
2444
2445
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2443

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)


2449
2450
2451
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2449

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2456
2457
2458
2459
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2456

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