Google Cloud Data Loss Prevention v2 API - Class InspectTemplate (4.14.0)

public sealed class InspectTemplate : IMessage<InspectTemplate>, IEquatable<InspectTemplate>, IDeepCloneable<InspectTemplate>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class 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.

Inheritance

object > InspectTemplate

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

InspectTemplate()

public InspectTemplate()

InspectTemplate(InspectTemplate)

public InspectTemplate(InspectTemplate other)
Parameter
Name Description
other InspectTemplate

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of an inspectTemplate.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Short description (max 256 chars).

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Display name (max 256 chars).

Property Value
Type Description
string

InspectConfig

public InspectConfig InspectConfig { get; set; }

The core content of the template. Configuration of the scanning process.

Property Value
Type Description
InspectConfig

InspectTemplateName

public InspectTemplateName InspectTemplateName { get; set; }

InspectTemplateName-typed view over the Name resource name property.

Property Value
Type Description
InspectTemplateName

Name

public string Name { get; set; }

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;

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of an inspectTemplate.

Property Value
Type Description
Timestamp