Class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1DicomGcsDestination

Returns a new instance of GoogleCloudHealthcareV1beta1DicomGcsDestination.



2478
2479
2480
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2478

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)h - 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

Returns:

  • (String)


2467
2468
2469
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2467

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)


2476
2477
2478
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2476

def uri_prefix
  @uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2483
2484
2485
2486
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2483

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