Show / Hide Table of Contents

Class GooglePrivacyDlpV2ContentPolicy

A policy to apply to content based on its inspection findings.

Inheritance
object
GooglePrivacyDlpV2ContentPolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DLP.v2.Data
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class GooglePrivacyDlpV2ContentPolicy : IDirectResponseSchema

Properties

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The creation timestamp of a contentPolicy; output-only field.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

DefaultAction

Action to take if the content is scanned and no rules match. Defaults to returning an ALLOW verdict if not set.

Declaration
[JsonProperty("defaultAction")]
public virtual GooglePrivacyDlpV2PolicyAction DefaultAction { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2PolicyAction

DisplayName

Optional. Display name (max 63 chars)

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Errors

Output only. A stream of errors encountered when the policy was applied. Output only field. Will return the last 100 errors. Whenever the policy is modified this list will be cleared.

Declaration
[JsonProperty("errors")]
public virtual IList<GooglePrivacyDlpV2Error> Errors { get; set; }
Property Value
Type Description
IList<GooglePrivacyDlpV2Error>

FailedToScanSupportedFileType

Optional. Action to take if the content is a supported file type and size but fails to be scanned, for example because the file is encrypted or corrupted.

Declaration
[JsonProperty("failedToScanSupportedFileType")]
public virtual GooglePrivacyDlpV2PolicyAction FailedToScanSupportedFileType { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2PolicyAction

InputTooLarge

Optional. Action to take if the content is a supported file type but is too large to be scanned.

Declaration
[JsonProperty("inputTooLarge")]
public virtual GooglePrivacyDlpV2PolicyAction InputTooLarge { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2PolicyAction

InspectConfig

Optional. InspectConfig to use to produce findings.

Declaration
[JsonProperty("inspectConfig")]
public virtual GooglePrivacyDlpV2InspectConfig InspectConfig { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2InspectConfig

InspectTemplate

Optional. InspectTemplate to use to produce findings. Deprecated: use inspect_config instead.

Declaration
[JsonProperty("inspectTemplate")]
public virtual GooglePrivacyDlpV2InspectTemplate InspectTemplate { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2InspectTemplate

LoggingConfigs

Optional. Log the actions taken by the content policy to external systems.

Declaration
[JsonProperty("loggingConfigs")]
public virtual IList<GooglePrivacyDlpV2LoggingConfig> LoggingConfigs { get; set; }
Property Value
Type Description
IList<GooglePrivacyDlpV2LoggingConfig>

Name

Output only. Resource name of the policy.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Rules

Required. Policies to apply, based on the findings returned by inspection. The first rule to match applies.

Declaration
[JsonProperty("rules")]
public virtual IList<GooglePrivacyDlpV2PolicyRule> Rules { get; set; }
Property Value
Type Description
IList<GooglePrivacyDlpV2PolicyRule>

UnsupportedFileType

Optional. Action to take if the content is an unsupported file type.

Declaration
[JsonProperty("unsupportedFileType")]
public virtual GooglePrivacyDlpV2PolicyAction UnsupportedFileType { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2PolicyAction

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The last update timestamp of a contentPolicy; output-only field.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX