Class: Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails

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

Error response of importing resources. This structure will be included in the error details to describe the detailed error. It will only be included when the operation finishes with some failure.

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

Returns a new instance of GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails



1324
1325
1326
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1324

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

Instance Attribute Details

#error_countFixnum

The number of resources that had errors. Corresponds to the JSON property errorCount

Returns:

  • (Fixnum)


1303
1304
1305
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1303

def error_count
  @error_count
end

#fhir_storeString

The name of the FHIR store where resources have been imported, in the format projects/project_id/locations/location_id/datasets/dataset_id/ fhirStores/fhir_store_id`. Corresponds to the JSON propertyfhirStore`

Returns:

  • (String)


1311
1312
1313
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1311

def fhir_store
  @fhir_store
end

#input_sizeFixnum

The total number of resources included in the source data. This is the sum of the success and error counts. Corresponds to the JSON property inputSize

Returns:

  • (Fixnum)


1317
1318
1319
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1317

def input_size
  @input_size
end

#success_countFixnum

The number of resources that have been imported. Corresponds to the JSON property successCount

Returns:

  • (Fixnum)


1322
1323
1324
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1322

def success_count
  @success_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1329
1330
1331
1332
1333
1334
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1329

def update!(**args)
  @error_count = args[:error_count] if args.key?(:error_count)
  @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
  @input_size = args[:input_size] if args.key?(:input_size)
  @success_count = args[:success_count] if args.key?(:success_count)
end