Class: Google::Apis::HealthcareV1alpha2::TextConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TextConfig

Returns a new instance of TextConfig



2862
2863
2864
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2862

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

Instance Attribute Details

#experimental_configString

Experimental de-identification config to use. For internal use only. If not specified, it is ignored and standard DLP is used. Corresponds to the JSON property experimentalConfig

Returns:

  • (String)


2855
2856
2857
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2855

def experimental_config
  @experimental_config
end

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

The transformations to apply to the detected data. Corresponds to the JSON property transformations



2860
2861
2862
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2860

def transformations
  @transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2867
2868
2869
2870
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2867

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