Class: Google::Apis::HealthcareV1::ImportResourcesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb

Overview

Request to import resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportResourcesRequest

Returns a new instance of ImportResourcesRequest.



2160
2161
2162
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2160

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)


2153
2154
2155
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2153

def content_structure
  @content_structure
end

#gcs_sourceGoogle::Apis::HealthcareV1::GoogleCloudHealthcareV1FhirGcsSource

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



2158
2159
2160
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2158

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2165
2166
2167
2168
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2165

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