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
- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of an inspectTemplate.
#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
- (::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
Parameter
- value (::Google::Cloud::Dlp::V2::InspectConfig) — The core content of the template. Configuration of the scanning process.
Returns
- (::Google::Cloud::Dlp::V2::InspectConfig) — The core content of the template. Configuration of the scanning process.
#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
ORorganizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID
;
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of an inspectTemplate.