google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.dataform/v1beta1.CompilationResult

Creates a new CompilationResult in a given project and location. Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Create CompilationResult Resource

new CompilationResult(name: string, args: CompilationResultArgs, opts?: CustomResourceOptions);
@overload
def CompilationResult(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      code_compilation_config: Optional[CodeCompilationConfigArgs] = None,
                      git_commitish: Optional[str] = None,
                      location: Optional[str] = None,
                      project: Optional[str] = None,
                      release_config: Optional[str] = None,
                      repository_id: Optional[str] = None,
                      workspace: Optional[str] = None)
@overload
def CompilationResult(resource_name: str,
                      args: CompilationResultArgs,
                      opts: Optional[ResourceOptions] = None)
func NewCompilationResult(ctx *Context, name string, args CompilationResultArgs, opts ...ResourceOption) (*CompilationResult, error)
public CompilationResult(string name, CompilationResultArgs args, CustomResourceOptions? opts = null)
public CompilationResult(String name, CompilationResultArgs args)
public CompilationResult(String name, CompilationResultArgs args, CustomResourceOptions options)
type: google-native:dataform/v1beta1:CompilationResult
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CompilationResultArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CompilationResultArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CompilationResultArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CompilationResultArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CompilationResultArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CompilationResult Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CompilationResult resource accepts the following input properties:

RepositoryId string
CodeCompilationConfig Pulumi.GoogleNative.Dataform.V1Beta1.Inputs.CodeCompilationConfigArgs

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

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

Location string
Project string
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/*.

Workspace string

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

RepositoryId string
CodeCompilationConfig CodeCompilationConfigArgs

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

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

Location string
Project string
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/*.

Workspace string

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

repositoryId String
codeCompilationConfig CodeCompilationConfigArgs

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

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

location String
project String
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/*.

workspace String

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

repositoryId string
codeCompilationConfig CodeCompilationConfigArgs

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

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

location string
project string
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/*.

workspace string

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

repository_id str
code_compilation_config CodeCompilationConfigArgs

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

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

location str
project str
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/*.

workspace str

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

repositoryId String
codeCompilationConfig Property Map

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

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

location String
project String
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/*.

workspace String

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

Outputs

All input properties are implicitly available as output properties. Additionally, the CompilationResult resource produces the following output properties:

CompilationErrors List<Pulumi.GoogleNative.Dataform.V1Beta1.Outputs.CompilationErrorResponse>

Errors encountered during project compilation.

DataformCoreVersion string

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The compilation result's name.

ResolvedGitCommitSha string

The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

CompilationErrors []CompilationErrorResponse

Errors encountered during project compilation.

DataformCoreVersion string

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The compilation result's name.

ResolvedGitCommitSha string

The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

compilationErrors List<CompilationErrorResponse>

Errors encountered during project compilation.

dataformCoreVersion String

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

id String

The provider-assigned unique ID for this managed resource.

name String

The compilation result's name.

resolvedGitCommitSha String

The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

compilationErrors CompilationErrorResponse[]

Errors encountered during project compilation.

dataformCoreVersion string

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

id string

The provider-assigned unique ID for this managed resource.

name string

The compilation result's name.

resolvedGitCommitSha string

The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

compilation_errors Sequence[CompilationErrorResponse]

Errors encountered during project compilation.

dataform_core_version str

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

id str

The provider-assigned unique ID for this managed resource.

name str

The compilation result's name.

resolved_git_commit_sha str

The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

compilationErrors List<Property Map>

Errors encountered during project compilation.

dataformCoreVersion String

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

id String

The provider-assigned unique ID for this managed resource.

name String

The compilation result's name.

resolvedGitCommitSha String

The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

Supporting Types

CodeCompilationConfig

AssertionSchema string

Optional. The default schema (BigQuery dataset ID) for assertions.

DatabaseSuffix string

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

DefaultDatabase string

Optional. The default database (Google Cloud project ID).

DefaultLocation string

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

DefaultSchema string

Optional. The default schema (BigQuery dataset ID).

SchemaSuffix string

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

TablePrefix string

Optional. The prefix that should be prepended to all table names.

Vars Dictionary<string, string>

Optional. User-defined variables that are made available to project code during compilation.

AssertionSchema string

Optional. The default schema (BigQuery dataset ID) for assertions.

DatabaseSuffix string

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

DefaultDatabase string

Optional. The default database (Google Cloud project ID).

DefaultLocation string

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

DefaultSchema string

Optional. The default schema (BigQuery dataset ID).

SchemaSuffix string

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

TablePrefix string

Optional. The prefix that should be prepended to all table names.

Vars map[string]string

Optional. User-defined variables that are made available to project code during compilation.

assertionSchema String

Optional. The default schema (BigQuery dataset ID) for assertions.

databaseSuffix String

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

defaultDatabase String

Optional. The default database (Google Cloud project ID).

defaultLocation String

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

defaultSchema String

Optional. The default schema (BigQuery dataset ID).

schemaSuffix String

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

tablePrefix String

Optional. The prefix that should be prepended to all table names.

vars Map<String,String>

Optional. User-defined variables that are made available to project code during compilation.

assertionSchema string

Optional. The default schema (BigQuery dataset ID) for assertions.

databaseSuffix string

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

defaultDatabase string

Optional. The default database (Google Cloud project ID).

defaultLocation string

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

defaultSchema string

Optional. The default schema (BigQuery dataset ID).

schemaSuffix string

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

tablePrefix string

Optional. The prefix that should be prepended to all table names.

vars {[key: string]: string}

Optional. User-defined variables that are made available to project code during compilation.

assertion_schema str

Optional. The default schema (BigQuery dataset ID) for assertions.

database_suffix str

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

default_database str

Optional. The default database (Google Cloud project ID).

default_location str

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

default_schema str

Optional. The default schema (BigQuery dataset ID).

schema_suffix str

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

table_prefix str

Optional. The prefix that should be prepended to all table names.

vars Mapping[str, str]

Optional. User-defined variables that are made available to project code during compilation.

assertionSchema String

Optional. The default schema (BigQuery dataset ID) for assertions.

databaseSuffix String

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

defaultDatabase String

Optional. The default database (Google Cloud project ID).

defaultLocation String

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

defaultSchema String

Optional. The default schema (BigQuery dataset ID).

schemaSuffix String

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

tablePrefix String

Optional. The prefix that should be prepended to all table names.

vars Map<String>

Optional. User-defined variables that are made available to project code during compilation.

CodeCompilationConfigResponse

AssertionSchema string

Optional. The default schema (BigQuery dataset ID) for assertions.

DatabaseSuffix string

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

DefaultDatabase string

Optional. The default database (Google Cloud project ID).

DefaultLocation string

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

DefaultSchema string

Optional. The default schema (BigQuery dataset ID).

SchemaSuffix string

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

TablePrefix string

Optional. The prefix that should be prepended to all table names.

Vars Dictionary<string, string>

Optional. User-defined variables that are made available to project code during compilation.

AssertionSchema string

Optional. The default schema (BigQuery dataset ID) for assertions.

DatabaseSuffix string

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

DefaultDatabase string

Optional. The default database (Google Cloud project ID).

DefaultLocation string

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

DefaultSchema string

Optional. The default schema (BigQuery dataset ID).

SchemaSuffix string

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

TablePrefix string

Optional. The prefix that should be prepended to all table names.

Vars map[string]string

Optional. User-defined variables that are made available to project code during compilation.

assertionSchema String

Optional. The default schema (BigQuery dataset ID) for assertions.

databaseSuffix String

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

defaultDatabase String

Optional. The default database (Google Cloud project ID).

defaultLocation String

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

defaultSchema String

Optional. The default schema (BigQuery dataset ID).

schemaSuffix String

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

tablePrefix String

Optional. The prefix that should be prepended to all table names.

vars Map<String,String>

Optional. User-defined variables that are made available to project code during compilation.

assertionSchema string

Optional. The default schema (BigQuery dataset ID) for assertions.

databaseSuffix string

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

defaultDatabase string

Optional. The default database (Google Cloud project ID).

defaultLocation string

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

defaultSchema string

Optional. The default schema (BigQuery dataset ID).

schemaSuffix string

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

tablePrefix string

Optional. The prefix that should be prepended to all table names.

vars {[key: string]: string}

Optional. User-defined variables that are made available to project code during compilation.

assertion_schema str

Optional. The default schema (BigQuery dataset ID) for assertions.

database_suffix str

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

default_database str

Optional. The default database (Google Cloud project ID).

default_location str

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

default_schema str

Optional. The default schema (BigQuery dataset ID).

schema_suffix str

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

table_prefix str

Optional. The prefix that should be prepended to all table names.

vars Mapping[str, str]

Optional. User-defined variables that are made available to project code during compilation.

assertionSchema String

Optional. The default schema (BigQuery dataset ID) for assertions.

databaseSuffix String

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

defaultDatabase String

Optional. The default database (Google Cloud project ID).

defaultLocation String

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

defaultSchema String

Optional. The default schema (BigQuery dataset ID).

schemaSuffix String

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

tablePrefix String

Optional. The prefix that should be prepended to all table names.

vars Map<String>

Optional. User-defined variables that are made available to project code during compilation.

CompilationErrorResponse

ActionTarget Pulumi.GoogleNative.Dataform.V1Beta1.Inputs.TargetResponse

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

Message string

The error's top level message.

Path string

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

Stack string

The error's full stack trace.

ActionTarget TargetResponse

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

Message string

The error's top level message.

Path string

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

Stack string

The error's full stack trace.

actionTarget TargetResponse

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

message String

The error's top level message.

path String

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

stack String

The error's full stack trace.

actionTarget TargetResponse

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

message string

The error's top level message.

path string

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

stack string

The error's full stack trace.

action_target TargetResponse

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

message str

The error's top level message.

path str

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

stack str

The error's full stack trace.

actionTarget Property Map

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

message String

The error's top level message.

path String

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

stack String

The error's full stack trace.

TargetResponse

Database string

The action's database (Google Cloud project ID) .

Name string

The action's name, within database and schema.

Schema string

The action's schema (BigQuery dataset ID), within database.

Database string

The action's database (Google Cloud project ID) .

Name string

The action's name, within database and schema.

Schema string

The action's schema (BigQuery dataset ID), within database.

database String

The action's database (Google Cloud project ID) .

name String

The action's name, within database and schema.

schema String

The action's schema (BigQuery dataset ID), within database.

database string

The action's database (Google Cloud project ID) .

name string

The action's name, within database and schema.

schema string

The action's schema (BigQuery dataset ID), within database.

database str

The action's database (Google Cloud project ID) .

name str

The action's name, within database and schema.

schema str

The action's schema (BigQuery dataset ID), within database.

database String

The action's database (Google Cloud project ID) .

name String

The action's name, within database and schema.

schema String

The action's schema (BigQuery dataset ID), within database.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0