Class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsDestination
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsDestination
- 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
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) ⇒ GoogleCloudHealthcareV1DicomGcsDestination
constructor
A new instance of GoogleCloudHealthcareV1DicomGcsDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudHealthcareV1DicomGcsDestination
Returns a new instance of GoogleCloudHealthcareV1DicomGcsDestination.
2365 2366 2367 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2365 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. Supported
MIME types are consistent with supported formats in DICOMweb: https://cloud.
google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the
following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.
2.1 (uncompressed DICOM) - application/dicom; transfer-syntax=1.2.840.10008.1.
2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-
syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) -
application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded
JPEG 2000) - application/dicom; transfer-syntax=* (DICOM with no transcoding) -
application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw
uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw
PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=
1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions
are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg -
image/png -> .png - application/octet-stream -> no extension If unspecified,
the instances are exported in the original DICOM format they were uploaded in.
Corresponds to the JSON property
mimeType`
2354 2355 2356 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2354 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`
2363 2364 2365 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2363 def uri_prefix @uri_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2370 2371 2372 2373 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2370 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix) end |