Class: Google::Apis::HealthcareV1beta1::ImportResourcesRequest

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

Request to import resources.

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

Returns a new instance of ImportResourcesRequest



1302
1303
1304
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1302

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

Instance Attribute Details

#content_structureString

The content structure in the source location. If not specified, the server treats the input source files as BUNDLE. Corresponds to the JSON property contentStructure

Returns:

  • (String)


1295
1296
1297
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1295

def content_structure
  @content_structure
end

#gcs_sourceGoogle::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource

Specifies the configuration for importing data from Cloud Storage. Corresponds to the JSON property gcsSource



1300
1301
1302
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1300

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1307
1308
1309
1310
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1307

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