Class: Google::Privacy::Dlp::V2::CustomInfoType::Regex

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb

Overview

Message defining a custom regular expression.

Instance Attribute Summary collapse

Instance Attribute Details

#group_indexesArray<Integer>

Returns The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.

Returns:

  • (Array<Integer>)

    The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.



131
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 131

class Regex; end

#patternString

Returns Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.

Returns:



131
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 131

class Regex; end