@googleapis/dataform 14.1.0 → 15.0.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/build/v1.d.ts CHANGED
@@ -375,7 +375,7 @@ export declare namespace dataform_v1 {
375
375
  */
376
376
  export interface Schema$CompilationError {
377
377
  /**
378
- * Output only. The identifier of the action where this error occurred, if available.
378
+ * Output only. The identifier of the action where this error occurred, if available. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CompilationError)
379
379
  */
380
380
  actionTarget?: Schema$Target;
381
381
  /**
@@ -584,6 +584,24 @@ export declare namespace dataform_v1 {
584
584
  */
585
585
  export interface Schema$DeleteFile {
586
586
  }
587
+ /**
588
+ * `DeleteFolderTree` request message.
589
+ */
590
+ export interface Schema$DeleteFolderTreeRequest {
591
+ /**
592
+ * Optional. If `false` (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs. If `true`: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources.
593
+ */
594
+ force?: boolean | null;
595
+ }
596
+ /**
597
+ * `DeleteTeamFolderTree` request message.
598
+ */
599
+ export interface Schema$DeleteTeamFolderTreeRequest {
600
+ /**
601
+ * Optional. If `false` (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs. If `true`: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources.
602
+ */
603
+ force?: boolean | null;
604
+ }
587
605
  /**
588
606
  * Represents a single entry in a directory.
589
607
  */
@@ -596,6 +614,10 @@ export declare namespace dataform_v1 {
596
614
  * A file in the directory.
597
615
  */
598
616
  file?: string | null;
617
+ /**
618
+ * Entry with metadata.
619
+ */
620
+ metadata?: Schema$FilesystemEntryMetadata;
599
621
  }
600
622
  /**
601
623
  * Client-facing representation of a directory entry in search results.
@@ -720,6 +742,69 @@ export declare namespace dataform_v1 {
720
742
  */
721
743
  path?: string | null;
722
744
  }
745
+ /**
746
+ * Represents metadata for a single entry in a filesystem.
747
+ */
748
+ export interface Schema$FilesystemEntryMetadata {
749
+ /**
750
+ * Output only. Provides the size of the entry in bytes. For directories, this will be 0.
751
+ */
752
+ sizeBytes?: string | null;
753
+ /**
754
+ * Output only. Represents the time of the last modification of the entry.
755
+ */
756
+ updateTime?: string | null;
757
+ }
758
+ /**
759
+ * Represents a Dataform Folder. This is a resource that is used to organize Files and other Folders and provide hierarchical access controls.
760
+ */
761
+ export interface Schema$Folder {
762
+ /**
763
+ * Optional. The containing Folder resource name. This should take the format: projects/{project\}/locations/{location\}/folders/{folder\}, projects/{project\}/locations/{location\}/teamFolders/{teamFolder\}, or just "" if this is a root Folder. This field can only be updated through MoveFolder.
764
+ */
765
+ containingFolder?: string | null;
766
+ /**
767
+ * Output only. The timestamp of when the Folder was created.
768
+ */
769
+ createTime?: string | null;
770
+ /**
771
+ * Output only. The IAM principal identifier of the creator of the Folder.
772
+ */
773
+ creatorIamPrincipal?: string | null;
774
+ /**
775
+ * Required. The Folder's user-friendly name.
776
+ */
777
+ displayName?: string | null;
778
+ /**
779
+ * 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.
780
+ */
781
+ internalMetadata?: string | null;
782
+ /**
783
+ * Identifier. The Folder's name.
784
+ */
785
+ name?: string | null;
786
+ /**
787
+ * Output only. The resource name of the TeamFolder that this Folder is associated with. This should take the format: projects/{project\}/locations/{location\}/teamFolders/{teamFolder\}. If this is not set, the Folder is not associated with a TeamFolder and is a UserFolder.
788
+ */
789
+ teamFolderName?: string | null;
790
+ /**
791
+ * Output only. The timestamp of when the Folder was last updated.
792
+ */
793
+ updateTime?: string | null;
794
+ }
795
+ /**
796
+ * Represents a single content entry.
797
+ */
798
+ export interface Schema$FolderContentsEntry {
799
+ /**
800
+ * A subfolder.
801
+ */
802
+ folder?: Schema$Folder;
803
+ /**
804
+ * A repository.
805
+ */
806
+ repository?: Schema$Repository;
807
+ }
723
808
  /**
724
809
  * Controls Git remote configuration for a repository.
725
810
  */
@@ -729,7 +814,7 @@ export declare namespace dataform_v1 {
729
814
  */
730
815
  authenticationTokenSecretVersion?: string | null;
731
816
  /**
732
- * Required. The Git remote's default branch name.
817
+ * Required. The Git remote's default branch name. If not set, `main` will be used and stored for the repository.
733
818
  */
734
819
  defaultBranch?: string | null;
735
820
  /**
@@ -865,7 +950,7 @@ export declare namespace dataform_v1 {
865
950
  */
866
951
  nextPageToken?: string | null;
867
952
  /**
868
- * Locations which could not be reached.
953
+ * Locations which could not be reached. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsResponse)
869
954
  */
870
955
  unreachable?: string[] | null;
871
956
  }
@@ -912,7 +997,7 @@ export declare namespace dataform_v1 {
912
997
  */
913
998
  releaseConfigs?: Schema$ReleaseConfig[];
914
999
  /**
915
- * Locations which could not be reached.
1000
+ * Locations which could not be reached. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListReleaseConfigsResponse)
916
1001
  */
917
1002
  unreachable?: string[] | null;
918
1003
  }
@@ -1084,6 +1169,24 @@ export declare namespace dataform_v1 {
1084
1169
  */
1085
1170
  export interface Schema$MoveFileResponse {
1086
1171
  }
1172
+ /**
1173
+ * `MoveFolder` request message.
1174
+ */
1175
+ export interface Schema$MoveFolderRequest {
1176
+ /**
1177
+ * Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, `projects/x/locations/x/folders/x`, `projects/x/locations/x/teamFolders/x`
1178
+ */
1179
+ destinationContainingFolder?: string | null;
1180
+ }
1181
+ /**
1182
+ * `MoveRepository` request message.
1183
+ */
1184
+ export interface Schema$MoveRepositoryRequest {
1185
+ /**
1186
+ * Optional. The name of the Folder, TeamFolder, or root location to move the repository to. Can be in the format of: "" to move into the root User folder, `projects/x/locations/x/folders/x`, `projects/x/locations/x/teamFolders/x`
1187
+ */
1188
+ destinationContainingFolder?: string | null;
1189
+ }
1087
1190
  /**
1088
1191
  * Represents a notebook.
1089
1192
  */
@@ -1114,7 +1217,7 @@ export declare namespace dataform_v1 {
1114
1217
  */
1115
1218
  contents?: string | null;
1116
1219
  /**
1117
- * 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.
1220
+ * Output only. The ID of the Gemini Enterprise Agent Platform 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.
1118
1221
  */
1119
1222
  jobId?: string | null;
1120
1223
  }
@@ -1323,6 +1426,19 @@ export declare namespace dataform_v1 {
1323
1426
  */
1324
1427
  nextPageToken?: string | null;
1325
1428
  }
1429
+ /**
1430
+ * `QueryFolderContents` response message.
1431
+ */
1432
+ export interface Schema$QueryFolderContentsResponse {
1433
+ /**
1434
+ * List of entries in the folder.
1435
+ */
1436
+ entries?: Schema$FolderContentsEntry[];
1437
+ /**
1438
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1439
+ */
1440
+ nextPageToken?: string | null;
1441
+ }
1326
1442
  /**
1327
1443
  * `QueryRepositoryDirectoryContents` response message.
1328
1444
  */
@@ -1336,6 +1452,32 @@ export declare namespace dataform_v1 {
1336
1452
  */
1337
1453
  nextPageToken?: string | null;
1338
1454
  }
1455
+ /**
1456
+ * `QueryTeamFolderContents` response message.
1457
+ */
1458
+ export interface Schema$QueryTeamFolderContentsResponse {
1459
+ /**
1460
+ * List of entries in the TeamFolder.
1461
+ */
1462
+ entries?: Schema$TeamFolderContentsEntry[];
1463
+ /**
1464
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1465
+ */
1466
+ nextPageToken?: string | null;
1467
+ }
1468
+ /**
1469
+ * `QueryUserRootContents` response message.
1470
+ */
1471
+ export interface Schema$QueryUserRootContentsResponse {
1472
+ /**
1473
+ * List of entries in the folder.
1474
+ */
1475
+ entries?: Schema$RootContentsEntry[];
1476
+ /**
1477
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1478
+ */
1479
+ nextPageToken?: string | null;
1480
+ }
1339
1481
  /**
1340
1482
  * `QueryWorkflowInvocationActions` response message.
1341
1483
  */
@@ -1382,7 +1524,7 @@ export declare namespace dataform_v1 {
1382
1524
  */
1383
1525
  clusterExpressions?: string[] | null;
1384
1526
  /**
1385
- * Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection can have the form `{project\}.{location\}.{connection_id\}` or `projects/{project\}/locations/{location\}/connections/{connection_id\}", or be set to DEFAULT.
1527
+ * Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection can have the form `{project\}.{location\}.{connection_id\}` or `projects/{project\}/locations/{location\}/connections/{connection_id\}`, or be set to DEFAULT.
1386
1528
  */
1387
1529
  connection?: string | null;
1388
1530
  /**
@@ -1486,7 +1628,7 @@ export declare namespace dataform_v1 {
1486
1628
  */
1487
1629
  gitCommitish?: string | null;
1488
1630
  /**
1489
- * 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.
1631
+ * 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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ReleaseConfig)
1490
1632
  */
1491
1633
  internalMetadata?: string | null;
1492
1634
  /**
@@ -1538,6 +1680,10 @@ export declare namespace dataform_v1 {
1538
1680
  * Represents a Dataform Git repository.
1539
1681
  */
1540
1682
  export interface Schema$Repository {
1683
+ /**
1684
+ * Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/x/locations/x/folders/x`. or `projects/x/locations/x/teamFolders/x`.
1685
+ */
1686
+ containingFolder?: string | null;
1541
1687
  /**
1542
1688
  * Output only. The timestamp of when the repository was created.
1543
1689
  */
@@ -1584,6 +1730,10 @@ export declare namespace dataform_v1 {
1584
1730
  * Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository.
1585
1731
  */
1586
1732
  setAuthenticatedUserAdmin?: boolean | null;
1733
+ /**
1734
+ * Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project\}/locations/{location\}/teamFolders/{teamFolder\}. If this is not set, the Repository is not associated with a TeamFolder.
1735
+ */
1736
+ teamFolderName?: string | null;
1587
1737
  /**
1588
1738
  * Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
1589
1739
  */
@@ -1607,6 +1757,19 @@ export declare namespace dataform_v1 {
1607
1757
  */
1608
1758
  export interface Schema$ResetWorkspaceChangesResponse {
1609
1759
  }
1760
+ /**
1761
+ * Represents a single content entry.
1762
+ */
1763
+ export interface Schema$RootContentsEntry {
1764
+ /**
1765
+ * A subfolder.
1766
+ */
1767
+ folder?: Schema$Folder;
1768
+ /**
1769
+ * A repository.
1770
+ */
1771
+ repository?: Schema$Repository;
1772
+ }
1610
1773
  /**
1611
1774
  * A record of an attempt to create a workflow invocation for this workflow config.
1612
1775
  */
@@ -1667,6 +1830,19 @@ export declare namespace dataform_v1 {
1667
1830
  */
1668
1831
  file?: Schema$FileSearchResult;
1669
1832
  }
1833
+ /**
1834
+ * `SearchTeamFolders` response message.
1835
+ */
1836
+ export interface Schema$SearchTeamFoldersResponse {
1837
+ /**
1838
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1839
+ */
1840
+ nextPageToken?: string | null;
1841
+ /**
1842
+ * List of TeamFolders that match the search query.
1843
+ */
1844
+ results?: Schema$TeamFolderSearchResult[];
1845
+ }
1670
1846
  /**
1671
1847
  * Request message for `SetIamPolicy` method.
1672
1848
  */
@@ -1747,6 +1923,57 @@ export declare namespace dataform_v1 {
1747
1923
  */
1748
1924
  schema?: string | null;
1749
1925
  }
1926
+ /**
1927
+ * Represents a Dataform TeamFolder. This is a resource that sits at the project level and is used to organize Repositories and Folders with hierarchical access controls. They provide a team context and stricter access controls.
1928
+ */
1929
+ export interface Schema$TeamFolder {
1930
+ /**
1931
+ * Output only. The timestamp of when the TeamFolder was created.
1932
+ */
1933
+ createTime?: string | null;
1934
+ /**
1935
+ * Output only. The IAM principal identifier of the creator of the TeamFolder.
1936
+ */
1937
+ creatorIamPrincipal?: string | null;
1938
+ /**
1939
+ * Required. The TeamFolder's user-friendly name.
1940
+ */
1941
+ displayName?: string | null;
1942
+ /**
1943
+ * 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.
1944
+ */
1945
+ internalMetadata?: string | null;
1946
+ /**
1947
+ * Identifier. The TeamFolder's name.
1948
+ */
1949
+ name?: string | null;
1950
+ /**
1951
+ * Output only. The timestamp of when the TeamFolder was last updated.
1952
+ */
1953
+ updateTime?: string | null;
1954
+ }
1955
+ /**
1956
+ * Represents a single content entry.
1957
+ */
1958
+ export interface Schema$TeamFolderContentsEntry {
1959
+ /**
1960
+ * A subfolder.
1961
+ */
1962
+ folder?: Schema$Folder;
1963
+ /**
1964
+ * A repository.
1965
+ */
1966
+ repository?: Schema$Repository;
1967
+ }
1968
+ /**
1969
+ * Represents a single content entry.
1970
+ */
1971
+ export interface Schema$TeamFolderSearchResult {
1972
+ /**
1973
+ * A TeamFolder resource that is in the project / location.
1974
+ */
1975
+ teamFolder?: Schema$TeamFolder;
1976
+ }
1750
1977
  /**
1751
1978
  * Request message for `TestIamPermissions` method.
1752
1979
  */
@@ -1921,6 +2148,10 @@ export declare namespace dataform_v1 {
1921
2148
  * Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
1922
2149
  */
1923
2150
  dataEncryptionState?: Schema$DataEncryptionState;
2151
+ /**
2152
+ * Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
2153
+ */
2154
+ disableMoves?: boolean | null;
1924
2155
  /**
1925
2156
  * 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.
1926
2157
  */
@@ -2123,7 +2354,7 @@ export declare namespace dataform_v1 {
2123
2354
  getConfig(params: Params$Resource$Projects$Locations$Getconfig, callback: BodyResponseCallback<Schema$Config>): void;
2124
2355
  getConfig(callback: BodyResponseCallback<Schema$Config>): void;
2125
2356
  /**
2126
- * Lists information about the supported locations for this service.
2357
+ * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
2127
2358
  * @example
2128
2359
  * ```js
2129
2360
  * // Before running the sample:
@@ -2156,7 +2387,7 @@ export declare namespace dataform_v1 {
2156
2387
  *
2157
2388
  * // Do the magic
2158
2389
  * const res = await dataform.projects.locations.list({
2159
- * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2390
+ * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
2160
2391
  * extraLocationTypes: 'placeholder-value',
2161
2392
  * // 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).
2162
2393
  * filter: 'placeholder-value',
@@ -2194,6 +2425,78 @@ export declare namespace dataform_v1 {
2194
2425
  list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2195
2426
  list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2196
2427
  list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2428
+ /**
2429
+ * Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
2430
+ * @example
2431
+ * ```js
2432
+ * // Before running the sample:
2433
+ * // - Enable the API at:
2434
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
2435
+ * // - Login into gcloud by running:
2436
+ * // ```sh
2437
+ * // $ gcloud auth application-default login
2438
+ * // ```
2439
+ * // - Install the npm module by running:
2440
+ * // ```sh
2441
+ * // $ npm install googleapis
2442
+ * // ```
2443
+ *
2444
+ * const {google} = require('googleapis');
2445
+ * const dataform = google.dataform('v1');
2446
+ *
2447
+ * async function main() {
2448
+ * const auth = new google.auth.GoogleAuth({
2449
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2450
+ * scopes: [
2451
+ * 'https://www.googleapis.com/auth/bigquery',
2452
+ * 'https://www.googleapis.com/auth/cloud-platform',
2453
+ * ],
2454
+ * });
2455
+ *
2456
+ * // Acquire an auth client, and bind it to all future calls
2457
+ * const authClient = await auth.getClient();
2458
+ * google.options({auth: authClient});
2459
+ *
2460
+ * // Do the magic
2461
+ * const res = await dataform.projects.locations.queryUserRootContents({
2462
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
2463
+ * filter: 'placeholder-value',
2464
+ * // Required. Location of the user root folder to list contents for. Format: projects/x/locations/x
2465
+ * location: 'projects/my-project/locations/my-location',
2466
+ * // Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by `order_by` in ascending order. Supported keywords: display_name (default), created_at, last_modified_at. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
2467
+ * orderBy: 'placeholder-value',
2468
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
2469
+ * pageSize: 'placeholder-value',
2470
+ * // Optional. Page token received from a previous `QueryUserRootContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryUserRootFolderContents`, with the exception of `page_size`, must match the call that provided the page token.
2471
+ * pageToken: 'placeholder-value',
2472
+ * });
2473
+ * console.log(res.data);
2474
+ *
2475
+ * // Example response
2476
+ * // {
2477
+ * // "entries": [],
2478
+ * // "nextPageToken": "my_nextPageToken"
2479
+ * // }
2480
+ * }
2481
+ *
2482
+ * main().catch(e => {
2483
+ * console.error(e);
2484
+ * throw e;
2485
+ * });
2486
+ *
2487
+ * ```
2488
+ *
2489
+ * @param params - Parameters for request
2490
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2491
+ * @param callback - Optional callback that handles the response.
2492
+ * @returns A promise if used with async/await, or void if used with a callback.
2493
+ */
2494
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2495
+ queryUserRootContents(params?: Params$Resource$Projects$Locations$Queryuserrootcontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryUserRootContentsResponse>>;
2496
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2497
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, options: MethodOptions | BodyResponseCallback<Schema$QueryUserRootContentsResponse>, callback: BodyResponseCallback<Schema$QueryUserRootContentsResponse>): void;
2498
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, callback: BodyResponseCallback<Schema$QueryUserRootContentsResponse>): void;
2499
+ queryUserRootContents(callback: BodyResponseCallback<Schema$QueryUserRootContentsResponse>): void;
2197
2500
  /**
2198
2501
  * 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.*
2199
2502
  * @example
@@ -2286,7 +2589,7 @@ export declare namespace dataform_v1 {
2286
2589
  }
2287
2590
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2288
2591
  /**
2289
- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2592
+ * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
2290
2593
  */
2291
2594
  extraLocationTypes?: string[];
2292
2595
  /**
@@ -2306,6 +2609,28 @@ export declare namespace dataform_v1 {
2306
2609
  */
2307
2610
  pageToken?: string;
2308
2611
  }
2612
+ export interface Params$Resource$Projects$Locations$Queryuserrootcontents extends StandardParameters {
2613
+ /**
2614
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
2615
+ */
2616
+ filter?: string;
2617
+ /**
2618
+ * Required. Location of the user root folder to list contents for. Format: projects/x/locations/x
2619
+ */
2620
+ location?: string;
2621
+ /**
2622
+ * Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by `order_by` in ascending order. Supported keywords: display_name (default), created_at, last_modified_at. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
2623
+ */
2624
+ orderBy?: string;
2625
+ /**
2626
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
2627
+ */
2628
+ pageSize?: number;
2629
+ /**
2630
+ * Optional. Page token received from a previous `QueryUserRootContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryUserRootFolderContents`, with the exception of `page_size`, must match the call that provided the page token.
2631
+ */
2632
+ pageToken?: string;
2633
+ }
2309
2634
  export interface Params$Resource$Projects$Locations$Updateconfig extends StandardParameters {
2310
2635
  /**
2311
2636
  * Identifier. The config name.
@@ -2324,7 +2649,7 @@ export declare namespace dataform_v1 {
2324
2649
  context: APIRequestContext;
2325
2650
  constructor(context: APIRequestContext);
2326
2651
  /**
2327
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2652
+ * Creates a new Folder in a given project and location.
2328
2653
  * @example
2329
2654
  * ```js
2330
2655
  * // Before running the sample:
@@ -2356,19 +2681,37 @@ export declare namespace dataform_v1 {
2356
2681
  * google.options({auth: authClient});
2357
2682
  *
2358
2683
  * // Do the magic
2359
- * const res = await dataform.projects.locations.folders.getIamPolicy({
2360
- * // 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).
2361
- * 'options.requestedPolicyVersion': 'placeholder-value',
2362
- * // 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.
2363
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2684
+ * const res = await dataform.projects.locations.folders.create({
2685
+ * // Required. The location in which to create the Folder. Must be in the format `projects/x/locations/x`.
2686
+ * parent: 'projects/my-project/locations/my-location',
2687
+ *
2688
+ * // Request body metadata
2689
+ * requestBody: {
2690
+ * // request body parameters
2691
+ * // {
2692
+ * // "containingFolder": "my_containingFolder",
2693
+ * // "createTime": "my_createTime",
2694
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
2695
+ * // "displayName": "my_displayName",
2696
+ * // "internalMetadata": "my_internalMetadata",
2697
+ * // "name": "my_name",
2698
+ * // "teamFolderName": "my_teamFolderName",
2699
+ * // "updateTime": "my_updateTime"
2700
+ * // }
2701
+ * },
2364
2702
  * });
2365
2703
  * console.log(res.data);
2366
2704
  *
2367
2705
  * // Example response
2368
2706
  * // {
2369
- * // "bindings": [],
2370
- * // "etag": "my_etag",
2371
- * // "version": 0
2707
+ * // "containingFolder": "my_containingFolder",
2708
+ * // "createTime": "my_createTime",
2709
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
2710
+ * // "displayName": "my_displayName",
2711
+ * // "internalMetadata": "my_internalMetadata",
2712
+ * // "name": "my_name",
2713
+ * // "teamFolderName": "my_teamFolderName",
2714
+ * // "updateTime": "my_updateTime"
2372
2715
  * // }
2373
2716
  * }
2374
2717
  *
@@ -2384,14 +2727,14 @@ export declare namespace dataform_v1 {
2384
2727
  * @param callback - Optional callback that handles the response.
2385
2728
  * @returns A promise if used with async/await, or void if used with a callback.
2386
2729
  */
2387
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2388
- getIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2389
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2390
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2391
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2392
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2730
+ create(params: Params$Resource$Projects$Locations$Folders$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2731
+ create(params?: Params$Resource$Projects$Locations$Folders$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
2732
+ create(params: Params$Resource$Projects$Locations$Folders$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2733
+ create(params: Params$Resource$Projects$Locations$Folders$Create, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
2734
+ create(params: Params$Resource$Projects$Locations$Folders$Create, callback: BodyResponseCallback<Schema$Folder>): void;
2735
+ create(callback: BodyResponseCallback<Schema$Folder>): void;
2393
2736
  /**
2394
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
2737
+ * Deletes a single Folder.
2395
2738
  * @example
2396
2739
  * ```js
2397
2740
  * // Before running the sample:
@@ -2423,26 +2766,14 @@ export declare namespace dataform_v1 {
2423
2766
  * google.options({auth: authClient});
2424
2767
  *
2425
2768
  * // Do the magic
2426
- * const res = await dataform.projects.locations.folders.setIamPolicy({
2427
- * // 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.
2428
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2429
- *
2430
- * // Request body metadata
2431
- * requestBody: {
2432
- * // request body parameters
2433
- * // {
2434
- * // "policy": {}
2435
- * // }
2436
- * },
2769
+ * const res = await dataform.projects.locations.folders.delete({
2770
+ * // Required. The Folder's name.
2771
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
2437
2772
  * });
2438
2773
  * console.log(res.data);
2439
2774
  *
2440
2775
  * // Example response
2441
- * // {
2442
- * // "bindings": [],
2443
- * // "etag": "my_etag",
2444
- * // "version": 0
2445
- * // }
2776
+ * // {}
2446
2777
  * }
2447
2778
  *
2448
2779
  * main().catch(e => {
@@ -2457,14 +2788,14 @@ export declare namespace dataform_v1 {
2457
2788
  * @param callback - Optional callback that handles the response.
2458
2789
  * @returns A promise if used with async/await, or void if used with a callback.
2459
2790
  */
2460
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2461
- setIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2462
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2463
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2464
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2465
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2791
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2792
+ delete(params?: Params$Resource$Projects$Locations$Folders$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2793
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2794
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2795
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
2796
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
2466
2797
  /**
2467
- * 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.
2798
+ * Deletes a Folder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and WorkflowConfigs).
2468
2799
  * @example
2469
2800
  * ```js
2470
2801
  * // Before running the sample:
@@ -2496,15 +2827,15 @@ export declare namespace dataform_v1 {
2496
2827
  * google.options({auth: authClient});
2497
2828
  *
2498
2829
  * // Do the magic
2499
- * const res = await dataform.projects.locations.folders.testIamPermissions({
2500
- * // 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.
2501
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2830
+ * const res = await dataform.projects.locations.folders.deleteTree({
2831
+ * // Required. The Folder's name. Format: projects/{project\}/locations/{location\}/folders/{folder\}
2832
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
2502
2833
  *
2503
2834
  * // Request body metadata
2504
2835
  * requestBody: {
2505
2836
  * // request body parameters
2506
2837
  * // {
2507
- * // "permissions": []
2838
+ * // "force": false
2508
2839
  * // }
2509
2840
  * },
2510
2841
  * });
@@ -2512,7 +2843,11 @@ export declare namespace dataform_v1 {
2512
2843
  *
2513
2844
  * // Example response
2514
2845
  * // {
2515
- * // "permissions": []
2846
+ * // "done": false,
2847
+ * // "error": {},
2848
+ * // "metadata": {},
2849
+ * // "name": "my_name",
2850
+ * // "response": {}
2516
2851
  * // }
2517
2852
  * }
2518
2853
  *
@@ -2528,48 +2863,14 @@ export declare namespace dataform_v1 {
2528
2863
  * @param callback - Optional callback that handles the response.
2529
2864
  * @returns A promise if used with async/await, or void if used with a callback.
2530
2865
  */
2531
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2532
- testIamPermissions(params?: Params$Resource$Projects$Locations$Folders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
2533
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2534
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2535
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2536
- testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2537
- }
2538
- export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
2539
- /**
2540
- * 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).
2541
- */
2542
- 'options.requestedPolicyVersion'?: number;
2543
- /**
2544
- * 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.
2545
- */
2546
- resource?: string;
2547
- }
2548
- export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
2549
- /**
2550
- * 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.
2551
- */
2552
- resource?: string;
2553
- /**
2554
- * Request body metadata
2555
- */
2556
- requestBody?: Schema$SetIamPolicyRequest;
2557
- }
2558
- export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
2559
- /**
2560
- * 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.
2561
- */
2562
- resource?: string;
2563
- /**
2564
- * Request body metadata
2565
- */
2566
- requestBody?: Schema$TestIamPermissionsRequest;
2567
- }
2568
- export class Resource$Projects$Locations$Operations {
2569
- context: APIRequestContext;
2570
- constructor(context: APIRequestContext);
2866
+ deleteTree(params: Params$Resource$Projects$Locations$Folders$Deletetree, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2867
+ deleteTree(params?: Params$Resource$Projects$Locations$Folders$Deletetree, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2868
+ deleteTree(params: Params$Resource$Projects$Locations$Folders$Deletetree, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2869
+ deleteTree(params: Params$Resource$Projects$Locations$Folders$Deletetree, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2870
+ deleteTree(params: Params$Resource$Projects$Locations$Folders$Deletetree, callback: BodyResponseCallback<Schema$Operation>): void;
2871
+ deleteTree(callback: BodyResponseCallback<Schema$Operation>): void;
2571
2872
  /**
2572
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
2873
+ * Fetches a single Folder.
2573
2874
  * @example
2574
2875
  * ```js
2575
2876
  * // Before running the sample:
@@ -2601,20 +2902,23 @@ export declare namespace dataform_v1 {
2601
2902
  * google.options({auth: authClient});
2602
2903
  *
2603
2904
  * // Do the magic
2604
- * const res = await dataform.projects.locations.operations.cancel({
2605
- * // The name of the operation resource to be cancelled.
2606
- * name: 'projects/my-project/locations/my-location/operations/my-operation',
2607
- *
2608
- * // Request body metadata
2609
- * requestBody: {
2610
- * // request body parameters
2611
- * // {}
2612
- * },
2905
+ * const res = await dataform.projects.locations.folders.get({
2906
+ * // Required. The Folder's name.
2907
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
2613
2908
  * });
2614
2909
  * console.log(res.data);
2615
2910
  *
2616
2911
  * // Example response
2617
- * // {}
2912
+ * // {
2913
+ * // "containingFolder": "my_containingFolder",
2914
+ * // "createTime": "my_createTime",
2915
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
2916
+ * // "displayName": "my_displayName",
2917
+ * // "internalMetadata": "my_internalMetadata",
2918
+ * // "name": "my_name",
2919
+ * // "teamFolderName": "my_teamFolderName",
2920
+ * // "updateTime": "my_updateTime"
2921
+ * // }
2618
2922
  * }
2619
2923
  *
2620
2924
  * main().catch(e => {
@@ -2629,14 +2933,14 @@ export declare namespace dataform_v1 {
2629
2933
  * @param callback - Optional callback that handles the response.
2630
2934
  * @returns A promise if used with async/await, or void if used with a callback.
2631
2935
  */
2632
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2633
- cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2634
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2635
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2636
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
2637
- cancel(callback: BodyResponseCallback<Schema$Empty>): void;
2936
+ get(params: Params$Resource$Projects$Locations$Folders$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2937
+ get(params?: Params$Resource$Projects$Locations$Folders$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
2938
+ get(params: Params$Resource$Projects$Locations$Folders$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2939
+ get(params: Params$Resource$Projects$Locations$Folders$Get, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
2940
+ get(params: Params$Resource$Projects$Locations$Folders$Get, callback: BodyResponseCallback<Schema$Folder>): void;
2941
+ get(callback: BodyResponseCallback<Schema$Folder>): void;
2638
2942
  /**
2639
- * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2943
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2640
2944
  * @example
2641
2945
  * ```js
2642
2946
  * // Before running the sample:
@@ -2668,14 +2972,20 @@ export declare namespace dataform_v1 {
2668
2972
  * google.options({auth: authClient});
2669
2973
  *
2670
2974
  * // Do the magic
2671
- * const res = await dataform.projects.locations.operations.delete({
2672
- * // The name of the operation resource to be deleted.
2673
- * name: 'projects/my-project/locations/my-location/operations/my-operation',
2975
+ * const res = await dataform.projects.locations.folders.getIamPolicy({
2976
+ * // 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).
2977
+ * 'options.requestedPolicyVersion': 'placeholder-value',
2978
+ * // 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.
2979
+ * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2674
2980
  * });
2675
2981
  * console.log(res.data);
2676
2982
  *
2677
2983
  * // Example response
2678
- * // {}
2984
+ * // {
2985
+ * // "bindings": [],
2986
+ * // "etag": "my_etag",
2987
+ * // "version": 0
2988
+ * // }
2679
2989
  * }
2680
2990
  *
2681
2991
  * main().catch(e => {
@@ -2690,14 +3000,14 @@ export declare namespace dataform_v1 {
2690
3000
  * @param callback - Optional callback that handles the response.
2691
3001
  * @returns A promise if used with async/await, or void if used with a callback.
2692
3002
  */
2693
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2694
- delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2695
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2696
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2697
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
2698
- delete(callback: BodyResponseCallback<Schema$Empty>): void;
3003
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3004
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3005
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3006
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3007
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3008
+ getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2699
3009
  /**
2700
- * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
3010
+ * Moves a Folder to a new Folder, TeamFolder, or the root location.
2701
3011
  * @example
2702
3012
  * ```js
2703
3013
  * // Before running the sample:
@@ -2729,9 +3039,17 @@ export declare namespace dataform_v1 {
2729
3039
  * google.options({auth: authClient});
2730
3040
  *
2731
3041
  * // Do the magic
2732
- * const res = await dataform.projects.locations.operations.get({
2733
- * // The name of the operation resource.
2734
- * name: 'projects/my-project/locations/my-location/operations/my-operation',
3042
+ * const res = await dataform.projects.locations.folders.move({
3043
+ * // Required. The full resource name of the Folder to move.
3044
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
3045
+ *
3046
+ * // Request body metadata
3047
+ * requestBody: {
3048
+ * // request body parameters
3049
+ * // {
3050
+ * // "destinationContainingFolder": "my_destinationContainingFolder"
3051
+ * // }
3052
+ * },
2735
3053
  * });
2736
3054
  * console.log(res.data);
2737
3055
  *
@@ -2757,14 +3075,14 @@ export declare namespace dataform_v1 {
2757
3075
  * @param callback - Optional callback that handles the response.
2758
3076
  * @returns A promise if used with async/await, or void if used with a callback.
2759
3077
  */
2760
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2761
- get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2762
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2763
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2764
- get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
2765
- get(callback: BodyResponseCallback<Schema$Operation>): void;
3078
+ move(params: Params$Resource$Projects$Locations$Folders$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3079
+ move(params?: Params$Resource$Projects$Locations$Folders$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3080
+ move(params: Params$Resource$Projects$Locations$Folders$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3081
+ move(params: Params$Resource$Projects$Locations$Folders$Move, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3082
+ move(params: Params$Resource$Projects$Locations$Folders$Move, callback: BodyResponseCallback<Schema$Operation>): void;
3083
+ move(callback: BodyResponseCallback<Schema$Operation>): void;
2766
3084
  /**
2767
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
3085
+ * Updates a single Folder.
2768
3086
  * @example
2769
3087
  * ```js
2770
3088
  * // Before running the sample:
@@ -2796,25 +3114,39 @@ export declare namespace dataform_v1 {
2796
3114
  * google.options({auth: authClient});
2797
3115
  *
2798
3116
  * // Do the magic
2799
- * const res = await dataform.projects.locations.operations.list({
2800
- * // The standard list filter.
2801
- * filter: 'placeholder-value',
2802
- * // The name of the operation's parent resource.
2803
- * name: 'projects/my-project/locations/my-location',
2804
- * // The standard list page size.
2805
- * pageSize: 'placeholder-value',
2806
- * // The standard list page token.
2807
- * pageToken: 'placeholder-value',
2808
- * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2809
- * returnPartialSuccess: 'placeholder-value',
3117
+ * const res = await dataform.projects.locations.folders.patch({
3118
+ * // Identifier. The Folder's name.
3119
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
3120
+ * // Optional. Specifies the fields to be updated in the Folder. If left unset, all fields that can be updated, will be updated. A few fields cannot be updated and will be ignored if specified in the update_mask (e.g. parent_name, team_folder_name).
3121
+ * updateMask: 'placeholder-value',
3122
+ *
3123
+ * // Request body metadata
3124
+ * requestBody: {
3125
+ * // request body parameters
3126
+ * // {
3127
+ * // "containingFolder": "my_containingFolder",
3128
+ * // "createTime": "my_createTime",
3129
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
3130
+ * // "displayName": "my_displayName",
3131
+ * // "internalMetadata": "my_internalMetadata",
3132
+ * // "name": "my_name",
3133
+ * // "teamFolderName": "my_teamFolderName",
3134
+ * // "updateTime": "my_updateTime"
3135
+ * // }
3136
+ * },
2810
3137
  * });
2811
3138
  * console.log(res.data);
2812
3139
  *
2813
3140
  * // Example response
2814
3141
  * // {
2815
- * // "nextPageToken": "my_nextPageToken",
2816
- * // "operations": [],
2817
- * // "unreachable": []
3142
+ * // "containingFolder": "my_containingFolder",
3143
+ * // "createTime": "my_createTime",
3144
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
3145
+ * // "displayName": "my_displayName",
3146
+ * // "internalMetadata": "my_internalMetadata",
3147
+ * // "name": "my_name",
3148
+ * // "teamFolderName": "my_teamFolderName",
3149
+ * // "updateTime": "my_updateTime"
2818
3150
  * // }
2819
3151
  * }
2820
3152
  *
@@ -2830,67 +3162,14 @@ export declare namespace dataform_v1 {
2830
3162
  * @param callback - Optional callback that handles the response.
2831
3163
  * @returns A promise if used with async/await, or void if used with a callback.
2832
3164
  */
2833
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2834
- list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
2835
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2836
- list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2837
- list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2838
- list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2839
- }
2840
- export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
2841
- /**
2842
- * The name of the operation resource to be cancelled.
2843
- */
2844
- name?: string;
2845
- /**
2846
- * Request body metadata
2847
- */
2848
- requestBody?: Schema$CancelOperationRequest;
2849
- }
2850
- export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
2851
- /**
2852
- * The name of the operation resource to be deleted.
2853
- */
2854
- name?: string;
2855
- }
2856
- export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
2857
- /**
2858
- * The name of the operation resource.
2859
- */
2860
- name?: string;
2861
- }
2862
- export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
2863
- /**
2864
- * The standard list filter.
2865
- */
2866
- filter?: string;
2867
- /**
2868
- * The name of the operation's parent resource.
2869
- */
2870
- name?: string;
2871
- /**
2872
- * The standard list page size.
2873
- */
2874
- pageSize?: number;
2875
- /**
2876
- * The standard list page token.
2877
- */
2878
- pageToken?: string;
2879
- /**
2880
- * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2881
- */
2882
- returnPartialSuccess?: boolean;
2883
- }
2884
- export class Resource$Projects$Locations$Repositories {
2885
- context: APIRequestContext;
2886
- compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
2887
- releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
2888
- workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
2889
- workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
2890
- workspaces: Resource$Projects$Locations$Repositories$Workspaces;
2891
- constructor(context: APIRequestContext);
3165
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3166
+ patch(params?: Params$Resource$Projects$Locations$Folders$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
3167
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3168
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
3169
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, callback: BodyResponseCallback<Schema$Folder>): void;
3170
+ patch(callback: BodyResponseCallback<Schema$Folder>): void;
2892
3171
  /**
2893
- * Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
3172
+ * Returns the contents of a given Folder.
2894
3173
  * @example
2895
3174
  * ```js
2896
3175
  * // Before running the sample:
@@ -2922,25 +3201,24 @@ export declare namespace dataform_v1 {
2922
3201
  * google.options({auth: authClient});
2923
3202
  *
2924
3203
  * // Do the magic
2925
- * const res = await dataform.projects.locations.repositories.commit({
2926
- * // Required. The repository's name.
2927
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
2928
- *
2929
- * // Request body metadata
2930
- * requestBody: {
2931
- * // request body parameters
2932
- * // {
2933
- * // "commitMetadata": {},
2934
- * // "fileOperations": {},
2935
- * // "requiredHeadCommitSha": "my_requiredHeadCommitSha"
2936
- * // }
2937
- * },
3204
+ * const res = await dataform.projects.locations.folders.queryFolderContents({
3205
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
3206
+ * filter: 'placeholder-value',
3207
+ * // Required. Resource name of the Folder to list contents for. Format: projects/x/locations/x/folders/x
3208
+ * folder: 'projects/my-project/locations/my-location/folders/my-folder',
3209
+ * // Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by `order_by` in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
3210
+ * orderBy: 'placeholder-value',
3211
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3212
+ * pageSize: 'placeholder-value',
3213
+ * // Optional. Page token received from a previous `QueryFolderContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryFolderContents`, with the exception of `page_size`, must match the call that provided the page token.
3214
+ * pageToken: 'placeholder-value',
2938
3215
  * });
2939
3216
  * console.log(res.data);
2940
3217
  *
2941
3218
  * // Example response
2942
3219
  * // {
2943
- * // "commitSha": "my_commitSha"
3220
+ * // "entries": [],
3221
+ * // "nextPageToken": "my_nextPageToken"
2944
3222
  * // }
2945
3223
  * }
2946
3224
  *
@@ -2956,14 +3234,14 @@ export declare namespace dataform_v1 {
2956
3234
  * @param callback - Optional callback that handles the response.
2957
3235
  * @returns A promise if used with async/await, or void if used with a callback.
2958
3236
  */
2959
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2960
- commit(params?: Params$Resource$Projects$Locations$Repositories$Commit, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommitRepositoryChangesResponse>>;
2961
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2962
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: MethodOptions | BodyResponseCallback<Schema$CommitRepositoryChangesResponse>, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
2963
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
2964
- commit(callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3237
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3238
+ queryFolderContents(params?: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryFolderContentsResponse>>;
3239
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3240
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options: MethodOptions | BodyResponseCallback<Schema$QueryFolderContentsResponse>, callback: BodyResponseCallback<Schema$QueryFolderContentsResponse>): void;
3241
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, callback: BodyResponseCallback<Schema$QueryFolderContentsResponse>): void;
3242
+ queryFolderContents(callback: BodyResponseCallback<Schema$QueryFolderContentsResponse>): void;
2965
3243
  /**
2966
- * Computes a Repository's Git access token status.
3244
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
2967
3245
  * @example
2968
3246
  * ```js
2969
3247
  * // Before running the sample:
@@ -2995,16 +3273,25 @@ export declare namespace dataform_v1 {
2995
3273
  * google.options({auth: authClient});
2996
3274
  *
2997
3275
  * // Do the magic
2998
- * const res =
2999
- * await dataform.projects.locations.repositories.computeAccessTokenStatus({
3000
- * // Required. The repository's name.
3001
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3002
- * });
3276
+ * const res = await dataform.projects.locations.folders.setIamPolicy({
3277
+ * // 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.
3278
+ * resource: 'projects/my-project/locations/my-location/folders/my-folder',
3279
+ *
3280
+ * // Request body metadata
3281
+ * requestBody: {
3282
+ * // request body parameters
3283
+ * // {
3284
+ * // "policy": {}
3285
+ * // }
3286
+ * },
3287
+ * });
3003
3288
  * console.log(res.data);
3004
3289
  *
3005
3290
  * // Example response
3006
3291
  * // {
3007
- * // "tokenStatus": "my_tokenStatus"
3292
+ * // "bindings": [],
3293
+ * // "etag": "my_etag",
3294
+ * // "version": 0
3008
3295
  * // }
3009
3296
  * }
3010
3297
  *
@@ -3020,14 +3307,14 @@ export declare namespace dataform_v1 {
3020
3307
  * @param callback - Optional callback that handles the response.
3021
3308
  * @returns A promise if used with async/await, or void if used with a callback.
3022
3309
  */
3023
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3024
- computeAccessTokenStatus(params?: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ComputeRepositoryAccessTokenStatusResponse>>;
3025
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3026
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: MethodOptions | BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3027
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3028
- computeAccessTokenStatus(callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3310
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3311
+ setIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3312
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3313
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3314
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3315
+ setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3029
3316
  /**
3030
- * Creates a new Repository in a given project and location.
3317
+ * 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.
3031
3318
  * @example
3032
3319
  * ```js
3033
3320
  * // Before running the sample:
@@ -3059,28 +3346,15 @@ export declare namespace dataform_v1 {
3059
3346
  * google.options({auth: authClient});
3060
3347
  *
3061
3348
  * // Do the magic
3062
- * const res = await dataform.projects.locations.repositories.create({
3063
- * // Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
3064
- * parent: 'projects/my-project/locations/my-location',
3065
- * // Required. The ID to use for the repository, which will become the final component of the repository's resource name.
3066
- * repositoryId: 'placeholder-value',
3349
+ * const res = await dataform.projects.locations.folders.testIamPermissions({
3350
+ * // 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.
3351
+ * resource: 'projects/my-project/locations/my-location/folders/my-folder',
3067
3352
  *
3068
3353
  * // Request body metadata
3069
3354
  * requestBody: {
3070
3355
  * // request body parameters
3071
3356
  * // {
3072
- * // "createTime": "my_createTime",
3073
- * // "dataEncryptionState": {},
3074
- * // "displayName": "my_displayName",
3075
- * // "gitRemoteSettings": {},
3076
- * // "internalMetadata": "my_internalMetadata",
3077
- * // "kmsKeyName": "my_kmsKeyName",
3078
- * // "labels": {},
3079
- * // "name": "my_name",
3080
- * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3081
- * // "serviceAccount": "my_serviceAccount",
3082
- * // "setAuthenticatedUserAdmin": false,
3083
- * // "workspaceCompilationOverrides": {}
3357
+ * // "permissions": []
3084
3358
  * // }
3085
3359
  * },
3086
3360
  * });
@@ -3088,18 +3362,7 @@ export declare namespace dataform_v1 {
3088
3362
  *
3089
3363
  * // Example response
3090
3364
  * // {
3091
- * // "createTime": "my_createTime",
3092
- * // "dataEncryptionState": {},
3093
- * // "displayName": "my_displayName",
3094
- * // "gitRemoteSettings": {},
3095
- * // "internalMetadata": "my_internalMetadata",
3096
- * // "kmsKeyName": "my_kmsKeyName",
3097
- * // "labels": {},
3098
- * // "name": "my_name",
3099
- * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3100
- * // "serviceAccount": "my_serviceAccount",
3101
- * // "setAuthenticatedUserAdmin": false,
3102
- * // "workspaceCompilationOverrides": {}
3365
+ * // "permissions": []
3103
3366
  * // }
3104
3367
  * }
3105
3368
  *
@@ -3115,14 +3378,126 @@ export declare namespace dataform_v1 {
3115
3378
  * @param callback - Optional callback that handles the response.
3116
3379
  * @returns A promise if used with async/await, or void if used with a callback.
3117
3380
  */
3118
- create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3119
- create(params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3120
- create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3121
- create(params: Params$Resource$Projects$Locations$Repositories$Create, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3122
- create(params: Params$Resource$Projects$Locations$Repositories$Create, callback: BodyResponseCallback<Schema$Repository>): void;
3123
- create(callback: BodyResponseCallback<Schema$Repository>): void;
3381
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3382
+ testIamPermissions(params?: Params$Resource$Projects$Locations$Folders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
3383
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3384
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3385
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3386
+ testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3387
+ }
3388
+ export interface Params$Resource$Projects$Locations$Folders$Create extends StandardParameters {
3124
3389
  /**
3125
- * Deletes a single Repository.
3390
+ * Required. The location in which to create the Folder. Must be in the format `projects/x/locations/x`.
3391
+ */
3392
+ parent?: string;
3393
+ /**
3394
+ * Request body metadata
3395
+ */
3396
+ requestBody?: Schema$Folder;
3397
+ }
3398
+ export interface Params$Resource$Projects$Locations$Folders$Delete extends StandardParameters {
3399
+ /**
3400
+ * Required. The Folder's name.
3401
+ */
3402
+ name?: string;
3403
+ }
3404
+ export interface Params$Resource$Projects$Locations$Folders$Deletetree extends StandardParameters {
3405
+ /**
3406
+ * Required. The Folder's name. Format: projects/{project\}/locations/{location\}/folders/{folder\}
3407
+ */
3408
+ name?: string;
3409
+ /**
3410
+ * Request body metadata
3411
+ */
3412
+ requestBody?: Schema$DeleteFolderTreeRequest;
3413
+ }
3414
+ export interface Params$Resource$Projects$Locations$Folders$Get extends StandardParameters {
3415
+ /**
3416
+ * Required. The Folder's name.
3417
+ */
3418
+ name?: string;
3419
+ }
3420
+ export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
3421
+ /**
3422
+ * 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).
3423
+ */
3424
+ 'options.requestedPolicyVersion'?: number;
3425
+ /**
3426
+ * 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.
3427
+ */
3428
+ resource?: string;
3429
+ }
3430
+ export interface Params$Resource$Projects$Locations$Folders$Move extends StandardParameters {
3431
+ /**
3432
+ * Required. The full resource name of the Folder to move.
3433
+ */
3434
+ name?: string;
3435
+ /**
3436
+ * Request body metadata
3437
+ */
3438
+ requestBody?: Schema$MoveFolderRequest;
3439
+ }
3440
+ export interface Params$Resource$Projects$Locations$Folders$Patch extends StandardParameters {
3441
+ /**
3442
+ * Identifier. The Folder's name.
3443
+ */
3444
+ name?: string;
3445
+ /**
3446
+ * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields that can be updated, will be updated. A few fields cannot be updated and will be ignored if specified in the update_mask (e.g. parent_name, team_folder_name).
3447
+ */
3448
+ updateMask?: string;
3449
+ /**
3450
+ * Request body metadata
3451
+ */
3452
+ requestBody?: Schema$Folder;
3453
+ }
3454
+ export interface Params$Resource$Projects$Locations$Folders$Queryfoldercontents extends StandardParameters {
3455
+ /**
3456
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
3457
+ */
3458
+ filter?: string;
3459
+ /**
3460
+ * Required. Resource name of the Folder to list contents for. Format: projects/x/locations/x/folders/x
3461
+ */
3462
+ folder?: string;
3463
+ /**
3464
+ * Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by `order_by` in ascending order. Supported keywords: display_name (default), create_time, last_modified_time. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
3465
+ */
3466
+ orderBy?: string;
3467
+ /**
3468
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3469
+ */
3470
+ pageSize?: number;
3471
+ /**
3472
+ * Optional. Page token received from a previous `QueryFolderContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryFolderContents`, with the exception of `page_size`, must match the call that provided the page token.
3473
+ */
3474
+ pageToken?: string;
3475
+ }
3476
+ export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
3477
+ /**
3478
+ * 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.
3479
+ */
3480
+ resource?: string;
3481
+ /**
3482
+ * Request body metadata
3483
+ */
3484
+ requestBody?: Schema$SetIamPolicyRequest;
3485
+ }
3486
+ export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
3487
+ /**
3488
+ * 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.
3489
+ */
3490
+ resource?: string;
3491
+ /**
3492
+ * Request body metadata
3493
+ */
3494
+ requestBody?: Schema$TestIamPermissionsRequest;
3495
+ }
3496
+ export class Resource$Projects$Locations$Operations {
3497
+ context: APIRequestContext;
3498
+ constructor(context: APIRequestContext);
3499
+ /**
3500
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
3126
3501
  * @example
3127
3502
  * ```js
3128
3503
  * // Before running the sample:
@@ -3154,11 +3529,15 @@ export declare namespace dataform_v1 {
3154
3529
  * google.options({auth: authClient});
3155
3530
  *
3156
3531
  * // Do the magic
3157
- * const res = await dataform.projects.locations.repositories.delete({
3158
- * // Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*.
3159
- * force: 'placeholder-value',
3160
- * // Required. The repository's name.
3161
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3532
+ * const res = await dataform.projects.locations.operations.cancel({
3533
+ * // The name of the operation resource to be cancelled.
3534
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
3535
+ *
3536
+ * // Request body metadata
3537
+ * requestBody: {
3538
+ * // request body parameters
3539
+ * // {}
3540
+ * },
3162
3541
  * });
3163
3542
  * console.log(res.data);
3164
3543
  *
@@ -3178,14 +3557,14 @@ export declare namespace dataform_v1 {
3178
3557
  * @param callback - Optional callback that handles the response.
3179
3558
  * @returns A promise if used with async/await, or void if used with a callback.
3180
3559
  */
3181
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3182
- delete(params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3183
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3184
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3185
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
3186
- delete(callback: BodyResponseCallback<Schema$Empty>): void;
3560
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3561
+ cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3562
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3563
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3564
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
3565
+ cancel(callback: BodyResponseCallback<Schema$Empty>): void;
3187
3566
  /**
3188
- * Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
3567
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
3189
3568
  * @example
3190
3569
  * ```js
3191
3570
  * // Before running the sample:
@@ -3217,21 +3596,14 @@ export declare namespace dataform_v1 {
3217
3596
  * google.options({auth: authClient});
3218
3597
  *
3219
3598
  * // Do the magic
3220
- * const res = await dataform.projects.locations.repositories.fetchHistory({
3221
- * // Required. The repository's name.
3222
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3223
- * // Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3224
- * pageSize: 'placeholder-value',
3225
- * // 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.
3226
- * pageToken: 'placeholder-value',
3599
+ * const res = await dataform.projects.locations.operations.delete({
3600
+ * // The name of the operation resource to be deleted.
3601
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
3227
3602
  * });
3228
3603
  * console.log(res.data);
3229
3604
  *
3230
3605
  * // Example response
3231
- * // {
3232
- * // "commits": [],
3233
- * // "nextPageToken": "my_nextPageToken"
3234
- * // }
3606
+ * // {}
3235
3607
  * }
3236
3608
  *
3237
3609
  * main().catch(e => {
@@ -3246,14 +3618,14 @@ export declare namespace dataform_v1 {
3246
3618
  * @param callback - Optional callback that handles the response.
3247
3619
  * @returns A promise if used with async/await, or void if used with a callback.
3248
3620
  */
3249
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3250
- fetchHistory(params?: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRepositoryHistoryResponse>>;
3251
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3252
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: MethodOptions | BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
3253
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
3254
- fetchHistory(callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
3621
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3622
+ delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3623
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3624
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3625
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
3626
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
3255
3627
  /**
3256
- * Fetches a Repository's remote branches.
3628
+ * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
3257
3629
  * @example
3258
3630
  * ```js
3259
3631
  * // Before running the sample:
@@ -3285,16 +3657,19 @@ export declare namespace dataform_v1 {
3285
3657
  * google.options({auth: authClient});
3286
3658
  *
3287
3659
  * // Do the magic
3288
- * const res =
3289
- * await dataform.projects.locations.repositories.fetchRemoteBranches({
3290
- * // Required. The repository's name.
3291
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3292
- * });
3660
+ * const res = await dataform.projects.locations.operations.get({
3661
+ * // The name of the operation resource.
3662
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
3663
+ * });
3293
3664
  * console.log(res.data);
3294
3665
  *
3295
3666
  * // Example response
3296
3667
  * // {
3297
- * // "branches": []
3668
+ * // "done": false,
3669
+ * // "error": {},
3670
+ * // "metadata": {},
3671
+ * // "name": "my_name",
3672
+ * // "response": {}
3298
3673
  * // }
3299
3674
  * }
3300
3675
  *
@@ -3310,14 +3685,14 @@ export declare namespace dataform_v1 {
3310
3685
  * @param callback - Optional callback that handles the response.
3311
3686
  * @returns A promise if used with async/await, or void if used with a callback.
3312
3687
  */
3313
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3314
- fetchRemoteBranches(params?: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRemoteBranchesResponse>>;
3315
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3316
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: MethodOptions | BodyResponseCallback<Schema$FetchRemoteBranchesResponse>, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
3317
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
3318
- fetchRemoteBranches(callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
3319
- /**
3320
- * Fetches a single Repository.
3688
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3689
+ get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3690
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3691
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3692
+ get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
3693
+ get(callback: BodyResponseCallback<Schema$Operation>): void;
3694
+ /**
3695
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
3321
3696
  * @example
3322
3697
  * ```js
3323
3698
  * // Before running the sample:
@@ -3349,26 +3724,25 @@ export declare namespace dataform_v1 {
3349
3724
  * google.options({auth: authClient});
3350
3725
  *
3351
3726
  * // Do the magic
3352
- * const res = await dataform.projects.locations.repositories.get({
3353
- * // Required. The repository's name.
3354
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3727
+ * const res = await dataform.projects.locations.operations.list({
3728
+ * // The standard list filter.
3729
+ * filter: 'placeholder-value',
3730
+ * // The name of the operation's parent resource.
3731
+ * name: 'projects/my-project/locations/my-location',
3732
+ * // The standard list page size.
3733
+ * pageSize: 'placeholder-value',
3734
+ * // The standard list page token.
3735
+ * pageToken: 'placeholder-value',
3736
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
3737
+ * returnPartialSuccess: 'placeholder-value',
3355
3738
  * });
3356
3739
  * console.log(res.data);
3357
3740
  *
3358
3741
  * // Example response
3359
3742
  * // {
3360
- * // "createTime": "my_createTime",
3361
- * // "dataEncryptionState": {},
3362
- * // "displayName": "my_displayName",
3363
- * // "gitRemoteSettings": {},
3364
- * // "internalMetadata": "my_internalMetadata",
3365
- * // "kmsKeyName": "my_kmsKeyName",
3366
- * // "labels": {},
3367
- * // "name": "my_name",
3368
- * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3369
- * // "serviceAccount": "my_serviceAccount",
3370
- * // "setAuthenticatedUserAdmin": false,
3371
- * // "workspaceCompilationOverrides": {}
3743
+ * // "nextPageToken": "my_nextPageToken",
3744
+ * // "operations": [],
3745
+ * // "unreachable": []
3372
3746
  * // }
3373
3747
  * }
3374
3748
  *
@@ -3384,14 +3758,67 @@ export declare namespace dataform_v1 {
3384
3758
  * @param callback - Optional callback that handles the response.
3385
3759
  * @returns A promise if used with async/await, or void if used with a callback.
3386
3760
  */
3387
- get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3388
- get(params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3389
- get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3390
- get(params: Params$Resource$Projects$Locations$Repositories$Get, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3391
- get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
3392
- get(callback: BodyResponseCallback<Schema$Repository>): void;
3761
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3762
+ list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
3763
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3764
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3765
+ list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3766
+ list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3767
+ }
3768
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
3393
3769
  /**
3394
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3770
+ * The name of the operation resource to be cancelled.
3771
+ */
3772
+ name?: string;
3773
+ /**
3774
+ * Request body metadata
3775
+ */
3776
+ requestBody?: Schema$CancelOperationRequest;
3777
+ }
3778
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
3779
+ /**
3780
+ * The name of the operation resource to be deleted.
3781
+ */
3782
+ name?: string;
3783
+ }
3784
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
3785
+ /**
3786
+ * The name of the operation resource.
3787
+ */
3788
+ name?: string;
3789
+ }
3790
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
3791
+ /**
3792
+ * The standard list filter.
3793
+ */
3794
+ filter?: string;
3795
+ /**
3796
+ * The name of the operation's parent resource.
3797
+ */
3798
+ name?: string;
3799
+ /**
3800
+ * The standard list page size.
3801
+ */
3802
+ pageSize?: number;
3803
+ /**
3804
+ * The standard list page token.
3805
+ */
3806
+ pageToken?: string;
3807
+ /**
3808
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
3809
+ */
3810
+ returnPartialSuccess?: boolean;
3811
+ }
3812
+ export class Resource$Projects$Locations$Repositories {
3813
+ context: APIRequestContext;
3814
+ compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
3815
+ releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
3816
+ workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
3817
+ workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
3818
+ workspaces: Resource$Projects$Locations$Repositories$Workspaces;
3819
+ constructor(context: APIRequestContext);
3820
+ /**
3821
+ * Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
3395
3822
  * @example
3396
3823
  * ```js
3397
3824
  * // Before running the sample:
@@ -3423,20 +3850,25 @@ export declare namespace dataform_v1 {
3423
3850
  * google.options({auth: authClient});
3424
3851
  *
3425
3852
  * // Do the magic
3426
- * const res = await dataform.projects.locations.repositories.getIamPolicy({
3427
- * // 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).
3428
- * 'options.requestedPolicyVersion': 'placeholder-value',
3429
- * // 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.
3430
- * resource:
3431
- * 'projects/my-project/locations/my-location/repositories/my-repositorie',
3853
+ * const res = await dataform.projects.locations.repositories.commit({
3854
+ * // Required. The repository's name.
3855
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3856
+ *
3857
+ * // Request body metadata
3858
+ * requestBody: {
3859
+ * // request body parameters
3860
+ * // {
3861
+ * // "commitMetadata": {},
3862
+ * // "fileOperations": {},
3863
+ * // "requiredHeadCommitSha": "my_requiredHeadCommitSha"
3864
+ * // }
3865
+ * },
3432
3866
  * });
3433
3867
  * console.log(res.data);
3434
3868
  *
3435
3869
  * // Example response
3436
3870
  * // {
3437
- * // "bindings": [],
3438
- * // "etag": "my_etag",
3439
- * // "version": 0
3871
+ * // "commitSha": "my_commitSha"
3440
3872
  * // }
3441
3873
  * }
3442
3874
  *
@@ -3452,14 +3884,14 @@ export declare namespace dataform_v1 {
3452
3884
  * @param callback - Optional callback that handles the response.
3453
3885
  * @returns A promise if used with async/await, or void if used with a callback.
3454
3886
  */
3455
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3456
- getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3457
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3458
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3459
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3460
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3887
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3888
+ commit(params?: Params$Resource$Projects$Locations$Repositories$Commit, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommitRepositoryChangesResponse>>;
3889
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3890
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: MethodOptions | BodyResponseCallback<Schema$CommitRepositoryChangesResponse>, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3891
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3892
+ commit(callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3461
3893
  /**
3462
- * 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)*.
3894
+ * Computes a Repository's Git access token status.
3463
3895
  * @example
3464
3896
  * ```js
3465
3897
  * // Before running the sample:
@@ -3491,25 +3923,16 @@ export declare namespace dataform_v1 {
3491
3923
  * google.options({auth: authClient});
3492
3924
  *
3493
3925
  * // Do the magic
3494
- * const res = await dataform.projects.locations.repositories.list({
3495
- * // Optional. Filter for the returned list.
3496
- * filter: 'placeholder-value',
3497
- * // 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.
3498
- * orderBy: 'placeholder-value',
3499
- * // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3500
- * pageSize: 'placeholder-value',
3501
- * // 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.
3502
- * pageToken: 'placeholder-value',
3503
- * // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
3504
- * parent: 'projects/my-project/locations/my-location',
3505
- * });
3926
+ * const res =
3927
+ * await dataform.projects.locations.repositories.computeAccessTokenStatus({
3928
+ * // Required. The repository's name.
3929
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3930
+ * });
3506
3931
  * console.log(res.data);
3507
3932
  *
3508
3933
  * // Example response
3509
3934
  * // {
3510
- * // "nextPageToken": "my_nextPageToken",
3511
- * // "repositories": [],
3512
- * // "unreachable": []
3935
+ * // "tokenStatus": "my_tokenStatus"
3513
3936
  * // }
3514
3937
  * }
3515
3938
  *
@@ -3525,14 +3948,14 @@ export declare namespace dataform_v1 {
3525
3948
  * @param callback - Optional callback that handles the response.
3526
3949
  * @returns A promise if used with async/await, or void if used with a callback.
3527
3950
  */
3528
- list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3529
- list(params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListRepositoriesResponse>>;
3530
- list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3531
- list(params: Params$Resource$Projects$Locations$Repositories$List, options: MethodOptions | BodyResponseCallback<Schema$ListRepositoriesResponse>, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
3532
- list(params: Params$Resource$Projects$Locations$Repositories$List, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
3533
- list(callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
3951
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3952
+ computeAccessTokenStatus(params?: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ComputeRepositoryAccessTokenStatusResponse>>;
3953
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3954
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: MethodOptions | BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3955
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3956
+ computeAccessTokenStatus(callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3534
3957
  /**
3535
- * 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.*
3958
+ * Creates a new Repository in a given project and location.
3536
3959
  * @example
3537
3960
  * ```js
3538
3961
  * // Before running the sample:
@@ -3564,16 +3987,17 @@ export declare namespace dataform_v1 {
3564
3987
  * google.options({auth: authClient});
3565
3988
  *
3566
3989
  * // Do the magic
3567
- * const res = await dataform.projects.locations.repositories.patch({
3568
- * // Identifier. The repository's name.
3569
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3570
- * // Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
3571
- * updateMask: 'placeholder-value',
3990
+ * const res = await dataform.projects.locations.repositories.create({
3991
+ * // Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
3992
+ * parent: 'projects/my-project/locations/my-location',
3993
+ * // Required. The ID to use for the repository, which will become the final component of the repository's resource name.
3994
+ * repositoryId: 'placeholder-value',
3572
3995
  *
3573
3996
  * // Request body metadata
3574
3997
  * requestBody: {
3575
3998
  * // request body parameters
3576
3999
  * // {
4000
+ * // "containingFolder": "my_containingFolder",
3577
4001
  * // "createTime": "my_createTime",
3578
4002
  * // "dataEncryptionState": {},
3579
4003
  * // "displayName": "my_displayName",
@@ -3585,6 +4009,7 @@ export declare namespace dataform_v1 {
3585
4009
  * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3586
4010
  * // "serviceAccount": "my_serviceAccount",
3587
4011
  * // "setAuthenticatedUserAdmin": false,
4012
+ * // "teamFolderName": "my_teamFolderName",
3588
4013
  * // "workspaceCompilationOverrides": {}
3589
4014
  * // }
3590
4015
  * },
@@ -3593,6 +4018,7 @@ export declare namespace dataform_v1 {
3593
4018
  *
3594
4019
  * // Example response
3595
4020
  * // {
4021
+ * // "containingFolder": "my_containingFolder",
3596
4022
  * // "createTime": "my_createTime",
3597
4023
  * // "dataEncryptionState": {},
3598
4024
  * // "displayName": "my_displayName",
@@ -3604,6 +4030,7 @@ export declare namespace dataform_v1 {
3604
4030
  * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3605
4031
  * // "serviceAccount": "my_serviceAccount",
3606
4032
  * // "setAuthenticatedUserAdmin": false,
4033
+ * // "teamFolderName": "my_teamFolderName",
3607
4034
  * // "workspaceCompilationOverrides": {}
3608
4035
  * // }
3609
4036
  * }
@@ -3620,14 +4047,14 @@ export declare namespace dataform_v1 {
3620
4047
  * @param callback - Optional callback that handles the response.
3621
4048
  * @returns A promise if used with async/await, or void if used with a callback.
3622
4049
  */
3623
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3624
- patch(params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3625
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3626
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3627
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, callback: BodyResponseCallback<Schema$Repository>): void;
3628
- patch(callback: BodyResponseCallback<Schema$Repository>): void;
4050
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4051
+ create(params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
4052
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4053
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
4054
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, callback: BodyResponseCallback<Schema$Repository>): void;
4055
+ create(callback: BodyResponseCallback<Schema$Repository>): void;
3629
4056
  /**
3630
- * Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
4057
+ * Deletes a single Repository.
3631
4058
  * @example
3632
4059
  * ```js
3633
4060
  * // Before running the sample:
@@ -3659,26 +4086,16 @@ export declare namespace dataform_v1 {
3659
4086
  * google.options({auth: authClient});
3660
4087
  *
3661
4088
  * // Do the magic
3662
- * const res =
3663
- * await dataform.projects.locations.repositories.queryDirectoryContents({
3664
- * // Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
3665
- * commitSha: 'placeholder-value',
3666
- * // Required. The repository's name.
3667
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3668
- * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3669
- * pageSize: 'placeholder-value',
3670
- * // 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.
3671
- * pageToken: 'placeholder-value',
3672
- * // Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
3673
- * path: 'placeholder-value',
3674
- * });
4089
+ * const res = await dataform.projects.locations.repositories.delete({
4090
+ * // Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*.
4091
+ * force: 'placeholder-value',
4092
+ * // Required. The repository's name.
4093
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4094
+ * });
3675
4095
  * console.log(res.data);
3676
4096
  *
3677
4097
  * // Example response
3678
- * // {
3679
- * // "directoryEntries": [],
3680
- * // "nextPageToken": "my_nextPageToken"
3681
- * // }
4098
+ * // {}
3682
4099
  * }
3683
4100
  *
3684
4101
  * main().catch(e => {
@@ -3693,14 +4110,14 @@ export declare namespace dataform_v1 {
3693
4110
  * @param callback - Optional callback that handles the response.
3694
4111
  * @returns A promise if used with async/await, or void if used with a callback.
3695
4112
  */
3696
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3697
- queryDirectoryContents(params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryRepositoryDirectoryContentsResponse>>;
3698
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3699
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: MethodOptions | BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
3700
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
3701
- queryDirectoryContents(callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4113
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4114
+ delete(params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4115
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4116
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4117
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
4118
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
3702
4119
  /**
3703
- * Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
4120
+ * Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
3704
4121
  * @example
3705
4122
  * ```js
3706
4123
  * // Before running the sample:
@@ -3732,19 +4149,20 @@ export declare namespace dataform_v1 {
3732
4149
  * google.options({auth: authClient});
3733
4150
  *
3734
4151
  * // Do the magic
3735
- * const res = await dataform.projects.locations.repositories.readFile({
3736
- * // Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
3737
- * commitSha: 'placeholder-value',
4152
+ * const res = await dataform.projects.locations.repositories.fetchHistory({
3738
4153
  * // Required. The repository's name.
3739
4154
  * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3740
- * // Required. Full file path to read including filename, from repository root.
3741
- * path: 'placeholder-value',
4155
+ * // Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4156
+ * pageSize: 'placeholder-value',
4157
+ * // 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.
4158
+ * pageToken: 'placeholder-value',
3742
4159
  * });
3743
4160
  * console.log(res.data);
3744
4161
  *
3745
4162
  * // Example response
3746
4163
  * // {
3747
- * // "contents": "my_contents"
4164
+ * // "commits": [],
4165
+ * // "nextPageToken": "my_nextPageToken"
3748
4166
  * // }
3749
4167
  * }
3750
4168
  *
@@ -3760,11 +4178,606 @@ export declare namespace dataform_v1 {
3760
4178
  * @param callback - Optional callback that handles the response.
3761
4179
  * @returns A promise if used with async/await, or void if used with a callback.
3762
4180
  */
3763
- readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3764
- readFile(params?: Params$Resource$Projects$Locations$Repositories$Readfile, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ReadRepositoryFileResponse>>;
3765
- readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3766
- readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: MethodOptions | BodyResponseCallback<Schema$ReadRepositoryFileResponse>, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
3767
- readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
4181
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4182
+ fetchHistory(params?: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRepositoryHistoryResponse>>;
4183
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4184
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: MethodOptions | BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
4185
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
4186
+ fetchHistory(callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
4187
+ /**
4188
+ * Fetches a Repository's remote branches.
4189
+ * @example
4190
+ * ```js
4191
+ * // Before running the sample:
4192
+ * // - Enable the API at:
4193
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4194
+ * // - Login into gcloud by running:
4195
+ * // ```sh
4196
+ * // $ gcloud auth application-default login
4197
+ * // ```
4198
+ * // - Install the npm module by running:
4199
+ * // ```sh
4200
+ * // $ npm install googleapis
4201
+ * // ```
4202
+ *
4203
+ * const {google} = require('googleapis');
4204
+ * const dataform = google.dataform('v1');
4205
+ *
4206
+ * async function main() {
4207
+ * const auth = new google.auth.GoogleAuth({
4208
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4209
+ * scopes: [
4210
+ * 'https://www.googleapis.com/auth/bigquery',
4211
+ * 'https://www.googleapis.com/auth/cloud-platform',
4212
+ * ],
4213
+ * });
4214
+ *
4215
+ * // Acquire an auth client, and bind it to all future calls
4216
+ * const authClient = await auth.getClient();
4217
+ * google.options({auth: authClient});
4218
+ *
4219
+ * // Do the magic
4220
+ * const res =
4221
+ * await dataform.projects.locations.repositories.fetchRemoteBranches({
4222
+ * // Required. The repository's name.
4223
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4224
+ * });
4225
+ * console.log(res.data);
4226
+ *
4227
+ * // Example response
4228
+ * // {
4229
+ * // "branches": []
4230
+ * // }
4231
+ * }
4232
+ *
4233
+ * main().catch(e => {
4234
+ * console.error(e);
4235
+ * throw e;
4236
+ * });
4237
+ *
4238
+ * ```
4239
+ *
4240
+ * @param params - Parameters for request
4241
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4242
+ * @param callback - Optional callback that handles the response.
4243
+ * @returns A promise if used with async/await, or void if used with a callback.
4244
+ */
4245
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4246
+ fetchRemoteBranches(params?: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRemoteBranchesResponse>>;
4247
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4248
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: MethodOptions | BodyResponseCallback<Schema$FetchRemoteBranchesResponse>, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
4249
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
4250
+ fetchRemoteBranches(callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
4251
+ /**
4252
+ * Fetches a single Repository.
4253
+ * @example
4254
+ * ```js
4255
+ * // Before running the sample:
4256
+ * // - Enable the API at:
4257
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4258
+ * // - Login into gcloud by running:
4259
+ * // ```sh
4260
+ * // $ gcloud auth application-default login
4261
+ * // ```
4262
+ * // - Install the npm module by running:
4263
+ * // ```sh
4264
+ * // $ npm install googleapis
4265
+ * // ```
4266
+ *
4267
+ * const {google} = require('googleapis');
4268
+ * const dataform = google.dataform('v1');
4269
+ *
4270
+ * async function main() {
4271
+ * const auth = new google.auth.GoogleAuth({
4272
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4273
+ * scopes: [
4274
+ * 'https://www.googleapis.com/auth/bigquery',
4275
+ * 'https://www.googleapis.com/auth/cloud-platform',
4276
+ * ],
4277
+ * });
4278
+ *
4279
+ * // Acquire an auth client, and bind it to all future calls
4280
+ * const authClient = await auth.getClient();
4281
+ * google.options({auth: authClient});
4282
+ *
4283
+ * // Do the magic
4284
+ * const res = await dataform.projects.locations.repositories.get({
4285
+ * // Required. The repository's name.
4286
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4287
+ * });
4288
+ * console.log(res.data);
4289
+ *
4290
+ * // Example response
4291
+ * // {
4292
+ * // "containingFolder": "my_containingFolder",
4293
+ * // "createTime": "my_createTime",
4294
+ * // "dataEncryptionState": {},
4295
+ * // "displayName": "my_displayName",
4296
+ * // "gitRemoteSettings": {},
4297
+ * // "internalMetadata": "my_internalMetadata",
4298
+ * // "kmsKeyName": "my_kmsKeyName",
4299
+ * // "labels": {},
4300
+ * // "name": "my_name",
4301
+ * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
4302
+ * // "serviceAccount": "my_serviceAccount",
4303
+ * // "setAuthenticatedUserAdmin": false,
4304
+ * // "teamFolderName": "my_teamFolderName",
4305
+ * // "workspaceCompilationOverrides": {}
4306
+ * // }
4307
+ * }
4308
+ *
4309
+ * main().catch(e => {
4310
+ * console.error(e);
4311
+ * throw e;
4312
+ * });
4313
+ *
4314
+ * ```
4315
+ *
4316
+ * @param params - Parameters for request
4317
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4318
+ * @param callback - Optional callback that handles the response.
4319
+ * @returns A promise if used with async/await, or void if used with a callback.
4320
+ */
4321
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4322
+ get(params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
4323
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4324
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
4325
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
4326
+ get(callback: BodyResponseCallback<Schema$Repository>): void;
4327
+ /**
4328
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
4329
+ * @example
4330
+ * ```js
4331
+ * // Before running the sample:
4332
+ * // - Enable the API at:
4333
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4334
+ * // - Login into gcloud by running:
4335
+ * // ```sh
4336
+ * // $ gcloud auth application-default login
4337
+ * // ```
4338
+ * // - Install the npm module by running:
4339
+ * // ```sh
4340
+ * // $ npm install googleapis
4341
+ * // ```
4342
+ *
4343
+ * const {google} = require('googleapis');
4344
+ * const dataform = google.dataform('v1');
4345
+ *
4346
+ * async function main() {
4347
+ * const auth = new google.auth.GoogleAuth({
4348
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4349
+ * scopes: [
4350
+ * 'https://www.googleapis.com/auth/bigquery',
4351
+ * 'https://www.googleapis.com/auth/cloud-platform',
4352
+ * ],
4353
+ * });
4354
+ *
4355
+ * // Acquire an auth client, and bind it to all future calls
4356
+ * const authClient = await auth.getClient();
4357
+ * google.options({auth: authClient});
4358
+ *
4359
+ * // Do the magic
4360
+ * const res = await dataform.projects.locations.repositories.getIamPolicy({
4361
+ * // 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).
4362
+ * 'options.requestedPolicyVersion': 'placeholder-value',
4363
+ * // 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.
4364
+ * resource:
4365
+ * 'projects/my-project/locations/my-location/repositories/my-repositorie',
4366
+ * });
4367
+ * console.log(res.data);
4368
+ *
4369
+ * // Example response
4370
+ * // {
4371
+ * // "bindings": [],
4372
+ * // "etag": "my_etag",
4373
+ * // "version": 0
4374
+ * // }
4375
+ * }
4376
+ *
4377
+ * main().catch(e => {
4378
+ * console.error(e);
4379
+ * throw e;
4380
+ * });
4381
+ *
4382
+ * ```
4383
+ *
4384
+ * @param params - Parameters for request
4385
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4386
+ * @param callback - Optional callback that handles the response.
4387
+ * @returns A promise if used with async/await, or void if used with a callback.
4388
+ */
4389
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4390
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
4391
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4392
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
4393
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
4394
+ getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
4395
+ /**
4396
+ * 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)*.
4397
+ * @example
4398
+ * ```js
4399
+ * // Before running the sample:
4400
+ * // - Enable the API at:
4401
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4402
+ * // - Login into gcloud by running:
4403
+ * // ```sh
4404
+ * // $ gcloud auth application-default login
4405
+ * // ```
4406
+ * // - Install the npm module by running:
4407
+ * // ```sh
4408
+ * // $ npm install googleapis
4409
+ * // ```
4410
+ *
4411
+ * const {google} = require('googleapis');
4412
+ * const dataform = google.dataform('v1');
4413
+ *
4414
+ * async function main() {
4415
+ * const auth = new google.auth.GoogleAuth({
4416
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4417
+ * scopes: [
4418
+ * 'https://www.googleapis.com/auth/bigquery',
4419
+ * 'https://www.googleapis.com/auth/cloud-platform',
4420
+ * ],
4421
+ * });
4422
+ *
4423
+ * // Acquire an auth client, and bind it to all future calls
4424
+ * const authClient = await auth.getClient();
4425
+ * google.options({auth: authClient});
4426
+ *
4427
+ * // Do the magic
4428
+ * const res = await dataform.projects.locations.repositories.list({
4429
+ * // Optional. Filter for the returned list.
4430
+ * filter: 'placeholder-value',
4431
+ * // 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.
4432
+ * orderBy: 'placeholder-value',
4433
+ * // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4434
+ * pageSize: 'placeholder-value',
4435
+ * // 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.
4436
+ * pageToken: 'placeholder-value',
4437
+ * // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
4438
+ * parent: 'projects/my-project/locations/my-location',
4439
+ * });
4440
+ * console.log(res.data);
4441
+ *
4442
+ * // Example response
4443
+ * // {
4444
+ * // "nextPageToken": "my_nextPageToken",
4445
+ * // "repositories": [],
4446
+ * // "unreachable": []
4447
+ * // }
4448
+ * }
4449
+ *
4450
+ * main().catch(e => {
4451
+ * console.error(e);
4452
+ * throw e;
4453
+ * });
4454
+ *
4455
+ * ```
4456
+ *
4457
+ * @param params - Parameters for request
4458
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4459
+ * @param callback - Optional callback that handles the response.
4460
+ * @returns A promise if used with async/await, or void if used with a callback.
4461
+ */
4462
+ list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4463
+ list(params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListRepositoriesResponse>>;
4464
+ list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4465
+ list(params: Params$Resource$Projects$Locations$Repositories$List, options: MethodOptions | BodyResponseCallback<Schema$ListRepositoriesResponse>, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
4466
+ list(params: Params$Resource$Projects$Locations$Repositories$List, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
4467
+ list(callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
4468
+ /**
4469
+ * Moves a Repository to a new location.
4470
+ * @example
4471
+ * ```js
4472
+ * // Before running the sample:
4473
+ * // - Enable the API at:
4474
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4475
+ * // - Login into gcloud by running:
4476
+ * // ```sh
4477
+ * // $ gcloud auth application-default login
4478
+ * // ```
4479
+ * // - Install the npm module by running:
4480
+ * // ```sh
4481
+ * // $ npm install googleapis
4482
+ * // ```
4483
+ *
4484
+ * const {google} = require('googleapis');
4485
+ * const dataform = google.dataform('v1');
4486
+ *
4487
+ * async function main() {
4488
+ * const auth = new google.auth.GoogleAuth({
4489
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4490
+ * scopes: [
4491
+ * 'https://www.googleapis.com/auth/bigquery',
4492
+ * 'https://www.googleapis.com/auth/cloud-platform',
4493
+ * ],
4494
+ * });
4495
+ *
4496
+ * // Acquire an auth client, and bind it to all future calls
4497
+ * const authClient = await auth.getClient();
4498
+ * google.options({auth: authClient});
4499
+ *
4500
+ * // Do the magic
4501
+ * const res = await dataform.projects.locations.repositories.move({
4502
+ * // Required. The full resource name of the repository to move.
4503
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4504
+ *
4505
+ * // Request body metadata
4506
+ * requestBody: {
4507
+ * // request body parameters
4508
+ * // {
4509
+ * // "destinationContainingFolder": "my_destinationContainingFolder"
4510
+ * // }
4511
+ * },
4512
+ * });
4513
+ * console.log(res.data);
4514
+ *
4515
+ * // Example response
4516
+ * // {
4517
+ * // "done": false,
4518
+ * // "error": {},
4519
+ * // "metadata": {},
4520
+ * // "name": "my_name",
4521
+ * // "response": {}
4522
+ * // }
4523
+ * }
4524
+ *
4525
+ * main().catch(e => {
4526
+ * console.error(e);
4527
+ * throw e;
4528
+ * });
4529
+ *
4530
+ * ```
4531
+ *
4532
+ * @param params - Parameters for request
4533
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4534
+ * @param callback - Optional callback that handles the response.
4535
+ * @returns A promise if used with async/await, or void if used with a callback.
4536
+ */
4537
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4538
+ move(params?: Params$Resource$Projects$Locations$Repositories$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4539
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4540
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4541
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, callback: BodyResponseCallback<Schema$Operation>): void;
4542
+ move(callback: BodyResponseCallback<Schema$Operation>): void;
4543
+ /**
4544
+ * 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.*
4545
+ * @example
4546
+ * ```js
4547
+ * // Before running the sample:
4548
+ * // - Enable the API at:
4549
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4550
+ * // - Login into gcloud by running:
4551
+ * // ```sh
4552
+ * // $ gcloud auth application-default login
4553
+ * // ```
4554
+ * // - Install the npm module by running:
4555
+ * // ```sh
4556
+ * // $ npm install googleapis
4557
+ * // ```
4558
+ *
4559
+ * const {google} = require('googleapis');
4560
+ * const dataform = google.dataform('v1');
4561
+ *
4562
+ * async function main() {
4563
+ * const auth = new google.auth.GoogleAuth({
4564
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4565
+ * scopes: [
4566
+ * 'https://www.googleapis.com/auth/bigquery',
4567
+ * 'https://www.googleapis.com/auth/cloud-platform',
4568
+ * ],
4569
+ * });
4570
+ *
4571
+ * // Acquire an auth client, and bind it to all future calls
4572
+ * const authClient = await auth.getClient();
4573
+ * google.options({auth: authClient});
4574
+ *
4575
+ * // Do the magic
4576
+ * const res = await dataform.projects.locations.repositories.patch({
4577
+ * // Identifier. The repository's name.
4578
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4579
+ * // Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
4580
+ * updateMask: 'placeholder-value',
4581
+ *
4582
+ * // Request body metadata
4583
+ * requestBody: {
4584
+ * // request body parameters
4585
+ * // {
4586
+ * // "containingFolder": "my_containingFolder",
4587
+ * // "createTime": "my_createTime",
4588
+ * // "dataEncryptionState": {},
4589
+ * // "displayName": "my_displayName",
4590
+ * // "gitRemoteSettings": {},
4591
+ * // "internalMetadata": "my_internalMetadata",
4592
+ * // "kmsKeyName": "my_kmsKeyName",
4593
+ * // "labels": {},
4594
+ * // "name": "my_name",
4595
+ * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
4596
+ * // "serviceAccount": "my_serviceAccount",
4597
+ * // "setAuthenticatedUserAdmin": false,
4598
+ * // "teamFolderName": "my_teamFolderName",
4599
+ * // "workspaceCompilationOverrides": {}
4600
+ * // }
4601
+ * },
4602
+ * });
4603
+ * console.log(res.data);
4604
+ *
4605
+ * // Example response
4606
+ * // {
4607
+ * // "containingFolder": "my_containingFolder",
4608
+ * // "createTime": "my_createTime",
4609
+ * // "dataEncryptionState": {},
4610
+ * // "displayName": "my_displayName",
4611
+ * // "gitRemoteSettings": {},
4612
+ * // "internalMetadata": "my_internalMetadata",
4613
+ * // "kmsKeyName": "my_kmsKeyName",
4614
+ * // "labels": {},
4615
+ * // "name": "my_name",
4616
+ * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
4617
+ * // "serviceAccount": "my_serviceAccount",
4618
+ * // "setAuthenticatedUserAdmin": false,
4619
+ * // "teamFolderName": "my_teamFolderName",
4620
+ * // "workspaceCompilationOverrides": {}
4621
+ * // }
4622
+ * }
4623
+ *
4624
+ * main().catch(e => {
4625
+ * console.error(e);
4626
+ * throw e;
4627
+ * });
4628
+ *
4629
+ * ```
4630
+ *
4631
+ * @param params - Parameters for request
4632
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4633
+ * @param callback - Optional callback that handles the response.
4634
+ * @returns A promise if used with async/await, or void if used with a callback.
4635
+ */
4636
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4637
+ patch(params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
4638
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4639
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
4640
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, callback: BodyResponseCallback<Schema$Repository>): void;
4641
+ patch(callback: BodyResponseCallback<Schema$Repository>): void;
4642
+ /**
4643
+ * Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
4644
+ * @example
4645
+ * ```js
4646
+ * // Before running the sample:
4647
+ * // - Enable the API at:
4648
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4649
+ * // - Login into gcloud by running:
4650
+ * // ```sh
4651
+ * // $ gcloud auth application-default login
4652
+ * // ```
4653
+ * // - Install the npm module by running:
4654
+ * // ```sh
4655
+ * // $ npm install googleapis
4656
+ * // ```
4657
+ *
4658
+ * const {google} = require('googleapis');
4659
+ * const dataform = google.dataform('v1');
4660
+ *
4661
+ * async function main() {
4662
+ * const auth = new google.auth.GoogleAuth({
4663
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4664
+ * scopes: [
4665
+ * 'https://www.googleapis.com/auth/bigquery',
4666
+ * 'https://www.googleapis.com/auth/cloud-platform',
4667
+ * ],
4668
+ * });
4669
+ *
4670
+ * // Acquire an auth client, and bind it to all future calls
4671
+ * const authClient = await auth.getClient();
4672
+ * google.options({auth: authClient});
4673
+ *
4674
+ * // Do the magic
4675
+ * const res =
4676
+ * await dataform.projects.locations.repositories.queryDirectoryContents({
4677
+ * // Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
4678
+ * commitSha: 'placeholder-value',
4679
+ * // Required. The repository's name.
4680
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4681
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4682
+ * pageSize: 'placeholder-value',
4683
+ * // 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.
4684
+ * pageToken: 'placeholder-value',
4685
+ * // Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
4686
+ * path: 'placeholder-value',
4687
+ * });
4688
+ * console.log(res.data);
4689
+ *
4690
+ * // Example response
4691
+ * // {
4692
+ * // "directoryEntries": [],
4693
+ * // "nextPageToken": "my_nextPageToken"
4694
+ * // }
4695
+ * }
4696
+ *
4697
+ * main().catch(e => {
4698
+ * console.error(e);
4699
+ * throw e;
4700
+ * });
4701
+ *
4702
+ * ```
4703
+ *
4704
+ * @param params - Parameters for request
4705
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4706
+ * @param callback - Optional callback that handles the response.
4707
+ * @returns A promise if used with async/await, or void if used with a callback.
4708
+ */
4709
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4710
+ queryDirectoryContents(params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryRepositoryDirectoryContentsResponse>>;
4711
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4712
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: MethodOptions | BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4713
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4714
+ queryDirectoryContents(callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4715
+ /**
4716
+ * Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
4717
+ * @example
4718
+ * ```js
4719
+ * // Before running the sample:
4720
+ * // - Enable the API at:
4721
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4722
+ * // - Login into gcloud by running:
4723
+ * // ```sh
4724
+ * // $ gcloud auth application-default login
4725
+ * // ```
4726
+ * // - Install the npm module by running:
4727
+ * // ```sh
4728
+ * // $ npm install googleapis
4729
+ * // ```
4730
+ *
4731
+ * const {google} = require('googleapis');
4732
+ * const dataform = google.dataform('v1');
4733
+ *
4734
+ * async function main() {
4735
+ * const auth = new google.auth.GoogleAuth({
4736
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4737
+ * scopes: [
4738
+ * 'https://www.googleapis.com/auth/bigquery',
4739
+ * 'https://www.googleapis.com/auth/cloud-platform',
4740
+ * ],
4741
+ * });
4742
+ *
4743
+ * // Acquire an auth client, and bind it to all future calls
4744
+ * const authClient = await auth.getClient();
4745
+ * google.options({auth: authClient});
4746
+ *
4747
+ * // Do the magic
4748
+ * const res = await dataform.projects.locations.repositories.readFile({
4749
+ * // Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
4750
+ * commitSha: 'placeholder-value',
4751
+ * // Required. The repository's name.
4752
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4753
+ * // Required. Full file path to read including filename, from repository root.
4754
+ * path: 'placeholder-value',
4755
+ * });
4756
+ * console.log(res.data);
4757
+ *
4758
+ * // Example response
4759
+ * // {
4760
+ * // "contents": "my_contents"
4761
+ * // }
4762
+ * }
4763
+ *
4764
+ * main().catch(e => {
4765
+ * console.error(e);
4766
+ * throw e;
4767
+ * });
4768
+ *
4769
+ * ```
4770
+ *
4771
+ * @param params - Parameters for request
4772
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4773
+ * @param callback - Optional callback that handles the response.
4774
+ * @returns A promise if used with async/await, or void if used with a callback.
4775
+ */
4776
+ readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4777
+ readFile(params?: Params$Resource$Projects$Locations$Repositories$Readfile, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ReadRepositoryFileResponse>>;
4778
+ readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4779
+ readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, options: MethodOptions | BodyResponseCallback<Schema$ReadRepositoryFileResponse>, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
4780
+ readFile(params: Params$Resource$Projects$Locations$Repositories$Readfile, callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
3768
4781
  readFile(callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>): void;
3769
4782
  /**
3770
4783
  * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
@@ -4013,6 +5026,16 @@ export declare namespace dataform_v1 {
4013
5026
  */
4014
5027
  parent?: string;
4015
5028
  }
5029
+ export interface Params$Resource$Projects$Locations$Repositories$Move extends StandardParameters {
5030
+ /**
5031
+ * Required. The full resource name of the repository to move.
5032
+ */
5033
+ name?: string;
5034
+ /**
5035
+ * Request body metadata
5036
+ */
5037
+ requestBody?: Schema$MoveRepositoryRequest;
5038
+ }
4016
5039
  export interface Params$Resource$Projects$Locations$Repositories$Patch extends StandardParameters {
4017
5040
  /**
4018
5041
  * Identifier. The repository's name.
@@ -4216,7 +5239,7 @@ export declare namespace dataform_v1 {
4216
5239
  * // Do the magic
4217
5240
  * const res =
4218
5241
  * await dataform.projects.locations.repositories.compilationResults.get({
4219
- * // Required. The compilation result's name.
5242
+ * // Required. The compilation result's name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:GetCompilationResultRequest)
4220
5243
  * name: 'projects/my-project/locations/my-location/repositories/my-repositorie/compilationResults/my-compilationResult',
4221
5244
  * });
4222
5245
  * console.log(res.data);
@@ -4291,7 +5314,7 @@ export declare namespace dataform_v1 {
4291
5314
  * // Do the magic
4292
5315
  * const res =
4293
5316
  * await dataform.projects.locations.repositories.compilationResults.list({
4294
- * // Optional. Filter for the returned list.
5317
+ * // Optional. Filter for the returned list. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsRequest)
4295
5318
  * filter: 'placeholder-value',
4296
5319
  * // Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
4297
5320
  * orderBy: 'placeholder-value',
@@ -4415,13 +5438,13 @@ export declare namespace dataform_v1 {
4415
5438
  }
4416
5439
  export interface Params$Resource$Projects$Locations$Repositories$Compilationresults$Get extends StandardParameters {
4417
5440
  /**
4418
- * Required. The compilation result's name.
5441
+ * Required. The compilation result's name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:GetCompilationResultRequest)
4419
5442
  */
4420
5443
  name?: string;
4421
5444
  }
4422
5445
  export interface Params$Resource$Projects$Locations$Repositories$Compilationresults$List extends StandardParameters {
4423
5446
  /**
4424
- * Optional. Filter for the returned list.
5447
+ * Optional. Filter for the returned list. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListCompilationResultsRequest)
4425
5448
  */
4426
5449
  filter?: string;
4427
5450
  /**
@@ -4500,7 +5523,7 @@ export declare namespace dataform_v1 {
4500
5523
  * // Required. The repository in which to create the release config. Must be in the format `projects/x/locations/x/repositories/x`.
4501
5524
  * parent:
4502
5525
  * 'projects/my-project/locations/my-location/repositories/my-repositorie',
4503
- * // Required. The ID to use for the release config, which will become the final component of the release config's resource name.
5526
+ * // Required. The ID to use for the release config, which will become the final component of the release config's resource name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CreateReleaseConfigRequest)
4504
5527
  * releaseConfigId: 'placeholder-value',
4505
5528
  *
4506
5529
  * // Request body metadata
@@ -4588,7 +5611,7 @@ export declare namespace dataform_v1 {
4588
5611
  * // Do the magic
4589
5612
  * const res =
4590
5613
  * await dataform.projects.locations.repositories.releaseConfigs.delete({
4591
- * // Required. The release config's name.
5614
+ * // Required. The release config's name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:DeleteReleaseConfigRequest)
4592
5615
  * name: 'projects/my-project/locations/my-location/repositories/my-repositorie/releaseConfigs/my-releaseConfig',
4593
5616
  * });
4594
5617
  * console.log(res.data);
@@ -4650,7 +5673,7 @@ export declare namespace dataform_v1 {
4650
5673
  * // Do the magic
4651
5674
  * const res = await dataform.projects.locations.repositories.releaseConfigs.get(
4652
5675
  * {
4653
- * // Required. The release config's name.
5676
+ * // Required. The release config's name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:GetReleaseConfigRequest)
4654
5677
  * name: 'projects/my-project/locations/my-location/repositories/my-repositorie/releaseConfigs/my-releaseConfig',
4655
5678
  * },
4656
5679
  * );
@@ -4725,7 +5748,7 @@ export declare namespace dataform_v1 {
4725
5748
  * await dataform.projects.locations.repositories.releaseConfigs.list({
4726
5749
  * // Optional. Maximum number of release configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4727
5750
  * pageSize: 'placeholder-value',
4728
- * // 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.
5751
+ * // 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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListReleaseConfigsRequest)
4729
5752
  * pageToken: 'placeholder-value',
4730
5753
  * // Required. The repository in which to list release configs. Must be in the format `projects/x/locations/x/repositories/x`.
4731
5754
  * parent:
@@ -4856,7 +5879,7 @@ export declare namespace dataform_v1 {
4856
5879
  */
4857
5880
  parent?: string;
4858
5881
  /**
4859
- * Required. The ID to use for the release config, which will become the final component of the release config's resource name.
5882
+ * Required. The ID to use for the release config, which will become the final component of the release config's resource name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:CreateReleaseConfigRequest)
4860
5883
  */
4861
5884
  releaseConfigId?: string;
4862
5885
  /**
@@ -4866,13 +5889,13 @@ export declare namespace dataform_v1 {
4866
5889
  }
4867
5890
  export interface Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Delete extends StandardParameters {
4868
5891
  /**
4869
- * Required. The release config's name.
5892
+ * Required. The release config's name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:DeleteReleaseConfigRequest)
4870
5893
  */
4871
5894
  name?: string;
4872
5895
  }
4873
5896
  export interface Params$Resource$Projects$Locations$Repositories$Releaseconfigs$Get extends StandardParameters {
4874
5897
  /**
4875
- * Required. The release config's name.
5898
+ * Required. The release config's name. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:GetReleaseConfigRequest)
4876
5899
  */
4877
5900
  name?: string;
4878
5901
  }
@@ -4882,7 +5905,7 @@ export declare namespace dataform_v1 {
4882
5905
  */
4883
5906
  pageSize?: number;
4884
5907
  /**
4885
- * 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.
5908
+ * 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. LINT.ThenChange(//depot/google3/google/cloud/dataform/v2main/data_pipelines.proto:ListReleaseConfigsRequest)
4886
5909
  */
4887
5910
  pageToken?: string;
4888
5911
  /**
@@ -5983,6 +7006,7 @@ export declare namespace dataform_v1 {
5983
7006
  * // {
5984
7007
  * // "createTime": "my_createTime",
5985
7008
  * // "dataEncryptionState": {},
7009
+ * // "disableMoves": false,
5986
7010
  * // "internalMetadata": "my_internalMetadata",
5987
7011
  * // "name": "my_name",
5988
7012
  * // "privateResourceMetadata": {}
@@ -5995,6 +7019,7 @@ export declare namespace dataform_v1 {
5995
7019
  * // {
5996
7020
  * // "createTime": "my_createTime",
5997
7021
  * // "dataEncryptionState": {},
7022
+ * // "disableMoves": false,
5998
7023
  * // "internalMetadata": "my_internalMetadata",
5999
7024
  * // "name": "my_name",
6000
7025
  * // "privateResourceMetadata": {}
@@ -6325,6 +7350,7 @@ export declare namespace dataform_v1 {
6325
7350
  * // {
6326
7351
  * // "createTime": "my_createTime",
6327
7352
  * // "dataEncryptionState": {},
7353
+ * // "disableMoves": false,
6328
7354
  * // "internalMetadata": "my_internalMetadata",
6329
7355
  * // "name": "my_name",
6330
7356
  * // "privateResourceMetadata": {}
@@ -6959,6 +7985,8 @@ export declare namespace dataform_v1 {
6959
7985
  * pageToken: 'placeholder-value',
6960
7986
  * // Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.
6961
7987
  * path: 'placeholder-value',
7988
+ * // Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.
7989
+ * view: 'placeholder-value',
6962
7990
  * // Required. The workspace's name.
6963
7991
  * workspace:
6964
7992
  * 'projects/my-project/locations/my-location/repositories/my-repositorie/workspaces/my-workspace',
@@ -7734,6 +8762,10 @@ export declare namespace dataform_v1 {
7734
8762
  * Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.
7735
8763
  */
7736
8764
  path?: string;
8765
+ /**
8766
+ * Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.
8767
+ */
8768
+ view?: string;
7737
8769
  /**
7738
8770
  * Required. The workspace's name.
7739
8771
  */
@@ -7829,11 +8861,296 @@ export declare namespace dataform_v1 {
7829
8861
  /**
7830
8862
  * Request body metadata
7831
8863
  */
7832
- requestBody?: Schema$WriteFileRequest;
7833
- }
7834
- export class Resource$Projects$Locations$Teamfolders {
7835
- context: APIRequestContext;
7836
- constructor(context: APIRequestContext);
8864
+ requestBody?: Schema$WriteFileRequest;
8865
+ }
8866
+ export class Resource$Projects$Locations$Teamfolders {
8867
+ context: APIRequestContext;
8868
+ constructor(context: APIRequestContext);
8869
+ /**
8870
+ * Creates a new TeamFolder in a given project and location.
8871
+ * @example
8872
+ * ```js
8873
+ * // Before running the sample:
8874
+ * // - Enable the API at:
8875
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
8876
+ * // - Login into gcloud by running:
8877
+ * // ```sh
8878
+ * // $ gcloud auth application-default login
8879
+ * // ```
8880
+ * // - Install the npm module by running:
8881
+ * // ```sh
8882
+ * // $ npm install googleapis
8883
+ * // ```
8884
+ *
8885
+ * const {google} = require('googleapis');
8886
+ * const dataform = google.dataform('v1');
8887
+ *
8888
+ * async function main() {
8889
+ * const auth = new google.auth.GoogleAuth({
8890
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8891
+ * scopes: [
8892
+ * 'https://www.googleapis.com/auth/bigquery',
8893
+ * 'https://www.googleapis.com/auth/cloud-platform',
8894
+ * ],
8895
+ * });
8896
+ *
8897
+ * // Acquire an auth client, and bind it to all future calls
8898
+ * const authClient = await auth.getClient();
8899
+ * google.options({auth: authClient});
8900
+ *
8901
+ * // Do the magic
8902
+ * const res = await dataform.projects.locations.teamFolders.create({
8903
+ * // Required. The location in which to create the TeamFolder. Must be in the format `projects/x/locations/x`.
8904
+ * parent: 'projects/my-project/locations/my-location',
8905
+ *
8906
+ * // Request body metadata
8907
+ * requestBody: {
8908
+ * // request body parameters
8909
+ * // {
8910
+ * // "createTime": "my_createTime",
8911
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
8912
+ * // "displayName": "my_displayName",
8913
+ * // "internalMetadata": "my_internalMetadata",
8914
+ * // "name": "my_name",
8915
+ * // "updateTime": "my_updateTime"
8916
+ * // }
8917
+ * },
8918
+ * });
8919
+ * console.log(res.data);
8920
+ *
8921
+ * // Example response
8922
+ * // {
8923
+ * // "createTime": "my_createTime",
8924
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
8925
+ * // "displayName": "my_displayName",
8926
+ * // "internalMetadata": "my_internalMetadata",
8927
+ * // "name": "my_name",
8928
+ * // "updateTime": "my_updateTime"
8929
+ * // }
8930
+ * }
8931
+ *
8932
+ * main().catch(e => {
8933
+ * console.error(e);
8934
+ * throw e;
8935
+ * });
8936
+ *
8937
+ * ```
8938
+ *
8939
+ * @param params - Parameters for request
8940
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8941
+ * @param callback - Optional callback that handles the response.
8942
+ * @returns A promise if used with async/await, or void if used with a callback.
8943
+ */
8944
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
8945
+ create(params?: Params$Resource$Projects$Locations$Teamfolders$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TeamFolder>>;
8946
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
8947
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, options: MethodOptions | BodyResponseCallback<Schema$TeamFolder>, callback: BodyResponseCallback<Schema$TeamFolder>): void;
8948
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, callback: BodyResponseCallback<Schema$TeamFolder>): void;
8949
+ create(callback: BodyResponseCallback<Schema$TeamFolder>): void;
8950
+ /**
8951
+ * Deletes a single TeamFolder.
8952
+ * @example
8953
+ * ```js
8954
+ * // Before running the sample:
8955
+ * // - Enable the API at:
8956
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
8957
+ * // - Login into gcloud by running:
8958
+ * // ```sh
8959
+ * // $ gcloud auth application-default login
8960
+ * // ```
8961
+ * // - Install the npm module by running:
8962
+ * // ```sh
8963
+ * // $ npm install googleapis
8964
+ * // ```
8965
+ *
8966
+ * const {google} = require('googleapis');
8967
+ * const dataform = google.dataform('v1');
8968
+ *
8969
+ * async function main() {
8970
+ * const auth = new google.auth.GoogleAuth({
8971
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8972
+ * scopes: [
8973
+ * 'https://www.googleapis.com/auth/bigquery',
8974
+ * 'https://www.googleapis.com/auth/cloud-platform',
8975
+ * ],
8976
+ * });
8977
+ *
8978
+ * // Acquire an auth client, and bind it to all future calls
8979
+ * const authClient = await auth.getClient();
8980
+ * google.options({auth: authClient});
8981
+ *
8982
+ * // Do the magic
8983
+ * const res = await dataform.projects.locations.teamFolders.delete({
8984
+ * // Required. The TeamFolder's name.
8985
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
8986
+ * });
8987
+ * console.log(res.data);
8988
+ *
8989
+ * // Example response
8990
+ * // {}
8991
+ * }
8992
+ *
8993
+ * main().catch(e => {
8994
+ * console.error(e);
8995
+ * throw e;
8996
+ * });
8997
+ *
8998
+ * ```
8999
+ *
9000
+ * @param params - Parameters for request
9001
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9002
+ * @param callback - Optional callback that handles the response.
9003
+ * @returns A promise if used with async/await, or void if used with a callback.
9004
+ */
9005
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9006
+ delete(params?: Params$Resource$Projects$Locations$Teamfolders$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
9007
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9008
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
9009
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
9010
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
9011
+ /**
9012
+ * Deletes a TeamFolder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and WorkflowConfigs).
9013
+ * @example
9014
+ * ```js
9015
+ * // Before running the sample:
9016
+ * // - Enable the API at:
9017
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9018
+ * // - Login into gcloud by running:
9019
+ * // ```sh
9020
+ * // $ gcloud auth application-default login
9021
+ * // ```
9022
+ * // - Install the npm module by running:
9023
+ * // ```sh
9024
+ * // $ npm install googleapis
9025
+ * // ```
9026
+ *
9027
+ * const {google} = require('googleapis');
9028
+ * const dataform = google.dataform('v1');
9029
+ *
9030
+ * async function main() {
9031
+ * const auth = new google.auth.GoogleAuth({
9032
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9033
+ * scopes: [
9034
+ * 'https://www.googleapis.com/auth/bigquery',
9035
+ * 'https://www.googleapis.com/auth/cloud-platform',
9036
+ * ],
9037
+ * });
9038
+ *
9039
+ * // Acquire an auth client, and bind it to all future calls
9040
+ * const authClient = await auth.getClient();
9041
+ * google.options({auth: authClient});
9042
+ *
9043
+ * // Do the magic
9044
+ * const res = await dataform.projects.locations.teamFolders.deleteTree({
9045
+ * // Required. The TeamFolder's name. Format: projects/{project\}/locations/{location\}/teamFolders/{team_folder\}
9046
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
9047
+ *
9048
+ * // Request body metadata
9049
+ * requestBody: {
9050
+ * // request body parameters
9051
+ * // {
9052
+ * // "force": false
9053
+ * // }
9054
+ * },
9055
+ * });
9056
+ * console.log(res.data);
9057
+ *
9058
+ * // Example response
9059
+ * // {
9060
+ * // "done": false,
9061
+ * // "error": {},
9062
+ * // "metadata": {},
9063
+ * // "name": "my_name",
9064
+ * // "response": {}
9065
+ * // }
9066
+ * }
9067
+ *
9068
+ * main().catch(e => {
9069
+ * console.error(e);
9070
+ * throw e;
9071
+ * });
9072
+ *
9073
+ * ```
9074
+ *
9075
+ * @param params - Parameters for request
9076
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9077
+ * @param callback - Optional callback that handles the response.
9078
+ * @returns A promise if used with async/await, or void if used with a callback.
9079
+ */
9080
+ deleteTree(params: Params$Resource$Projects$Locations$Teamfolders$Deletetree, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9081
+ deleteTree(params?: Params$Resource$Projects$Locations$Teamfolders$Deletetree, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9082
+ deleteTree(params: Params$Resource$Projects$Locations$Teamfolders$Deletetree, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9083
+ deleteTree(params: Params$Resource$Projects$Locations$Teamfolders$Deletetree, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
9084
+ deleteTree(params: Params$Resource$Projects$Locations$Teamfolders$Deletetree, callback: BodyResponseCallback<Schema$Operation>): void;
9085
+ deleteTree(callback: BodyResponseCallback<Schema$Operation>): void;
9086
+ /**
9087
+ * Fetches a single TeamFolder.
9088
+ * @example
9089
+ * ```js
9090
+ * // Before running the sample:
9091
+ * // - Enable the API at:
9092
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9093
+ * // - Login into gcloud by running:
9094
+ * // ```sh
9095
+ * // $ gcloud auth application-default login
9096
+ * // ```
9097
+ * // - Install the npm module by running:
9098
+ * // ```sh
9099
+ * // $ npm install googleapis
9100
+ * // ```
9101
+ *
9102
+ * const {google} = require('googleapis');
9103
+ * const dataform = google.dataform('v1');
9104
+ *
9105
+ * async function main() {
9106
+ * const auth = new google.auth.GoogleAuth({
9107
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9108
+ * scopes: [
9109
+ * 'https://www.googleapis.com/auth/bigquery',
9110
+ * 'https://www.googleapis.com/auth/cloud-platform',
9111
+ * ],
9112
+ * });
9113
+ *
9114
+ * // Acquire an auth client, and bind it to all future calls
9115
+ * const authClient = await auth.getClient();
9116
+ * google.options({auth: authClient});
9117
+ *
9118
+ * // Do the magic
9119
+ * const res = await dataform.projects.locations.teamFolders.get({
9120
+ * // Required. The TeamFolder's name.
9121
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
9122
+ * });
9123
+ * console.log(res.data);
9124
+ *
9125
+ * // Example response
9126
+ * // {
9127
+ * // "createTime": "my_createTime",
9128
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
9129
+ * // "displayName": "my_displayName",
9130
+ * // "internalMetadata": "my_internalMetadata",
9131
+ * // "name": "my_name",
9132
+ * // "updateTime": "my_updateTime"
9133
+ * // }
9134
+ * }
9135
+ *
9136
+ * main().catch(e => {
9137
+ * console.error(e);
9138
+ * throw e;
9139
+ * });
9140
+ *
9141
+ * ```
9142
+ *
9143
+ * @param params - Parameters for request
9144
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9145
+ * @param callback - Optional callback that handles the response.
9146
+ * @returns A promise if used with async/await, or void if used with a callback.
9147
+ */
9148
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9149
+ get(params?: Params$Resource$Projects$Locations$Teamfolders$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TeamFolder>>;
9150
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9151
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, options: MethodOptions | BodyResponseCallback<Schema$TeamFolder>, callback: BodyResponseCallback<Schema$TeamFolder>): void;
9152
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, callback: BodyResponseCallback<Schema$TeamFolder>): void;
9153
+ get(callback: BodyResponseCallback<Schema$TeamFolder>): void;
7837
9154
  /**
7838
9155
  * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
7839
9156
  * @example
@@ -7902,6 +9219,234 @@ export declare namespace dataform_v1 {
7902
9219
  getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
7903
9220
  getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
7904
9221
  getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
9222
+ /**
9223
+ * Updates a single TeamFolder.
9224
+ * @example
9225
+ * ```js
9226
+ * // Before running the sample:
9227
+ * // - Enable the API at:
9228
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9229
+ * // - Login into gcloud by running:
9230
+ * // ```sh
9231
+ * // $ gcloud auth application-default login
9232
+ * // ```
9233
+ * // - Install the npm module by running:
9234
+ * // ```sh
9235
+ * // $ npm install googleapis
9236
+ * // ```
9237
+ *
9238
+ * const {google} = require('googleapis');
9239
+ * const dataform = google.dataform('v1');
9240
+ *
9241
+ * async function main() {
9242
+ * const auth = new google.auth.GoogleAuth({
9243
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9244
+ * scopes: [
9245
+ * 'https://www.googleapis.com/auth/bigquery',
9246
+ * 'https://www.googleapis.com/auth/cloud-platform',
9247
+ * ],
9248
+ * });
9249
+ *
9250
+ * // Acquire an auth client, and bind it to all future calls
9251
+ * const authClient = await auth.getClient();
9252
+ * google.options({auth: authClient});
9253
+ *
9254
+ * // Do the magic
9255
+ * const res = await dataform.projects.locations.teamFolders.patch({
9256
+ * // Identifier. The TeamFolder's name.
9257
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
9258
+ * // Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated.
9259
+ * updateMask: 'placeholder-value',
9260
+ *
9261
+ * // Request body metadata
9262
+ * requestBody: {
9263
+ * // request body parameters
9264
+ * // {
9265
+ * // "createTime": "my_createTime",
9266
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
9267
+ * // "displayName": "my_displayName",
9268
+ * // "internalMetadata": "my_internalMetadata",
9269
+ * // "name": "my_name",
9270
+ * // "updateTime": "my_updateTime"
9271
+ * // }
9272
+ * },
9273
+ * });
9274
+ * console.log(res.data);
9275
+ *
9276
+ * // Example response
9277
+ * // {
9278
+ * // "createTime": "my_createTime",
9279
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
9280
+ * // "displayName": "my_displayName",
9281
+ * // "internalMetadata": "my_internalMetadata",
9282
+ * // "name": "my_name",
9283
+ * // "updateTime": "my_updateTime"
9284
+ * // }
9285
+ * }
9286
+ *
9287
+ * main().catch(e => {
9288
+ * console.error(e);
9289
+ * throw e;
9290
+ * });
9291
+ *
9292
+ * ```
9293
+ *
9294
+ * @param params - Parameters for request
9295
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9296
+ * @param callback - Optional callback that handles the response.
9297
+ * @returns A promise if used with async/await, or void if used with a callback.
9298
+ */
9299
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9300
+ patch(params?: Params$Resource$Projects$Locations$Teamfolders$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TeamFolder>>;
9301
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9302
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, options: MethodOptions | BodyResponseCallback<Schema$TeamFolder>, callback: BodyResponseCallback<Schema$TeamFolder>): void;
9303
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, callback: BodyResponseCallback<Schema$TeamFolder>): void;
9304
+ patch(callback: BodyResponseCallback<Schema$TeamFolder>): void;
9305
+ /**
9306
+ * Returns the contents of a given TeamFolder.
9307
+ * @example
9308
+ * ```js
9309
+ * // Before running the sample:
9310
+ * // - Enable the API at:
9311
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9312
+ * // - Login into gcloud by running:
9313
+ * // ```sh
9314
+ * // $ gcloud auth application-default login
9315
+ * // ```
9316
+ * // - Install the npm module by running:
9317
+ * // ```sh
9318
+ * // $ npm install googleapis
9319
+ * // ```
9320
+ *
9321
+ * const {google} = require('googleapis');
9322
+ * const dataform = google.dataform('v1');
9323
+ *
9324
+ * async function main() {
9325
+ * const auth = new google.auth.GoogleAuth({
9326
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9327
+ * scopes: [
9328
+ * 'https://www.googleapis.com/auth/bigquery',
9329
+ * 'https://www.googleapis.com/auth/cloud-platform',
9330
+ * ],
9331
+ * });
9332
+ *
9333
+ * // Acquire an auth client, and bind it to all future calls
9334
+ * const authClient = await auth.getClient();
9335
+ * google.options({auth: authClient});
9336
+ *
9337
+ * // Do the magic
9338
+ * const res = await dataform.projects.locations.teamFolders.queryContents({
9339
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
9340
+ * filter: 'placeholder-value',
9341
+ * // Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by `order_by` in ascending order. Supported keywords: `display_name` (default), `create_time`, last_modified_time. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
9342
+ * orderBy: 'placeholder-value',
9343
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9344
+ * pageSize: 'placeholder-value',
9345
+ * // Optional. Page token received from a previous `QueryTeamFolderContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryTeamFolderContents`, with the exception of `page_size`, must match the call that provided the page token.
9346
+ * pageToken: 'placeholder-value',
9347
+ * // Required. Resource name of the TeamFolder to list contents for. Format: `projects/x/locations/x/teamFolders/x`.
9348
+ * teamFolder:
9349
+ * 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
9350
+ * });
9351
+ * console.log(res.data);
9352
+ *
9353
+ * // Example response
9354
+ * // {
9355
+ * // "entries": [],
9356
+ * // "nextPageToken": "my_nextPageToken"
9357
+ * // }
9358
+ * }
9359
+ *
9360
+ * main().catch(e => {
9361
+ * console.error(e);
9362
+ * throw e;
9363
+ * });
9364
+ *
9365
+ * ```
9366
+ *
9367
+ * @param params - Parameters for request
9368
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9369
+ * @param callback - Optional callback that handles the response.
9370
+ * @returns A promise if used with async/await, or void if used with a callback.
9371
+ */
9372
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9373
+ queryContents(params?: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryTeamFolderContentsResponse>>;
9374
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9375
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options: MethodOptions | BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>, callback: BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>): void;
9376
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, callback: BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>): void;
9377
+ queryContents(callback: BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>): void;
9378
+ /**
9379
+ * Returns all TeamFolders in a given location that the caller has access to and match the provided filter.
9380
+ * @example
9381
+ * ```js
9382
+ * // Before running the sample:
9383
+ * // - Enable the API at:
9384
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9385
+ * // - Login into gcloud by running:
9386
+ * // ```sh
9387
+ * // $ gcloud auth application-default login
9388
+ * // ```
9389
+ * // - Install the npm module by running:
9390
+ * // ```sh
9391
+ * // $ npm install googleapis
9392
+ * // ```
9393
+ *
9394
+ * const {google} = require('googleapis');
9395
+ * const dataform = google.dataform('v1');
9396
+ *
9397
+ * async function main() {
9398
+ * const auth = new google.auth.GoogleAuth({
9399
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9400
+ * scopes: [
9401
+ * 'https://www.googleapis.com/auth/bigquery',
9402
+ * 'https://www.googleapis.com/auth/cloud-platform',
9403
+ * ],
9404
+ * });
9405
+ *
9406
+ * // Acquire an auth client, and bind it to all future calls
9407
+ * const authClient = await auth.getClient();
9408
+ * google.options({auth: authClient});
9409
+ *
9410
+ * // Do the magic
9411
+ * const res = await dataform.projects.locations.teamFolders.search({
9412
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
9413
+ * filter: 'placeholder-value',
9414
+ * // Required. Location in which to query TeamFolders. Format: `projects/x/locations/x`.
9415
+ * location: 'projects/my-project/locations/my-location',
9416
+ * // Optional. Field to additionally sort results by. Supported keywords: `display_name` (default), `create_time`, `last_modified_time`. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
9417
+ * orderBy: 'placeholder-value',
9418
+ * // Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9419
+ * pageSize: 'placeholder-value',
9420
+ * // Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchTeamFolders`, with the exception of `page_size`, must match the call that provided the page token.
9421
+ * pageToken: 'placeholder-value',
9422
+ * });
9423
+ * console.log(res.data);
9424
+ *
9425
+ * // Example response
9426
+ * // {
9427
+ * // "nextPageToken": "my_nextPageToken",
9428
+ * // "results": []
9429
+ * // }
9430
+ * }
9431
+ *
9432
+ * main().catch(e => {
9433
+ * console.error(e);
9434
+ * throw e;
9435
+ * });
9436
+ *
9437
+ * ```
9438
+ *
9439
+ * @param params - Parameters for request
9440
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9441
+ * @param callback - Optional callback that handles the response.
9442
+ * @returns A promise if used with async/await, or void if used with a callback.
9443
+ */
9444
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9445
+ search(params?: Params$Resource$Projects$Locations$Teamfolders$Search, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SearchTeamFoldersResponse>>;
9446
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9447
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, options: MethodOptions | BodyResponseCallback<Schema$SearchTeamFoldersResponse>, callback: BodyResponseCallback<Schema$SearchTeamFoldersResponse>): void;
9448
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, callback: BodyResponseCallback<Schema$SearchTeamFoldersResponse>): void;
9449
+ search(callback: BodyResponseCallback<Schema$SearchTeamFoldersResponse>): void;
7905
9450
  /**
7906
9451
  * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
7907
9452
  * @example
@@ -8049,6 +9594,38 @@ export declare namespace dataform_v1 {
8049
9594
  testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
8050
9595
  testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
8051
9596
  }
9597
+ export interface Params$Resource$Projects$Locations$Teamfolders$Create extends StandardParameters {
9598
+ /**
9599
+ * Required. The location in which to create the TeamFolder. Must be in the format `projects/x/locations/x`.
9600
+ */
9601
+ parent?: string;
9602
+ /**
9603
+ * Request body metadata
9604
+ */
9605
+ requestBody?: Schema$TeamFolder;
9606
+ }
9607
+ export interface Params$Resource$Projects$Locations$Teamfolders$Delete extends StandardParameters {
9608
+ /**
9609
+ * Required. The TeamFolder's name.
9610
+ */
9611
+ name?: string;
9612
+ }
9613
+ export interface Params$Resource$Projects$Locations$Teamfolders$Deletetree extends StandardParameters {
9614
+ /**
9615
+ * Required. The TeamFolder's name. Format: projects/{project\}/locations/{location\}/teamFolders/{team_folder\}
9616
+ */
9617
+ name?: string;
9618
+ /**
9619
+ * Request body metadata
9620
+ */
9621
+ requestBody?: Schema$DeleteTeamFolderTreeRequest;
9622
+ }
9623
+ export interface Params$Resource$Projects$Locations$Teamfolders$Get extends StandardParameters {
9624
+ /**
9625
+ * Required. The TeamFolder's name.
9626
+ */
9627
+ name?: string;
9628
+ }
8052
9629
  export interface Params$Resource$Projects$Locations$Teamfolders$Getiampolicy extends StandardParameters {
8053
9630
  /**
8054
9631
  * 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).
@@ -8059,6 +9636,64 @@ export declare namespace dataform_v1 {
8059
9636
  */
8060
9637
  resource?: string;
8061
9638
  }
9639
+ export interface Params$Resource$Projects$Locations$Teamfolders$Patch extends StandardParameters {
9640
+ /**
9641
+ * Identifier. The TeamFolder's name.
9642
+ */
9643
+ name?: string;
9644
+ /**
9645
+ * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated.
9646
+ */
9647
+ updateMask?: string;
9648
+ /**
9649
+ * Request body metadata
9650
+ */
9651
+ requestBody?: Schema$TeamFolder;
9652
+ }
9653
+ export interface Params$Resource$Projects$Locations$Teamfolders$Querycontents extends StandardParameters {
9654
+ /**
9655
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
9656
+ */
9657
+ filter?: string;
9658
+ /**
9659
+ * Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by `order_by` in ascending order. Supported keywords: `display_name` (default), `create_time`, last_modified_time. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
9660
+ */
9661
+ orderBy?: string;
9662
+ /**
9663
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9664
+ */
9665
+ pageSize?: number;
9666
+ /**
9667
+ * Optional. Page token received from a previous `QueryTeamFolderContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryTeamFolderContents`, with the exception of `page_size`, must match the call that provided the page token.
9668
+ */
9669
+ pageToken?: string;
9670
+ /**
9671
+ * Required. Resource name of the TeamFolder to list contents for. Format: `projects/x/locations/x/teamFolders/x`.
9672
+ */
9673
+ teamFolder?: string;
9674
+ }
9675
+ export interface Params$Resource$Projects$Locations$Teamfolders$Search extends StandardParameters {
9676
+ /**
9677
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: * `filter="display_name="MyFolder""`
9678
+ */
9679
+ filter?: string;
9680
+ /**
9681
+ * Required. Location in which to query TeamFolders. Format: `projects/x/locations/x`.
9682
+ */
9683
+ location?: string;
9684
+ /**
9685
+ * Optional. Field to additionally sort results by. Supported keywords: `display_name` (default), `create_time`, `last_modified_time`. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"`
9686
+ */
9687
+ orderBy?: string;
9688
+ /**
9689
+ * Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9690
+ */
9691
+ pageSize?: number;
9692
+ /**
9693
+ * Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchTeamFolders`, with the exception of `page_size`, must match the call that provided the page token.
9694
+ */
9695
+ pageToken?: string;
9696
+ }
8062
9697
  export interface Params$Resource$Projects$Locations$Teamfolders$Setiampolicy extends StandardParameters {
8063
9698
  /**
8064
9699
  * 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.