Google Cloud Dataform V1beta1 Client - Class CodeCompilationConfig (0.4.0)

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

Configures various aspects of Dataform code compilation.

Generated from protobuf message google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ CompilationResult

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ default_database string

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

↳ default_schema string

Optional. The default schema (BigQuery dataset ID).

↳ default_location string

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_schema string

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

↳ vars array|Google\Protobuf\Internal\MapField

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

↳ database_suffix string

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

↳ schema_suffix string

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

↳ table_prefix string

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
var string
Returns
TypeDescription
$this

getDefaultSchema

Optional. The default schema (BigQuery dataset ID).

Returns
TypeDescription
string

setDefaultSchema

Optional. The default schema (BigQuery dataset ID).

Parameter
NameDescription
var string
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
var string
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
var string
Returns
TypeDescription
$this

getVars

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setVars

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

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

getDatabaseSuffix

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

Returns
TypeDescription
string

setDatabaseSuffix

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSchemaSuffix

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

Returns
TypeDescription
string

setSchemaSuffix

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

Parameter
NameDescription
var string
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
var string
Returns
TypeDescription
$this