REST Resource: projects.locations.repositories.compilationResults

Resource: CompilationResult

Represents the result of compiling a Dataform project.

JSON representation
{
  "name": string,
  "codeCompilationConfig": {
    object (CodeCompilationConfig)
  },
  "resolvedGitCommitSha": string,
  "dataformCoreVersion": string,
  "compilationErrors": [
    {
      object (CompilationError)
    }
  ],

  // Union field source can be only one of the following:
  "gitCommitish": string,
  "workspace": string,
  "releaseConfig": string
  // End of list of possible types for union field source.
}
Fields
name

string

Output only. The compilation result's name.

codeCompilationConfig

object (CodeCompilationConfig)

Immutable. If set, fields of codeCompilationConfig override the default compilation settings that are specified in dataform.json.

resolvedGitCommitSha

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.

dataformCoreVersion

string

Output only. The version of @dataform/core that was used for compilation.

compilationErrors[]

object (CompilationError)

Output only. Errors encountered during project compilation.

Union field source.

source can be only one of the following:

gitCommitish

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/*.

releaseConfig

string

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/*.

CompilationError

An error encountered when attempting to compile a Dataform project.

JSON representation
{
  "message": string,
  "stack": string,
  "path": string,
  "actionTarget": {
    object (Target)
  }
}
Fields
message

string

Output only. The error's top level message.

stack

string

Output only. The error's full stack trace.

path

string

Output only. The path of the file where this error occurred, if available, relative to the project root.

actionTarget

object (Target)

Output only. The identifier of the action where this error occurred, if available.

Methods

create

Creates a new CompilationResult in a given project and location.

get

Fetches a single CompilationResult.

list

Lists CompilationResults in a given Repository.

query

Returns CompilationResultActions in a given CompilationResult.