Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class WorkspaceCompilationOverrides.
Configures workspace compilation overrides for a repository. Primarily used
by the UI (console.cloud.google.com). schema_suffix and table_prefix
can have a special expression - ${workspaceName}, which refers to the
workspace name from which the compilation results will be created. API
callers are expected to resolve the expression in these overrides and
provide them explicitly in code_compilation_config
(https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig)
when creating workspace-scoped compilation results.
Generated from protobuf message google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides
Namespace
Google \ Cloud \ Dataform \ V1beta1 \ Repository
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).
↳ 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
Type
Description
string
setDefaultDatabase
Optional. The default database (Google Cloud project ID).
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataform V1beta1 Client - Class WorkspaceCompilationOverrides (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1beta1.Repository.WorkspaceCompilationOverrides)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1beta1.Repository.WorkspaceCompilationOverrides) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataform V1beta1 Client class WorkspaceCompilationOverrides.\n\nConfigures workspace compilation overrides for a repository. Primarily used\nby the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix`\ncan have a special expression - `${workspaceName}`, which refers to the\nworkspace name from which the compilation results will be created. API\ncallers are expected to resolve the expression in these overrides and\nprovide them explicitly in `code_compilation_config`\n(\u003chttps://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig\u003e)\nwhen creating workspace-scoped compilation results.\n\nGenerated from protobuf message `google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1beta1 \\\\ Repository\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDefaultDatabase\n\nOptional. The default database (Google Cloud project ID).\n\n### setDefaultDatabase\n\nOptional. The default database (Google Cloud project ID).\n\n### getSchemaSuffix\n\nOptional. The suffix that should be appended to all schema (BigQuery\ndataset ID) names.\n\n### setSchemaSuffix\n\nOptional. The suffix that should be appended to all schema (BigQuery\ndataset ID) names.\n\n### getTablePrefix\n\nOptional. The prefix that should be prepended to all table names.\n\n### setTablePrefix\n\nOptional. The prefix that should be prepended to all table names."]]