@googleapis/dataform 14.0.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.
- package/CHANGELOG.md +7 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1beta1.d.ts +1904 -468
- package/build/v1beta1.js +450 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1beta1.ts +6537 -4014
package/build/v1beta1.d.ts
CHANGED
|
@@ -720,6 +720,56 @@ export declare namespace dataform_v1beta1 {
|
|
|
720
720
|
*/
|
|
721
721
|
path?: string | null;
|
|
722
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
|
+
}
|
|
723
773
|
/**
|
|
724
774
|
* Controls Git remote configuration for a repository.
|
|
725
775
|
*/
|
|
@@ -1084,6 +1134,24 @@ export declare namespace dataform_v1beta1 {
|
|
|
1084
1134
|
*/
|
|
1085
1135
|
export interface Schema$MoveFileResponse {
|
|
1086
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
|
+
}
|
|
1087
1155
|
/**
|
|
1088
1156
|
* Represents a notebook.
|
|
1089
1157
|
*/
|
|
@@ -1323,6 +1391,19 @@ export declare namespace dataform_v1beta1 {
|
|
|
1323
1391
|
*/
|
|
1324
1392
|
nextPageToken?: string | null;
|
|
1325
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
|
+
}
|
|
1326
1407
|
/**
|
|
1327
1408
|
* `QueryRepositoryDirectoryContents` response message.
|
|
1328
1409
|
*/
|
|
@@ -1336,6 +1417,32 @@ export declare namespace dataform_v1beta1 {
|
|
|
1336
1417
|
*/
|
|
1337
1418
|
nextPageToken?: string | null;
|
|
1338
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
|
+
}
|
|
1339
1446
|
/**
|
|
1340
1447
|
* `QueryWorkflowInvocationActions` response message.
|
|
1341
1448
|
*/
|
|
@@ -1538,6 +1645,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
1538
1645
|
* Represents a Dataform Git repository.
|
|
1539
1646
|
*/
|
|
1540
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;
|
|
1541
1652
|
/**
|
|
1542
1653
|
* Output only. The timestamp of when the repository was created.
|
|
1543
1654
|
*/
|
|
@@ -1584,6 +1695,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
1584
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
|
|
1585
1696
|
*/
|
|
1586
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;
|
|
1587
1702
|
/**
|
|
1588
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.
|
|
1589
1704
|
*/
|
|
@@ -1607,6 +1722,19 @@ export declare namespace dataform_v1beta1 {
|
|
|
1607
1722
|
*/
|
|
1608
1723
|
export interface Schema$ResetWorkspaceChangesResponse {
|
|
1609
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
|
+
}
|
|
1610
1738
|
/**
|
|
1611
1739
|
* A record of an attempt to create a workflow invocation for this workflow config.
|
|
1612
1740
|
*/
|
|
@@ -1667,6 +1795,19 @@ export declare namespace dataform_v1beta1 {
|
|
|
1667
1795
|
*/
|
|
1668
1796
|
file?: Schema$FileSearchResult;
|
|
1669
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
|
+
}
|
|
1670
1811
|
/**
|
|
1671
1812
|
* Request message for `SetIamPolicy` method.
|
|
1672
1813
|
*/
|
|
@@ -1747,6 +1888,57 @@ export declare namespace dataform_v1beta1 {
|
|
|
1747
1888
|
*/
|
|
1748
1889
|
schema?: string | null;
|
|
1749
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
|
+
}
|
|
1750
1942
|
/**
|
|
1751
1943
|
* Request message for `TestIamPermissions` method.
|
|
1752
1944
|
*/
|
|
@@ -1921,6 +2113,10 @@ export declare namespace dataform_v1beta1 {
|
|
|
1921
2113
|
* Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
|
|
1922
2114
|
*/
|
|
1923
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;
|
|
1924
2120
|
/**
|
|
1925
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.
|
|
1926
2122
|
*/
|
|
@@ -2194,6 +2390,78 @@ export declare namespace dataform_v1beta1 {
|
|
|
2194
2390
|
list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
2195
2391
|
list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
2196
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;
|
|
2197
2465
|
/**
|
|
2198
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.*
|
|
2199
2467
|
* @example
|
|
@@ -2306,6 +2574,28 @@ export declare namespace dataform_v1beta1 {
|
|
|
2306
2574
|
*/
|
|
2307
2575
|
pageToken?: string;
|
|
2308
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
|
+
}
|
|
2309
2599
|
export interface Params$Resource$Projects$Locations$Updateconfig extends StandardParameters {
|
|
2310
2600
|
/**
|
|
2311
2601
|
* Identifier. The config name.
|
|
@@ -2324,7 +2614,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
2324
2614
|
context: APIRequestContext;
|
|
2325
2615
|
constructor(context: APIRequestContext);
|
|
2326
2616
|
/**
|
|
2327
|
-
*
|
|
2617
|
+
* Creates a new Folder in a given project and location.
|
|
2328
2618
|
* @example
|
|
2329
2619
|
* ```js
|
|
2330
2620
|
* // Before running the sample:
|
|
@@ -2356,19 +2646,39 @@ export declare namespace dataform_v1beta1 {
|
|
|
2356
2646
|
* google.options({auth: authClient});
|
|
2357
2647
|
*
|
|
2358
2648
|
* // Do the magic
|
|
2359
|
-
* const res = await dataform.projects.locations.folders.
|
|
2360
|
-
* //
|
|
2361
|
-
*
|
|
2362
|
-
* //
|
|
2363
|
-
*
|
|
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
|
+
* },
|
|
2364
2669
|
* });
|
|
2365
2670
|
* console.log(res.data);
|
|
2366
2671
|
*
|
|
2367
2672
|
* // Example response
|
|
2368
2673
|
* // {
|
|
2369
|
-
* // "
|
|
2370
|
-
* // "
|
|
2371
|
-
* // "
|
|
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"
|
|
2372
2682
|
* // }
|
|
2373
2683
|
* }
|
|
2374
2684
|
*
|
|
@@ -2384,14 +2694,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2384
2694
|
* @param callback - Optional callback that handles the response.
|
|
2385
2695
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2386
2696
|
*/
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
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;
|
|
2393
2703
|
/**
|
|
2394
|
-
*
|
|
2704
|
+
* Deletes a single Folder.
|
|
2395
2705
|
* @example
|
|
2396
2706
|
* ```js
|
|
2397
2707
|
* // Before running the sample:
|
|
@@ -2423,26 +2733,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2423
2733
|
* google.options({auth: authClient});
|
|
2424
2734
|
*
|
|
2425
2735
|
* // Do the magic
|
|
2426
|
-
* const res = await dataform.projects.locations.folders.
|
|
2427
|
-
* //
|
|
2428
|
-
*
|
|
2429
|
-
*
|
|
2430
|
-
* // Request body metadata
|
|
2431
|
-
* requestBody: {
|
|
2432
|
-
* // request body parameters
|
|
2433
|
-
* // {
|
|
2434
|
-
* // "policy": {}
|
|
2435
|
-
* // }
|
|
2436
|
-
* },
|
|
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',
|
|
2437
2739
|
* });
|
|
2438
2740
|
* console.log(res.data);
|
|
2439
2741
|
*
|
|
2440
2742
|
* // Example response
|
|
2441
|
-
* // {
|
|
2442
|
-
* // "bindings": [],
|
|
2443
|
-
* // "etag": "my_etag",
|
|
2444
|
-
* // "version": 0
|
|
2445
|
-
* // }
|
|
2743
|
+
* // {}
|
|
2446
2744
|
* }
|
|
2447
2745
|
*
|
|
2448
2746
|
* main().catch(e => {
|
|
@@ -2457,14 +2755,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2457
2755
|
* @param callback - Optional callback that handles the response.
|
|
2458
2756
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2459
2757
|
*/
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
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;
|
|
2466
2764
|
/**
|
|
2467
|
-
*
|
|
2765
|
+
* Fetches a single Folder.
|
|
2468
2766
|
* @example
|
|
2469
2767
|
* ```js
|
|
2470
2768
|
* // Before running the sample:
|
|
@@ -2496,23 +2794,22 @@ export declare namespace dataform_v1beta1 {
|
|
|
2496
2794
|
* google.options({auth: authClient});
|
|
2497
2795
|
*
|
|
2498
2796
|
* // Do the magic
|
|
2499
|
-
* const res = await dataform.projects.locations.folders.
|
|
2500
|
-
* //
|
|
2501
|
-
*
|
|
2502
|
-
*
|
|
2503
|
-
* // Request body metadata
|
|
2504
|
-
* requestBody: {
|
|
2505
|
-
* // request body parameters
|
|
2506
|
-
* // {
|
|
2507
|
-
* // "permissions": []
|
|
2508
|
-
* // }
|
|
2509
|
-
* },
|
|
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',
|
|
2510
2800
|
* });
|
|
2511
2801
|
* console.log(res.data);
|
|
2512
2802
|
*
|
|
2513
2803
|
* // Example response
|
|
2514
2804
|
* // {
|
|
2515
|
-
* // "
|
|
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"
|
|
2516
2813
|
* // }
|
|
2517
2814
|
* }
|
|
2518
2815
|
*
|
|
@@ -2528,48 +2825,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2528
2825
|
* @param callback - Optional callback that handles the response.
|
|
2529
2826
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2530
2827
|
*/
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
}
|
|
2538
|
-
export interface Params$Resource$Projects$Locations$Folders$Getiampolicy extends StandardParameters {
|
|
2539
|
-
/**
|
|
2540
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2541
|
-
*/
|
|
2542
|
-
'options.requestedPolicyVersion'?: number;
|
|
2543
|
-
/**
|
|
2544
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2545
|
-
*/
|
|
2546
|
-
resource?: string;
|
|
2547
|
-
}
|
|
2548
|
-
export interface Params$Resource$Projects$Locations$Folders$Setiampolicy extends StandardParameters {
|
|
2549
|
-
/**
|
|
2550
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2551
|
-
*/
|
|
2552
|
-
resource?: string;
|
|
2553
|
-
/**
|
|
2554
|
-
* Request body metadata
|
|
2555
|
-
*/
|
|
2556
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
2557
|
-
}
|
|
2558
|
-
export interface Params$Resource$Projects$Locations$Folders$Testiampermissions extends StandardParameters {
|
|
2559
|
-
/**
|
|
2560
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2561
|
-
*/
|
|
2562
|
-
resource?: string;
|
|
2563
|
-
/**
|
|
2564
|
-
* Request body metadata
|
|
2565
|
-
*/
|
|
2566
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
2567
|
-
}
|
|
2568
|
-
export class Resource$Projects$Locations$Operations {
|
|
2569
|
-
context: APIRequestContext;
|
|
2570
|
-
constructor(context: APIRequestContext);
|
|
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;
|
|
2571
2834
|
/**
|
|
2572
|
-
*
|
|
2835
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
2573
2836
|
* @example
|
|
2574
2837
|
* ```js
|
|
2575
2838
|
* // Before running the sample:
|
|
@@ -2601,20 +2864,20 @@ export declare namespace dataform_v1beta1 {
|
|
|
2601
2864
|
* google.options({auth: authClient});
|
|
2602
2865
|
*
|
|
2603
2866
|
* // Do the magic
|
|
2604
|
-
* const res = await dataform.projects.locations.
|
|
2605
|
-
* // The
|
|
2606
|
-
*
|
|
2607
|
-
*
|
|
2608
|
-
*
|
|
2609
|
-
* requestBody: {
|
|
2610
|
-
* // request body parameters
|
|
2611
|
-
* // {}
|
|
2612
|
-
* },
|
|
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',
|
|
2613
2872
|
* });
|
|
2614
2873
|
* console.log(res.data);
|
|
2615
2874
|
*
|
|
2616
2875
|
* // Example response
|
|
2617
|
-
* // {
|
|
2876
|
+
* // {
|
|
2877
|
+
* // "bindings": [],
|
|
2878
|
+
* // "etag": "my_etag",
|
|
2879
|
+
* // "version": 0
|
|
2880
|
+
* // }
|
|
2618
2881
|
* }
|
|
2619
2882
|
*
|
|
2620
2883
|
* main().catch(e => {
|
|
@@ -2629,14 +2892,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2629
2892
|
* @param callback - Optional callback that handles the response.
|
|
2630
2893
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2631
2894
|
*/
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
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;
|
|
2638
2901
|
/**
|
|
2639
|
-
*
|
|
2902
|
+
* Moves a Folder to a new Folder, TeamFolder, or the root location.
|
|
2640
2903
|
* @example
|
|
2641
2904
|
* ```js
|
|
2642
2905
|
* // Before running the sample:
|
|
@@ -2668,14 +2931,28 @@ export declare namespace dataform_v1beta1 {
|
|
|
2668
2931
|
* google.options({auth: authClient});
|
|
2669
2932
|
*
|
|
2670
2933
|
* // Do the magic
|
|
2671
|
-
* const res = await dataform.projects.locations.
|
|
2672
|
-
* // The name of the
|
|
2673
|
-
* name: 'projects/my-project/locations/my-location/
|
|
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
|
+
* },
|
|
2674
2945
|
* });
|
|
2675
2946
|
* console.log(res.data);
|
|
2676
2947
|
*
|
|
2677
2948
|
* // Example response
|
|
2678
|
-
* // {
|
|
2949
|
+
* // {
|
|
2950
|
+
* // "done": false,
|
|
2951
|
+
* // "error": {},
|
|
2952
|
+
* // "metadata": {},
|
|
2953
|
+
* // "name": "my_name",
|
|
2954
|
+
* // "response": {}
|
|
2955
|
+
* // }
|
|
2679
2956
|
* }
|
|
2680
2957
|
*
|
|
2681
2958
|
* main().catch(e => {
|
|
@@ -2690,14 +2967,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2690
2967
|
* @param callback - Optional callback that handles the response.
|
|
2691
2968
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2692
2969
|
*/
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
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;
|
|
2699
2976
|
/**
|
|
2700
|
-
*
|
|
2977
|
+
* Updates a single Folder.
|
|
2701
2978
|
* @example
|
|
2702
2979
|
* ```js
|
|
2703
2980
|
* // Before running the sample:
|
|
@@ -2729,19 +3006,39 @@ export declare namespace dataform_v1beta1 {
|
|
|
2729
3006
|
* google.options({auth: authClient});
|
|
2730
3007
|
*
|
|
2731
3008
|
* // Do the magic
|
|
2732
|
-
* const res = await dataform.projects.locations.
|
|
2733
|
-
* // The name
|
|
2734
|
-
* name: 'projects/my-project/locations/my-location/
|
|
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
|
+
* },
|
|
2735
3029
|
* });
|
|
2736
3030
|
* console.log(res.data);
|
|
2737
3031
|
*
|
|
2738
3032
|
* // Example response
|
|
2739
3033
|
* // {
|
|
2740
|
-
* // "
|
|
2741
|
-
* // "
|
|
2742
|
-
* // "
|
|
3034
|
+
* // "containingFolder": "my_containingFolder",
|
|
3035
|
+
* // "createTime": "my_createTime",
|
|
3036
|
+
* // "creatorIamPrincipal": "my_creatorIamPrincipal",
|
|
3037
|
+
* // "displayName": "my_displayName",
|
|
3038
|
+
* // "internalMetadata": "my_internalMetadata",
|
|
2743
3039
|
* // "name": "my_name",
|
|
2744
|
-
* // "
|
|
3040
|
+
* // "teamFolderName": "my_teamFolderName",
|
|
3041
|
+
* // "updateTime": "my_updateTime"
|
|
2745
3042
|
* // }
|
|
2746
3043
|
* }
|
|
2747
3044
|
*
|
|
@@ -2757,14 +3054,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2757
3054
|
* @param callback - Optional callback that handles the response.
|
|
2758
3055
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2759
3056
|
*/
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
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;
|
|
2766
3063
|
/**
|
|
2767
|
-
*
|
|
3064
|
+
* Returns the contents of a given Folder.
|
|
2768
3065
|
* @example
|
|
2769
3066
|
* ```js
|
|
2770
3067
|
* // Before running the sample:
|
|
@@ -2796,25 +3093,24 @@ export declare namespace dataform_v1beta1 {
|
|
|
2796
3093
|
* google.options({auth: authClient});
|
|
2797
3094
|
*
|
|
2798
3095
|
* // Do the magic
|
|
2799
|
-
* const res = await dataform.projects.locations.
|
|
2800
|
-
* //
|
|
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""`
|
|
2801
3098
|
* filter: 'placeholder-value',
|
|
2802
|
-
* //
|
|
2803
|
-
*
|
|
2804
|
-
* //
|
|
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.
|
|
2805
3104
|
* pageSize: 'placeholder-value',
|
|
2806
|
-
* //
|
|
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.
|
|
2807
3106
|
* pageToken: 'placeholder-value',
|
|
2808
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
2809
|
-
* returnPartialSuccess: 'placeholder-value',
|
|
2810
3107
|
* });
|
|
2811
3108
|
* console.log(res.data);
|
|
2812
3109
|
*
|
|
2813
3110
|
* // Example response
|
|
2814
3111
|
* // {
|
|
2815
|
-
* // "
|
|
2816
|
-
* // "
|
|
2817
|
-
* // "unreachable": []
|
|
3112
|
+
* // "entries": [],
|
|
3113
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
2818
3114
|
* // }
|
|
2819
3115
|
* }
|
|
2820
3116
|
*
|
|
@@ -2830,67 +3126,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2830
3126
|
* @param callback - Optional callback that handles the response.
|
|
2831
3127
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2832
3128
|
*/
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
}
|
|
2840
|
-
export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
|
|
2841
|
-
/**
|
|
2842
|
-
* The name of the operation resource to be cancelled.
|
|
2843
|
-
*/
|
|
2844
|
-
name?: string;
|
|
2845
|
-
/**
|
|
2846
|
-
* Request body metadata
|
|
2847
|
-
*/
|
|
2848
|
-
requestBody?: Schema$CancelOperationRequest;
|
|
2849
|
-
}
|
|
2850
|
-
export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
|
|
2851
|
-
/**
|
|
2852
|
-
* The name of the operation resource to be deleted.
|
|
2853
|
-
*/
|
|
2854
|
-
name?: string;
|
|
2855
|
-
}
|
|
2856
|
-
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
|
|
2857
|
-
/**
|
|
2858
|
-
* The name of the operation resource.
|
|
2859
|
-
*/
|
|
2860
|
-
name?: string;
|
|
2861
|
-
}
|
|
2862
|
-
export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
|
|
2863
|
-
/**
|
|
2864
|
-
* The standard list filter.
|
|
2865
|
-
*/
|
|
2866
|
-
filter?: string;
|
|
2867
|
-
/**
|
|
2868
|
-
* The name of the operation's parent resource.
|
|
2869
|
-
*/
|
|
2870
|
-
name?: string;
|
|
2871
|
-
/**
|
|
2872
|
-
* The standard list page size.
|
|
2873
|
-
*/
|
|
2874
|
-
pageSize?: number;
|
|
2875
|
-
/**
|
|
2876
|
-
* The standard list page token.
|
|
2877
|
-
*/
|
|
2878
|
-
pageToken?: string;
|
|
2879
|
-
/**
|
|
2880
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
2881
|
-
*/
|
|
2882
|
-
returnPartialSuccess?: boolean;
|
|
2883
|
-
}
|
|
2884
|
-
export class Resource$Projects$Locations$Repositories {
|
|
2885
|
-
context: APIRequestContext;
|
|
2886
|
-
compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
|
|
2887
|
-
releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
|
|
2888
|
-
workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
|
|
2889
|
-
workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
|
|
2890
|
-
workspaces: Resource$Projects$Locations$Repositories$Workspaces;
|
|
2891
|
-
constructor(context: APIRequestContext);
|
|
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;
|
|
2892
3135
|
/**
|
|
2893
|
-
*
|
|
3136
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
2894
3137
|
* @example
|
|
2895
3138
|
* ```js
|
|
2896
3139
|
* // Before running the sample:
|
|
@@ -2922,17 +3165,15 @@ export declare namespace dataform_v1beta1 {
|
|
|
2922
3165
|
* google.options({auth: authClient});
|
|
2923
3166
|
*
|
|
2924
3167
|
* // Do the magic
|
|
2925
|
-
* const res = await dataform.projects.locations.
|
|
2926
|
-
* //
|
|
2927
|
-
*
|
|
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',
|
|
2928
3171
|
*
|
|
2929
3172
|
* // Request body metadata
|
|
2930
3173
|
* requestBody: {
|
|
2931
3174
|
* // request body parameters
|
|
2932
3175
|
* // {
|
|
2933
|
-
* // "
|
|
2934
|
-
* // "fileOperations": {},
|
|
2935
|
-
* // "requiredHeadCommitSha": "my_requiredHeadCommitSha"
|
|
3176
|
+
* // "policy": {}
|
|
2936
3177
|
* // }
|
|
2937
3178
|
* },
|
|
2938
3179
|
* });
|
|
@@ -2940,7 +3181,9 @@ export declare namespace dataform_v1beta1 {
|
|
|
2940
3181
|
*
|
|
2941
3182
|
* // Example response
|
|
2942
3183
|
* // {
|
|
2943
|
-
* // "
|
|
3184
|
+
* // "bindings": [],
|
|
3185
|
+
* // "etag": "my_etag",
|
|
3186
|
+
* // "version": 0
|
|
2944
3187
|
* // }
|
|
2945
3188
|
* }
|
|
2946
3189
|
*
|
|
@@ -2956,14 +3199,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
2956
3199
|
* @param callback - Optional callback that handles the response.
|
|
2957
3200
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2958
3201
|
*/
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
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;
|
|
2965
3208
|
/**
|
|
2966
|
-
*
|
|
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.
|
|
2967
3210
|
* @example
|
|
2968
3211
|
* ```js
|
|
2969
3212
|
* // Before running the sample:
|
|
@@ -2995,16 +3238,23 @@ export declare namespace dataform_v1beta1 {
|
|
|
2995
3238
|
* google.options({auth: authClient});
|
|
2996
3239
|
*
|
|
2997
3240
|
* // Do the magic
|
|
2998
|
-
* const res =
|
|
2999
|
-
*
|
|
3000
|
-
*
|
|
3001
|
-
*
|
|
3002
|
-
*
|
|
3003
|
-
*
|
|
3004
|
-
*
|
|
3005
|
-
*
|
|
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
|
+
* });
|
|
3253
|
+
* console.log(res.data);
|
|
3254
|
+
*
|
|
3255
|
+
* // Example response
|
|
3006
3256
|
* // {
|
|
3007
|
-
* // "
|
|
3257
|
+
* // "permissions": []
|
|
3008
3258
|
* // }
|
|
3009
3259
|
* }
|
|
3010
3260
|
*
|
|
@@ -3020,14 +3270,120 @@ export declare namespace dataform_v1beta1 {
|
|
|
3020
3270
|
* @param callback - Optional callback that handles the response.
|
|
3021
3271
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3022
3272
|
*/
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
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 {
|
|
3029
3281
|
/**
|
|
3030
|
-
*
|
|
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`.
|
|
3031
3387
|
* @example
|
|
3032
3388
|
* ```js
|
|
3033
3389
|
* // Before running the sample:
|
|
@@ -3059,48 +3415,20 @@ export declare namespace dataform_v1beta1 {
|
|
|
3059
3415
|
* google.options({auth: authClient});
|
|
3060
3416
|
*
|
|
3061
3417
|
* // Do the magic
|
|
3062
|
-
* const res = await dataform.projects.locations.
|
|
3063
|
-
* //
|
|
3064
|
-
*
|
|
3065
|
-
* // Required. The ID to use for the repository, which will become the final component of the repository's resource name.
|
|
3066
|
-
* repositoryId: 'placeholder-value',
|
|
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',
|
|
3067
3421
|
*
|
|
3068
3422
|
* // Request body metadata
|
|
3069
3423
|
* requestBody: {
|
|
3070
3424
|
* // request body parameters
|
|
3071
|
-
* // {
|
|
3072
|
-
* // "createTime": "my_createTime",
|
|
3073
|
-
* // "dataEncryptionState": {},
|
|
3074
|
-
* // "displayName": "my_displayName",
|
|
3075
|
-
* // "gitRemoteSettings": {},
|
|
3076
|
-
* // "internalMetadata": "my_internalMetadata",
|
|
3077
|
-
* // "kmsKeyName": "my_kmsKeyName",
|
|
3078
|
-
* // "labels": {},
|
|
3079
|
-
* // "name": "my_name",
|
|
3080
|
-
* // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
|
|
3081
|
-
* // "serviceAccount": "my_serviceAccount",
|
|
3082
|
-
* // "setAuthenticatedUserAdmin": false,
|
|
3083
|
-
* // "workspaceCompilationOverrides": {}
|
|
3084
|
-
* // }
|
|
3425
|
+
* // {}
|
|
3085
3426
|
* },
|
|
3086
3427
|
* });
|
|
3087
3428
|
* console.log(res.data);
|
|
3088
3429
|
*
|
|
3089
3430
|
* // Example response
|
|
3090
|
-
* // {
|
|
3091
|
-
* // "createTime": "my_createTime",
|
|
3092
|
-
* // "dataEncryptionState": {},
|
|
3093
|
-
* // "displayName": "my_displayName",
|
|
3094
|
-
* // "gitRemoteSettings": {},
|
|
3095
|
-
* // "internalMetadata": "my_internalMetadata",
|
|
3096
|
-
* // "kmsKeyName": "my_kmsKeyName",
|
|
3097
|
-
* // "labels": {},
|
|
3098
|
-
* // "name": "my_name",
|
|
3099
|
-
* // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
|
|
3100
|
-
* // "serviceAccount": "my_serviceAccount",
|
|
3101
|
-
* // "setAuthenticatedUserAdmin": false,
|
|
3102
|
-
* // "workspaceCompilationOverrides": {}
|
|
3103
|
-
* // }
|
|
3431
|
+
* // {}
|
|
3104
3432
|
* }
|
|
3105
3433
|
*
|
|
3106
3434
|
* main().catch(e => {
|
|
@@ -3115,14 +3443,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3115
3443
|
* @param callback - Optional callback that handles the response.
|
|
3116
3444
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3117
3445
|
*/
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
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;
|
|
3124
3452
|
/**
|
|
3125
|
-
* Deletes a
|
|
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`.
|
|
3126
3454
|
* @example
|
|
3127
3455
|
* ```js
|
|
3128
3456
|
* // Before running the sample:
|
|
@@ -3154,11 +3482,9 @@ export declare namespace dataform_v1beta1 {
|
|
|
3154
3482
|
* google.options({auth: authClient});
|
|
3155
3483
|
*
|
|
3156
3484
|
* // Do the magic
|
|
3157
|
-
* const res = await dataform.projects.locations.
|
|
3158
|
-
* //
|
|
3159
|
-
*
|
|
3160
|
-
* // Required. The repository's name.
|
|
3161
|
-
* 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',
|
|
3162
3488
|
* });
|
|
3163
3489
|
* console.log(res.data);
|
|
3164
3490
|
*
|
|
@@ -3178,14 +3504,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3178
3504
|
* @param callback - Optional callback that handles the response.
|
|
3179
3505
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3180
3506
|
*/
|
|
3181
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3182
|
-
delete(params?: Params$Resource$Projects$Locations$
|
|
3183
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3184
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
3185
|
-
delete(params: Params$Resource$Projects$Locations$
|
|
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;
|
|
3186
3512
|
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3187
3513
|
/**
|
|
3188
|
-
*
|
|
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.
|
|
3189
3515
|
* @example
|
|
3190
3516
|
* ```js
|
|
3191
3517
|
* // Before running the sample:
|
|
@@ -3217,20 +3543,19 @@ export declare namespace dataform_v1beta1 {
|
|
|
3217
3543
|
* google.options({auth: authClient});
|
|
3218
3544
|
*
|
|
3219
3545
|
* // Do the magic
|
|
3220
|
-
* const res = await dataform.projects.locations.
|
|
3221
|
-
* //
|
|
3222
|
-
* name: 'projects/my-project/locations/my-location/
|
|
3223
|
-
* // Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3224
|
-
* pageSize: 'placeholder-value',
|
|
3225
|
-
* // Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token.
|
|
3226
|
-
* pageToken: 'placeholder-value',
|
|
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',
|
|
3227
3549
|
* });
|
|
3228
3550
|
* console.log(res.data);
|
|
3229
3551
|
*
|
|
3230
3552
|
* // Example response
|
|
3231
3553
|
* // {
|
|
3232
|
-
* // "
|
|
3233
|
-
* // "
|
|
3554
|
+
* // "done": false,
|
|
3555
|
+
* // "error": {},
|
|
3556
|
+
* // "metadata": {},
|
|
3557
|
+
* // "name": "my_name",
|
|
3558
|
+
* // "response": {}
|
|
3234
3559
|
* // }
|
|
3235
3560
|
* }
|
|
3236
3561
|
*
|
|
@@ -3246,14 +3571,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3246
3571
|
* @param callback - Optional callback that handles the response.
|
|
3247
3572
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3248
3573
|
*/
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
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;
|
|
3255
3580
|
/**
|
|
3256
|
-
*
|
|
3581
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
3257
3582
|
* @example
|
|
3258
3583
|
* ```js
|
|
3259
3584
|
* // Before running the sample:
|
|
@@ -3285,16 +3610,25 @@ export declare namespace dataform_v1beta1 {
|
|
|
3285
3610
|
* google.options({auth: authClient});
|
|
3286
3611
|
*
|
|
3287
3612
|
* // Do the magic
|
|
3288
|
-
* const res =
|
|
3289
|
-
*
|
|
3290
|
-
*
|
|
3291
|
-
*
|
|
3292
|
-
*
|
|
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
|
+
* });
|
|
3293
3625
|
* console.log(res.data);
|
|
3294
3626
|
*
|
|
3295
3627
|
* // Example response
|
|
3296
3628
|
* // {
|
|
3297
|
-
* // "
|
|
3629
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
3630
|
+
* // "operations": [],
|
|
3631
|
+
* // "unreachable": []
|
|
3298
3632
|
* // }
|
|
3299
3633
|
* }
|
|
3300
3634
|
*
|
|
@@ -3310,88 +3644,67 @@ export declare namespace dataform_v1beta1 {
|
|
|
3310
3644
|
* @param callback - Optional callback that handles the response.
|
|
3311
3645
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3312
3646
|
*/
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
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 {
|
|
3319
3655
|
/**
|
|
3320
|
-
*
|
|
3321
|
-
* @example
|
|
3322
|
-
* ```js
|
|
3323
|
-
* // Before running the sample:
|
|
3324
|
-
* // - Enable the API at:
|
|
3325
|
-
* // https://console.developers.google.com/apis/api/dataform.googleapis.com
|
|
3326
|
-
* // - Login into gcloud by running:
|
|
3327
|
-
* // ```sh
|
|
3328
|
-
* // $ gcloud auth application-default login
|
|
3329
|
-
* // ```
|
|
3330
|
-
* // - Install the npm module by running:
|
|
3331
|
-
* // ```sh
|
|
3332
|
-
* // $ npm install googleapis
|
|
3333
|
-
* // ```
|
|
3334
|
-
*
|
|
3335
|
-
* const {google} = require('googleapis');
|
|
3336
|
-
* const dataform = google.dataform('v1beta1');
|
|
3337
|
-
*
|
|
3338
|
-
* async function main() {
|
|
3339
|
-
* const auth = new google.auth.GoogleAuth({
|
|
3340
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3341
|
-
* scopes: [
|
|
3342
|
-
* 'https://www.googleapis.com/auth/bigquery',
|
|
3343
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
3344
|
-
* ],
|
|
3345
|
-
* });
|
|
3346
|
-
*
|
|
3347
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
3348
|
-
* const authClient = await auth.getClient();
|
|
3349
|
-
* google.options({auth: authClient});
|
|
3350
|
-
*
|
|
3351
|
-
* // Do the magic
|
|
3352
|
-
* const res = await dataform.projects.locations.repositories.get({
|
|
3353
|
-
* // Required. The repository's name.
|
|
3354
|
-
* name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
|
|
3355
|
-
* });
|
|
3356
|
-
* console.log(res.data);
|
|
3357
|
-
*
|
|
3358
|
-
* // Example response
|
|
3359
|
-
* // {
|
|
3360
|
-
* // "createTime": "my_createTime",
|
|
3361
|
-
* // "dataEncryptionState": {},
|
|
3362
|
-
* // "displayName": "my_displayName",
|
|
3363
|
-
* // "gitRemoteSettings": {},
|
|
3364
|
-
* // "internalMetadata": "my_internalMetadata",
|
|
3365
|
-
* // "kmsKeyName": "my_kmsKeyName",
|
|
3366
|
-
* // "labels": {},
|
|
3367
|
-
* // "name": "my_name",
|
|
3368
|
-
* // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
|
|
3369
|
-
* // "serviceAccount": "my_serviceAccount",
|
|
3370
|
-
* // "setAuthenticatedUserAdmin": false,
|
|
3371
|
-
* // "workspaceCompilationOverrides": {}
|
|
3372
|
-
* // }
|
|
3373
|
-
* }
|
|
3374
|
-
*
|
|
3375
|
-
* main().catch(e => {
|
|
3376
|
-
* console.error(e);
|
|
3377
|
-
* throw e;
|
|
3378
|
-
* });
|
|
3379
|
-
*
|
|
3380
|
-
* ```
|
|
3381
|
-
*
|
|
3382
|
-
* @param params - Parameters for request
|
|
3383
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3384
|
-
* @param callback - Optional callback that handles the response.
|
|
3385
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3656
|
+
* The name of the operation resource to be cancelled.
|
|
3386
3657
|
*/
|
|
3387
|
-
|
|
3388
|
-
get(params?: Params$Resource$Projects$Locations$Repositories$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Repository>>;
|
|
3389
|
-
get(params: Params$Resource$Projects$Locations$Repositories$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3390
|
-
get(params: Params$Resource$Projects$Locations$Repositories$Get, options: MethodOptions | BodyResponseCallback<Schema$Repository>, callback: BodyResponseCallback<Schema$Repository>): void;
|
|
3391
|
-
get(params: Params$Resource$Projects$Locations$Repositories$Get, callback: BodyResponseCallback<Schema$Repository>): void;
|
|
3392
|
-
get(callback: BodyResponseCallback<Schema$Repository>): void;
|
|
3658
|
+
name?: string;
|
|
3393
3659
|
/**
|
|
3394
|
-
*
|
|
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`.
|
|
3395
3708
|
* @example
|
|
3396
3709
|
* ```js
|
|
3397
3710
|
* // Before running the sample:
|
|
@@ -3423,20 +3736,25 @@ export declare namespace dataform_v1beta1 {
|
|
|
3423
3736
|
* google.options({auth: authClient});
|
|
3424
3737
|
*
|
|
3425
3738
|
* // Do the magic
|
|
3426
|
-
* const res = await dataform.projects.locations.repositories.
|
|
3427
|
-
* //
|
|
3428
|
-
*
|
|
3429
|
-
*
|
|
3430
|
-
*
|
|
3431
|
-
*
|
|
3739
|
+
* const res = await dataform.projects.locations.repositories.commit({
|
|
3740
|
+
* // Required. The repository's name.
|
|
3741
|
+
* name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
|
|
3742
|
+
*
|
|
3743
|
+
* // Request body metadata
|
|
3744
|
+
* requestBody: {
|
|
3745
|
+
* // request body parameters
|
|
3746
|
+
* // {
|
|
3747
|
+
* // "commitMetadata": {},
|
|
3748
|
+
* // "fileOperations": {},
|
|
3749
|
+
* // "requiredHeadCommitSha": "my_requiredHeadCommitSha"
|
|
3750
|
+
* // }
|
|
3751
|
+
* },
|
|
3432
3752
|
* });
|
|
3433
3753
|
* console.log(res.data);
|
|
3434
3754
|
*
|
|
3435
3755
|
* // Example response
|
|
3436
3756
|
* // {
|
|
3437
|
-
* // "
|
|
3438
|
-
* // "etag": "my_etag",
|
|
3439
|
-
* // "version": 0
|
|
3757
|
+
* // "commitSha": "my_commitSha"
|
|
3440
3758
|
* // }
|
|
3441
3759
|
* }
|
|
3442
3760
|
*
|
|
@@ -3452,14 +3770,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3452
3770
|
* @param callback - Optional callback that handles the response.
|
|
3453
3771
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3454
3772
|
*/
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
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;
|
|
3461
3779
|
/**
|
|
3462
|
-
*
|
|
3780
|
+
* Computes a Repository's Git access token status.
|
|
3463
3781
|
* @example
|
|
3464
3782
|
* ```js
|
|
3465
3783
|
* // Before running the sample:
|
|
@@ -3491,25 +3809,16 @@ export declare namespace dataform_v1beta1 {
|
|
|
3491
3809
|
* google.options({auth: authClient});
|
|
3492
3810
|
*
|
|
3493
3811
|
* // Do the magic
|
|
3494
|
-
* const res =
|
|
3495
|
-
*
|
|
3496
|
-
*
|
|
3497
|
-
*
|
|
3498
|
-
*
|
|
3499
|
-
* // Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3500
|
-
* pageSize: 'placeholder-value',
|
|
3501
|
-
* // Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.
|
|
3502
|
-
* pageToken: 'placeholder-value',
|
|
3503
|
-
* // Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
|
|
3504
|
-
* parent: 'projects/my-project/locations/my-location',
|
|
3505
|
-
* });
|
|
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
|
+
* });
|
|
3506
3817
|
* console.log(res.data);
|
|
3507
3818
|
*
|
|
3508
3819
|
* // Example response
|
|
3509
3820
|
* // {
|
|
3510
|
-
* // "
|
|
3511
|
-
* // "repositories": [],
|
|
3512
|
-
* // "unreachable": []
|
|
3821
|
+
* // "tokenStatus": "my_tokenStatus"
|
|
3513
3822
|
* // }
|
|
3514
3823
|
* }
|
|
3515
3824
|
*
|
|
@@ -3525,14 +3834,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3525
3834
|
* @param callback - Optional callback that handles the response.
|
|
3526
3835
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3527
3836
|
*/
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
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;
|
|
3534
3843
|
/**
|
|
3535
|
-
*
|
|
3844
|
+
* Creates a new Repository in a given project and location.
|
|
3536
3845
|
* @example
|
|
3537
3846
|
* ```js
|
|
3538
3847
|
* // Before running the sample:
|
|
@@ -3564,16 +3873,17 @@ export declare namespace dataform_v1beta1 {
|
|
|
3564
3873
|
* google.options({auth: authClient});
|
|
3565
3874
|
*
|
|
3566
3875
|
* // Do the magic
|
|
3567
|
-
* const res = await dataform.projects.locations.repositories.
|
|
3568
|
-
* //
|
|
3569
|
-
*
|
|
3570
|
-
* //
|
|
3571
|
-
*
|
|
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',
|
|
3572
3881
|
*
|
|
3573
3882
|
* // Request body metadata
|
|
3574
3883
|
* requestBody: {
|
|
3575
3884
|
* // request body parameters
|
|
3576
3885
|
* // {
|
|
3886
|
+
* // "containingFolder": "my_containingFolder",
|
|
3577
3887
|
* // "createTime": "my_createTime",
|
|
3578
3888
|
* // "dataEncryptionState": {},
|
|
3579
3889
|
* // "displayName": "my_displayName",
|
|
@@ -3585,6 +3895,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
3585
3895
|
* // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
|
|
3586
3896
|
* // "serviceAccount": "my_serviceAccount",
|
|
3587
3897
|
* // "setAuthenticatedUserAdmin": false,
|
|
3898
|
+
* // "teamFolderName": "my_teamFolderName",
|
|
3588
3899
|
* // "workspaceCompilationOverrides": {}
|
|
3589
3900
|
* // }
|
|
3590
3901
|
* },
|
|
@@ -3593,6 +3904,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
3593
3904
|
*
|
|
3594
3905
|
* // Example response
|
|
3595
3906
|
* // {
|
|
3907
|
+
* // "containingFolder": "my_containingFolder",
|
|
3596
3908
|
* // "createTime": "my_createTime",
|
|
3597
3909
|
* // "dataEncryptionState": {},
|
|
3598
3910
|
* // "displayName": "my_displayName",
|
|
@@ -3604,6 +3916,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
3604
3916
|
* // "npmrcEnvironmentVariablesSecretVersion": "my_npmrcEnvironmentVariablesSecretVersion",
|
|
3605
3917
|
* // "serviceAccount": "my_serviceAccount",
|
|
3606
3918
|
* // "setAuthenticatedUserAdmin": false,
|
|
3919
|
+
* // "teamFolderName": "my_teamFolderName",
|
|
3607
3920
|
* // "workspaceCompilationOverrides": {}
|
|
3608
3921
|
* // }
|
|
3609
3922
|
* }
|
|
@@ -3620,14 +3933,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3620
3933
|
* @param callback - Optional callback that handles the response.
|
|
3621
3934
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3622
3935
|
*/
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
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;
|
|
3629
3942
|
/**
|
|
3630
|
-
*
|
|
3943
|
+
* Deletes a single Repository.
|
|
3631
3944
|
* @example
|
|
3632
3945
|
* ```js
|
|
3633
3946
|
* // Before running the sample:
|
|
@@ -3659,26 +3972,16 @@ export declare namespace dataform_v1beta1 {
|
|
|
3659
3972
|
* google.options({auth: authClient});
|
|
3660
3973
|
*
|
|
3661
3974
|
* // Do the magic
|
|
3662
|
-
* const res =
|
|
3663
|
-
*
|
|
3664
|
-
*
|
|
3665
|
-
*
|
|
3666
|
-
*
|
|
3667
|
-
*
|
|
3668
|
-
* // Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3669
|
-
* pageSize: 'placeholder-value',
|
|
3670
|
-
* // Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.
|
|
3671
|
-
* pageToken: 'placeholder-value',
|
|
3672
|
-
* // Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
|
|
3673
|
-
* path: 'placeholder-value',
|
|
3674
|
-
* });
|
|
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
|
+
* });
|
|
3675
3981
|
* console.log(res.data);
|
|
3676
3982
|
*
|
|
3677
3983
|
* // Example response
|
|
3678
|
-
* // {
|
|
3679
|
-
* // "directoryEntries": [],
|
|
3680
|
-
* // "nextPageToken": "my_nextPageToken"
|
|
3681
|
-
* // }
|
|
3984
|
+
* // {}
|
|
3682
3985
|
* }
|
|
3683
3986
|
*
|
|
3684
3987
|
* main().catch(e => {
|
|
@@ -3693,14 +3996,14 @@ export declare namespace dataform_v1beta1 {
|
|
|
3693
3996
|
* @param callback - Optional callback that handles the response.
|
|
3694
3997
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3695
3998
|
*/
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
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;
|
|
3702
4005
|
/**
|
|
3703
|
-
*
|
|
4006
|
+
* Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
|
|
3704
4007
|
* @example
|
|
3705
4008
|
* ```js
|
|
3706
4009
|
* // Before running the sample:
|
|
@@ -3732,8 +4035,604 @@ export declare namespace dataform_v1beta1 {
|
|
|
3732
4035
|
* google.options({auth: authClient});
|
|
3733
4036
|
*
|
|
3734
4037
|
* // Do the magic
|
|
3735
|
-
* const res = await dataform.projects.locations.repositories.
|
|
3736
|
-
* //
|
|
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.
|
|
3737
4636
|
* commitSha: 'placeholder-value',
|
|
3738
4637
|
* // Required. The repository's name.
|
|
3739
4638
|
* name: 'projects/my-project/locations/my-location/repositories/my-repositorie',
|
|
@@ -4013,6 +4912,16 @@ export declare namespace dataform_v1beta1 {
|
|
|
4013
4912
|
*/
|
|
4014
4913
|
parent?: string;
|
|
4015
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
|
+
}
|
|
4016
4925
|
export interface Params$Resource$Projects$Locations$Repositories$Patch extends StandardParameters {
|
|
4017
4926
|
/**
|
|
4018
4927
|
* Identifier. The repository's name.
|
|
@@ -5983,6 +6892,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
5983
6892
|
* // {
|
|
5984
6893
|
* // "createTime": "my_createTime",
|
|
5985
6894
|
* // "dataEncryptionState": {},
|
|
6895
|
+
* // "disableMoves": false,
|
|
5986
6896
|
* // "internalMetadata": "my_internalMetadata",
|
|
5987
6897
|
* // "name": "my_name",
|
|
5988
6898
|
* // "privateResourceMetadata": {}
|
|
@@ -5995,6 +6905,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
5995
6905
|
* // {
|
|
5996
6906
|
* // "createTime": "my_createTime",
|
|
5997
6907
|
* // "dataEncryptionState": {},
|
|
6908
|
+
* // "disableMoves": false,
|
|
5998
6909
|
* // "internalMetadata": "my_internalMetadata",
|
|
5999
6910
|
* // "name": "my_name",
|
|
6000
6911
|
* // "privateResourceMetadata": {}
|
|
@@ -6325,6 +7236,7 @@ export declare namespace dataform_v1beta1 {
|
|
|
6325
7236
|
* // {
|
|
6326
7237
|
* // "createTime": "my_createTime",
|
|
6327
7238
|
* // "dataEncryptionState": {},
|
|
7239
|
+
* // "disableMoves": false,
|
|
6328
7240
|
* // "internalMetadata": "my_internalMetadata",
|
|
6329
7241
|
* // "name": "my_name",
|
|
6330
7242
|
* // "privateResourceMetadata": {}
|
|
@@ -7829,11 +8741,223 @@ export declare namespace dataform_v1beta1 {
|
|
|
7829
8741
|
/**
|
|
7830
8742
|
* Request body metadata
|
|
7831
8743
|
*/
|
|
7832
|
-
requestBody?: Schema$WriteFileRequest;
|
|
7833
|
-
}
|
|
7834
|
-
export class Resource$Projects$Locations$Teamfolders {
|
|
7835
|
-
context: APIRequestContext;
|
|
7836
|
-
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;
|
|
7837
8961
|
/**
|
|
7838
8962
|
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
7839
8963
|
* @example
|
|
@@ -7902,6 +9026,234 @@ export declare namespace dataform_v1beta1 {
|
|
|
7902
9026
|
getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7903
9027
|
getIamPolicy(params: Params$Resource$Projects$Locations$Teamfolders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
7904
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;
|
|
7905
9257
|
/**
|
|
7906
9258
|
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
7907
9259
|
* @example
|
|
@@ -8049,6 +9401,32 @@ export declare namespace dataform_v1beta1 {
|
|
|
8049
9401
|
testIamPermissions(params: Params$Resource$Projects$Locations$Teamfolders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
8050
9402
|
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
8051
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
|
+
}
|
|
8052
9430
|
export interface Params$Resource$Projects$Locations$Teamfolders$Getiampolicy extends StandardParameters {
|
|
8053
9431
|
/**
|
|
8054
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).
|
|
@@ -8059,6 +9437,64 @@ export declare namespace dataform_v1beta1 {
|
|
|
8059
9437
|
*/
|
|
8060
9438
|
resource?: string;
|
|
8061
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
|
+
}
|
|
8062
9498
|
export interface Params$Resource$Projects$Locations$Teamfolders$Setiampolicy extends StandardParameters {
|
|
8063
9499
|
/**
|
|
8064
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.
|