Cloud Dataplex v1 API - Class DataSource (3.3.0)

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

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

The data source for DataScan.

Inheritance

object > DataSource

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DataSource()

public DataSource()

DataSource(DataSource)

public DataSource(DataSource other)
Parameter
Name Description
other DataSource

Properties

Entity

public string Entity { get; set; }

Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.

Property Value
Type Description
string

EntityAsEntityName

public EntityName EntityAsEntityName { get; set; }

EntityName-typed view over the Entity resource name property.

Property Value
Type Description
EntityName

HasEntity

public bool HasEntity { get; }

Gets whether the "entity" field is set

Property Value
Type Description
bool

HasResource

public bool HasResource { get; }

Gets whether the "resource" field is set

Property Value
Type Description
bool

Resource

public string Resource { get; set; }

Immutable. The service-qualified full resource name of the cloud resource for a DataScan job to scan against. The field could be: BigQuery table of type "TABLE" for DataProfileScan/DataQualityScan Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

Property Value
Type Description
string

SourceCase

public DataSource.SourceOneofCase SourceCase { get; }
Property Value
Type Description
DataSourceSourceOneofCase