Class: Google::Apis::HealthcareV1beta1::CharacterMaskConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::CharacterMaskConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
Mask a string by replacing its characters with a fixed character.
Instance Attribute Summary collapse
-
#masking_character ⇒ String
Character to mask the sensitive values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CharacterMaskConfig
constructor
A new instance of CharacterMaskConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CharacterMaskConfig
Returns a new instance of CharacterMaskConfig.
962 963 964 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#masking_character ⇒ String
Character to mask the sensitive values. If not supplied, defaults to "*".
Corresponds to the JSON property maskingCharacter
960 961 962 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 960 def masking_character @masking_character end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
967 968 969 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 967 def update!(**args) @masking_character = args[:masking_character] if args.key?(:masking_character) end |