Reference documentation and code samples for the Google Cloud Dataform V1 Client class CompilationResult.
Represents the result of compiling a Dataform project.
Generated from protobuf message google.cloud.dataform.v1.CompilationResult
Namespace
Google \ Cloud \ Dataform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ git_commitish
string
Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: 12ade345
- a tag: tag1
- a branch name: branch1
↳ workspace
string
Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*
.
↳ release_config
string
Immutable. The name of the release config to compile. Must be in the format projects/*/locations/*/repositories/*/releaseConfigs/*
.
↳ name
string
Output only. The compilation result's name.
↳ code_compilation_config
CodeCompilationConfig
Immutable. If set, fields of code_compilation_config
override the default compilation settings that are specified in dataform.json.
↳ resolved_git_commit_sha
string
Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
↳ dataform_core_version
string
Output only. The version of @dataform/core
that was used for compilation.
↳ compilation_errors
array< CompilationResult\CompilationError
>
Output only. Errors encountered during project compilation.
↳ data_encryption_state
↳ create_time
↳ internal_metadata
string
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
getGitCommitish
Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples:
- a commit SHA:
12ade345
- a tag:
tag1
- a branch name:
branch1
string
hasGitCommitish
setGitCommitish
Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples:
- a commit SHA:
12ade345
- a tag:
tag1
- a branch name:
branch1
var
string
$this
getWorkspace
Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*
.
string
hasWorkspace
setWorkspace
Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*
.
var
string
$this
getReleaseConfig
Immutable. The name of the release config to compile. Must be in the
format projects/*/locations/*/repositories/*/releaseConfigs/*
.
string
hasReleaseConfig
setReleaseConfig
Immutable. The name of the release config to compile. Must be in the
format projects/*/locations/*/repositories/*/releaseConfigs/*
.
var
string
$this
getName
Output only. The compilation result's name.
string
setName
Output only. The compilation result's name.
var
string
$this
getCodeCompilationConfig
Immutable. If set, fields of code_compilation_config
override the default
compilation settings that are specified in dataform.json.
hasCodeCompilationConfig
clearCodeCompilationConfig
setCodeCompilationConfig
Immutable. If set, fields of code_compilation_config
override the default
compilation settings that are specified in dataform.json.
$this
getResolvedGitCommitSha
Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
string
setResolvedGitCommitSha
Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
var
string
$this
getDataformCoreVersion
Output only. The version of @dataform/core
that was used for compilation.
string
setDataformCoreVersion
Output only. The version of @dataform/core
that was used for compilation.
var
string
$this
getCompilationErrors
Output only. Errors encountered during project compilation.
setCompilationErrors
Output only. Errors encountered during project compilation.
$this
getDataEncryptionState
Output only. Only set if the repository has a KMS Key.
hasDataEncryptionState
clearDataEncryptionState
setDataEncryptionState
Output only. Only set if the repository has a KMS Key.
$this
getCreateTime
Output only. The timestamp of when the compilation result was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp of when the compilation result was created.
$this
getInternalMetadata
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
string
hasInternalMetadata
clearInternalMetadata
setInternalMetadata
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
var
string
$this
getSource
string