@googleapis/dataform 13.1.0 → 14.1.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.
@@ -427,6 +427,10 @@ export declare namespace dataform_v1beta1 {
427
427
  * Output only. The compilation result's name.
428
428
  */
429
429
  name?: string | null;
430
+ /**
431
+ * Output only. Metadata indicating whether this resource is user-scoped. `CompilationResult` resource is `user_scoped` only if it is sourced from a workspace.
432
+ */
433
+ privateResourceMetadata?: Schema$PrivateResourceMetadata;
430
434
  /**
431
435
  * Immutable. The name of the release config to compile. Must be in the format `projects/x/locations/x/repositories/x/releaseConfigs/x`.
432
436
  */
@@ -716,6 +720,56 @@ export declare namespace dataform_v1beta1 {
716
720
  */
717
721
  path?: string | null;
718
722
  }
723
+ /**
724
+ * Represents a Dataform Folder. This is a resource that is used to organize Files and other Folders and provide hierarchical access controls.
725
+ */
726
+ export interface Schema$Folder {
727
+ /**
728
+ * 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 projects/{project\}/locations/{location\} if this is a root Folder. This field can only be updated through MoveFolder.
729
+ */
730
+ containingFolder?: string | null;
731
+ /**
732
+ * Output only. The timestamp of when the Folder was created.
733
+ */
734
+ createTime?: string | null;
735
+ /**
736
+ * Output only. The IAM principal identifier of the creator of the Folder.
737
+ */
738
+ creatorIamPrincipal?: string | null;
739
+ /**
740
+ * Required. The Folder's user-friendly name.
741
+ */
742
+ displayName?: string | null;
743
+ /**
744
+ * 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.
745
+ */
746
+ internalMetadata?: string | null;
747
+ /**
748
+ * Identifier. The Folder's name.
749
+ */
750
+ name?: string | null;
751
+ /**
752
+ * 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.
753
+ */
754
+ teamFolderName?: string | null;
755
+ /**
756
+ * Output only. The timestamp of when the Folder was last updated.
757
+ */
758
+ updateTime?: string | null;
759
+ }
760
+ /**
761
+ * Represents a single content entry.
762
+ */
763
+ export interface Schema$FolderContentsEntry {
764
+ /**
765
+ * A subfolder.
766
+ */
767
+ folder?: Schema$Folder;
768
+ /**
769
+ * A repository.
770
+ */
771
+ repository?: Schema$Repository;
772
+ }
719
773
  /**
720
774
  * Controls Git remote configuration for a repository.
721
775
  */
@@ -891,7 +945,7 @@ export declare namespace dataform_v1beta1 {
891
945
  */
892
946
  operations?: Schema$Operation[];
893
947
  /**
894
- * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
948
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
895
949
  */
896
950
  unreachable?: string[] | null;
897
951
  }
@@ -1080,6 +1134,24 @@ export declare namespace dataform_v1beta1 {
1080
1134
  */
1081
1135
  export interface Schema$MoveFileResponse {
1082
1136
  }
1137
+ /**
1138
+ * `MoveFolder` request message.
1139
+ */
1140
+ export interface Schema$MoveFolderRequest {
1141
+ /**
1142
+ * Required. 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`
1143
+ */
1144
+ destinationContainingFolder?: string | null;
1145
+ }
1146
+ /**
1147
+ * `MoveRepository` request message.
1148
+ */
1149
+ export interface Schema$MoveRepositoryRequest {
1150
+ /**
1151
+ * Required. 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`
1152
+ */
1153
+ destinationContainingFolder?: string | null;
1154
+ }
1083
1155
  /**
1084
1156
  * Represents a notebook.
1085
1157
  */
@@ -1252,6 +1324,15 @@ export declare namespace dataform_v1beta1 {
1252
1324
  */
1253
1325
  type?: string | null;
1254
1326
  }
1327
+ /**
1328
+ * Metadata used to identify if a resource is user scoped.
1329
+ */
1330
+ export interface Schema$PrivateResourceMetadata {
1331
+ /**
1332
+ * Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace.
1333
+ */
1334
+ userScoped?: boolean | null;
1335
+ }
1255
1336
  /**
1256
1337
  * `PullGitCommits` request message.
1257
1338
  */
@@ -1310,6 +1391,19 @@ export declare namespace dataform_v1beta1 {
1310
1391
  */
1311
1392
  nextPageToken?: string | null;
1312
1393
  }
1394
+ /**
1395
+ * `QueryFolderContents` response message.
1396
+ */
1397
+ export interface Schema$QueryFolderContentsResponse {
1398
+ /**
1399
+ * List of entries in the folder.
1400
+ */
1401
+ entries?: Schema$FolderContentsEntry[];
1402
+ /**
1403
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1404
+ */
1405
+ nextPageToken?: string | null;
1406
+ }
1313
1407
  /**
1314
1408
  * `QueryRepositoryDirectoryContents` response message.
1315
1409
  */
@@ -1323,6 +1417,32 @@ export declare namespace dataform_v1beta1 {
1323
1417
  */
1324
1418
  nextPageToken?: string | null;
1325
1419
  }
1420
+ /**
1421
+ * `QueryTeamFolderContents` response message.
1422
+ */
1423
+ export interface Schema$QueryTeamFolderContentsResponse {
1424
+ /**
1425
+ * List of entries in the TeamFolder.
1426
+ */
1427
+ entries?: Schema$TeamFolderContentsEntry[];
1428
+ /**
1429
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1430
+ */
1431
+ nextPageToken?: string | null;
1432
+ }
1433
+ /**
1434
+ * `QueryUserRootContents` response message.
1435
+ */
1436
+ export interface Schema$QueryUserRootContentsResponse {
1437
+ /**
1438
+ * List of entries in the folder.
1439
+ */
1440
+ entries?: Schema$RootContentsEntry[];
1441
+ /**
1442
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1443
+ */
1444
+ nextPageToken?: string | null;
1445
+ }
1326
1446
  /**
1327
1447
  * `QueryWorkflowInvocationActions` response message.
1328
1448
  */
@@ -1525,6 +1645,10 @@ export declare namespace dataform_v1beta1 {
1525
1645
  * Represents a Dataform Git repository.
1526
1646
  */
1527
1647
  export interface Schema$Repository {
1648
+ /**
1649
+ * 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`.
1650
+ */
1651
+ containingFolder?: string | null;
1528
1652
  /**
1529
1653
  * Output only. The timestamp of when the repository was created.
1530
1654
  */
@@ -1571,6 +1695,10 @@ export declare namespace dataform_v1beta1 {
1571
1695
  * Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
1572
1696
  */
1573
1697
  setAuthenticatedUserAdmin?: boolean | null;
1698
+ /**
1699
+ * 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.
1700
+ */
1701
+ teamFolderName?: string | null;
1574
1702
  /**
1575
1703
  * 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.
1576
1704
  */
@@ -1594,6 +1722,19 @@ export declare namespace dataform_v1beta1 {
1594
1722
  */
1595
1723
  export interface Schema$ResetWorkspaceChangesResponse {
1596
1724
  }
1725
+ /**
1726
+ * Represents a single content entry.
1727
+ */
1728
+ export interface Schema$RootContentsEntry {
1729
+ /**
1730
+ * A subfolder.
1731
+ */
1732
+ folder?: Schema$Folder;
1733
+ /**
1734
+ * A repository.
1735
+ */
1736
+ repository?: Schema$Repository;
1737
+ }
1597
1738
  /**
1598
1739
  * A record of an attempt to create a workflow invocation for this workflow config.
1599
1740
  */
@@ -1654,6 +1795,19 @@ export declare namespace dataform_v1beta1 {
1654
1795
  */
1655
1796
  file?: Schema$FileSearchResult;
1656
1797
  }
1798
+ /**
1799
+ * `SearchTeamFolders` response message.
1800
+ */
1801
+ export interface Schema$SearchTeamFoldersResponse {
1802
+ /**
1803
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1804
+ */
1805
+ nextPageToken?: string | null;
1806
+ /**
1807
+ * List of TeamFolders that match the search query.
1808
+ */
1809
+ results?: Schema$TeamFolderSearchResult[];
1810
+ }
1657
1811
  /**
1658
1812
  * Request message for `SetIamPolicy` method.
1659
1813
  */
@@ -1734,6 +1888,57 @@ export declare namespace dataform_v1beta1 {
1734
1888
  */
1735
1889
  schema?: string | null;
1736
1890
  }
1891
+ /**
1892
+ * 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.
1893
+ */
1894
+ export interface Schema$TeamFolder {
1895
+ /**
1896
+ * Output only. The timestamp of when the TeamFolder was created.
1897
+ */
1898
+ createTime?: string | null;
1899
+ /**
1900
+ * Output only. The IAM principal identifier of the creator of the TeamFolder.
1901
+ */
1902
+ creatorIamPrincipal?: string | null;
1903
+ /**
1904
+ * Required. The TeamFolder's user-friendly name.
1905
+ */
1906
+ displayName?: string | null;
1907
+ /**
1908
+ * 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.
1909
+ */
1910
+ internalMetadata?: string | null;
1911
+ /**
1912
+ * Identifier. The TeamFolder's name.
1913
+ */
1914
+ name?: string | null;
1915
+ /**
1916
+ * Output only. The timestamp of when the TeamFolder was last updated.
1917
+ */
1918
+ updateTime?: string | null;
1919
+ }
1920
+ /**
1921
+ * Represents a single content entry.
1922
+ */
1923
+ export interface Schema$TeamFolderContentsEntry {
1924
+ /**
1925
+ * A subfolder.
1926
+ */
1927
+ folder?: Schema$Folder;
1928
+ /**
1929
+ * A repository.
1930
+ */
1931
+ repository?: Schema$Repository;
1932
+ }
1933
+ /**
1934
+ * Represents a single content entry.
1935
+ */
1936
+ export interface Schema$TeamFolderSearchResult {
1937
+ /**
1938
+ * A TeamFolder resource that is in the project / location.
1939
+ */
1940
+ teamFolder?: Schema$TeamFolder;
1941
+ }
1737
1942
  /**
1738
1943
  * Request message for `TestIamPermissions` method.
1739
1944
  */
@@ -1838,6 +2043,10 @@ export declare namespace dataform_v1beta1 {
1838
2043
  * Output only. The workflow invocation's name.
1839
2044
  */
1840
2045
  name?: string | null;
2046
+ /**
2047
+ * Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` resource is `user_scoped` only if it is sourced from a compilation result and the compilation result is user-scoped.
2048
+ */
2049
+ privateResourceMetadata?: Schema$PrivateResourceMetadata;
1841
2050
  /**
1842
2051
  * Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/x/locations/x/repositories/x/compilationResults/x`.
1843
2052
  */
@@ -1904,6 +2113,10 @@ export declare namespace dataform_v1beta1 {
1904
2113
  * Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
1905
2114
  */
1906
2115
  dataEncryptionState?: Schema$DataEncryptionState;
2116
+ /**
2117
+ * Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted.
2118
+ */
2119
+ disableMoves?: boolean | null;
1907
2120
  /**
1908
2121
  * 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.
1909
2122
  */
@@ -1912,6 +2125,10 @@ export declare namespace dataform_v1beta1 {
1912
2125
  * Identifier. The workspace's name.
1913
2126
  */
1914
2127
  name?: string | null;
2128
+ /**
2129
+ * Output only. Metadata indicating whether this resource is user-scoped. For `Workspace` resources, the `user_scoped` field is always `true`.
2130
+ */
2131
+ privateResourceMetadata?: Schema$PrivateResourceMetadata;
1915
2132
  }
1916
2133
  /**
1917
2134
  * Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName\}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results.
@@ -2173,6 +2390,78 @@ export declare namespace dataform_v1beta1 {
2173
2390
  list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2174
2391
  list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2175
2392
  list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2393
+ /**
2394
+ * 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.
2395
+ * @example
2396
+ * ```js
2397
+ * // Before running the sample:
2398
+ * // - Enable the API at:
2399
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
2400
+ * // - Login into gcloud by running:
2401
+ * // ```sh
2402
+ * // $ gcloud auth application-default login
2403
+ * // ```
2404
+ * // - Install the npm module by running:
2405
+ * // ```sh
2406
+ * // $ npm install googleapis
2407
+ * // ```
2408
+ *
2409
+ * const {google} = require('googleapis');
2410
+ * const dataform = google.dataform('v1beta1');
2411
+ *
2412
+ * async function main() {
2413
+ * const auth = new google.auth.GoogleAuth({
2414
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2415
+ * scopes: [
2416
+ * 'https://www.googleapis.com/auth/bigquery',
2417
+ * 'https://www.googleapis.com/auth/cloud-platform',
2418
+ * ],
2419
+ * });
2420
+ *
2421
+ * // Acquire an auth client, and bind it to all future calls
2422
+ * const authClient = await auth.getClient();
2423
+ * google.options({auth: authClient});
2424
+ *
2425
+ * // Do the magic
2426
+ * const res = await dataform.projects.locations.queryUserRootContents({
2427
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
2428
+ * filter: 'placeholder-value',
2429
+ * // Required. Location of the user root folder whose contents to list. Format: projects/x/locations/x
2430
+ * location: 'projects/my-project/locations/my-location',
2431
+ * // 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"`
2432
+ * orderBy: 'placeholder-value',
2433
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
2434
+ * pageSize: 'placeholder-value',
2435
+ * // 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.
2436
+ * pageToken: 'placeholder-value',
2437
+ * });
2438
+ * console.log(res.data);
2439
+ *
2440
+ * // Example response
2441
+ * // {
2442
+ * // "entries": [],
2443
+ * // "nextPageToken": "my_nextPageToken"
2444
+ * // }
2445
+ * }
2446
+ *
2447
+ * main().catch(e => {
2448
+ * console.error(e);
2449
+ * throw e;
2450
+ * });
2451
+ *
2452
+ * ```
2453
+ *
2454
+ * @param params - Parameters for request
2455
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2456
+ * @param callback - Optional callback that handles the response.
2457
+ * @returns A promise if used with async/await, or void if used with a callback.
2458
+ */
2459
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2460
+ queryUserRootContents(params?: Params$Resource$Projects$Locations$Queryuserrootcontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryUserRootContentsResponse>>;
2461
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2462
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, options: MethodOptions | BodyResponseCallback<Schema$QueryUserRootContentsResponse>, callback: BodyResponseCallback<Schema$QueryUserRootContentsResponse>): void;
2463
+ queryUserRootContents(params: Params$Resource$Projects$Locations$Queryuserrootcontents, callback: BodyResponseCallback<Schema$QueryUserRootContentsResponse>): void;
2464
+ queryUserRootContents(callback: BodyResponseCallback<Schema$QueryUserRootContentsResponse>): void;
2176
2465
  /**
2177
2466
  * 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.*
2178
2467
  * @example
@@ -2285,6 +2574,28 @@ export declare namespace dataform_v1beta1 {
2285
2574
  */
2286
2575
  pageToken?: string;
2287
2576
  }
2577
+ export interface Params$Resource$Projects$Locations$Queryuserrootcontents extends StandardParameters {
2578
+ /**
2579
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
2580
+ */
2581
+ filter?: string;
2582
+ /**
2583
+ * Required. Location of the user root folder whose contents to list. Format: projects/x/locations/x
2584
+ */
2585
+ location?: string;
2586
+ /**
2587
+ * 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"`
2588
+ */
2589
+ orderBy?: string;
2590
+ /**
2591
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
2592
+ */
2593
+ pageSize?: number;
2594
+ /**
2595
+ * 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.
2596
+ */
2597
+ pageToken?: string;
2598
+ }
2288
2599
  export interface Params$Resource$Projects$Locations$Updateconfig extends StandardParameters {
2289
2600
  /**
2290
2601
  * Identifier. The config name.
@@ -2303,7 +2614,7 @@ export declare namespace dataform_v1beta1 {
2303
2614
  context: APIRequestContext;
2304
2615
  constructor(context: APIRequestContext);
2305
2616
  /**
2306
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2617
+ * Creates a new Folder in a given project and location.
2307
2618
  * @example
2308
2619
  * ```js
2309
2620
  * // Before running the sample:
@@ -2335,19 +2646,39 @@ export declare namespace dataform_v1beta1 {
2335
2646
  * google.options({auth: authClient});
2336
2647
  *
2337
2648
  * // Do the magic
2338
- * const res = await dataform.projects.locations.folders.getIamPolicy({
2339
- * // 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).
2340
- * 'options.requestedPolicyVersion': 'placeholder-value',
2341
- * // 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.
2342
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2649
+ * const res = await dataform.projects.locations.folders.create({
2650
+ * // The ID to use for the Folder, which will become the final component of the Folder's resource name.
2651
+ * folderId: 'placeholder-value',
2652
+ * // Required. The location in which to create the Folder. Must be in the format `projects/x/locations/x`.
2653
+ * parent: 'projects/my-project/locations/my-location',
2654
+ *
2655
+ * // Request body metadata
2656
+ * requestBody: {
2657
+ * // request body parameters
2658
+ * // {
2659
+ * // "containingFolder": "my_containingFolder",
2660
+ * // "createTime": "my_createTime",
2661
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
2662
+ * // "displayName": "my_displayName",
2663
+ * // "internalMetadata": "my_internalMetadata",
2664
+ * // "name": "my_name",
2665
+ * // "teamFolderName": "my_teamFolderName",
2666
+ * // "updateTime": "my_updateTime"
2667
+ * // }
2668
+ * },
2343
2669
  * });
2344
2670
  * console.log(res.data);
2345
2671
  *
2346
2672
  * // Example response
2347
2673
  * // {
2348
- * // "bindings": [],
2349
- * // "etag": "my_etag",
2350
- * // "version": 0
2674
+ * // "containingFolder": "my_containingFolder",
2675
+ * // "createTime": "my_createTime",
2676
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
2677
+ * // "displayName": "my_displayName",
2678
+ * // "internalMetadata": "my_internalMetadata",
2679
+ * // "name": "my_name",
2680
+ * // "teamFolderName": "my_teamFolderName",
2681
+ * // "updateTime": "my_updateTime"
2351
2682
  * // }
2352
2683
  * }
2353
2684
  *
@@ -2363,14 +2694,14 @@ export declare namespace dataform_v1beta1 {
2363
2694
  * @param callback - Optional callback that handles the response.
2364
2695
  * @returns A promise if used with async/await, or void if used with a callback.
2365
2696
  */
2366
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2367
- getIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2368
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2369
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2370
- getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2371
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2697
+ create(params: Params$Resource$Projects$Locations$Folders$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2698
+ create(params?: Params$Resource$Projects$Locations$Folders$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
2699
+ create(params: Params$Resource$Projects$Locations$Folders$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2700
+ create(params: Params$Resource$Projects$Locations$Folders$Create, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
2701
+ create(params: Params$Resource$Projects$Locations$Folders$Create, callback: BodyResponseCallback<Schema$Folder>): void;
2702
+ create(callback: BodyResponseCallback<Schema$Folder>): void;
2372
2703
  /**
2373
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
2704
+ * Deletes a single Folder.
2374
2705
  * @example
2375
2706
  * ```js
2376
2707
  * // Before running the sample:
@@ -2402,26 +2733,14 @@ export declare namespace dataform_v1beta1 {
2402
2733
  * google.options({auth: authClient});
2403
2734
  *
2404
2735
  * // Do the magic
2405
- * const res = await dataform.projects.locations.folders.setIamPolicy({
2406
- * // 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.
2407
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2408
- *
2409
- * // Request body metadata
2410
- * requestBody: {
2411
- * // request body parameters
2412
- * // {
2413
- * // "policy": {}
2414
- * // }
2415
- * },
2736
+ * const res = await dataform.projects.locations.folders.delete({
2737
+ * // Required. The Folder's name.
2738
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
2416
2739
  * });
2417
2740
  * console.log(res.data);
2418
2741
  *
2419
2742
  * // Example response
2420
- * // {
2421
- * // "bindings": [],
2422
- * // "etag": "my_etag",
2423
- * // "version": 0
2424
- * // }
2743
+ * // {}
2425
2744
  * }
2426
2745
  *
2427
2746
  * main().catch(e => {
@@ -2436,14 +2755,14 @@ export declare namespace dataform_v1beta1 {
2436
2755
  * @param callback - Optional callback that handles the response.
2437
2756
  * @returns A promise if used with async/await, or void if used with a callback.
2438
2757
  */
2439
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2440
- setIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2441
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2442
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2443
- setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2444
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2758
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2759
+ delete(params?: Params$Resource$Projects$Locations$Folders$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2760
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2761
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2762
+ delete(params: Params$Resource$Projects$Locations$Folders$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
2763
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
2445
2764
  /**
2446
- * 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.
2765
+ * Fetches a single Folder.
2447
2766
  * @example
2448
2767
  * ```js
2449
2768
  * // Before running the sample:
@@ -2475,23 +2794,22 @@ export declare namespace dataform_v1beta1 {
2475
2794
  * google.options({auth: authClient});
2476
2795
  *
2477
2796
  * // Do the magic
2478
- * const res = await dataform.projects.locations.folders.testIamPermissions({
2479
- * // 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.
2480
- * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2481
- *
2482
- * // Request body metadata
2483
- * requestBody: {
2484
- * // request body parameters
2485
- * // {
2486
- * // "permissions": []
2487
- * // }
2488
- * },
2797
+ * const res = await dataform.projects.locations.folders.get({
2798
+ * // Required. The Folder's name.
2799
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
2489
2800
  * });
2490
2801
  * console.log(res.data);
2491
2802
  *
2492
2803
  * // Example response
2493
2804
  * // {
2494
- * // "permissions": []
2805
+ * // "containingFolder": "my_containingFolder",
2806
+ * // "createTime": "my_createTime",
2807
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
2808
+ * // "displayName": "my_displayName",
2809
+ * // "internalMetadata": "my_internalMetadata",
2810
+ * // "name": "my_name",
2811
+ * // "teamFolderName": "my_teamFolderName",
2812
+ * // "updateTime": "my_updateTime"
2495
2813
  * // }
2496
2814
  * }
2497
2815
  *
@@ -2507,48 +2825,14 @@ export declare namespace dataform_v1beta1 {
2507
2825
  * @param callback - Optional callback that handles the response.
2508
2826
  * @returns A promise if used with async/await, or void if used with a callback.
2509
2827
  */
2510
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2511
- testIamPermissions(params?: Params$Resource$Projects$Locations$Folders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
2512
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2513
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2514
- testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2515
- testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
2516
- }
2517
- export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
2518
- /**
2519
- * 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).
2520
- */
2521
- 'options.requestedPolicyVersion'?: number;
2522
- /**
2523
- * 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.
2524
- */
2525
- resource?: string;
2526
- }
2527
- export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
2528
- /**
2529
- * 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.
2530
- */
2531
- resource?: string;
2532
- /**
2533
- * Request body metadata
2534
- */
2535
- requestBody?: Schema$SetIamPolicyRequest;
2536
- }
2537
- export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
2538
- /**
2539
- * 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.
2540
- */
2541
- resource?: string;
2542
- /**
2543
- * Request body metadata
2544
- */
2545
- requestBody?: Schema$TestIamPermissionsRequest;
2546
- }
2547
- export class Resource$Projects$Locations$Operations {
2548
- context: APIRequestContext;
2549
- constructor(context: APIRequestContext);
2828
+ get(params: Params$Resource$Projects$Locations$Folders$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2829
+ get(params?: Params$Resource$Projects$Locations$Folders$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
2830
+ get(params: Params$Resource$Projects$Locations$Folders$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2831
+ get(params: Params$Resource$Projects$Locations$Folders$Get, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
2832
+ get(params: Params$Resource$Projects$Locations$Folders$Get, callback: BodyResponseCallback<Schema$Folder>): void;
2833
+ get(callback: BodyResponseCallback<Schema$Folder>): void;
2550
2834
  /**
2551
- * 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`.
2835
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2552
2836
  * @example
2553
2837
  * ```js
2554
2838
  * // Before running the sample:
@@ -2580,20 +2864,20 @@ export declare namespace dataform_v1beta1 {
2580
2864
  * google.options({auth: authClient});
2581
2865
  *
2582
2866
  * // Do the magic
2583
- * const res = await dataform.projects.locations.operations.cancel({
2584
- * // The name of the operation resource to be cancelled.
2585
- * name: 'projects/my-project/locations/my-location/operations/my-operation',
2586
- *
2587
- * // Request body metadata
2588
- * requestBody: {
2589
- * // request body parameters
2590
- * // {}
2591
- * },
2867
+ * const res = await dataform.projects.locations.folders.getIamPolicy({
2868
+ * // 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).
2869
+ * 'options.requestedPolicyVersion': 'placeholder-value',
2870
+ * // 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.
2871
+ * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2592
2872
  * });
2593
2873
  * console.log(res.data);
2594
2874
  *
2595
2875
  * // Example response
2596
- * // {}
2876
+ * // {
2877
+ * // "bindings": [],
2878
+ * // "etag": "my_etag",
2879
+ * // "version": 0
2880
+ * // }
2597
2881
  * }
2598
2882
  *
2599
2883
  * main().catch(e => {
@@ -2608,14 +2892,14 @@ export declare namespace dataform_v1beta1 {
2608
2892
  * @param callback - Optional callback that handles the response.
2609
2893
  * @returns A promise if used with async/await, or void if used with a callback.
2610
2894
  */
2611
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2612
- cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2613
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2614
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2615
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
2616
- cancel(callback: BodyResponseCallback<Schema$Empty>): void;
2895
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2896
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2897
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2898
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2899
+ getIamPolicy(params: Params$Resource$Projects$Locations$Folders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
2900
+ getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2617
2901
  /**
2618
- * 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`.
2902
+ * Moves a Folder to a new Folder, TeamFolder, or the root location.
2619
2903
  * @example
2620
2904
  * ```js
2621
2905
  * // Before running the sample:
@@ -2647,14 +2931,28 @@ export declare namespace dataform_v1beta1 {
2647
2931
  * google.options({auth: authClient});
2648
2932
  *
2649
2933
  * // Do the magic
2650
- * const res = await dataform.projects.locations.operations.delete({
2651
- * // The name of the operation resource to be deleted.
2652
- * name: 'projects/my-project/locations/my-location/operations/my-operation',
2934
+ * const res = await dataform.projects.locations.folders.move({
2935
+ * // Required. The full resource name of the Folder to move.
2936
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
2937
+ *
2938
+ * // Request body metadata
2939
+ * requestBody: {
2940
+ * // request body parameters
2941
+ * // {
2942
+ * // "destinationContainingFolder": "my_destinationContainingFolder"
2943
+ * // }
2944
+ * },
2653
2945
  * });
2654
2946
  * console.log(res.data);
2655
2947
  *
2656
2948
  * // Example response
2657
- * // {}
2949
+ * // {
2950
+ * // "done": false,
2951
+ * // "error": {},
2952
+ * // "metadata": {},
2953
+ * // "name": "my_name",
2954
+ * // "response": {}
2955
+ * // }
2658
2956
  * }
2659
2957
  *
2660
2958
  * main().catch(e => {
@@ -2669,14 +2967,14 @@ export declare namespace dataform_v1beta1 {
2669
2967
  * @param callback - Optional callback that handles the response.
2670
2968
  * @returns A promise if used with async/await, or void if used with a callback.
2671
2969
  */
2672
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2673
- delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2674
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2675
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2676
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
2677
- delete(callback: BodyResponseCallback<Schema$Empty>): void;
2970
+ move(params: Params$Resource$Projects$Locations$Folders$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2971
+ move(params?: Params$Resource$Projects$Locations$Folders$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2972
+ move(params: Params$Resource$Projects$Locations$Folders$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2973
+ move(params: Params$Resource$Projects$Locations$Folders$Move, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2974
+ move(params: Params$Resource$Projects$Locations$Folders$Move, callback: BodyResponseCallback<Schema$Operation>): void;
2975
+ move(callback: BodyResponseCallback<Schema$Operation>): void;
2678
2976
  /**
2679
- * 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.
2977
+ * Updates a single Folder.
2680
2978
  * @example
2681
2979
  * ```js
2682
2980
  * // Before running the sample:
@@ -2708,19 +3006,39 @@ export declare namespace dataform_v1beta1 {
2708
3006
  * google.options({auth: authClient});
2709
3007
  *
2710
3008
  * // Do the magic
2711
- * const res = await dataform.projects.locations.operations.get({
2712
- * // The name of the operation resource.
2713
- * name: 'projects/my-project/locations/my-location/operations/my-operation',
3009
+ * const res = await dataform.projects.locations.folders.patch({
3010
+ * // Identifier. The Folder's name.
3011
+ * name: 'projects/my-project/locations/my-location/folders/my-folder',
3012
+ * // 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).
3013
+ * updateMask: 'placeholder-value',
3014
+ *
3015
+ * // Request body metadata
3016
+ * requestBody: {
3017
+ * // request body parameters
3018
+ * // {
3019
+ * // "containingFolder": "my_containingFolder",
3020
+ * // "createTime": "my_createTime",
3021
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
3022
+ * // "displayName": "my_displayName",
3023
+ * // "internalMetadata": "my_internalMetadata",
3024
+ * // "name": "my_name",
3025
+ * // "teamFolderName": "my_teamFolderName",
3026
+ * // "updateTime": "my_updateTime"
3027
+ * // }
3028
+ * },
2714
3029
  * });
2715
3030
  * console.log(res.data);
2716
3031
  *
2717
3032
  * // Example response
2718
3033
  * // {
2719
- * // "done": false,
2720
- * // "error": {},
2721
- * // "metadata": {},
3034
+ * // "containingFolder": "my_containingFolder",
3035
+ * // "createTime": "my_createTime",
3036
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
3037
+ * // "displayName": "my_displayName",
3038
+ * // "internalMetadata": "my_internalMetadata",
2722
3039
  * // "name": "my_name",
2723
- * // "response": {}
3040
+ * // "teamFolderName": "my_teamFolderName",
3041
+ * // "updateTime": "my_updateTime"
2724
3042
  * // }
2725
3043
  * }
2726
3044
  *
@@ -2736,14 +3054,14 @@ export declare namespace dataform_v1beta1 {
2736
3054
  * @param callback - Optional callback that handles the response.
2737
3055
  * @returns A promise if used with async/await, or void if used with a callback.
2738
3056
  */
2739
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2740
- get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2741
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2742
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2743
- get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
2744
- get(callback: BodyResponseCallback<Schema$Operation>): void;
3057
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3058
+ patch(params?: Params$Resource$Projects$Locations$Folders$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
3059
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3060
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
3061
+ patch(params: Params$Resource$Projects$Locations$Folders$Patch, callback: BodyResponseCallback<Schema$Folder>): void;
3062
+ patch(callback: BodyResponseCallback<Schema$Folder>): void;
2745
3063
  /**
2746
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
3064
+ * Returns the contents of a given Folder.
2747
3065
  * @example
2748
3066
  * ```js
2749
3067
  * // Before running the sample:
@@ -2775,25 +3093,24 @@ export declare namespace dataform_v1beta1 {
2775
3093
  * google.options({auth: authClient});
2776
3094
  *
2777
3095
  * // Do the magic
2778
- * const res = await dataform.projects.locations.operations.list({
2779
- * // The standard list filter.
3096
+ * const res = await dataform.projects.locations.folders.queryFolderContents({
3097
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
2780
3098
  * filter: 'placeholder-value',
2781
- * // The name of the operation's parent resource.
2782
- * name: 'projects/my-project/locations/my-location',
2783
- * // The standard list page size.
3099
+ * // Required. Name of the folder whose contents to list. Format: projects/x/locations/x/folders/x
3100
+ * folder: 'projects/my-project/locations/my-location/folders/my-folder',
3101
+ * // 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"`
3102
+ * orderBy: 'placeholder-value',
3103
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
2784
3104
  * pageSize: 'placeholder-value',
2785
- * // The standard list page token.
3105
+ * // 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.
2786
3106
  * pageToken: 'placeholder-value',
2787
- * // 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2788
- * returnPartialSuccess: 'placeholder-value',
2789
3107
  * });
2790
3108
  * console.log(res.data);
2791
3109
  *
2792
3110
  * // Example response
2793
3111
  * // {
2794
- * // "nextPageToken": "my_nextPageToken",
2795
- * // "operations": [],
2796
- * // "unreachable": []
3112
+ * // "entries": [],
3113
+ * // "nextPageToken": "my_nextPageToken"
2797
3114
  * // }
2798
3115
  * }
2799
3116
  *
@@ -2809,67 +3126,14 @@ export declare namespace dataform_v1beta1 {
2809
3126
  * @param callback - Optional callback that handles the response.
2810
3127
  * @returns A promise if used with async/await, or void if used with a callback.
2811
3128
  */
2812
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2813
- list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
2814
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2815
- list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2816
- list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2817
- list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2818
- }
2819
- export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
2820
- /**
2821
- * The name of the operation resource to be cancelled.
2822
- */
2823
- name?: string;
2824
- /**
2825
- * Request body metadata
2826
- */
2827
- requestBody?: Schema$CancelOperationRequest;
2828
- }
2829
- export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
2830
- /**
2831
- * The name of the operation resource to be deleted.
2832
- */
2833
- name?: string;
2834
- }
2835
- export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
2836
- /**
2837
- * The name of the operation resource.
2838
- */
2839
- name?: string;
2840
- }
2841
- export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
2842
- /**
2843
- * The standard list filter.
2844
- */
2845
- filter?: string;
2846
- /**
2847
- * The name of the operation's parent resource.
2848
- */
2849
- name?: string;
2850
- /**
2851
- * The standard list page size.
2852
- */
2853
- pageSize?: number;
2854
- /**
2855
- * The standard list page token.
2856
- */
2857
- pageToken?: string;
2858
- /**
2859
- * 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2860
- */
2861
- returnPartialSuccess?: boolean;
2862
- }
2863
- export class Resource$Projects$Locations$Repositories {
2864
- context: APIRequestContext;
2865
- compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
2866
- releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
2867
- workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
2868
- workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
2869
- workspaces: Resource$Projects$Locations$Repositories$Workspaces;
2870
- constructor(context: APIRequestContext);
3129
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3130
+ queryFolderContents(params?: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryFolderContentsResponse>>;
3131
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3132
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, options: MethodOptions | BodyResponseCallback<Schema$QueryFolderContentsResponse>, callback: BodyResponseCallback<Schema$QueryFolderContentsResponse>): void;
3133
+ queryFolderContents(params: Params$Resource$Projects$Locations$Folders$Queryfoldercontents, callback: BodyResponseCallback<Schema$QueryFolderContentsResponse>): void;
3134
+ queryFolderContents(callback: BodyResponseCallback<Schema$QueryFolderContentsResponse>): void;
2871
3135
  /**
2872
- * Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
3136
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
2873
3137
  * @example
2874
3138
  * ```js
2875
3139
  * // Before running the sample:
@@ -2901,17 +3165,15 @@ export declare namespace dataform_v1beta1 {
2901
3165
  * google.options({auth: authClient});
2902
3166
  *
2903
3167
  * // Do the magic
2904
- * const res = await dataform.projects.locations.repositories.commit({
2905
- * // Required. The repository's name.
2906
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3168
+ * const res = await dataform.projects.locations.folders.setIamPolicy({
3169
+ * // 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.
3170
+ * resource: 'projects/my-project/locations/my-location/folders/my-folder',
2907
3171
  *
2908
3172
  * // Request body metadata
2909
3173
  * requestBody: {
2910
3174
  * // request body parameters
2911
3175
  * // {
2912
- * // "commitMetadata": {},
2913
- * // "fileOperations": {},
2914
- * // "requiredHeadCommitSha": "my_requiredHeadCommitSha"
3176
+ * // "policy": {}
2915
3177
  * // }
2916
3178
  * },
2917
3179
  * });
@@ -2919,7 +3181,9 @@ export declare namespace dataform_v1beta1 {
2919
3181
  *
2920
3182
  * // Example response
2921
3183
  * // {
2922
- * // "commitSha": "my_commitSha"
3184
+ * // "bindings": [],
3185
+ * // "etag": "my_etag",
3186
+ * // "version": 0
2923
3187
  * // }
2924
3188
  * }
2925
3189
  *
@@ -2935,14 +3199,14 @@ export declare namespace dataform_v1beta1 {
2935
3199
  * @param callback - Optional callback that handles the response.
2936
3200
  * @returns A promise if used with async/await, or void if used with a callback.
2937
3201
  */
2938
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2939
- commit(params?: Params$Resource$Projects$Locations$Repositories$Commit, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommitRepositoryChangesResponse>>;
2940
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2941
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: MethodOptions | BodyResponseCallback<Schema$CommitRepositoryChangesResponse>, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
2942
- commit(params: Params$Resource$Projects$Locations$Repositories$Commit, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
2943
- commit(callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3202
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3203
+ setIamPolicy(params?: Params$Resource$Projects$Locations$Folders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3204
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3205
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3206
+ setIamPolicy(params: Params$Resource$Projects$Locations$Folders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3207
+ setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
2944
3208
  /**
2945
- * Computes a Repository's Git access token status.
3209
+ * 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.
2946
3210
  * @example
2947
3211
  * ```js
2948
3212
  * // Before running the sample:
@@ -2974,16 +3238,23 @@ export declare namespace dataform_v1beta1 {
2974
3238
  * google.options({auth: authClient});
2975
3239
  *
2976
3240
  * // Do the magic
2977
- * const res =
2978
- * await dataform.projects.locations.repositories.computeAccessTokenStatus({
2979
- * // Required. The repository's name.
2980
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
2981
- * });
3241
+ * const res = await dataform.projects.locations.folders.testIamPermissions({
3242
+ * // 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.
3243
+ * resource: 'projects/my-project/locations/my-location/folders/my-folder',
3244
+ *
3245
+ * // Request body metadata
3246
+ * requestBody: {
3247
+ * // request body parameters
3248
+ * // {
3249
+ * // "permissions": []
3250
+ * // }
3251
+ * },
3252
+ * });
2982
3253
  * console.log(res.data);
2983
3254
  *
2984
3255
  * // Example response
2985
3256
  * // {
2986
- * // "tokenStatus": "my_tokenStatus"
3257
+ * // "permissions": []
2987
3258
  * // }
2988
3259
  * }
2989
3260
  *
@@ -2999,14 +3270,120 @@ export declare namespace dataform_v1beta1 {
2999
3270
  * @param callback - Optional callback that handles the response.
3000
3271
  * @returns A promise if used with async/await, or void if used with a callback.
3001
3272
  */
3002
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3003
- computeAccessTokenStatus(params?: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ComputeRepositoryAccessTokenStatusResponse>>;
3004
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3005
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: MethodOptions | BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3006
- computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3007
- computeAccessTokenStatus(callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3273
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3274
+ testIamPermissions(params?: Params$Resource$Projects$Locations$Folders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
3275
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3276
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3277
+ testIamPermissions(params: Params$Resource$Projects$Locations$Folders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3278
+ testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3279
+ }
3280
+ export interface Params$Resource$Projects$Locations$Folders$Create extends StandardParameters {
3008
3281
  /**
3009
- * Creates a new Repository in a given project and location.
3282
+ * The ID to use for the Folder, which will become the final component of the Folder's resource name.
3283
+ */
3284
+ folderId?: string;
3285
+ /**
3286
+ * Required. The location in which to create the Folder. Must be in the format `projects/x/locations/x`.
3287
+ */
3288
+ parent?: string;
3289
+ /**
3290
+ * Request body metadata
3291
+ */
3292
+ requestBody?: Schema$Folder;
3293
+ }
3294
+ export interface Params$Resource$Projects$Locations$Folders$Delete extends StandardParameters {
3295
+ /**
3296
+ * Required. The Folder's name.
3297
+ */
3298
+ name?: string;
3299
+ }
3300
+ export interface Params$Resource$Projects$Locations$Folders$Get extends StandardParameters {
3301
+ /**
3302
+ * Required. The Folder's name.
3303
+ */
3304
+ name?: string;
3305
+ }
3306
+ export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
3307
+ /**
3308
+ * 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).
3309
+ */
3310
+ 'options.requestedPolicyVersion'?: number;
3311
+ /**
3312
+ * 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.
3313
+ */
3314
+ resource?: string;
3315
+ }
3316
+ export interface Params$Resource$Projects$Locations$Folders$Move extends StandardParameters {
3317
+ /**
3318
+ * Required. The full resource name of the Folder to move.
3319
+ */
3320
+ name?: string;
3321
+ /**
3322
+ * Request body metadata
3323
+ */
3324
+ requestBody?: Schema$MoveFolderRequest;
3325
+ }
3326
+ export interface Params$Resource$Projects$Locations$Folders$Patch extends StandardParameters {
3327
+ /**
3328
+ * Identifier. The Folder's name.
3329
+ */
3330
+ name?: string;
3331
+ /**
3332
+ * 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).
3333
+ */
3334
+ updateMask?: string;
3335
+ /**
3336
+ * Request body metadata
3337
+ */
3338
+ requestBody?: Schema$Folder;
3339
+ }
3340
+ export interface Params$Resource$Projects$Locations$Folders$Queryfoldercontents extends StandardParameters {
3341
+ /**
3342
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
3343
+ */
3344
+ filter?: string;
3345
+ /**
3346
+ * Required. Name of the folder whose contents to list. Format: projects/x/locations/x/folders/x
3347
+ */
3348
+ folder?: string;
3349
+ /**
3350
+ * 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"`
3351
+ */
3352
+ orderBy?: string;
3353
+ /**
3354
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3355
+ */
3356
+ pageSize?: number;
3357
+ /**
3358
+ * 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.
3359
+ */
3360
+ pageToken?: string;
3361
+ }
3362
+ export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
3363
+ /**
3364
+ * 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.
3365
+ */
3366
+ resource?: string;
3367
+ /**
3368
+ * Request body metadata
3369
+ */
3370
+ requestBody?: Schema$SetIamPolicyRequest;
3371
+ }
3372
+ export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
3373
+ /**
3374
+ * 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.
3375
+ */
3376
+ resource?: string;
3377
+ /**
3378
+ * Request body metadata
3379
+ */
3380
+ requestBody?: Schema$TestIamPermissionsRequest;
3381
+ }
3382
+ export class Resource$Projects$Locations$Operations {
3383
+ context: APIRequestContext;
3384
+ constructor(context: APIRequestContext);
3385
+ /**
3386
+ * 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`.
3010
3387
  * @example
3011
3388
  * ```js
3012
3389
  * // Before running the sample:
@@ -3038,48 +3415,20 @@ export declare namespace dataform_v1beta1 {
3038
3415
  * google.options({auth: authClient});
3039
3416
  *
3040
3417
  * // Do the magic
3041
- * const res = await dataform.projects.locations.repositories.create({
3042
- * // Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
3043
- * parent: 'projects/my-project/locations/my-location',
3044
- * // Required. The ID to use for the repository, which will become the final component of the repository's resource name.
3045
- * repositoryId: 'placeholder-value',
3418
+ * const res = await dataform.projects.locations.operations.cancel({
3419
+ * // The name of the operation resource to be cancelled.
3420
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
3046
3421
  *
3047
3422
  * // Request body metadata
3048
3423
  * requestBody: {
3049
3424
  * // request body parameters
3050
- * // {
3051
- * // "createTime": "my_createTime",
3052
- * // "dataEncryptionState": {},
3053
- * // "displayName": "my_displayName",
3054
- * // "gitRemoteSettings": {},
3055
- * // "internalMetadata": "my_internalMetadata",
3056
- * // "kmsKeyName": "my_kmsKeyName",
3057
- * // "labels": {},
3058
- * // "name": "my_name",
3059
- * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3060
- * // "serviceAccount": "my_serviceAccount",
3061
- * // "setAuthenticatedUserAdmin": false,
3062
- * // "workspaceCompilationOverrides": {}
3063
- * // }
3425
+ * // {}
3064
3426
  * },
3065
3427
  * });
3066
3428
  * console.log(res.data);
3067
3429
  *
3068
3430
  * // Example response
3069
- * // {
3070
- * // "createTime": "my_createTime",
3071
- * // "dataEncryptionState": {},
3072
- * // "displayName": "my_displayName",
3073
- * // "gitRemoteSettings": {},
3074
- * // "internalMetadata": "my_internalMetadata",
3075
- * // "kmsKeyName": "my_kmsKeyName",
3076
- * // "labels": {},
3077
- * // "name": "my_name",
3078
- * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3079
- * // "serviceAccount": "my_serviceAccount",
3080
- * // "setAuthenticatedUserAdmin": false,
3081
- * // "workspaceCompilationOverrides": {}
3082
- * // }
3431
+ * // {}
3083
3432
  * }
3084
3433
  *
3085
3434
  * main().catch(e => {
@@ -3094,14 +3443,14 @@ export declare namespace dataform_v1beta1 {
3094
3443
  * @param callback - Optional callback that handles the response.
3095
3444
  * @returns A promise if used with async/await, or void if used with a callback.
3096
3445
  */
3097
- create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3098
- create(params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3099
- create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3100
- create(params: Params$Resource$Projects$Locations$Repositories$Create, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3101
- create(params: Params$Resource$Projects$Locations$Repositories$Create, callback: BodyResponseCallback<Schema$Repository>): void;
3102
- create(callback: BodyResponseCallback<Schema$Repository>): void;
3446
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3447
+ cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3448
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3449
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3450
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
3451
+ cancel(callback: BodyResponseCallback<Schema$Empty>): void;
3103
3452
  /**
3104
- * Deletes a single Repository.
3453
+ * 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`.
3105
3454
  * @example
3106
3455
  * ```js
3107
3456
  * // Before running the sample:
@@ -3133,11 +3482,9 @@ export declare namespace dataform_v1beta1 {
3133
3482
  * google.options({auth: authClient});
3134
3483
  *
3135
3484
  * // Do the magic
3136
- * const res = await dataform.projects.locations.repositories.delete({
3137
- * // 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.*.
3138
- * force: 'placeholder-value',
3139
- * // Required. The repository's name.
3140
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3485
+ * const res = await dataform.projects.locations.operations.delete({
3486
+ * // The name of the operation resource to be deleted.
3487
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
3141
3488
  * });
3142
3489
  * console.log(res.data);
3143
3490
  *
@@ -3157,14 +3504,14 @@ export declare namespace dataform_v1beta1 {
3157
3504
  * @param callback - Optional callback that handles the response.
3158
3505
  * @returns A promise if used with async/await, or void if used with a callback.
3159
3506
  */
3160
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3161
- delete(params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3162
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3163
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3164
- delete(params: Params$Resource$Projects$Locations$Repositories$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
3507
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3508
+ delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3509
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3510
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3511
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
3165
3512
  delete(callback: BodyResponseCallback<Schema$Empty>): void;
3166
3513
  /**
3167
- * Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
3514
+ * 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.
3168
3515
  * @example
3169
3516
  * ```js
3170
3517
  * // Before running the sample:
@@ -3196,20 +3543,19 @@ export declare namespace dataform_v1beta1 {
3196
3543
  * google.options({auth: authClient});
3197
3544
  *
3198
3545
  * // Do the magic
3199
- * const res = await dataform.projects.locations.repositories.fetchHistory({
3200
- * // Required. The repository's name.
3201
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3202
- * // Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3203
- * pageSize: 'placeholder-value',
3204
- * // 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.
3205
- * pageToken: 'placeholder-value',
3546
+ * const res = await dataform.projects.locations.operations.get({
3547
+ * // The name of the operation resource.
3548
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
3206
3549
  * });
3207
3550
  * console.log(res.data);
3208
3551
  *
3209
3552
  * // Example response
3210
3553
  * // {
3211
- * // "commits": [],
3212
- * // "nextPageToken": "my_nextPageToken"
3554
+ * // "done": false,
3555
+ * // "error": {},
3556
+ * // "metadata": {},
3557
+ * // "name": "my_name",
3558
+ * // "response": {}
3213
3559
  * // }
3214
3560
  * }
3215
3561
  *
@@ -3225,14 +3571,14 @@ export declare namespace dataform_v1beta1 {
3225
3571
  * @param callback - Optional callback that handles the response.
3226
3572
  * @returns A promise if used with async/await, or void if used with a callback.
3227
3573
  */
3228
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3229
- fetchHistory(params?: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRepositoryHistoryResponse>>;
3230
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3231
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: MethodOptions | BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
3232
- fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
3233
- fetchHistory(callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
3574
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3575
+ get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3576
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3577
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3578
+ get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
3579
+ get(callback: BodyResponseCallback<Schema$Operation>): void;
3234
3580
  /**
3235
- * Fetches a Repository's remote branches.
3581
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
3236
3582
  * @example
3237
3583
  * ```js
3238
3584
  * // Before running the sample:
@@ -3264,16 +3610,25 @@ export declare namespace dataform_v1beta1 {
3264
3610
  * google.options({auth: authClient});
3265
3611
  *
3266
3612
  * // Do the magic
3267
- * const res =
3268
- * await dataform.projects.locations.repositories.fetchRemoteBranches({
3269
- * // Required. The repository's name.
3270
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3271
- * });
3613
+ * const res = await dataform.projects.locations.operations.list({
3614
+ * // The standard list filter.
3615
+ * filter: 'placeholder-value',
3616
+ * // The name of the operation's parent resource.
3617
+ * name: 'projects/my-project/locations/my-location',
3618
+ * // The standard list page size.
3619
+ * pageSize: 'placeholder-value',
3620
+ * // The standard list page token.
3621
+ * pageToken: 'placeholder-value',
3622
+ * // 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.
3623
+ * returnPartialSuccess: 'placeholder-value',
3624
+ * });
3272
3625
  * console.log(res.data);
3273
3626
  *
3274
3627
  * // Example response
3275
3628
  * // {
3276
- * // "branches": []
3629
+ * // "nextPageToken": "my_nextPageToken",
3630
+ * // "operations": [],
3631
+ * // "unreachable": []
3277
3632
  * // }
3278
3633
  * }
3279
3634
  *
@@ -3289,14 +3644,67 @@ export declare namespace dataform_v1beta1 {
3289
3644
  * @param callback - Optional callback that handles the response.
3290
3645
  * @returns A promise if used with async/await, or void if used with a callback.
3291
3646
  */
3292
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3293
- fetchRemoteBranches(params?: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRemoteBranchesResponse>>;
3294
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3295
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: MethodOptions | BodyResponseCallback<Schema$FetchRemoteBranchesResponse>, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
3296
- fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
3297
- fetchRemoteBranches(callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
3647
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3648
+ list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
3649
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3650
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3651
+ list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3652
+ list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3653
+ }
3654
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
3298
3655
  /**
3299
- * Fetches a single Repository.
3656
+ * The name of the operation resource to be cancelled.
3657
+ */
3658
+ name?: string;
3659
+ /**
3660
+ * Request body metadata
3661
+ */
3662
+ requestBody?: Schema$CancelOperationRequest;
3663
+ }
3664
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
3665
+ /**
3666
+ * The name of the operation resource to be deleted.
3667
+ */
3668
+ name?: string;
3669
+ }
3670
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
3671
+ /**
3672
+ * The name of the operation resource.
3673
+ */
3674
+ name?: string;
3675
+ }
3676
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
3677
+ /**
3678
+ * The standard list filter.
3679
+ */
3680
+ filter?: string;
3681
+ /**
3682
+ * The name of the operation's parent resource.
3683
+ */
3684
+ name?: string;
3685
+ /**
3686
+ * The standard list page size.
3687
+ */
3688
+ pageSize?: number;
3689
+ /**
3690
+ * The standard list page token.
3691
+ */
3692
+ pageToken?: string;
3693
+ /**
3694
+ * 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.
3695
+ */
3696
+ returnPartialSuccess?: boolean;
3697
+ }
3698
+ export class Resource$Projects$Locations$Repositories {
3699
+ context: APIRequestContext;
3700
+ compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
3701
+ releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
3702
+ workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
3703
+ workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
3704
+ workspaces: Resource$Projects$Locations$Repositories$Workspaces;
3705
+ constructor(context: APIRequestContext);
3706
+ /**
3707
+ * Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
3300
3708
  * @example
3301
3709
  * ```js
3302
3710
  * // Before running the sample:
@@ -3328,94 +3736,25 @@ export declare namespace dataform_v1beta1 {
3328
3736
  * google.options({auth: authClient});
3329
3737
  *
3330
3738
  * // Do the magic
3331
- * const res = await dataform.projects.locations.repositories.get({
3739
+ * const res = await dataform.projects.locations.repositories.commit({
3332
3740
  * // Required. The repository's name.
3333
3741
  * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3334
- * });
3335
- * console.log(res.data);
3336
- *
3337
- * // Example response
3338
- * // {
3339
- * // "createTime": "my_createTime",
3340
- * // "dataEncryptionState": {},
3341
- * // "displayName": "my_displayName",
3342
- * // "gitRemoteSettings": {},
3343
- * // "internalMetadata": "my_internalMetadata",
3344
- * // "kmsKeyName": "my_kmsKeyName",
3345
- * // "labels": {},
3346
- * // "name": "my_name",
3347
- * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3348
- * // "serviceAccount": "my_serviceAccount",
3349
- * // "setAuthenticatedUserAdmin": false,
3350
- * // "workspaceCompilationOverrides": {}
3351
- * // }
3352
- * }
3353
- *
3354
- * main().catch(e => {
3355
- * console.error(e);
3356
- * throw e;
3357
- * });
3358
- *
3359
- * ```
3360
- *
3361
- * @param params - Parameters for request
3362
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3363
- * @param callback - Optional callback that handles the response.
3364
- * @returns A promise if used with async/await, or void if used with a callback.
3365
- */
3366
- get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3367
- get(params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3368
- get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3369
- get(params: Params$Resource$Projects$Locations$Repositories$Get, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3370
- get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
3371
- get(callback: BodyResponseCallback<Schema$Repository>): void;
3372
- /**
3373
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3374
- * @example
3375
- * ```js
3376
- * // Before running the sample:
3377
- * // - Enable the API at:
3378
- * // https://console.developers.google.com/apis/api/dataform.googleapis.com
3379
- * // - Login into gcloud by running:
3380
- * // ```sh
3381
- * // $ gcloud auth application-default login
3382
- * // ```
3383
- * // - Install the npm module by running:
3384
- * // ```sh
3385
- * // $ npm install googleapis
3386
- * // ```
3387
- *
3388
- * const {google} = require('googleapis');
3389
- * const dataform = google.dataform('v1beta1');
3390
- *
3391
- * async function main() {
3392
- * const auth = new google.auth.GoogleAuth({
3393
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3394
- * scopes: [
3395
- * 'https://www.googleapis.com/auth/bigquery',
3396
- * 'https://www.googleapis.com/auth/cloud-platform',
3397
- * ],
3398
- * });
3399
- *
3400
- * // Acquire an auth client, and bind it to all future calls
3401
- * const authClient = await auth.getClient();
3402
- * google.options({auth: authClient});
3403
3742
  *
3404
- * // Do the magic
3405
- * const res = await dataform.projects.locations.repositories.getIamPolicy({
3406
- * // 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).
3407
- * 'options.requestedPolicyVersion': 'placeholder-value',
3408
- * // 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.
3409
- * resource:
3410
- * 'projects/my-project/locations/my-location/repositories/my-repositorie',
3743
+ * // Request body metadata
3744
+ * requestBody: {
3745
+ * // request body parameters
3746
+ * // {
3747
+ * // "commitMetadata": {},
3748
+ * // "fileOperations": {},
3749
+ * // "requiredHeadCommitSha": "my_requiredHeadCommitSha"
3750
+ * // }
3751
+ * },
3411
3752
  * });
3412
3753
  * console.log(res.data);
3413
3754
  *
3414
3755
  * // Example response
3415
3756
  * // {
3416
- * // "bindings": [],
3417
- * // "etag": "my_etag",
3418
- * // "version": 0
3757
+ * // "commitSha": "my_commitSha"
3419
3758
  * // }
3420
3759
  * }
3421
3760
  *
@@ -3431,14 +3770,14 @@ export declare namespace dataform_v1beta1 {
3431
3770
  * @param callback - Optional callback that handles the response.
3432
3771
  * @returns A promise if used with async/await, or void if used with a callback.
3433
3772
  */
3434
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3435
- getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3436
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3437
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3438
- getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3439
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3773
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3774
+ commit(params?: Params$Resource$Projects$Locations$Repositories$Commit, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommitRepositoryChangesResponse>>;
3775
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3776
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, options: MethodOptions | BodyResponseCallback<Schema$CommitRepositoryChangesResponse>, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3777
+ commit(params: Params$Resource$Projects$Locations$Repositories$Commit, callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3778
+ commit(callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>): void;
3440
3779
  /**
3441
- * 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)*.
3780
+ * Computes a Repository's Git access token status.
3442
3781
  * @example
3443
3782
  * ```js
3444
3783
  * // Before running the sample:
@@ -3470,25 +3809,16 @@ export declare namespace dataform_v1beta1 {
3470
3809
  * google.options({auth: authClient});
3471
3810
  *
3472
3811
  * // Do the magic
3473
- * const res = await dataform.projects.locations.repositories.list({
3474
- * // Optional. Filter for the returned list.
3475
- * filter: 'placeholder-value',
3476
- * // 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.
3477
- * orderBy: 'placeholder-value',
3478
- * // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3479
- * pageSize: 'placeholder-value',
3480
- * // 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.
3481
- * pageToken: 'placeholder-value',
3482
- * // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
3483
- * parent: 'projects/my-project/locations/my-location',
3484
- * });
3812
+ * const res =
3813
+ * await dataform.projects.locations.repositories.computeAccessTokenStatus({
3814
+ * // Required. The repository's name.
3815
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3816
+ * });
3485
3817
  * console.log(res.data);
3486
3818
  *
3487
3819
  * // Example response
3488
3820
  * // {
3489
- * // "nextPageToken": "my_nextPageToken",
3490
- * // "repositories": [],
3491
- * // "unreachable": []
3821
+ * // "tokenStatus": "my_tokenStatus"
3492
3822
  * // }
3493
3823
  * }
3494
3824
  *
@@ -3504,14 +3834,14 @@ export declare namespace dataform_v1beta1 {
3504
3834
  * @param callback - Optional callback that handles the response.
3505
3835
  * @returns A promise if used with async/await, or void if used with a callback.
3506
3836
  */
3507
- list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3508
- list(params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListRepositoriesResponse>>;
3509
- list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3510
- list(params: Params$Resource$Projects$Locations$Repositories$List, options: MethodOptions | BodyResponseCallback<Schema$ListRepositoriesResponse>, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
3511
- list(params: Params$Resource$Projects$Locations$Repositories$List, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
3512
- list(callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
3837
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3838
+ computeAccessTokenStatus(params?: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ComputeRepositoryAccessTokenStatusResponse>>;
3839
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3840
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, options: MethodOptions | BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3841
+ computeAccessTokenStatus(params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus, callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3842
+ computeAccessTokenStatus(callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>): void;
3513
3843
  /**
3514
- * 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.*
3844
+ * Creates a new Repository in a given project and location.
3515
3845
  * @example
3516
3846
  * ```js
3517
3847
  * // Before running the sample:
@@ -3543,16 +3873,17 @@ export declare namespace dataform_v1beta1 {
3543
3873
  * google.options({auth: authClient});
3544
3874
  *
3545
3875
  * // Do the magic
3546
- * const res = await dataform.projects.locations.repositories.patch({
3547
- * // Identifier. The repository's name.
3548
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3549
- * // Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
3550
- * updateMask: 'placeholder-value',
3876
+ * const res = await dataform.projects.locations.repositories.create({
3877
+ * // Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
3878
+ * parent: 'projects/my-project/locations/my-location',
3879
+ * // Required. The ID to use for the repository, which will become the final component of the repository's resource name.
3880
+ * repositoryId: 'placeholder-value',
3551
3881
  *
3552
3882
  * // Request body metadata
3553
3883
  * requestBody: {
3554
3884
  * // request body parameters
3555
3885
  * // {
3886
+ * // "containingFolder": "my_containingFolder",
3556
3887
  * // "createTime": "my_createTime",
3557
3888
  * // "dataEncryptionState": {},
3558
3889
  * // "displayName": "my_displayName",
@@ -3564,6 +3895,7 @@ export declare namespace dataform_v1beta1 {
3564
3895
  * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3565
3896
  * // "serviceAccount": "my_serviceAccount",
3566
3897
  * // "setAuthenticatedUserAdmin": false,
3898
+ * // "teamFolderName": "my_teamFolderName",
3567
3899
  * // "workspaceCompilationOverrides": {}
3568
3900
  * // }
3569
3901
  * },
@@ -3572,6 +3904,7 @@ export declare namespace dataform_v1beta1 {
3572
3904
  *
3573
3905
  * // Example response
3574
3906
  * // {
3907
+ * // "containingFolder": "my_containingFolder",
3575
3908
  * // "createTime": "my_createTime",
3576
3909
  * // "dataEncryptionState": {},
3577
3910
  * // "displayName": "my_displayName",
@@ -3583,6 +3916,7 @@ export declare namespace dataform_v1beta1 {
3583
3916
  * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
3584
3917
  * // "serviceAccount": "my_serviceAccount",
3585
3918
  * // "setAuthenticatedUserAdmin": false,
3919
+ * // "teamFolderName": "my_teamFolderName",
3586
3920
  * // "workspaceCompilationOverrides": {}
3587
3921
  * // }
3588
3922
  * }
@@ -3599,14 +3933,14 @@ export declare namespace dataform_v1beta1 {
3599
3933
  * @param callback - Optional callback that handles the response.
3600
3934
  * @returns A promise if used with async/await, or void if used with a callback.
3601
3935
  */
3602
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3603
- patch(params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3604
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3605
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3606
- patch(params: Params$Resource$Projects$Locations$Repositories$Patch, callback: BodyResponseCallback<Schema$Repository>): void;
3607
- patch(callback: BodyResponseCallback<Schema$Repository>): void;
3936
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3937
+ create(params?: Params$Resource$Projects$Locations$Repositories$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
3938
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3939
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
3940
+ create(params: Params$Resource$Projects$Locations$Repositories$Create, callback: BodyResponseCallback<Schema$Repository>): void;
3941
+ create(callback: BodyResponseCallback<Schema$Repository>): void;
3608
3942
  /**
3609
- * Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
3943
+ * Deletes a single Repository.
3610
3944
  * @example
3611
3945
  * ```js
3612
3946
  * // Before running the sample:
@@ -3638,26 +3972,16 @@ export declare namespace dataform_v1beta1 {
3638
3972
  * google.options({auth: authClient});
3639
3973
  *
3640
3974
  * // Do the magic
3641
- * const res =
3642
- * await dataform.projects.locations.repositories.queryDirectoryContents({
3643
- * // Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
3644
- * commitSha: 'placeholder-value',
3645
- * // Required. The repository's name.
3646
- * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3647
- * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
3648
- * pageSize: 'placeholder-value',
3649
- * // 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.
3650
- * pageToken: 'placeholder-value',
3651
- * // Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
3652
- * path: 'placeholder-value',
3653
- * });
3975
+ * const res = await dataform.projects.locations.repositories.delete({
3976
+ * // 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.*.
3977
+ * force: 'placeholder-value',
3978
+ * // Required. The repository's name.
3979
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3980
+ * });
3654
3981
  * console.log(res.data);
3655
3982
  *
3656
3983
  * // Example response
3657
- * // {
3658
- * // "directoryEntries": [],
3659
- * // "nextPageToken": "my_nextPageToken"
3660
- * // }
3984
+ * // {}
3661
3985
  * }
3662
3986
  *
3663
3987
  * main().catch(e => {
@@ -3672,14 +3996,14 @@ export declare namespace dataform_v1beta1 {
3672
3996
  * @param callback - Optional callback that handles the response.
3673
3997
  * @returns A promise if used with async/await, or void if used with a callback.
3674
3998
  */
3675
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3676
- queryDirectoryContents(params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryRepositoryDirectoryContentsResponse>>;
3677
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3678
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: MethodOptions | BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
3679
- queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
3680
- queryDirectoryContents(callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
3999
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4000
+ delete(params?: Params$Resource$Projects$Locations$Repositories$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4001
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4002
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4003
+ delete(params: Params$Resource$Projects$Locations$Repositories$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
4004
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
3681
4005
  /**
3682
- * Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
4006
+ * Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
3683
4007
  * @example
3684
4008
  * ```js
3685
4009
  * // Before running the sample:
@@ -3711,9 +4035,605 @@ export declare namespace dataform_v1beta1 {
3711
4035
  * google.options({auth: authClient});
3712
4036
  *
3713
4037
  * // Do the magic
3714
- * const res = await dataform.projects.locations.repositories.readFile({
3715
- * // Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
3716
- * commitSha: 'placeholder-value',
4038
+ * const res = await dataform.projects.locations.repositories.fetchHistory({
4039
+ * // Required. The repository's name.
4040
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4041
+ * // Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4042
+ * pageSize: 'placeholder-value',
4043
+ * // 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.
4044
+ * pageToken: 'placeholder-value',
4045
+ * });
4046
+ * console.log(res.data);
4047
+ *
4048
+ * // Example response
4049
+ * // {
4050
+ * // "commits": [],
4051
+ * // "nextPageToken": "my_nextPageToken"
4052
+ * // }
4053
+ * }
4054
+ *
4055
+ * main().catch(e => {
4056
+ * console.error(e);
4057
+ * throw e;
4058
+ * });
4059
+ *
4060
+ * ```
4061
+ *
4062
+ * @param params - Parameters for request
4063
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4064
+ * @param callback - Optional callback that handles the response.
4065
+ * @returns A promise if used with async/await, or void if used with a callback.
4066
+ */
4067
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4068
+ fetchHistory(params?: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRepositoryHistoryResponse>>;
4069
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4070
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, options: MethodOptions | BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
4071
+ fetchHistory(params: Params$Resource$Projects$Locations$Repositories$Fetchhistory, callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
4072
+ fetchHistory(callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>): void;
4073
+ /**
4074
+ * Fetches a Repository's remote branches.
4075
+ * @example
4076
+ * ```js
4077
+ * // Before running the sample:
4078
+ * // - Enable the API at:
4079
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4080
+ * // - Login into gcloud by running:
4081
+ * // ```sh
4082
+ * // $ gcloud auth application-default login
4083
+ * // ```
4084
+ * // - Install the npm module by running:
4085
+ * // ```sh
4086
+ * // $ npm install googleapis
4087
+ * // ```
4088
+ *
4089
+ * const {google} = require('googleapis');
4090
+ * const dataform = google.dataform('v1beta1');
4091
+ *
4092
+ * async function main() {
4093
+ * const auth = new google.auth.GoogleAuth({
4094
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4095
+ * scopes: [
4096
+ * 'https://www.googleapis.com/auth/bigquery',
4097
+ * 'https://www.googleapis.com/auth/cloud-platform',
4098
+ * ],
4099
+ * });
4100
+ *
4101
+ * // Acquire an auth client, and bind it to all future calls
4102
+ * const authClient = await auth.getClient();
4103
+ * google.options({auth: authClient});
4104
+ *
4105
+ * // Do the magic
4106
+ * const res =
4107
+ * await dataform.projects.locations.repositories.fetchRemoteBranches({
4108
+ * // Required. The repository's name.
4109
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4110
+ * });
4111
+ * console.log(res.data);
4112
+ *
4113
+ * // Example response
4114
+ * // {
4115
+ * // "branches": []
4116
+ * // }
4117
+ * }
4118
+ *
4119
+ * main().catch(e => {
4120
+ * console.error(e);
4121
+ * throw e;
4122
+ * });
4123
+ *
4124
+ * ```
4125
+ *
4126
+ * @param params - Parameters for request
4127
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4128
+ * @param callback - Optional callback that handles the response.
4129
+ * @returns A promise if used with async/await, or void if used with a callback.
4130
+ */
4131
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4132
+ fetchRemoteBranches(params?: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchRemoteBranchesResponse>>;
4133
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4134
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, options: MethodOptions | BodyResponseCallback<Schema$FetchRemoteBranchesResponse>, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
4135
+ fetchRemoteBranches(params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches, callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
4136
+ fetchRemoteBranches(callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>): void;
4137
+ /**
4138
+ * Fetches a single Repository.
4139
+ * @example
4140
+ * ```js
4141
+ * // Before running the sample:
4142
+ * // - Enable the API at:
4143
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4144
+ * // - Login into gcloud by running:
4145
+ * // ```sh
4146
+ * // $ gcloud auth application-default login
4147
+ * // ```
4148
+ * // - Install the npm module by running:
4149
+ * // ```sh
4150
+ * // $ npm install googleapis
4151
+ * // ```
4152
+ *
4153
+ * const {google} = require('googleapis');
4154
+ * const dataform = google.dataform('v1beta1');
4155
+ *
4156
+ * async function main() {
4157
+ * const auth = new google.auth.GoogleAuth({
4158
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4159
+ * scopes: [
4160
+ * 'https://www.googleapis.com/auth/bigquery',
4161
+ * 'https://www.googleapis.com/auth/cloud-platform',
4162
+ * ],
4163
+ * });
4164
+ *
4165
+ * // Acquire an auth client, and bind it to all future calls
4166
+ * const authClient = await auth.getClient();
4167
+ * google.options({auth: authClient});
4168
+ *
4169
+ * // Do the magic
4170
+ * const res = await dataform.projects.locations.repositories.get({
4171
+ * // Required. The repository's name.
4172
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4173
+ * });
4174
+ * console.log(res.data);
4175
+ *
4176
+ * // Example response
4177
+ * // {
4178
+ * // "containingFolder": "my_containingFolder",
4179
+ * // "createTime": "my_createTime",
4180
+ * // "dataEncryptionState": {},
4181
+ * // "displayName": "my_displayName",
4182
+ * // "gitRemoteSettings": {},
4183
+ * // "internalMetadata": "my_internalMetadata",
4184
+ * // "kmsKeyName": "my_kmsKeyName",
4185
+ * // "labels": {},
4186
+ * // "name": "my_name",
4187
+ * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
4188
+ * // "serviceAccount": "my_serviceAccount",
4189
+ * // "setAuthenticatedUserAdmin": false,
4190
+ * // "teamFolderName": "my_teamFolderName",
4191
+ * // "workspaceCompilationOverrides": {}
4192
+ * // }
4193
+ * }
4194
+ *
4195
+ * main().catch(e => {
4196
+ * console.error(e);
4197
+ * throw e;
4198
+ * });
4199
+ *
4200
+ * ```
4201
+ *
4202
+ * @param params - Parameters for request
4203
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4204
+ * @param callback - Optional callback that handles the response.
4205
+ * @returns A promise if used with async/await, or void if used with a callback.
4206
+ */
4207
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4208
+ get(params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
4209
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4210
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
4211
+ get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
4212
+ get(callback: BodyResponseCallback<Schema$Repository>): void;
4213
+ /**
4214
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
4215
+ * @example
4216
+ * ```js
4217
+ * // Before running the sample:
4218
+ * // - Enable the API at:
4219
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4220
+ * // - Login into gcloud by running:
4221
+ * // ```sh
4222
+ * // $ gcloud auth application-default login
4223
+ * // ```
4224
+ * // - Install the npm module by running:
4225
+ * // ```sh
4226
+ * // $ npm install googleapis
4227
+ * // ```
4228
+ *
4229
+ * const {google} = require('googleapis');
4230
+ * const dataform = google.dataform('v1beta1');
4231
+ *
4232
+ * async function main() {
4233
+ * const auth = new google.auth.GoogleAuth({
4234
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4235
+ * scopes: [
4236
+ * 'https://www.googleapis.com/auth/bigquery',
4237
+ * 'https://www.googleapis.com/auth/cloud-platform',
4238
+ * ],
4239
+ * });
4240
+ *
4241
+ * // Acquire an auth client, and bind it to all future calls
4242
+ * const authClient = await auth.getClient();
4243
+ * google.options({auth: authClient});
4244
+ *
4245
+ * // Do the magic
4246
+ * const res = await dataform.projects.locations.repositories.getIamPolicy({
4247
+ * // 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).
4248
+ * 'options.requestedPolicyVersion': 'placeholder-value',
4249
+ * // 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.
4250
+ * resource:
4251
+ * 'projects/my-project/locations/my-location/repositories/my-repositorie',
4252
+ * });
4253
+ * console.log(res.data);
4254
+ *
4255
+ * // Example response
4256
+ * // {
4257
+ * // "bindings": [],
4258
+ * // "etag": "my_etag",
4259
+ * // "version": 0
4260
+ * // }
4261
+ * }
4262
+ *
4263
+ * main().catch(e => {
4264
+ * console.error(e);
4265
+ * throw e;
4266
+ * });
4267
+ *
4268
+ * ```
4269
+ *
4270
+ * @param params - Parameters for request
4271
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4272
+ * @param callback - Optional callback that handles the response.
4273
+ * @returns A promise if used with async/await, or void if used with a callback.
4274
+ */
4275
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4276
+ getIamPolicy(params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
4277
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4278
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
4279
+ getIamPolicy(params: Params$Resource$Projects$Locations$Repositories$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
4280
+ getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
4281
+ /**
4282
+ * 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)*.
4283
+ * @example
4284
+ * ```js
4285
+ * // Before running the sample:
4286
+ * // - Enable the API at:
4287
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4288
+ * // - Login into gcloud by running:
4289
+ * // ```sh
4290
+ * // $ gcloud auth application-default login
4291
+ * // ```
4292
+ * // - Install the npm module by running:
4293
+ * // ```sh
4294
+ * // $ npm install googleapis
4295
+ * // ```
4296
+ *
4297
+ * const {google} = require('googleapis');
4298
+ * const dataform = google.dataform('v1beta1');
4299
+ *
4300
+ * async function main() {
4301
+ * const auth = new google.auth.GoogleAuth({
4302
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4303
+ * scopes: [
4304
+ * 'https://www.googleapis.com/auth/bigquery',
4305
+ * 'https://www.googleapis.com/auth/cloud-platform',
4306
+ * ],
4307
+ * });
4308
+ *
4309
+ * // Acquire an auth client, and bind it to all future calls
4310
+ * const authClient = await auth.getClient();
4311
+ * google.options({auth: authClient});
4312
+ *
4313
+ * // Do the magic
4314
+ * const res = await dataform.projects.locations.repositories.list({
4315
+ * // Optional. Filter for the returned list.
4316
+ * filter: 'placeholder-value',
4317
+ * // 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.
4318
+ * orderBy: 'placeholder-value',
4319
+ * // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4320
+ * pageSize: 'placeholder-value',
4321
+ * // 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.
4322
+ * pageToken: 'placeholder-value',
4323
+ * // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
4324
+ * parent: 'projects/my-project/locations/my-location',
4325
+ * });
4326
+ * console.log(res.data);
4327
+ *
4328
+ * // Example response
4329
+ * // {
4330
+ * // "nextPageToken": "my_nextPageToken",
4331
+ * // "repositories": [],
4332
+ * // "unreachable": []
4333
+ * // }
4334
+ * }
4335
+ *
4336
+ * main().catch(e => {
4337
+ * console.error(e);
4338
+ * throw e;
4339
+ * });
4340
+ *
4341
+ * ```
4342
+ *
4343
+ * @param params - Parameters for request
4344
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4345
+ * @param callback - Optional callback that handles the response.
4346
+ * @returns A promise if used with async/await, or void if used with a callback.
4347
+ */
4348
+ list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4349
+ list(params?: Params$Resource$Projects$Locations$Repositories$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListRepositoriesResponse>>;
4350
+ list(params: Params$Resource$Projects$Locations$Repositories$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4351
+ list(params: Params$Resource$Projects$Locations$Repositories$List, options: MethodOptions | BodyResponseCallback<Schema$ListRepositoriesResponse>, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
4352
+ list(params: Params$Resource$Projects$Locations$Repositories$List, callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
4353
+ list(callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
4354
+ /**
4355
+ * Moves a Repository to a new location.
4356
+ * @example
4357
+ * ```js
4358
+ * // Before running the sample:
4359
+ * // - Enable the API at:
4360
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4361
+ * // - Login into gcloud by running:
4362
+ * // ```sh
4363
+ * // $ gcloud auth application-default login
4364
+ * // ```
4365
+ * // - Install the npm module by running:
4366
+ * // ```sh
4367
+ * // $ npm install googleapis
4368
+ * // ```
4369
+ *
4370
+ * const {google} = require('googleapis');
4371
+ * const dataform = google.dataform('v1beta1');
4372
+ *
4373
+ * async function main() {
4374
+ * const auth = new google.auth.GoogleAuth({
4375
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4376
+ * scopes: [
4377
+ * 'https://www.googleapis.com/auth/bigquery',
4378
+ * 'https://www.googleapis.com/auth/cloud-platform',
4379
+ * ],
4380
+ * });
4381
+ *
4382
+ * // Acquire an auth client, and bind it to all future calls
4383
+ * const authClient = await auth.getClient();
4384
+ * google.options({auth: authClient});
4385
+ *
4386
+ * // Do the magic
4387
+ * const res = await dataform.projects.locations.repositories.move({
4388
+ * // Required. The full resource name of the repository to move.
4389
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4390
+ *
4391
+ * // Request body metadata
4392
+ * requestBody: {
4393
+ * // request body parameters
4394
+ * // {
4395
+ * // "destinationContainingFolder": "my_destinationContainingFolder"
4396
+ * // }
4397
+ * },
4398
+ * });
4399
+ * console.log(res.data);
4400
+ *
4401
+ * // Example response
4402
+ * // {
4403
+ * // "done": false,
4404
+ * // "error": {},
4405
+ * // "metadata": {},
4406
+ * // "name": "my_name",
4407
+ * // "response": {}
4408
+ * // }
4409
+ * }
4410
+ *
4411
+ * main().catch(e => {
4412
+ * console.error(e);
4413
+ * throw e;
4414
+ * });
4415
+ *
4416
+ * ```
4417
+ *
4418
+ * @param params - Parameters for request
4419
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4420
+ * @param callback - Optional callback that handles the response.
4421
+ * @returns A promise if used with async/await, or void if used with a callback.
4422
+ */
4423
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4424
+ move(params?: Params$Resource$Projects$Locations$Repositories$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4425
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4426
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4427
+ move(params: Params$Resource$Projects$Locations$Repositories$Move, callback: BodyResponseCallback<Schema$Operation>): void;
4428
+ move(callback: BodyResponseCallback<Schema$Operation>): void;
4429
+ /**
4430
+ * 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.*
4431
+ * @example
4432
+ * ```js
4433
+ * // Before running the sample:
4434
+ * // - Enable the API at:
4435
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4436
+ * // - Login into gcloud by running:
4437
+ * // ```sh
4438
+ * // $ gcloud auth application-default login
4439
+ * // ```
4440
+ * // - Install the npm module by running:
4441
+ * // ```sh
4442
+ * // $ npm install googleapis
4443
+ * // ```
4444
+ *
4445
+ * const {google} = require('googleapis');
4446
+ * const dataform = google.dataform('v1beta1');
4447
+ *
4448
+ * async function main() {
4449
+ * const auth = new google.auth.GoogleAuth({
4450
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4451
+ * scopes: [
4452
+ * 'https://www.googleapis.com/auth/bigquery',
4453
+ * 'https://www.googleapis.com/auth/cloud-platform',
4454
+ * ],
4455
+ * });
4456
+ *
4457
+ * // Acquire an auth client, and bind it to all future calls
4458
+ * const authClient = await auth.getClient();
4459
+ * google.options({auth: authClient});
4460
+ *
4461
+ * // Do the magic
4462
+ * const res = await dataform.projects.locations.repositories.patch({
4463
+ * // Identifier. The repository's name.
4464
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4465
+ * // Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
4466
+ * updateMask: 'placeholder-value',
4467
+ *
4468
+ * // Request body metadata
4469
+ * requestBody: {
4470
+ * // request body parameters
4471
+ * // {
4472
+ * // "containingFolder": "my_containingFolder",
4473
+ * // "createTime": "my_createTime",
4474
+ * // "dataEncryptionState": {},
4475
+ * // "displayName": "my_displayName",
4476
+ * // "gitRemoteSettings": {},
4477
+ * // "internalMetadata": "my_internalMetadata",
4478
+ * // "kmsKeyName": "my_kmsKeyName",
4479
+ * // "labels": {},
4480
+ * // "name": "my_name",
4481
+ * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
4482
+ * // "serviceAccount": "my_serviceAccount",
4483
+ * // "setAuthenticatedUserAdmin": false,
4484
+ * // "teamFolderName": "my_teamFolderName",
4485
+ * // "workspaceCompilationOverrides": {}
4486
+ * // }
4487
+ * },
4488
+ * });
4489
+ * console.log(res.data);
4490
+ *
4491
+ * // Example response
4492
+ * // {
4493
+ * // "containingFolder": "my_containingFolder",
4494
+ * // "createTime": "my_createTime",
4495
+ * // "dataEncryptionState": {},
4496
+ * // "displayName": "my_displayName",
4497
+ * // "gitRemoteSettings": {},
4498
+ * // "internalMetadata": "my_internalMetadata",
4499
+ * // "kmsKeyName": "my_kmsKeyName",
4500
+ * // "labels": {},
4501
+ * // "name": "my_name",
4502
+ * // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
4503
+ * // "serviceAccount": "my_serviceAccount",
4504
+ * // "setAuthenticatedUserAdmin": false,
4505
+ * // "teamFolderName": "my_teamFolderName",
4506
+ * // "workspaceCompilationOverrides": {}
4507
+ * // }
4508
+ * }
4509
+ *
4510
+ * main().catch(e => {
4511
+ * console.error(e);
4512
+ * throw e;
4513
+ * });
4514
+ *
4515
+ * ```
4516
+ *
4517
+ * @param params - Parameters for request
4518
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4519
+ * @param callback - Optional callback that handles the response.
4520
+ * @returns A promise if used with async/await, or void if used with a callback.
4521
+ */
4522
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4523
+ patch(params?: Params$Resource$Projects$Locations$Repositories$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
4524
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4525
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
4526
+ patch(params: Params$Resource$Projects$Locations$Repositories$Patch, callback: BodyResponseCallback<Schema$Repository>): void;
4527
+ patch(callback: BodyResponseCallback<Schema$Repository>): void;
4528
+ /**
4529
+ * Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
4530
+ * @example
4531
+ * ```js
4532
+ * // Before running the sample:
4533
+ * // - Enable the API at:
4534
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4535
+ * // - Login into gcloud by running:
4536
+ * // ```sh
4537
+ * // $ gcloud auth application-default login
4538
+ * // ```
4539
+ * // - Install the npm module by running:
4540
+ * // ```sh
4541
+ * // $ npm install googleapis
4542
+ * // ```
4543
+ *
4544
+ * const {google} = require('googleapis');
4545
+ * const dataform = google.dataform('v1beta1');
4546
+ *
4547
+ * async function main() {
4548
+ * const auth = new google.auth.GoogleAuth({
4549
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4550
+ * scopes: [
4551
+ * 'https://www.googleapis.com/auth/bigquery',
4552
+ * 'https://www.googleapis.com/auth/cloud-platform',
4553
+ * ],
4554
+ * });
4555
+ *
4556
+ * // Acquire an auth client, and bind it to all future calls
4557
+ * const authClient = await auth.getClient();
4558
+ * google.options({auth: authClient});
4559
+ *
4560
+ * // Do the magic
4561
+ * const res =
4562
+ * await dataform.projects.locations.repositories.queryDirectoryContents({
4563
+ * // Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
4564
+ * commitSha: 'placeholder-value',
4565
+ * // Required. The repository's name.
4566
+ * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
4567
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
4568
+ * pageSize: 'placeholder-value',
4569
+ * // 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.
4570
+ * pageToken: 'placeholder-value',
4571
+ * // Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
4572
+ * path: 'placeholder-value',
4573
+ * });
4574
+ * console.log(res.data);
4575
+ *
4576
+ * // Example response
4577
+ * // {
4578
+ * // "directoryEntries": [],
4579
+ * // "nextPageToken": "my_nextPageToken"
4580
+ * // }
4581
+ * }
4582
+ *
4583
+ * main().catch(e => {
4584
+ * console.error(e);
4585
+ * throw e;
4586
+ * });
4587
+ *
4588
+ * ```
4589
+ *
4590
+ * @param params - Parameters for request
4591
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4592
+ * @param callback - Optional callback that handles the response.
4593
+ * @returns A promise if used with async/await, or void if used with a callback.
4594
+ */
4595
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4596
+ queryDirectoryContents(params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryRepositoryDirectoryContentsResponse>>;
4597
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4598
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, options: MethodOptions | BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4599
+ queryDirectoryContents(params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents, callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4600
+ queryDirectoryContents(callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>): void;
4601
+ /**
4602
+ * Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
4603
+ * @example
4604
+ * ```js
4605
+ * // Before running the sample:
4606
+ * // - Enable the API at:
4607
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
4608
+ * // - Login into gcloud by running:
4609
+ * // ```sh
4610
+ * // $ gcloud auth application-default login
4611
+ * // ```
4612
+ * // - Install the npm module by running:
4613
+ * // ```sh
4614
+ * // $ npm install googleapis
4615
+ * // ```
4616
+ *
4617
+ * const {google} = require('googleapis');
4618
+ * const dataform = google.dataform('v1beta1');
4619
+ *
4620
+ * async function main() {
4621
+ * const auth = new google.auth.GoogleAuth({
4622
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4623
+ * scopes: [
4624
+ * 'https://www.googleapis.com/auth/bigquery',
4625
+ * 'https://www.googleapis.com/auth/cloud-platform',
4626
+ * ],
4627
+ * });
4628
+ *
4629
+ * // Acquire an auth client, and bind it to all future calls
4630
+ * const authClient = await auth.getClient();
4631
+ * google.options({auth: authClient});
4632
+ *
4633
+ * // Do the magic
4634
+ * const res = await dataform.projects.locations.repositories.readFile({
4635
+ * // Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
4636
+ * commitSha: 'placeholder-value',
3717
4637
  * // Required. The repository's name.
3718
4638
  * name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
3719
4639
  * // Required. Full file path to read including filename, from repository root.
@@ -3992,6 +4912,16 @@ export declare namespace dataform_v1beta1 {
3992
4912
  */
3993
4913
  parent?: string;
3994
4914
  }
4915
+ export interface Params$Resource$Projects$Locations$Repositories$Move extends StandardParameters {
4916
+ /**
4917
+ * Required. The full resource name of the repository to move.
4918
+ */
4919
+ name?: string;
4920
+ /**
4921
+ * Request body metadata
4922
+ */
4923
+ requestBody?: Schema$MoveRepositoryRequest;
4924
+ }
3995
4925
  export interface Params$Resource$Projects$Locations$Repositories$Patch extends StandardParameters {
3996
4926
  /**
3997
4927
  * Identifier. The repository's name.
@@ -4116,6 +5046,7 @@ export declare namespace dataform_v1beta1 {
4116
5046
  * // "gitCommitish": "my_gitCommitish",
4117
5047
  * // "internalMetadata": "my_internalMetadata",
4118
5048
  * // "name": "my_name",
5049
+ * // "privateResourceMetadata": {},
4119
5050
  * // "releaseConfig": "my_releaseConfig",
4120
5051
  * // "resolvedGitCommitSha": "my_resolvedGitCommitSha",
4121
5052
  * // "workspace": "my_workspace"
@@ -4134,6 +5065,7 @@ export declare namespace dataform_v1beta1 {
4134
5065
  * // "gitCommitish": "my_gitCommitish",
4135
5066
  * // "internalMetadata": "my_internalMetadata",
4136
5067
  * // "name": "my_name",
5068
+ * // "privateResourceMetadata": {},
4137
5069
  * // "releaseConfig": "my_releaseConfig",
4138
5070
  * // "resolvedGitCommitSha": "my_resolvedGitCommitSha",
4139
5071
  * // "workspace": "my_workspace"
@@ -4208,6 +5140,7 @@ export declare namespace dataform_v1beta1 {
4208
5140
  * // "gitCommitish": "my_gitCommitish",
4209
5141
  * // "internalMetadata": "my_internalMetadata",
4210
5142
  * // "name": "my_name",
5143
+ * // "privateResourceMetadata": {},
4211
5144
  * // "releaseConfig": "my_releaseConfig",
4212
5145
  * // "resolvedGitCommitSha": "my_resolvedGitCommitSha",
4213
5146
  * // "workspace": "my_workspace"
@@ -5449,6 +6382,7 @@ export declare namespace dataform_v1beta1 {
5449
6382
  * // "invocationConfig": {},
5450
6383
  * // "invocationTiming": {},
5451
6384
  * // "name": "my_name",
6385
+ * // "privateResourceMetadata": {},
5452
6386
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
5453
6387
  * // "state": "my_state",
5454
6388
  * // "workflowConfig": "my_workflowConfig"
@@ -5465,6 +6399,7 @@ export declare namespace dataform_v1beta1 {
5465
6399
  * // "invocationConfig": {},
5466
6400
  * // "invocationTiming": {},
5467
6401
  * // "name": "my_name",
6402
+ * // "privateResourceMetadata": {},
5468
6403
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
5469
6404
  * // "state": "my_state",
5470
6405
  * // "workflowConfig": "my_workflowConfig"
@@ -5599,6 +6534,7 @@ export declare namespace dataform_v1beta1 {
5599
6534
  * // "invocationConfig": {},
5600
6535
  * // "invocationTiming": {},
5601
6536
  * // "name": "my_name",
6537
+ * // "privateResourceMetadata": {},
5602
6538
  * // "resolvedCompilationResult": "my_resolvedCompilationResult",
5603
6539
  * // "state": "my_state",
5604
6540
  * // "workflowConfig": "my_workflowConfig"
@@ -5956,8 +6892,10 @@ export declare namespace dataform_v1beta1 {
5956
6892
  * // {
5957
6893
  * // "createTime": "my_createTime",
5958
6894
  * // "dataEncryptionState": {},
6895
+ * // "disableMoves": false,
5959
6896
  * // "internalMetadata": "my_internalMetadata",
5960
- * // "name": "my_name"
6897
+ * // "name": "my_name",
6898
+ * // "privateResourceMetadata": {}
5961
6899
  * // }
5962
6900
  * },
5963
6901
  * });
@@ -5967,8 +6905,10 @@ export declare namespace dataform_v1beta1 {
5967
6905
  * // {
5968
6906
  * // "createTime": "my_createTime",
5969
6907
  * // "dataEncryptionState": {},
6908
+ * // "disableMoves": false,
5970
6909
  * // "internalMetadata": "my_internalMetadata",
5971
- * // "name": "my_name"
6910
+ * // "name": "my_name",
6911
+ * // "privateResourceMetadata": {}
5972
6912
  * // }
5973
6913
  * }
5974
6914
  *
@@ -6296,8 +7236,10 @@ export declare namespace dataform_v1beta1 {
6296
7236
  * // {
6297
7237
  * // "createTime": "my_createTime",
6298
7238
  * // "dataEncryptionState": {},
7239
+ * // "disableMoves": false,
6299
7240
  * // "internalMetadata": "my_internalMetadata",
6300
- * // "name": "my_name"
7241
+ * // "name": "my_name",
7242
+ * // "privateResourceMetadata": {}
6301
7243
  * // }
6302
7244
  * }
6303
7245
  *
@@ -7799,11 +8741,223 @@ export declare namespace dataform_v1beta1 {
7799
8741
  /**
7800
8742
  * Request body metadata
7801
8743
  */
7802
- requestBody?: Schema$WriteFileRequest;
7803
- }
7804
- export class Resource$Projects$Locations$Teamfolders {
7805
- context: APIRequestContext;
7806
- constructor(context: APIRequestContext);
8744
+ requestBody?: Schema$WriteFileRequest;
8745
+ }
8746
+ export class Resource$Projects$Locations$Teamfolders {
8747
+ context: APIRequestContext;
8748
+ constructor(context: APIRequestContext);
8749
+ /**
8750
+ * Creates a new TeamFolder in a given project and location.
8751
+ * @example
8752
+ * ```js
8753
+ * // Before running the sample:
8754
+ * // - Enable the API at:
8755
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
8756
+ * // - Login into gcloud by running:
8757
+ * // ```sh
8758
+ * // $ gcloud auth application-default login
8759
+ * // ```
8760
+ * // - Install the npm module by running:
8761
+ * // ```sh
8762
+ * // $ npm install googleapis
8763
+ * // ```
8764
+ *
8765
+ * const {google} = require('googleapis');
8766
+ * const dataform = google.dataform('v1beta1');
8767
+ *
8768
+ * async function main() {
8769
+ * const auth = new google.auth.GoogleAuth({
8770
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8771
+ * scopes: [
8772
+ * 'https://www.googleapis.com/auth/bigquery',
8773
+ * 'https://www.googleapis.com/auth/cloud-platform',
8774
+ * ],
8775
+ * });
8776
+ *
8777
+ * // Acquire an auth client, and bind it to all future calls
8778
+ * const authClient = await auth.getClient();
8779
+ * google.options({auth: authClient});
8780
+ *
8781
+ * // Do the magic
8782
+ * const res = await dataform.projects.locations.teamFolders.create({
8783
+ * // Required. The location in which to create the TeamFolder. Must be in the format `projects/x/locations/x`.
8784
+ * parent: 'projects/my-project/locations/my-location',
8785
+ * // The ID to use for the TeamFolder, which will become the final component of the TeamFolder's resource name.
8786
+ * teamFolderId: 'placeholder-value',
8787
+ *
8788
+ * // Request body metadata
8789
+ * requestBody: {
8790
+ * // request body parameters
8791
+ * // {
8792
+ * // "createTime": "my_createTime",
8793
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
8794
+ * // "displayName": "my_displayName",
8795
+ * // "internalMetadata": "my_internalMetadata",
8796
+ * // "name": "my_name",
8797
+ * // "updateTime": "my_updateTime"
8798
+ * // }
8799
+ * },
8800
+ * });
8801
+ * console.log(res.data);
8802
+ *
8803
+ * // Example response
8804
+ * // {
8805
+ * // "createTime": "my_createTime",
8806
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
8807
+ * // "displayName": "my_displayName",
8808
+ * // "internalMetadata": "my_internalMetadata",
8809
+ * // "name": "my_name",
8810
+ * // "updateTime": "my_updateTime"
8811
+ * // }
8812
+ * }
8813
+ *
8814
+ * main().catch(e => {
8815
+ * console.error(e);
8816
+ * throw e;
8817
+ * });
8818
+ *
8819
+ * ```
8820
+ *
8821
+ * @param params - Parameters for request
8822
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8823
+ * @param callback - Optional callback that handles the response.
8824
+ * @returns A promise if used with async/await, or void if used with a callback.
8825
+ */
8826
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
8827
+ create(params?: Params$Resource$Projects$Locations$Teamfolders$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TeamFolder>>;
8828
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
8829
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, options: MethodOptions | BodyResponseCallback<Schema$TeamFolder>, callback: BodyResponseCallback<Schema$TeamFolder>): void;
8830
+ create(params: Params$Resource$Projects$Locations$Teamfolders$Create, callback: BodyResponseCallback<Schema$TeamFolder>): void;
8831
+ create(callback: BodyResponseCallback<Schema$TeamFolder>): void;
8832
+ /**
8833
+ * Deletes a single TeamFolder.
8834
+ * @example
8835
+ * ```js
8836
+ * // Before running the sample:
8837
+ * // - Enable the API at:
8838
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
8839
+ * // - Login into gcloud by running:
8840
+ * // ```sh
8841
+ * // $ gcloud auth application-default login
8842
+ * // ```
8843
+ * // - Install the npm module by running:
8844
+ * // ```sh
8845
+ * // $ npm install googleapis
8846
+ * // ```
8847
+ *
8848
+ * const {google} = require('googleapis');
8849
+ * const dataform = google.dataform('v1beta1');
8850
+ *
8851
+ * async function main() {
8852
+ * const auth = new google.auth.GoogleAuth({
8853
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8854
+ * scopes: [
8855
+ * 'https://www.googleapis.com/auth/bigquery',
8856
+ * 'https://www.googleapis.com/auth/cloud-platform',
8857
+ * ],
8858
+ * });
8859
+ *
8860
+ * // Acquire an auth client, and bind it to all future calls
8861
+ * const authClient = await auth.getClient();
8862
+ * google.options({auth: authClient});
8863
+ *
8864
+ * // Do the magic
8865
+ * const res = await dataform.projects.locations.teamFolders.delete({
8866
+ * // Required. The TeamFolder's name.
8867
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
8868
+ * });
8869
+ * console.log(res.data);
8870
+ *
8871
+ * // Example response
8872
+ * // {}
8873
+ * }
8874
+ *
8875
+ * main().catch(e => {
8876
+ * console.error(e);
8877
+ * throw e;
8878
+ * });
8879
+ *
8880
+ * ```
8881
+ *
8882
+ * @param params - Parameters for request
8883
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8884
+ * @param callback - Optional callback that handles the response.
8885
+ * @returns A promise if used with async/await, or void if used with a callback.
8886
+ */
8887
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
8888
+ delete(params?: Params$Resource$Projects$Locations$Teamfolders$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
8889
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
8890
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
8891
+ delete(params: Params$Resource$Projects$Locations$Teamfolders$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
8892
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
8893
+ /**
8894
+ * Fetches a single TeamFolder.
8895
+ * @example
8896
+ * ```js
8897
+ * // Before running the sample:
8898
+ * // - Enable the API at:
8899
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
8900
+ * // - Login into gcloud by running:
8901
+ * // ```sh
8902
+ * // $ gcloud auth application-default login
8903
+ * // ```
8904
+ * // - Install the npm module by running:
8905
+ * // ```sh
8906
+ * // $ npm install googleapis
8907
+ * // ```
8908
+ *
8909
+ * const {google} = require('googleapis');
8910
+ * const dataform = google.dataform('v1beta1');
8911
+ *
8912
+ * async function main() {
8913
+ * const auth = new google.auth.GoogleAuth({
8914
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8915
+ * scopes: [
8916
+ * 'https://www.googleapis.com/auth/bigquery',
8917
+ * 'https://www.googleapis.com/auth/cloud-platform',
8918
+ * ],
8919
+ * });
8920
+ *
8921
+ * // Acquire an auth client, and bind it to all future calls
8922
+ * const authClient = await auth.getClient();
8923
+ * google.options({auth: authClient});
8924
+ *
8925
+ * // Do the magic
8926
+ * const res = await dataform.projects.locations.teamFolders.get({
8927
+ * // Required. The TeamFolder's name.
8928
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
8929
+ * });
8930
+ * console.log(res.data);
8931
+ *
8932
+ * // Example response
8933
+ * // {
8934
+ * // "createTime": "my_createTime",
8935
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
8936
+ * // "displayName": "my_displayName",
8937
+ * // "internalMetadata": "my_internalMetadata",
8938
+ * // "name": "my_name",
8939
+ * // "updateTime": "my_updateTime"
8940
+ * // }
8941
+ * }
8942
+ *
8943
+ * main().catch(e => {
8944
+ * console.error(e);
8945
+ * throw e;
8946
+ * });
8947
+ *
8948
+ * ```
8949
+ *
8950
+ * @param params - Parameters for request
8951
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8952
+ * @param callback - Optional callback that handles the response.
8953
+ * @returns A promise if used with async/await, or void if used with a callback.
8954
+ */
8955
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
8956
+ get(params?: Params$Resource$Projects$Locations$Teamfolders$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TeamFolder>>;
8957
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
8958
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, options: MethodOptions | BodyResponseCallback<Schema$TeamFolder>, callback: BodyResponseCallback<Schema$TeamFolder>): void;
8959
+ get(params: Params$Resource$Projects$Locations$Teamfolders$Get, callback: BodyResponseCallback<Schema$TeamFolder>): void;
8960
+ get(callback: BodyResponseCallback<Schema$TeamFolder>): void;
7807
8961
  /**
7808
8962
  * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
7809
8963
  * @example
@@ -7872,6 +9026,234 @@ export declare namespace dataform_v1beta1 {
7872
9026
  getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
7873
9027
  getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
7874
9028
  getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
9029
+ /**
9030
+ * Updates a single TeamFolder.
9031
+ * @example
9032
+ * ```js
9033
+ * // Before running the sample:
9034
+ * // - Enable the API at:
9035
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9036
+ * // - Login into gcloud by running:
9037
+ * // ```sh
9038
+ * // $ gcloud auth application-default login
9039
+ * // ```
9040
+ * // - Install the npm module by running:
9041
+ * // ```sh
9042
+ * // $ npm install googleapis
9043
+ * // ```
9044
+ *
9045
+ * const {google} = require('googleapis');
9046
+ * const dataform = google.dataform('v1beta1');
9047
+ *
9048
+ * async function main() {
9049
+ * const auth = new google.auth.GoogleAuth({
9050
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9051
+ * scopes: [
9052
+ * 'https://www.googleapis.com/auth/bigquery',
9053
+ * 'https://www.googleapis.com/auth/cloud-platform',
9054
+ * ],
9055
+ * });
9056
+ *
9057
+ * // Acquire an auth client, and bind it to all future calls
9058
+ * const authClient = await auth.getClient();
9059
+ * google.options({auth: authClient});
9060
+ *
9061
+ * // Do the magic
9062
+ * const res = await dataform.projects.locations.teamFolders.patch({
9063
+ * // Identifier. The TeamFolder's name.
9064
+ * name: 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
9065
+ * // Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated.
9066
+ * updateMask: 'placeholder-value',
9067
+ *
9068
+ * // Request body metadata
9069
+ * requestBody: {
9070
+ * // request body parameters
9071
+ * // {
9072
+ * // "createTime": "my_createTime",
9073
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
9074
+ * // "displayName": "my_displayName",
9075
+ * // "internalMetadata": "my_internalMetadata",
9076
+ * // "name": "my_name",
9077
+ * // "updateTime": "my_updateTime"
9078
+ * // }
9079
+ * },
9080
+ * });
9081
+ * console.log(res.data);
9082
+ *
9083
+ * // Example response
9084
+ * // {
9085
+ * // "createTime": "my_createTime",
9086
+ * // "creatorIamPrincipal": "my_creatorIamPrincipal",
9087
+ * // "displayName": "my_displayName",
9088
+ * // "internalMetadata": "my_internalMetadata",
9089
+ * // "name": "my_name",
9090
+ * // "updateTime": "my_updateTime"
9091
+ * // }
9092
+ * }
9093
+ *
9094
+ * main().catch(e => {
9095
+ * console.error(e);
9096
+ * throw e;
9097
+ * });
9098
+ *
9099
+ * ```
9100
+ *
9101
+ * @param params - Parameters for request
9102
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9103
+ * @param callback - Optional callback that handles the response.
9104
+ * @returns A promise if used with async/await, or void if used with a callback.
9105
+ */
9106
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9107
+ patch(params?: Params$Resource$Projects$Locations$Teamfolders$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TeamFolder>>;
9108
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9109
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, options: MethodOptions | BodyResponseCallback<Schema$TeamFolder>, callback: BodyResponseCallback<Schema$TeamFolder>): void;
9110
+ patch(params: Params$Resource$Projects$Locations$Teamfolders$Patch, callback: BodyResponseCallback<Schema$TeamFolder>): void;
9111
+ patch(callback: BodyResponseCallback<Schema$TeamFolder>): void;
9112
+ /**
9113
+ * Returns the contents of a given TeamFolder.
9114
+ * @example
9115
+ * ```js
9116
+ * // Before running the sample:
9117
+ * // - Enable the API at:
9118
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9119
+ * // - Login into gcloud by running:
9120
+ * // ```sh
9121
+ * // $ gcloud auth application-default login
9122
+ * // ```
9123
+ * // - Install the npm module by running:
9124
+ * // ```sh
9125
+ * // $ npm install googleapis
9126
+ * // ```
9127
+ *
9128
+ * const {google} = require('googleapis');
9129
+ * const dataform = google.dataform('v1beta1');
9130
+ *
9131
+ * async function main() {
9132
+ * const auth = new google.auth.GoogleAuth({
9133
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9134
+ * scopes: [
9135
+ * 'https://www.googleapis.com/auth/bigquery',
9136
+ * 'https://www.googleapis.com/auth/cloud-platform',
9137
+ * ],
9138
+ * });
9139
+ *
9140
+ * // Acquire an auth client, and bind it to all future calls
9141
+ * const authClient = await auth.getClient();
9142
+ * google.options({auth: authClient});
9143
+ *
9144
+ * // Do the magic
9145
+ * const res = await dataform.projects.locations.teamFolders.queryContents({
9146
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
9147
+ * filter: 'placeholder-value',
9148
+ * // 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"`
9149
+ * orderBy: 'placeholder-value',
9150
+ * // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9151
+ * pageSize: 'placeholder-value',
9152
+ * // 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.
9153
+ * pageToken: 'placeholder-value',
9154
+ * // Required. Name of the team_folder whose contents to list. Format: `projects/x/locations/x/teamFolders/x`.
9155
+ * teamFolder:
9156
+ * 'projects/my-project/locations/my-location/teamFolders/my-teamFolder',
9157
+ * });
9158
+ * console.log(res.data);
9159
+ *
9160
+ * // Example response
9161
+ * // {
9162
+ * // "entries": [],
9163
+ * // "nextPageToken": "my_nextPageToken"
9164
+ * // }
9165
+ * }
9166
+ *
9167
+ * main().catch(e => {
9168
+ * console.error(e);
9169
+ * throw e;
9170
+ * });
9171
+ *
9172
+ * ```
9173
+ *
9174
+ * @param params - Parameters for request
9175
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9176
+ * @param callback - Optional callback that handles the response.
9177
+ * @returns A promise if used with async/await, or void if used with a callback.
9178
+ */
9179
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9180
+ queryContents(params?: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$QueryTeamFolderContentsResponse>>;
9181
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9182
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, options: MethodOptions | BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>, callback: BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>): void;
9183
+ queryContents(params: Params$Resource$Projects$Locations$Teamfolders$Querycontents, callback: BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>): void;
9184
+ queryContents(callback: BodyResponseCallback<Schema$QueryTeamFolderContentsResponse>): void;
9185
+ /**
9186
+ * Returns all TeamFolders in a given location that the caller has access to and match the provided filter.
9187
+ * @example
9188
+ * ```js
9189
+ * // Before running the sample:
9190
+ * // - Enable the API at:
9191
+ * // https://console.developers.google.com/apis/api/dataform.googleapis.com
9192
+ * // - Login into gcloud by running:
9193
+ * // ```sh
9194
+ * // $ gcloud auth application-default login
9195
+ * // ```
9196
+ * // - Install the npm module by running:
9197
+ * // ```sh
9198
+ * // $ npm install googleapis
9199
+ * // ```
9200
+ *
9201
+ * const {google} = require('googleapis');
9202
+ * const dataform = google.dataform('v1beta1');
9203
+ *
9204
+ * async function main() {
9205
+ * const auth = new google.auth.GoogleAuth({
9206
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9207
+ * scopes: [
9208
+ * 'https://www.googleapis.com/auth/bigquery',
9209
+ * 'https://www.googleapis.com/auth/cloud-platform',
9210
+ * ],
9211
+ * });
9212
+ *
9213
+ * // Acquire an auth client, and bind it to all future calls
9214
+ * const authClient = await auth.getClient();
9215
+ * google.options({auth: authClient});
9216
+ *
9217
+ * // Do the magic
9218
+ * const res = await dataform.projects.locations.teamFolders.search({
9219
+ * // Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
9220
+ * filter: 'placeholder-value',
9221
+ * // Required. Location in which to query TeamFolders. Format: `projects/x/locations/x`.
9222
+ * location: 'projects/my-project/locations/my-location',
9223
+ * // 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"`
9224
+ * orderBy: 'placeholder-value',
9225
+ * // Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9226
+ * pageSize: 'placeholder-value',
9227
+ * // 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.
9228
+ * pageToken: 'placeholder-value',
9229
+ * });
9230
+ * console.log(res.data);
9231
+ *
9232
+ * // Example response
9233
+ * // {
9234
+ * // "nextPageToken": "my_nextPageToken",
9235
+ * // "results": []
9236
+ * // }
9237
+ * }
9238
+ *
9239
+ * main().catch(e => {
9240
+ * console.error(e);
9241
+ * throw e;
9242
+ * });
9243
+ *
9244
+ * ```
9245
+ *
9246
+ * @param params - Parameters for request
9247
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9248
+ * @param callback - Optional callback that handles the response.
9249
+ * @returns A promise if used with async/await, or void if used with a callback.
9250
+ */
9251
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
9252
+ search(params?: Params$Resource$Projects$Locations$Teamfolders$Search, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SearchTeamFoldersResponse>>;
9253
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
9254
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, options: MethodOptions | BodyResponseCallback<Schema$SearchTeamFoldersResponse>, callback: BodyResponseCallback<Schema$SearchTeamFoldersResponse>): void;
9255
+ search(params: Params$Resource$Projects$Locations$Teamfolders$Search, callback: BodyResponseCallback<Schema$SearchTeamFoldersResponse>): void;
9256
+ search(callback: BodyResponseCallback<Schema$SearchTeamFoldersResponse>): void;
7875
9257
  /**
7876
9258
  * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
7877
9259
  * @example
@@ -8019,6 +9401,32 @@ export declare namespace dataform_v1beta1 {
8019
9401
  testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
8020
9402
  testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
8021
9403
  }
9404
+ export interface Params$Resource$Projects$Locations$Teamfolders$Create extends StandardParameters {
9405
+ /**
9406
+ * Required. The location in which to create the TeamFolder. Must be in the format `projects/x/locations/x`.
9407
+ */
9408
+ parent?: string;
9409
+ /**
9410
+ * The ID to use for the TeamFolder, which will become the final component of the TeamFolder's resource name.
9411
+ */
9412
+ teamFolderId?: string;
9413
+ /**
9414
+ * Request body metadata
9415
+ */
9416
+ requestBody?: Schema$TeamFolder;
9417
+ }
9418
+ export interface Params$Resource$Projects$Locations$Teamfolders$Delete extends StandardParameters {
9419
+ /**
9420
+ * Required. The TeamFolder's name.
9421
+ */
9422
+ name?: string;
9423
+ }
9424
+ export interface Params$Resource$Projects$Locations$Teamfolders$Get extends StandardParameters {
9425
+ /**
9426
+ * Required. The TeamFolder's name.
9427
+ */
9428
+ name?: string;
9429
+ }
8022
9430
  export interface Params$Resource$Projects$Locations$Teamfolders$Getiampolicy extends StandardParameters {
8023
9431
  /**
8024
9432
  * 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).
@@ -8029,6 +9437,64 @@ export declare namespace dataform_v1beta1 {
8029
9437
  */
8030
9438
  resource?: string;
8031
9439
  }
9440
+ export interface Params$Resource$Projects$Locations$Teamfolders$Patch extends StandardParameters {
9441
+ /**
9442
+ * Identifier. The TeamFolder's name.
9443
+ */
9444
+ name?: string;
9445
+ /**
9446
+ * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated.
9447
+ */
9448
+ updateMask?: string;
9449
+ /**
9450
+ * Request body metadata
9451
+ */
9452
+ requestBody?: Schema$TeamFolder;
9453
+ }
9454
+ export interface Params$Resource$Projects$Locations$Teamfolders$Querycontents extends StandardParameters {
9455
+ /**
9456
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
9457
+ */
9458
+ filter?: string;
9459
+ /**
9460
+ * 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"`
9461
+ */
9462
+ orderBy?: string;
9463
+ /**
9464
+ * Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9465
+ */
9466
+ pageSize?: number;
9467
+ /**
9468
+ * 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.
9469
+ */
9470
+ pageToken?: string;
9471
+ /**
9472
+ * Required. Name of the team_folder whose contents to list. Format: `projects/x/locations/x/teamFolders/x`.
9473
+ */
9474
+ teamFolder?: string;
9475
+ }
9476
+ export interface Params$Resource$Projects$Locations$Teamfolders$Search extends StandardParameters {
9477
+ /**
9478
+ * Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
9479
+ */
9480
+ filter?: string;
9481
+ /**
9482
+ * Required. Location in which to query TeamFolders. Format: `projects/x/locations/x`.
9483
+ */
9484
+ location?: string;
9485
+ /**
9486
+ * 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"`
9487
+ */
9488
+ orderBy?: string;
9489
+ /**
9490
+ * Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
9491
+ */
9492
+ pageSize?: number;
9493
+ /**
9494
+ * 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.
9495
+ */
9496
+ pageToken?: string;
9497
+ }
8032
9498
  export interface Params$Resource$Projects$Locations$Teamfolders$Setiampolicy extends StandardParameters {
8033
9499
  /**
8034
9500
  * 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.