Google Cloud Dataform V1beta1 Client - Class CodeCompilationConfig (0.5.1)

Beta

This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class CodeCompilationConfig.

Configures various aspects of Dataform code compilation.

Generated from protobuf messagegoogle.cloud.dataform.v1beta1.CodeCompilationConfig

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ default_databasestring

Optional. The default database (Google Cloud project ID).

↳ default_schemastring

Optional. The default schema (BigQuery dataset ID).

↳ default_locationstring

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations:https://cloud.google.com/bigquery/docs/locations.

↳ assertion_schemastring

Optional. The default schema (BigQuery dataset ID) for assertions.

↳ varsarray|Google\Protobuf\Internal\MapField

Optional. User-defined variables that are made available to project code during compilation.

↳ database_suffixstring

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

↳ schema_suffixstring

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

↳ table_prefixstring

Optional. The prefix that should be prepended to all table names.

getDefaultDatabase

Optional. The default database (Google Cloud project ID).

Returns
TypeDescription
string

setDefaultDatabase

Optional. The default database (Google Cloud project ID).

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getDefaultSchema

Optional. The default schema (BigQuery dataset ID).

Returns
TypeDescription
string

setDefaultSchema

Optional. The default schema (BigQuery dataset ID).

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getDefaultLocation

Optional. The default BigQuery location to use. Defaults to "US".

See the BigQuery docs for a full list of locations:https://cloud.google.com/bigquery/docs/locations.

Returns
TypeDescription
string

setDefaultLocation

Optional. The default BigQuery location to use. Defaults to "US".

See the BigQuery docs for a full list of locations:https://cloud.google.com/bigquery/docs/locations.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAssertionSchema

Optional. The default schema (BigQuery dataset ID) for assertions.

Returns
TypeDescription
string

setAssertionSchema

Optional. The default schema (BigQuery dataset ID) for assertions.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getVars

Optional. User-defined variables that are made available to project codeduring compilation.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setVars

Optional. User-defined variables that are made available to project codeduring compilation.

Parameter
NameDescription
vararray|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getDatabaseSuffix

Optional. The suffix that should be appended to all database (Google Cloudproject ID) names.

Returns
TypeDescription
string

setDatabaseSuffix

Optional. The suffix that should be appended to all database (Google Cloudproject ID) names.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getSchemaSuffix

Optional. The suffix that should be appended to all schema (BigQuerydataset ID) names.

Returns
TypeDescription
string

setSchemaSuffix

Optional. The suffix that should be appended to all schema (BigQuerydataset ID) names.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getTablePrefix

Optional. The prefix that should be prepended to all table names.

Returns
TypeDescription
string

setTablePrefix

Optional. The prefix that should be prepended to all table names.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-09 UTC.