Class: Google::Apis::HealthcareV1::ImageConfig

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...

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.

[View source]

3581
3582
3583
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3581

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

Instance Attribute Details

#text_redaction_modeString

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

Returns:

  • (String)

3579
3580
3581
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3579

def text_redaction_mode
  @text_redaction_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

3586
3587
3588
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3586

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