Google Cloud Data Loss Prevention v2 API - Class InspectTemplate (4.4.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/dlp/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
NameDescription
otherInspectTemplate

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of an inspectTemplate.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Short description (max 256 chars).

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Display name (max 256 chars).

Property Value
TypeDescription
String

InspectConfig

public InspectConfig InspectConfig { get; set; }

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

Property Value
TypeDescription
InspectConfig

InspectTemplateName

public InspectTemplateName InspectTemplateName { get; set; }

InspectTemplateName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of an inspectTemplate.

Property Value
TypeDescription
Timestamp