Class CompilationResult (0.5.8)

CompilationResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the result of compiling a Dataform project.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
name str
Output only. The compilation result's name.
git_commitish str
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 This field is a member of oneof_ source.
workspace str
Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*. This field is a member of oneof_ source.
release_config str
Immutable. The name of the release config to compile. The release config's 'current_compilation_result' field will be updated to this compilation result. Must be in the format projects/*/locations/*/repositories/*/releaseConfigs/*. This field is a member of oneof_ source.
code_compilation_config google.cloud.dataform_v1beta1.types.CodeCompilationConfig
Immutable. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.
resolved_git_commit_sha str
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 str
Output only. The version of @dataform/core that was used for compilation.
compilation_errors MutableSequence[google.cloud.dataform_v1beta1.types.CompilationResult.CompilationError]
Output only. Errors encountered during project compilation.

Classes

CompilationError

CompilationError(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An error encountered when attempting to compile a Dataform project.