Class: Google::Apis::HealthcareV1beta1::ImageConfig

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

Overview

Specifies how to handle de-identification of image pixels.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImageConfig

Returns a new instance of ImageConfig.



3123
3124
3125
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3123

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

Instance Attribute Details

#text_redaction_modeString

Determines how to redact text from image. Corresponds to the JSON property textRedactionMode

Returns:

  • (String)


3121
3122
3123
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3121

def text_redaction_mode
  @text_redaction_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3128
3129
3130
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3128

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