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 server writes the output 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.
1138 1139 1140 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mime_type ⇒ String
MIME types supported by DICOM spec.
Each file is written in the following format:
.../
study_id/
series_id/
instance_id[/
frame_number].
extension`
The frame_number component exists only for multi-frame instances.
Refer to the DICOM conformance statement for permissible MIME types:
https://cloud.google.com/healthcare/docs/dicom#retrieve_transaction
The following extensions are used for output files:
application/dicom -> .dcm
image/jpeg -> .jpg
image/png -> .png
If unspecified, the instances are exported in their original
DICOM format.
Corresponds to the JSON property
mimeType`
1126 1127 1128 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1126 def mime_type @mime_type end |
#uri_prefix ⇒ String
The Cloud Storage destination to export to.
URI for a Cloud Storage directory where the server writes the result files,
in the format gs://
bucket-id/
path/to/destination/dir`). If there is no
trailing slash, the service appends 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`
1136 1137 1138 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1136 def uri_prefix @uri_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1143 1144 1145 1146 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1143 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix) end |