Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataSource.
The data source for DataScan.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entity
def entity() -> ::String
-
(::String) — 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}
.Note: The following fields are mutually exclusive:
entity
,resource
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#entity=
def entity=(value) -> ::String
-
value (::String) — 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}
.Note: The following fields are mutually exclusive:
entity
,resource
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — 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}
.Note: The following fields are mutually exclusive:
entity
,resource
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#resource
def resource() -> ::String
-
(::String) — 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
Note: The following fields are mutually exclusive:
resource
,entity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#resource=
def resource=(value) -> ::String
-
value (::String) — 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
Note: The following fields are mutually exclusive:
resource
,entity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — 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
Note: The following fields are mutually exclusive:
resource
,entity
. If a field in that set is populated, all other fields in the set will automatically be cleared.