Class: Google::Apis::HealthcareV1::TextConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::TextConfig
- 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
Instance Attribute Summary collapse
-
#additional_transformations ⇒ Array<Google::Apis::HealthcareV1::InfoTypeTransformation>
Transformations to apply to the detected data, overridden by
exclude_info_types
. -
#exclude_info_types ⇒ Array<String>
InfoTypes to skip transforming, overriding
additional_transformations
. -
#transformations ⇒ Array<Google::Apis::HealthcareV1::InfoTypeTransformation>
The transformations to apply to the detected data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextConfig
constructor
A new instance of TextConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextConfig
Returns a new instance of TextConfig.
5044 5045 5046 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_transformations ⇒ Array<Google::Apis::HealthcareV1::InfoTypeTransformation>
Transformations to apply to the detected data, overridden by
exclude_info_types
.
Corresponds to the JSON property additionalTransformations
5031 5032 5033 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5031 def additional_transformations @additional_transformations end |
#exclude_info_types ⇒ Array<String>
InfoTypes to skip transforming, overriding additional_transformations
.
Corresponds to the JSON property excludeInfoTypes
5036 5037 5038 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5036 def exclude_info_types @exclude_info_types end |
#transformations ⇒ Array<Google::Apis::HealthcareV1::InfoTypeTransformation>
The transformations to apply to the detected data. Deprecated. Use
additional_transformations
instead.
Corresponds to the JSON property transformations
5042 5043 5044 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5042 def transformations @transformations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5049 5050 5051 5052 5053 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5049 def update!(**args) @additional_transformations = args[:additional_transformations] if args.key?(:additional_transformations) @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types) @transformations = args[:transformations] if args.key?(:transformations) end |