Reference documentation and code samples for the Google Cloud Dataplex V1 Client class BigQueryPublishingConfig.
Describes BigQuery publishing configurations.
Generated from protobuf message google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig
Namespace
Google \ Cloud \ Dataplex \ V1 \ DataDiscoverySpecMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table_type |
int
Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables. |
↳ connection |
string
Optional. The BigQuery connection used to create BigLake tables. Must be in the form |
↳ location |
string
Optional. The location of the BigQuery dataset to publish BigLake external or non-BigLake external tables to. 1. If the Cloud Storage bucket is located in a multi-region bucket, then BigQuery dataset can be in the same multi-region bucket or any single region that is included in the same multi-region bucket. The datascan can be created in any single region that is included in the same multi-region bucket 2. If the Cloud Storage bucket is located in a dual-region bucket, then BigQuery dataset can be located in regions that are included in the dual-region bucket, or in a multi-region that includes the dual-region. The datascan can be created in any single region that is included in the same dual-region bucket. 3. If the Cloud Storage bucket is located in a single region, then BigQuery dataset can be in the same single region or any multi-region bucket that includes the same single region. The datascan will be created in the same single region as the bucket. 4. If the BigQuery dataset is in single region, it must be in the same single region as the datascan. For supported values, refer to https://cloud.google.com/bigquery/docs/locations#supported_locations. |
↳ project |
string
Optional. The project of the BigQuery dataset to publish BigLake external or non-BigLake external tables to. If not specified, the project of the Cloud Storage bucket will be used. The format is "projects/{project_id_or_number}". |
getTableType
Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.
Returns | |
---|---|
Type | Description |
int |
Enum of type TableType. |
setTableType
Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type TableType. |
Returns | |
---|---|
Type | Description |
$this |
getConnection
Optional. The BigQuery connection used to create BigLake tables.
Must be in the form
projects/{project_id}/locations/{location_id}/connections/{connection_id}
Returns | |
---|---|
Type | Description |
string |
setConnection
Optional. The BigQuery connection used to create BigLake tables.
Must be in the form
projects/{project_id}/locations/{location_id}/connections/{connection_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLocation
Optional. The location of the BigQuery dataset to publish BigLake external or non-BigLake external tables to.
- If the Cloud Storage bucket is located in a multi-region bucket, then BigQuery dataset can be in the same multi-region bucket or any single region that is included in the same multi-region bucket. The datascan can be created in any single region that is included in the same multi-region bucket
- If the Cloud Storage bucket is located in a dual-region bucket, then BigQuery dataset can be located in regions that are included in the dual-region bucket, or in a multi-region that includes the dual-region. The datascan can be created in any single region that is included in the same dual-region bucket.
- If the Cloud Storage bucket is located in a single region, then BigQuery dataset can be in the same single region or any multi-region bucket that includes the same single region. The datascan will be created in the same single region as the bucket.
- If the BigQuery dataset is in single region, it must be in the same single region as the datascan. For supported values, refer to https://cloud.google.com/bigquery/docs/locations#supported_locations.
Returns | |
---|---|
Type | Description |
string |
setLocation
Optional. The location of the BigQuery dataset to publish BigLake external or non-BigLake external tables to.
- If the Cloud Storage bucket is located in a multi-region bucket, then BigQuery dataset can be in the same multi-region bucket or any single region that is included in the same multi-region bucket. The datascan can be created in any single region that is included in the same multi-region bucket
- If the Cloud Storage bucket is located in a dual-region bucket, then BigQuery dataset can be located in regions that are included in the dual-region bucket, or in a multi-region that includes the dual-region. The datascan can be created in any single region that is included in the same dual-region bucket.
- If the Cloud Storage bucket is located in a single region, then BigQuery dataset can be in the same single region or any multi-region bucket that includes the same single region. The datascan will be created in the same single region as the bucket.
- If the BigQuery dataset is in single region, it must be in the same single region as the datascan. For supported values, refer to https://cloud.google.com/bigquery/docs/locations#supported_locations.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProject
Optional. The project of the BigQuery dataset to publish BigLake external or non-BigLake external tables to. If not specified, the project of the Cloud Storage bucket will be used. The format is "projects/{project_id_or_number}".
Returns | |
---|---|
Type | Description |
string |
setProject
Optional. The project of the BigQuery dataset to publish BigLake external or non-BigLake external tables to. If not specified, the project of the Cloud Storage bucket will be used. The format is "projects/{project_id_or_number}".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |