@maxim_mazurok/gapi.client.dataform-v1beta1 0.1.20251208 → 0.1.20260106
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/index.d.ts +884 -180
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dataform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260106
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -323,6 +323,30 @@ declare namespace gapi.client {
|
|
|
323
323
|
/** File system path relative to the workspace root. */
|
|
324
324
|
path?: string;
|
|
325
325
|
}
|
|
326
|
+
interface Folder {
|
|
327
|
+
/** Optional. The containing Folder resource name. This should take the format: projects/{project}/locations/{location}/folders/{folder}, projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just projects/{project}/locations/{location} if this is a root Folder. This field can only be updated through MoveFolder. */
|
|
328
|
+
containingFolder?: string;
|
|
329
|
+
/** Output only. The timestamp of when the Folder was created. */
|
|
330
|
+
createTime?: string;
|
|
331
|
+
/** Output only. The IAM principal identifier of the creator of the Folder. */
|
|
332
|
+
creatorIamPrincipal?: string;
|
|
333
|
+
/** Required. The Folder's user-friendly name. */
|
|
334
|
+
displayName?: string;
|
|
335
|
+
/** 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. */
|
|
336
|
+
internalMetadata?: string;
|
|
337
|
+
/** Identifier. The Folder's name. */
|
|
338
|
+
name?: string;
|
|
339
|
+
/** 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. */
|
|
340
|
+
teamFolderName?: string;
|
|
341
|
+
/** Output only. The timestamp of when the Folder was last updated. */
|
|
342
|
+
updateTime?: string;
|
|
343
|
+
}
|
|
344
|
+
interface FolderContentsEntry {
|
|
345
|
+
/** A subfolder. */
|
|
346
|
+
folder?: Folder;
|
|
347
|
+
/** A repository. */
|
|
348
|
+
repository?: Repository;
|
|
349
|
+
}
|
|
326
350
|
interface GitRemoteSettings {
|
|
327
351
|
/** Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`. */
|
|
328
352
|
authenticationTokenSecretVersion?: string;
|
|
@@ -486,6 +510,14 @@ declare namespace gapi.client {
|
|
|
486
510
|
path?: string;
|
|
487
511
|
}
|
|
488
512
|
interface MoveFileResponse {}
|
|
513
|
+
interface MoveFolderRequest {
|
|
514
|
+
/** Required. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: - "" to move into the root User folder - `projects/*/locations/*/folders/*` - `projects/*/locations/*/teamFolders/*` */
|
|
515
|
+
destinationContainingFolder?: string;
|
|
516
|
+
}
|
|
517
|
+
interface MoveRepositoryRequest {
|
|
518
|
+
/** Required. The name of the Folder, TeamFolder, or root location to move the repository to. Can be in the format of: - "" to move into the root User folder - `projects/*/locations/*/folders/*` - `projects/*/locations/*/teamFolders/*` */
|
|
519
|
+
destinationContainingFolder?: string;
|
|
520
|
+
}
|
|
489
521
|
interface Notebook {
|
|
490
522
|
/** The contents of the notebook. */
|
|
491
523
|
contents?: string;
|
|
@@ -594,12 +626,30 @@ declare namespace gapi.client {
|
|
|
594
626
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
595
627
|
nextPageToken?: string;
|
|
596
628
|
}
|
|
629
|
+
interface QueryFolderContentsResponse {
|
|
630
|
+
/** List of entries in the folder. */
|
|
631
|
+
entries?: FolderContentsEntry[];
|
|
632
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
633
|
+
nextPageToken?: string;
|
|
634
|
+
}
|
|
597
635
|
interface QueryRepositoryDirectoryContentsResponse {
|
|
598
636
|
/** List of entries in the directory. */
|
|
599
637
|
directoryEntries?: DirectoryEntry[];
|
|
600
638
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
601
639
|
nextPageToken?: string;
|
|
602
640
|
}
|
|
641
|
+
interface QueryTeamFolderContentsResponse {
|
|
642
|
+
/** List of entries in the TeamFolder. */
|
|
643
|
+
entries?: TeamFolderContentsEntry[];
|
|
644
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
645
|
+
nextPageToken?: string;
|
|
646
|
+
}
|
|
647
|
+
interface QueryUserRootContentsResponse {
|
|
648
|
+
/** List of entries in the folder. */
|
|
649
|
+
entries?: RootContentsEntry[];
|
|
650
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
651
|
+
nextPageToken?: string;
|
|
652
|
+
}
|
|
603
653
|
interface QueryWorkflowInvocationActionsResponse {
|
|
604
654
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
605
655
|
nextPageToken?: string;
|
|
@@ -691,6 +741,8 @@ declare namespace gapi.client {
|
|
|
691
741
|
}
|
|
692
742
|
interface RemoveFileResponse {}
|
|
693
743
|
interface Repository {
|
|
744
|
+
/** 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/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`. */
|
|
745
|
+
containingFolder?: string;
|
|
694
746
|
/** Output only. The timestamp of when the repository was created. */
|
|
695
747
|
createTime?: string;
|
|
696
748
|
/** Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key. */
|
|
@@ -713,6 +765,8 @@ declare namespace gapi.client {
|
|
|
713
765
|
serviceAccount?: string;
|
|
714
766
|
/** 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 */
|
|
715
767
|
setAuthenticatedUserAdmin?: boolean;
|
|
768
|
+
/** 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. */
|
|
769
|
+
teamFolderName?: string;
|
|
716
770
|
/** 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. */
|
|
717
771
|
workspaceCompilationOverrides?: WorkspaceCompilationOverrides;
|
|
718
772
|
}
|
|
@@ -723,6 +777,12 @@ declare namespace gapi.client {
|
|
|
723
777
|
paths?: string[];
|
|
724
778
|
}
|
|
725
779
|
interface ResetWorkspaceChangesResponse {}
|
|
780
|
+
interface RootContentsEntry {
|
|
781
|
+
/** A subfolder. */
|
|
782
|
+
folder?: Folder;
|
|
783
|
+
/** A repository. */
|
|
784
|
+
repository?: Repository;
|
|
785
|
+
}
|
|
726
786
|
interface ScheduledExecutionRecord {
|
|
727
787
|
/** The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. */
|
|
728
788
|
errorStatus?: Status;
|
|
@@ -751,6 +811,12 @@ declare namespace gapi.client {
|
|
|
751
811
|
/** Details when search result is a file. */
|
|
752
812
|
file?: FileSearchResult;
|
|
753
813
|
}
|
|
814
|
+
interface SearchTeamFoldersResponse {
|
|
815
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
816
|
+
nextPageToken?: string;
|
|
817
|
+
/** List of TeamFolders that match the search query. */
|
|
818
|
+
results?: TeamFolderSearchResult[];
|
|
819
|
+
}
|
|
754
820
|
interface SetIamPolicyRequest {
|
|
755
821
|
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
756
822
|
policy?: Policy;
|
|
@@ -786,6 +852,30 @@ declare namespace gapi.client {
|
|
|
786
852
|
/** Optional. The action's schema (BigQuery dataset ID), within `database`. */
|
|
787
853
|
schema?: string;
|
|
788
854
|
}
|
|
855
|
+
interface TeamFolder {
|
|
856
|
+
/** Output only. The timestamp of when the TeamFolder was created. */
|
|
857
|
+
createTime?: string;
|
|
858
|
+
/** Output only. The IAM principal identifier of the creator of the TeamFolder. */
|
|
859
|
+
creatorIamPrincipal?: string;
|
|
860
|
+
/** Required. The TeamFolder's user-friendly name. */
|
|
861
|
+
displayName?: string;
|
|
862
|
+
/** 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. */
|
|
863
|
+
internalMetadata?: string;
|
|
864
|
+
/** Identifier. The TeamFolder's name. */
|
|
865
|
+
name?: string;
|
|
866
|
+
/** Output only. The timestamp of when the TeamFolder was last updated. */
|
|
867
|
+
updateTime?: string;
|
|
868
|
+
}
|
|
869
|
+
interface TeamFolderContentsEntry {
|
|
870
|
+
/** A subfolder. */
|
|
871
|
+
folder?: Folder;
|
|
872
|
+
/** A repository. */
|
|
873
|
+
repository?: Repository;
|
|
874
|
+
}
|
|
875
|
+
interface TeamFolderSearchResult {
|
|
876
|
+
/** A TeamFolder resource that is in the project / location. */
|
|
877
|
+
teamFolder?: TeamFolder;
|
|
878
|
+
}
|
|
789
879
|
interface TestIamPermissionsRequest {
|
|
790
880
|
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
791
881
|
permissions?: string[];
|
|
@@ -869,6 +959,8 @@ declare namespace gapi.client {
|
|
|
869
959
|
createTime?: string;
|
|
870
960
|
/** Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key. */
|
|
871
961
|
dataEncryptionState?: DataEncryptionState;
|
|
962
|
+
/** Optional. If set to true, workspaces will not be moved if its linked Repository is moved. Instead, it will be deleted. */
|
|
963
|
+
disableMoves?: boolean;
|
|
872
964
|
/** 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. */
|
|
873
965
|
internalMetadata?: string;
|
|
874
966
|
/** Identifier. The workspace's name. */
|
|
@@ -896,99 +988,8 @@ declare namespace gapi.client {
|
|
|
896
988
|
}
|
|
897
989
|
interface WriteFileResponse {}
|
|
898
990
|
interface FoldersResource {
|
|
899
|
-
/**
|
|
900
|
-
|
|
901
|
-
/** V1 error format. */
|
|
902
|
-
'$.xgafv'?: string;
|
|
903
|
-
/** OAuth access token. */
|
|
904
|
-
access_token?: string;
|
|
905
|
-
/** Data format for response. */
|
|
906
|
-
alt?: string;
|
|
907
|
-
/** JSONP */
|
|
908
|
-
callback?: string;
|
|
909
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
910
|
-
fields?: string;
|
|
911
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
912
|
-
key?: string;
|
|
913
|
-
/** OAuth 2.0 token for the current user. */
|
|
914
|
-
oauth_token?: string;
|
|
915
|
-
/** 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). */
|
|
916
|
-
'options.requestedPolicyVersion'?: number;
|
|
917
|
-
/** Returns response with indentations and line breaks. */
|
|
918
|
-
prettyPrint?: boolean;
|
|
919
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
920
|
-
quotaUser?: string;
|
|
921
|
-
/** 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. */
|
|
922
|
-
resource: string;
|
|
923
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
924
|
-
upload_protocol?: string;
|
|
925
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
926
|
-
uploadType?: string;
|
|
927
|
-
}): Request<Policy>;
|
|
928
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
929
|
-
setIamPolicy(
|
|
930
|
-
request: {
|
|
931
|
-
/** V1 error format. */
|
|
932
|
-
'$.xgafv'?: string;
|
|
933
|
-
/** OAuth access token. */
|
|
934
|
-
access_token?: string;
|
|
935
|
-
/** Data format for response. */
|
|
936
|
-
alt?: string;
|
|
937
|
-
/** JSONP */
|
|
938
|
-
callback?: string;
|
|
939
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
940
|
-
fields?: string;
|
|
941
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
942
|
-
key?: string;
|
|
943
|
-
/** OAuth 2.0 token for the current user. */
|
|
944
|
-
oauth_token?: string;
|
|
945
|
-
/** Returns response with indentations and line breaks. */
|
|
946
|
-
prettyPrint?: boolean;
|
|
947
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
948
|
-
quotaUser?: string;
|
|
949
|
-
/** 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. */
|
|
950
|
-
resource: string;
|
|
951
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
952
|
-
upload_protocol?: string;
|
|
953
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
954
|
-
uploadType?: string;
|
|
955
|
-
},
|
|
956
|
-
body: SetIamPolicyRequest,
|
|
957
|
-
): Request<Policy>;
|
|
958
|
-
/** 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. */
|
|
959
|
-
testIamPermissions(
|
|
960
|
-
request: {
|
|
961
|
-
/** V1 error format. */
|
|
962
|
-
'$.xgafv'?: string;
|
|
963
|
-
/** OAuth access token. */
|
|
964
|
-
access_token?: string;
|
|
965
|
-
/** Data format for response. */
|
|
966
|
-
alt?: string;
|
|
967
|
-
/** JSONP */
|
|
968
|
-
callback?: string;
|
|
969
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
970
|
-
fields?: string;
|
|
971
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
972
|
-
key?: string;
|
|
973
|
-
/** OAuth 2.0 token for the current user. */
|
|
974
|
-
oauth_token?: string;
|
|
975
|
-
/** Returns response with indentations and line breaks. */
|
|
976
|
-
prettyPrint?: boolean;
|
|
977
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
978
|
-
quotaUser?: string;
|
|
979
|
-
/** 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. */
|
|
980
|
-
resource: string;
|
|
981
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
982
|
-
upload_protocol?: string;
|
|
983
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
984
|
-
uploadType?: string;
|
|
985
|
-
},
|
|
986
|
-
body: TestIamPermissionsRequest,
|
|
987
|
-
): Request<TestIamPermissionsResponse>;
|
|
988
|
-
}
|
|
989
|
-
interface OperationsResource {
|
|
990
|
-
/** 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`. */
|
|
991
|
-
cancel(request: {
|
|
991
|
+
/** Creates a new Folder in a given project and location. */
|
|
992
|
+
create(request: {
|
|
992
993
|
/** V1 error format. */
|
|
993
994
|
'$.xgafv'?: string;
|
|
994
995
|
/** OAuth access token. */
|
|
@@ -999,12 +1000,14 @@ declare namespace gapi.client {
|
|
|
999
1000
|
callback?: string;
|
|
1000
1001
|
/** Selector specifying which fields to include in a partial response. */
|
|
1001
1002
|
fields?: string;
|
|
1003
|
+
/** The ID to use for the Folder, which will become the final component of the Folder's resource name. */
|
|
1004
|
+
folderId?: string;
|
|
1002
1005
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1003
1006
|
key?: string;
|
|
1004
|
-
/** The name of the operation resource to be cancelled. */
|
|
1005
|
-
name: string;
|
|
1006
1007
|
/** OAuth 2.0 token for the current user. */
|
|
1007
1008
|
oauth_token?: string;
|
|
1009
|
+
/** Required. The location in which to create the Folder. Must be in the format `projects/*/locations/*`. */
|
|
1010
|
+
parent: string;
|
|
1008
1011
|
/** Returns response with indentations and line breaks. */
|
|
1009
1012
|
prettyPrint?: boolean;
|
|
1010
1013
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1014,9 +1017,9 @@ declare namespace gapi.client {
|
|
|
1014
1017
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1015
1018
|
uploadType?: string;
|
|
1016
1019
|
/** Request body */
|
|
1017
|
-
resource:
|
|
1018
|
-
}): Request<
|
|
1019
|
-
|
|
1020
|
+
resource: Folder;
|
|
1021
|
+
}): Request<Folder>;
|
|
1022
|
+
create(
|
|
1020
1023
|
request: {
|
|
1021
1024
|
/** V1 error format. */
|
|
1022
1025
|
'$.xgafv'?: string;
|
|
@@ -1028,12 +1031,14 @@ declare namespace gapi.client {
|
|
|
1028
1031
|
callback?: string;
|
|
1029
1032
|
/** Selector specifying which fields to include in a partial response. */
|
|
1030
1033
|
fields?: string;
|
|
1034
|
+
/** The ID to use for the Folder, which will become the final component of the Folder's resource name. */
|
|
1035
|
+
folderId?: string;
|
|
1031
1036
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1032
1037
|
key?: string;
|
|
1033
|
-
/** The name of the operation resource to be cancelled. */
|
|
1034
|
-
name: string;
|
|
1035
1038
|
/** OAuth 2.0 token for the current user. */
|
|
1036
1039
|
oauth_token?: string;
|
|
1040
|
+
/** Required. The location in which to create the Folder. Must be in the format `projects/*/locations/*`. */
|
|
1041
|
+
parent: string;
|
|
1037
1042
|
/** Returns response with indentations and line breaks. */
|
|
1038
1043
|
prettyPrint?: boolean;
|
|
1039
1044
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1043,9 +1048,9 @@ declare namespace gapi.client {
|
|
|
1043
1048
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1044
1049
|
uploadType?: string;
|
|
1045
1050
|
},
|
|
1046
|
-
body:
|
|
1047
|
-
): Request<
|
|
1048
|
-
/** Deletes a
|
|
1051
|
+
body: Folder,
|
|
1052
|
+
): Request<Folder>;
|
|
1053
|
+
/** Deletes a single Folder. */
|
|
1049
1054
|
delete(request?: {
|
|
1050
1055
|
/** V1 error format. */
|
|
1051
1056
|
'$.xgafv'?: string;
|
|
@@ -1059,7 +1064,7 @@ declare namespace gapi.client {
|
|
|
1059
1064
|
fields?: string;
|
|
1060
1065
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1061
1066
|
key?: string;
|
|
1062
|
-
/** The name
|
|
1067
|
+
/** Required. The Folder's name. */
|
|
1063
1068
|
name: string;
|
|
1064
1069
|
/** OAuth 2.0 token for the current user. */
|
|
1065
1070
|
oauth_token?: string;
|
|
@@ -1072,7 +1077,7 @@ declare namespace gapi.client {
|
|
|
1072
1077
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1073
1078
|
uploadType?: string;
|
|
1074
1079
|
}): Request<{}>;
|
|
1075
|
-
/**
|
|
1080
|
+
/** Fetches a single Folder. */
|
|
1076
1081
|
get(request?: {
|
|
1077
1082
|
/** V1 error format. */
|
|
1078
1083
|
'$.xgafv'?: string;
|
|
@@ -1086,7 +1091,7 @@ declare namespace gapi.client {
|
|
|
1086
1091
|
fields?: string;
|
|
1087
1092
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1088
1093
|
key?: string;
|
|
1089
|
-
/** The name
|
|
1094
|
+
/** Required. The Folder's name. */
|
|
1090
1095
|
name: string;
|
|
1091
1096
|
/** OAuth 2.0 token for the current user. */
|
|
1092
1097
|
oauth_token?: string;
|
|
@@ -1098,9 +1103,9 @@ declare namespace gapi.client {
|
|
|
1098
1103
|
upload_protocol?: string;
|
|
1099
1104
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1100
1105
|
uploadType?: string;
|
|
1101
|
-
}): Request<
|
|
1102
|
-
/**
|
|
1103
|
-
|
|
1106
|
+
}): Request<Folder>;
|
|
1107
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1108
|
+
getIamPolicy(request?: {
|
|
1104
1109
|
/** V1 error format. */
|
|
1105
1110
|
'$.xgafv'?: string;
|
|
1106
1111
|
/** OAuth access token. */
|
|
@@ -1111,33 +1116,25 @@ declare namespace gapi.client {
|
|
|
1111
1116
|
callback?: string;
|
|
1112
1117
|
/** Selector specifying which fields to include in a partial response. */
|
|
1113
1118
|
fields?: string;
|
|
1114
|
-
/** The standard list filter. */
|
|
1115
|
-
filter?: string;
|
|
1116
1119
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1117
1120
|
key?: string;
|
|
1118
|
-
/** The name of the operation's parent resource. */
|
|
1119
|
-
name: string;
|
|
1120
1121
|
/** OAuth 2.0 token for the current user. */
|
|
1121
1122
|
oauth_token?: string;
|
|
1122
|
-
/** The
|
|
1123
|
-
|
|
1124
|
-
/** The standard list page token. */
|
|
1125
|
-
pageToken?: string;
|
|
1123
|
+
/** 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). */
|
|
1124
|
+
'options.requestedPolicyVersion'?: number;
|
|
1126
1125
|
/** Returns response with indentations and line breaks. */
|
|
1127
1126
|
prettyPrint?: boolean;
|
|
1128
1127
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1129
1128
|
quotaUser?: string;
|
|
1130
|
-
/**
|
|
1131
|
-
|
|
1129
|
+
/** 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. */
|
|
1130
|
+
resource: string;
|
|
1132
1131
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1133
1132
|
upload_protocol?: string;
|
|
1134
1133
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1135
1134
|
uploadType?: string;
|
|
1136
|
-
}): Request<
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
/** Creates a new CompilationResult in a given project and location. */
|
|
1140
|
-
create(request: {
|
|
1135
|
+
}): Request<Policy>;
|
|
1136
|
+
/** Moves a Folder to a new Folder, TeamFolder, or the root location. */
|
|
1137
|
+
move(request: {
|
|
1141
1138
|
/** V1 error format. */
|
|
1142
1139
|
'$.xgafv'?: string;
|
|
1143
1140
|
/** OAuth access token. */
|
|
@@ -1150,10 +1147,10 @@ declare namespace gapi.client {
|
|
|
1150
1147
|
fields?: string;
|
|
1151
1148
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1152
1149
|
key?: string;
|
|
1150
|
+
/** Required. The full resource name of the Folder to move. */
|
|
1151
|
+
name: string;
|
|
1153
1152
|
/** OAuth 2.0 token for the current user. */
|
|
1154
1153
|
oauth_token?: string;
|
|
1155
|
-
/** Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1156
|
-
parent: string;
|
|
1157
1154
|
/** Returns response with indentations and line breaks. */
|
|
1158
1155
|
prettyPrint?: boolean;
|
|
1159
1156
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1163,9 +1160,9 @@ declare namespace gapi.client {
|
|
|
1163
1160
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1164
1161
|
uploadType?: string;
|
|
1165
1162
|
/** Request body */
|
|
1166
|
-
resource:
|
|
1167
|
-
}): Request<
|
|
1168
|
-
|
|
1163
|
+
resource: MoveFolderRequest;
|
|
1164
|
+
}): Request<Operation>;
|
|
1165
|
+
move(
|
|
1169
1166
|
request: {
|
|
1170
1167
|
/** V1 error format. */
|
|
1171
1168
|
'$.xgafv'?: string;
|
|
@@ -1179,10 +1176,10 @@ declare namespace gapi.client {
|
|
|
1179
1176
|
fields?: string;
|
|
1180
1177
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1181
1178
|
key?: string;
|
|
1179
|
+
/** Required. The full resource name of the Folder to move. */
|
|
1180
|
+
name: string;
|
|
1182
1181
|
/** OAuth 2.0 token for the current user. */
|
|
1183
1182
|
oauth_token?: string;
|
|
1184
|
-
/** Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1185
|
-
parent: string;
|
|
1186
1183
|
/** Returns response with indentations and line breaks. */
|
|
1187
1184
|
prettyPrint?: boolean;
|
|
1188
1185
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1192,10 +1189,10 @@ declare namespace gapi.client {
|
|
|
1192
1189
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1193
1190
|
uploadType?: string;
|
|
1194
1191
|
},
|
|
1195
|
-
body:
|
|
1196
|
-
): Request<
|
|
1197
|
-
/**
|
|
1198
|
-
|
|
1192
|
+
body: MoveFolderRequest,
|
|
1193
|
+
): Request<Operation>;
|
|
1194
|
+
/** Updates a single Folder. */
|
|
1195
|
+
patch(request: {
|
|
1199
1196
|
/** V1 error format. */
|
|
1200
1197
|
'$.xgafv'?: string;
|
|
1201
1198
|
/** OAuth access token. */
|
|
@@ -1208,7 +1205,7 @@ declare namespace gapi.client {
|
|
|
1208
1205
|
fields?: string;
|
|
1209
1206
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1210
1207
|
key?: string;
|
|
1211
|
-
/**
|
|
1208
|
+
/** Identifier. The Folder's name. */
|
|
1212
1209
|
name: string;
|
|
1213
1210
|
/** OAuth 2.0 token for the current user. */
|
|
1214
1211
|
oauth_token?: string;
|
|
@@ -1216,13 +1213,48 @@ declare namespace gapi.client {
|
|
|
1216
1213
|
prettyPrint?: boolean;
|
|
1217
1214
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1218
1215
|
quotaUser?: string;
|
|
1216
|
+
/** 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). */
|
|
1217
|
+
updateMask?: string;
|
|
1219
1218
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1220
1219
|
upload_protocol?: string;
|
|
1221
1220
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1222
1221
|
uploadType?: string;
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1222
|
+
/** Request body */
|
|
1223
|
+
resource: Folder;
|
|
1224
|
+
}): Request<Folder>;
|
|
1225
|
+
patch(
|
|
1226
|
+
request: {
|
|
1227
|
+
/** V1 error format. */
|
|
1228
|
+
'$.xgafv'?: string;
|
|
1229
|
+
/** OAuth access token. */
|
|
1230
|
+
access_token?: string;
|
|
1231
|
+
/** Data format for response. */
|
|
1232
|
+
alt?: string;
|
|
1233
|
+
/** JSONP */
|
|
1234
|
+
callback?: string;
|
|
1235
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1236
|
+
fields?: string;
|
|
1237
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1238
|
+
key?: string;
|
|
1239
|
+
/** Identifier. The Folder's name. */
|
|
1240
|
+
name: string;
|
|
1241
|
+
/** OAuth 2.0 token for the current user. */
|
|
1242
|
+
oauth_token?: string;
|
|
1243
|
+
/** Returns response with indentations and line breaks. */
|
|
1244
|
+
prettyPrint?: boolean;
|
|
1245
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1246
|
+
quotaUser?: string;
|
|
1247
|
+
/** 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). */
|
|
1248
|
+
updateMask?: string;
|
|
1249
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1250
|
+
upload_protocol?: string;
|
|
1251
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1252
|
+
uploadType?: string;
|
|
1253
|
+
},
|
|
1254
|
+
body: Folder,
|
|
1255
|
+
): Request<Folder>;
|
|
1256
|
+
/** Returns the contents of a given Folder. */
|
|
1257
|
+
queryFolderContents(request?: {
|
|
1226
1258
|
/** V1 error format. */
|
|
1227
1259
|
'$.xgafv'?: string;
|
|
1228
1260
|
/** OAuth access token. */
|
|
@@ -1233,52 +1265,19 @@ declare namespace gapi.client {
|
|
|
1233
1265
|
callback?: string;
|
|
1234
1266
|
/** Selector specifying which fields to include in a partial response. */
|
|
1235
1267
|
fields?: string;
|
|
1236
|
-
/** Optional.
|
|
1268
|
+
/** Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""` */
|
|
1237
1269
|
filter?: string;
|
|
1270
|
+
/** Required. Name of the folder whose contents to list. Format: projects/*/locations/*/folders/* */
|
|
1271
|
+
folder: string;
|
|
1238
1272
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1239
1273
|
key?: string;
|
|
1240
1274
|
/** OAuth 2.0 token for the current user. */
|
|
1241
1275
|
oauth_token?: string;
|
|
1242
|
-
/** Optional.
|
|
1276
|
+
/** 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"` */
|
|
1243
1277
|
orderBy?: string;
|
|
1244
|
-
/** Optional. Maximum number of
|
|
1245
|
-
pageSize?: number;
|
|
1246
|
-
/** Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1247
|
-
pageToken?: string;
|
|
1248
|
-
/** Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1249
|
-
parent: string;
|
|
1250
|
-
/** Returns response with indentations and line breaks. */
|
|
1251
|
-
prettyPrint?: boolean;
|
|
1252
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1253
|
-
quotaUser?: string;
|
|
1254
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1255
|
-
upload_protocol?: string;
|
|
1256
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1257
|
-
uploadType?: string;
|
|
1258
|
-
}): Request<ListCompilationResultsResponse>;
|
|
1259
|
-
/** Returns CompilationResultActions in a given CompilationResult. */
|
|
1260
|
-
query(request?: {
|
|
1261
|
-
/** V1 error format. */
|
|
1262
|
-
'$.xgafv'?: string;
|
|
1263
|
-
/** OAuth access token. */
|
|
1264
|
-
access_token?: string;
|
|
1265
|
-
/** Data format for response. */
|
|
1266
|
-
alt?: string;
|
|
1267
|
-
/** JSONP */
|
|
1268
|
-
callback?: string;
|
|
1269
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1270
|
-
fields?: string;
|
|
1271
|
-
/** Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field. */
|
|
1272
|
-
filter?: string;
|
|
1273
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1274
|
-
key?: string;
|
|
1275
|
-
/** Required. The compilation result's name. */
|
|
1276
|
-
name: string;
|
|
1277
|
-
/** OAuth 2.0 token for the current user. */
|
|
1278
|
-
oauth_token?: string;
|
|
1279
|
-
/** Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
1278
|
+
/** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
1280
1279
|
pageSize?: number;
|
|
1281
|
-
/** Optional. Page token received from a previous `
|
|
1280
|
+
/** 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. */
|
|
1282
1281
|
pageToken?: string;
|
|
1283
1282
|
/** Returns response with indentations and line breaks. */
|
|
1284
1283
|
prettyPrint?: boolean;
|
|
@@ -1288,7 +1287,371 @@ declare namespace gapi.client {
|
|
|
1288
1287
|
upload_protocol?: string;
|
|
1289
1288
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1290
1289
|
uploadType?: string;
|
|
1291
|
-
}): Request<
|
|
1290
|
+
}): Request<QueryFolderContentsResponse>;
|
|
1291
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1292
|
+
setIamPolicy(
|
|
1293
|
+
request: {
|
|
1294
|
+
/** V1 error format. */
|
|
1295
|
+
'$.xgafv'?: string;
|
|
1296
|
+
/** OAuth access token. */
|
|
1297
|
+
access_token?: string;
|
|
1298
|
+
/** Data format for response. */
|
|
1299
|
+
alt?: string;
|
|
1300
|
+
/** JSONP */
|
|
1301
|
+
callback?: string;
|
|
1302
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1303
|
+
fields?: string;
|
|
1304
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1305
|
+
key?: string;
|
|
1306
|
+
/** OAuth 2.0 token for the current user. */
|
|
1307
|
+
oauth_token?: string;
|
|
1308
|
+
/** Returns response with indentations and line breaks. */
|
|
1309
|
+
prettyPrint?: boolean;
|
|
1310
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1311
|
+
quotaUser?: string;
|
|
1312
|
+
/** 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. */
|
|
1313
|
+
resource: string;
|
|
1314
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1315
|
+
upload_protocol?: string;
|
|
1316
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1317
|
+
uploadType?: string;
|
|
1318
|
+
},
|
|
1319
|
+
body: SetIamPolicyRequest,
|
|
1320
|
+
): Request<Policy>;
|
|
1321
|
+
/** 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. */
|
|
1322
|
+
testIamPermissions(
|
|
1323
|
+
request: {
|
|
1324
|
+
/** V1 error format. */
|
|
1325
|
+
'$.xgafv'?: string;
|
|
1326
|
+
/** OAuth access token. */
|
|
1327
|
+
access_token?: string;
|
|
1328
|
+
/** Data format for response. */
|
|
1329
|
+
alt?: string;
|
|
1330
|
+
/** JSONP */
|
|
1331
|
+
callback?: string;
|
|
1332
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1333
|
+
fields?: string;
|
|
1334
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1335
|
+
key?: string;
|
|
1336
|
+
/** OAuth 2.0 token for the current user. */
|
|
1337
|
+
oauth_token?: string;
|
|
1338
|
+
/** Returns response with indentations and line breaks. */
|
|
1339
|
+
prettyPrint?: boolean;
|
|
1340
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1341
|
+
quotaUser?: string;
|
|
1342
|
+
/** 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. */
|
|
1343
|
+
resource: string;
|
|
1344
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1345
|
+
upload_protocol?: string;
|
|
1346
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1347
|
+
uploadType?: string;
|
|
1348
|
+
},
|
|
1349
|
+
body: TestIamPermissionsRequest,
|
|
1350
|
+
): Request<TestIamPermissionsResponse>;
|
|
1351
|
+
}
|
|
1352
|
+
interface OperationsResource {
|
|
1353
|
+
/** 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`. */
|
|
1354
|
+
cancel(request: {
|
|
1355
|
+
/** V1 error format. */
|
|
1356
|
+
'$.xgafv'?: string;
|
|
1357
|
+
/** OAuth access token. */
|
|
1358
|
+
access_token?: string;
|
|
1359
|
+
/** Data format for response. */
|
|
1360
|
+
alt?: string;
|
|
1361
|
+
/** JSONP */
|
|
1362
|
+
callback?: string;
|
|
1363
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1364
|
+
fields?: string;
|
|
1365
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1366
|
+
key?: string;
|
|
1367
|
+
/** The name of the operation resource to be cancelled. */
|
|
1368
|
+
name: string;
|
|
1369
|
+
/** OAuth 2.0 token for the current user. */
|
|
1370
|
+
oauth_token?: string;
|
|
1371
|
+
/** Returns response with indentations and line breaks. */
|
|
1372
|
+
prettyPrint?: boolean;
|
|
1373
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1374
|
+
quotaUser?: string;
|
|
1375
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1376
|
+
upload_protocol?: string;
|
|
1377
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1378
|
+
uploadType?: string;
|
|
1379
|
+
/** Request body */
|
|
1380
|
+
resource: CancelOperationRequest;
|
|
1381
|
+
}): Request<{}>;
|
|
1382
|
+
cancel(
|
|
1383
|
+
request: {
|
|
1384
|
+
/** V1 error format. */
|
|
1385
|
+
'$.xgafv'?: string;
|
|
1386
|
+
/** OAuth access token. */
|
|
1387
|
+
access_token?: string;
|
|
1388
|
+
/** Data format for response. */
|
|
1389
|
+
alt?: string;
|
|
1390
|
+
/** JSONP */
|
|
1391
|
+
callback?: string;
|
|
1392
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1393
|
+
fields?: string;
|
|
1394
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1395
|
+
key?: string;
|
|
1396
|
+
/** The name of the operation resource to be cancelled. */
|
|
1397
|
+
name: string;
|
|
1398
|
+
/** OAuth 2.0 token for the current user. */
|
|
1399
|
+
oauth_token?: string;
|
|
1400
|
+
/** Returns response with indentations and line breaks. */
|
|
1401
|
+
prettyPrint?: boolean;
|
|
1402
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1403
|
+
quotaUser?: string;
|
|
1404
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1405
|
+
upload_protocol?: string;
|
|
1406
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1407
|
+
uploadType?: string;
|
|
1408
|
+
},
|
|
1409
|
+
body: CancelOperationRequest,
|
|
1410
|
+
): Request<{}>;
|
|
1411
|
+
/** 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`. */
|
|
1412
|
+
delete(request?: {
|
|
1413
|
+
/** V1 error format. */
|
|
1414
|
+
'$.xgafv'?: string;
|
|
1415
|
+
/** OAuth access token. */
|
|
1416
|
+
access_token?: string;
|
|
1417
|
+
/** Data format for response. */
|
|
1418
|
+
alt?: string;
|
|
1419
|
+
/** JSONP */
|
|
1420
|
+
callback?: string;
|
|
1421
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1422
|
+
fields?: string;
|
|
1423
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1424
|
+
key?: string;
|
|
1425
|
+
/** The name of the operation resource to be deleted. */
|
|
1426
|
+
name: string;
|
|
1427
|
+
/** OAuth 2.0 token for the current user. */
|
|
1428
|
+
oauth_token?: string;
|
|
1429
|
+
/** Returns response with indentations and line breaks. */
|
|
1430
|
+
prettyPrint?: boolean;
|
|
1431
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1432
|
+
quotaUser?: string;
|
|
1433
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1434
|
+
upload_protocol?: string;
|
|
1435
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1436
|
+
uploadType?: string;
|
|
1437
|
+
}): Request<{}>;
|
|
1438
|
+
/** 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. */
|
|
1439
|
+
get(request?: {
|
|
1440
|
+
/** V1 error format. */
|
|
1441
|
+
'$.xgafv'?: string;
|
|
1442
|
+
/** OAuth access token. */
|
|
1443
|
+
access_token?: string;
|
|
1444
|
+
/** Data format for response. */
|
|
1445
|
+
alt?: string;
|
|
1446
|
+
/** JSONP */
|
|
1447
|
+
callback?: string;
|
|
1448
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1449
|
+
fields?: string;
|
|
1450
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1451
|
+
key?: string;
|
|
1452
|
+
/** The name of the operation resource. */
|
|
1453
|
+
name: string;
|
|
1454
|
+
/** OAuth 2.0 token for the current user. */
|
|
1455
|
+
oauth_token?: string;
|
|
1456
|
+
/** Returns response with indentations and line breaks. */
|
|
1457
|
+
prettyPrint?: boolean;
|
|
1458
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1459
|
+
quotaUser?: string;
|
|
1460
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1461
|
+
upload_protocol?: string;
|
|
1462
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1463
|
+
uploadType?: string;
|
|
1464
|
+
}): Request<Operation>;
|
|
1465
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1466
|
+
list(request?: {
|
|
1467
|
+
/** V1 error format. */
|
|
1468
|
+
'$.xgafv'?: string;
|
|
1469
|
+
/** OAuth access token. */
|
|
1470
|
+
access_token?: string;
|
|
1471
|
+
/** Data format for response. */
|
|
1472
|
+
alt?: string;
|
|
1473
|
+
/** JSONP */
|
|
1474
|
+
callback?: string;
|
|
1475
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1476
|
+
fields?: string;
|
|
1477
|
+
/** The standard list filter. */
|
|
1478
|
+
filter?: string;
|
|
1479
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1480
|
+
key?: string;
|
|
1481
|
+
/** The name of the operation's parent resource. */
|
|
1482
|
+
name: string;
|
|
1483
|
+
/** OAuth 2.0 token for the current user. */
|
|
1484
|
+
oauth_token?: string;
|
|
1485
|
+
/** The standard list page size. */
|
|
1486
|
+
pageSize?: number;
|
|
1487
|
+
/** The standard list page token. */
|
|
1488
|
+
pageToken?: string;
|
|
1489
|
+
/** Returns response with indentations and line breaks. */
|
|
1490
|
+
prettyPrint?: boolean;
|
|
1491
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1492
|
+
quotaUser?: string;
|
|
1493
|
+
/** 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. */
|
|
1494
|
+
returnPartialSuccess?: boolean;
|
|
1495
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1496
|
+
upload_protocol?: string;
|
|
1497
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1498
|
+
uploadType?: string;
|
|
1499
|
+
}): Request<ListOperationsResponse>;
|
|
1500
|
+
}
|
|
1501
|
+
interface CompilationResultsResource {
|
|
1502
|
+
/** Creates a new CompilationResult in a given project and location. */
|
|
1503
|
+
create(request: {
|
|
1504
|
+
/** V1 error format. */
|
|
1505
|
+
'$.xgafv'?: string;
|
|
1506
|
+
/** OAuth access token. */
|
|
1507
|
+
access_token?: string;
|
|
1508
|
+
/** Data format for response. */
|
|
1509
|
+
alt?: string;
|
|
1510
|
+
/** JSONP */
|
|
1511
|
+
callback?: string;
|
|
1512
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1513
|
+
fields?: string;
|
|
1514
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1515
|
+
key?: string;
|
|
1516
|
+
/** OAuth 2.0 token for the current user. */
|
|
1517
|
+
oauth_token?: string;
|
|
1518
|
+
/** Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1519
|
+
parent: string;
|
|
1520
|
+
/** Returns response with indentations and line breaks. */
|
|
1521
|
+
prettyPrint?: boolean;
|
|
1522
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1523
|
+
quotaUser?: string;
|
|
1524
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1525
|
+
upload_protocol?: string;
|
|
1526
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1527
|
+
uploadType?: string;
|
|
1528
|
+
/** Request body */
|
|
1529
|
+
resource: CompilationResult;
|
|
1530
|
+
}): Request<CompilationResult>;
|
|
1531
|
+
create(
|
|
1532
|
+
request: {
|
|
1533
|
+
/** V1 error format. */
|
|
1534
|
+
'$.xgafv'?: string;
|
|
1535
|
+
/** OAuth access token. */
|
|
1536
|
+
access_token?: string;
|
|
1537
|
+
/** Data format for response. */
|
|
1538
|
+
alt?: string;
|
|
1539
|
+
/** JSONP */
|
|
1540
|
+
callback?: string;
|
|
1541
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1542
|
+
fields?: string;
|
|
1543
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1544
|
+
key?: string;
|
|
1545
|
+
/** OAuth 2.0 token for the current user. */
|
|
1546
|
+
oauth_token?: string;
|
|
1547
|
+
/** Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1548
|
+
parent: string;
|
|
1549
|
+
/** Returns response with indentations and line breaks. */
|
|
1550
|
+
prettyPrint?: boolean;
|
|
1551
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1552
|
+
quotaUser?: string;
|
|
1553
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1554
|
+
upload_protocol?: string;
|
|
1555
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1556
|
+
uploadType?: string;
|
|
1557
|
+
},
|
|
1558
|
+
body: CompilationResult,
|
|
1559
|
+
): Request<CompilationResult>;
|
|
1560
|
+
/** Fetches a single CompilationResult. */
|
|
1561
|
+
get(request?: {
|
|
1562
|
+
/** V1 error format. */
|
|
1563
|
+
'$.xgafv'?: string;
|
|
1564
|
+
/** OAuth access token. */
|
|
1565
|
+
access_token?: string;
|
|
1566
|
+
/** Data format for response. */
|
|
1567
|
+
alt?: string;
|
|
1568
|
+
/** JSONP */
|
|
1569
|
+
callback?: string;
|
|
1570
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1571
|
+
fields?: string;
|
|
1572
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1573
|
+
key?: string;
|
|
1574
|
+
/** Required. The compilation result's name. */
|
|
1575
|
+
name: string;
|
|
1576
|
+
/** OAuth 2.0 token for the current user. */
|
|
1577
|
+
oauth_token?: string;
|
|
1578
|
+
/** Returns response with indentations and line breaks. */
|
|
1579
|
+
prettyPrint?: boolean;
|
|
1580
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1581
|
+
quotaUser?: string;
|
|
1582
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1583
|
+
upload_protocol?: string;
|
|
1584
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1585
|
+
uploadType?: string;
|
|
1586
|
+
}): Request<CompilationResult>;
|
|
1587
|
+
/** Lists CompilationResults in a given Repository. */
|
|
1588
|
+
list(request?: {
|
|
1589
|
+
/** V1 error format. */
|
|
1590
|
+
'$.xgafv'?: string;
|
|
1591
|
+
/** OAuth access token. */
|
|
1592
|
+
access_token?: string;
|
|
1593
|
+
/** Data format for response. */
|
|
1594
|
+
alt?: string;
|
|
1595
|
+
/** JSONP */
|
|
1596
|
+
callback?: string;
|
|
1597
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1598
|
+
fields?: string;
|
|
1599
|
+
/** Optional. Filter for the returned list. */
|
|
1600
|
+
filter?: string;
|
|
1601
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1602
|
+
key?: string;
|
|
1603
|
+
/** OAuth 2.0 token for the current user. */
|
|
1604
|
+
oauth_token?: string;
|
|
1605
|
+
/** 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. */
|
|
1606
|
+
orderBy?: string;
|
|
1607
|
+
/** Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
1608
|
+
pageSize?: number;
|
|
1609
|
+
/** Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1610
|
+
pageToken?: string;
|
|
1611
|
+
/** Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1612
|
+
parent: string;
|
|
1613
|
+
/** Returns response with indentations and line breaks. */
|
|
1614
|
+
prettyPrint?: boolean;
|
|
1615
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1616
|
+
quotaUser?: string;
|
|
1617
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1618
|
+
upload_protocol?: string;
|
|
1619
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1620
|
+
uploadType?: string;
|
|
1621
|
+
}): Request<ListCompilationResultsResponse>;
|
|
1622
|
+
/** Returns CompilationResultActions in a given CompilationResult. */
|
|
1623
|
+
query(request?: {
|
|
1624
|
+
/** V1 error format. */
|
|
1625
|
+
'$.xgafv'?: string;
|
|
1626
|
+
/** OAuth access token. */
|
|
1627
|
+
access_token?: string;
|
|
1628
|
+
/** Data format for response. */
|
|
1629
|
+
alt?: string;
|
|
1630
|
+
/** JSONP */
|
|
1631
|
+
callback?: string;
|
|
1632
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1633
|
+
fields?: string;
|
|
1634
|
+
/** Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field. */
|
|
1635
|
+
filter?: string;
|
|
1636
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1637
|
+
key?: string;
|
|
1638
|
+
/** Required. The compilation result's name. */
|
|
1639
|
+
name: string;
|
|
1640
|
+
/** OAuth 2.0 token for the current user. */
|
|
1641
|
+
oauth_token?: string;
|
|
1642
|
+
/** Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
1643
|
+
pageSize?: number;
|
|
1644
|
+
/** Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1645
|
+
pageToken?: string;
|
|
1646
|
+
/** Returns response with indentations and line breaks. */
|
|
1647
|
+
prettyPrint?: boolean;
|
|
1648
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1649
|
+
quotaUser?: string;
|
|
1650
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1651
|
+
upload_protocol?: string;
|
|
1652
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1653
|
+
uploadType?: string;
|
|
1654
|
+
}): Request<QueryCompilationResultActionsResponse>;
|
|
1292
1655
|
}
|
|
1293
1656
|
interface ReleaseConfigsResource {
|
|
1294
1657
|
/** Creates a new ReleaseConfig in a given Repository. */
|
|
@@ -3338,6 +3701,64 @@ declare namespace gapi.client {
|
|
|
3338
3701
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3339
3702
|
uploadType?: string;
|
|
3340
3703
|
}): Request<ListRepositoriesResponse>;
|
|
3704
|
+
/** Moves a Repository to a new location. */
|
|
3705
|
+
move(request: {
|
|
3706
|
+
/** V1 error format. */
|
|
3707
|
+
'$.xgafv'?: string;
|
|
3708
|
+
/** OAuth access token. */
|
|
3709
|
+
access_token?: string;
|
|
3710
|
+
/** Data format for response. */
|
|
3711
|
+
alt?: string;
|
|
3712
|
+
/** JSONP */
|
|
3713
|
+
callback?: string;
|
|
3714
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3715
|
+
fields?: string;
|
|
3716
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3717
|
+
key?: string;
|
|
3718
|
+
/** Required. The full resource name of the repository to move. */
|
|
3719
|
+
name: string;
|
|
3720
|
+
/** OAuth 2.0 token for the current user. */
|
|
3721
|
+
oauth_token?: string;
|
|
3722
|
+
/** Returns response with indentations and line breaks. */
|
|
3723
|
+
prettyPrint?: boolean;
|
|
3724
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3725
|
+
quotaUser?: string;
|
|
3726
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3727
|
+
upload_protocol?: string;
|
|
3728
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3729
|
+
uploadType?: string;
|
|
3730
|
+
/** Request body */
|
|
3731
|
+
resource: MoveRepositoryRequest;
|
|
3732
|
+
}): Request<Operation>;
|
|
3733
|
+
move(
|
|
3734
|
+
request: {
|
|
3735
|
+
/** V1 error format. */
|
|
3736
|
+
'$.xgafv'?: string;
|
|
3737
|
+
/** OAuth access token. */
|
|
3738
|
+
access_token?: string;
|
|
3739
|
+
/** Data format for response. */
|
|
3740
|
+
alt?: string;
|
|
3741
|
+
/** JSONP */
|
|
3742
|
+
callback?: string;
|
|
3743
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3744
|
+
fields?: string;
|
|
3745
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3746
|
+
key?: string;
|
|
3747
|
+
/** Required. The full resource name of the repository to move. */
|
|
3748
|
+
name: string;
|
|
3749
|
+
/** OAuth 2.0 token for the current user. */
|
|
3750
|
+
oauth_token?: string;
|
|
3751
|
+
/** Returns response with indentations and line breaks. */
|
|
3752
|
+
prettyPrint?: boolean;
|
|
3753
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3754
|
+
quotaUser?: string;
|
|
3755
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3756
|
+
upload_protocol?: string;
|
|
3757
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3758
|
+
uploadType?: string;
|
|
3759
|
+
},
|
|
3760
|
+
body: MoveRepositoryRequest,
|
|
3761
|
+
): Request<Operation>;
|
|
3341
3762
|
/** 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.* */
|
|
3342
3763
|
patch(request: {
|
|
3343
3764
|
/** V1 error format. */
|
|
@@ -3533,6 +3954,122 @@ declare namespace gapi.client {
|
|
|
3533
3954
|
workspaces: WorkspacesResource;
|
|
3534
3955
|
}
|
|
3535
3956
|
interface TeamFoldersResource {
|
|
3957
|
+
/** Creates a new TeamFolder in a given project and location. */
|
|
3958
|
+
create(request: {
|
|
3959
|
+
/** V1 error format. */
|
|
3960
|
+
'$.xgafv'?: string;
|
|
3961
|
+
/** OAuth access token. */
|
|
3962
|
+
access_token?: string;
|
|
3963
|
+
/** Data format for response. */
|
|
3964
|
+
alt?: string;
|
|
3965
|
+
/** JSONP */
|
|
3966
|
+
callback?: string;
|
|
3967
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3968
|
+
fields?: string;
|
|
3969
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3970
|
+
key?: string;
|
|
3971
|
+
/** OAuth 2.0 token for the current user. */
|
|
3972
|
+
oauth_token?: string;
|
|
3973
|
+
/** Required. The location in which to create the TeamFolder. Must be in the format `projects/*/locations/*`. */
|
|
3974
|
+
parent: string;
|
|
3975
|
+
/** Returns response with indentations and line breaks. */
|
|
3976
|
+
prettyPrint?: boolean;
|
|
3977
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3978
|
+
quotaUser?: string;
|
|
3979
|
+
/** The ID to use for the TeamFolder, which will become the final component of the TeamFolder's resource name. */
|
|
3980
|
+
teamFolderId?: string;
|
|
3981
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3982
|
+
upload_protocol?: string;
|
|
3983
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3984
|
+
uploadType?: string;
|
|
3985
|
+
/** Request body */
|
|
3986
|
+
resource: TeamFolder;
|
|
3987
|
+
}): Request<TeamFolder>;
|
|
3988
|
+
create(
|
|
3989
|
+
request: {
|
|
3990
|
+
/** V1 error format. */
|
|
3991
|
+
'$.xgafv'?: string;
|
|
3992
|
+
/** OAuth access token. */
|
|
3993
|
+
access_token?: string;
|
|
3994
|
+
/** Data format for response. */
|
|
3995
|
+
alt?: string;
|
|
3996
|
+
/** JSONP */
|
|
3997
|
+
callback?: string;
|
|
3998
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3999
|
+
fields?: string;
|
|
4000
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4001
|
+
key?: string;
|
|
4002
|
+
/** OAuth 2.0 token for the current user. */
|
|
4003
|
+
oauth_token?: string;
|
|
4004
|
+
/** Required. The location in which to create the TeamFolder. Must be in the format `projects/*/locations/*`. */
|
|
4005
|
+
parent: string;
|
|
4006
|
+
/** Returns response with indentations and line breaks. */
|
|
4007
|
+
prettyPrint?: boolean;
|
|
4008
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4009
|
+
quotaUser?: string;
|
|
4010
|
+
/** The ID to use for the TeamFolder, which will become the final component of the TeamFolder's resource name. */
|
|
4011
|
+
teamFolderId?: string;
|
|
4012
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4013
|
+
upload_protocol?: string;
|
|
4014
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4015
|
+
uploadType?: string;
|
|
4016
|
+
},
|
|
4017
|
+
body: TeamFolder,
|
|
4018
|
+
): Request<TeamFolder>;
|
|
4019
|
+
/** Deletes a single TeamFolder. */
|
|
4020
|
+
delete(request?: {
|
|
4021
|
+
/** V1 error format. */
|
|
4022
|
+
'$.xgafv'?: string;
|
|
4023
|
+
/** OAuth access token. */
|
|
4024
|
+
access_token?: string;
|
|
4025
|
+
/** Data format for response. */
|
|
4026
|
+
alt?: string;
|
|
4027
|
+
/** JSONP */
|
|
4028
|
+
callback?: string;
|
|
4029
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4030
|
+
fields?: string;
|
|
4031
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4032
|
+
key?: string;
|
|
4033
|
+
/** Required. The TeamFolder's name. */
|
|
4034
|
+
name: string;
|
|
4035
|
+
/** OAuth 2.0 token for the current user. */
|
|
4036
|
+
oauth_token?: string;
|
|
4037
|
+
/** Returns response with indentations and line breaks. */
|
|
4038
|
+
prettyPrint?: boolean;
|
|
4039
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4040
|
+
quotaUser?: string;
|
|
4041
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4042
|
+
upload_protocol?: string;
|
|
4043
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4044
|
+
uploadType?: string;
|
|
4045
|
+
}): Request<{}>;
|
|
4046
|
+
/** Fetches a single TeamFolder. */
|
|
4047
|
+
get(request?: {
|
|
4048
|
+
/** V1 error format. */
|
|
4049
|
+
'$.xgafv'?: string;
|
|
4050
|
+
/** OAuth access token. */
|
|
4051
|
+
access_token?: string;
|
|
4052
|
+
/** Data format for response. */
|
|
4053
|
+
alt?: string;
|
|
4054
|
+
/** JSONP */
|
|
4055
|
+
callback?: string;
|
|
4056
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4057
|
+
fields?: string;
|
|
4058
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4059
|
+
key?: string;
|
|
4060
|
+
/** Required. The TeamFolder's name. */
|
|
4061
|
+
name: string;
|
|
4062
|
+
/** OAuth 2.0 token for the current user. */
|
|
4063
|
+
oauth_token?: string;
|
|
4064
|
+
/** Returns response with indentations and line breaks. */
|
|
4065
|
+
prettyPrint?: boolean;
|
|
4066
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4067
|
+
quotaUser?: string;
|
|
4068
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4069
|
+
upload_protocol?: string;
|
|
4070
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4071
|
+
uploadType?: string;
|
|
4072
|
+
}): Request<TeamFolder>;
|
|
3536
4073
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
3537
4074
|
getIamPolicy(request?: {
|
|
3538
4075
|
/** V1 error format. */
|
|
@@ -3562,6 +4099,138 @@ declare namespace gapi.client {
|
|
|
3562
4099
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3563
4100
|
uploadType?: string;
|
|
3564
4101
|
}): Request<Policy>;
|
|
4102
|
+
/** Updates a single TeamFolder. */
|
|
4103
|
+
patch(request: {
|
|
4104
|
+
/** V1 error format. */
|
|
4105
|
+
'$.xgafv'?: string;
|
|
4106
|
+
/** OAuth access token. */
|
|
4107
|
+
access_token?: string;
|
|
4108
|
+
/** Data format for response. */
|
|
4109
|
+
alt?: string;
|
|
4110
|
+
/** JSONP */
|
|
4111
|
+
callback?: string;
|
|
4112
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4113
|
+
fields?: string;
|
|
4114
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4115
|
+
key?: string;
|
|
4116
|
+
/** Identifier. The TeamFolder's name. */
|
|
4117
|
+
name: string;
|
|
4118
|
+
/** OAuth 2.0 token for the current user. */
|
|
4119
|
+
oauth_token?: string;
|
|
4120
|
+
/** Returns response with indentations and line breaks. */
|
|
4121
|
+
prettyPrint?: boolean;
|
|
4122
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4123
|
+
quotaUser?: string;
|
|
4124
|
+
/** Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated. */
|
|
4125
|
+
updateMask?: string;
|
|
4126
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4127
|
+
upload_protocol?: string;
|
|
4128
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4129
|
+
uploadType?: string;
|
|
4130
|
+
/** Request body */
|
|
4131
|
+
resource: TeamFolder;
|
|
4132
|
+
}): Request<TeamFolder>;
|
|
4133
|
+
patch(
|
|
4134
|
+
request: {
|
|
4135
|
+
/** V1 error format. */
|
|
4136
|
+
'$.xgafv'?: string;
|
|
4137
|
+
/** OAuth access token. */
|
|
4138
|
+
access_token?: string;
|
|
4139
|
+
/** Data format for response. */
|
|
4140
|
+
alt?: string;
|
|
4141
|
+
/** JSONP */
|
|
4142
|
+
callback?: string;
|
|
4143
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4144
|
+
fields?: string;
|
|
4145
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4146
|
+
key?: string;
|
|
4147
|
+
/** Identifier. The TeamFolder's name. */
|
|
4148
|
+
name: string;
|
|
4149
|
+
/** OAuth 2.0 token for the current user. */
|
|
4150
|
+
oauth_token?: string;
|
|
4151
|
+
/** Returns response with indentations and line breaks. */
|
|
4152
|
+
prettyPrint?: boolean;
|
|
4153
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4154
|
+
quotaUser?: string;
|
|
4155
|
+
/** Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated. */
|
|
4156
|
+
updateMask?: string;
|
|
4157
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4158
|
+
upload_protocol?: string;
|
|
4159
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4160
|
+
uploadType?: string;
|
|
4161
|
+
},
|
|
4162
|
+
body: TeamFolder,
|
|
4163
|
+
): Request<TeamFolder>;
|
|
4164
|
+
/** Returns the contents of a given TeamFolder. */
|
|
4165
|
+
queryContents(request?: {
|
|
4166
|
+
/** V1 error format. */
|
|
4167
|
+
'$.xgafv'?: string;
|
|
4168
|
+
/** OAuth access token. */
|
|
4169
|
+
access_token?: string;
|
|
4170
|
+
/** Data format for response. */
|
|
4171
|
+
alt?: string;
|
|
4172
|
+
/** JSONP */
|
|
4173
|
+
callback?: string;
|
|
4174
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4175
|
+
fields?: string;
|
|
4176
|
+
/** Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""` */
|
|
4177
|
+
filter?: string;
|
|
4178
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4179
|
+
key?: string;
|
|
4180
|
+
/** OAuth 2.0 token for the current user. */
|
|
4181
|
+
oauth_token?: string;
|
|
4182
|
+
/** 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"` */
|
|
4183
|
+
orderBy?: string;
|
|
4184
|
+
/** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
4185
|
+
pageSize?: number;
|
|
4186
|
+
/** 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. */
|
|
4187
|
+
pageToken?: string;
|
|
4188
|
+
/** Returns response with indentations and line breaks. */
|
|
4189
|
+
prettyPrint?: boolean;
|
|
4190
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4191
|
+
quotaUser?: string;
|
|
4192
|
+
/** Required. Name of the team_folder whose contents to list. Format: `projects/*/locations/*/teamFolders/*`. */
|
|
4193
|
+
teamFolder: string;
|
|
4194
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4195
|
+
upload_protocol?: string;
|
|
4196
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4197
|
+
uploadType?: string;
|
|
4198
|
+
}): Request<QueryTeamFolderContentsResponse>;
|
|
4199
|
+
/** Returns all TeamFolders in a given location that the caller has access to and match the provided filter. */
|
|
4200
|
+
search(request?: {
|
|
4201
|
+
/** V1 error format. */
|
|
4202
|
+
'$.xgafv'?: string;
|
|
4203
|
+
/** OAuth access token. */
|
|
4204
|
+
access_token?: string;
|
|
4205
|
+
/** Data format for response. */
|
|
4206
|
+
alt?: string;
|
|
4207
|
+
/** JSONP */
|
|
4208
|
+
callback?: string;
|
|
4209
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4210
|
+
fields?: string;
|
|
4211
|
+
/** Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""` */
|
|
4212
|
+
filter?: string;
|
|
4213
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4214
|
+
key?: string;
|
|
4215
|
+
/** Required. Location in which to query TeamFolders. Format: `projects/*/locations/*`. */
|
|
4216
|
+
location: string;
|
|
4217
|
+
/** OAuth 2.0 token for the current user. */
|
|
4218
|
+
oauth_token?: string;
|
|
4219
|
+
/** 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"` */
|
|
4220
|
+
orderBy?: string;
|
|
4221
|
+
/** Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
4222
|
+
pageSize?: number;
|
|
4223
|
+
/** 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. */
|
|
4224
|
+
pageToken?: string;
|
|
4225
|
+
/** Returns response with indentations and line breaks. */
|
|
4226
|
+
prettyPrint?: boolean;
|
|
4227
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4228
|
+
quotaUser?: string;
|
|
4229
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4230
|
+
upload_protocol?: string;
|
|
4231
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4232
|
+
uploadType?: string;
|
|
4233
|
+
}): Request<SearchTeamFoldersResponse>;
|
|
3565
4234
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3566
4235
|
setIamPolicy(
|
|
3567
4236
|
request: {
|
|
@@ -3713,6 +4382,41 @@ declare namespace gapi.client {
|
|
|
3713
4382
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3714
4383
|
uploadType?: string;
|
|
3715
4384
|
}): Request<ListLocationsResponse>;
|
|
4385
|
+
/** 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. */
|
|
4386
|
+
queryUserRootContents(request?: {
|
|
4387
|
+
/** V1 error format. */
|
|
4388
|
+
'$.xgafv'?: string;
|
|
4389
|
+
/** OAuth access token. */
|
|
4390
|
+
access_token?: string;
|
|
4391
|
+
/** Data format for response. */
|
|
4392
|
+
alt?: string;
|
|
4393
|
+
/** JSONP */
|
|
4394
|
+
callback?: string;
|
|
4395
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4396
|
+
fields?: string;
|
|
4397
|
+
/** Optional. Optional filtering for the returned list. Filtering is currently only supported on the `display_name` field. Example: - `filter="display_name="MyFolder""` */
|
|
4398
|
+
filter?: string;
|
|
4399
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4400
|
+
key?: string;
|
|
4401
|
+
/** Required. Location of the user root folder whose contents to list. Format: projects/*/locations/* */
|
|
4402
|
+
location: string;
|
|
4403
|
+
/** OAuth 2.0 token for the current user. */
|
|
4404
|
+
oauth_token?: string;
|
|
4405
|
+
/** 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"` */
|
|
4406
|
+
orderBy?: string;
|
|
4407
|
+
/** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
4408
|
+
pageSize?: number;
|
|
4409
|
+
/** 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. */
|
|
4410
|
+
pageToken?: string;
|
|
4411
|
+
/** Returns response with indentations and line breaks. */
|
|
4412
|
+
prettyPrint?: boolean;
|
|
4413
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4414
|
+
quotaUser?: string;
|
|
4415
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4416
|
+
upload_protocol?: string;
|
|
4417
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4418
|
+
uploadType?: string;
|
|
4419
|
+
}): Request<QueryUserRootContentsResponse>;
|
|
3716
4420
|
/** 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.* */
|
|
3717
4421
|
updateConfig(request: {
|
|
3718
4422
|
/** V1 error format. */
|