Class: Google::Apis::HealthcareV1alpha2::ImportDicomDataRequest

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

Imports data into the specified DICOM store. Returns an error if any of the files to import are not DICOM files. This API will accept duplicate DICOM instances, by simply ignoring the newly pushed instance (it will not overwrite).

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) ⇒ ImportDicomDataRequest

Returns a new instance of ImportDicomDataRequest



1547
1548
1549
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1547

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

Instance Attribute Details

#gcs_sourceGoogle::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2DicomGcsSource

Specifies the configuration for importing data from Cloud Storage. Corresponds to the JSON property gcsSource



1545
1546
1547
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1545

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1552
1553
1554
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1552

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