Class: Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsSource
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb
Overview
Specifies the configuration for importing data from Cloud Storage.
Instance Attribute Summary collapse
-
#uri ⇒ String
Points to a Cloud Storage URI containing file(s) to import.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudHealthcareV1alpha2FhirRestGcsSource
constructor
A new instance of GoogleCloudHealthcareV1alpha2FhirRestGcsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudHealthcareV1alpha2FhirRestGcsSource
Returns a new instance of GoogleCloudHealthcareV1alpha2FhirRestGcsSource
1322 1323 1324 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1322 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
Points to a Cloud Storage URI containing file(s) to import.
The URI must be in the following format: gs://
bucket_id/
object_id`.
The URI can include wildcards in
object_id` and 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 .ndjson), which imports all files with the extension in the specified directory and its sub-directories. For example,gs://my-bucket/my-directory/**.ndjson
imports all files with.ndjson
extensions inmy-directory/
and its sub-directories. -
?
to match 1 character Files matching the wildcard are expected to contain content only, no metadata. Corresponds to the JSON propertyuri
1320 1321 1322 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1320 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1327 1328 1329 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1327 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |