blob: 6b753b90b172d7344564532f0119b4e0a49728b5 [file]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="dataform_v1.html">Dataform API</a> . <a href="dataform_v1.projects.html">projects</a> . <a href="dataform_v1.projects.locations.html">locations</a> . <a href="dataform_v1.projects.locations.repositories.html">repositories</a> . <a href="dataform_v1.projects.locations.repositories.compilationResults.html">compilationResults</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new CompilationResult in a given project and location.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Fetches a single CompilationResult.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists CompilationResults in a given Repository.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#query">query(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns CompilationResultActions in a given CompilationResult.</p>
<p class="toc_element">
<code><a href="#query_next">query_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
<pre>Creates a new CompilationResult in a given project and location.
Args:
parent: string, Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. (required)
body: object, The request body.
The object takes the form of:
{ # Represents the result of compiling a Dataform project.
&quot;codeCompilationConfig&quot;: { # Configures various aspects of Dataform code compilation. # Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json.
&quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
&quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
&quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
&quot;defaultLocation&quot;: &quot;A String&quot;, # Optional. The default BigQuery location to use. Defaults to &quot;US&quot;. See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.
&quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
&quot;aiPlatformNotebookRuntimeTemplate&quot;: &quot;A String&quot;, # Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab&#x27;s default specifications.
&quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
},
&quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
&quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
&quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
{ # An error encountered when attempting to compile a Dataform project.
&quot;actionTarget&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # Output only. The identifier of the action where this error occurred, if available.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
&quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
&quot;path&quot;: &quot;A String&quot;, # Output only. The path of the file where this error occurred, if available, relative to the project root.
&quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
&quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
},
&quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
&quot;gitCommitish&quot;: &quot;A String&quot;, # 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`
&quot;internalMetadata&quot;: &quot;A String&quot;, # 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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
&quot;releaseConfig&quot;: &quot;A String&quot;, # Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
&quot;resolvedGitCommitSha&quot;: &quot;A String&quot;, # Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
&quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents the result of compiling a Dataform project.
&quot;codeCompilationConfig&quot;: { # Configures various aspects of Dataform code compilation. # Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json.
&quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
&quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
&quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
&quot;defaultLocation&quot;: &quot;A String&quot;, # Optional. The default BigQuery location to use. Defaults to &quot;US&quot;. See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.
&quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
&quot;aiPlatformNotebookRuntimeTemplate&quot;: &quot;A String&quot;, # Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab&#x27;s default specifications.
&quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
},
&quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
&quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
&quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
{ # An error encountered when attempting to compile a Dataform project.
&quot;actionTarget&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # Output only. The identifier of the action where this error occurred, if available.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
&quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
&quot;path&quot;: &quot;A String&quot;, # Output only. The path of the file where this error occurred, if available, relative to the project root.
&quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
&quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
},
&quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
&quot;gitCommitish&quot;: &quot;A String&quot;, # 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`
&quot;internalMetadata&quot;: &quot;A String&quot;, # 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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
&quot;releaseConfig&quot;: &quot;A String&quot;, # Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
&quot;resolvedGitCommitSha&quot;: &quot;A String&quot;, # Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
&quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
}</pre>
</div>
<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Fetches a single CompilationResult.
Args:
name: string, Required. The compilation result&#x27;s name. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents the result of compiling a Dataform project.
&quot;codeCompilationConfig&quot;: { # Configures various aspects of Dataform code compilation. # Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json.
&quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
&quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
&quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
&quot;defaultLocation&quot;: &quot;A String&quot;, # Optional. The default BigQuery location to use. Defaults to &quot;US&quot;. See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.
&quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
&quot;aiPlatformNotebookRuntimeTemplate&quot;: &quot;A String&quot;, # Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab&#x27;s default specifications.
&quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
},
&quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
&quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
&quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
{ # An error encountered when attempting to compile a Dataform project.
&quot;actionTarget&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # Output only. The identifier of the action where this error occurred, if available.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
&quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
&quot;path&quot;: &quot;A String&quot;, # Output only. The path of the file where this error occurred, if available, relative to the project root.
&quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
&quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
},
&quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
&quot;gitCommitish&quot;: &quot;A String&quot;, # 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`
&quot;internalMetadata&quot;: &quot;A String&quot;, # 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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
&quot;releaseConfig&quot;: &quot;A String&quot;, # Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
&quot;resolvedGitCommitSha&quot;: &quot;A String&quot;, # Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
&quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists CompilationResults in a given Repository.
Args:
parent: string, Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`. (required)
filter: string, Optional. Filter for the returned list.
orderBy: string, Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
pageSize: integer, Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
pageToken: string, Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # `ListCompilationResults` response message.
&quot;compilationResults&quot;: [ # List of compilation results.
{ # Represents the result of compiling a Dataform project.
&quot;codeCompilationConfig&quot;: { # Configures various aspects of Dataform code compilation. # Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json.
&quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
&quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
&quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
&quot;defaultLocation&quot;: &quot;A String&quot;, # Optional. The default BigQuery location to use. Defaults to &quot;US&quot;. See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.
&quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
&quot;aiPlatformNotebookRuntimeTemplate&quot;: &quot;A String&quot;, # Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab&#x27;s default specifications.
&quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
},
&quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
&quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
&quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
{ # An error encountered when attempting to compile a Dataform project.
&quot;actionTarget&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # Output only. The identifier of the action where this error occurred, if available.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
&quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
&quot;path&quot;: &quot;A String&quot;, # Output only. The path of the file where this error occurred, if available, relative to the project root.
&quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
},
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
&quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
},
&quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
&quot;gitCommitish&quot;: &quot;A String&quot;, # 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`
&quot;internalMetadata&quot;: &quot;A String&quot;, # 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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
&quot;releaseConfig&quot;: &quot;A String&quot;, # Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
&quot;resolvedGitCommitSha&quot;: &quot;A String&quot;, # Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.
&quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
&quot;unreachable&quot;: [ # Locations which could not be reached.
&quot;A String&quot;,
],
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
<div class="method">
<code class="details" id="query">query(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Returns CompilationResultActions in a given CompilationResult.
Args:
name: string, Required. The compilation result&#x27;s name. (required)
filter: string, Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field.
pageSize: integer, Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
pageToken: string, Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # `QueryCompilationResultActions` response message.
&quot;compilationResultActions&quot;: [ # List of compilation result actions.
{ # Represents a single Dataform action in a compilation result.
&quot;assertion&quot;: { # Represents an assertion upon a SQL query which is required return zero rows. # The assertion executed by this action.
&quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
{ # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
],
&quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
&quot;parentAction&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # The parent action of this assertion. Only set if this assertion was automatically generated.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
&quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for the assertion&#x27;s automatically-generated view and its columns.
&quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;columns&quot;: [ # A list of descriptions of columns within the relation.
{ # Describes a column.
&quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
&quot;A String&quot;,
],
&quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
&quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
&quot;A String&quot;,
],
},
],
&quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
},
&quot;selectQuery&quot;: &quot;A String&quot;, # The SELECT query which must return zero rows in order for this assertion to succeed.
&quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
&quot;A String&quot;,
],
},
&quot;canonicalTarget&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # The action&#x27;s identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
&quot;dataPreparation&quot;: { # Defines a compiled Data Preparation entity # The data preparation executed by this action.
&quot;contentsSql&quot;: { # Definition of a SQL Data Preparation # SQL definition for a Data Preparation. Contains a SQL query and additional context information.
&quot;errorTable&quot;: { # Error table information, used to write error data into a BigQuery table. # Error table configuration,
&quot;retentionDays&quot;: 42, # Error table partition expiration in days. Only positive values are allowed.
&quot;target&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # Error Table target.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
},
&quot;load&quot;: { # Simplified load configuration for actions # Load configuration.
&quot;append&quot;: { # Simple load definition # Append into destination table
},
&quot;maximum&quot;: { # Load definition for incremental load modes # Insert records where the value exceeds the previous maximum value for a column in the destination table
&quot;column&quot;: &quot;A String&quot;, # Column name for incremental load modes
},
&quot;replace&quot;: { # Simple load definition # Replace destination table
},
&quot;unique&quot;: { # Load definition for incremental load modes # Insert records where the value of a column is not already present in the destination table
&quot;column&quot;: &quot;A String&quot;, # Column name for incremental load modes
},
},
&quot;query&quot;: &quot;A String&quot;, # The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.
},
&quot;contentsYaml&quot;: &quot;A String&quot;, # The data preparation definition, stored as a YAML string.
&quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
{ # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
],
&quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
&quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
&quot;A String&quot;,
],
},
&quot;declaration&quot;: { # Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions. # The declaration declared by this action.
&quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation&#x27;s metadata.
&quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;columns&quot;: [ # A list of descriptions of columns within the relation.
{ # Describes a column.
&quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
&quot;A String&quot;,
],
&quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
&quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
&quot;A String&quot;,
],
},
],
&quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
},
},
&quot;filePath&quot;: &quot;A String&quot;, # The full path including filename in which this action is located, relative to the workspace root.
&quot;internalMetadata&quot;: &quot;A String&quot;, # 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.
&quot;notebook&quot;: { # Represents a notebook. # The notebook executed by this action.
&quot;contents&quot;: &quot;A String&quot;, # The contents of the notebook.
&quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
{ # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
],
&quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
&quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
&quot;A String&quot;,
],
},
&quot;operations&quot;: { # Represents a list of arbitrary database operations. # The database operations executed by this action.
&quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
{ # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
],
&quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
&quot;hasOutput&quot;: True or False, # Whether these operations produce an output relation.
&quot;queries&quot;: [ # A list of arbitrary SQL statements that will be executed without alteration.
&quot;A String&quot;,
],
&quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for any output relation and its columns. Only set if `has_output` is true.
&quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;columns&quot;: [ # A list of descriptions of columns within the relation.
{ # Describes a column.
&quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
&quot;A String&quot;,
],
&quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
&quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
&quot;A String&quot;,
],
},
],
&quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
},
&quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
&quot;A String&quot;,
],
},
&quot;relation&quot;: { # Represents a database relation. # The database relation created/updated by this action.
&quot;additionalOptions&quot;: { # Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;clusterExpressions&quot;: [ # A list of columns or SQL expressions used to cluster the table.
&quot;A String&quot;,
],
&quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
{ # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
],
&quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
&quot;incrementalTableConfig&quot;: { # Contains settings for relations of type `INCREMENTAL_TABLE`. # Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`.
&quot;incrementalPostOperations&quot;: [ # SQL statements to be executed after inserting new rows into the relation.
&quot;A String&quot;,
],
&quot;incrementalPreOperations&quot;: [ # SQL statements to be executed before inserting new rows into the relation.
&quot;A String&quot;,
],
&quot;incrementalSelectQuery&quot;: &quot;A String&quot;, # The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.
&quot;refreshDisabled&quot;: True or False, # Whether this table should be protected from being refreshed.
&quot;uniqueKeyParts&quot;: [ # A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.
&quot;A String&quot;,
],
&quot;updatePartitionFilter&quot;: &quot;A String&quot;, # A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).
},
&quot;partitionExpirationDays&quot;: 42, # Sets the partition expiration in days.
&quot;partitionExpression&quot;: &quot;A String&quot;, # The SQL expression used to partition the relation.
&quot;postOperations&quot;: [ # SQL statements to be executed after creating the relation.
&quot;A String&quot;,
],
&quot;preOperations&quot;: [ # SQL statements to be executed before creating the relation.
&quot;A String&quot;,
],
&quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for the relation and its columns.
&quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;columns&quot;: [ # A list of descriptions of columns within the relation.
{ # Describes a column.
&quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
&quot;A String&quot;,
],
&quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
&quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
&quot;A String&quot;,
],
},
],
&quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
},
&quot;relationType&quot;: &quot;A String&quot;, # The type of this relation.
&quot;requirePartitionFilter&quot;: True or False, # Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
&quot;selectQuery&quot;: &quot;A String&quot;, # The SELECT query which returns rows which this relation should contain.
&quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
&quot;A String&quot;,
],
},
&quot;target&quot;: { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object. # This action&#x27;s identifier. Unique within the compilation result.
&quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
&quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
&quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
},
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}</pre>
</div>
<div class="method">
<code class="details" id="query_next">query_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
</body></html>