# Google Cloud Data Loss Prevention v2 API - Class TableDataProfile (4.26.0)

4.26.0 (latest) 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.0 2.16.0 2.15.0

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

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class TableDataProfile.

The profile for a scanned table.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TableDataProfile

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TableDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TableDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TableDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dlp.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)

## Assembly

Google.Cloud.Dlp.V2.dll

## Constructors

### TableDataProfile()

    public TableDataProfile()

### TableDataProfile(TableDataProfile)

    public TableDataProfile(TableDataProfile other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile` |

## Properties

### ConfigSnapshot

    public DataProfileConfigSnapshot ConfigSnapshot { get; set; }

The snapshot of the configurations used to generate the profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DataProfileConfigSnapshot` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

The time at which the table was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### DataRiskLevel

    public DataRiskLevel DataRiskLevel { get; set; }

The data risk level of this table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DataRiskLevel` |   |

### DataSourceType

    public DataSourceType DataSourceType { get; set; }

The resource type that was profiled.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DataSourceType` |   |

### DatasetId

    public string DatasetId { get; set; }

If the resource is BigQuery, the dataset ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DatasetLocation

    public string DatasetLocation { get; set; }

If supported, the location where the dataset's data is stored.
See <https://cloud.google.com/bigquery/docs/locations> for supported
locations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DatasetProjectId

    public string DatasetProjectId { get; set; }

The Google Cloud project ID that owns the resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Domains

    public RepeatedField<Domain> Domains { get; }

Domains associated with the profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Domain` |   |

### EncryptionStatus

    public EncryptionStatus EncryptionStatus { get; set; }

How the table is encrypted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.EncryptionStatus` |   |

### ExpirationTime

    public Timestamp ExpirationTime { get; set; }

Optional. The time when this table expires.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### FailedColumnCount

    public long FailedColumnCount { get; set; }

The number of columns skipped in the table because of an error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### FullResource

    public string FullResource { get; set; }

The Cloud Asset Inventory resource that was profiled in order to generate
this TableDataProfile.
<https://cloud.google.com/apis/design/resource_names#full_resource_name>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### LastModifiedTime

    public Timestamp LastModifiedTime { get; set; }

The time when this table was last modified

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Name

    public string Name { get; set; }

The name of the profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OtherInfoTypes

    public RepeatedField<OtherInfoTypeSummary> OtherInfoTypes { get; }

Other infoTypes found in this table's data.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.OtherInfoTypeSummary` |   |

### PredictedInfoTypes

    public RepeatedField<InfoTypeSummary> PredictedInfoTypes { get; }

The infoTypes predicted from this table's data.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InfoTypeSummary` |   |

### ProfileLastGenerated

    public Timestamp ProfileLastGenerated { get; set; }

The last time the profile was generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### ProfileStatus

    public ProfileStatus ProfileStatus { get; set; }

Success or error status from the most recent profile generation attempt.
May be empty if the profile is still being generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ProfileStatus` |   |

### ProjectDataProfile

    public string ProjectDataProfile { get; set; }

The resource name of the project data profile for this table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RelatedResources

    public RepeatedField<RelatedResource> RelatedResources { get; }

Resources related to this profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.RelatedResource` |   |

### ResourceLabels

    public MapField<string, string> ResourceLabels { get; }

The labels applied to the resource at the time the profile was generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### ResourceVisibility

    public ResourceVisibility ResourceVisibility { get; set; }

How broadly a resource has been shared.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ResourceVisibility` |   |

### RowCount

    public long RowCount { get; set; }

Number of rows in the table when the profile was generated.
This will not be populated for BigLake tables.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### SampleFindingsTable

    public BigQueryTable SampleFindingsTable { get; set; }

The BigQuery table to which the sample findings are written.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.BigQueryTable` |   |

### ScannedColumnCount

    public long ScannedColumnCount { get; set; }

The number of columns profiled in the table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### SensitivityScore

    public SensitivityScore SensitivityScore { get; set; }

The sensitivity score of this table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.SensitivityScore` |   |

### State

    public TableDataProfile.Types.State State { get; set; }

State of a profile. This will always be set to DONE when the table data
profile is written to another service like BigQuery or Pub/Sub.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfilehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile.Types.State` |   |

### TableDataProfileName

    public TableDataProfileName TableDataProfileName { get; set; }

[TableDataProfileName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfileName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile#Google_Cloud_Dlp_V2_TableDataProfile_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfileName` |   |

### TableId

    public string TableId { get; set; }

The table ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TableSizeBytes

    public long TableSizeBytes { get; set; }

The size of the table when the profile was generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### Tags

    public RepeatedField<Tag> Tags { get; }

The tags attached to the table, including any tags attached during
profiling. Because tags are attached to Cloud SQL instances rather than
Cloud SQL tables, this field is empty for Cloud SQL table profiles.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Tag` |   |