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/sensitive-data-protection/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
- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of an inspectTemplate.
#description
def description() -> ::String
- (::String) — Short description (max 256 chars).
#description=
def description=(value) -> ::String
- value (::String) — Short description (max 256 chars).
- (::String) — Short description (max 256 chars).
#display_name
def display_name() -> ::String
- (::String) — Display name (max 256 chars).
#display_name=
def display_name=(value) -> ::String
- value (::String) — Display name (max 256 chars).
- (::String) — Display name (max 256 chars).
#inspect_config
def inspect_config() -> ::Google::Cloud::Dlp::V2::InspectConfig
- (::Google::Cloud::Dlp::V2::InspectConfig) — The core content of the template. Configuration of the scanning process.
#inspect_config=
def inspect_config=(value) -> ::Google::Cloud::Dlp::V2::InspectConfig
- value (::Google::Cloud::Dlp::V2::InspectConfig) — The core content of the template. Configuration of the scanning process.
- (::Google::Cloud::Dlp::V2::InspectConfig) — The core content of the template. Configuration of the scanning process.
#name
def name() -> ::String
-
(::String) — Output only. The template name.
The template will have one of the following formats:
projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID
ORorganizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID
;
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of an inspectTemplate.