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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

Returns:

  • (String)


1126
1127
1128
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1126

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

Returns:

  • (String)


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