Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::CustomInfoType::Regex (v0.10.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CustomInfoType::Regex.

Message defining a custom regular expression.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#group_indexes

def group_indexes() -> ::Array<::Integer>
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.

#group_indexes=

def group_indexes=(value) -> ::Array<::Integer>
Parameter
  • value (::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.
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.

#pattern

def pattern() -> ::String
Returns
  • (::String) — Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.

#pattern=

def pattern=(value) -> ::String
Parameter
  • value (::String) — 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
  • (::String) — Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.