0.18.0 (latest) 0.17.1 0.16.0 0.15.3 0.12.0 0.11.0 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataform V1 Client class CodeCompilationConfig.

Configures various aspects of Dataform code compilation.

Generated from protobuf message `google.cloud.dataform.v1.CodeCompilationConfig`

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `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-0google-0com.linkedin.net.nz/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. |
| `↳ builtin_assertion_name_prefix` | `string` Optional. The prefix to prepend to built-in assertion names. |
| `↳ default_notebook_runtime_options` | `https://docs-0cloud-0google-0com.linkedin.net.nz/php/docs/reference/cloud-dataform/latest/V1.NotebookRuntimeOptions` Optional. The default notebook runtime options. |
| `↳ pipeline_config` | `https://docs-0cloud-0google-0com.linkedin.net.nz/php/docs/reference/cloud-dataform/latest/V1.PipelineConfig` Optional. The pipeline options which defines the pipeline type and path within the Git repository. |
| `↳ lineage_enabled` | `bool` Output only. Whether OpenLineage events are emitted for actions in this workflow. Reflects the `lineage.enabled` setting from `workflow_settings.yaml`. |

### getDefaultDatabase

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDefaultDatabase

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDefaultSchema

Optional. The default schema (BigQuery dataset ID).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDefaultSchema

Optional. The default schema (BigQuery dataset ID).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDefaultLocation

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

See the BigQuery docs for a full list of locations:
<https://cloud-0google-0com.linkedin.net.nz/bigquery/docs/locations>.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDefaultLocation

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

See the BigQuery docs for a full list of locations:
<https://cloud-0google-0com.linkedin.net.nz/bigquery/docs/locations>.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAssertionSchema

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setAssertionSchema

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getVars

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setVars

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDatabaseSuffix

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDatabaseSuffix

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSchemaSuffix

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSchemaSuffix

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTablePrefix

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTablePrefix

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBuiltinAssertionNamePrefix

Optional. The prefix to prepend to built-in assertion names.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setBuiltinAssertionNamePrefix

Optional. The prefix to prepend to built-in assertion names.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDefaultNotebookRuntimeOptions

Optional. The default notebook runtime options.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs-0cloud-0google-0com.linkedin.net.nz/php/docs/reference/cloud-dataform/latest/V1.NotebookRuntimeOptions|null` |   |

### hasDefaultNotebookRuntimeOptions

### clearDefaultNotebookRuntimeOptions

### setDefaultNotebookRuntimeOptions

Optional. The default notebook runtime options.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs-0cloud-0google-0com.linkedin.net.nz/php/docs/reference/cloud-dataform/latest/V1.NotebookRuntimeOptions` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPipelineConfig

Optional. The pipeline options which defines the pipeline type and path
within the Git repository.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs-0cloud-0google-0com.linkedin.net.nz/php/docs/reference/cloud-dataform/latest/V1.PipelineConfig|null` |   |

### hasPipelineConfig

### clearPipelineConfig

### setPipelineConfig

Optional. The pipeline options which defines the pipeline type and path
within the Git repository.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs-0cloud-0google-0com.linkedin.net.nz/php/docs/reference/cloud-dataform/latest/V1.PipelineConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLineageEnabled

Output only. Whether OpenLineage events are emitted for actions in this
workflow. Reflects the `lineage.enabled` setting from
`workflow_settings.yaml`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasLineageEnabled

### clearLineageEnabled

### setLineageEnabled

Output only. Whether OpenLineage events are emitted for actions in this
workflow. Reflects the `lineage.enabled` setting from
`workflow_settings.yaml`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |