Debian Codegraph @

docs/dyn/dataform_v1beta1.projects.locations.repositories.compilationResults.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="dataform_v1beta1.html">Dataform API</a> . <a href="dataform_v1beta1.projects.html">projects</a> . <a href="dataform_v1beta1.projects.locations.html">locations</a> . <a href="dataform_v1beta1.projects.locations.repositories.html">repositories</a> . <a href="dataform_v1beta1.projects.locations.repositories.compilationResults.html">compilationResults</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new CompilationResult in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Fetches a single CompilationResult.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists CompilationResults in a given Repository.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#query">query(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns CompilationResultActions in a given CompilationResult.</p>
95 <p class="toc_element">
96 <code><a href="#query_next">query_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106 <pre>Creates a new CompilationResult in a given project and location.
107
108 Args:
109 parent: string, Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Represents the result of compiling a Dataform project.
114 &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.
115 &quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
116 &quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
117 &quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
118 &quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
119 &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.
120 &quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
121 &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.
122 &quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
123 },
124 &quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
125 &quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
126 &quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
127 &quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
128 &quot;a_key&quot;: &quot;A String&quot;,
129 },
130 },
131 &quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
132 { # An error encountered when attempting to compile a Dataform project.
133 &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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CompilationError)
134 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
135 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
136 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
137 },
138 &quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
139 &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.
140 &quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
141 },
142 ],
143 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
144 &quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
145 &quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
146 },
147 &quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
148 &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`
149 &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.
150 &quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
151 &quot;privateResourceMetadata&quot;: { # Metadata used to identify if a resource is user scoped. # Output only. Metadata indicating whether this resource is user-scoped. `CompilationResult` resource is `user_scoped` only if it is sourced from a workspace.
152 &quot;userScoped&quot;: True or False, # Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace.
153 },
154 &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/*`.
155 &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.
156 &quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
157 }
158
159 x__xgafv: string, V1 error format.
160 Allowed values
161 1 - v1 error format
162 2 - v2 error format
163
164 Returns:
165 An object of the form:
166
167 { # Represents the result of compiling a Dataform project.
168 &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.
169 &quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
170 &quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
171 &quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
172 &quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
173 &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.
174 &quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
175 &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.
176 &quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
177 },
178 &quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
179 &quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
180 &quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
181 &quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
182 &quot;a_key&quot;: &quot;A String&quot;,
183 },
184 },
185 &quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
186 { # An error encountered when attempting to compile a Dataform project.
187 &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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CompilationError)
188 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
189 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
190 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
191 },
192 &quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
193 &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.
194 &quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
195 },
196 ],
197 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
198 &quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
199 &quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
200 },
201 &quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
202 &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`
203 &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.
204 &quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
205 &quot;privateResourceMetadata&quot;: { # Metadata used to identify if a resource is user scoped. # Output only. Metadata indicating whether this resource is user-scoped. `CompilationResult` resource is `user_scoped` only if it is sourced from a workspace.
206 &quot;userScoped&quot;: True or False, # Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace.
207 },
208 &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/*`.
209 &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.
210 &quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
211 }</pre>
212 </div>
213
214 <div class="method">
215 <code class="details" id="get">get(name, x__xgafv=None)</code>
216 <pre>Fetches a single CompilationResult.
217
218 Args:
219 name: string, Required. The compilation result&#x27;s name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:GetCompilationResultRequest) (required)
220 x__xgafv: string, V1 error format.
221 Allowed values
222 1 - v1 error format
223 2 - v2 error format
224
225 Returns:
226 An object of the form:
227
228 { # Represents the result of compiling a Dataform project.
229 &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.
230 &quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
231 &quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
232 &quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
233 &quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
234 &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.
235 &quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
236 &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.
237 &quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
238 },
239 &quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
240 &quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
241 &quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
242 &quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
243 &quot;a_key&quot;: &quot;A String&quot;,
244 },
245 },
246 &quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
247 { # An error encountered when attempting to compile a Dataform project.
248 &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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CompilationError)
249 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
250 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
251 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
252 },
253 &quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
254 &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.
255 &quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
256 },
257 ],
258 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
259 &quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
260 &quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
261 },
262 &quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
263 &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`
264 &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.
265 &quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
266 &quot;privateResourceMetadata&quot;: { # Metadata used to identify if a resource is user scoped. # Output only. Metadata indicating whether this resource is user-scoped. `CompilationResult` resource is `user_scoped` only if it is sourced from a workspace.
267 &quot;userScoped&quot;: True or False, # Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace.
268 },
269 &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/*`.
270 &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.
271 &quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
272 }</pre>
273 </div>
274
275 <div class="method">
276 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
277 <pre>Lists CompilationResults in a given Repository.
278
279 Args:
280 parent: string, Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`. (required)
281 filter: string, Optional. Filter for the returned list. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsRequest)
282 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.
283 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.
284 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.
285 x__xgafv: string, V1 error format.
286 Allowed values
287 1 - v1 error format
288 2 - v2 error format
289
290 Returns:
291 An object of the form:
292
293 { # `ListCompilationResults` response message.
294 &quot;compilationResults&quot;: [ # List of compilation results.
295 { # Represents the result of compiling a Dataform project.
296 &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.
297 &quot;assertionSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID) for assertions.
298 &quot;builtinAssertionNamePrefix&quot;: &quot;A String&quot;, # Optional. The prefix to prepend to built-in assertion names.
299 &quot;databaseSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
300 &quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
301 &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.
302 &quot;defaultNotebookRuntimeOptions&quot;: { # Configures various aspects of Dataform notebook runtime. # Optional. The default notebook runtime options.
303 &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.
304 &quot;gcsOutputBucket&quot;: &quot;A String&quot;, # Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
305 },
306 &quot;defaultSchema&quot;: &quot;A String&quot;, # Optional. The default schema (BigQuery dataset ID).
307 &quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
308 &quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
309 &quot;vars&quot;: { # Optional. User-defined variables that are made available to project code during compilation.
310 &quot;a_key&quot;: &quot;A String&quot;,
311 },
312 },
313 &quot;compilationErrors&quot;: [ # Output only. Errors encountered during project compilation.
314 { # An error encountered when attempting to compile a Dataform project.
315 &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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CompilationError)
316 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
317 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
318 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
319 },
320 &quot;message&quot;: &quot;A String&quot;, # Output only. The error&#x27;s top level message.
321 &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.
322 &quot;stack&quot;: &quot;A String&quot;, # Output only. The error&#x27;s full stack trace.
323 },
324 ],
325 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the compilation result was created.
326 &quot;dataEncryptionState&quot;: { # Describes encryption state of a resource. # Output only. Only set if the repository has a KMS Key.
327 &quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Required. The KMS key version name with which data of a resource is encrypted.
328 },
329 &quot;dataformCoreVersion&quot;: &quot;A String&quot;, # Output only. The version of `@dataform/core` that was used for compilation.
330 &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`
331 &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.
332 &quot;name&quot;: &quot;A String&quot;, # Output only. The compilation result&#x27;s name.
333 &quot;privateResourceMetadata&quot;: { # Metadata used to identify if a resource is user scoped. # Output only. Metadata indicating whether this resource is user-scoped. `CompilationResult` resource is `user_scoped` only if it is sourced from a workspace.
334 &quot;userScoped&quot;: True or False, # Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace.
335 },
336 &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/*`.
337 &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.
338 &quot;workspace&quot;: &quot;A String&quot;, # Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.
339 },
340 ],
341 &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.
342 &quot;unreachable&quot;: [ # Locations which could not be reached. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsResponse)
343 &quot;A String&quot;,
344 ],
345 }</pre>
346 </div>
347
348 <div class="method">
349 <code class="details" id="list_next">list_next()</code>
350 <pre>Retrieves the next page of results.
351
352 Args:
353 previous_request: The request for the previous page. (required)
354 previous_response: The response from the request for the previous page. (required)
355
356 Returns:
357 A request object that you can call &#x27;execute()&#x27; on to request the next
358 page. Returns None if there are no more items in the collection.
359 </pre>
360 </div>
361
362 <div class="method">
363 <code class="details" id="query">query(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
364 <pre>Returns CompilationResultActions in a given CompilationResult.
365
366 Args:
367 name: string, Required. The compilation result&#x27;s name. (required)
368 filter: string, Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field.
369 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.
370 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.
371 x__xgafv: string, V1 error format.
372 Allowed values
373 1 - v1 error format
374 2 - v2 error format
375
376 Returns:
377 An object of the form:
378
379 { # `QueryCompilationResultActions` response message.
380 &quot;compilationResultActions&quot;: [ # List of compilation result actions.
381 { # Represents a single Dataform action in a compilation result.
382 &quot;assertion&quot;: { # Represents an assertion upon a SQL query which is required return zero rows. # The assertion executed by this action.
383 &quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
384 { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
385 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
386 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
387 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
388 },
389 ],
390 &quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
391 &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.
392 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
393 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
394 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
395 },
396 &quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for the assertion&#x27;s automatically-generated view and its columns.
397 &quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
398 &quot;a_key&quot;: &quot;A String&quot;,
399 },
400 &quot;columns&quot;: [ # A list of descriptions of columns within the relation.
401 { # Describes a column.
402 &quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
403 &quot;A String&quot;,
404 ],
405 &quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
406 &quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
407 &quot;A String&quot;,
408 ],
409 },
410 ],
411 &quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
412 },
413 &quot;selectQuery&quot;: &quot;A String&quot;, # The SELECT query which must return zero rows in order for this assertion to succeed.
414 &quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
415 &quot;A String&quot;,
416 ],
417 },
418 &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.
419 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
420 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
421 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
422 },
423 &quot;dataPreparation&quot;: { # Defines a compiled Data Preparation entity # The data preparation executed by this action.
424 &quot;contentsSql&quot;: { # Definition of a SQL Data Preparation # SQL definition for a Data Preparation. Contains a SQL query and additional context information.
425 &quot;errorTable&quot;: { # Error table information, used to write error data into a BigQuery table. # Error table configuration,
426 &quot;retentionDays&quot;: 42, # Error table partition expiration in days. Only positive values are allowed.
427 &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.
428 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
429 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
430 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
431 },
432 },
433 &quot;load&quot;: { # Simplified load configuration for actions # Load configuration.
434 &quot;append&quot;: { # Simple load definition # Append into destination table
435 },
436 &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
437 &quot;column&quot;: &quot;A String&quot;, # Column name for incremental load modes
438 },
439 &quot;replace&quot;: { # Simple load definition # Replace destination table
440 },
441 &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
442 &quot;column&quot;: &quot;A String&quot;, # Column name for incremental load modes
443 },
444 },
445 &quot;query&quot;: &quot;A String&quot;, # The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.
446 },
447 &quot;contentsYaml&quot;: &quot;A String&quot;, # The data preparation definition, stored as a YAML string.
448 &quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
449 { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
450 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
451 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
452 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
453 },
454 ],
455 &quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
456 &quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
457 &quot;A String&quot;,
458 ],
459 },
460 &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.
461 &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.
462 &quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
463 &quot;a_key&quot;: &quot;A String&quot;,
464 },
465 &quot;columns&quot;: [ # A list of descriptions of columns within the relation.
466 { # Describes a column.
467 &quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
468 &quot;A String&quot;,
469 ],
470 &quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
471 &quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
472 &quot;A String&quot;,
473 ],
474 },
475 ],
476 &quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
477 },
478 },
479 &quot;filePath&quot;: &quot;A String&quot;, # The full path including filename in which this action is located, relative to the workspace root.
480 &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.
481 &quot;notebook&quot;: { # Represents a notebook. # The notebook executed by this action.
482 &quot;contents&quot;: &quot;A String&quot;, # The contents of the notebook.
483 &quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
484 { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
485 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
486 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
487 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
488 },
489 ],
490 &quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
491 &quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
492 &quot;A String&quot;,
493 ],
494 },
495 &quot;operations&quot;: { # Represents a list of arbitrary database operations. # The database operations executed by this action.
496 &quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
497 { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
498 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
499 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
500 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
501 },
502 ],
503 &quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
504 &quot;hasOutput&quot;: True or False, # Whether these operations produce an output relation.
505 &quot;queries&quot;: [ # A list of arbitrary SQL statements that will be executed without alteration.
506 &quot;A String&quot;,
507 ],
508 &quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for any output relation and its columns. Only set if `has_output` is true.
509 &quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
510 &quot;a_key&quot;: &quot;A String&quot;,
511 },
512 &quot;columns&quot;: [ # A list of descriptions of columns within the relation.
513 { # Describes a column.
514 &quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
515 &quot;A String&quot;,
516 ],
517 &quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
518 &quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
519 &quot;A String&quot;,
520 ],
521 },
522 ],
523 &quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
524 },
525 &quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
526 &quot;A String&quot;,
527 ],
528 },
529 &quot;relation&quot;: { # Represents a database relation. # The database relation created/updated by this action.
530 &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.
531 &quot;a_key&quot;: &quot;A String&quot;,
532 },
533 &quot;clusterExpressions&quot;: [ # A list of columns or SQL expressions used to cluster the table.
534 &quot;A String&quot;,
535 ],
536 &quot;connection&quot;: &quot;A String&quot;, # Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}`, or be set to DEFAULT.
537 &quot;dependencyTargets&quot;: [ # A list of actions that this action depends on.
538 { # Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
539 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
540 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
541 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
542 },
543 ],
544 &quot;disabled&quot;: True or False, # Whether this action is disabled (i.e. should not be run).
545 &quot;fileFormat&quot;: &quot;A String&quot;, # Optional. The file format for the BigQuery table.
546 &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`.
547 &quot;incrementalPostOperations&quot;: [ # SQL statements to be executed after inserting new rows into the relation.
548 &quot;A String&quot;,
549 ],
550 &quot;incrementalPreOperations&quot;: [ # SQL statements to be executed before inserting new rows into the relation.
551 &quot;A String&quot;,
552 ],
553 &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.
554 &quot;refreshDisabled&quot;: True or False, # Whether this table should be protected from being refreshed.
555 &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.
556 &quot;A String&quot;,
557 ],
558 &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).
559 },
560 &quot;partitionExpirationDays&quot;: 42, # Sets the partition expiration in days.
561 &quot;partitionExpression&quot;: &quot;A String&quot;, # The SQL expression used to partition the relation.
562 &quot;postOperations&quot;: [ # SQL statements to be executed after creating the relation.
563 &quot;A String&quot;,
564 ],
565 &quot;preOperations&quot;: [ # SQL statements to be executed before creating the relation.
566 &quot;A String&quot;,
567 ],
568 &quot;relationDescriptor&quot;: { # Describes a relation and its columns. # Descriptor for the relation and its columns.
569 &quot;bigqueryLabels&quot;: { # A set of BigQuery labels that should be applied to the relation.
570 &quot;a_key&quot;: &quot;A String&quot;,
571 },
572 &quot;columns&quot;: [ # A list of descriptions of columns within the relation.
573 { # Describes a column.
574 &quot;bigqueryPolicyTags&quot;: [ # A list of BigQuery policy tags that will be applied to the column.
575 &quot;A String&quot;,
576 ],
577 &quot;description&quot;: &quot;A String&quot;, # A textual description of the column.
578 &quot;path&quot;: [ # The identifier for the column. Each entry in `path` represents one level of nesting.
579 &quot;A String&quot;,
580 ],
581 },
582 ],
583 &quot;description&quot;: &quot;A String&quot;, # A text description of the relation.
584 },
585 &quot;relationType&quot;: &quot;A String&quot;, # The type of this relation.
586 &quot;requirePartitionFilter&quot;: True or False, # Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
587 &quot;selectQuery&quot;: &quot;A String&quot;, # The SELECT query which returns rows which this relation should contain.
588 &quot;storageUri&quot;: &quot;A String&quot;, # Optional. The fully qualified location prefix of the external folder where table data is stored. The URI should be in the format `gs://bucket/path_to_table/`.
589 &quot;tableFormat&quot;: &quot;A String&quot;, # Optional. The table format for the BigQuery table.
590 &quot;tags&quot;: [ # Arbitrary, user-defined tags on this action.
591 &quot;A String&quot;,
592 ],
593 },
594 &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.
595 &quot;database&quot;: &quot;A String&quot;, # Optional. The action&#x27;s database (Google Cloud project ID) .
596 &quot;name&quot;: &quot;A String&quot;, # Optional. The action&#x27;s name, within `database` and `schema`.
597 &quot;schema&quot;: &quot;A String&quot;, # Optional. The action&#x27;s schema (BigQuery dataset ID), within `database`.
598 },
599 },
600 ],
601 &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.
602 }</pre>
603 </div>
604
605 <div class="method">
606 <code class="details" id="query_next">query_next()</code>
607 <pre>Retrieves the next page of results.
608
609 Args:
610 previous_request: The request for the previous page. (required)
611 previous_response: The response from the request for the previous page. (required)
612
613 Returns:
614 A request object that you can call &#x27;execute()&#x27; on to request the next
615 page. Returns None if there are no more items in the collection.
616 </pre>
617 </div>
618
619 </body></html>