3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Cloud Dataplex v1 API class DataProfileSpec.

DataProfileScan related setting.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DataProfileSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProfileSpec.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataProfileSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProfileSpec.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DataProfileSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.DataProfileSpec.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### DataProfileSpec()

    public DataProfileSpec()

### DataProfileSpec(DataProfileSpec)

    public DataProfileSpec(DataProfileSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DataProfileSpec` |

## Properties

### CatalogPublishingEnabled

    public bool CatalogPublishingEnabled { get; set; }

Optional. If set, the latest DataScan job result will be published as
Dataplex Universal Catalog metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ExcludeFields

    public DataProfileSpec.Types.SelectedFields ExcludeFields { get; set; }

Optional. The fields to exclude from data profile.

If specified, the fields will be excluded from data profile, regardless of
`include_fields` value.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataProfileSpecTypesSelectedFields` |   |

### IncludeFields

    public DataProfileSpec.Types.SelectedFields IncludeFields { get; set; }

Optional. The fields to include in data profile.

If not specified, all fields at the time of profile scan job execution are
included, except for ones listed in `exclude_fields`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataProfileSpecTypesSelectedFields` |   |

### Mode

    public DataProfileSpec.Types.Mode Mode { get; set; }

Optional. The execution mode for the profile scan.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataProfileSpecTypesMode` |   |

### PostScanActions

    public DataProfileSpec.Types.PostScanActions PostScanActions { get; set; }

Optional. Actions to take upon job completion..

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataProfileSpecTypesPostScanActions` |   |

### RowFilter

    public string RowFilter { get; set; }

Optional. A filter applied to all rows in a single DataScan job.
The filter needs to be a valid SQL expression for a WHERE clause in
BigQuery standard SQL syntax.
Example: col1 \>= 0 AND col2 \< 10

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SamplingPercent

    public float SamplingPercent { get; set; }

Optional. The percentage of the records to be selected from the dataset for
DataScan.

- Value can range between 0.0 and 100.0 with up to 3 significant decimal digits.
- Sampling is not applied if `sampling_percent` is not specified, 0 or 100.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |