Class: Google::Apis::HealthcareV1::ImageConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::ImageConfig
- 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
Overview
Specifies how to handle de-identification of image pixels.
Instance Attribute Summary collapse
-
#text_redaction_mode ⇒ String
Determines how to redact text from image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageConfig
constructor
A new instance of ImageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageConfig
Returns a new instance of ImageConfig.
2833 2834 2835 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text_redaction_mode ⇒ String
Determines how to redact text from image.
Corresponds to the JSON property textRedactionMode
2831 2832 2833 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2831 def text_redaction_mode @text_redaction_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2838 2839 2840 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2838 def update!(**args) @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode) end |