Class: Google::Apis::HealthcareV1::CharacterMaskConfig

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

Overview

Mask a string by replacing its characters with a fixed character.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CharacterMaskConfig

Returns a new instance of CharacterMaskConfig.



189
190
191
# File 'lib/google/apis/healthcare_v1/classes.rb', line 189

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

Instance Attribute Details

#masking_characterString

Character to mask the sensitive values. If not supplied, defaults to "*". Corresponds to the JSON property maskingCharacter

Returns:

  • (String)


187
188
189
# File 'lib/google/apis/healthcare_v1/classes.rb', line 187

def masking_character
  @masking_character
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
# File 'lib/google/apis/healthcare_v1/classes.rb', line 194

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