Cloud Dataplex v1 API - Class DataScan (2.6.0)

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

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

Represents a user-visible job which provides the insights for the related data source.

For example:

  • Data Quality: generates queries based on the rules and runs against the data to get data quality check results.
  • Data Profile: analyzes the data in table(s) and generates insights about the structure, content and relationships (such as null percent, cardinality, min/max/mean, etc).

Inheritance

object > DataScan

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DataScan()

public DataScan()

DataScan(DataScan)

public DataScan(DataScan other)
Parameter
NameDescription
otherDataScan

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when the scan was created.

Property Value
TypeDescription
Timestamp

Data

public DataSource Data { get; set; }

Required. The data source for DataScan.

Property Value
TypeDescription
DataSource

DataProfileResult

public DataProfileResult DataProfileResult { get; set; }

Output only. The result of the data profile scan.

Property Value
TypeDescription
DataProfileResult

DataProfileSpec

public DataProfileSpec DataProfileSpec { get; set; }

DataProfileScan related setting.

Property Value
TypeDescription
DataProfileSpec

DataQualityResult

public DataQualityResult DataQualityResult { get; set; }

Output only. The result of the data quality scan.

Property Value
TypeDescription
DataQualityResult

DataQualitySpec

public DataQualitySpec DataQualitySpec { get; set; }

DataQualityScan related setting.

Property Value
TypeDescription
DataQualitySpec

DataScanName

public DataScanName DataScanName { get; set; }

DataScanName-typed view over the Name resource name property.

Property Value
TypeDescription
DataScanName

Description

public string Description { get; set; }

Optional. Description of the scan.

  • Must be between 1-1024 characters.
Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

Optional. User friendly display name.

  • Must be between 1-256 characters.
Property Value
TypeDescription
string

ExecutionSpec

public DataScan.Types.ExecutionSpec ExecutionSpec { get; set; }

Optional. DataScan execution settings.

If not specified, the fields in it will use their default values.

Property Value
TypeDescription
DataScanTypesExecutionSpec

ExecutionStatus

public DataScan.Types.ExecutionStatus ExecutionStatus { get; set; }

Output only. Status of the data scan execution.

Property Value
TypeDescription
DataScanTypesExecutionStatus

Labels

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

Optional. User-defined labels for the scan.

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

Property Value
TypeDescription
string

ResultCase

public DataScan.ResultOneofCase ResultCase { get; }
Property Value
TypeDescription
DataScanResultOneofCase

SpecCase

public DataScan.SpecOneofCase SpecCase { get; }
Property Value
TypeDescription
DataScanSpecOneofCase

State

public State State { get; set; }

Output only. Current state of the DataScan.

Property Value
TypeDescription
State

Type

public DataScanType Type { get; set; }

Output only. The type of DataScan.

Property Value
TypeDescription
DataScanType

Uid

public string Uid { get; set; }

Output only. System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name.

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time when the scan was last updated.

Property Value
TypeDescription
Timestamp