# Security Command Center v2 API - Class CloudDlpDataProfile (1.4.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.4.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.3.0/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.2.0/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile)

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

Reference documentation and code samples for the Security Command Center v2 API class CloudDlpDataProfile.

The [data profile](https://cloud.google.com/dlp/docs/data-profiles)
associated with the finding.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CloudDlpDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudDlpDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CloudDlpDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile), [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.SecurityCenter.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)

## Assembly

Google.Cloud.SecurityCenter.V2.dll

## Constructors

### CloudDlpDataProfile()

    public CloudDlpDataProfile()

### CloudDlpDataProfile(CloudDlpDataProfile)

    public CloudDlpDataProfile(CloudDlpDataProfile other)

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

## Properties

### DataProfile

    public string DataProfile { get; set; }

Name of the data profile, for example,
`projects/123/locations/europe/tableProfiles/8383929`.

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

### DataProfileAsTableDataProfileName

    public TableDataProfileName DataProfileAsTableDataProfileName { get; set; }

[TableDataProfileName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.TableDataProfileName)-typed view over the [DataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile#Google_Cloud_SecurityCenter_V2_CloudDlpDataProfile_DataProfile) resource name property.

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

### ParentType

    public CloudDlpDataProfile.Types.ParentType ParentType { get; set; }

The resource hierarchy level at which the data profile was generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfilehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudDlpDataProfile.Types.ParentType` |   |