Class: Google::Apis::HealthcareV1::Dataset
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::Dataset
- 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 more...
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
-
#encryption_spec ⇒ Google::Apis::HealthcareV1::EncryptionSpec
Represents a customer-managed encryption key spec that can be applied to a resource.
-
#name ⇒ String
Identifier.
-
#time_zone ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dataset
constructor
A new instance of Dataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Dataset
Returns a new instance of Dataset.
1288 1289 1290 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption_spec ⇒ Google::Apis::HealthcareV1::EncryptionSpec
Represents a customer-managed encryption key spec that can be applied to a
resource.
Corresponds to the JSON property encryptionSpec
1272 1273 1274 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1272 def encryption_spec @encryption_spec end |
#name ⇒ String
Identifier. Resource name of the dataset, of the form projects/
project_id/
locations/
location_id/datasets/
dataset_id`.
Corresponds to the JSON property
name`
1278 1279 1280 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1278 def name @name end |
#time_zone ⇒ String
Optional. 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, such as HL7 messages, where no
explicit timezone is specified.
Corresponds to the JSON property timeZone
1286 1287 1288 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1286 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1293 1294 1295 1296 1297 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1293 def update!(**args) @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec) @name = args[:name] if args.key?(:name) @time_zone = args[:time_zone] if args.key?(:time_zone) end |