Class CompilationResult (0.6.2)

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

Name Description
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. Must be in the format projects/*/locations/*/repositories/*/releaseConfigs/*. This field is a member of oneof_ source.
name str
Output only. The compilation result's name.
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.
data_encryption_state google.cloud.dataform_v1beta1.types.DataEncryptionState
Output only. Only set if the repository has a KMS Key.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp of when the compilation result was created.
internal_metadata str
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. This field is a member of oneof_ _internal_metadata.

Classes

CompilationError

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

An error encountered when attempting to compile a Dataform project.