Class: Google::Apis::HealthcareV1beta1::RollbackFhirResourceFilteringFields

Inherits:
Object
  • Object
show all
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

Filters to select resources that need to be rolled back.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RollbackFhirResourceFilteringFields

Returns a new instance of RollbackFhirResourceFilteringFields.



6346
6347
6348
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6346

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

Instance Attribute Details

#metadata_filterString

Optional. A filter expression that matches data in the Resource.meta element. Supports all filters in AIP-160 except the "has" (:) operator. Supports the following custom functions: * tag("") = "" for tag filtering. * extension_value_ts("") = for filtering extensions with a timestamp, where `is a Unix timestamp. Supports the>,<,<=,>=, and!=comparison operators. Corresponds to the JSON propertymetadataFilter`

Returns:

  • (String)


6338
6339
6340
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6338

def 
  @metadata_filter
end

#operation_idsArray<Fixnum>

Optional. A list of operation IDs to roll back. Only changes made by these operations will be rolled back. Corresponds to the JSON property operationIds

Returns:

  • (Array<Fixnum>)


6344
6345
6346
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6344

def operation_ids
  @operation_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6351
6352
6353
6354
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6351

def update!(**args)
  @metadata_filter = args[:metadata_filter] if args.key?(:metadata_filter)
  @operation_ids = args[:operation_ids] if args.key?(:operation_ids)
end