Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::CustomInfoType::MetadataKeyValueExpression (v1.16.0)

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

Configuration for a custom infoType that detects key-value pairs in the metadata matching the specified regular expressions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key_regex

def key_regex() -> ::String
Returns
  • (::String) — The regular expression for the key. Key should be non-empty.

#key_regex=

def key_regex=(value) -> ::String
Parameter
  • value (::String) — The regular expression for the key. Key should be non-empty.
Returns
  • (::String) — The regular expression for the key. Key should be non-empty.

#value_regex

def value_regex() -> ::String
Returns
  • (::String) — The regular expression for the value. Value should be non-empty.

#value_regex=

def value_regex=(value) -> ::String
Parameter
  • value (::String) — The regular expression for the value. Value should be non-empty.
Returns
  • (::String) — The regular expression for the value. Value should be non-empty.