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.
Implements
IMessageDataSource, IEquatableDataSource, IDeepCloneableDataSource, IBufferMessage, IMessageNamespace
Google.Cloud.Dataplex.V1Assembly
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 Universal Catalog 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 either be: Cloud Storage bucket for DataDiscoveryScan Format: //storage.googleapis.com/projects/PROJECT_ID/buckets/BUCKET_ID or 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 |