Class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource

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

Specifies the configuration for importing data from Cloud Storage.

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) ⇒ GoogleCloudHealthcareV1beta1DicomGcsSource

Returns a new instance of GoogleCloudHealthcareV1beta1DicomGcsSource.



1173
1174
1175
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1173

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

Instance Attribute Details

#uriString

Points to a Cloud Storage URI containing file(s) with content only. The URI must be in the following format: gs://bucket_id/object_id`. The URI can include wildcards in object_idand thus identify multiple files. Supported wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .dcm), which imports all files with the extension in the specified directory and its sub-directories. For example, gs://my-bucket/my-directory/**.dcmimports all files with .dcm extensions inmy-directory/and its sub-directories. '?' to match 1 character All other URI formats are invalid. Files matching the wildcard are expected to contain content only, no metadata. Corresponds to the JSON propertyuri`

Returns:

  • (String)


1171
1172
1173
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1171

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1178
1179
1180
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1178

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