Class: Google::Apis::HealthcareV1::RollbackFhirResourcesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RollbackFhirResourcesRequest

Returns a new instance of RollbackFhirResourcesRequest.

[View source]

5028
5029
5030
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5028

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

Instance Attribute Details

#change_typeString

Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type. Corresponds to the JSON property changeType

Returns:

  • (String)

4988
4989
4990
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4988

def change_type
  @change_type
end

#exclude_rollbacksBoolean Also known as: exclude_rollbacks?

Optional. Specifies whether to exclude earlier rollbacks. Corresponds to the JSON property excludeRollbacks

Returns:

  • (Boolean)

4993
4994
4995
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4993

def exclude_rollbacks
  @exclude_rollbacks
end

#filtering_fieldsGoogle::Apis::HealthcareV1::RollbackFhirResourceFilteringFields

Optional. Parameters for filtering resources Corresponds to the JSON property filteringFields


4999
5000
5001
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4999

def filtering_fields
  @filtering_fields
end

#forceBoolean Also known as: force?

Optional. When enabled, changes will be reverted without explicit confirmation Corresponds to the JSON property force

Returns:

  • (Boolean)

5004
5005
5006
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5004

def force
  @force
end

#input_gcs_objectString

Optional. Cloud Storage object containing list of resourceType/resourceId lines, identifying resources to be reverted Corresponds to the JSON property inputGcsObject

Returns:

  • (String)

5011
5012
5013
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5011

def input_gcs_object
  @input_gcs_object
end

#result_gcs_bucketString

Required. Bucket to deposit result Corresponds to the JSON property resultGcsBucket

Returns:

  • (String)

5016
5017
5018
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5016

def result_gcs_bucket
  @result_gcs_bucket
end

#rollback_timeString

Required. Time point to rollback to. Corresponds to the JSON property rollbackTime

Returns:

  • (String)

5021
5022
5023
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5021

def rollback_time
  @rollback_time
end

#typeArray<String>

Optional. If specified, revert only resources of these types Corresponds to the JSON property type

Returns:

  • (Array<String>)

5026
5027
5028
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5026

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5033

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