Class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
- 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
Response when errors occur while exporting resources. This structure is included in the error details to describe the detailed outcome. It is only included when the operation finishes with errors.
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 exported, in the format
projects/
project_id/locations/
location_id/datasets/
dataset_id/ fhirStores/
fhir_store_id``. -
#resource_count ⇒ Fixnum
The total number of resources included in the export operation.
-
#success_count ⇒ Fixnum
The number of resources that were exported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
constructor
A new instance of GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
Returns a new instance of GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails.
1251 1252 1253 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1251 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
1230 1231 1232 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1230 def error_count @error_count end |
#fhir_store ⇒ String
The name of the FHIR store where resources have been exported, in the
format
projects/
project_id/locations/
location_id/datasets/
dataset_id/
fhirStores/
fhir_store_id`.
Corresponds to the JSON property
fhirStore`
1238 1239 1240 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1238 def fhir_store @fhir_store end |
#resource_count ⇒ Fixnum
The total number of resources included in the export operation. This is
the sum of the success and error counts.
Corresponds to the JSON property resourceCount
1244 1245 1246 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1244 def resource_count @resource_count end |
#success_count ⇒ Fixnum
The number of resources that were exported.
Corresponds to the JSON property successCount
1249 1250 1251 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1249 def success_count @success_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1256 1257 1258 1259 1260 1261 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1256 def update!(**args) @error_count = args[:error_count] if args.key?(:error_count) @fhir_store = args[:fhir_store] if args.key?(:fhir_store) @resource_count = args[:resource_count] if args.key?(:resource_count) @success_count = args[:success_count] if args.key?(:success_count) end |