Class: Google::Apis::HealthcareV1alpha2::Dataset

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

Overview

A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Dataset

Returns a new instance of Dataset



419
420
421
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 419

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

Instance Attribute Details

#nameString

Output only. Resource name of the dataset, of the form projects/project_id/locations/location_id/datasets/dataset_id`. Corresponds to the JSON propertyname`

Returns:

  • (String)


409
410
411
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 409

def name
  @name
end

#time_zoneString

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified. Corresponds to the JSON property timeZone

Returns:

  • (String)


417
418
419
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 417

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



424
425
426
427
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 424

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