Class: Google::Apis::HealthcareV1alpha2::CharacterMaskConfig

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

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

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

Returns a new instance of CharacterMaskConfig



323
324
325
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 323

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)


321
322
323
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 321

def masking_character
  @masking_character
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



328
329
330
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 328

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