1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://dataform.googleapis.com/",
13 "batchPath": "batch",
14 "description": "Service to develop, version control, and operationalize SQL pipelines in BigQuery.",
15 "discoveryVersion": "v1",
16 "documentationLink": "https://cloud.google.com/dataform/docs",
17 "fullyEncodeReservedExpansion": true,
18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 },
22 "id": "dataform:v1beta1",
23 "kind": "discovery#restDescription",
24 "mtlsRootUrl": "https://dataform.mtls.googleapis.com/",
25 "name": "dataform",
26 "ownerDomain": "google.com",
27 "ownerName": "Google",
28 "parameters": {
29 "$.xgafv": {
30 "description": "V1 error format.",
31 "enum": [
32 "1",
33 "2"
34 ],
35 "enumDescriptions": [
36 "v1 error format",
37 "v2 error format"
38 ],
39 "location": "query",
40 "type": "string"
41 },
42 "access_token": {
43 "description": "OAuth access token.",
44 "location": "query",
45 "type": "string"
46 },
47 "alt": {
48 "default": "json",
49 "description": "Data format for response.",
50 "enum": [
51 "json",
52 "media",
53 "proto"
54 ],
55 "enumDescriptions": [
56 "Responses with Content-Type of application/json",
57 "Media download with context-dependent Content-Type",
58 "Responses with Content-Type of application/x-protobuf"
59 ],
60 "location": "query",
61 "type": "string"
62 },
63 "callback": {
64 "description": "JSONP",
65 "location": "query",
66 "type": "string"
67 },
68 "fields": {
69 "description": "Selector specifying which fields to include in a partial response.",
70 "location": "query",
71 "type": "string"
72 },
73 "key": {
74 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
75 "location": "query",
76 "type": "string"
77 },
78 "oauth_token": {
79 "description": "OAuth 2.0 token for the current user.",
80 "location": "query",
81 "type": "string"
82 },
83 "prettyPrint": {
84 "default": "true",
85 "description": "Returns response with indentations and line breaks.",
86 "location": "query",
87 "type": "boolean"
88 },
89 "quotaUser": {
90 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
91 "location": "query",
92 "type": "string"
93 },
94 "uploadType": {
95 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
96 "location": "query",
97 "type": "string"
98 },
99 "upload_protocol": {
100 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
101 "location": "query",
102 "type": "string"
103 }
104 },
105 "protocol": "rest",
106 "resources": {
107 "projects": {
108 "resources": {
109 "locations": {
110 "methods": {
111 "get": {
112 "description": "Gets information about a location.",
113 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}",
114 "httpMethod": "GET",
115 "id": "dataform.projects.locations.get",
116 "parameterOrder": [
117 "name"
118 ],
119 "parameters": {
120 "name": {
121 "description": "Resource name for the location.",
122 "location": "path",
123 "pattern": "^projects/[^/]+/locations/[^/]+$",
124 "required": true,
125 "type": "string"
126 }
127 },
128 "path": "v1beta1/{+name}",
129 "response": {
130 "$ref": "Location"
131 },
132 "scopes": [
133 "https://www.googleapis.com/auth/cloud-platform"
134 ]
135 },
136 "list": {
137 "description": "Lists information about the supported locations for this service.",
138 "flatPath": "v1beta1/projects/{projectsId}/locations",
139 "httpMethod": "GET",
140 "id": "dataform.projects.locations.list",
141 "parameterOrder": [
142 "name"
143 ],
144 "parameters": {
145 "filter": {
146 "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
147 "location": "query",
148 "type": "string"
149 },
150 "name": {
151 "description": "The resource that owns the locations collection, if applicable.",
152 "location": "path",
153 "pattern": "^projects/[^/]+$",
154 "required": true,
155 "type": "string"
156 },
157 "pageSize": {
158 "description": "The maximum number of results to return. If not set, the service selects a default.",
159 "format": "int32",
160 "location": "query",
161 "type": "integer"
162 },
163 "pageToken": {
164 "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
165 "location": "query",
166 "type": "string"
167 }
168 },
169 "path": "v1beta1/{+name}/locations",
170 "response": {
171 "$ref": "ListLocationsResponse"
172 },
173 "scopes": [
174 "https://www.googleapis.com/auth/cloud-platform"
175 ]
176 }
177 },
178 "resources": {
179 "collections": {
180 "methods": {
181 "getIamPolicy": {
182 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
183 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:getIamPolicy",
184 "httpMethod": "GET",
185 "id": "dataform.projects.locations.collections.getIamPolicy",
186 "parameterOrder": [
187 "resource"
188 ],
189 "parameters": {
190 "options.requestedPolicyVersion": {
191 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
192 "format": "int32",
193 "location": "query",
194 "type": "integer"
195 },
196 "resource": {
197 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
198 "location": "path",
199 "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
200 "required": true,
201 "type": "string"
202 }
203 },
204 "path": "v1beta1/{+resource}:getIamPolicy",
205 "response": {
206 "$ref": "Policy"
207 },
208 "scopes": [
209 "https://www.googleapis.com/auth/cloud-platform"
210 ]
211 },
212 "setIamPolicy": {
213 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
214 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:setIamPolicy",
215 "httpMethod": "POST",
216 "id": "dataform.projects.locations.collections.setIamPolicy",
217 "parameterOrder": [
218 "resource"
219 ],
220 "parameters": {
221 "resource": {
222 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
223 "location": "path",
224 "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
225 "required": true,
226 "type": "string"
227 }
228 },
229 "path": "v1beta1/{+resource}:setIamPolicy",
230 "request": {
231 "$ref": "SetIamPolicyRequest"
232 },
233 "response": {
234 "$ref": "Policy"
235 },
236 "scopes": [
237 "https://www.googleapis.com/auth/cloud-platform"
238 ]
239 },
240 "testIamPermissions": {
241 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
242 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:testIamPermissions",
243 "httpMethod": "POST",
244 "id": "dataform.projects.locations.collections.testIamPermissions",
245 "parameterOrder": [
246 "resource"
247 ],
248 "parameters": {
249 "resource": {
250 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
251 "location": "path",
252 "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
253 "required": true,
254 "type": "string"
255 }
256 },
257 "path": "v1beta1/{+resource}:testIamPermissions",
258 "request": {
259 "$ref": "TestIamPermissionsRequest"
260 },
261 "response": {
262 "$ref": "TestIamPermissionsResponse"
263 },
264 "scopes": [
265 "https://www.googleapis.com/auth/cloud-platform"
266 ]
267 }
268 }
269 },
270 "repositories": {
271 "methods": {
272 "commit": {
273 "description": "Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.",
274 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:commit",
275 "httpMethod": "POST",
276 "id": "dataform.projects.locations.repositories.commit",
277 "parameterOrder": [
278 "name"
279 ],
280 "parameters": {
281 "name": {
282 "description": "Required. The repository's name.",
283 "location": "path",
284 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
285 "required": true,
286 "type": "string"
287 }
288 },
289 "path": "v1beta1/{+name}:commit",
290 "request": {
291 "$ref": "CommitRepositoryChangesRequest"
292 },
293 "response": {
294 "$ref": "CommitRepositoryChangesResponse"
295 },
296 "scopes": [
297 "https://www.googleapis.com/auth/cloud-platform"
298 ]
299 },
300 "computeAccessTokenStatus": {
301 "description": "Computes a Repository's Git access token status.",
302 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:computeAccessTokenStatus",
303 "httpMethod": "GET",
304 "id": "dataform.projects.locations.repositories.computeAccessTokenStatus",
305 "parameterOrder": [
306 "name"
307 ],
308 "parameters": {
309 "name": {
310 "description": "Required. The repository's name.",
311 "location": "path",
312 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
313 "required": true,
314 "type": "string"
315 }
316 },
317 "path": "v1beta1/{+name}:computeAccessTokenStatus",
318 "response": {
319 "$ref": "ComputeRepositoryAccessTokenStatusResponse"
320 },
321 "scopes": [
322 "https://www.googleapis.com/auth/cloud-platform"
323 ]
324 },
325 "create": {
326 "description": "Creates a new Repository in a given project and location.",
327 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories",
328 "httpMethod": "POST",
329 "id": "dataform.projects.locations.repositories.create",
330 "parameterOrder": [
331 "parent"
332 ],
333 "parameters": {
334 "parent": {
335 "description": "Required. The location in which to create the repository. Must be in the format `projects/*/locations/*`.",
336 "location": "path",
337 "pattern": "^projects/[^/]+/locations/[^/]+$",
338 "required": true,
339 "type": "string"
340 },
341 "repositoryId": {
342 "description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name.",
343 "location": "query",
344 "type": "string"
345 }
346 },
347 "path": "v1beta1/{+parent}/repositories",
348 "request": {
349 "$ref": "Repository"
350 },
351 "response": {
352 "$ref": "Repository"
353 },
354 "scopes": [
355 "https://www.googleapis.com/auth/cloud-platform"
356 ]
357 },
358 "delete": {
359 "description": "Deletes a single Repository.",
360 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}",
361 "httpMethod": "DELETE",
362 "id": "dataform.projects.locations.repositories.delete",
363 "parameterOrder": [
364 "name"
365 ],
366 "parameters": {
367 "force": {
368 "description": "If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.)",
369 "location": "query",
370 "type": "boolean"
371 },
372 "name": {
373 "description": "Required. The repository's name.",
374 "location": "path",
375 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
376 "required": true,
377 "type": "string"
378 }
379 },
380 "path": "v1beta1/{+name}",
381 "response": {
382 "$ref": "Empty"
383 },
384 "scopes": [
385 "https://www.googleapis.com/auth/cloud-platform"
386 ]
387 },
388 "fetchHistory": {
389 "description": "Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.",
390 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchHistory",
391 "httpMethod": "GET",
392 "id": "dataform.projects.locations.repositories.fetchHistory",
393 "parameterOrder": [
394 "name"
395 ],
396 "parameters": {
397 "name": {
398 "description": "Required. The repository's name.",
399 "location": "path",
400 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
401 "required": true,
402 "type": "string"
403 },
404 "pageSize": {
405 "description": "Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
406 "format": "int32",
407 "location": "query",
408 "type": "integer"
409 },
410 "pageToken": {
411 "description": "Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.",
412 "location": "query",
413 "type": "string"
414 }
415 },
416 "path": "v1beta1/{+name}:fetchHistory",
417 "response": {
418 "$ref": "FetchRepositoryHistoryResponse"
419 },
420 "scopes": [
421 "https://www.googleapis.com/auth/cloud-platform"
422 ]
423 },
424 "fetchRemoteBranches": {
425 "description": "Fetches a Repository's remote branches.",
426 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchRemoteBranches",
427 "httpMethod": "GET",
428 "id": "dataform.projects.locations.repositories.fetchRemoteBranches",
429 "parameterOrder": [
430 "name"
431 ],
432 "parameters": {
433 "name": {
434 "description": "Required. The repository's name.",
435 "location": "path",
436 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
437 "required": true,
438 "type": "string"
439 }
440 },
441 "path": "v1beta1/{+name}:fetchRemoteBranches",
442 "response": {
443 "$ref": "FetchRemoteBranchesResponse"
444 },
445 "scopes": [
446 "https://www.googleapis.com/auth/cloud-platform"
447 ]
448 },
449 "get": {
450 "description": "Fetches a single Repository.",
451 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}",
452 "httpMethod": "GET",
453 "id": "dataform.projects.locations.repositories.get",
454 "parameterOrder": [
455 "name"
456 ],
457 "parameters": {
458 "name": {
459 "description": "Required. The repository's name.",
460 "location": "path",
461 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
462 "required": true,
463 "type": "string"
464 }
465 },
466 "path": "v1beta1/{+name}",
467 "response": {
468 "$ref": "Repository"
469 },
470 "scopes": [
471 "https://www.googleapis.com/auth/cloud-platform"
472 ]
473 },
474 "getIamPolicy": {
475 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
476 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:getIamPolicy",
477 "httpMethod": "GET",
478 "id": "dataform.projects.locations.repositories.getIamPolicy",
479 "parameterOrder": [
480 "resource"
481 ],
482 "parameters": {
483 "options.requestedPolicyVersion": {
484 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
485 "format": "int32",
486 "location": "query",
487 "type": "integer"
488 },
489 "resource": {
490 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
491 "location": "path",
492 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
493 "required": true,
494 "type": "string"
495 }
496 },
497 "path": "v1beta1/{+resource}:getIamPolicy",
498 "response": {
499 "$ref": "Policy"
500 },
501 "scopes": [
502 "https://www.googleapis.com/auth/cloud-platform"
503 ]
504 },
505 "list": {
506 "description": "Lists Repositories in a given project and location.",
507 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories",
508 "httpMethod": "GET",
509 "id": "dataform.projects.locations.repositories.list",
510 "parameterOrder": [
511 "parent"
512 ],
513 "parameters": {
514 "filter": {
515 "description": "Optional. Filter for the returned list.",
516 "location": "query",
517 "type": "string"
518 },
519 "orderBy": {
520 "description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.",
521 "location": "query",
522 "type": "string"
523 },
524 "pageSize": {
525 "description": "Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
526 "format": "int32",
527 "location": "query",
528 "type": "integer"
529 },
530 "pageToken": {
531 "description": "Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories` must match the call that provided the page token.",
532 "location": "query",
533 "type": "string"
534 },
535 "parent": {
536 "description": "Required. The location in which to list repositories. Must be in the format `projects/*/locations/*`.",
537 "location": "path",
538 "pattern": "^projects/[^/]+/locations/[^/]+$",
539 "required": true,
540 "type": "string"
541 }
542 },
543 "path": "v1beta1/{+parent}/repositories",
544 "response": {
545 "$ref": "ListRepositoriesResponse"
546 },
547 "scopes": [
548 "https://www.googleapis.com/auth/cloud-platform"
549 ]
550 },
551 "patch": {
552 "description": "Updates a single Repository.",
553 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}",
554 "httpMethod": "PATCH",
555 "id": "dataform.projects.locations.repositories.patch",
556 "parameterOrder": [
557 "name"
558 ],
559 "parameters": {
560 "name": {
561 "description": "Identifier. The repository's name.",
562 "location": "path",
563 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
564 "required": true,
565 "type": "string"
566 },
567 "updateMask": {
568 "description": "Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.",
569 "format": "google-fieldmask",
570 "location": "query",
571 "type": "string"
572 }
573 },
574 "path": "v1beta1/{+name}",
575 "request": {
576 "$ref": "Repository"
577 },
578 "response": {
579 "$ref": "Repository"
580 },
581 "scopes": [
582 "https://www.googleapis.com/auth/cloud-platform"
583 ]
584 },
585 "queryDirectoryContents": {
586 "description": "Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.",
587 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:queryDirectoryContents",
588 "httpMethod": "GET",
589 "id": "dataform.projects.locations.repositories.queryDirectoryContents",
590 "parameterOrder": [
591 "name"
592 ],
593 "parameters": {
594 "commitSha": {
595 "description": "Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.",
596 "location": "query",
597 "type": "string"
598 },
599 "name": {
600 "description": "Required. The repository's name.",
601 "location": "path",
602 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
603 "required": true,
604 "type": "string"
605 },
606 "pageSize": {
607 "description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
608 "format": "int32",
609 "location": "query",
610 "type": "integer"
611 },
612 "pageToken": {
613 "description": "Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.",
614 "location": "query",
615 "type": "string"
616 },
617 "path": {
618 "description": "Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.",
619 "location": "query",
620 "type": "string"
621 }
622 },
623 "path": "v1beta1/{+name}:queryDirectoryContents",
624 "response": {
625 "$ref": "QueryRepositoryDirectoryContentsResponse"
626 },
627 "scopes": [
628 "https://www.googleapis.com/auth/cloud-platform"
629 ]
630 },
631 "readFile": {
632 "description": "Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.",
633 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:readFile",
634 "httpMethod": "GET",
635 "id": "dataform.projects.locations.repositories.readFile",
636 "parameterOrder": [
637 "name"
638 ],
639 "parameters": {
640 "commitSha": {
641 "description": "Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.",
642 "location": "query",
643 "type": "string"
644 },
645 "name": {
646 "description": "Required. The repository's name.",
647 "location": "path",
648 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
649 "required": true,
650 "type": "string"
651 },
652 "path": {
653 "description": "Required. Full file path to read including filename, from repository root.",
654 "location": "query",
655 "type": "string"
656 }
657 },
658 "path": "v1beta1/{+name}:readFile",
659 "response": {
660 "$ref": "ReadRepositoryFileResponse"
661 },
662 "scopes": [
663 "https://www.googleapis.com/auth/cloud-platform"
664 ]
665 },
666 "setIamPolicy": {
667 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
668 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:setIamPolicy",
669 "httpMethod": "POST",
670 "id": "dataform.projects.locations.repositories.setIamPolicy",
671 "parameterOrder": [
672 "resource"
673 ],
674 "parameters": {
675 "resource": {
676 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
677 "location": "path",
678 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
679 "required": true,
680 "type": "string"
681 }
682 },
683 "path": "v1beta1/{+resource}:setIamPolicy",
684 "request": {
685 "$ref": "SetIamPolicyRequest"
686 },
687 "response": {
688 "$ref": "Policy"
689 },
690 "scopes": [
691 "https://www.googleapis.com/auth/cloud-platform"
692 ]
693 },
694 "testIamPermissions": {
695 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
696 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:testIamPermissions",
697 "httpMethod": "POST",
698 "id": "dataform.projects.locations.repositories.testIamPermissions",
699 "parameterOrder": [
700 "resource"
701 ],
702 "parameters": {
703 "resource": {
704 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
705 "location": "path",
706 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
707 "required": true,
708 "type": "string"
709 }
710 },
711 "path": "v1beta1/{+resource}:testIamPermissions",
712 "request": {
713 "$ref": "TestIamPermissionsRequest"
714 },
715 "response": {
716 "$ref": "TestIamPermissionsResponse"
717 },
718 "scopes": [
719 "https://www.googleapis.com/auth/cloud-platform"
720 ]
721 }
722 },
723 "resources": {
724 "commentThreads": {
725 "methods": {
726 "getIamPolicy": {
727 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
728 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/commentThreads/{commentThreadsId}:getIamPolicy",
729 "httpMethod": "GET",
730 "id": "dataform.projects.locations.repositories.commentThreads.getIamPolicy",
731 "parameterOrder": [
732 "resource"
733 ],
734 "parameters": {
735 "options.requestedPolicyVersion": {
736 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
737 "format": "int32",
738 "location": "query",
739 "type": "integer"
740 },
741 "resource": {
742 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
743 "location": "path",
744 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/commentThreads/[^/]+$",
745 "required": true,
746 "type": "string"
747 }
748 },
749 "path": "v1beta1/{+resource}:getIamPolicy",
750 "response": {
751 "$ref": "Policy"
752 },
753 "scopes": [
754 "https://www.googleapis.com/auth/cloud-platform"
755 ]
756 },
757 "setIamPolicy": {
758 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
759 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/commentThreads/{commentThreadsId}:setIamPolicy",
760 "httpMethod": "POST",
761 "id": "dataform.projects.locations.repositories.commentThreads.setIamPolicy",
762 "parameterOrder": [
763 "resource"
764 ],
765 "parameters": {
766 "resource": {
767 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
768 "location": "path",
769 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/commentThreads/[^/]+$",
770 "required": true,
771 "type": "string"
772 }
773 },
774 "path": "v1beta1/{+resource}:setIamPolicy",
775 "request": {
776 "$ref": "SetIamPolicyRequest"
777 },
778 "response": {
779 "$ref": "Policy"
780 },
781 "scopes": [
782 "https://www.googleapis.com/auth/cloud-platform"
783 ]
784 }
785 }
786 },
787 "compilationResults": {
788 "methods": {
789 "create": {
790 "description": "Creates a new CompilationResult in a given project and location.",
791 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults",
792 "httpMethod": "POST",
793 "id": "dataform.projects.locations.repositories.compilationResults.create",
794 "parameterOrder": [
795 "parent"
796 ],
797 "parameters": {
798 "parent": {
799 "description": "Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`.",
800 "location": "path",
801 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
802 "required": true,
803 "type": "string"
804 }
805 },
806 "path": "v1beta1/{+parent}/compilationResults",
807 "request": {
808 "$ref": "CompilationResult"
809 },
810 "response": {
811 "$ref": "CompilationResult"
812 },
813 "scopes": [
814 "https://www.googleapis.com/auth/cloud-platform"
815 ]
816 },
817 "get": {
818 "description": "Fetches a single CompilationResult.",
819 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults/{compilationResultsId}",
820 "httpMethod": "GET",
821 "id": "dataform.projects.locations.repositories.compilationResults.get",
822 "parameterOrder": [
823 "name"
824 ],
825 "parameters": {
826 "name": {
827 "description": "Required. The compilation result's name.",
828 "location": "path",
829 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$",
830 "required": true,
831 "type": "string"
832 }
833 },
834 "path": "v1beta1/{+name}",
835 "response": {
836 "$ref": "CompilationResult"
837 },
838 "scopes": [
839 "https://www.googleapis.com/auth/cloud-platform"
840 ]
841 },
842 "list": {
843 "description": "Lists CompilationResults in a given Repository.",
844 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults",
845 "httpMethod": "GET",
846 "id": "dataform.projects.locations.repositories.compilationResults.list",
847 "parameterOrder": [
848 "parent"
849 ],
850 "parameters": {
851 "filter": {
852 "description": "Optional. Filter for the returned list.",
853 "location": "query",
854 "type": "string"
855 },
856 "orderBy": {
857 "description": "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.",
858 "location": "query",
859 "type": "string"
860 },
861 "pageSize": {
862 "description": "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.",
863 "format": "int32",
864 "location": "query",
865 "type": "integer"
866 },
867 "pageToken": {
868 "description": "Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults` must match the call that provided the page token.",
869 "location": "query",
870 "type": "string"
871 },
872 "parent": {
873 "description": "Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`.",
874 "location": "path",
875 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
876 "required": true,
877 "type": "string"
878 }
879 },
880 "path": "v1beta1/{+parent}/compilationResults",
881 "response": {
882 "$ref": "ListCompilationResultsResponse"
883 },
884 "scopes": [
885 "https://www.googleapis.com/auth/cloud-platform"
886 ]
887 },
888 "query": {
889 "description": "Returns CompilationResultActions in a given CompilationResult.",
890 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults/{compilationResultsId}:query",
891 "httpMethod": "GET",
892 "id": "dataform.projects.locations.repositories.compilationResults.query",
893 "parameterOrder": [
894 "name"
895 ],
896 "parameters": {
897 "filter": {
898 "description": "Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field.",
899 "location": "query",
900 "type": "string"
901 },
902 "name": {
903 "description": "Required. The compilation result's name.",
904 "location": "path",
905 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$",
906 "required": true,
907 "type": "string"
908 },
909 "pageSize": {
910 "description": "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.",
911 "format": "int32",
912 "location": "query",
913 "type": "integer"
914 },
915 "pageToken": {
916 "description": "Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions` must match the call that provided the page token.",
917 "location": "query",
918 "type": "string"
919 }
920 },
921 "path": "v1beta1/{+name}:query",
922 "response": {
923 "$ref": "QueryCompilationResultActionsResponse"
924 },
925 "scopes": [
926 "https://www.googleapis.com/auth/cloud-platform"
927 ]
928 }
929 }
930 },
931 "releaseConfigs": {
932 "methods": {
933 "create": {
934 "description": "Creates a new ReleaseConfig in a given Repository.",
935 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs",
936 "httpMethod": "POST",
937 "id": "dataform.projects.locations.repositories.releaseConfigs.create",
938 "parameterOrder": [
939 "parent"
940 ],
941 "parameters": {
942 "parent": {
943 "description": "Required. The repository in which to create the release config. Must be in the format `projects/*/locations/*/repositories/*`.",
944 "location": "path",
945 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
946 "required": true,
947 "type": "string"
948 },
949 "releaseConfigId": {
950 "description": "Required. The ID to use for the release config, which will become the final component of the release config's resource name.",
951 "location": "query",
952 "type": "string"
953 }
954 },
955 "path": "v1beta1/{+parent}/releaseConfigs",
956 "request": {
957 "$ref": "ReleaseConfig"
958 },
959 "response": {
960 "$ref": "ReleaseConfig"
961 },
962 "scopes": [
963 "https://www.googleapis.com/auth/cloud-platform"
964 ]
965 },
966 "delete": {
967 "description": "Deletes a single ReleaseConfig.",
968 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}",
969 "httpMethod": "DELETE",
970 "id": "dataform.projects.locations.repositories.releaseConfigs.delete",
971 "parameterOrder": [
972 "name"
973 ],
974 "parameters": {
975 "name": {
976 "description": "Required. The release config's name.",
977 "location": "path",
978 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$",
979 "required": true,
980 "type": "string"
981 }
982 },
983 "path": "v1beta1/{+name}",
984 "response": {
985 "$ref": "Empty"
986 },
987 "scopes": [
988 "https://www.googleapis.com/auth/cloud-platform"
989 ]
990 },
991 "get": {
992 "description": "Fetches a single ReleaseConfig.",
993 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}",
994 "httpMethod": "GET",
995 "id": "dataform.projects.locations.repositories.releaseConfigs.get",
996 "parameterOrder": [
997 "name"
998 ],
999 "parameters": {
1000 "name": {
1001 "description": "Required. The release config's name.",
1002 "location": "path",
1003 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$",
1004 "required": true,
1005 "type": "string"
1006 }
1007 },
1008 "path": "v1beta1/{+name}",
1009 "response": {
1010 "$ref": "ReleaseConfig"
1011 },
1012 "scopes": [
1013 "https://www.googleapis.com/auth/cloud-platform"
1014 ]
1015 },
1016 "list": {
1017 "description": "Lists ReleaseConfigs in a given Repository.",
1018 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs",
1019 "httpMethod": "GET",
1020 "id": "dataform.projects.locations.repositories.releaseConfigs.list",
1021 "parameterOrder": [
1022 "parent"
1023 ],
1024 "parameters": {
1025 "pageSize": {
1026 "description": "Optional. Maximum number of release configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
1027 "format": "int32",
1028 "location": "query",
1029 "type": "integer"
1030 },
1031 "pageToken": {
1032 "description": "Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs` must match the call that provided the page token.",
1033 "location": "query",
1034 "type": "string"
1035 },
1036 "parent": {
1037 "description": "Required. The repository in which to list release configs. Must be in the format `projects/*/locations/*/repositories/*`.",
1038 "location": "path",
1039 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1040 "required": true,
1041 "type": "string"
1042 }
1043 },
1044 "path": "v1beta1/{+parent}/releaseConfigs",
1045 "response": {
1046 "$ref": "ListReleaseConfigsResponse"
1047 },
1048 "scopes": [
1049 "https://www.googleapis.com/auth/cloud-platform"
1050 ]
1051 },
1052 "patch": {
1053 "description": "Updates a single ReleaseConfig.",
1054 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}",
1055 "httpMethod": "PATCH",
1056 "id": "dataform.projects.locations.repositories.releaseConfigs.patch",
1057 "parameterOrder": [
1058 "name"
1059 ],
1060 "parameters": {
1061 "name": {
1062 "description": "Identifier. The release config's name.",
1063 "location": "path",
1064 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$",
1065 "required": true,
1066 "type": "string"
1067 },
1068 "updateMask": {
1069 "description": "Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.",
1070 "format": "google-fieldmask",
1071 "location": "query",
1072 "type": "string"
1073 }
1074 },
1075 "path": "v1beta1/{+name}",
1076 "request": {
1077 "$ref": "ReleaseConfig"
1078 },
1079 "response": {
1080 "$ref": "ReleaseConfig"
1081 },
1082 "scopes": [
1083 "https://www.googleapis.com/auth/cloud-platform"
1084 ]
1085 }
1086 }
1087 },
1088 "workflowConfigs": {
1089 "methods": {
1090 "create": {
1091 "description": "Creates a new WorkflowConfig in a given Repository.",
1092 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs",
1093 "httpMethod": "POST",
1094 "id": "dataform.projects.locations.repositories.workflowConfigs.create",
1095 "parameterOrder": [
1096 "parent"
1097 ],
1098 "parameters": {
1099 "parent": {
1100 "description": "Required. The repository in which to create the workflow config. Must be in the format `projects/*/locations/*/repositories/*`.",
1101 "location": "path",
1102 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1103 "required": true,
1104 "type": "string"
1105 },
1106 "workflowConfigId": {
1107 "description": "Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.",
1108 "location": "query",
1109 "type": "string"
1110 }
1111 },
1112 "path": "v1beta1/{+parent}/workflowConfigs",
1113 "request": {
1114 "$ref": "WorkflowConfig"
1115 },
1116 "response": {
1117 "$ref": "WorkflowConfig"
1118 },
1119 "scopes": [
1120 "https://www.googleapis.com/auth/cloud-platform"
1121 ]
1122 },
1123 "delete": {
1124 "description": "Deletes a single WorkflowConfig.",
1125 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}",
1126 "httpMethod": "DELETE",
1127 "id": "dataform.projects.locations.repositories.workflowConfigs.delete",
1128 "parameterOrder": [
1129 "name"
1130 ],
1131 "parameters": {
1132 "name": {
1133 "description": "Required. The workflow config's name.",
1134 "location": "path",
1135 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$",
1136 "required": true,
1137 "type": "string"
1138 }
1139 },
1140 "path": "v1beta1/{+name}",
1141 "response": {
1142 "$ref": "Empty"
1143 },
1144 "scopes": [
1145 "https://www.googleapis.com/auth/cloud-platform"
1146 ]
1147 },
1148 "get": {
1149 "description": "Fetches a single WorkflowConfig.",
1150 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}",
1151 "httpMethod": "GET",
1152 "id": "dataform.projects.locations.repositories.workflowConfigs.get",
1153 "parameterOrder": [
1154 "name"
1155 ],
1156 "parameters": {
1157 "name": {
1158 "description": "Required. The workflow config's name.",
1159 "location": "path",
1160 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$",
1161 "required": true,
1162 "type": "string"
1163 }
1164 },
1165 "path": "v1beta1/{+name}",
1166 "response": {
1167 "$ref": "WorkflowConfig"
1168 },
1169 "scopes": [
1170 "https://www.googleapis.com/auth/cloud-platform"
1171 ]
1172 },
1173 "list": {
1174 "description": "Lists WorkflowConfigs in a given Repository.",
1175 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs",
1176 "httpMethod": "GET",
1177 "id": "dataform.projects.locations.repositories.workflowConfigs.list",
1178 "parameterOrder": [
1179 "parent"
1180 ],
1181 "parameters": {
1182 "pageSize": {
1183 "description": "Optional. Maximum number of workflow configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
1184 "format": "int32",
1185 "location": "query",
1186 "type": "integer"
1187 },
1188 "pageToken": {
1189 "description": "Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs` must match the call that provided the page token.",
1190 "location": "query",
1191 "type": "string"
1192 },
1193 "parent": {
1194 "description": "Required. The repository in which to list workflow configs. Must be in the format `projects/*/locations/*/repositories/*`.",
1195 "location": "path",
1196 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1197 "required": true,
1198 "type": "string"
1199 }
1200 },
1201 "path": "v1beta1/{+parent}/workflowConfigs",
1202 "response": {
1203 "$ref": "ListWorkflowConfigsResponse"
1204 },
1205 "scopes": [
1206 "https://www.googleapis.com/auth/cloud-platform"
1207 ]
1208 },
1209 "patch": {
1210 "description": "Updates a single WorkflowConfig.",
1211 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}",
1212 "httpMethod": "PATCH",
1213 "id": "dataform.projects.locations.repositories.workflowConfigs.patch",
1214 "parameterOrder": [
1215 "name"
1216 ],
1217 "parameters": {
1218 "name": {
1219 "description": "Identifier. The workflow config's name.",
1220 "location": "path",
1221 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$",
1222 "required": true,
1223 "type": "string"
1224 },
1225 "updateMask": {
1226 "description": "Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.",
1227 "format": "google-fieldmask",
1228 "location": "query",
1229 "type": "string"
1230 }
1231 },
1232 "path": "v1beta1/{+name}",
1233 "request": {
1234 "$ref": "WorkflowConfig"
1235 },
1236 "response": {
1237 "$ref": "WorkflowConfig"
1238 },
1239 "scopes": [
1240 "https://www.googleapis.com/auth/cloud-platform"
1241 ]
1242 }
1243 }
1244 },
1245 "workflowInvocations": {
1246 "methods": {
1247 "cancel": {
1248 "description": "Requests cancellation of a running WorkflowInvocation.",
1249 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}:cancel",
1250 "httpMethod": "POST",
1251 "id": "dataform.projects.locations.repositories.workflowInvocations.cancel",
1252 "parameterOrder": [
1253 "name"
1254 ],
1255 "parameters": {
1256 "name": {
1257 "description": "Required. The workflow invocation resource's name.",
1258 "location": "path",
1259 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$",
1260 "required": true,
1261 "type": "string"
1262 }
1263 },
1264 "path": "v1beta1/{+name}:cancel",
1265 "request": {
1266 "$ref": "CancelWorkflowInvocationRequest"
1267 },
1268 "response": {
1269 "$ref": "Empty"
1270 },
1271 "scopes": [
1272 "https://www.googleapis.com/auth/cloud-platform"
1273 ]
1274 },
1275 "create": {
1276 "description": "Creates a new WorkflowInvocation in a given Repository.",
1277 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations",
1278 "httpMethod": "POST",
1279 "id": "dataform.projects.locations.repositories.workflowInvocations.create",
1280 "parameterOrder": [
1281 "parent"
1282 ],
1283 "parameters": {
1284 "parent": {
1285 "description": "Required. The repository in which to create the workflow invocation. Must be in the format `projects/*/locations/*/repositories/*`.",
1286 "location": "path",
1287 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1288 "required": true,
1289 "type": "string"
1290 }
1291 },
1292 "path": "v1beta1/{+parent}/workflowInvocations",
1293 "request": {
1294 "$ref": "WorkflowInvocation"
1295 },
1296 "response": {
1297 "$ref": "WorkflowInvocation"
1298 },
1299 "scopes": [
1300 "https://www.googleapis.com/auth/cloud-platform"
1301 ]
1302 },
1303 "delete": {
1304 "description": "Deletes a single WorkflowInvocation.",
1305 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}",
1306 "httpMethod": "DELETE",
1307 "id": "dataform.projects.locations.repositories.workflowInvocations.delete",
1308 "parameterOrder": [
1309 "name"
1310 ],
1311 "parameters": {
1312 "name": {
1313 "description": "Required. The workflow invocation resource's name.",
1314 "location": "path",
1315 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$",
1316 "required": true,
1317 "type": "string"
1318 }
1319 },
1320 "path": "v1beta1/{+name}",
1321 "response": {
1322 "$ref": "Empty"
1323 },
1324 "scopes": [
1325 "https://www.googleapis.com/auth/cloud-platform"
1326 ]
1327 },
1328 "get": {
1329 "description": "Fetches a single WorkflowInvocation.",
1330 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}",
1331 "httpMethod": "GET",
1332 "id": "dataform.projects.locations.repositories.workflowInvocations.get",
1333 "parameterOrder": [
1334 "name"
1335 ],
1336 "parameters": {
1337 "name": {
1338 "description": "Required. The workflow invocation resource's name.",
1339 "location": "path",
1340 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$",
1341 "required": true,
1342 "type": "string"
1343 }
1344 },
1345 "path": "v1beta1/{+name}",
1346 "response": {
1347 "$ref": "WorkflowInvocation"
1348 },
1349 "scopes": [
1350 "https://www.googleapis.com/auth/cloud-platform"
1351 ]
1352 },
1353 "list": {
1354 "description": "Lists WorkflowInvocations in a given Repository.",
1355 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations",
1356 "httpMethod": "GET",
1357 "id": "dataform.projects.locations.repositories.workflowInvocations.list",
1358 "parameterOrder": [
1359 "parent"
1360 ],
1361 "parameters": {
1362 "filter": {
1363 "description": "Optional. Filter for the returned list.",
1364 "location": "query",
1365 "type": "string"
1366 },
1367 "orderBy": {
1368 "description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.",
1369 "location": "query",
1370 "type": "string"
1371 },
1372 "pageSize": {
1373 "description": "Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
1374 "format": "int32",
1375 "location": "query",
1376 "type": "integer"
1377 },
1378 "pageToken": {
1379 "description": "Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations` must match the call that provided the page token.",
1380 "location": "query",
1381 "type": "string"
1382 },
1383 "parent": {
1384 "description": "Required. The parent resource of the WorkflowInvocation type. Must be in the format `projects/*/locations/*/repositories/*`.",
1385 "location": "path",
1386 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1387 "required": true,
1388 "type": "string"
1389 }
1390 },
1391 "path": "v1beta1/{+parent}/workflowInvocations",
1392 "response": {
1393 "$ref": "ListWorkflowInvocationsResponse"
1394 },
1395 "scopes": [
1396 "https://www.googleapis.com/auth/cloud-platform"
1397 ]
1398 },
1399 "query": {
1400 "description": "Returns WorkflowInvocationActions in a given WorkflowInvocation.",
1401 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}:query",
1402 "httpMethod": "GET",
1403 "id": "dataform.projects.locations.repositories.workflowInvocations.query",
1404 "parameterOrder": [
1405 "name"
1406 ],
1407 "parameters": {
1408 "name": {
1409 "description": "Required. The workflow invocation's name.",
1410 "location": "path",
1411 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$",
1412 "required": true,
1413 "type": "string"
1414 },
1415 "pageSize": {
1416 "description": "Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
1417 "format": "int32",
1418 "location": "query",
1419 "type": "integer"
1420 },
1421 "pageToken": {
1422 "description": "Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions` must match the call that provided the page token.",
1423 "location": "query",
1424 "type": "string"
1425 }
1426 },
1427 "path": "v1beta1/{+name}:query",
1428 "response": {
1429 "$ref": "QueryWorkflowInvocationActionsResponse"
1430 },
1431 "scopes": [
1432 "https://www.googleapis.com/auth/cloud-platform"
1433 ]
1434 }
1435 }
1436 },
1437 "workspaces": {
1438 "methods": {
1439 "commit": {
1440 "description": "Applies a Git commit for uncommitted files in a Workspace.",
1441 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:commit",
1442 "httpMethod": "POST",
1443 "id": "dataform.projects.locations.repositories.workspaces.commit",
1444 "parameterOrder": [
1445 "name"
1446 ],
1447 "parameters": {
1448 "name": {
1449 "description": "Required. The workspace's name.",
1450 "location": "path",
1451 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1452 "required": true,
1453 "type": "string"
1454 }
1455 },
1456 "path": "v1beta1/{+name}:commit",
1457 "request": {
1458 "$ref": "CommitWorkspaceChangesRequest"
1459 },
1460 "response": {
1461 "$ref": "Empty"
1462 },
1463 "scopes": [
1464 "https://www.googleapis.com/auth/cloud-platform"
1465 ]
1466 },
1467 "create": {
1468 "description": "Creates a new Workspace in a given Repository.",
1469 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces",
1470 "httpMethod": "POST",
1471 "id": "dataform.projects.locations.repositories.workspaces.create",
1472 "parameterOrder": [
1473 "parent"
1474 ],
1475 "parameters": {
1476 "parent": {
1477 "description": "Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.",
1478 "location": "path",
1479 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1480 "required": true,
1481 "type": "string"
1482 },
1483 "workspaceId": {
1484 "description": "Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.",
1485 "location": "query",
1486 "type": "string"
1487 }
1488 },
1489 "path": "v1beta1/{+parent}/workspaces",
1490 "request": {
1491 "$ref": "Workspace"
1492 },
1493 "response": {
1494 "$ref": "Workspace"
1495 },
1496 "scopes": [
1497 "https://www.googleapis.com/auth/cloud-platform"
1498 ]
1499 },
1500 "delete": {
1501 "description": "Deletes a single Workspace.",
1502 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}",
1503 "httpMethod": "DELETE",
1504 "id": "dataform.projects.locations.repositories.workspaces.delete",
1505 "parameterOrder": [
1506 "name"
1507 ],
1508 "parameters": {
1509 "name": {
1510 "description": "Required. The workspace resource's name.",
1511 "location": "path",
1512 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1513 "required": true,
1514 "type": "string"
1515 }
1516 },
1517 "path": "v1beta1/{+name}",
1518 "response": {
1519 "$ref": "Empty"
1520 },
1521 "scopes": [
1522 "https://www.googleapis.com/auth/cloud-platform"
1523 ]
1524 },
1525 "fetchFileDiff": {
1526 "description": "Fetches Git diff for an uncommitted file in a Workspace.",
1527 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchFileDiff",
1528 "httpMethod": "GET",
1529 "id": "dataform.projects.locations.repositories.workspaces.fetchFileDiff",
1530 "parameterOrder": [
1531 "workspace"
1532 ],
1533 "parameters": {
1534 "path": {
1535 "description": "Required. The file's full path including filename, relative to the workspace root.",
1536 "location": "query",
1537 "type": "string"
1538 },
1539 "workspace": {
1540 "description": "Required. The workspace's name.",
1541 "location": "path",
1542 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1543 "required": true,
1544 "type": "string"
1545 }
1546 },
1547 "path": "v1beta1/{+workspace}:fetchFileDiff",
1548 "response": {
1549 "$ref": "FetchFileDiffResponse"
1550 },
1551 "scopes": [
1552 "https://www.googleapis.com/auth/cloud-platform"
1553 ]
1554 },
1555 "fetchFileGitStatuses": {
1556 "description": "Fetches Git statuses for the files in a Workspace.",
1557 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchFileGitStatuses",
1558 "httpMethod": "GET",
1559 "id": "dataform.projects.locations.repositories.workspaces.fetchFileGitStatuses",
1560 "parameterOrder": [
1561 "name"
1562 ],
1563 "parameters": {
1564 "name": {
1565 "description": "Required. The workspace's name.",
1566 "location": "path",
1567 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1568 "required": true,
1569 "type": "string"
1570 }
1571 },
1572 "path": "v1beta1/{+name}:fetchFileGitStatuses",
1573 "response": {
1574 "$ref": "FetchFileGitStatusesResponse"
1575 },
1576 "scopes": [
1577 "https://www.googleapis.com/auth/cloud-platform"
1578 ]
1579 },
1580 "fetchGitAheadBehind": {
1581 "description": "Fetches Git ahead/behind against a remote branch.",
1582 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchGitAheadBehind",
1583 "httpMethod": "GET",
1584 "id": "dataform.projects.locations.repositories.workspaces.fetchGitAheadBehind",
1585 "parameterOrder": [
1586 "name"
1587 ],
1588 "parameters": {
1589 "name": {
1590 "description": "Required. The workspace's name.",
1591 "location": "path",
1592 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1593 "required": true,
1594 "type": "string"
1595 },
1596 "remoteBranch": {
1597 "description": "Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.",
1598 "location": "query",
1599 "type": "string"
1600 }
1601 },
1602 "path": "v1beta1/{+name}:fetchGitAheadBehind",
1603 "response": {
1604 "$ref": "FetchGitAheadBehindResponse"
1605 },
1606 "scopes": [
1607 "https://www.googleapis.com/auth/cloud-platform"
1608 ]
1609 },
1610 "get": {
1611 "description": "Fetches a single Workspace.",
1612 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}",
1613 "httpMethod": "GET",
1614 "id": "dataform.projects.locations.repositories.workspaces.get",
1615 "parameterOrder": [
1616 "name"
1617 ],
1618 "parameters": {
1619 "name": {
1620 "description": "Required. The workspace's name.",
1621 "location": "path",
1622 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1623 "required": true,
1624 "type": "string"
1625 }
1626 },
1627 "path": "v1beta1/{+name}",
1628 "response": {
1629 "$ref": "Workspace"
1630 },
1631 "scopes": [
1632 "https://www.googleapis.com/auth/cloud-platform"
1633 ]
1634 },
1635 "getIamPolicy": {
1636 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
1637 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:getIamPolicy",
1638 "httpMethod": "GET",
1639 "id": "dataform.projects.locations.repositories.workspaces.getIamPolicy",
1640 "parameterOrder": [
1641 "resource"
1642 ],
1643 "parameters": {
1644 "options.requestedPolicyVersion": {
1645 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1646 "format": "int32",
1647 "location": "query",
1648 "type": "integer"
1649 },
1650 "resource": {
1651 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1652 "location": "path",
1653 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1654 "required": true,
1655 "type": "string"
1656 }
1657 },
1658 "path": "v1beta1/{+resource}:getIamPolicy",
1659 "response": {
1660 "$ref": "Policy"
1661 },
1662 "scopes": [
1663 "https://www.googleapis.com/auth/cloud-platform"
1664 ]
1665 },
1666 "installNpmPackages": {
1667 "description": "Installs dependency NPM packages (inside a Workspace).",
1668 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:installNpmPackages",
1669 "httpMethod": "POST",
1670 "id": "dataform.projects.locations.repositories.workspaces.installNpmPackages",
1671 "parameterOrder": [
1672 "workspace"
1673 ],
1674 "parameters": {
1675 "workspace": {
1676 "description": "Required. The workspace's name.",
1677 "location": "path",
1678 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1679 "required": true,
1680 "type": "string"
1681 }
1682 },
1683 "path": "v1beta1/{+workspace}:installNpmPackages",
1684 "request": {
1685 "$ref": "InstallNpmPackagesRequest"
1686 },
1687 "response": {
1688 "$ref": "InstallNpmPackagesResponse"
1689 },
1690 "scopes": [
1691 "https://www.googleapis.com/auth/cloud-platform"
1692 ]
1693 },
1694 "list": {
1695 "description": "Lists Workspaces in a given Repository.",
1696 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces",
1697 "httpMethod": "GET",
1698 "id": "dataform.projects.locations.repositories.workspaces.list",
1699 "parameterOrder": [
1700 "parent"
1701 ],
1702 "parameters": {
1703 "filter": {
1704 "description": "Optional. Filter for the returned list.",
1705 "location": "query",
1706 "type": "string"
1707 },
1708 "orderBy": {
1709 "description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.",
1710 "location": "query",
1711 "type": "string"
1712 },
1713 "pageSize": {
1714 "description": "Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
1715 "format": "int32",
1716 "location": "query",
1717 "type": "integer"
1718 },
1719 "pageToken": {
1720 "description": "Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token.",
1721 "location": "query",
1722 "type": "string"
1723 },
1724 "parent": {
1725 "description": "Required. The repository in which to list workspaces. Must be in the format `projects/*/locations/*/repositories/*`.",
1726 "location": "path",
1727 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
1728 "required": true,
1729 "type": "string"
1730 }
1731 },
1732 "path": "v1beta1/{+parent}/workspaces",
1733 "response": {
1734 "$ref": "ListWorkspacesResponse"
1735 },
1736 "scopes": [
1737 "https://www.googleapis.com/auth/cloud-platform"
1738 ]
1739 },
1740 "makeDirectory": {
1741 "description": "Creates a directory inside a Workspace.",
1742 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:makeDirectory",
1743 "httpMethod": "POST",
1744 "id": "dataform.projects.locations.repositories.workspaces.makeDirectory",
1745 "parameterOrder": [
1746 "workspace"
1747 ],
1748 "parameters": {
1749 "workspace": {
1750 "description": "Required. The workspace's name.",
1751 "location": "path",
1752 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1753 "required": true,
1754 "type": "string"
1755 }
1756 },
1757 "path": "v1beta1/{+workspace}:makeDirectory",
1758 "request": {
1759 "$ref": "MakeDirectoryRequest"
1760 },
1761 "response": {
1762 "$ref": "MakeDirectoryResponse"
1763 },
1764 "scopes": [
1765 "https://www.googleapis.com/auth/cloud-platform"
1766 ]
1767 },
1768 "moveDirectory": {
1769 "description": "Moves a directory (inside a Workspace), and all of its contents, to a new location.",
1770 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:moveDirectory",
1771 "httpMethod": "POST",
1772 "id": "dataform.projects.locations.repositories.workspaces.moveDirectory",
1773 "parameterOrder": [
1774 "workspace"
1775 ],
1776 "parameters": {
1777 "workspace": {
1778 "description": "Required. The workspace's name.",
1779 "location": "path",
1780 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1781 "required": true,
1782 "type": "string"
1783 }
1784 },
1785 "path": "v1beta1/{+workspace}:moveDirectory",
1786 "request": {
1787 "$ref": "MoveDirectoryRequest"
1788 },
1789 "response": {
1790 "$ref": "MoveDirectoryResponse"
1791 },
1792 "scopes": [
1793 "https://www.googleapis.com/auth/cloud-platform"
1794 ]
1795 },
1796 "moveFile": {
1797 "description": "Moves a file (inside a Workspace) to a new location.",
1798 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:moveFile",
1799 "httpMethod": "POST",
1800 "id": "dataform.projects.locations.repositories.workspaces.moveFile",
1801 "parameterOrder": [
1802 "workspace"
1803 ],
1804 "parameters": {
1805 "workspace": {
1806 "description": "Required. The workspace's name.",
1807 "location": "path",
1808 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1809 "required": true,
1810 "type": "string"
1811 }
1812 },
1813 "path": "v1beta1/{+workspace}:moveFile",
1814 "request": {
1815 "$ref": "MoveFileRequest"
1816 },
1817 "response": {
1818 "$ref": "MoveFileResponse"
1819 },
1820 "scopes": [
1821 "https://www.googleapis.com/auth/cloud-platform"
1822 ]
1823 },
1824 "pull": {
1825 "description": "Pulls Git commits from the Repository's remote into a Workspace.",
1826 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:pull",
1827 "httpMethod": "POST",
1828 "id": "dataform.projects.locations.repositories.workspaces.pull",
1829 "parameterOrder": [
1830 "name"
1831 ],
1832 "parameters": {
1833 "name": {
1834 "description": "Required. The workspace's name.",
1835 "location": "path",
1836 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1837 "required": true,
1838 "type": "string"
1839 }
1840 },
1841 "path": "v1beta1/{+name}:pull",
1842 "request": {
1843 "$ref": "PullGitCommitsRequest"
1844 },
1845 "response": {
1846 "$ref": "Empty"
1847 },
1848 "scopes": [
1849 "https://www.googleapis.com/auth/cloud-platform"
1850 ]
1851 },
1852 "push": {
1853 "description": "Pushes Git commits from a Workspace to the Repository's remote.",
1854 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:push",
1855 "httpMethod": "POST",
1856 "id": "dataform.projects.locations.repositories.workspaces.push",
1857 "parameterOrder": [
1858 "name"
1859 ],
1860 "parameters": {
1861 "name": {
1862 "description": "Required. The workspace's name.",
1863 "location": "path",
1864 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1865 "required": true,
1866 "type": "string"
1867 }
1868 },
1869 "path": "v1beta1/{+name}:push",
1870 "request": {
1871 "$ref": "PushGitCommitsRequest"
1872 },
1873 "response": {
1874 "$ref": "Empty"
1875 },
1876 "scopes": [
1877 "https://www.googleapis.com/auth/cloud-platform"
1878 ]
1879 },
1880 "queryDirectoryContents": {
1881 "description": "Returns the contents of a given Workspace directory.",
1882 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:queryDirectoryContents",
1883 "httpMethod": "GET",
1884 "id": "dataform.projects.locations.repositories.workspaces.queryDirectoryContents",
1885 "parameterOrder": [
1886 "workspace"
1887 ],
1888 "parameters": {
1889 "pageSize": {
1890 "description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
1891 "format": "int32",
1892 "location": "query",
1893 "type": "integer"
1894 },
1895 "pageToken": {
1896 "description": "Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents` must match the call that provided the page token.",
1897 "location": "query",
1898 "type": "string"
1899 },
1900 "path": {
1901 "description": "Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.",
1902 "location": "query",
1903 "type": "string"
1904 },
1905 "workspace": {
1906 "description": "Required. The workspace's name.",
1907 "location": "path",
1908 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1909 "required": true,
1910 "type": "string"
1911 }
1912 },
1913 "path": "v1beta1/{+workspace}:queryDirectoryContents",
1914 "response": {
1915 "$ref": "QueryDirectoryContentsResponse"
1916 },
1917 "scopes": [
1918 "https://www.googleapis.com/auth/cloud-platform"
1919 ]
1920 },
1921 "readFile": {
1922 "description": "Returns the contents of a file (inside a Workspace).",
1923 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:readFile",
1924 "httpMethod": "GET",
1925 "id": "dataform.projects.locations.repositories.workspaces.readFile",
1926 "parameterOrder": [
1927 "workspace"
1928 ],
1929 "parameters": {
1930 "path": {
1931 "description": "Required. The file's full path including filename, relative to the workspace root.",
1932 "location": "query",
1933 "type": "string"
1934 },
1935 "revision": {
1936 "description": "Optional. The Git revision of the file to return. If left empty, the current contents of `path` will be returned.",
1937 "location": "query",
1938 "type": "string"
1939 },
1940 "workspace": {
1941 "description": "Required. The workspace's name.",
1942 "location": "path",
1943 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1944 "required": true,
1945 "type": "string"
1946 }
1947 },
1948 "path": "v1beta1/{+workspace}:readFile",
1949 "response": {
1950 "$ref": "ReadFileResponse"
1951 },
1952 "scopes": [
1953 "https://www.googleapis.com/auth/cloud-platform"
1954 ]
1955 },
1956 "removeDirectory": {
1957 "description": "Deletes a directory (inside a Workspace) and all of its contents.",
1958 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:removeDirectory",
1959 "httpMethod": "POST",
1960 "id": "dataform.projects.locations.repositories.workspaces.removeDirectory",
1961 "parameterOrder": [
1962 "workspace"
1963 ],
1964 "parameters": {
1965 "workspace": {
1966 "description": "Required. The workspace's name.",
1967 "location": "path",
1968 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1969 "required": true,
1970 "type": "string"
1971 }
1972 },
1973 "path": "v1beta1/{+workspace}:removeDirectory",
1974 "request": {
1975 "$ref": "RemoveDirectoryRequest"
1976 },
1977 "response": {
1978 "$ref": "Empty"
1979 },
1980 "scopes": [
1981 "https://www.googleapis.com/auth/cloud-platform"
1982 ]
1983 },
1984 "removeFile": {
1985 "description": "Deletes a file (inside a Workspace).",
1986 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:removeFile",
1987 "httpMethod": "POST",
1988 "id": "dataform.projects.locations.repositories.workspaces.removeFile",
1989 "parameterOrder": [
1990 "workspace"
1991 ],
1992 "parameters": {
1993 "workspace": {
1994 "description": "Required. The workspace's name.",
1995 "location": "path",
1996 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
1997 "required": true,
1998 "type": "string"
1999 }
2000 },
2001 "path": "v1beta1/{+workspace}:removeFile",
2002 "request": {
2003 "$ref": "RemoveFileRequest"
2004 },
2005 "response": {
2006 "$ref": "Empty"
2007 },
2008 "scopes": [
2009 "https://www.googleapis.com/auth/cloud-platform"
2010 ]
2011 },
2012 "reset": {
2013 "description": "Performs a Git reset for uncommitted files in a Workspace.",
2014 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:reset",
2015 "httpMethod": "POST",
2016 "id": "dataform.projects.locations.repositories.workspaces.reset",
2017 "parameterOrder": [
2018 "name"
2019 ],
2020 "parameters": {
2021 "name": {
2022 "description": "Required. The workspace's name.",
2023 "location": "path",
2024 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
2025 "required": true,
2026 "type": "string"
2027 }
2028 },
2029 "path": "v1beta1/{+name}:reset",
2030 "request": {
2031 "$ref": "ResetWorkspaceChangesRequest"
2032 },
2033 "response": {
2034 "$ref": "Empty"
2035 },
2036 "scopes": [
2037 "https://www.googleapis.com/auth/cloud-platform"
2038 ]
2039 },
2040 "searchFiles": {
2041 "description": "Finds the contents of a given Workspace directory by filter.",
2042 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:searchFiles",
2043 "httpMethod": "GET",
2044 "id": "dataform.projects.locations.repositories.workspaces.searchFiles",
2045 "parameterOrder": [
2046 "workspace"
2047 ],
2048 "parameters": {
2049 "filter": {
2050 "description": "Optional. Optional filter for the returned list in filtering format. Filtering is only currently supported on the `path` field. See https://google.aip.dev/160 for details.",
2051 "location": "query",
2052 "type": "string"
2053 },
2054 "pageSize": {
2055 "description": "Optional. Maximum number of search results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
2056 "format": "int32",
2057 "location": "query",
2058 "type": "integer"
2059 },
2060 "pageToken": {
2061 "description": "Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest` must match the call that provided the page token.",
2062 "location": "query",
2063 "type": "string"
2064 },
2065 "workspace": {
2066 "description": "Required. The workspace's name.",
2067 "location": "path",
2068 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
2069 "required": true,
2070 "type": "string"
2071 }
2072 },
2073 "path": "v1beta1/{+workspace}:searchFiles",
2074 "response": {
2075 "$ref": "SearchFilesResponse"
2076 },
2077 "scopes": [
2078 "https://www.googleapis.com/auth/cloud-platform"
2079 ]
2080 },
2081 "setIamPolicy": {
2082 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
2083 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:setIamPolicy",
2084 "httpMethod": "POST",
2085 "id": "dataform.projects.locations.repositories.workspaces.setIamPolicy",
2086 "parameterOrder": [
2087 "resource"
2088 ],
2089 "parameters": {
2090 "resource": {
2091 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
2092 "location": "path",
2093 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
2094 "required": true,
2095 "type": "string"
2096 }
2097 },
2098 "path": "v1beta1/{+resource}:setIamPolicy",
2099 "request": {
2100 "$ref": "SetIamPolicyRequest"
2101 },
2102 "response": {
2103 "$ref": "Policy"
2104 },
2105 "scopes": [
2106 "https://www.googleapis.com/auth/cloud-platform"
2107 ]
2108 },
2109 "testIamPermissions": {
2110 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
2111 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:testIamPermissions",
2112 "httpMethod": "POST",
2113 "id": "dataform.projects.locations.repositories.workspaces.testIamPermissions",
2114 "parameterOrder": [
2115 "resource"
2116 ],
2117 "parameters": {
2118 "resource": {
2119 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
2120 "location": "path",
2121 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
2122 "required": true,
2123 "type": "string"
2124 }
2125 },
2126 "path": "v1beta1/{+resource}:testIamPermissions",
2127 "request": {
2128 "$ref": "TestIamPermissionsRequest"
2129 },
2130 "response": {
2131 "$ref": "TestIamPermissionsResponse"
2132 },
2133 "scopes": [
2134 "https://www.googleapis.com/auth/cloud-platform"
2135 ]
2136 },
2137 "writeFile": {
2138 "description": "Writes to a file (inside a Workspace).",
2139 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:writeFile",
2140 "httpMethod": "POST",
2141 "id": "dataform.projects.locations.repositories.workspaces.writeFile",
2142 "parameterOrder": [
2143 "workspace"
2144 ],
2145 "parameters": {
2146 "workspace": {
2147 "description": "Required. The workspace's name.",
2148 "location": "path",
2149 "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$",
2150 "required": true,
2151 "type": "string"
2152 }
2153 },
2154 "path": "v1beta1/{+workspace}:writeFile",
2155 "request": {
2156 "$ref": "WriteFileRequest"
2157 },
2158 "response": {
2159 "$ref": "WriteFileResponse"
2160 },
2161 "scopes": [
2162 "https://www.googleapis.com/auth/cloud-platform"
2163 ]
2164 }
2165 }
2166 }
2167 }
2168 }
2169 }
2170 }
2171 }
2172 }
2173 },
2174 "revision": "20240504",
2175 "rootUrl": "https://dataform.googleapis.com/",
2176 "schemas": {
2177 "Assertion": {
2178 "description": "Represents an assertion upon a SQL query which is required return zero rows.",
2179 "id": "Assertion",
2180 "properties": {
2181 "dependencyTargets": {
2182 "description": "A list of actions that this action depends on.",
2183 "items": {
2184 "$ref": "Target"
2185 },
2186 "type": "array"
2187 },
2188 "disabled": {
2189 "description": "Whether this action is disabled (i.e. should not be run).",
2190 "type": "boolean"
2191 },
2192 "parentAction": {
2193 "$ref": "Target",
2194 "description": "The parent action of this assertion. Only set if this assertion was automatically generated."
2195 },
2196 "relationDescriptor": {
2197 "$ref": "RelationDescriptor",
2198 "description": "Descriptor for the assertion's automatically-generated view and its columns."
2199 },
2200 "selectQuery": {
2201 "description": "The SELECT query which must return zero rows in order for this assertion to succeed.",
2202 "type": "string"
2203 },
2204 "tags": {
2205 "description": "Arbitrary, user-defined tags on this action.",
2206 "items": {
2207 "type": "string"
2208 },
2209 "type": "array"
2210 }
2211 },
2212 "type": "object"
2213 },
2214 "BigQueryAction": {
2215 "description": "Represents a workflow action that will run against BigQuery.",
2216 "id": "BigQueryAction",
2217 "properties": {
2218 "jobId": {
2219 "description": "Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.",
2220 "readOnly": true,
2221 "type": "string"
2222 },
2223 "sqlScript": {
2224 "description": "Output only. The generated BigQuery SQL script that will be executed.",
2225 "readOnly": true,
2226 "type": "string"
2227 }
2228 },
2229 "type": "object"
2230 },
2231 "Binding": {
2232 "description": "Associates `members`, or principals, with a `role`.",
2233 "id": "Binding",
2234 "properties": {
2235 "condition": {
2236 "$ref": "Expr",
2237 "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
2238 },
2239 "members": {
2240 "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.",
2241 "items": {
2242 "type": "string"
2243 },
2244 "type": "array"
2245 },
2246 "role": {
2247 "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
2248 "type": "string"
2249 }
2250 },
2251 "type": "object"
2252 },
2253 "CancelWorkflowInvocationRequest": {
2254 "description": "`CancelWorkflowInvocation` request message.",
2255 "id": "CancelWorkflowInvocationRequest",
2256 "properties": {},
2257 "type": "object"
2258 },
2259 "CodeCompilationConfig": {
2260 "description": "Configures various aspects of Dataform code compilation.",
2261 "id": "CodeCompilationConfig",
2262 "properties": {
2263 "assertionSchema": {
2264 "description": "Optional. The default schema (BigQuery dataset ID) for assertions.",
2265 "type": "string"
2266 },
2267 "databaseSuffix": {
2268 "description": "Optional. The suffix that should be appended to all database (Google Cloud project ID) names.",
2269 "type": "string"
2270 },
2271 "defaultDatabase": {
2272 "description": "Optional. The default database (Google Cloud project ID).",
2273 "type": "string"
2274 },
2275 "defaultLocation": {
2276 "description": "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.",
2277 "type": "string"
2278 },
2279 "defaultNotebookRuntimeOptions": {
2280 "$ref": "NotebookRuntimeOptions"
2281 },
2282 "defaultSchema": {
2283 "description": "Optional. The default schema (BigQuery dataset ID).",
2284 "type": "string"
2285 },
2286 "schemaSuffix": {
2287 "description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.",
2288 "type": "string"
2289 },
2290 "tablePrefix": {
2291 "description": "Optional. The prefix that should be prepended to all table names.",
2292 "type": "string"
2293 },
2294 "vars": {
2295 "additionalProperties": {
2296 "type": "string"
2297 },
2298 "description": "Optional. User-defined variables that are made available to project code during compilation.",
2299 "type": "object"
2300 }
2301 },
2302 "type": "object"
2303 },
2304 "ColumnDescriptor": {
2305 "description": "Describes a column.",
2306 "id": "ColumnDescriptor",
2307 "properties": {
2308 "bigqueryPolicyTags": {
2309 "description": "A list of BigQuery policy tags that will be applied to the column.",
2310 "items": {
2311 "type": "string"
2312 },
2313 "type": "array"
2314 },
2315 "description": {
2316 "description": "A textual description of the column.",
2317 "type": "string"
2318 },
2319 "path": {
2320 "description": "The identifier for the column. Each entry in `path` represents one level of nesting.",
2321 "items": {
2322 "type": "string"
2323 },
2324 "type": "array"
2325 }
2326 },
2327 "type": "object"
2328 },
2329 "CommitAuthor": {
2330 "description": "Represents the author of a Git commit.",
2331 "id": "CommitAuthor",
2332 "properties": {
2333 "emailAddress": {
2334 "description": "Required. The commit author's email address.",
2335 "type": "string"
2336 },
2337 "name": {
2338 "description": "Required. The commit author's name.",
2339 "type": "string"
2340 }
2341 },
2342 "type": "object"
2343 },
2344 "CommitLogEntry": {
2345 "description": "Represents a single commit log.",
2346 "id": "CommitLogEntry",
2347 "properties": {
2348 "author": {
2349 "$ref": "CommitAuthor",
2350 "description": "The commit author for this commit log entry."
2351 },
2352 "commitMessage": {
2353 "description": "The commit message for this commit log entry.",
2354 "type": "string"
2355 },
2356 "commitSha": {
2357 "description": "The commit SHA for this commit log entry.",
2358 "type": "string"
2359 },
2360 "commitTime": {
2361 "description": "Commit timestamp.",
2362 "format": "google-datetime",
2363 "type": "string"
2364 }
2365 },
2366 "type": "object"
2367 },
2368 "CommitMetadata": {
2369 "description": "Represents a Dataform Git commit.",
2370 "id": "CommitMetadata",
2371 "properties": {
2372 "author": {
2373 "$ref": "CommitAuthor",
2374 "description": "Required. The commit's author."
2375 },
2376 "commitMessage": {
2377 "description": "Optional. The commit's message.",
2378 "type": "string"
2379 }
2380 },
2381 "type": "object"
2382 },
2383 "CommitRepositoryChangesRequest": {
2384 "description": "`CommitRepositoryChanges` request message.",
2385 "id": "CommitRepositoryChangesRequest",
2386 "properties": {
2387 "commitMetadata": {
2388 "$ref": "CommitMetadata",
2389 "description": "Required. The changes to commit to the repository."
2390 },
2391 "fileOperations": {
2392 "additionalProperties": {
2393 "$ref": "FileOperation"
2394 },
2395 "description": "A map to the path of the file to the operation. The path is the full file path including filename, from repository root.",
2396 "type": "object"
2397 },
2398 "requiredHeadCommitSha": {
2399 "description": "Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.",
2400 "type": "string"
2401 }
2402 },
2403 "type": "object"
2404 },
2405 "CommitRepositoryChangesResponse": {
2406 "description": "`CommitRepositoryChanges` response message.",
2407 "id": "CommitRepositoryChangesResponse",
2408 "properties": {
2409 "commitSha": {
2410 "description": "The commit SHA of the current commit.",
2411 "type": "string"
2412 }
2413 },
2414 "type": "object"
2415 },
2416 "CommitWorkspaceChangesRequest": {
2417 "description": "`CommitWorkspaceChanges` request message.",
2418 "id": "CommitWorkspaceChangesRequest",
2419 "properties": {
2420 "author": {
2421 "$ref": "CommitAuthor",
2422 "description": "Required. The commit's author."
2423 },
2424 "commitMessage": {
2425 "description": "Optional. The commit's message.",
2426 "type": "string"
2427 },
2428 "paths": {
2429 "description": "Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.",
2430 "items": {
2431 "type": "string"
2432 },
2433 "type": "array"
2434 }
2435 },
2436 "type": "object"
2437 },
2438 "CompilationError": {
2439 "description": "An error encountered when attempting to compile a Dataform project.",
2440 "id": "CompilationError",
2441 "properties": {
2442 "actionTarget": {
2443 "$ref": "Target",
2444 "description": "Output only. The identifier of the action where this error occurred, if available.",
2445 "readOnly": true
2446 },
2447 "message": {
2448 "description": "Output only. The error's top level message.",
2449 "readOnly": true,
2450 "type": "string"
2451 },
2452 "path": {
2453 "description": "Output only. The path of the file where this error occurred, if available, relative to the project root.",
2454 "readOnly": true,
2455 "type": "string"
2456 },
2457 "stack": {
2458 "description": "Output only. The error's full stack trace.",
2459 "readOnly": true,
2460 "type": "string"
2461 }
2462 },
2463 "type": "object"
2464 },
2465 "CompilationResult": {
2466 "description": "Represents the result of compiling a Dataform project.",
2467 "id": "CompilationResult",
2468 "properties": {
2469 "codeCompilationConfig": {
2470 "$ref": "CodeCompilationConfig",
2471 "description": "Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json."
2472 },
2473 "compilationErrors": {
2474 "description": "Output only. Errors encountered during project compilation.",
2475 "items": {
2476 "$ref": "CompilationError"
2477 },
2478 "readOnly": true,
2479 "type": "array"
2480 },
2481 "dataEncryptionState": {
2482 "$ref": "DataEncryptionState",
2483 "description": "Output only. Only set if the repository has a KMS Key.",
2484 "readOnly": true
2485 },
2486 "dataformCoreVersion": {
2487 "description": "Output only. The version of `@dataform/core` that was used for compilation.",
2488 "readOnly": true,
2489 "type": "string"
2490 },
2491 "gitCommitish": {
2492 "description": "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`",
2493 "type": "string"
2494 },
2495 "name": {
2496 "description": "Output only. The compilation result's name.",
2497 "readOnly": true,
2498 "type": "string"
2499 },
2500 "releaseConfig": {
2501 "description": "Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.",
2502 "type": "string"
2503 },
2504 "resolvedGitCommitSha": {
2505 "description": "Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.",
2506 "readOnly": true,
2507 "type": "string"
2508 },
2509 "workspace": {
2510 "description": "Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.",
2511 "type": "string"
2512 }
2513 },
2514 "type": "object"
2515 },
2516 "CompilationResultAction": {
2517 "description": "Represents a single Dataform action in a compilation result.",
2518 "id": "CompilationResultAction",
2519 "properties": {
2520 "assertion": {
2521 "$ref": "Assertion",
2522 "description": "The assertion executed by this action."
2523 },
2524 "canonicalTarget": {
2525 "$ref": "Target",
2526 "description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result."
2527 },
2528 "declaration": {
2529 "$ref": "Declaration",
2530 "description": "The declaration declared by this action."
2531 },
2532 "filePath": {
2533 "description": "The full path including filename in which this action is located, relative to the workspace root.",
2534 "type": "string"
2535 },
2536 "notebook": {
2537 "$ref": "Notebook",
2538 "description": "The notebook executed by this action."
2539 },
2540 "operations": {
2541 "$ref": "Operations",
2542 "description": "The database operations executed by this action."
2543 },
2544 "relation": {
2545 "$ref": "Relation",
2546 "description": "The database relation created/updated by this action."
2547 },
2548 "target": {
2549 "$ref": "Target",
2550 "description": "This action's identifier. Unique within the compilation result."
2551 }
2552 },
2553 "type": "object"
2554 },
2555 "ComputeRepositoryAccessTokenStatusResponse": {
2556 "description": "`ComputeRepositoryAccessTokenStatus` response message.",
2557 "id": "ComputeRepositoryAccessTokenStatusResponse",
2558 "properties": {
2559 "tokenStatus": {
2560 "description": "Indicates the status of the Git access token.",
2561 "enum": [
2562 "TOKEN_STATUS_UNSPECIFIED",
2563 "NOT_FOUND",
2564 "INVALID",
2565 "VALID"
2566 ],
2567 "enumDescriptions": [
2568 "Default value. This value is unused.",
2569 "The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).",
2570 "The token could not be used to authenticate against the Git remote.",
2571 "The token was used successfully to authenticate against the Git remote."
2572 ],
2573 "type": "string"
2574 }
2575 },
2576 "type": "object"
2577 },
2578 "DataEncryptionState": {
2579 "description": "Describes encryption state of a resource.",
2580 "id": "DataEncryptionState",
2581 "properties": {
2582 "kmsKeyVersionName": {
2583 "description": "The KMS key version name with which data of a resource is encrypted.",
2584 "type": "string"
2585 }
2586 },
2587 "type": "object"
2588 },
2589 "Declaration": {
2590 "description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.",
2591 "id": "Declaration",
2592 "properties": {
2593 "relationDescriptor": {
2594 "$ref": "RelationDescriptor",
2595 "description": "Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation's metadata."
2596 }
2597 },
2598 "type": "object"
2599 },
2600 "DeleteFile": {
2601 "description": "Represents the delete file operation.",
2602 "id": "DeleteFile",
2603 "properties": {},
2604 "type": "object"
2605 },
2606 "DirectoryEntry": {
2607 "description": "Represents a single entry in a directory.",
2608 "id": "DirectoryEntry",
2609 "properties": {
2610 "directory": {
2611 "description": "A child directory in the directory.",
2612 "type": "string"
2613 },
2614 "file": {
2615 "description": "A file in the directory.",
2616 "type": "string"
2617 }
2618 },
2619 "type": "object"
2620 },
2621 "DirectorySearchResult": {
2622 "description": "Client-facing representation of a directory entry in search results.",
2623 "id": "DirectorySearchResult",
2624 "properties": {
2625 "path": {
2626 "description": "File system path relative to the workspace root.",
2627 "type": "string"
2628 }
2629 },
2630 "type": "object"
2631 },
2632 "Empty": {
2633 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
2634 "id": "Empty",
2635 "properties": {},
2636 "type": "object"
2637 },
2638 "Expr": {
2639 "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
2640 "id": "Expr",
2641 "properties": {
2642 "description": {
2643 "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
2644 "type": "string"
2645 },
2646 "expression": {
2647 "description": "Textual representation of an expression in Common Expression Language syntax.",
2648 "type": "string"
2649 },
2650 "location": {
2651 "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
2652 "type": "string"
2653 },
2654 "title": {
2655 "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
2656 "type": "string"
2657 }
2658 },
2659 "type": "object"
2660 },
2661 "FetchFileDiffResponse": {
2662 "description": "`FetchFileDiff` response message.",
2663 "id": "FetchFileDiffResponse",
2664 "properties": {
2665 "formattedDiff": {
2666 "description": "The raw formatted Git diff for the file.",
2667 "type": "string"
2668 }
2669 },
2670 "type": "object"
2671 },
2672 "FetchFileGitStatusesResponse": {
2673 "description": "`FetchFileGitStatuses` response message.",
2674 "id": "FetchFileGitStatusesResponse",
2675 "properties": {
2676 "uncommittedFileChanges": {
2677 "description": "A list of all files which have uncommitted Git changes. There will only be a single entry for any given file.",
2678 "items": {
2679 "$ref": "UncommittedFileChange"
2680 },
2681 "type": "array"
2682 }
2683 },
2684 "type": "object"
2685 },
2686 "FetchGitAheadBehindResponse": {
2687 "description": "`FetchGitAheadBehind` response message.",
2688 "id": "FetchGitAheadBehindResponse",
2689 "properties": {
2690 "commitsAhead": {
2691 "description": "The number of commits in the remote branch that are not in the workspace.",
2692 "format": "int32",
2693 "type": "integer"
2694 },
2695 "commitsBehind": {
2696 "description": "The number of commits in the workspace that are not in the remote branch.",
2697 "format": "int32",
2698 "type": "integer"
2699 }
2700 },
2701 "type": "object"
2702 },
2703 "FetchRemoteBranchesResponse": {
2704 "description": "`FetchRemoteBranches` response message.",
2705 "id": "FetchRemoteBranchesResponse",
2706 "properties": {
2707 "branches": {
2708 "description": "The remote repository's branch names.",
2709 "items": {
2710 "type": "string"
2711 },
2712 "type": "array"
2713 }
2714 },
2715 "type": "object"
2716 },
2717 "FetchRepositoryHistoryResponse": {
2718 "description": "`FetchRepositoryHistory` response message.",
2719 "id": "FetchRepositoryHistoryResponse",
2720 "properties": {
2721 "commits": {
2722 "description": "A list of commit logs, ordered by 'git log' default order.",
2723 "items": {
2724 "$ref": "CommitLogEntry"
2725 },
2726 "type": "array"
2727 },
2728 "nextPageToken": {
2729 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
2730 "type": "string"
2731 }
2732 },
2733 "type": "object"
2734 },
2735 "FileOperation": {
2736 "description": "Represents a single file operation to the repository.",
2737 "id": "FileOperation",
2738 "properties": {
2739 "deleteFile": {
2740 "$ref": "DeleteFile",
2741 "description": "Represents the delete operation."
2742 },
2743 "writeFile": {
2744 "$ref": "WriteFile",
2745 "description": "Represents the write operation."
2746 }
2747 },
2748 "type": "object"
2749 },
2750 "FileSearchResult": {
2751 "description": "Client-facing representation of a file entry in search results.",
2752 "id": "FileSearchResult",
2753 "properties": {
2754 "path": {
2755 "description": "File system path relative to the workspace root.",
2756 "type": "string"
2757 }
2758 },
2759 "type": "object"
2760 },
2761 "GitRemoteSettings": {
2762 "description": "Controls Git remote configuration for a repository.",
2763 "id": "GitRemoteSettings",
2764 "properties": {
2765 "authenticationTokenSecretVersion": {
2766 "description": "Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.",
2767 "type": "string"
2768 },
2769 "defaultBranch": {
2770 "description": "Required. The Git remote's default branch name.",
2771 "type": "string"
2772 },
2773 "sshAuthenticationConfig": {
2774 "$ref": "SshAuthenticationConfig",
2775 "description": "Optional. Authentication fields for remote uris using SSH protocol."
2776 },
2777 "tokenStatus": {
2778 "deprecated": true,
2779 "description": "Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus",
2780 "enum": [
2781 "TOKEN_STATUS_UNSPECIFIED",
2782 "NOT_FOUND",
2783 "INVALID",
2784 "VALID"
2785 ],
2786 "enumDescriptions": [
2787 "Default value. This value is unused.",
2788 "The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).",
2789 "The token could not be used to authenticate against the Git remote.",
2790 "The token was used successfully to authenticate against the Git remote."
2791 ],
2792 "readOnly": true,
2793 "type": "string"
2794 },
2795 "url": {
2796 "description": "Required. The Git remote's URL.",
2797 "type": "string"
2798 }
2799 },
2800 "type": "object"
2801 },
2802 "IncrementalTableConfig": {
2803 "description": "Contains settings for relations of type `INCREMENTAL_TABLE`.",
2804 "id": "IncrementalTableConfig",
2805 "properties": {
2806 "incrementalPostOperations": {
2807 "description": "SQL statements to be executed after inserting new rows into the relation.",
2808 "items": {
2809 "type": "string"
2810 },
2811 "type": "array"
2812 },
2813 "incrementalPreOperations": {
2814 "description": "SQL statements to be executed before inserting new rows into the relation.",
2815 "items": {
2816 "type": "string"
2817 },
2818 "type": "array"
2819 },
2820 "incrementalSelectQuery": {
2821 "description": "The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.",
2822 "type": "string"
2823 },
2824 "refreshDisabled": {
2825 "description": "Whether this table should be protected from being refreshed.",
2826 "type": "boolean"
2827 },
2828 "uniqueKeyParts": {
2829 "description": "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.",
2830 "items": {
2831 "type": "string"
2832 },
2833 "type": "array"
2834 },
2835 "updatePartitionFilter": {
2836 "description": "A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).",
2837 "type": "string"
2838 }
2839 },
2840 "type": "object"
2841 },
2842 "InstallNpmPackagesRequest": {
2843 "description": "`InstallNpmPackages` request message.",
2844 "id": "InstallNpmPackagesRequest",
2845 "properties": {},
2846 "type": "object"
2847 },
2848 "InstallNpmPackagesResponse": {
2849 "description": "`InstallNpmPackages` response message.",
2850 "id": "InstallNpmPackagesResponse",
2851 "properties": {},
2852 "type": "object"
2853 },
2854 "Interval": {
2855 "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.",
2856 "id": "Interval",
2857 "properties": {
2858 "endTime": {
2859 "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.",
2860 "format": "google-datetime",
2861 "type": "string"
2862 },
2863 "startTime": {
2864 "description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.",
2865 "format": "google-datetime",
2866 "type": "string"
2867 }
2868 },
2869 "type": "object"
2870 },
2871 "InvocationConfig": {
2872 "description": "Includes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included.",
2873 "id": "InvocationConfig",
2874 "properties": {
2875 "fullyRefreshIncrementalTablesEnabled": {
2876 "description": "Optional. When set to true, any incremental tables will be fully refreshed.",
2877 "type": "boolean"
2878 },
2879 "includedTags": {
2880 "description": "Optional. The set of tags to include.",
2881 "items": {
2882 "type": "string"
2883 },
2884 "type": "array"
2885 },
2886 "includedTargets": {
2887 "description": "Optional. The set of action identifiers to include.",
2888 "items": {
2889 "$ref": "Target"
2890 },
2891 "type": "array"
2892 },
2893 "serviceAccount": {
2894 "description": "Optional. The service account to run workflow invocations under.",
2895 "type": "string"
2896 },
2897 "transitiveDependenciesIncluded": {
2898 "description": "Optional. When set to true, transitive dependencies of included actions will be executed.",
2899 "type": "boolean"
2900 },
2901 "transitiveDependentsIncluded": {
2902 "description": "Optional. When set to true, transitive dependents of included actions will be executed.",
2903 "type": "boolean"
2904 }
2905 },
2906 "type": "object"
2907 },
2908 "ListCompilationResultsResponse": {
2909 "description": "`ListCompilationResults` response message.",
2910 "id": "ListCompilationResultsResponse",
2911 "properties": {
2912 "compilationResults": {
2913 "description": "List of compilation results.",
2914 "items": {
2915 "$ref": "CompilationResult"
2916 },
2917 "type": "array"
2918 },
2919 "nextPageToken": {
2920 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
2921 "type": "string"
2922 },
2923 "unreachable": {
2924 "description": "Locations which could not be reached.",
2925 "items": {
2926 "type": "string"
2927 },
2928 "type": "array"
2929 }
2930 },
2931 "type": "object"
2932 },
2933 "ListLocationsResponse": {
2934 "description": "The response message for Locations.ListLocations.",
2935 "id": "ListLocationsResponse",
2936 "properties": {
2937 "locations": {
2938 "description": "A list of locations that matches the specified filter in the request.",
2939 "items": {
2940 "$ref": "Location"
2941 },
2942 "type": "array"
2943 },
2944 "nextPageToken": {
2945 "description": "The standard List next-page token.",
2946 "type": "string"
2947 }
2948 },
2949 "type": "object"
2950 },
2951 "ListReleaseConfigsResponse": {
2952 "description": "`ListReleaseConfigs` response message.",
2953 "id": "ListReleaseConfigsResponse",
2954 "properties": {
2955 "nextPageToken": {
2956 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
2957 "type": "string"
2958 },
2959 "releaseConfigs": {
2960 "description": "List of release configs.",
2961 "items": {
2962 "$ref": "ReleaseConfig"
2963 },
2964 "type": "array"
2965 },
2966 "unreachable": {
2967 "description": "Locations which could not be reached.",
2968 "items": {
2969 "type": "string"
2970 },
2971 "type": "array"
2972 }
2973 },
2974 "type": "object"
2975 },
2976 "ListRepositoriesResponse": {
2977 "description": "`ListRepositories` response message.",
2978 "id": "ListRepositoriesResponse",
2979 "properties": {
2980 "nextPageToken": {
2981 "description": "A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
2982 "type": "string"
2983 },
2984 "repositories": {
2985 "description": "List of repositories.",
2986 "items": {
2987 "$ref": "Repository"
2988 },
2989 "type": "array"
2990 },
2991 "unreachable": {
2992 "description": "Locations which could not be reached.",
2993 "items": {
2994 "type": "string"
2995 },
2996 "type": "array"
2997 }
2998 },
2999 "type": "object"
3000 },
3001 "ListWorkflowConfigsResponse": {
3002 "description": "`ListWorkflowConfigs` response message.",
3003 "id": "ListWorkflowConfigsResponse",
3004 "properties": {
3005 "nextPageToken": {
3006 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3007 "type": "string"
3008 },
3009 "unreachable": {
3010 "description": "Locations which could not be reached.",
3011 "items": {
3012 "type": "string"
3013 },
3014 "type": "array"
3015 },
3016 "workflowConfigs": {
3017 "description": "List of workflow configs.",
3018 "items": {
3019 "$ref": "WorkflowConfig"
3020 },
3021 "type": "array"
3022 }
3023 },
3024 "type": "object"
3025 },
3026 "ListWorkflowInvocationsResponse": {
3027 "description": "`ListWorkflowInvocations` response message.",
3028 "id": "ListWorkflowInvocationsResponse",
3029 "properties": {
3030 "nextPageToken": {
3031 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3032 "type": "string"
3033 },
3034 "unreachable": {
3035 "description": "Locations which could not be reached.",
3036 "items": {
3037 "type": "string"
3038 },
3039 "type": "array"
3040 },
3041 "workflowInvocations": {
3042 "description": "List of workflow invocations.",
3043 "items": {
3044 "$ref": "WorkflowInvocation"
3045 },
3046 "type": "array"
3047 }
3048 },
3049 "type": "object"
3050 },
3051 "ListWorkspacesResponse": {
3052 "description": "`ListWorkspaces` response message.",
3053 "id": "ListWorkspacesResponse",
3054 "properties": {
3055 "nextPageToken": {
3056 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3057 "type": "string"
3058 },
3059 "unreachable": {
3060 "description": "Locations which could not be reached.",
3061 "items": {
3062 "type": "string"
3063 },
3064 "type": "array"
3065 },
3066 "workspaces": {
3067 "description": "List of workspaces.",
3068 "items": {
3069 "$ref": "Workspace"
3070 },
3071 "type": "array"
3072 }
3073 },
3074 "type": "object"
3075 },
3076 "Location": {
3077 "description": "A resource that represents a Google Cloud location.",
3078 "id": "Location",
3079 "properties": {
3080 "displayName": {
3081 "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
3082 "type": "string"
3083 },
3084 "labels": {
3085 "additionalProperties": {
3086 "type": "string"
3087 },
3088 "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
3089 "type": "object"
3090 },
3091 "locationId": {
3092 "description": "The canonical id for this location. For example: `\"us-east1\"`.",
3093 "type": "string"
3094 },
3095 "metadata": {
3096 "additionalProperties": {
3097 "description": "Properties of the object. Contains field @type with type URL.",
3098 "type": "any"
3099 },
3100 "description": "Service-specific metadata. For example the available capacity at the given location.",
3101 "type": "object"
3102 },
3103 "name": {
3104 "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
3105 "type": "string"
3106 }
3107 },
3108 "type": "object"
3109 },
3110 "MakeDirectoryRequest": {
3111 "description": "`MakeDirectory` request message.",
3112 "id": "MakeDirectoryRequest",
3113 "properties": {
3114 "path": {
3115 "description": "Required. The directory's full path including directory name, relative to the workspace root.",
3116 "type": "string"
3117 }
3118 },
3119 "type": "object"
3120 },
3121 "MakeDirectoryResponse": {
3122 "description": "`MakeDirectory` response message.",
3123 "id": "MakeDirectoryResponse",
3124 "properties": {},
3125 "type": "object"
3126 },
3127 "MoveDirectoryRequest": {
3128 "description": "`MoveDirectory` request message.",
3129 "id": "MoveDirectoryRequest",
3130 "properties": {
3131 "newPath": {
3132 "description": "Required. The new path for the directory including directory name, rooted at workspace root.",
3133 "type": "string"
3134 },
3135 "path": {
3136 "description": "Required. The directory's full path including directory name, relative to the workspace root.",
3137 "type": "string"
3138 }
3139 },
3140 "type": "object"
3141 },
3142 "MoveDirectoryResponse": {
3143 "description": "`MoveDirectory` response message.",
3144 "id": "MoveDirectoryResponse",
3145 "properties": {},
3146 "type": "object"
3147 },
3148 "MoveFileRequest": {
3149 "description": "`MoveFile` request message.",
3150 "id": "MoveFileRequest",
3151 "properties": {
3152 "newPath": {
3153 "description": "Required. The file's new path including filename, relative to the workspace root.",
3154 "type": "string"
3155 },
3156 "path": {
3157 "description": "Required. The file's full path including filename, relative to the workspace root.",
3158 "type": "string"
3159 }
3160 },
3161 "type": "object"
3162 },
3163 "MoveFileResponse": {
3164 "description": "`MoveFile` response message.",
3165 "id": "MoveFileResponse",
3166 "properties": {},
3167 "type": "object"
3168 },
3169 "Notebook": {
3170 "id": "Notebook",
3171 "properties": {
3172 "contents": {
3173 "description": "The contents of the notebook.",
3174 "type": "string"
3175 },
3176 "dependencyTargets": {
3177 "description": "A list of actions that this action depends on.",
3178 "items": {
3179 "$ref": "Target"
3180 },
3181 "type": "array"
3182 },
3183 "disabled": {
3184 "description": "Whether this action is disabled (i.e. should not be run).",
3185 "type": "boolean"
3186 },
3187 "tags": {
3188 "description": "Arbitrary, user-defined tags on this action.",
3189 "items": {
3190 "type": "string"
3191 },
3192 "type": "array"
3193 }
3194 },
3195 "type": "object"
3196 },
3197 "NotebookAction": {
3198 "description": "Represents a workflow action that will run against a Notebook runtime.",
3199 "id": "NotebookAction",
3200 "properties": {
3201 "contents": {
3202 "description": "Output only. The code contents of a Notebook to be run.",
3203 "readOnly": true,
3204 "type": "string"
3205 },
3206 "jobId": {
3207 "description": "Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in GCS buckets. Only set once the job has started to run.",
3208 "readOnly": true,
3209 "type": "string"
3210 }
3211 },
3212 "type": "object"
3213 },
3214 "NotebookRuntimeOptions": {
3215 "id": "NotebookRuntimeOptions",
3216 "properties": {
3217 "gcsOutputBucket": {
3218 "description": "Optional. The GCS location to upload the result to. Format: `gs://bucket-name`.",
3219 "type": "string"
3220 }
3221 },
3222 "type": "object"
3223 },
3224 "OperationMetadata": {
3225 "description": "Represents the metadata of the long-running operation.",
3226 "id": "OperationMetadata",
3227 "properties": {
3228 "apiVersion": {
3229 "description": "Output only. API version used to start the operation.",
3230 "readOnly": true,
3231 "type": "string"
3232 },
3233 "cancelRequested": {
3234 "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
3235 "readOnly": true,
3236 "type": "boolean"
3237 },
3238 "createTime": {
3239 "description": "Output only. The time the operation was created.",
3240 "format": "google-datetime",
3241 "readOnly": true,
3242 "type": "string"
3243 },
3244 "endTime": {
3245 "description": "Output only. The time the operation finished running.",
3246 "format": "google-datetime",
3247 "readOnly": true,
3248 "type": "string"
3249 },
3250 "statusDetail": {
3251 "description": "Output only. Human-readable status of the operation, if any.",
3252 "readOnly": true,
3253 "type": "string"
3254 },
3255 "target": {
3256 "description": "Output only. Server-defined resource path for the target of the operation.",
3257 "readOnly": true,
3258 "type": "string"
3259 },
3260 "verb": {
3261 "description": "Output only. Name of the verb executed by the operation.",
3262 "readOnly": true,
3263 "type": "string"
3264 }
3265 },
3266 "type": "object"
3267 },
3268 "Operations": {
3269 "description": "Represents a list of arbitrary database operations.",
3270 "id": "Operations",
3271 "properties": {
3272 "dependencyTargets": {
3273 "description": "A list of actions that this action depends on.",
3274 "items": {
3275 "$ref": "Target"
3276 },
3277 "type": "array"
3278 },
3279 "disabled": {
3280 "description": "Whether this action is disabled (i.e. should not be run).",
3281 "type": "boolean"
3282 },
3283 "hasOutput": {
3284 "description": "Whether these operations produce an output relation.",
3285 "type": "boolean"
3286 },
3287 "queries": {
3288 "description": "A list of arbitrary SQL statements that will be executed without alteration.",
3289 "items": {
3290 "type": "string"
3291 },
3292 "type": "array"
3293 },
3294 "relationDescriptor": {
3295 "$ref": "RelationDescriptor",
3296 "description": "Descriptor for any output relation and its columns. Only set if `has_output` is true."
3297 },
3298 "tags": {
3299 "description": "Arbitrary, user-defined tags on this action.",
3300 "items": {
3301 "type": "string"
3302 },
3303 "type": "array"
3304 }
3305 },
3306 "type": "object"
3307 },
3308 "Policy": {
3309 "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
3310 "id": "Policy",
3311 "properties": {
3312 "bindings": {
3313 "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.",
3314 "items": {
3315 "$ref": "Binding"
3316 },
3317 "type": "array"
3318 },
3319 "etag": {
3320 "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
3321 "format": "byte",
3322 "type": "string"
3323 },
3324 "version": {
3325 "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
3326 "format": "int32",
3327 "type": "integer"
3328 }
3329 },
3330 "type": "object"
3331 },
3332 "PullGitCommitsRequest": {
3333 "description": "`PullGitCommits` request message.",
3334 "id": "PullGitCommitsRequest",
3335 "properties": {
3336 "author": {
3337 "$ref": "CommitAuthor",
3338 "description": "Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace."
3339 },
3340 "remoteBranch": {
3341 "description": "Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used.",
3342 "type": "string"
3343 }
3344 },
3345 "type": "object"
3346 },
3347 "PushGitCommitsRequest": {
3348 "description": "`PushGitCommits` request message.",
3349 "id": "PushGitCommitsRequest",
3350 "properties": {
3351 "remoteBranch": {
3352 "description": "Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used.",
3353 "type": "string"
3354 }
3355 },
3356 "type": "object"
3357 },
3358 "QueryCompilationResultActionsResponse": {
3359 "description": "`QueryCompilationResultActions` response message.",
3360 "id": "QueryCompilationResultActionsResponse",
3361 "properties": {
3362 "compilationResultActions": {
3363 "description": "List of compilation result actions.",
3364 "items": {
3365 "$ref": "CompilationResultAction"
3366 },
3367 "type": "array"
3368 },
3369 "nextPageToken": {
3370 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3371 "type": "string"
3372 }
3373 },
3374 "type": "object"
3375 },
3376 "QueryDirectoryContentsResponse": {
3377 "description": "`QueryDirectoryContents` response message.",
3378 "id": "QueryDirectoryContentsResponse",
3379 "properties": {
3380 "directoryEntries": {
3381 "description": "List of entries in the directory.",
3382 "items": {
3383 "$ref": "DirectoryEntry"
3384 },
3385 "type": "array"
3386 },
3387 "nextPageToken": {
3388 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3389 "type": "string"
3390 }
3391 },
3392 "type": "object"
3393 },
3394 "QueryRepositoryDirectoryContentsResponse": {
3395 "description": "`QueryRepositoryDirectoryContents` response message.",
3396 "id": "QueryRepositoryDirectoryContentsResponse",
3397 "properties": {
3398 "directoryEntries": {
3399 "description": "List of entries in the directory.",
3400 "items": {
3401 "$ref": "DirectoryEntry"
3402 },
3403 "type": "array"
3404 },
3405 "nextPageToken": {
3406 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3407 "type": "string"
3408 }
3409 },
3410 "type": "object"
3411 },
3412 "QueryWorkflowInvocationActionsResponse": {
3413 "description": "`QueryWorkflowInvocationActions` response message.",
3414 "id": "QueryWorkflowInvocationActionsResponse",
3415 "properties": {
3416 "nextPageToken": {
3417 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3418 "type": "string"
3419 },
3420 "workflowInvocationActions": {
3421 "description": "List of workflow invocation actions.",
3422 "items": {
3423 "$ref": "WorkflowInvocationAction"
3424 },
3425 "type": "array"
3426 }
3427 },
3428 "type": "object"
3429 },
3430 "ReadFileResponse": {
3431 "description": "`ReadFile` response message.",
3432 "id": "ReadFileResponse",
3433 "properties": {
3434 "fileContents": {
3435 "description": "The file's contents.",
3436 "format": "byte",
3437 "type": "string"
3438 }
3439 },
3440 "type": "object"
3441 },
3442 "ReadRepositoryFileResponse": {
3443 "description": "`ReadRepositoryFile` response message.",
3444 "id": "ReadRepositoryFileResponse",
3445 "properties": {
3446 "contents": {
3447 "description": "The file's contents.",
3448 "format": "byte",
3449 "type": "string"
3450 }
3451 },
3452 "type": "object"
3453 },
3454 "Relation": {
3455 "description": "Represents a database relation.",
3456 "id": "Relation",
3457 "properties": {
3458 "additionalOptions": {
3459 "additionalProperties": {
3460 "type": "string"
3461 },
3462 "description": "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.",
3463 "type": "object"
3464 },
3465 "clusterExpressions": {
3466 "description": "A list of columns or SQL expressions used to cluster the table.",
3467 "items": {
3468 "type": "string"
3469 },
3470 "type": "array"
3471 },
3472 "dependencyTargets": {
3473 "description": "A list of actions that this action depends on.",
3474 "items": {
3475 "$ref": "Target"
3476 },
3477 "type": "array"
3478 },
3479 "disabled": {
3480 "description": "Whether this action is disabled (i.e. should not be run).",
3481 "type": "boolean"
3482 },
3483 "incrementalTableConfig": {
3484 "$ref": "IncrementalTableConfig",
3485 "description": "Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`."
3486 },
3487 "partitionExpirationDays": {
3488 "description": "Sets the partition expiration in days.",
3489 "format": "int32",
3490 "type": "integer"
3491 },
3492 "partitionExpression": {
3493 "description": "The SQL expression used to partition the relation.",
3494 "type": "string"
3495 },
3496 "postOperations": {
3497 "description": "SQL statements to be executed after creating the relation.",
3498 "items": {
3499 "type": "string"
3500 },
3501 "type": "array"
3502 },
3503 "preOperations": {
3504 "description": "SQL statements to be executed before creating the relation.",
3505 "items": {
3506 "type": "string"
3507 },
3508 "type": "array"
3509 },
3510 "relationDescriptor": {
3511 "$ref": "RelationDescriptor",
3512 "description": "Descriptor for the relation and its columns."
3513 },
3514 "relationType": {
3515 "description": "The type of this relation.",
3516 "enum": [
3517 "RELATION_TYPE_UNSPECIFIED",
3518 "TABLE",
3519 "VIEW",
3520 "INCREMENTAL_TABLE",
3521 "MATERIALIZED_VIEW"
3522 ],
3523 "enumDescriptions": [
3524 "Default value. This value is unused.",
3525 "The relation is a table.",
3526 "The relation is a view.",
3527 "The relation is an incrementalized table.",
3528 "The relation is a materialized view."
3529 ],
3530 "type": "string"
3531 },
3532 "requirePartitionFilter": {
3533 "description": "Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.",
3534 "type": "boolean"
3535 },
3536 "selectQuery": {
3537 "description": "The SELECT query which returns rows which this relation should contain.",
3538 "type": "string"
3539 },
3540 "tags": {
3541 "description": "Arbitrary, user-defined tags on this action.",
3542 "items": {
3543 "type": "string"
3544 },
3545 "type": "array"
3546 }
3547 },
3548 "type": "object"
3549 },
3550 "RelationDescriptor": {
3551 "description": "Describes a relation and its columns.",
3552 "id": "RelationDescriptor",
3553 "properties": {
3554 "bigqueryLabels": {
3555 "additionalProperties": {
3556 "type": "string"
3557 },
3558 "description": "A set of BigQuery labels that should be applied to the relation.",
3559 "type": "object"
3560 },
3561 "columns": {
3562 "description": "A list of descriptions of columns within the relation.",
3563 "items": {
3564 "$ref": "ColumnDescriptor"
3565 },
3566 "type": "array"
3567 },
3568 "description": {
3569 "description": "A text description of the relation.",
3570 "type": "string"
3571 }
3572 },
3573 "type": "object"
3574 },
3575 "ReleaseConfig": {
3576 "description": "Represents a Dataform release configuration.",
3577 "id": "ReleaseConfig",
3578 "properties": {
3579 "codeCompilationConfig": {
3580 "$ref": "CodeCompilationConfig",
3581 "description": "Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json."
3582 },
3583 "cronSchedule": {
3584 "description": "Optional. Optional schedule (in cron format) for automatic creation of compilation results.",
3585 "type": "string"
3586 },
3587 "disabled": {
3588 "description": "Optional. Disables automatic creation of compilation results.",
3589 "type": "boolean"
3590 },
3591 "gitCommitish": {
3592 "description": "Required. 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`",
3593 "type": "string"
3594 },
3595 "name": {
3596 "description": "Identifier. The release config's name.",
3597 "type": "string"
3598 },
3599 "recentScheduledReleaseRecords": {
3600 "description": "Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.",
3601 "items": {
3602 "$ref": "ScheduledReleaseRecord"
3603 },
3604 "readOnly": true,
3605 "type": "array"
3606 },
3607 "releaseCompilationResult": {
3608 "description": "Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.",
3609 "type": "string"
3610 },
3611 "timeZone": {
3612 "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.",
3613 "type": "string"
3614 }
3615 },
3616 "type": "object"
3617 },
3618 "RemoveDirectoryRequest": {
3619 "description": "`RemoveDirectory` request message.",
3620 "id": "RemoveDirectoryRequest",
3621 "properties": {
3622 "path": {
3623 "description": "Required. The directory's full path including directory name, relative to the workspace root.",
3624 "type": "string"
3625 }
3626 },
3627 "type": "object"
3628 },
3629 "RemoveFileRequest": {
3630 "description": "`RemoveFile` request message.",
3631 "id": "RemoveFileRequest",
3632 "properties": {
3633 "path": {
3634 "description": "Required. The file's full path including filename, relative to the workspace root.",
3635 "type": "string"
3636 }
3637 },
3638 "type": "object"
3639 },
3640 "Repository": {
3641 "description": "Represents a Dataform Git repository.",
3642 "id": "Repository",
3643 "properties": {
3644 "createTime": {
3645 "description": "Output only. The timestamp of when the repository was created.",
3646 "format": "google-datetime",
3647 "readOnly": true,
3648 "type": "string"
3649 },
3650 "dataEncryptionState": {
3651 "$ref": "DataEncryptionState",
3652 "description": "Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.",
3653 "readOnly": true
3654 },
3655 "displayName": {
3656 "description": "Optional. The repository's user-friendly name.",
3657 "type": "string"
3658 },
3659 "gitRemoteSettings": {
3660 "$ref": "GitRemoteSettings",
3661 "description": "Optional. If set, configures this repository to be linked to a Git remote."
3662 },
3663 "kmsKeyName": {
3664 "description": "Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`",
3665 "type": "string"
3666 },
3667 "labels": {
3668 "additionalProperties": {
3669 "type": "string"
3670 },
3671 "description": "Optional. Repository user labels.",
3672 "type": "object"
3673 },
3674 "name": {
3675 "description": "Identifier. The repository's name.",
3676 "type": "string"
3677 },
3678 "npmrcEnvironmentVariablesSecretVersion": {
3679 "description": "Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.",
3680 "type": "string"
3681 },
3682 "serviceAccount": {
3683 "description": "Optional. The service account to run workflow invocations under.",
3684 "type": "string"
3685 },
3686 "setAuthenticatedUserAdmin": {
3687 "description": "Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories",
3688 "type": "boolean"
3689 },
3690 "workspaceCompilationOverrides": {
3691 "$ref": "WorkspaceCompilationOverrides",
3692 "description": "Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information."
3693 }
3694 },
3695 "type": "object"
3696 },
3697 "ResetWorkspaceChangesRequest": {
3698 "description": "`ResetWorkspaceChanges` request message.",
3699 "id": "ResetWorkspaceChangesRequest",
3700 "properties": {
3701 "clean": {
3702 "description": "Optional. If set to true, untracked files will be deleted.",
3703 "type": "boolean"
3704 },
3705 "paths": {
3706 "description": "Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.",
3707 "items": {
3708 "type": "string"
3709 },
3710 "type": "array"
3711 }
3712 },
3713 "type": "object"
3714 },
3715 "ScheduledExecutionRecord": {
3716 "description": "A record of an attempt to create a workflow invocation for this workflow config.",
3717 "id": "ScheduledExecutionRecord",
3718 "properties": {
3719 "errorStatus": {
3720 "$ref": "Status",
3721 "description": "The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful."
3722 },
3723 "executionTime": {
3724 "description": "The timestamp of this execution attempt.",
3725 "format": "google-datetime",
3726 "type": "string"
3727 },
3728 "workflowInvocation": {
3729 "description": "The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/workflowInvocations/*`.",
3730 "type": "string"
3731 }
3732 },
3733 "type": "object"
3734 },
3735 "ScheduledReleaseRecord": {
3736 "description": "A record of an attempt to create a compilation result for this release config.",
3737 "id": "ScheduledReleaseRecord",
3738 "properties": {
3739 "compilationResult": {
3740 "description": "The name of the created compilation result, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.",
3741 "type": "string"
3742 },
3743 "errorStatus": {
3744 "$ref": "Status",
3745 "description": "The error status encountered upon this attempt to create the compilation result, if the attempt was unsuccessful."
3746 },
3747 "releaseTime": {
3748 "description": "The timestamp of this release attempt.",
3749 "format": "google-datetime",
3750 "type": "string"
3751 }
3752 },
3753 "type": "object"
3754 },
3755 "SearchFilesResponse": {
3756 "description": "Client-facing representation of a file search response.",
3757 "id": "SearchFilesResponse",
3758 "properties": {
3759 "nextPageToken": {
3760 "description": "Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
3761 "type": "string"
3762 },
3763 "searchResults": {
3764 "description": "List of matched results.",
3765 "items": {
3766 "$ref": "SearchResult"
3767 },
3768 "type": "array"
3769 }
3770 },
3771 "type": "object"
3772 },
3773 "SearchResult": {
3774 "description": "Client-facing representation of a search result entry.",
3775 "id": "SearchResult",
3776 "properties": {
3777 "directory": {
3778 "$ref": "DirectorySearchResult",
3779 "description": "Details when search result is a directory."
3780 },
3781 "file": {
3782 "$ref": "FileSearchResult",
3783 "description": "Details when search result is a file."
3784 }
3785 },
3786 "type": "object"
3787 },
3788 "SetIamPolicyRequest": {
3789 "description": "Request message for `SetIamPolicy` method.",
3790 "id": "SetIamPolicyRequest",
3791 "properties": {
3792 "policy": {
3793 "$ref": "Policy",
3794 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
3795 }
3796 },
3797 "type": "object"
3798 },
3799 "SshAuthenticationConfig": {
3800 "description": "Configures fields for performing SSH authentication.",
3801 "id": "SshAuthenticationConfig",
3802 "properties": {
3803 "hostPublicKey": {
3804 "description": "Required. Content of a public SSH key to verify an identity of a remote Git host.",
3805 "type": "string"
3806 },
3807 "userPrivateKeySecretVersion": {
3808 "description": "Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.",
3809 "type": "string"
3810 }
3811 },
3812 "type": "object"
3813 },
3814 "Status": {
3815 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
3816 "id": "Status",
3817 "properties": {
3818 "code": {
3819 "description": "The status code, which should be an enum value of google.rpc.Code.",
3820 "format": "int32",
3821 "type": "integer"
3822 },
3823 "details": {
3824 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
3825 "items": {
3826 "additionalProperties": {
3827 "description": "Properties of the object. Contains field @type with type URL.",
3828 "type": "any"
3829 },
3830 "type": "object"
3831 },
3832 "type": "array"
3833 },
3834 "message": {
3835 "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
3836 "type": "string"
3837 }
3838 },
3839 "type": "object"
3840 },
3841 "Target": {
3842 "description": "Represents an action identifier. If the action writes output, the output will be written to the referenced database object.",
3843 "id": "Target",
3844 "properties": {
3845 "database": {
3846 "description": "The action's database (Google Cloud project ID) .",
3847 "type": "string"
3848 },
3849 "name": {
3850 "description": "The action's name, within `database` and `schema`.",
3851 "type": "string"
3852 },
3853 "schema": {
3854 "description": "The action's schema (BigQuery dataset ID), within `database`.",
3855 "type": "string"
3856 }
3857 },
3858 "type": "object"
3859 },
3860 "TestIamPermissionsRequest": {
3861 "description": "Request message for `TestIamPermissions` method.",
3862 "id": "TestIamPermissionsRequest",
3863 "properties": {
3864 "permissions": {
3865 "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
3866 "items": {
3867 "type": "string"
3868 },
3869 "type": "array"
3870 }
3871 },
3872 "type": "object"
3873 },
3874 "TestIamPermissionsResponse": {
3875 "description": "Response message for `TestIamPermissions` method.",
3876 "id": "TestIamPermissionsResponse",
3877 "properties": {
3878 "permissions": {
3879 "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
3880 "items": {
3881 "type": "string"
3882 },
3883 "type": "array"
3884 }
3885 },
3886 "type": "object"
3887 },
3888 "UncommittedFileChange": {
3889 "description": "Represents the Git state of a file with uncommitted changes.",
3890 "id": "UncommittedFileChange",
3891 "properties": {
3892 "path": {
3893 "description": "The file's full path including filename, relative to the workspace root.",
3894 "type": "string"
3895 },
3896 "state": {
3897 "description": "Indicates the status of the file.",
3898 "enum": [
3899 "STATE_UNSPECIFIED",
3900 "ADDED",
3901 "DELETED",
3902 "MODIFIED",
3903 "HAS_CONFLICTS"
3904 ],
3905 "enumDescriptions": [
3906 "Default value. This value is unused.",
3907 "The file has been newly added.",
3908 "The file has been deleted.",
3909 "The file has been modified.",
3910 "The file contains merge conflicts."
3911 ],
3912 "type": "string"
3913 }
3914 },
3915 "type": "object"
3916 },
3917 "WorkflowConfig": {
3918 "description": "Represents a Dataform workflow configuration.",
3919 "id": "WorkflowConfig",
3920 "properties": {
3921 "cronSchedule": {
3922 "description": "Optional. Optional schedule (in cron format) for automatic execution of this workflow config.",
3923 "type": "string"
3924 },
3925 "invocationConfig": {
3926 "$ref": "InvocationConfig",
3927 "description": "Optional. If left unset, a default InvocationConfig will be used."
3928 },
3929 "name": {
3930 "description": "Identifier. The workflow config's name.",
3931 "type": "string"
3932 },
3933 "recentScheduledExecutionRecords": {
3934 "description": "Output only. Records of the 10 most recent scheduled execution attempts, ordered in in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.",
3935 "items": {
3936 "$ref": "ScheduledExecutionRecord"
3937 },
3938 "readOnly": true,
3939 "type": "array"
3940 },
3941 "releaseConfig": {
3942 "description": "Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.",
3943 "type": "string"
3944 },
3945 "timeZone": {
3946 "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.",
3947 "type": "string"
3948 }
3949 },
3950 "type": "object"
3951 },
3952 "WorkflowInvocation": {
3953 "description": "Represents a single invocation of a compilation result.",
3954 "id": "WorkflowInvocation",
3955 "properties": {
3956 "compilationResult": {
3957 "description": "Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.",
3958 "type": "string"
3959 },
3960 "dataEncryptionState": {
3961 "$ref": "DataEncryptionState",
3962 "description": "Output only. Only set if the repository has a KMS Key.",
3963 "readOnly": true
3964 },
3965 "invocationConfig": {
3966 "$ref": "InvocationConfig",
3967 "description": "Immutable. If left unset, a default InvocationConfig will be used."
3968 },
3969 "invocationTiming": {
3970 "$ref": "Interval",
3971 "description": "Output only. This workflow invocation's timing details.",
3972 "readOnly": true
3973 },
3974 "name": {
3975 "description": "Output only. The workflow invocation's name.",
3976 "readOnly": true,
3977 "type": "string"
3978 },
3979 "resolvedCompilationResult": {
3980 "description": "Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.",
3981 "readOnly": true,
3982 "type": "string"
3983 },
3984 "state": {
3985 "description": "Output only. This workflow invocation's current state.",
3986 "enum": [
3987 "STATE_UNSPECIFIED",
3988 "RUNNING",
3989 "SUCCEEDED",
3990 "CANCELLED",
3991 "FAILED",
3992 "CANCELING"
3993 ],
3994 "enumDescriptions": [
3995 "Default value. This value is unused.",
3996 "The workflow invocation is currently running.",
3997 "The workflow invocation succeeded. A terminal state.",
3998 "The workflow invocation was cancelled. A terminal state.",
3999 "The workflow invocation failed. A terminal state.",
4000 "The workflow invocation is being cancelled, but some actions are still running."
4001 ],
4002 "readOnly": true,
4003 "type": "string"
4004 },
4005 "workflowConfig": {
4006 "description": "Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`.",
4007 "type": "string"
4008 }
4009 },
4010 "type": "object"
4011 },
4012 "WorkflowInvocationAction": {
4013 "description": "Represents a single action in a workflow invocation.",
4014 "id": "WorkflowInvocationAction",
4015 "properties": {
4016 "bigqueryAction": {
4017 "$ref": "BigQueryAction",
4018 "description": "Output only. The workflow action's bigquery action details.",
4019 "readOnly": true
4020 },
4021 "canonicalTarget": {
4022 "$ref": "Target",
4023 "description": "Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.",
4024 "readOnly": true
4025 },
4026 "failureReason": {
4027 "description": "Output only. If and only if action's state is FAILED a failure reason is set.",
4028 "readOnly": true,
4029 "type": "string"
4030 },
4031 "invocationTiming": {
4032 "$ref": "Interval",
4033 "description": "Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.",
4034 "readOnly": true
4035 },
4036 "notebookAction": {
4037 "$ref": "NotebookAction",
4038 "description": "Output only. The workflow action's notebook action details.",
4039 "readOnly": true
4040 },
4041 "state": {
4042 "description": "Output only. This action's current state.",
4043 "enum": [
4044 "PENDING",
4045 "RUNNING",
4046 "SKIPPED",
4047 "DISABLED",
4048 "SUCCEEDED",
4049 "CANCELLED",
4050 "FAILED"
4051 ],
4052 "enumDescriptions": [
4053 "The action has not yet been considered for invocation.",
4054 "The action is currently running.",
4055 "Execution of the action was skipped because upstream dependencies did not all complete successfully. A terminal state.",
4056 "Execution of the action was disabled as per the configuration of the corresponding compilation result action. A terminal state.",
4057 "The action succeeded. A terminal state.",
4058 "The action was cancelled. A terminal state.",
4059 "The action failed. A terminal state."
4060 ],
4061 "readOnly": true,
4062 "type": "string"
4063 },
4064 "target": {
4065 "$ref": "Target",
4066 "description": "Output only. This action's identifier. Unique within the workflow invocation.",
4067 "readOnly": true
4068 }
4069 },
4070 "type": "object"
4071 },
4072 "Workspace": {
4073 "description": "Represents a Dataform Git workspace.",
4074 "id": "Workspace",
4075 "properties": {
4076 "dataEncryptionState": {
4077 "$ref": "DataEncryptionState",
4078 "description": "Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.",
4079 "readOnly": true
4080 },
4081 "name": {
4082 "description": "Identifier. The workspace's name.",
4083 "type": "string"
4084 }
4085 },
4086 "type": "object"
4087 },
4088 "WorkspaceCompilationOverrides": {
4089 "description": "Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results.",
4090 "id": "WorkspaceCompilationOverrides",
4091 "properties": {
4092 "defaultDatabase": {
4093 "description": "Optional. The default database (Google Cloud project ID).",
4094 "type": "string"
4095 },
4096 "schemaSuffix": {
4097 "description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.",
4098 "type": "string"
4099 },
4100 "tablePrefix": {
4101 "description": "Optional. The prefix that should be prepended to all table names.",
4102 "type": "string"
4103 }
4104 },
4105 "type": "object"
4106 },
4107 "WriteFile": {
4108 "description": "Represents the write file operation (for files added or modified).",
4109 "id": "WriteFile",
4110 "properties": {
4111 "contents": {
4112 "description": "The file's contents.",
4113 "format": "byte",
4114 "type": "string"
4115 }
4116 },
4117 "type": "object"
4118 },
4119 "WriteFileRequest": {
4120 "description": "`WriteFile` request message.",
4121 "id": "WriteFileRequest",
4122 "properties": {
4123 "contents": {
4124 "description": "Required. The file's contents.",
4125 "format": "byte",
4126 "type": "string"
4127 },
4128 "path": {
4129 "description": "Required. The file.",
4130 "type": "string"
4131 }
4132 },
4133 "type": "object"
4134 },
4135 "WriteFileResponse": {
4136 "description": "`WriteFile` response message.",
4137 "id": "WriteFileResponse",
4138 "properties": {},
4139 "type": "object"
4140 }
4141 },
4142 "servicePath": "",
4143 "title": "Dataform API",
4144 "version": "v1beta1",
4145 "version_module": true
4146}
View as plain text