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.



3367
3368
3369
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3367

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



3359
3360
3361
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3359

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)


3365
3366
3367
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3365

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3372
3373
3374
3375
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3372

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