Class: Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails
- 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
-
#error_count ⇒ Fixnum
The number of resources that had errors.
-
#fhir_store ⇒ String
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``. -
#input_size ⇒ Fixnum
The total number of resources included in the source data.
-
#success_count ⇒ Fixnum
The number of resources that have been imported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails
constructor
A new instance of GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails
Returns a new instance of GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails
1364 1365 1366 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_count ⇒ Fixnum
The number of resources that had errors.
Corresponds to the JSON property errorCount
1343 1344 1345 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1343 def error_count @error_count end |
#fhir_store ⇒ String
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 property
fhirStore`
1351 1352 1353 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1351 def fhir_store @fhir_store end |
#input_size ⇒ Fixnum
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
1357 1358 1359 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1357 def input_size @input_size end |
#success_count ⇒ Fixnum
The number of resources that have been imported.
Corresponds to the JSON property successCount
1362 1363 1364 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1362 def success_count @success_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1369 1370 1371 1372 1373 1374 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1369 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 |