Google Cloud Dataplex V1 Client - Class BigQueryPublishingConfig (1.4.0)

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 \ DataDiscoverySpec

Methods

__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 projects/{project_id}/locations/{location_id}/connections/{connection_id}

↳ 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.

getTableType

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

Returns
Type Description
int

setTableType

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

Parameter
Name Description
var int
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.

  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.
Returns
Type Description
string

setLocation

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.
Parameter
Name Description
var string
Returns
Type Description
$this