Class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb
Overview
The Cloud Storage location where the output should be written, and the export configuration.
Instance Attribute Summary collapse
-
#mime_type ⇒ String
MIME types supported by DICOM spec.
-
#uri_prefix ⇒ String
The Cloud Storage destination to export to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1DicomGcsDestination
constructor
A new instance of GoogleCloudHealthcareV1beta1DicomGcsDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1DicomGcsDestination
Returns a new instance of GoogleCloudHealthcareV1beta1DicomGcsDestination
896 897 898 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mime_type ⇒ String
MIME types supported by DICOM spec.
Each file will be written in the following format:
.../
study_id/
series_id/
instance_id[/
frame_number].
extension`
The frame_number component will exist only for multi-frame instances.
Refer to the DICOM conformance statement for permissible MIME types:
https://cloud.google.com/healthcare/docs/dicom#wado-rs
The following extensions will be used for output files:
application/dicom -> .dcm
image/jpeg -> .jpg
image/png -> .png
If unspecified, the instances will be exported in their original
DICOM format.
Corresponds to the JSON property
mimeType`
884 885 886 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 884 def mime_type @mime_type end |
#uri_prefix ⇒ String
The Cloud Storage destination to export to.
URI for a Cloud Storage directory where result files should be written (in
the format gs://
bucket-id/
path/to/destination/dir`). If there is no
trailing slash, the service will append one when composing the object path.
The user is responsible for creating the Cloud Storage bucket referenced in
uri_prefix.
Corresponds to the JSON property
uriPrefix`
894 895 896 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 894 def uri_prefix @uri_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
901 902 903 904 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 901 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix) end |