Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dataform/v1beta1.getCompilationResult
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Fetches a single CompilationResult.
Using getCompilationResult
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCompilationResult(args: GetCompilationResultArgs, opts?: InvokeOptions): Promise<GetCompilationResultResult>
function getCompilationResultOutput(args: GetCompilationResultOutputArgs, opts?: InvokeOptions): Output<GetCompilationResultResult>def get_compilation_result(compilation_result_id: Optional[str] = None,
                           location: Optional[str] = None,
                           project: Optional[str] = None,
                           repository_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCompilationResultResult
def get_compilation_result_output(compilation_result_id: Optional[pulumi.Input[str]] = None,
                           location: Optional[pulumi.Input[str]] = None,
                           project: Optional[pulumi.Input[str]] = None,
                           repository_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCompilationResultResult]func LookupCompilationResult(ctx *Context, args *LookupCompilationResultArgs, opts ...InvokeOption) (*LookupCompilationResultResult, error)
func LookupCompilationResultOutput(ctx *Context, args *LookupCompilationResultOutputArgs, opts ...InvokeOption) LookupCompilationResultResultOutput> Note: This function is named LookupCompilationResult in the Go SDK.
public static class GetCompilationResult 
{
    public static Task<GetCompilationResultResult> InvokeAsync(GetCompilationResultArgs args, InvokeOptions? opts = null)
    public static Output<GetCompilationResultResult> Invoke(GetCompilationResultInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCompilationResultResult> getCompilationResult(GetCompilationResultArgs args, InvokeOptions options)
public static Output<GetCompilationResultResult> getCompilationResult(GetCompilationResultArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:dataform/v1beta1:getCompilationResult
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Compilation
Result stringId  - Location string
 - Repository
Id string - Project string
 
- Compilation
Result stringId  - Location string
 - Repository
Id string - Project string
 
- compilation
Result StringId  - location String
 - repository
Id String - project String
 
- compilation
Result stringId  - location string
 - repository
Id string - project string
 
- compilation_
result_ strid  - location str
 - repository_
id str - project str
 
- compilation
Result StringId  - location String
 - repository
Id String - project String
 
getCompilationResult Result
The following output properties are available:
- Code
Compilation Pulumi.Config Google Native. Dataform. V1Beta1. Outputs. Code Compilation Config Response  - Immutable. If set, fields of 
code_compilation_configoverride the default compilation settings that are specified in dataform.json. - Compilation
Errors List<Pulumi.Google Native. Dataform. V1Beta1. Outputs. Compilation Error Response>  - Errors encountered during project compilation.
 - Dataform
Core stringVersion  - The version of 
@dataform/corethat was used for compilation. - 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 - Name string
 - The compilation result's name.
 - Release
Config 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/*. - Resolved
Git stringCommit Sha  - The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
 - Workspace string
 - Immutable. The name of the workspace to compile. Must be in the format 
projects/*/locations/*/repositories/*/workspaces/*. 
- Code
Compilation CodeConfig Compilation Config Response  - Immutable. If set, fields of 
code_compilation_configoverride the default compilation settings that are specified in dataform.json. - Compilation
Errors []CompilationError Response  - Errors encountered during project compilation.
 - Dataform
Core stringVersion  - The version of 
@dataform/corethat was used for compilation. - 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 - Name string
 - The compilation result's name.
 - Release
Config 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/*. - Resolved
Git stringCommit Sha  - The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
 - Workspace string
 - Immutable. The name of the workspace to compile. Must be in the format 
projects/*/locations/*/repositories/*/workspaces/*. 
- code
Compilation CodeConfig Compilation Config Response  - Immutable. If set, fields of 
code_compilation_configoverride the default compilation settings that are specified in dataform.json. - compilation
Errors List<CompilationError Response>  - Errors encountered during project compilation.
 - dataform
Core StringVersion  - The version of 
@dataform/corethat was used for compilation. - 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 - name String
 - The compilation result's name.
 - release
Config 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/*. - resolved
Git StringCommit Sha  - The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
 - workspace String
 - Immutable. The name of the workspace to compile. Must be in the format 
projects/*/locations/*/repositories/*/workspaces/*. 
- code
Compilation CodeConfig Compilation Config Response  - Immutable. If set, fields of 
code_compilation_configoverride the default compilation settings that are specified in dataform.json. - compilation
Errors CompilationError Response[]  - Errors encountered during project compilation.
 - dataform
Core stringVersion  - The version of 
@dataform/corethat was used for compilation. - 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 - name string
 - The compilation result's name.
 - release
Config 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/*. - resolved
Git stringCommit Sha  - The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
 - workspace string
 - Immutable. The name of the workspace to compile. Must be in the format 
projects/*/locations/*/repositories/*/workspaces/*. 
- code_
compilation_ Codeconfig Compilation Config Response  - Immutable. If set, fields of 
code_compilation_configoverride the default compilation settings that are specified in dataform.json. - compilation_
errors Sequence[CompilationError Response]  - Errors encountered during project compilation.
 - dataform_
core_ strversion  - The version of 
@dataform/corethat was used for compilation. - 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 - name str
 - The compilation result's name.
 - 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/*. - resolved_
git_ strcommit_ sha  - The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
 - workspace str
 - Immutable. The name of the workspace to compile. Must be in the format 
projects/*/locations/*/repositories/*/workspaces/*. 
- code
Compilation Property MapConfig  - Immutable. If set, fields of 
code_compilation_configoverride the default compilation settings that are specified in dataform.json. - compilation
Errors List<Property Map> - Errors encountered during project compilation.
 - dataform
Core StringVersion  - The version of 
@dataform/corethat was used for compilation. - 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 - name String
 - The compilation result's name.
 - release
Config 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/*. - resolved
Git StringCommit Sha  - The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
 - workspace String
 - Immutable. The name of the workspace to compile. Must be in the format 
projects/*/locations/*/repositories/*/workspaces/*. 
Supporting Types
CodeCompilationConfigResponse   
- Assertion
Schema string - Optional. The default schema (BigQuery dataset ID) for assertions.
 - Database
Suffix string - Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
 - Default
Database string - Optional. The default database (Google Cloud project ID).
 - Default
Location 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.
 - Default
Schema string - Optional. The default schema (BigQuery dataset ID).
 - Schema
Suffix string - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
 - Table
Prefix 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.
 
- Assertion
Schema string - Optional. The default schema (BigQuery dataset ID) for assertions.
 - Database
Suffix string - Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
 - Default
Database string - Optional. The default database (Google Cloud project ID).
 - Default
Location 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.
 - Default
Schema string - Optional. The default schema (BigQuery dataset ID).
 - Schema
Suffix string - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
 - Table
Prefix 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.
 
- assertion
Schema String - Optional. The default schema (BigQuery dataset ID) for assertions.
 - database
Suffix String - Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
 - default
Database String - Optional. The default database (Google Cloud project ID).
 - default
Location 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.
 - default
Schema String - Optional. The default schema (BigQuery dataset ID).
 - schema
Suffix String - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
 - table
Prefix 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.
 
- assertion
Schema string - Optional. The default schema (BigQuery dataset ID) for assertions.
 - database
Suffix string - Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
 - default
Database string - Optional. The default database (Google Cloud project ID).
 - default
Location 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.
 - default
Schema string - Optional. The default schema (BigQuery dataset ID).
 - schema
Suffix string - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
 - table
Prefix 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.
 
- assertion
Schema String - Optional. The default schema (BigQuery dataset ID) for assertions.
 - database
Suffix String - Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
 - default
Database String - Optional. The default database (Google Cloud project ID).
 - default
Location 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.
 - default
Schema String - Optional. The default schema (BigQuery dataset ID).
 - schema
Suffix String - Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
 - table
Prefix 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  
- Action
Target Pulumi.Google Native. Dataform. V1Beta1. Inputs. Target Response  - 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 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 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 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.
 
- action
Target 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 
Package Details
- Repository
 - Google Cloud Native pulumi/pulumi-google-native
 - License
 - Apache-2.0
 
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi