Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::InspectTemplate (v0.20.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://cloud.google.com/dlp/docs/concepts-templates to learn more.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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