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

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

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_limited_availability_info_types

def allow_limited_availability_info_types() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables the use of limited-availability built-in infoTypes in inspect_config. These infoTypes are supported only in specific regions and can cause scanning errors if used elsewhere.

#allow_limited_availability_info_types=

def allow_limited_availability_info_types=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables the use of limited-availability built-in infoTypes in inspect_config. These infoTypes are supported only in specific regions and can cause scanning errors if used elsewhere.
Returns
  • (::Boolean) — Optional. Enables the use of limited-availability built-in infoTypes in inspect_config. These infoTypes are supported only in specific regions and can cause scanning errors if used elsewhere.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Short description (max 256 chars).

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Short description (max 256 chars).
Returns
  • (::String) — Short description (max 256 chars).

#display_name

def display_name() -> ::String
Returns
  • (::String) — Display name (max 256 chars).

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Display name (max 256 chars).
Returns
  • (::String) — Display name (max 256 chars).

#inspect_config

def inspect_config() -> ::Google::Cloud::Dlp::V2::InspectConfig
Returns

#inspect_config=

def inspect_config=(value) -> ::Google::Cloud::Dlp::V2::InspectConfig
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. The template name.

    The template will have one of the following formats: projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID;

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns