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



2871
2872
2873
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2871

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)


2864
2865
2866
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2864

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



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

def transformations
  @transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2876
2877
2878
2879
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2876

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