Class: Google::Apis::HealthcareV1alpha2::ImportResourcesRequest

Inherits:
Object
  • Object
show all
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

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



1577
1578
1579
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1577

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)


1565
1566
1567
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1565

def content_structure
  @content_structure
end

#gcs_error_destinationGoogle::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsErrorDestination

Specifies the Cloud Storage destination where errors will be recorded. Corresponds to the JSON property gcsErrorDestination



1570
1571
1572
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1570

def gcs_error_destination
  @gcs_error_destination
end

#gcs_sourceGoogle::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsSource

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



1575
1576
1577
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1575

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1582
1583
1584
1585
1586
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1582

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