Class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsDestination

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudHealthcareV1DicomGcsDestination

Returns a new instance of GoogleCloudHealthcareV1DicomGcsDestination.



2473
2474
2475
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2473

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

Instance Attribute Details

#mime_typeString

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 propertymimeType`

Returns:

  • (String)


2462
2463
2464
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2462

def mime_type
  @mime_type
end

#uri_prefixString

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 inuri_prefix. Corresponds to the JSON propertyuriPrefix`

Returns:

  • (String)


2471
2472
2473
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2471

def uri_prefix
  @uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2478
2479
2480
2481
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2478

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