Class: Google::Cloud::Dlp::V2::CharsToIgnore

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

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

Defined Under Namespace

Modules: CommonCharsToIgnore

Instance Attribute Summary collapse

Instance Attribute Details

#characters_to_skip::String

Returns Characters to not transform when masking.

Returns:

  • (::String)

    Characters to not transform when masking.



2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2451

class CharsToIgnore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Convenience enum for indicating common characters to not transform.
  module CommonCharsToIgnore
    # Unused.
    COMMON_CHARS_TO_IGNORE_UNSPECIFIED = 0

    # 0-9
    NUMERIC = 1

    # A-Z
    ALPHA_UPPER_CASE = 2

    # a-z
    ALPHA_LOWER_CASE = 3

    # US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
    PUNCTUATION = 4

    # Whitespace character, one of [ \t\n\x0B\f\r]
    WHITESPACE = 5
  end
end

#common_characters_to_ignore::Google::Cloud::Dlp::V2::CharsToIgnore::CommonCharsToIgnore

Returns Common characters to not transform when masking. Useful to avoid removing punctuation.

Returns:



2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2451

class CharsToIgnore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Convenience enum for indicating common characters to not transform.
  module CommonCharsToIgnore
    # Unused.
    COMMON_CHARS_TO_IGNORE_UNSPECIFIED = 0

    # 0-9
    NUMERIC = 1

    # A-Z
    ALPHA_UPPER_CASE = 2

    # a-z
    ALPHA_LOWER_CASE = 3

    # US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
    PUNCTUATION = 4

    # Whitespace character, one of [ \t\n\x0B\f\r]
    WHITESPACE = 5
  end
end