Class GooglePrivacyDlpV2DiscoveryConfig
Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
Implements
Inherited Members
Namespace: Google.Apis.DLP.v2.Data
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class GooglePrivacyDlpV2DiscoveryConfig : IDirectResponseSchema
Properties
Actions
Actions to execute at the completion of scanning.
Declaration
[JsonProperty("actions")]
public virtual IList<GooglePrivacyDlpV2DataProfileAction> Actions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GooglePrivacyDlpV2DataProfileAction> |
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 DiscoveryConfig.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Display name (max 100 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 config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
Declaration
[JsonProperty("errors")]
public virtual IList<GooglePrivacyDlpV2Error> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GooglePrivacyDlpV2Error> |
InspectTemplates
Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
Declaration
[JsonProperty("inspectTemplates")]
public virtual IList<string> InspectTemplates { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
LastRunTime
object representation of LastRunTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastRunTimeDateTimeOffset instead.")]
public virtual object LastRunTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
LastRunTimeDateTimeOffset
DateTimeOffset representation of LastRunTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastRunTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
LastRunTimeRaw
Output only. The timestamp of the last time this config was executed.
Declaration
[JsonProperty("lastRunTime")]
public virtual string LastRunTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created,
for example projects/dlp-test-project/locations/global/discoveryConfigs/53234423.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OrgConfig
Only set when the parent is an org.
Declaration
[JsonProperty("orgConfig")]
public virtual GooglePrivacyDlpV2OrgConfig OrgConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| GooglePrivacyDlpV2OrgConfig |
OtherCloudStartingLocation
Must be set only when scanning other clouds.
Declaration
[JsonProperty("otherCloudStartingLocation")]
public virtual GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation OtherCloudStartingLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation |
ProcessingLocation
Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
Declaration
[JsonProperty("processingLocation")]
public virtual GooglePrivacyDlpV2ProcessingLocation ProcessingLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| GooglePrivacyDlpV2ProcessingLocation |
Status
Required. A status for this configuration.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Targets
Target to match against for determining what to scan and how frequently.
Declaration
[JsonProperty("targets")]
public virtual IList<GooglePrivacyDlpV2DiscoveryTarget> Targets { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GooglePrivacyDlpV2DiscoveryTarget> |
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 DiscoveryConfig.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |