Class: Google::Apis::HealthcareV1beta1::RollbackFhirResourcesRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::RollbackFhirResourcesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
Request to roll back resources.
Instance Attribute Summary collapse
-
#change_type ⇒ String
Optional.
-
#exclude_rollbacks ⇒ Boolean
(also: #exclude_rollbacks?)
Optional.
-
#filtering_fields ⇒ Google::Apis::HealthcareV1beta1::RollbackFhirResourceFilteringFields
Filters to select resources that need to be rolled back.
-
#force ⇒ Boolean
(also: #force?)
Optional.
-
#input_gcs_object ⇒ String
Optional.
-
#result_gcs_bucket ⇒ String
Required.
-
#rollback_time ⇒ String
Required.
-
#type ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RollbackFhirResourcesRequest
constructor
A new instance of RollbackFhirResourcesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RollbackFhirResourcesRequest
Returns a new instance of RollbackFhirResourcesRequest.
6404 6405 6406 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#change_type ⇒ String
Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
Corresponds to the JSON property changeType
6364 6365 6366 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6364 def change_type @change_type end |
#exclude_rollbacks ⇒ Boolean Also known as: exclude_rollbacks?
Optional. Specifies whether to exclude earlier rollbacks.
Corresponds to the JSON property excludeRollbacks
6369 6370 6371 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6369 def exclude_rollbacks @exclude_rollbacks end |
#filtering_fields ⇒ Google::Apis::HealthcareV1beta1::RollbackFhirResourceFilteringFields
Filters to select resources that need to be rolled back.
Corresponds to the JSON property filteringFields
6375 6376 6377 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6375 def filtering_fields @filtering_fields end |
#force ⇒ Boolean Also known as: force?
Optional. When enabled, changes will be reverted without explicit confirmation
Corresponds to the JSON property force
6380 6381 6382 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6380 def force @force end |
#input_gcs_object ⇒ String
Optional. Cloud Storage object containing list of resourceType
/resourceId
lines, identifying resources to be reverted
Corresponds to the JSON property inputGcsObject
6387 6388 6389 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6387 def input_gcs_object @input_gcs_object end |
#result_gcs_bucket ⇒ String
Required. Bucket to deposit result
Corresponds to the JSON property resultGcsBucket
6392 6393 6394 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6392 def result_gcs_bucket @result_gcs_bucket end |
#rollback_time ⇒ String
Required. Time point to rollback to.
Corresponds to the JSON property rollbackTime
6397 6398 6399 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6397 def rollback_time @rollback_time end |
#type ⇒ Array<String>
Optional. If specified, revert only resources of these types
Corresponds to the JSON property type
6402 6403 6404 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6402 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6409 def update!(**args) @change_type = args[:change_type] if args.key?(:change_type) @exclude_rollbacks = args[:exclude_rollbacks] if args.key?(:exclude_rollbacks) @filtering_fields = args[:filtering_fields] if args.key?(:filtering_fields) @force = args[:force] if args.key?(:force) @input_gcs_object = args[:input_gcs_object] if args.key?(:input_gcs_object) @result_gcs_bucket = args[:result_gcs_bucket] if args.key?(:result_gcs_bucket) @rollback_time = args[:rollback_time] if args.key?(:rollback_time) @type = args[:type] if args.key?(:type) end |