Cloud Dataplex v1 API - Class DataSource (2.12.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
NameDescription
otherDataSource

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
TypeDescription
string

EntityAsEntityName

public EntityName EntityAsEntityName { get; set; }

EntityName-typed view over the Entity resource name property.

Property Value
TypeDescription
EntityName

HasEntity

public bool HasEntity { get; }

Gets whether the "entity" field is set

Property Value
TypeDescription
bool

HasResource

public bool HasResource { get; }

Gets whether the "resource" field is set

Property Value
TypeDescription
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
TypeDescription
string

SourceCase

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