@maxim_mazurok/gapi.client.eventarc-v1 0.0.20240830 → 0.0.20240913
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 +369 -1
- 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://eventarc.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240913
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -890,6 +890,279 @@ declare namespace gapi.client {
|
|
|
890
890
|
body: TestIamPermissionsRequest
|
|
891
891
|
): Request<TestIamPermissionsResponse>;
|
|
892
892
|
}
|
|
893
|
+
interface EnrollmentsResource {
|
|
894
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
895
|
+
getIamPolicy(request?: {
|
|
896
|
+
/** V1 error format. */
|
|
897
|
+
'$.xgafv'?: string;
|
|
898
|
+
/** OAuth access token. */
|
|
899
|
+
access_token?: string;
|
|
900
|
+
/** Data format for response. */
|
|
901
|
+
alt?: string;
|
|
902
|
+
/** JSONP */
|
|
903
|
+
callback?: string;
|
|
904
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
905
|
+
fields?: string;
|
|
906
|
+
/** 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. */
|
|
907
|
+
key?: string;
|
|
908
|
+
/** OAuth 2.0 token for the current user. */
|
|
909
|
+
oauth_token?: string;
|
|
910
|
+
/** 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). */
|
|
911
|
+
'options.requestedPolicyVersion'?: number;
|
|
912
|
+
/** Returns response with indentations and line breaks. */
|
|
913
|
+
prettyPrint?: boolean;
|
|
914
|
+
/** 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. */
|
|
915
|
+
quotaUser?: string;
|
|
916
|
+
/** 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. */
|
|
917
|
+
resource: string;
|
|
918
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
919
|
+
upload_protocol?: string;
|
|
920
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
921
|
+
uploadType?: string;
|
|
922
|
+
}): Request<Policy>;
|
|
923
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
924
|
+
setIamPolicy(
|
|
925
|
+
request: {
|
|
926
|
+
/** V1 error format. */
|
|
927
|
+
'$.xgafv'?: string;
|
|
928
|
+
/** OAuth access token. */
|
|
929
|
+
access_token?: string;
|
|
930
|
+
/** Data format for response. */
|
|
931
|
+
alt?: string;
|
|
932
|
+
/** JSONP */
|
|
933
|
+
callback?: string;
|
|
934
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
935
|
+
fields?: string;
|
|
936
|
+
/** 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. */
|
|
937
|
+
key?: string;
|
|
938
|
+
/** OAuth 2.0 token for the current user. */
|
|
939
|
+
oauth_token?: string;
|
|
940
|
+
/** Returns response with indentations and line breaks. */
|
|
941
|
+
prettyPrint?: boolean;
|
|
942
|
+
/** 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. */
|
|
943
|
+
quotaUser?: string;
|
|
944
|
+
/** 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. */
|
|
945
|
+
resource: string;
|
|
946
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
947
|
+
upload_protocol?: string;
|
|
948
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
949
|
+
uploadType?: string;
|
|
950
|
+
},
|
|
951
|
+
body: SetIamPolicyRequest
|
|
952
|
+
): Request<Policy>;
|
|
953
|
+
/** 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. */
|
|
954
|
+
testIamPermissions(
|
|
955
|
+
request: {
|
|
956
|
+
/** V1 error format. */
|
|
957
|
+
'$.xgafv'?: string;
|
|
958
|
+
/** OAuth access token. */
|
|
959
|
+
access_token?: string;
|
|
960
|
+
/** Data format for response. */
|
|
961
|
+
alt?: string;
|
|
962
|
+
/** JSONP */
|
|
963
|
+
callback?: string;
|
|
964
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
965
|
+
fields?: string;
|
|
966
|
+
/** 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. */
|
|
967
|
+
key?: string;
|
|
968
|
+
/** OAuth 2.0 token for the current user. */
|
|
969
|
+
oauth_token?: string;
|
|
970
|
+
/** Returns response with indentations and line breaks. */
|
|
971
|
+
prettyPrint?: boolean;
|
|
972
|
+
/** 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. */
|
|
973
|
+
quotaUser?: string;
|
|
974
|
+
/** 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. */
|
|
975
|
+
resource: string;
|
|
976
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
977
|
+
upload_protocol?: string;
|
|
978
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
979
|
+
uploadType?: string;
|
|
980
|
+
},
|
|
981
|
+
body: TestIamPermissionsRequest
|
|
982
|
+
): Request<TestIamPermissionsResponse>;
|
|
983
|
+
}
|
|
984
|
+
interface GoogleApiSourcesResource {
|
|
985
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
986
|
+
getIamPolicy(request?: {
|
|
987
|
+
/** V1 error format. */
|
|
988
|
+
'$.xgafv'?: string;
|
|
989
|
+
/** OAuth access token. */
|
|
990
|
+
access_token?: string;
|
|
991
|
+
/** Data format for response. */
|
|
992
|
+
alt?: string;
|
|
993
|
+
/** JSONP */
|
|
994
|
+
callback?: string;
|
|
995
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
996
|
+
fields?: string;
|
|
997
|
+
/** 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. */
|
|
998
|
+
key?: string;
|
|
999
|
+
/** OAuth 2.0 token for the current user. */
|
|
1000
|
+
oauth_token?: string;
|
|
1001
|
+
/** 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). */
|
|
1002
|
+
'options.requestedPolicyVersion'?: number;
|
|
1003
|
+
/** Returns response with indentations and line breaks. */
|
|
1004
|
+
prettyPrint?: boolean;
|
|
1005
|
+
/** 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. */
|
|
1006
|
+
quotaUser?: string;
|
|
1007
|
+
/** 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. */
|
|
1008
|
+
resource: string;
|
|
1009
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1010
|
+
upload_protocol?: string;
|
|
1011
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1012
|
+
uploadType?: string;
|
|
1013
|
+
}): Request<Policy>;
|
|
1014
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1015
|
+
setIamPolicy(
|
|
1016
|
+
request: {
|
|
1017
|
+
/** V1 error format. */
|
|
1018
|
+
'$.xgafv'?: string;
|
|
1019
|
+
/** OAuth access token. */
|
|
1020
|
+
access_token?: string;
|
|
1021
|
+
/** Data format for response. */
|
|
1022
|
+
alt?: string;
|
|
1023
|
+
/** JSONP */
|
|
1024
|
+
callback?: string;
|
|
1025
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1026
|
+
fields?: string;
|
|
1027
|
+
/** 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. */
|
|
1028
|
+
key?: string;
|
|
1029
|
+
/** OAuth 2.0 token for the current user. */
|
|
1030
|
+
oauth_token?: string;
|
|
1031
|
+
/** Returns response with indentations and line breaks. */
|
|
1032
|
+
prettyPrint?: boolean;
|
|
1033
|
+
/** 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. */
|
|
1034
|
+
quotaUser?: string;
|
|
1035
|
+
/** 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. */
|
|
1036
|
+
resource: string;
|
|
1037
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1038
|
+
upload_protocol?: string;
|
|
1039
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1040
|
+
uploadType?: string;
|
|
1041
|
+
},
|
|
1042
|
+
body: SetIamPolicyRequest
|
|
1043
|
+
): Request<Policy>;
|
|
1044
|
+
/** 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. */
|
|
1045
|
+
testIamPermissions(
|
|
1046
|
+
request: {
|
|
1047
|
+
/** V1 error format. */
|
|
1048
|
+
'$.xgafv'?: string;
|
|
1049
|
+
/** OAuth access token. */
|
|
1050
|
+
access_token?: string;
|
|
1051
|
+
/** Data format for response. */
|
|
1052
|
+
alt?: string;
|
|
1053
|
+
/** JSONP */
|
|
1054
|
+
callback?: string;
|
|
1055
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1056
|
+
fields?: string;
|
|
1057
|
+
/** 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. */
|
|
1058
|
+
key?: string;
|
|
1059
|
+
/** OAuth 2.0 token for the current user. */
|
|
1060
|
+
oauth_token?: string;
|
|
1061
|
+
/** Returns response with indentations and line breaks. */
|
|
1062
|
+
prettyPrint?: boolean;
|
|
1063
|
+
/** 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. */
|
|
1064
|
+
quotaUser?: string;
|
|
1065
|
+
/** 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. */
|
|
1066
|
+
resource: string;
|
|
1067
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1068
|
+
upload_protocol?: string;
|
|
1069
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1070
|
+
uploadType?: string;
|
|
1071
|
+
},
|
|
1072
|
+
body: TestIamPermissionsRequest
|
|
1073
|
+
): Request<TestIamPermissionsResponse>;
|
|
1074
|
+
}
|
|
1075
|
+
interface MessageBusesResource {
|
|
1076
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1077
|
+
getIamPolicy(request?: {
|
|
1078
|
+
/** V1 error format. */
|
|
1079
|
+
'$.xgafv'?: string;
|
|
1080
|
+
/** OAuth access token. */
|
|
1081
|
+
access_token?: string;
|
|
1082
|
+
/** Data format for response. */
|
|
1083
|
+
alt?: string;
|
|
1084
|
+
/** JSONP */
|
|
1085
|
+
callback?: string;
|
|
1086
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1087
|
+
fields?: string;
|
|
1088
|
+
/** 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. */
|
|
1089
|
+
key?: string;
|
|
1090
|
+
/** OAuth 2.0 token for the current user. */
|
|
1091
|
+
oauth_token?: string;
|
|
1092
|
+
/** 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). */
|
|
1093
|
+
'options.requestedPolicyVersion'?: number;
|
|
1094
|
+
/** Returns response with indentations and line breaks. */
|
|
1095
|
+
prettyPrint?: boolean;
|
|
1096
|
+
/** 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. */
|
|
1097
|
+
quotaUser?: string;
|
|
1098
|
+
/** 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. */
|
|
1099
|
+
resource: string;
|
|
1100
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1101
|
+
upload_protocol?: string;
|
|
1102
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1103
|
+
uploadType?: string;
|
|
1104
|
+
}): Request<Policy>;
|
|
1105
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1106
|
+
setIamPolicy(
|
|
1107
|
+
request: {
|
|
1108
|
+
/** V1 error format. */
|
|
1109
|
+
'$.xgafv'?: string;
|
|
1110
|
+
/** OAuth access token. */
|
|
1111
|
+
access_token?: string;
|
|
1112
|
+
/** Data format for response. */
|
|
1113
|
+
alt?: string;
|
|
1114
|
+
/** JSONP */
|
|
1115
|
+
callback?: string;
|
|
1116
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1117
|
+
fields?: string;
|
|
1118
|
+
/** 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. */
|
|
1119
|
+
key?: string;
|
|
1120
|
+
/** OAuth 2.0 token for the current user. */
|
|
1121
|
+
oauth_token?: string;
|
|
1122
|
+
/** Returns response with indentations and line breaks. */
|
|
1123
|
+
prettyPrint?: boolean;
|
|
1124
|
+
/** 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. */
|
|
1125
|
+
quotaUser?: string;
|
|
1126
|
+
/** 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. */
|
|
1127
|
+
resource: string;
|
|
1128
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1129
|
+
upload_protocol?: string;
|
|
1130
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1131
|
+
uploadType?: string;
|
|
1132
|
+
},
|
|
1133
|
+
body: SetIamPolicyRequest
|
|
1134
|
+
): Request<Policy>;
|
|
1135
|
+
/** 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. */
|
|
1136
|
+
testIamPermissions(
|
|
1137
|
+
request: {
|
|
1138
|
+
/** V1 error format. */
|
|
1139
|
+
'$.xgafv'?: string;
|
|
1140
|
+
/** OAuth access token. */
|
|
1141
|
+
access_token?: string;
|
|
1142
|
+
/** Data format for response. */
|
|
1143
|
+
alt?: string;
|
|
1144
|
+
/** JSONP */
|
|
1145
|
+
callback?: string;
|
|
1146
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1147
|
+
fields?: string;
|
|
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. */
|
|
1149
|
+
key?: string;
|
|
1150
|
+
/** OAuth 2.0 token for the current user. */
|
|
1151
|
+
oauth_token?: string;
|
|
1152
|
+
/** Returns response with indentations and line breaks. */
|
|
1153
|
+
prettyPrint?: boolean;
|
|
1154
|
+
/** 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. */
|
|
1155
|
+
quotaUser?: string;
|
|
1156
|
+
/** 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. */
|
|
1157
|
+
resource: string;
|
|
1158
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1159
|
+
upload_protocol?: string;
|
|
1160
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1161
|
+
uploadType?: string;
|
|
1162
|
+
},
|
|
1163
|
+
body: TestIamPermissionsRequest
|
|
1164
|
+
): Request<TestIamPermissionsResponse>;
|
|
1165
|
+
}
|
|
893
1166
|
interface OperationsResource {
|
|
894
1167
|
/** 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`. */
|
|
895
1168
|
cancel(request: {
|
|
@@ -1037,6 +1310,97 @@ declare namespace gapi.client {
|
|
|
1037
1310
|
uploadType?: string;
|
|
1038
1311
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1039
1312
|
}
|
|
1313
|
+
interface PipelinesResource {
|
|
1314
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1315
|
+
getIamPolicy(request?: {
|
|
1316
|
+
/** V1 error format. */
|
|
1317
|
+
'$.xgafv'?: string;
|
|
1318
|
+
/** OAuth access token. */
|
|
1319
|
+
access_token?: string;
|
|
1320
|
+
/** Data format for response. */
|
|
1321
|
+
alt?: string;
|
|
1322
|
+
/** JSONP */
|
|
1323
|
+
callback?: string;
|
|
1324
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1325
|
+
fields?: string;
|
|
1326
|
+
/** 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. */
|
|
1327
|
+
key?: string;
|
|
1328
|
+
/** OAuth 2.0 token for the current user. */
|
|
1329
|
+
oauth_token?: string;
|
|
1330
|
+
/** 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). */
|
|
1331
|
+
'options.requestedPolicyVersion'?: number;
|
|
1332
|
+
/** Returns response with indentations and line breaks. */
|
|
1333
|
+
prettyPrint?: boolean;
|
|
1334
|
+
/** 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. */
|
|
1335
|
+
quotaUser?: string;
|
|
1336
|
+
/** 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. */
|
|
1337
|
+
resource: string;
|
|
1338
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1339
|
+
upload_protocol?: string;
|
|
1340
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1341
|
+
uploadType?: string;
|
|
1342
|
+
}): Request<Policy>;
|
|
1343
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1344
|
+
setIamPolicy(
|
|
1345
|
+
request: {
|
|
1346
|
+
/** V1 error format. */
|
|
1347
|
+
'$.xgafv'?: string;
|
|
1348
|
+
/** OAuth access token. */
|
|
1349
|
+
access_token?: string;
|
|
1350
|
+
/** Data format for response. */
|
|
1351
|
+
alt?: string;
|
|
1352
|
+
/** JSONP */
|
|
1353
|
+
callback?: string;
|
|
1354
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1355
|
+
fields?: string;
|
|
1356
|
+
/** 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. */
|
|
1357
|
+
key?: string;
|
|
1358
|
+
/** OAuth 2.0 token for the current user. */
|
|
1359
|
+
oauth_token?: string;
|
|
1360
|
+
/** Returns response with indentations and line breaks. */
|
|
1361
|
+
prettyPrint?: boolean;
|
|
1362
|
+
/** 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. */
|
|
1363
|
+
quotaUser?: string;
|
|
1364
|
+
/** 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. */
|
|
1365
|
+
resource: string;
|
|
1366
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1367
|
+
upload_protocol?: string;
|
|
1368
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1369
|
+
uploadType?: string;
|
|
1370
|
+
},
|
|
1371
|
+
body: SetIamPolicyRequest
|
|
1372
|
+
): Request<Policy>;
|
|
1373
|
+
/** 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. */
|
|
1374
|
+
testIamPermissions(
|
|
1375
|
+
request: {
|
|
1376
|
+
/** V1 error format. */
|
|
1377
|
+
'$.xgafv'?: string;
|
|
1378
|
+
/** OAuth access token. */
|
|
1379
|
+
access_token?: string;
|
|
1380
|
+
/** Data format for response. */
|
|
1381
|
+
alt?: string;
|
|
1382
|
+
/** JSONP */
|
|
1383
|
+
callback?: string;
|
|
1384
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1385
|
+
fields?: string;
|
|
1386
|
+
/** 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. */
|
|
1387
|
+
key?: string;
|
|
1388
|
+
/** OAuth 2.0 token for the current user. */
|
|
1389
|
+
oauth_token?: string;
|
|
1390
|
+
/** Returns response with indentations and line breaks. */
|
|
1391
|
+
prettyPrint?: boolean;
|
|
1392
|
+
/** 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. */
|
|
1393
|
+
quotaUser?: string;
|
|
1394
|
+
/** 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. */
|
|
1395
|
+
resource: string;
|
|
1396
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1397
|
+
upload_protocol?: string;
|
|
1398
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1399
|
+
uploadType?: string;
|
|
1400
|
+
},
|
|
1401
|
+
body: TestIamPermissionsRequest
|
|
1402
|
+
): Request<TestIamPermissionsResponse>;
|
|
1403
|
+
}
|
|
1040
1404
|
interface ProvidersResource {
|
|
1041
1405
|
/** Get a single Provider. */
|
|
1042
1406
|
get(request?: {
|
|
@@ -1575,7 +1939,11 @@ declare namespace gapi.client {
|
|
|
1575
1939
|
): Request<GoogleChannelConfig>;
|
|
1576
1940
|
channelConnections: ChannelConnectionsResource;
|
|
1577
1941
|
channels: ChannelsResource;
|
|
1942
|
+
enrollments: EnrollmentsResource;
|
|
1943
|
+
googleApiSources: GoogleApiSourcesResource;
|
|
1944
|
+
messageBuses: MessageBusesResource;
|
|
1578
1945
|
operations: OperationsResource;
|
|
1946
|
+
pipelines: PipelinesResource;
|
|
1579
1947
|
providers: ProvidersResource;
|
|
1580
1948
|
triggers: TriggersResource;
|
|
1581
1949
|
}
|