Class: Google::Apis::HealthcareV1alpha2::ImageConfig

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

Overview

Specifies how de-identification of image pixel should be handled.

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

Returns a new instance of ImageConfig



1544
1545
1546
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1544

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)


1542
1543
1544
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1542

def text_redaction_mode
  @text_redaction_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1549
1550
1551
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1549

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