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