Class: Google::Apis::HealthcareV1beta1::TextConfig

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

Configures how to transform sensitive text InfoTypes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TextConfig

Returns a new instance of TextConfig.



5327
5328
5329
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5327

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

Instance Attribute Details

#transformationsArray<Google::Apis::HealthcareV1beta1::InfoTypeTransformation>

The transformations to apply to the detected data. Deprecated. Use additional_transformations instead. Corresponds to the JSON property transformations



5325
5326
5327
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5325

def transformations
  @transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5332
5333
5334
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5332

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