Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CharsToIgnore

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

Characters to skip when doing deidentification of a value. These will be left alone and skipped.

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

Returns a new instance of GooglePrivacyDlpV2beta1CharsToIgnore



563
564
565
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 563

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

Instance Attribute Details

#characters_to_skipString

Corresponds to the JSON property charactersToSkip

Returns:

  • (String)


556
557
558
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 556

def characters_to_skip
  @characters_to_skip
end

#common_characters_to_ignoreString

Corresponds to the JSON property commonCharactersToIgnore

Returns:

  • (String)


561
562
563
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 561

def common_characters_to_ignore
  @common_characters_to_ignore
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



568
569
570
571
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 568

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