Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::TagFilter (v1.17.0)

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

A single tag to filter against.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#namespaced_tag_key

def namespaced_tag_key() -> ::String
Returns
  • (::String) — The namespaced name for the tag key. Must be in the format {parent_id}/{tag_key_short_name}, for example, "123456/sensitive" for an organization parent, or "my-project/sensitive" for a project parent.

    Note: The following fields are mutually exclusive: namespaced_tag_key, namespaced_tag_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#namespaced_tag_key=

def namespaced_tag_key=(value) -> ::String
Parameter
  • value (::String) — The namespaced name for the tag key. Must be in the format {parent_id}/{tag_key_short_name}, for example, "123456/sensitive" for an organization parent, or "my-project/sensitive" for a project parent.

    Note: The following fields are mutually exclusive: namespaced_tag_key, namespaced_tag_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The namespaced name for the tag key. Must be in the format {parent_id}/{tag_key_short_name}, for example, "123456/sensitive" for an organization parent, or "my-project/sensitive" for a project parent.

    Note: The following fields are mutually exclusive: namespaced_tag_key, namespaced_tag_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#namespaced_tag_value

def namespaced_tag_value() -> ::String
Returns
  • (::String) — The namespaced name for the tag value. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}, for example, "123456/environment/prod" for an organization parent, or "my-project/environment/prod" for a project parent.

    Note: The following fields are mutually exclusive: namespaced_tag_value, namespaced_tag_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

#namespaced_tag_value=

def namespaced_tag_value=(value) -> ::String
Parameter
  • value (::String) — The namespaced name for the tag value. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}, for example, "123456/environment/prod" for an organization parent, or "my-project/environment/prod" for a project parent.

    Note: The following fields are mutually exclusive: namespaced_tag_value, namespaced_tag_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The namespaced name for the tag value. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}, for example, "123456/environment/prod" for an organization parent, or "my-project/environment/prod" for a project parent.

    Note: The following fields are mutually exclusive: namespaced_tag_value, namespaced_tag_key. If a field in that set is populated, all other fields in the set will automatically be cleared.