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.



3096
3097
3098
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3096

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



3088
3089
3090
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3088

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)


3094
3095
3096
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3094

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3101
3102
3103
3104
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3101

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