@googleapis/dataform 6.0.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1beta1.ts CHANGED
@@ -124,6 +124,70 @@ export namespace dataform_v1beta1 {
124
124
  }
125
125
  }
126
126
 
127
+ /**
128
+ * Error table information, used to write error data into a BigQuery table.
129
+ */
130
+ export interface Schema$ActionErrorTable {
131
+ /**
132
+ * Error table partition expiration in days. Only positive values are allowed.
133
+ */
134
+ retentionDays?: number | null;
135
+ /**
136
+ * Error Table target.
137
+ */
138
+ target?: Schema$Target;
139
+ }
140
+ /**
141
+ * Load definition for incremental load modes
142
+ */
143
+ export interface Schema$ActionIncrementalLoadMode {
144
+ /**
145
+ * Column name for incremental load modes
146
+ */
147
+ column?: string | null;
148
+ }
149
+ /**
150
+ * Simplified load configuration for actions
151
+ */
152
+ export interface Schema$ActionLoadConfig {
153
+ /**
154
+ * Append into destination table
155
+ */
156
+ append?: Schema$ActionSimpleLoadMode;
157
+ /**
158
+ * Insert records where the value exceeds the previous maximum value for a column in the destination table
159
+ */
160
+ maximum?: Schema$ActionIncrementalLoadMode;
161
+ /**
162
+ * Replace destination table
163
+ */
164
+ replace?: Schema$ActionSimpleLoadMode;
165
+ /**
166
+ * Insert records where the value of a column is not already present in the destination table
167
+ */
168
+ unique?: Schema$ActionIncrementalLoadMode;
169
+ }
170
+ /**
171
+ * Simple load definition
172
+ */
173
+ export interface Schema$ActionSimpleLoadMode {}
174
+ /**
175
+ * Definition of a SQL Data Preparation
176
+ */
177
+ export interface Schema$ActionSqlDefinition {
178
+ /**
179
+ * Error table configuration,
180
+ */
181
+ errorTable?: Schema$ActionErrorTable;
182
+ /**
183
+ * Load configuration.
184
+ */
185
+ loadConfig?: Schema$ActionLoadConfig;
186
+ /**
187
+ * The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.
188
+ */
189
+ query?: string | null;
190
+ }
127
191
  /**
128
192
  * Represents an assertion upon a SQL query which is required return zero rows.
129
193
  */
@@ -187,6 +251,10 @@ export namespace dataform_v1beta1 {
187
251
  * `CancelWorkflowInvocation` request message.
188
252
  */
189
253
  export interface Schema$CancelWorkflowInvocationRequest {}
254
+ /**
255
+ * `CancelWorkflowInvocation` response message.
256
+ */
257
+ export interface Schema$CancelWorkflowInvocationResponse {}
190
258
  /**
191
259
  * Configures various aspects of Dataform code compilation.
192
260
  */
@@ -195,6 +263,10 @@ export namespace dataform_v1beta1 {
195
263
  * Optional. The default schema (BigQuery dataset ID) for assertions.
196
264
  */
197
265
  assertionSchema?: string | null;
266
+ /**
267
+ * Optional. The prefix to prepend to built-in assertion names.
268
+ */
269
+ builtinAssertionNamePrefix?: string | null;
198
270
  /**
199
271
  * Optional. The suffix that should be appended to all database (Google Cloud project ID) names.
200
272
  */
@@ -207,6 +279,9 @@ export namespace dataform_v1beta1 {
207
279
  * 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.
208
280
  */
209
281
  defaultLocation?: string | null;
282
+ /**
283
+ * Optional. The default notebook runtime options.
284
+ */
210
285
  defaultNotebookRuntimeOptions?: Schema$NotebookRuntimeOptions;
211
286
  /**
212
287
  * Optional. The default schema (BigQuery dataset ID).
@@ -298,7 +373,7 @@ export namespace dataform_v1beta1 {
298
373
  */
299
374
  commitMetadata?: Schema$CommitMetadata;
300
375
  /**
301
- * A map to the path of the file to the operation. The path is the full file path including filename, from repository root.
376
+ * Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root.
302
377
  */
303
378
  fileOperations?: {[key: string]: Schema$FileOperation} | null;
304
379
  /**
@@ -332,6 +407,10 @@ export namespace dataform_v1beta1 {
332
407
  */
333
408
  paths?: string[] | null;
334
409
  }
410
+ /**
411
+ * `CommitWorkspaceChanges` response message.
412
+ */
413
+ export interface Schema$CommitWorkspaceChangesResponse {}
335
414
  /**
336
415
  * An error encountered when attempting to compile a Dataform project.
337
416
  */
@@ -381,6 +460,10 @@ export namespace dataform_v1beta1 {
381
460
  * 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`
382
461
  */
383
462
  gitCommitish?: string | null;
463
+ /**
464
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
465
+ */
466
+ internalMetadata?: string | null;
384
467
  /**
385
468
  * Output only. The compilation result's name.
386
469
  */
@@ -410,6 +493,10 @@ export namespace dataform_v1beta1 {
410
493
  * The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
411
494
  */
412
495
  canonicalTarget?: Schema$Target;
496
+ /**
497
+ * The data preparation executed by this action.
498
+ */
499
+ dataPreparation?: Schema$DataPreparation;
413
500
  /**
414
501
  * The declaration declared by this action.
415
502
  */
@@ -418,6 +505,10 @@ export namespace dataform_v1beta1 {
418
505
  * The full path including filename in which this action is located, relative to the workspace root.
419
506
  */
420
507
  filePath?: string | null;
508
+ /**
509
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
510
+ */
511
+ internalMetadata?: string | null;
421
512
  /**
422
513
  * The notebook executed by this action.
423
514
  */
@@ -444,15 +535,74 @@ export namespace dataform_v1beta1 {
444
535
  */
445
536
  tokenStatus?: string | null;
446
537
  }
538
+ /**
539
+ * Config for all repositories in a given project and location.
540
+ */
541
+ export interface Schema$Config {
542
+ /**
543
+ * Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
544
+ */
545
+ defaultKmsKeyName?: string | null;
546
+ /**
547
+ * Identifier. The config name.
548
+ */
549
+ name?: string | null;
550
+ }
447
551
  /**
448
552
  * Describes encryption state of a resource.
449
553
  */
450
554
  export interface Schema$DataEncryptionState {
451
555
  /**
452
- * The KMS key version name with which data of a resource is encrypted.
556
+ * Required. The KMS key version name with which data of a resource is encrypted.
453
557
  */
454
558
  kmsKeyVersionName?: string | null;
455
559
  }
560
+ /**
561
+ * Defines a compiled Data Preparation entity
562
+ */
563
+ export interface Schema$DataPreparation {
564
+ /**
565
+ * SQL definition for a Data Preparation. Contains a SQL query and additional context information.
566
+ */
567
+ contentsSql?: Schema$SqlDefinition;
568
+ /**
569
+ * The data preparation definition, stored as a YAML string.
570
+ */
571
+ contentsYaml?: string | null;
572
+ /**
573
+ * A list of actions that this action depends on.
574
+ */
575
+ dependencyTargets?: Schema$Target[];
576
+ /**
577
+ * Whether this action is disabled (i.e. should not be run).
578
+ */
579
+ disabled?: boolean | null;
580
+ /**
581
+ * Arbitrary, user-defined tags on this action.
582
+ */
583
+ tags?: string[] | null;
584
+ }
585
+ /**
586
+ * Represents a workflow action that will run a Data Preparation.
587
+ */
588
+ export interface Schema$DataPreparationAction {
589
+ /**
590
+ * SQL definition for a Data Preparation. Contains a SQL query and additional context information.
591
+ */
592
+ contentsSql?: Schema$ActionSqlDefinition;
593
+ /**
594
+ * Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
595
+ */
596
+ contentsYaml?: string | null;
597
+ /**
598
+ * Output only. The generated BigQuery SQL script that will be executed. For reference only.
599
+ */
600
+ generatedSql?: string | null;
601
+ /**
602
+ * Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.
603
+ */
604
+ jobId?: string | null;
605
+ }
456
606
  /**
457
607
  * Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.
458
608
  */
@@ -492,6 +642,19 @@ export namespace dataform_v1beta1 {
492
642
  * 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); \}
493
643
  */
494
644
  export interface Schema$Empty {}
645
+ /**
646
+ * Error table information, used to write error data into a BigQuery table.
647
+ */
648
+ export interface Schema$ErrorTable {
649
+ /**
650
+ * Error table partition expiration in days. Only positive values are allowed.
651
+ */
652
+ retentionDays?: number | null;
653
+ /**
654
+ * Error Table target.
655
+ */
656
+ target?: Schema$Target;
657
+ }
495
658
  /**
496
659
  * 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() < 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' && 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.
497
660
  */
@@ -613,6 +776,15 @@ export namespace dataform_v1beta1 {
613
776
  */
614
777
  url?: string | null;
615
778
  }
779
+ /**
780
+ * Load definition for incremental load modes
781
+ */
782
+ export interface Schema$IncrementalLoadMode {
783
+ /**
784
+ * Column name for incremental load modes
785
+ */
786
+ column?: string | null;
787
+ }
616
788
  /**
617
789
  * Contains settings for relations of type `INCREMENTAL_TABLE`.
618
790
  */
@@ -807,6 +979,27 @@ export namespace dataform_v1beta1 {
807
979
  */
808
980
  workspaces?: Schema$Workspace[];
809
981
  }
982
+ /**
983
+ * Simplified load configuration for actions
984
+ */
985
+ export interface Schema$LoadConfig {
986
+ /**
987
+ * Append into destination table
988
+ */
989
+ append?: Schema$SimpleLoadMode;
990
+ /**
991
+ * Insert records where the value exceeds the previous maximum value for a column in the destination table
992
+ */
993
+ maximum?: Schema$IncrementalLoadMode;
994
+ /**
995
+ * Replace destination table
996
+ */
997
+ replace?: Schema$SimpleLoadMode;
998
+ /**
999
+ * Insert records where the value of a column is not already present in the destination table
1000
+ */
1001
+ unique?: Schema$IncrementalLoadMode;
1002
+ }
810
1003
  /**
811
1004
  * A resource that represents a Google Cloud location.
812
1005
  */
@@ -879,6 +1072,9 @@ export namespace dataform_v1beta1 {
879
1072
  * `MoveFile` response message.
880
1073
  */
881
1074
  export interface Schema$MoveFileResponse {}
1075
+ /**
1076
+ * Represents a notebook.
1077
+ */
882
1078
  export interface Schema$Notebook {
883
1079
  /**
884
1080
  * The contents of the notebook.
@@ -906,13 +1102,16 @@ export namespace dataform_v1beta1 {
906
1102
  */
907
1103
  contents?: string | null;
908
1104
  /**
909
- * 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.
1105
+ * Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.
910
1106
  */
911
1107
  jobId?: string | null;
912
1108
  }
1109
+ /**
1110
+ * Configures various aspects of Dataform notebook runtime.
1111
+ */
913
1112
  export interface Schema$NotebookRuntimeOptions {
914
1113
  /**
915
- * Optional. The GCS location to upload the result to. Format: `gs://bucket-name`.
1114
+ * Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
916
1115
  */
917
1116
  gcsOutputBucket?: string | null;
918
1117
  }
@@ -925,7 +1124,7 @@ export namespace dataform_v1beta1 {
925
1124
  */
926
1125
  apiVersion?: string | null;
927
1126
  /**
928
- * 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`.
1127
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
929
1128
  */
930
1129
  cancelRequested?: boolean | null;
931
1130
  /**
@@ -1008,6 +1207,10 @@ export namespace dataform_v1beta1 {
1008
1207
  */
1009
1208
  remoteBranch?: string | null;
1010
1209
  }
1210
+ /**
1211
+ * `PullGitCommits` response message.
1212
+ */
1213
+ export interface Schema$PullGitCommitsResponse {}
1011
1214
  /**
1012
1215
  * `PushGitCommits` request message.
1013
1216
  */
@@ -1017,6 +1220,10 @@ export namespace dataform_v1beta1 {
1017
1220
  */
1018
1221
  remoteBranch?: string | null;
1019
1222
  }
1223
+ /**
1224
+ * `PushGitCommits` response message.
1225
+ */
1226
+ export interface Schema$PushGitCommitsResponse {}
1020
1227
  /**
1021
1228
  * `QueryCompilationResultActions` response message.
1022
1229
  */
@@ -1185,12 +1392,16 @@ export namespace dataform_v1beta1 {
1185
1392
  * 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`
1186
1393
  */
1187
1394
  gitCommitish?: string | null;
1395
+ /**
1396
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1397
+ */
1398
+ internalMetadata?: string | null;
1188
1399
  /**
1189
1400
  * Identifier. The release config's name.
1190
1401
  */
1191
1402
  name?: string | null;
1192
1403
  /**
1193
- * 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.
1404
+ * Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.
1194
1405
  */
1195
1406
  recentScheduledReleaseRecords?: Schema$ScheduledReleaseRecord[];
1196
1407
  /**
@@ -1211,6 +1422,10 @@ export namespace dataform_v1beta1 {
1211
1422
  */
1212
1423
  path?: string | null;
1213
1424
  }
1425
+ /**
1426
+ * `RemoveDirectory` response message.
1427
+ */
1428
+ export interface Schema$RemoveDirectoryResponse {}
1214
1429
  /**
1215
1430
  * `RemoveFile` request message.
1216
1431
  */
@@ -1220,6 +1435,10 @@ export namespace dataform_v1beta1 {
1220
1435
  */
1221
1436
  path?: string | null;
1222
1437
  }
1438
+ /**
1439
+ * `RemoveFile` response message.
1440
+ */
1441
+ export interface Schema$RemoveFileResponse {}
1223
1442
  /**
1224
1443
  * Represents a Dataform Git repository.
1225
1444
  */
@@ -1241,7 +1460,11 @@ export namespace dataform_v1beta1 {
1241
1460
  */
1242
1461
  gitRemoteSettings?: Schema$GitRemoteSettings;
1243
1462
  /**
1244
- * 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]`
1463
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1464
+ */
1465
+ internalMetadata?: string | null;
1466
+ /**
1467
+ * 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\}/locations/{location\}/keyRings/{key_location\}/cryptoKeys/{key\}`
1245
1468
  */
1246
1469
  kmsKeyName?: string | null;
1247
1470
  /**
@@ -1282,6 +1505,10 @@ export namespace dataform_v1beta1 {
1282
1505
  */
1283
1506
  paths?: string[] | null;
1284
1507
  }
1508
+ /**
1509
+ * `ResetWorkspaceChanges` response message.
1510
+ */
1511
+ export interface Schema$ResetWorkspaceChangesResponse {}
1285
1512
  /**
1286
1513
  * A record of an attempt to create a workflow invocation for this workflow config.
1287
1514
  */
@@ -1291,7 +1518,7 @@ export namespace dataform_v1beta1 {
1291
1518
  */
1292
1519
  errorStatus?: Schema$Status;
1293
1520
  /**
1294
- * The timestamp of this execution attempt.
1521
+ * Output only. The timestamp of this execution attempt.
1295
1522
  */
1296
1523
  executionTime?: string | null;
1297
1524
  /**
@@ -1312,7 +1539,7 @@ export namespace dataform_v1beta1 {
1312
1539
  */
1313
1540
  errorStatus?: Schema$Status;
1314
1541
  /**
1315
- * The timestamp of this release attempt.
1542
+ * Output only. The timestamp of this release attempt.
1316
1543
  */
1317
1544
  releaseTime?: string | null;
1318
1545
  }
@@ -1351,6 +1578,27 @@ export namespace dataform_v1beta1 {
1351
1578
  */
1352
1579
  policy?: Schema$Policy;
1353
1580
  }
1581
+ /**
1582
+ * Simple load definition
1583
+ */
1584
+ export interface Schema$SimpleLoadMode {}
1585
+ /**
1586
+ * Definition of a SQL Data Preparation
1587
+ */
1588
+ export interface Schema$SqlDefinition {
1589
+ /**
1590
+ * Error table configuration,
1591
+ */
1592
+ errorTable?: Schema$ErrorTable;
1593
+ /**
1594
+ * Load configuration.
1595
+ */
1596
+ load?: Schema$LoadConfig;
1597
+ /**
1598
+ * The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.
1599
+ */
1600
+ query?: string | null;
1601
+ }
1354
1602
  /**
1355
1603
  * Configures fields for performing SSH authentication.
1356
1604
  */
@@ -1386,15 +1634,15 @@ export namespace dataform_v1beta1 {
1386
1634
  */
1387
1635
  export interface Schema$Target {
1388
1636
  /**
1389
- * The action's database (Google Cloud project ID) .
1637
+ * Optional. The action's database (Google Cloud project ID) .
1390
1638
  */
1391
1639
  database?: string | null;
1392
1640
  /**
1393
- * The action's name, within `database` and `schema`.
1641
+ * Optional. The action's name, within `database` and `schema`.
1394
1642
  */
1395
1643
  name?: string | null;
1396
1644
  /**
1397
- * The action's schema (BigQuery dataset ID), within `database`.
1645
+ * Optional. The action's schema (BigQuery dataset ID), within `database`.
1398
1646
  */
1399
1647
  schema?: string | null;
1400
1648
  }
@@ -1425,7 +1673,7 @@ export namespace dataform_v1beta1 {
1425
1673
  */
1426
1674
  path?: string | null;
1427
1675
  /**
1428
- * Indicates the status of the file.
1676
+ * Output only. Indicates the status of the file.
1429
1677
  */
1430
1678
  state?: string | null;
1431
1679
  }
@@ -1441,6 +1689,14 @@ export namespace dataform_v1beta1 {
1441
1689
  * Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
1442
1690
  */
1443
1691
  cronSchedule?: string | null;
1692
+ /**
1693
+ * Optional. Disables automatic creation of workflow invocations.
1694
+ */
1695
+ disabled?: boolean | null;
1696
+ /**
1697
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1698
+ */
1699
+ internalMetadata?: string | null;
1444
1700
  /**
1445
1701
  * Optional. If left unset, a default InvocationConfig will be used.
1446
1702
  */
@@ -1450,7 +1706,7 @@ export namespace dataform_v1beta1 {
1450
1706
  */
1451
1707
  name?: string | null;
1452
1708
  /**
1453
- * 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.
1709
+ * Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
1454
1710
  */
1455
1711
  recentScheduledExecutionRecords?: Schema$ScheduledExecutionRecord[];
1456
1712
  /**
@@ -1478,6 +1734,10 @@ export namespace dataform_v1beta1 {
1478
1734
  * Output only. Only set if the repository has a KMS Key.
1479
1735
  */
1480
1736
  dataEncryptionState?: Schema$DataEncryptionState;
1737
+ /**
1738
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1739
+ */
1740
+ internalMetadata?: string | null;
1481
1741
  /**
1482
1742
  * Immutable. If left unset, a default InvocationConfig will be used.
1483
1743
  */
@@ -1515,10 +1775,18 @@ export namespace dataform_v1beta1 {
1515
1775
  * Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
1516
1776
  */
1517
1777
  canonicalTarget?: Schema$Target;
1778
+ /**
1779
+ * Output only. The workflow action's data preparation action details.
1780
+ */
1781
+ dataPreparationAction?: Schema$DataPreparationAction;
1518
1782
  /**
1519
1783
  * Output only. If and only if action's state is FAILED a failure reason is set.
1520
1784
  */
1521
1785
  failureReason?: string | null;
1786
+ /**
1787
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1788
+ */
1789
+ internalMetadata?: string | null;
1522
1790
  /**
1523
1791
  * 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.
1524
1792
  */
@@ -1540,10 +1808,18 @@ export namespace dataform_v1beta1 {
1540
1808
  * Represents a Dataform Git workspace.
1541
1809
  */
1542
1810
  export interface Schema$Workspace {
1811
+ /**
1812
+ * Output only. The timestamp of when the workspace was created.
1813
+ */
1814
+ createTime?: string | null;
1543
1815
  /**
1544
1816
  * Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
1545
1817
  */
1546
1818
  dataEncryptionState?: Schema$DataEncryptionState;
1819
+ /**
1820
+ * Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
1821
+ */
1822
+ internalMetadata?: string | null;
1547
1823
  /**
1548
1824
  * Identifier. The workspace's name.
1549
1825
  */
@@ -1604,13 +1880,9 @@ export namespace dataform_v1beta1 {
1604
1880
 
1605
1881
  export class Resource$Projects$Locations {
1606
1882
  context: APIRequestContext;
1607
- collections: Resource$Projects$Locations$Collections;
1608
1883
  repositories: Resource$Projects$Locations$Repositories;
1609
1884
  constructor(context: APIRequestContext) {
1610
1885
  this.context = context;
1611
- this.collections = new Resource$Projects$Locations$Collections(
1612
- this.context
1613
- );
1614
1886
  this.repositories = new Resource$Projects$Locations$Repositories(
1615
1887
  this.context
1616
1888
  );
@@ -1701,6 +1973,91 @@ export namespace dataform_v1beta1 {
1701
1973
  }
1702
1974
  }
1703
1975
 
1976
+ /**
1977
+ * Get default config for a given project and location.
1978
+ *
1979
+ * @param params - Parameters for request
1980
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1981
+ * @param callback - Optional callback that handles the response.
1982
+ * @returns A promise if used with async/await, or void if used with a callback.
1983
+ */
1984
+ getConfig(
1985
+ params: Params$Resource$Projects$Locations$Getconfig,
1986
+ options: StreamMethodOptions
1987
+ ): GaxiosPromise<Readable>;
1988
+ getConfig(
1989
+ params?: Params$Resource$Projects$Locations$Getconfig,
1990
+ options?: MethodOptions
1991
+ ): GaxiosPromise<Schema$Config>;
1992
+ getConfig(
1993
+ params: Params$Resource$Projects$Locations$Getconfig,
1994
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
1995
+ callback: BodyResponseCallback<Readable>
1996
+ ): void;
1997
+ getConfig(
1998
+ params: Params$Resource$Projects$Locations$Getconfig,
1999
+ options: MethodOptions | BodyResponseCallback<Schema$Config>,
2000
+ callback: BodyResponseCallback<Schema$Config>
2001
+ ): void;
2002
+ getConfig(
2003
+ params: Params$Resource$Projects$Locations$Getconfig,
2004
+ callback: BodyResponseCallback<Schema$Config>
2005
+ ): void;
2006
+ getConfig(callback: BodyResponseCallback<Schema$Config>): void;
2007
+ getConfig(
2008
+ paramsOrCallback?:
2009
+ | Params$Resource$Projects$Locations$Getconfig
2010
+ | BodyResponseCallback<Schema$Config>
2011
+ | BodyResponseCallback<Readable>,
2012
+ optionsOrCallback?:
2013
+ | MethodOptions
2014
+ | StreamMethodOptions
2015
+ | BodyResponseCallback<Schema$Config>
2016
+ | BodyResponseCallback<Readable>,
2017
+ callback?:
2018
+ | BodyResponseCallback<Schema$Config>
2019
+ | BodyResponseCallback<Readable>
2020
+ ): void | GaxiosPromise<Schema$Config> | GaxiosPromise<Readable> {
2021
+ let params = (paramsOrCallback ||
2022
+ {}) as Params$Resource$Projects$Locations$Getconfig;
2023
+ let options = (optionsOrCallback || {}) as MethodOptions;
2024
+
2025
+ if (typeof paramsOrCallback === 'function') {
2026
+ callback = paramsOrCallback;
2027
+ params = {} as Params$Resource$Projects$Locations$Getconfig;
2028
+ options = {};
2029
+ }
2030
+
2031
+ if (typeof optionsOrCallback === 'function') {
2032
+ callback = optionsOrCallback;
2033
+ options = {};
2034
+ }
2035
+
2036
+ const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
2037
+ const parameters = {
2038
+ options: Object.assign(
2039
+ {
2040
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2041
+ method: 'GET',
2042
+ apiVersion: '',
2043
+ },
2044
+ options
2045
+ ),
2046
+ params,
2047
+ requiredParams: ['name'],
2048
+ pathParams: ['name'],
2049
+ context: this.context,
2050
+ };
2051
+ if (callback) {
2052
+ createAPIRequest<Schema$Config>(
2053
+ parameters,
2054
+ callback as BodyResponseCallback<unknown>
2055
+ );
2056
+ } else {
2057
+ return createAPIRequest<Schema$Config>(parameters);
2058
+ }
2059
+ }
2060
+
1704
2061
  /**
1705
2062
  * Lists information about the supported locations for this service.
1706
2063
  *
@@ -1793,94 +2150,59 @@ export namespace dataform_v1beta1 {
1793
2150
  return createAPIRequest<Schema$ListLocationsResponse>(parameters);
1794
2151
  }
1795
2152
  }
1796
- }
1797
-
1798
- export interface Params$Resource$Projects$Locations$Get
1799
- extends StandardParameters {
1800
- /**
1801
- * Resource name for the location.
1802
- */
1803
- name?: string;
1804
- }
1805
- export interface Params$Resource$Projects$Locations$List
1806
- extends StandardParameters {
1807
- /**
1808
- * 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).
1809
- */
1810
- filter?: string;
1811
- /**
1812
- * The resource that owns the locations collection, if applicable.
1813
- */
1814
- name?: string;
1815
- /**
1816
- * The maximum number of results to return. If not set, the service selects a default.
1817
- */
1818
- pageSize?: number;
1819
- /**
1820
- * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
1821
- */
1822
- pageToken?: string;
1823
- }
1824
-
1825
- export class Resource$Projects$Locations$Collections {
1826
- context: APIRequestContext;
1827
- constructor(context: APIRequestContext) {
1828
- this.context = context;
1829
- }
1830
2153
 
1831
2154
  /**
1832
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2155
+ * Update default config for a given project and location. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*
1833
2156
  *
1834
2157
  * @param params - Parameters for request
1835
2158
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1836
2159
  * @param callback - Optional callback that handles the response.
1837
2160
  * @returns A promise if used with async/await, or void if used with a callback.
1838
2161
  */
1839
- getIamPolicy(
1840
- params: Params$Resource$Projects$Locations$Collections$Getiampolicy,
2162
+ updateConfig(
2163
+ params: Params$Resource$Projects$Locations$Updateconfig,
1841
2164
  options: StreamMethodOptions
1842
2165
  ): GaxiosPromise<Readable>;
1843
- getIamPolicy(
1844
- params?: Params$Resource$Projects$Locations$Collections$Getiampolicy,
2166
+ updateConfig(
2167
+ params?: Params$Resource$Projects$Locations$Updateconfig,
1845
2168
  options?: MethodOptions
1846
- ): GaxiosPromise<Schema$Policy>;
1847
- getIamPolicy(
1848
- params: Params$Resource$Projects$Locations$Collections$Getiampolicy,
2169
+ ): GaxiosPromise<Schema$Config>;
2170
+ updateConfig(
2171
+ params: Params$Resource$Projects$Locations$Updateconfig,
1849
2172
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
1850
2173
  callback: BodyResponseCallback<Readable>
1851
2174
  ): void;
1852
- getIamPolicy(
1853
- params: Params$Resource$Projects$Locations$Collections$Getiampolicy,
1854
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
1855
- callback: BodyResponseCallback<Schema$Policy>
2175
+ updateConfig(
2176
+ params: Params$Resource$Projects$Locations$Updateconfig,
2177
+ options: MethodOptions | BodyResponseCallback<Schema$Config>,
2178
+ callback: BodyResponseCallback<Schema$Config>
1856
2179
  ): void;
1857
- getIamPolicy(
1858
- params: Params$Resource$Projects$Locations$Collections$Getiampolicy,
1859
- callback: BodyResponseCallback<Schema$Policy>
2180
+ updateConfig(
2181
+ params: Params$Resource$Projects$Locations$Updateconfig,
2182
+ callback: BodyResponseCallback<Schema$Config>
1860
2183
  ): void;
1861
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
1862
- getIamPolicy(
2184
+ updateConfig(callback: BodyResponseCallback<Schema$Config>): void;
2185
+ updateConfig(
1863
2186
  paramsOrCallback?:
1864
- | Params$Resource$Projects$Locations$Collections$Getiampolicy
1865
- | BodyResponseCallback<Schema$Policy>
2187
+ | Params$Resource$Projects$Locations$Updateconfig
2188
+ | BodyResponseCallback<Schema$Config>
1866
2189
  | BodyResponseCallback<Readable>,
1867
2190
  optionsOrCallback?:
1868
2191
  | MethodOptions
1869
2192
  | StreamMethodOptions
1870
- | BodyResponseCallback<Schema$Policy>
2193
+ | BodyResponseCallback<Schema$Config>
1871
2194
  | BodyResponseCallback<Readable>,
1872
2195
  callback?:
1873
- | BodyResponseCallback<Schema$Policy>
2196
+ | BodyResponseCallback<Schema$Config>
1874
2197
  | BodyResponseCallback<Readable>
1875
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
2198
+ ): void | GaxiosPromise<Schema$Config> | GaxiosPromise<Readable> {
1876
2199
  let params = (paramsOrCallback ||
1877
- {}) as Params$Resource$Projects$Locations$Collections$Getiampolicy;
2200
+ {}) as Params$Resource$Projects$Locations$Updateconfig;
1878
2201
  let options = (optionsOrCallback || {}) as MethodOptions;
1879
2202
 
1880
2203
  if (typeof paramsOrCallback === 'function') {
1881
2204
  callback = paramsOrCallback;
1882
- params =
1883
- {} as Params$Resource$Projects$Locations$Collections$Getiampolicy;
2205
+ params = {} as Params$Resource$Projects$Locations$Updateconfig;
1884
2206
  options = {};
1885
2207
  }
1886
2208
 
@@ -1893,255 +2215,84 @@ export namespace dataform_v1beta1 {
1893
2215
  const parameters = {
1894
2216
  options: Object.assign(
1895
2217
  {
1896
- url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
1897
- /([^:]\/)\/+/g,
1898
- '$1'
1899
- ),
1900
- method: 'GET',
2218
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2219
+ method: 'PATCH',
1901
2220
  apiVersion: '',
1902
2221
  },
1903
2222
  options
1904
2223
  ),
1905
2224
  params,
1906
- requiredParams: ['resource'],
1907
- pathParams: ['resource'],
2225
+ requiredParams: ['name'],
2226
+ pathParams: ['name'],
1908
2227
  context: this.context,
1909
2228
  };
1910
2229
  if (callback) {
1911
- createAPIRequest<Schema$Policy>(
2230
+ createAPIRequest<Schema$Config>(
1912
2231
  parameters,
1913
2232
  callback as BodyResponseCallback<unknown>
1914
2233
  );
1915
2234
  } else {
1916
- return createAPIRequest<Schema$Policy>(parameters);
2235
+ return createAPIRequest<Schema$Config>(parameters);
1917
2236
  }
1918
2237
  }
2238
+ }
1919
2239
 
2240
+ export interface Params$Resource$Projects$Locations$Get
2241
+ extends StandardParameters {
1920
2242
  /**
1921
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
1922
- *
1923
- * @param params - Parameters for request
1924
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1925
- * @param callback - Optional callback that handles the response.
1926
- * @returns A promise if used with async/await, or void if used with a callback.
2243
+ * Resource name for the location.
1927
2244
  */
1928
- setIamPolicy(
1929
- params: Params$Resource$Projects$Locations$Collections$Setiampolicy,
1930
- options: StreamMethodOptions
1931
- ): GaxiosPromise<Readable>;
1932
- setIamPolicy(
1933
- params?: Params$Resource$Projects$Locations$Collections$Setiampolicy,
1934
- options?: MethodOptions
1935
- ): GaxiosPromise<Schema$Policy>;
1936
- setIamPolicy(
1937
- params: Params$Resource$Projects$Locations$Collections$Setiampolicy,
1938
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
1939
- callback: BodyResponseCallback<Readable>
1940
- ): void;
1941
- setIamPolicy(
1942
- params: Params$Resource$Projects$Locations$Collections$Setiampolicy,
1943
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
1944
- callback: BodyResponseCallback<Schema$Policy>
1945
- ): void;
1946
- setIamPolicy(
1947
- params: Params$Resource$Projects$Locations$Collections$Setiampolicy,
1948
- callback: BodyResponseCallback<Schema$Policy>
1949
- ): void;
1950
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
1951
- setIamPolicy(
1952
- paramsOrCallback?:
1953
- | Params$Resource$Projects$Locations$Collections$Setiampolicy
1954
- | BodyResponseCallback<Schema$Policy>
1955
- | BodyResponseCallback<Readable>,
1956
- optionsOrCallback?:
1957
- | MethodOptions
1958
- | StreamMethodOptions
1959
- | BodyResponseCallback<Schema$Policy>
1960
- | BodyResponseCallback<Readable>,
1961
- callback?:
1962
- | BodyResponseCallback<Schema$Policy>
1963
- | BodyResponseCallback<Readable>
1964
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
1965
- let params = (paramsOrCallback ||
1966
- {}) as Params$Resource$Projects$Locations$Collections$Setiampolicy;
1967
- let options = (optionsOrCallback || {}) as MethodOptions;
1968
-
1969
- if (typeof paramsOrCallback === 'function') {
1970
- callback = paramsOrCallback;
1971
- params =
1972
- {} as Params$Resource$Projects$Locations$Collections$Setiampolicy;
1973
- options = {};
1974
- }
1975
-
1976
- if (typeof optionsOrCallback === 'function') {
1977
- callback = optionsOrCallback;
1978
- options = {};
1979
- }
1980
-
1981
- const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
1982
- const parameters = {
1983
- options: Object.assign(
1984
- {
1985
- url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
1986
- /([^:]\/)\/+/g,
1987
- '$1'
1988
- ),
1989
- method: 'POST',
1990
- apiVersion: '',
1991
- },
1992
- options
1993
- ),
1994
- params,
1995
- requiredParams: ['resource'],
1996
- pathParams: ['resource'],
1997
- context: this.context,
1998
- };
1999
- if (callback) {
2000
- createAPIRequest<Schema$Policy>(
2001
- parameters,
2002
- callback as BodyResponseCallback<unknown>
2003
- );
2004
- } else {
2005
- return createAPIRequest<Schema$Policy>(parameters);
2006
- }
2007
- }
2008
-
2245
+ name?: string;
2246
+ }
2247
+ export interface Params$Resource$Projects$Locations$Getconfig
2248
+ extends StandardParameters {
2009
2249
  /**
2010
- * 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.
2011
- *
2012
- * @param params - Parameters for request
2013
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2014
- * @param callback - Optional callback that handles the response.
2015
- * @returns A promise if used with async/await, or void if used with a callback.
2250
+ * Required. The config name.
2016
2251
  */
2017
- testIamPermissions(
2018
- params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
2019
- options: StreamMethodOptions
2020
- ): GaxiosPromise<Readable>;
2021
- testIamPermissions(
2022
- params?: Params$Resource$Projects$Locations$Collections$Testiampermissions,
2023
- options?: MethodOptions
2024
- ): GaxiosPromise<Schema$TestIamPermissionsResponse>;
2025
- testIamPermissions(
2026
- params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
2027
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
2028
- callback: BodyResponseCallback<Readable>
2029
- ): void;
2030
- testIamPermissions(
2031
- params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
2032
- options:
2033
- | MethodOptions
2034
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>,
2035
- callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
2036
- ): void;
2037
- testIamPermissions(
2038
- params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
2039
- callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
2040
- ): void;
2041
- testIamPermissions(
2042
- callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
2043
- ): void;
2044
- testIamPermissions(
2045
- paramsOrCallback?:
2046
- | Params$Resource$Projects$Locations$Collections$Testiampermissions
2047
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>
2048
- | BodyResponseCallback<Readable>,
2049
- optionsOrCallback?:
2050
- | MethodOptions
2051
- | StreamMethodOptions
2052
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>
2053
- | BodyResponseCallback<Readable>,
2054
- callback?:
2055
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>
2056
- | BodyResponseCallback<Readable>
2057
- ):
2058
- | void
2059
- | GaxiosPromise<Schema$TestIamPermissionsResponse>
2060
- | GaxiosPromise<Readable> {
2061
- let params = (paramsOrCallback ||
2062
- {}) as Params$Resource$Projects$Locations$Collections$Testiampermissions;
2063
- let options = (optionsOrCallback || {}) as MethodOptions;
2064
-
2065
- if (typeof paramsOrCallback === 'function') {
2066
- callback = paramsOrCallback;
2067
- params =
2068
- {} as Params$Resource$Projects$Locations$Collections$Testiampermissions;
2069
- options = {};
2070
- }
2071
-
2072
- if (typeof optionsOrCallback === 'function') {
2073
- callback = optionsOrCallback;
2074
- options = {};
2075
- }
2076
-
2077
- const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
2078
- const parameters = {
2079
- options: Object.assign(
2080
- {
2081
- url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(
2082
- /([^:]\/)\/+/g,
2083
- '$1'
2084
- ),
2085
- method: 'POST',
2086
- apiVersion: '',
2087
- },
2088
- options
2089
- ),
2090
- params,
2091
- requiredParams: ['resource'],
2092
- pathParams: ['resource'],
2093
- context: this.context,
2094
- };
2095
- if (callback) {
2096
- createAPIRequest<Schema$TestIamPermissionsResponse>(
2097
- parameters,
2098
- callback as BodyResponseCallback<unknown>
2099
- );
2100
- } else {
2101
- return createAPIRequest<Schema$TestIamPermissionsResponse>(parameters);
2102
- }
2103
- }
2252
+ name?: string;
2104
2253
  }
2105
-
2106
- export interface Params$Resource$Projects$Locations$Collections$Getiampolicy
2254
+ export interface Params$Resource$Projects$Locations$List
2107
2255
  extends StandardParameters {
2108
2256
  /**
2109
- * 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).
2257
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2110
2258
  */
2111
- 'options.requestedPolicyVersion'?: number;
2259
+ extraLocationTypes?: string[];
2112
2260
  /**
2113
- * 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.
2261
+ * 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).
2114
2262
  */
2115
- resource?: string;
2116
- }
2117
- export interface Params$Resource$Projects$Locations$Collections$Setiampolicy
2118
- extends StandardParameters {
2263
+ filter?: string;
2119
2264
  /**
2120
- * 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.
2265
+ * The resource that owns the locations collection, if applicable.
2121
2266
  */
2122
- resource?: string;
2123
-
2267
+ name?: string;
2124
2268
  /**
2125
- * Request body metadata
2269
+ * The maximum number of results to return. If not set, the service selects a default.
2126
2270
  */
2127
- requestBody?: Schema$SetIamPolicyRequest;
2271
+ pageSize?: number;
2272
+ /**
2273
+ * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
2274
+ */
2275
+ pageToken?: string;
2128
2276
  }
2129
- export interface Params$Resource$Projects$Locations$Collections$Testiampermissions
2277
+ export interface Params$Resource$Projects$Locations$Updateconfig
2130
2278
  extends StandardParameters {
2131
2279
  /**
2132
- * 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.
2280
+ * Identifier. The config name.
2133
2281
  */
2134
- resource?: string;
2282
+ name?: string;
2283
+ /**
2284
+ * Optional. Specifies the fields to be updated in the config.
2285
+ */
2286
+ updateMask?: string;
2135
2287
 
2136
2288
  /**
2137
2289
  * Request body metadata
2138
2290
  */
2139
- requestBody?: Schema$TestIamPermissionsRequest;
2291
+ requestBody?: Schema$Config;
2140
2292
  }
2141
2293
 
2142
2294
  export class Resource$Projects$Locations$Repositories {
2143
2295
  context: APIRequestContext;
2144
- commentThreads: Resource$Projects$Locations$Repositories$Commentthreads;
2145
2296
  compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
2146
2297
  releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
2147
2298
  workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
@@ -2149,10 +2300,6 @@ export namespace dataform_v1beta1 {
2149
2300
  workspaces: Resource$Projects$Locations$Repositories$Workspaces;
2150
2301
  constructor(context: APIRequestContext) {
2151
2302
  this.context = context;
2152
- this.commentThreads =
2153
- new Resource$Projects$Locations$Repositories$Commentthreads(
2154
- this.context
2155
- );
2156
2303
  this.compilationResults =
2157
2304
  new Resource$Projects$Locations$Repositories$Compilationresults(
2158
2305
  this.context
@@ -2910,7 +3057,7 @@ export namespace dataform_v1beta1 {
2910
3057
  }
2911
3058
 
2912
3059
  /**
2913
- * Lists Repositories in a given project and location.
3060
+ * Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.
2914
3061
  *
2915
3062
  * @param params - Parameters for request
2916
3063
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3003,7 +3150,7 @@ export namespace dataform_v1beta1 {
3003
3150
  }
3004
3151
 
3005
3152
  /**
3006
- * Updates a single Repository.
3153
+ * Updates a single Repository. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*
3007
3154
  *
3008
3155
  * @param params - Parameters for request
3009
3156
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3488,572 +3635,60 @@ export namespace dataform_v1beta1 {
3488
3635
  export interface Params$Resource$Projects$Locations$Repositories$Create
3489
3636
  extends StandardParameters {
3490
3637
  /**
3491
- * Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
3492
- */
3493
- parent?: string;
3494
- /**
3495
- * Required. The ID to use for the repository, which will become the final component of the repository's resource name.
3496
- */
3497
- repositoryId?: string;
3498
-
3499
- /**
3500
- * Request body metadata
3501
- */
3502
- requestBody?: Schema$Repository;
3503
- }
3504
- export interface Params$Resource$Projects$Locations$Repositories$Delete
3505
- extends StandardParameters {
3506
- /**
3507
- * 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.)
3508
- */
3509
- force?: boolean;
3510
- /**
3511
- * Required. The repository's name.
3512
- */
3513
- name?: string;
3514
- }
3515
- export interface Params$Resource$Projects$Locations$Repositories$Fetchhistory
3516
- extends StandardParameters {
3517
- /**
3518
- * Required. The repository's name.
3519
- */
3520
- name?: string;
3521
- /**
3522
- * Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3523
- */
3524
- pageSize?: number;
3525
- /**
3526
- * 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.
3527
- */
3528
- pageToken?: string;
3529
- }
3530
- export interface Params$Resource$Projects$Locations$Repositories$Fetchremotebranches
3531
- extends StandardParameters {
3532
- /**
3533
- * Required. The repository's name.
3534
- */
3535
- name?: string;
3536
- }
3537
- export interface Params$Resource$Projects$Locations$Repositories$Get
3538
- extends StandardParameters {
3539
- /**
3540
- * Required. The repository's name.
3541
- */
3542
- name?: string;
3543
- }
3544
- export interface Params$Resource$Projects$Locations$Repositories$Getiampolicy
3545
- extends StandardParameters {
3546
- /**
3547
- * 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).
3548
- */
3549
- 'options.requestedPolicyVersion'?: number;
3550
- /**
3551
- * 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.
3552
- */
3553
- resource?: string;
3554
- }
3555
- export interface Params$Resource$Projects$Locations$Repositories$List
3556
- extends StandardParameters {
3557
- /**
3558
- * Optional. Filter for the returned list.
3559
- */
3560
- filter?: string;
3561
- /**
3562
- * 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.
3563
- */
3564
- orderBy?: string;
3565
- /**
3566
- * Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3567
- */
3568
- pageSize?: number;
3569
- /**
3570
- * 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.
3571
- */
3572
- pageToken?: string;
3573
- /**
3574
- * Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
3575
- */
3576
- parent?: string;
3577
- }
3578
- export interface Params$Resource$Projects$Locations$Repositories$Patch
3579
- extends StandardParameters {
3580
- /**
3581
- * Identifier. The repository's name.
3582
- */
3583
- name?: string;
3584
- /**
3585
- * Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
3586
- */
3587
- updateMask?: string;
3588
-
3589
- /**
3590
- * Request body metadata
3591
- */
3592
- requestBody?: Schema$Repository;
3593
- }
3594
- export interface Params$Resource$Projects$Locations$Repositories$Querydirectorycontents
3595
- extends StandardParameters {
3596
- /**
3597
- * Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
3598
- */
3599
- commitSha?: string;
3600
- /**
3601
- * Required. The repository's name.
3602
- */
3603
- name?: string;
3604
- /**
3605
- * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3606
- */
3607
- pageSize?: number;
3608
- /**
3609
- * 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.
3610
- */
3611
- pageToken?: string;
3612
- /**
3613
- * Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
3614
- */
3615
- path?: string;
3616
- }
3617
- export interface Params$Resource$Projects$Locations$Repositories$Readfile
3618
- extends StandardParameters {
3619
- /**
3620
- * Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
3621
- */
3622
- commitSha?: string;
3623
- /**
3624
- * Required. The repository's name.
3625
- */
3626
- name?: string;
3627
- /**
3628
- * Required. Full file path to read including filename, from repository root.
3629
- */
3630
- path?: string;
3631
- }
3632
- export interface Params$Resource$Projects$Locations$Repositories$Setiampolicy
3633
- extends StandardParameters {
3634
- /**
3635
- * 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.
3636
- */
3637
- resource?: string;
3638
-
3639
- /**
3640
- * Request body metadata
3641
- */
3642
- requestBody?: Schema$SetIamPolicyRequest;
3643
- }
3644
- export interface Params$Resource$Projects$Locations$Repositories$Testiampermissions
3645
- extends StandardParameters {
3646
- /**
3647
- * 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.
3648
- */
3649
- resource?: string;
3650
-
3651
- /**
3652
- * Request body metadata
3653
- */
3654
- requestBody?: Schema$TestIamPermissionsRequest;
3655
- }
3656
-
3657
- export class Resource$Projects$Locations$Repositories$Commentthreads {
3658
- context: APIRequestContext;
3659
- comments: Resource$Projects$Locations$Repositories$Commentthreads$Comments;
3660
- constructor(context: APIRequestContext) {
3661
- this.context = context;
3662
- this.comments =
3663
- new Resource$Projects$Locations$Repositories$Commentthreads$Comments(
3664
- this.context
3665
- );
3666
- }
3667
-
3668
- /**
3669
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3670
- *
3671
- * @param params - Parameters for request
3672
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3673
- * @param callback - Optional callback that handles the response.
3674
- * @returns A promise if used with async/await, or void if used with a callback.
3675
- */
3676
- getIamPolicy(
3677
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
3678
- options: StreamMethodOptions
3679
- ): GaxiosPromise<Readable>;
3680
- getIamPolicy(
3681
- params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
3682
- options?: MethodOptions
3683
- ): GaxiosPromise<Schema$Policy>;
3684
- getIamPolicy(
3685
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
3686
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
3687
- callback: BodyResponseCallback<Readable>
3688
- ): void;
3689
- getIamPolicy(
3690
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
3691
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
3692
- callback: BodyResponseCallback<Schema$Policy>
3693
- ): void;
3694
- getIamPolicy(
3695
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
3696
- callback: BodyResponseCallback<Schema$Policy>
3697
- ): void;
3698
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3699
- getIamPolicy(
3700
- paramsOrCallback?:
3701
- | Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy
3702
- | BodyResponseCallback<Schema$Policy>
3703
- | BodyResponseCallback<Readable>,
3704
- optionsOrCallback?:
3705
- | MethodOptions
3706
- | StreamMethodOptions
3707
- | BodyResponseCallback<Schema$Policy>
3708
- | BodyResponseCallback<Readable>,
3709
- callback?:
3710
- | BodyResponseCallback<Schema$Policy>
3711
- | BodyResponseCallback<Readable>
3712
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
3713
- let params = (paramsOrCallback ||
3714
- {}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy;
3715
- let options = (optionsOrCallback || {}) as MethodOptions;
3716
-
3717
- if (typeof paramsOrCallback === 'function') {
3718
- callback = paramsOrCallback;
3719
- params =
3720
- {} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy;
3721
- options = {};
3722
- }
3723
-
3724
- if (typeof optionsOrCallback === 'function') {
3725
- callback = optionsOrCallback;
3726
- options = {};
3727
- }
3728
-
3729
- const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
3730
- const parameters = {
3731
- options: Object.assign(
3732
- {
3733
- url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
3734
- /([^:]\/)\/+/g,
3735
- '$1'
3736
- ),
3737
- method: 'GET',
3738
- apiVersion: '',
3739
- },
3740
- options
3741
- ),
3742
- params,
3743
- requiredParams: ['resource'],
3744
- pathParams: ['resource'],
3745
- context: this.context,
3746
- };
3747
- if (callback) {
3748
- createAPIRequest<Schema$Policy>(
3749
- parameters,
3750
- callback as BodyResponseCallback<unknown>
3751
- );
3752
- } else {
3753
- return createAPIRequest<Schema$Policy>(parameters);
3754
- }
3755
- }
3756
-
3757
- /**
3758
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
3759
- *
3760
- * @param params - Parameters for request
3761
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3762
- * @param callback - Optional callback that handles the response.
3763
- * @returns A promise if used with async/await, or void if used with a callback.
3764
- */
3765
- setIamPolicy(
3766
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
3767
- options: StreamMethodOptions
3768
- ): GaxiosPromise<Readable>;
3769
- setIamPolicy(
3770
- params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
3771
- options?: MethodOptions
3772
- ): GaxiosPromise<Schema$Policy>;
3773
- setIamPolicy(
3774
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
3775
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
3776
- callback: BodyResponseCallback<Readable>
3777
- ): void;
3778
- setIamPolicy(
3779
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
3780
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
3781
- callback: BodyResponseCallback<Schema$Policy>
3782
- ): void;
3783
- setIamPolicy(
3784
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
3785
- callback: BodyResponseCallback<Schema$Policy>
3786
- ): void;
3787
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3788
- setIamPolicy(
3789
- paramsOrCallback?:
3790
- | Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy
3791
- | BodyResponseCallback<Schema$Policy>
3792
- | BodyResponseCallback<Readable>,
3793
- optionsOrCallback?:
3794
- | MethodOptions
3795
- | StreamMethodOptions
3796
- | BodyResponseCallback<Schema$Policy>
3797
- | BodyResponseCallback<Readable>,
3798
- callback?:
3799
- | BodyResponseCallback<Schema$Policy>
3800
- | BodyResponseCallback<Readable>
3801
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
3802
- let params = (paramsOrCallback ||
3803
- {}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy;
3804
- let options = (optionsOrCallback || {}) as MethodOptions;
3805
-
3806
- if (typeof paramsOrCallback === 'function') {
3807
- callback = paramsOrCallback;
3808
- params =
3809
- {} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy;
3810
- options = {};
3811
- }
3812
-
3813
- if (typeof optionsOrCallback === 'function') {
3814
- callback = optionsOrCallback;
3815
- options = {};
3816
- }
3817
-
3818
- const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
3819
- const parameters = {
3820
- options: Object.assign(
3821
- {
3822
- url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
3823
- /([^:]\/)\/+/g,
3824
- '$1'
3825
- ),
3826
- method: 'POST',
3827
- apiVersion: '',
3828
- },
3829
- options
3830
- ),
3831
- params,
3832
- requiredParams: ['resource'],
3833
- pathParams: ['resource'],
3834
- context: this.context,
3835
- };
3836
- if (callback) {
3837
- createAPIRequest<Schema$Policy>(
3838
- parameters,
3839
- callback as BodyResponseCallback<unknown>
3840
- );
3841
- } else {
3842
- return createAPIRequest<Schema$Policy>(parameters);
3843
- }
3844
- }
3845
- }
3846
-
3847
- export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy
3848
- extends StandardParameters {
3849
- /**
3850
- * 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).
3851
- */
3852
- 'options.requestedPolicyVersion'?: number;
3853
- /**
3854
- * 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.
3855
- */
3856
- resource?: string;
3857
- }
3858
- export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy
3859
- extends StandardParameters {
3860
- /**
3861
- * 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.
3862
- */
3863
- resource?: string;
3864
-
3865
- /**
3866
- * Request body metadata
3867
- */
3868
- requestBody?: Schema$SetIamPolicyRequest;
3869
- }
3870
-
3871
- export class Resource$Projects$Locations$Repositories$Commentthreads$Comments {
3872
- context: APIRequestContext;
3873
- constructor(context: APIRequestContext) {
3874
- this.context = context;
3875
- }
3876
-
3877
- /**
3878
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3879
- *
3880
- * @param params - Parameters for request
3881
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3882
- * @param callback - Optional callback that handles the response.
3883
- * @returns A promise if used with async/await, or void if used with a callback.
3884
- */
3885
- getIamPolicy(
3886
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
3887
- options: StreamMethodOptions
3888
- ): GaxiosPromise<Readable>;
3889
- getIamPolicy(
3890
- params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
3891
- options?: MethodOptions
3892
- ): GaxiosPromise<Schema$Policy>;
3893
- getIamPolicy(
3894
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
3895
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
3896
- callback: BodyResponseCallback<Readable>
3897
- ): void;
3898
- getIamPolicy(
3899
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
3900
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
3901
- callback: BodyResponseCallback<Schema$Policy>
3902
- ): void;
3903
- getIamPolicy(
3904
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
3905
- callback: BodyResponseCallback<Schema$Policy>
3906
- ): void;
3907
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3908
- getIamPolicy(
3909
- paramsOrCallback?:
3910
- | Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy
3911
- | BodyResponseCallback<Schema$Policy>
3912
- | BodyResponseCallback<Readable>,
3913
- optionsOrCallback?:
3914
- | MethodOptions
3915
- | StreamMethodOptions
3916
- | BodyResponseCallback<Schema$Policy>
3917
- | BodyResponseCallback<Readable>,
3918
- callback?:
3919
- | BodyResponseCallback<Schema$Policy>
3920
- | BodyResponseCallback<Readable>
3921
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
3922
- let params = (paramsOrCallback ||
3923
- {}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy;
3924
- let options = (optionsOrCallback || {}) as MethodOptions;
3925
-
3926
- if (typeof paramsOrCallback === 'function') {
3927
- callback = paramsOrCallback;
3928
- params =
3929
- {} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy;
3930
- options = {};
3931
- }
3932
-
3933
- if (typeof optionsOrCallback === 'function') {
3934
- callback = optionsOrCallback;
3935
- options = {};
3936
- }
3937
-
3938
- const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
3939
- const parameters = {
3940
- options: Object.assign(
3941
- {
3942
- url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
3943
- /([^:]\/)\/+/g,
3944
- '$1'
3945
- ),
3946
- method: 'GET',
3947
- apiVersion: '',
3948
- },
3949
- options
3950
- ),
3951
- params,
3952
- requiredParams: ['resource'],
3953
- pathParams: ['resource'],
3954
- context: this.context,
3955
- };
3956
- if (callback) {
3957
- createAPIRequest<Schema$Policy>(
3958
- parameters,
3959
- callback as BodyResponseCallback<unknown>
3960
- );
3961
- } else {
3962
- return createAPIRequest<Schema$Policy>(parameters);
3963
- }
3964
- }
3965
-
3966
- /**
3967
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
3968
- *
3969
- * @param params - Parameters for request
3970
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3971
- * @param callback - Optional callback that handles the response.
3972
- * @returns A promise if used with async/await, or void if used with a callback.
3973
- */
3974
- setIamPolicy(
3975
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy,
3976
- options: StreamMethodOptions
3977
- ): GaxiosPromise<Readable>;
3978
- setIamPolicy(
3979
- params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy,
3980
- options?: MethodOptions
3981
- ): GaxiosPromise<Schema$Policy>;
3982
- setIamPolicy(
3983
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy,
3984
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
3985
- callback: BodyResponseCallback<Readable>
3986
- ): void;
3987
- setIamPolicy(
3988
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy,
3989
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
3990
- callback: BodyResponseCallback<Schema$Policy>
3991
- ): void;
3992
- setIamPolicy(
3993
- params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy,
3994
- callback: BodyResponseCallback<Schema$Policy>
3995
- ): void;
3996
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3997
- setIamPolicy(
3998
- paramsOrCallback?:
3999
- | Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy
4000
- | BodyResponseCallback<Schema$Policy>
4001
- | BodyResponseCallback<Readable>,
4002
- optionsOrCallback?:
4003
- | MethodOptions
4004
- | StreamMethodOptions
4005
- | BodyResponseCallback<Schema$Policy>
4006
- | BodyResponseCallback<Readable>,
4007
- callback?:
4008
- | BodyResponseCallback<Schema$Policy>
4009
- | BodyResponseCallback<Readable>
4010
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
4011
- let params = (paramsOrCallback ||
4012
- {}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy;
4013
- let options = (optionsOrCallback || {}) as MethodOptions;
4014
-
4015
- if (typeof paramsOrCallback === 'function') {
4016
- callback = paramsOrCallback;
4017
- params =
4018
- {} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy;
4019
- options = {};
4020
- }
4021
-
4022
- if (typeof optionsOrCallback === 'function') {
4023
- callback = optionsOrCallback;
4024
- options = {};
4025
- }
4026
-
4027
- const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
4028
- const parameters = {
4029
- options: Object.assign(
4030
- {
4031
- url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
4032
- /([^:]\/)\/+/g,
4033
- '$1'
4034
- ),
4035
- method: 'POST',
4036
- apiVersion: '',
4037
- },
4038
- options
4039
- ),
4040
- params,
4041
- requiredParams: ['resource'],
4042
- pathParams: ['resource'],
4043
- context: this.context,
4044
- };
4045
- if (callback) {
4046
- createAPIRequest<Schema$Policy>(
4047
- parameters,
4048
- callback as BodyResponseCallback<unknown>
4049
- );
4050
- } else {
4051
- return createAPIRequest<Schema$Policy>(parameters);
4052
- }
4053
- }
4054
- }
3638
+ * Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
3639
+ */
3640
+ parent?: string;
3641
+ /**
3642
+ * Required. The ID to use for the repository, which will become the final component of the repository's resource name.
3643
+ */
3644
+ repositoryId?: string;
4055
3645
 
4056
- export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy
3646
+ /**
3647
+ * Request body metadata
3648
+ */
3649
+ requestBody?: Schema$Repository;
3650
+ }
3651
+ export interface Params$Resource$Projects$Locations$Repositories$Delete
3652
+ extends StandardParameters {
3653
+ /**
3654
+ * Optional. 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.)
3655
+ */
3656
+ force?: boolean;
3657
+ /**
3658
+ * Required. The repository's name.
3659
+ */
3660
+ name?: string;
3661
+ }
3662
+ export interface Params$Resource$Projects$Locations$Repositories$Fetchhistory
3663
+ extends StandardParameters {
3664
+ /**
3665
+ * Required. The repository's name.
3666
+ */
3667
+ name?: string;
3668
+ /**
3669
+ * Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3670
+ */
3671
+ pageSize?: number;
3672
+ /**
3673
+ * Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token.
3674
+ */
3675
+ pageToken?: string;
3676
+ }
3677
+ export interface Params$Resource$Projects$Locations$Repositories$Fetchremotebranches
3678
+ extends StandardParameters {
3679
+ /**
3680
+ * Required. The repository's name.
3681
+ */
3682
+ name?: string;
3683
+ }
3684
+ export interface Params$Resource$Projects$Locations$Repositories$Get
3685
+ extends StandardParameters {
3686
+ /**
3687
+ * Required. The repository's name.
3688
+ */
3689
+ name?: string;
3690
+ }
3691
+ export interface Params$Resource$Projects$Locations$Repositories$Getiampolicy
4057
3692
  extends StandardParameters {
4058
3693
  /**
4059
3694
  * 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).
@@ -4064,7 +3699,84 @@ export namespace dataform_v1beta1 {
4064
3699
  */
4065
3700
  resource?: string;
4066
3701
  }
4067
- export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Setiampolicy
3702
+ export interface Params$Resource$Projects$Locations$Repositories$List
3703
+ extends StandardParameters {
3704
+ /**
3705
+ * Optional. Filter for the returned list.
3706
+ */
3707
+ filter?: string;
3708
+ /**
3709
+ * 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.
3710
+ */
3711
+ orderBy?: string;
3712
+ /**
3713
+ * Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3714
+ */
3715
+ pageSize?: number;
3716
+ /**
3717
+ * Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.
3718
+ */
3719
+ pageToken?: string;
3720
+ /**
3721
+ * Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
3722
+ */
3723
+ parent?: string;
3724
+ }
3725
+ export interface Params$Resource$Projects$Locations$Repositories$Patch
3726
+ extends StandardParameters {
3727
+ /**
3728
+ * Identifier. The repository's name.
3729
+ */
3730
+ name?: string;
3731
+ /**
3732
+ * Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
3733
+ */
3734
+ updateMask?: string;
3735
+
3736
+ /**
3737
+ * Request body metadata
3738
+ */
3739
+ requestBody?: Schema$Repository;
3740
+ }
3741
+ export interface Params$Resource$Projects$Locations$Repositories$Querydirectorycontents
3742
+ extends StandardParameters {
3743
+ /**
3744
+ * Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
3745
+ */
3746
+ commitSha?: string;
3747
+ /**
3748
+ * Required. The repository's name.
3749
+ */
3750
+ name?: string;
3751
+ /**
3752
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3753
+ */
3754
+ pageSize?: number;
3755
+ /**
3756
+ * Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.
3757
+ */
3758
+ pageToken?: string;
3759
+ /**
3760
+ * Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
3761
+ */
3762
+ path?: string;
3763
+ }
3764
+ export interface Params$Resource$Projects$Locations$Repositories$Readfile
3765
+ extends StandardParameters {
3766
+ /**
3767
+ * Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
3768
+ */
3769
+ commitSha?: string;
3770
+ /**
3771
+ * Required. The repository's name.
3772
+ */
3773
+ name?: string;
3774
+ /**
3775
+ * Required. Full file path to read including filename, from repository root.
3776
+ */
3777
+ path?: string;
3778
+ }
3779
+ export interface Params$Resource$Projects$Locations$Repositories$Setiampolicy
4068
3780
  extends StandardParameters {
4069
3781
  /**
4070
3782
  * 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.
@@ -4076,6 +3788,18 @@ export namespace dataform_v1beta1 {
4076
3788
  */
4077
3789
  requestBody?: Schema$SetIamPolicyRequest;
4078
3790
  }
3791
+ export interface Params$Resource$Projects$Locations$Repositories$Testiampermissions
3792
+ extends StandardParameters {
3793
+ /**
3794
+ * 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.
3795
+ */
3796
+ resource?: string;
3797
+
3798
+ /**
3799
+ * Request body metadata
3800
+ */
3801
+ requestBody?: Schema$TestIamPermissionsRequest;
3802
+ }
4079
3803
 
4080
3804
  export class Resource$Projects$Locations$Repositories$Compilationresults {
4081
3805
  context: APIRequestContext;
@@ -4495,7 +4219,7 @@ export namespace dataform_v1beta1 {
4495
4219
  */
4496
4220
  pageSize?: number;
4497
4221
  /**
4498
- * 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.
4222
+ * Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token.
4499
4223
  */
4500
4224
  pageToken?: string;
4501
4225
  /**
@@ -4518,7 +4242,7 @@ export namespace dataform_v1beta1 {
4518
4242
  */
4519
4243
  pageSize?: number;
4520
4244
  /**
4521
- * 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.
4245
+ * Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token.
4522
4246
  */
4523
4247
  pageToken?: string;
4524
4248
  }
@@ -4887,7 +4611,7 @@ export namespace dataform_v1beta1 {
4887
4611
  }
4888
4612
 
4889
4613
  /**
4890
- * Updates a single ReleaseConfig.
4614
+ * Updates a single ReleaseConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*
4891
4615
  *
4892
4616
  * @param params - Parameters for request
4893
4617
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5010,7 +4734,7 @@ export namespace dataform_v1beta1 {
5010
4734
  */
5011
4735
  pageSize?: number;
5012
4736
  /**
5013
- * 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.
4737
+ * Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided the page token.
5014
4738
  */
5015
4739
  pageToken?: string;
5016
4740
  /**
@@ -5399,7 +5123,7 @@ export namespace dataform_v1beta1 {
5399
5123
  }
5400
5124
 
5401
5125
  /**
5402
- * Updates a single WorkflowConfig.
5126
+ * Updates a single WorkflowConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*
5403
5127
  *
5404
5128
  * @param params - Parameters for request
5405
5129
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5522,7 +5246,7 @@ export namespace dataform_v1beta1 {
5522
5246
  */
5523
5247
  pageSize?: number;
5524
5248
  /**
5525
- * 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.
5249
+ * Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided the page token.
5526
5250
  */
5527
5251
  pageToken?: string;
5528
5252
  /**
@@ -5568,7 +5292,7 @@ export namespace dataform_v1beta1 {
5568
5292
  cancel(
5569
5293
  params?: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel,
5570
5294
  options?: MethodOptions
5571
- ): GaxiosPromise<Schema$Empty>;
5295
+ ): GaxiosPromise<Schema$CancelWorkflowInvocationResponse>;
5572
5296
  cancel(
5573
5297
  params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel,
5574
5298
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5576,28 +5300,35 @@ export namespace dataform_v1beta1 {
5576
5300
  ): void;
5577
5301
  cancel(
5578
5302
  params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel,
5579
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
5580
- callback: BodyResponseCallback<Schema$Empty>
5303
+ options:
5304
+ | MethodOptions
5305
+ | BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>,
5306
+ callback: BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>
5581
5307
  ): void;
5582
5308
  cancel(
5583
5309
  params: Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel,
5584
- callback: BodyResponseCallback<Schema$Empty>
5310
+ callback: BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>
5311
+ ): void;
5312
+ cancel(
5313
+ callback: BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>
5585
5314
  ): void;
5586
- cancel(callback: BodyResponseCallback<Schema$Empty>): void;
5587
5315
  cancel(
5588
5316
  paramsOrCallback?:
5589
5317
  | Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel
5590
- | BodyResponseCallback<Schema$Empty>
5318
+ | BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>
5591
5319
  | BodyResponseCallback<Readable>,
5592
5320
  optionsOrCallback?:
5593
5321
  | MethodOptions
5594
5322
  | StreamMethodOptions
5595
- | BodyResponseCallback<Schema$Empty>
5323
+ | BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>
5596
5324
  | BodyResponseCallback<Readable>,
5597
5325
  callback?:
5598
- | BodyResponseCallback<Schema$Empty>
5326
+ | BodyResponseCallback<Schema$CancelWorkflowInvocationResponse>
5599
5327
  | BodyResponseCallback<Readable>
5600
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
5328
+ ):
5329
+ | void
5330
+ | GaxiosPromise<Schema$CancelWorkflowInvocationResponse>
5331
+ | GaxiosPromise<Readable> {
5601
5332
  let params = (paramsOrCallback ||
5602
5333
  {}) as Params$Resource$Projects$Locations$Repositories$Workflowinvocations$Cancel;
5603
5334
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5633,12 +5364,14 @@ export namespace dataform_v1beta1 {
5633
5364
  context: this.context,
5634
5365
  };
5635
5366
  if (callback) {
5636
- createAPIRequest<Schema$Empty>(
5367
+ createAPIRequest<Schema$CancelWorkflowInvocationResponse>(
5637
5368
  parameters,
5638
5369
  callback as BodyResponseCallback<unknown>
5639
5370
  );
5640
5371
  } else {
5641
- return createAPIRequest<Schema$Empty>(parameters);
5372
+ return createAPIRequest<Schema$CancelWorkflowInvocationResponse>(
5373
+ parameters
5374
+ );
5642
5375
  }
5643
5376
  }
5644
5377
 
@@ -6159,7 +5892,7 @@ export namespace dataform_v1beta1 {
6159
5892
  */
6160
5893
  pageSize?: number;
6161
5894
  /**
6162
- * 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.
5895
+ * Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the page token.
6163
5896
  */
6164
5897
  pageToken?: string;
6165
5898
  /**
@@ -6178,7 +5911,7 @@ export namespace dataform_v1beta1 {
6178
5911
  */
6179
5912
  pageSize?: number;
6180
5913
  /**
6181
- * 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.
5914
+ * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that provided the page token.
6182
5915
  */
6183
5916
  pageToken?: string;
6184
5917
  }
@@ -6204,7 +5937,7 @@ export namespace dataform_v1beta1 {
6204
5937
  commit(
6205
5938
  params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit,
6206
5939
  options?: MethodOptions
6207
- ): GaxiosPromise<Schema$Empty>;
5940
+ ): GaxiosPromise<Schema$CommitWorkspaceChangesResponse>;
6208
5941
  commit(
6209
5942
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit,
6210
5943
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6212,28 +5945,35 @@ export namespace dataform_v1beta1 {
6212
5945
  ): void;
6213
5946
  commit(
6214
5947
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit,
6215
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
6216
- callback: BodyResponseCallback<Schema$Empty>
5948
+ options:
5949
+ | MethodOptions
5950
+ | BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>,
5951
+ callback: BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>
6217
5952
  ): void;
6218
5953
  commit(
6219
5954
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Commit,
6220
- callback: BodyResponseCallback<Schema$Empty>
5955
+ callback: BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>
5956
+ ): void;
5957
+ commit(
5958
+ callback: BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>
6221
5959
  ): void;
6222
- commit(callback: BodyResponseCallback<Schema$Empty>): void;
6223
5960
  commit(
6224
5961
  paramsOrCallback?:
6225
5962
  | Params$Resource$Projects$Locations$Repositories$Workspaces$Commit
6226
- | BodyResponseCallback<Schema$Empty>
5963
+ | BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>
6227
5964
  | BodyResponseCallback<Readable>,
6228
5965
  optionsOrCallback?:
6229
5966
  | MethodOptions
6230
5967
  | StreamMethodOptions
6231
- | BodyResponseCallback<Schema$Empty>
5968
+ | BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>
6232
5969
  | BodyResponseCallback<Readable>,
6233
5970
  callback?:
6234
- | BodyResponseCallback<Schema$Empty>
5971
+ | BodyResponseCallback<Schema$CommitWorkspaceChangesResponse>
6235
5972
  | BodyResponseCallback<Readable>
6236
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
5973
+ ):
5974
+ | void
5975
+ | GaxiosPromise<Schema$CommitWorkspaceChangesResponse>
5976
+ | GaxiosPromise<Readable> {
6237
5977
  let params = (paramsOrCallback ||
6238
5978
  {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Commit;
6239
5979
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6269,12 +6009,14 @@ export namespace dataform_v1beta1 {
6269
6009
  context: this.context,
6270
6010
  };
6271
6011
  if (callback) {
6272
- createAPIRequest<Schema$Empty>(
6012
+ createAPIRequest<Schema$CommitWorkspaceChangesResponse>(
6273
6013
  parameters,
6274
6014
  callback as BodyResponseCallback<unknown>
6275
6015
  );
6276
6016
  } else {
6277
- return createAPIRequest<Schema$Empty>(parameters);
6017
+ return createAPIRequest<Schema$CommitWorkspaceChangesResponse>(
6018
+ parameters
6019
+ );
6278
6020
  }
6279
6021
  }
6280
6022
 
@@ -7404,7 +7146,7 @@ export namespace dataform_v1beta1 {
7404
7146
  pull(
7405
7147
  params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull,
7406
7148
  options?: MethodOptions
7407
- ): GaxiosPromise<Schema$Empty>;
7149
+ ): GaxiosPromise<Schema$PullGitCommitsResponse>;
7408
7150
  pull(
7409
7151
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull,
7410
7152
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7412,28 +7154,33 @@ export namespace dataform_v1beta1 {
7412
7154
  ): void;
7413
7155
  pull(
7414
7156
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull,
7415
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
7416
- callback: BodyResponseCallback<Schema$Empty>
7157
+ options:
7158
+ | MethodOptions
7159
+ | BodyResponseCallback<Schema$PullGitCommitsResponse>,
7160
+ callback: BodyResponseCallback<Schema$PullGitCommitsResponse>
7417
7161
  ): void;
7418
7162
  pull(
7419
7163
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Pull,
7420
- callback: BodyResponseCallback<Schema$Empty>
7164
+ callback: BodyResponseCallback<Schema$PullGitCommitsResponse>
7421
7165
  ): void;
7422
- pull(callback: BodyResponseCallback<Schema$Empty>): void;
7166
+ pull(callback: BodyResponseCallback<Schema$PullGitCommitsResponse>): void;
7423
7167
  pull(
7424
7168
  paramsOrCallback?:
7425
7169
  | Params$Resource$Projects$Locations$Repositories$Workspaces$Pull
7426
- | BodyResponseCallback<Schema$Empty>
7170
+ | BodyResponseCallback<Schema$PullGitCommitsResponse>
7427
7171
  | BodyResponseCallback<Readable>,
7428
7172
  optionsOrCallback?:
7429
7173
  | MethodOptions
7430
7174
  | StreamMethodOptions
7431
- | BodyResponseCallback<Schema$Empty>
7175
+ | BodyResponseCallback<Schema$PullGitCommitsResponse>
7432
7176
  | BodyResponseCallback<Readable>,
7433
7177
  callback?:
7434
- | BodyResponseCallback<Schema$Empty>
7178
+ | BodyResponseCallback<Schema$PullGitCommitsResponse>
7435
7179
  | BodyResponseCallback<Readable>
7436
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7180
+ ):
7181
+ | void
7182
+ | GaxiosPromise<Schema$PullGitCommitsResponse>
7183
+ | GaxiosPromise<Readable> {
7437
7184
  let params = (paramsOrCallback ||
7438
7185
  {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Pull;
7439
7186
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7469,12 +7216,12 @@ export namespace dataform_v1beta1 {
7469
7216
  context: this.context,
7470
7217
  };
7471
7218
  if (callback) {
7472
- createAPIRequest<Schema$Empty>(
7219
+ createAPIRequest<Schema$PullGitCommitsResponse>(
7473
7220
  parameters,
7474
7221
  callback as BodyResponseCallback<unknown>
7475
7222
  );
7476
7223
  } else {
7477
- return createAPIRequest<Schema$Empty>(parameters);
7224
+ return createAPIRequest<Schema$PullGitCommitsResponse>(parameters);
7478
7225
  }
7479
7226
  }
7480
7227
 
@@ -7493,7 +7240,7 @@ export namespace dataform_v1beta1 {
7493
7240
  push(
7494
7241
  params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Push,
7495
7242
  options?: MethodOptions
7496
- ): GaxiosPromise<Schema$Empty>;
7243
+ ): GaxiosPromise<Schema$PushGitCommitsResponse>;
7497
7244
  push(
7498
7245
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Push,
7499
7246
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7501,28 +7248,33 @@ export namespace dataform_v1beta1 {
7501
7248
  ): void;
7502
7249
  push(
7503
7250
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Push,
7504
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
7505
- callback: BodyResponseCallback<Schema$Empty>
7251
+ options:
7252
+ | MethodOptions
7253
+ | BodyResponseCallback<Schema$PushGitCommitsResponse>,
7254
+ callback: BodyResponseCallback<Schema$PushGitCommitsResponse>
7506
7255
  ): void;
7507
7256
  push(
7508
7257
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Push,
7509
- callback: BodyResponseCallback<Schema$Empty>
7258
+ callback: BodyResponseCallback<Schema$PushGitCommitsResponse>
7510
7259
  ): void;
7511
- push(callback: BodyResponseCallback<Schema$Empty>): void;
7260
+ push(callback: BodyResponseCallback<Schema$PushGitCommitsResponse>): void;
7512
7261
  push(
7513
7262
  paramsOrCallback?:
7514
7263
  | Params$Resource$Projects$Locations$Repositories$Workspaces$Push
7515
- | BodyResponseCallback<Schema$Empty>
7264
+ | BodyResponseCallback<Schema$PushGitCommitsResponse>
7516
7265
  | BodyResponseCallback<Readable>,
7517
7266
  optionsOrCallback?:
7518
7267
  | MethodOptions
7519
7268
  | StreamMethodOptions
7520
- | BodyResponseCallback<Schema$Empty>
7269
+ | BodyResponseCallback<Schema$PushGitCommitsResponse>
7521
7270
  | BodyResponseCallback<Readable>,
7522
7271
  callback?:
7523
- | BodyResponseCallback<Schema$Empty>
7272
+ | BodyResponseCallback<Schema$PushGitCommitsResponse>
7524
7273
  | BodyResponseCallback<Readable>
7525
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7274
+ ):
7275
+ | void
7276
+ | GaxiosPromise<Schema$PushGitCommitsResponse>
7277
+ | GaxiosPromise<Readable> {
7526
7278
  let params = (paramsOrCallback ||
7527
7279
  {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Push;
7528
7280
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7558,12 +7310,12 @@ export namespace dataform_v1beta1 {
7558
7310
  context: this.context,
7559
7311
  };
7560
7312
  if (callback) {
7561
- createAPIRequest<Schema$Empty>(
7313
+ createAPIRequest<Schema$PushGitCommitsResponse>(
7562
7314
  parameters,
7563
7315
  callback as BodyResponseCallback<unknown>
7564
7316
  );
7565
7317
  } else {
7566
- return createAPIRequest<Schema$Empty>(parameters);
7318
+ return createAPIRequest<Schema$PushGitCommitsResponse>(parameters);
7567
7319
  }
7568
7320
  }
7569
7321
 
@@ -7768,7 +7520,7 @@ export namespace dataform_v1beta1 {
7768
7520
  removeDirectory(
7769
7521
  params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory,
7770
7522
  options?: MethodOptions
7771
- ): GaxiosPromise<Schema$Empty>;
7523
+ ): GaxiosPromise<Schema$RemoveDirectoryResponse>;
7772
7524
  removeDirectory(
7773
7525
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory,
7774
7526
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7776,28 +7528,35 @@ export namespace dataform_v1beta1 {
7776
7528
  ): void;
7777
7529
  removeDirectory(
7778
7530
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory,
7779
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
7780
- callback: BodyResponseCallback<Schema$Empty>
7531
+ options:
7532
+ | MethodOptions
7533
+ | BodyResponseCallback<Schema$RemoveDirectoryResponse>,
7534
+ callback: BodyResponseCallback<Schema$RemoveDirectoryResponse>
7781
7535
  ): void;
7782
7536
  removeDirectory(
7783
7537
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory,
7784
- callback: BodyResponseCallback<Schema$Empty>
7538
+ callback: BodyResponseCallback<Schema$RemoveDirectoryResponse>
7539
+ ): void;
7540
+ removeDirectory(
7541
+ callback: BodyResponseCallback<Schema$RemoveDirectoryResponse>
7785
7542
  ): void;
7786
- removeDirectory(callback: BodyResponseCallback<Schema$Empty>): void;
7787
7543
  removeDirectory(
7788
7544
  paramsOrCallback?:
7789
7545
  | Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory
7790
- | BodyResponseCallback<Schema$Empty>
7546
+ | BodyResponseCallback<Schema$RemoveDirectoryResponse>
7791
7547
  | BodyResponseCallback<Readable>,
7792
7548
  optionsOrCallback?:
7793
7549
  | MethodOptions
7794
7550
  | StreamMethodOptions
7795
- | BodyResponseCallback<Schema$Empty>
7551
+ | BodyResponseCallback<Schema$RemoveDirectoryResponse>
7796
7552
  | BodyResponseCallback<Readable>,
7797
7553
  callback?:
7798
- | BodyResponseCallback<Schema$Empty>
7554
+ | BodyResponseCallback<Schema$RemoveDirectoryResponse>
7799
7555
  | BodyResponseCallback<Readable>
7800
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7556
+ ):
7557
+ | void
7558
+ | GaxiosPromise<Schema$RemoveDirectoryResponse>
7559
+ | GaxiosPromise<Readable> {
7801
7560
  let params = (paramsOrCallback ||
7802
7561
  {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Removedirectory;
7803
7562
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7833,12 +7592,12 @@ export namespace dataform_v1beta1 {
7833
7592
  context: this.context,
7834
7593
  };
7835
7594
  if (callback) {
7836
- createAPIRequest<Schema$Empty>(
7595
+ createAPIRequest<Schema$RemoveDirectoryResponse>(
7837
7596
  parameters,
7838
7597
  callback as BodyResponseCallback<unknown>
7839
7598
  );
7840
7599
  } else {
7841
- return createAPIRequest<Schema$Empty>(parameters);
7600
+ return createAPIRequest<Schema$RemoveDirectoryResponse>(parameters);
7842
7601
  }
7843
7602
  }
7844
7603
 
@@ -7857,7 +7616,7 @@ export namespace dataform_v1beta1 {
7857
7616
  removeFile(
7858
7617
  params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile,
7859
7618
  options?: MethodOptions
7860
- ): GaxiosPromise<Schema$Empty>;
7619
+ ): GaxiosPromise<Schema$RemoveFileResponse>;
7861
7620
  removeFile(
7862
7621
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile,
7863
7622
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7865,28 +7624,31 @@ export namespace dataform_v1beta1 {
7865
7624
  ): void;
7866
7625
  removeFile(
7867
7626
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile,
7868
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
7869
- callback: BodyResponseCallback<Schema$Empty>
7627
+ options: MethodOptions | BodyResponseCallback<Schema$RemoveFileResponse>,
7628
+ callback: BodyResponseCallback<Schema$RemoveFileResponse>
7870
7629
  ): void;
7871
7630
  removeFile(
7872
7631
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile,
7873
- callback: BodyResponseCallback<Schema$Empty>
7632
+ callback: BodyResponseCallback<Schema$RemoveFileResponse>
7874
7633
  ): void;
7875
- removeFile(callback: BodyResponseCallback<Schema$Empty>): void;
7634
+ removeFile(callback: BodyResponseCallback<Schema$RemoveFileResponse>): void;
7876
7635
  removeFile(
7877
7636
  paramsOrCallback?:
7878
7637
  | Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile
7879
- | BodyResponseCallback<Schema$Empty>
7638
+ | BodyResponseCallback<Schema$RemoveFileResponse>
7880
7639
  | BodyResponseCallback<Readable>,
7881
7640
  optionsOrCallback?:
7882
7641
  | MethodOptions
7883
7642
  | StreamMethodOptions
7884
- | BodyResponseCallback<Schema$Empty>
7643
+ | BodyResponseCallback<Schema$RemoveFileResponse>
7885
7644
  | BodyResponseCallback<Readable>,
7886
7645
  callback?:
7887
- | BodyResponseCallback<Schema$Empty>
7646
+ | BodyResponseCallback<Schema$RemoveFileResponse>
7888
7647
  | BodyResponseCallback<Readable>
7889
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7648
+ ):
7649
+ | void
7650
+ | GaxiosPromise<Schema$RemoveFileResponse>
7651
+ | GaxiosPromise<Readable> {
7890
7652
  let params = (paramsOrCallback ||
7891
7653
  {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Removefile;
7892
7654
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7922,12 +7684,12 @@ export namespace dataform_v1beta1 {
7922
7684
  context: this.context,
7923
7685
  };
7924
7686
  if (callback) {
7925
- createAPIRequest<Schema$Empty>(
7687
+ createAPIRequest<Schema$RemoveFileResponse>(
7926
7688
  parameters,
7927
7689
  callback as BodyResponseCallback<unknown>
7928
7690
  );
7929
7691
  } else {
7930
- return createAPIRequest<Schema$Empty>(parameters);
7692
+ return createAPIRequest<Schema$RemoveFileResponse>(parameters);
7931
7693
  }
7932
7694
  }
7933
7695
 
@@ -7946,7 +7708,7 @@ export namespace dataform_v1beta1 {
7946
7708
  reset(
7947
7709
  params?: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset,
7948
7710
  options?: MethodOptions
7949
- ): GaxiosPromise<Schema$Empty>;
7711
+ ): GaxiosPromise<Schema$ResetWorkspaceChangesResponse>;
7950
7712
  reset(
7951
7713
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset,
7952
7714
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7954,28 +7716,35 @@ export namespace dataform_v1beta1 {
7954
7716
  ): void;
7955
7717
  reset(
7956
7718
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset,
7957
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
7958
- callback: BodyResponseCallback<Schema$Empty>
7719
+ options:
7720
+ | MethodOptions
7721
+ | BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>,
7722
+ callback: BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>
7959
7723
  ): void;
7960
7724
  reset(
7961
7725
  params: Params$Resource$Projects$Locations$Repositories$Workspaces$Reset,
7962
- callback: BodyResponseCallback<Schema$Empty>
7726
+ callback: BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>
7727
+ ): void;
7728
+ reset(
7729
+ callback: BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>
7963
7730
  ): void;
7964
- reset(callback: BodyResponseCallback<Schema$Empty>): void;
7965
7731
  reset(
7966
7732
  paramsOrCallback?:
7967
7733
  | Params$Resource$Projects$Locations$Repositories$Workspaces$Reset
7968
- | BodyResponseCallback<Schema$Empty>
7734
+ | BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>
7969
7735
  | BodyResponseCallback<Readable>,
7970
7736
  optionsOrCallback?:
7971
7737
  | MethodOptions
7972
7738
  | StreamMethodOptions
7973
- | BodyResponseCallback<Schema$Empty>
7739
+ | BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>
7974
7740
  | BodyResponseCallback<Readable>,
7975
7741
  callback?:
7976
- | BodyResponseCallback<Schema$Empty>
7742
+ | BodyResponseCallback<Schema$ResetWorkspaceChangesResponse>
7977
7743
  | BodyResponseCallback<Readable>
7978
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7744
+ ):
7745
+ | void
7746
+ | GaxiosPromise<Schema$ResetWorkspaceChangesResponse>
7747
+ | GaxiosPromise<Readable> {
7979
7748
  let params = (paramsOrCallback ||
7980
7749
  {}) as Params$Resource$Projects$Locations$Repositories$Workspaces$Reset;
7981
7750
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8011,12 +7780,14 @@ export namespace dataform_v1beta1 {
8011
7780
  context: this.context,
8012
7781
  };
8013
7782
  if (callback) {
8014
- createAPIRequest<Schema$Empty>(
7783
+ createAPIRequest<Schema$ResetWorkspaceChangesResponse>(
8015
7784
  parameters,
8016
7785
  callback as BodyResponseCallback<unknown>
8017
7786
  );
8018
7787
  } else {
8019
- return createAPIRequest<Schema$Empty>(parameters);
7788
+ return createAPIRequest<Schema$ResetWorkspaceChangesResponse>(
7789
+ parameters
7790
+ );
8020
7791
  }
8021
7792
  }
8022
7793
 
@@ -8501,7 +8272,7 @@ export namespace dataform_v1beta1 {
8501
8272
  */
8502
8273
  pageSize?: number;
8503
8274
  /**
8504
- * 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.
8275
+ * Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the page token.
8505
8276
  */
8506
8277
  pageToken?: string;
8507
8278
  /**
@@ -8576,7 +8347,7 @@ export namespace dataform_v1beta1 {
8576
8347
  */
8577
8348
  pageSize?: number;
8578
8349
  /**
8579
- * 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.
8350
+ * Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.
8580
8351
  */
8581
8352
  pageToken?: string;
8582
8353
  /**
@@ -8650,7 +8421,7 @@ export namespace dataform_v1beta1 {
8650
8421
  */
8651
8422
  pageSize?: number;
8652
8423
  /**
8653
- * 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.
8424
+ * Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided the page token.
8654
8425
  */
8655
8426
  pageToken?: string;
8656
8427
  /**