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