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