Class: Google::Apis::HealthcareV1::TextConfig

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) ⇒ TextConfig

Returns a new instance of TextConfig.

[View source]

5848
5849
5850
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5848

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

Instance Attribute Details

#additional_transformationsArray<Google::Apis::HealthcareV1::InfoTypeTransformation>

Optional. Transformations to apply to the detected data, overridden by exclude_info_types. Corresponds to the JSON property additionalTransformations


5834
5835
5836
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5834

def additional_transformations
  @additional_transformations
end

#exclude_info_typesArray<String>

Optional. InfoTypes to skip transforming, overriding additional_transformations. Corresponds to the JSON property excludeInfoTypes

Returns:

  • (Array<String>)

5840
5841
5842
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5840

def exclude_info_types
  @exclude_info_types
end

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

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


5846
5847
5848
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5846

def transformations
  @transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5853
5854
5855
5856
5857
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5853

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