@maxim_mazurok/gapi.client.securesourcemanager-v1 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +196 -179
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -38,7 +38,11 @@ declare namespace gapi.client {
38
38
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
39
39
  exemptedMembers?: string[];
40
40
  /** The log type that this config enables. */
41
- logType?: string;
41
+ logType?:
42
+ | 'LOG_TYPE_UNSPECIFIED'
43
+ | 'ADMIN_READ'
44
+ | 'DATA_WRITE'
45
+ | 'DATA_READ';
42
46
  }
43
47
  interface BatchCreatePullRequestCommentsRequest {
44
48
  /** Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list */
@@ -165,7 +169,7 @@ declare namespace gapi.client {
165
169
  }
166
170
  interface FileDiff {
167
171
  /** Output only. The action taken on the file (eg. added, modified, deleted). */
168
- action?: string;
172
+ action?: 'ACTION_UNSPECIFIED' | 'ADDED' | 'MODIFIED' | 'DELETED';
169
173
  /** Output only. The name of the file. */
170
174
  name?: string;
171
175
  /** Output only. The git patch containing the file changes. */
@@ -179,7 +183,7 @@ declare namespace gapi.client {
179
183
  /** Optional. Determines if the hook disabled or not. Set to true to stop sending traffic. */
180
184
  disabled?: boolean;
181
185
  /** Optional. The events that trigger hook on. */
182
- events?: string[];
186
+ events?: 'UNSPECIFIED' | 'PUSH' | 'PULL_REQUEST'[];
183
187
  /** Identifier. A unique identifier for a Hook. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` */
184
188
  name?: string;
185
189
  /** Optional. The trigger option for push events. */
@@ -227,9 +231,18 @@ declare namespace gapi.client {
227
231
  /** Optional. Private settings for private instance. */
228
232
  privateConfig?: PrivateConfig;
229
233
  /** Output only. Current state of the instance. */
230
- state?: string;
234
+ state?:
235
+ | 'STATE_UNSPECIFIED'
236
+ | 'CREATING'
237
+ | 'ACTIVE'
238
+ | 'DELETING'
239
+ | 'PAUSED'
240
+ | 'UNKNOWN';
231
241
  /** Output only. An optional field providing information about the current instance state. */
232
- stateNote?: string;
242
+ stateNote?:
243
+ | 'STATE_NOTE_UNSPECIFIED'
244
+ | 'PAUSED_CMEK_UNAVAILABLE'
245
+ | 'INSTANCE_RESUMING';
233
246
  /** Output only. Update timestamp. */
234
247
  updateTime?: string;
235
248
  /** Optional. Configuration for Workforce Identity Federation to support third party identity provider. If unset, defaults to the Google OIDC IdP. */
@@ -247,7 +260,7 @@ declare namespace gapi.client {
247
260
  /** Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` */
248
261
  name?: string;
249
262
  /** Output only. State of the issue. */
250
- state?: string;
263
+ state?: 'STATE_UNSPECIFIED' | 'OPEN' | 'CLOSED';
251
264
  /** Required. Issue title. */
252
265
  title?: string;
253
266
  /** Output only. Last updated timestamp. */
@@ -423,7 +436,7 @@ declare namespace gapi.client {
423
436
  /** Output only. Identifier. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` */
424
437
  name?: string;
425
438
  /** Output only. State of the pull request (open, closed or merged). */
426
- state?: string;
439
+ state?: 'STATE_UNSPECIFIED' | 'OPEN' | 'CLOSED' | 'MERGED';
427
440
  /** Required. The pull request title. */
428
441
  title?: string;
429
442
  /** Output only. Last updated timestamp. */
@@ -479,7 +492,11 @@ declare namespace gapi.client {
479
492
  }
480
493
  interface Review {
481
494
  /** Required. The review action type. */
482
- actionType?: string;
495
+ actionType?:
496
+ | 'ACTION_TYPE_UNSPECIFIED'
497
+ | 'COMMENT'
498
+ | 'CHANGE_REQUESTED'
499
+ | 'APPROVED';
483
500
  /** Optional. The comment body. */
484
501
  body?: string;
485
502
  /** Output only. The effective commit sha this review is pointing to. */
@@ -517,7 +534,7 @@ declare namespace gapi.client {
517
534
  /** Output only. The size of the object in bytes (only for blobs). Output-only. */
518
535
  size?: string;
519
536
  /** Output only. The type of the object (TREE, BLOB, COMMIT). Output-only. */
520
- type?: string;
537
+ type?: 'OBJECT_TYPE_UNSPECIFIED' | 'TREE' | 'BLOB' | 'COMMIT';
521
538
  }
522
539
  interface UnresolvePullRequestCommentsRequest {
523
540
  /** Optional. If set, at least one comment in a thread is required, rest of the comments in the same thread will be automatically updated to unresolved. If unset, all comments in the same thread need be present. */
@@ -545,11 +562,11 @@ declare namespace gapi.client {
545
562
  /** Creates a new instance in a given project and location. */
546
563
  create(request: {
547
564
  /** V1 error format. */
548
- '$.xgafv'?: string;
565
+ '$.xgafv'?: '1' | '2';
549
566
  /** OAuth access token. */
550
567
  access_token?: string;
551
568
  /** Data format for response. */
552
- alt?: string;
569
+ alt?: 'json' | 'media' | 'proto';
553
570
  /** JSONP */
554
571
  callback?: string;
555
572
  /** Selector specifying which fields to include in a partial response. */
@@ -578,11 +595,11 @@ declare namespace gapi.client {
578
595
  create(
579
596
  request: {
580
597
  /** V1 error format. */
581
- '$.xgafv'?: string;
598
+ '$.xgafv'?: '1' | '2';
582
599
  /** OAuth access token. */
583
600
  access_token?: string;
584
601
  /** Data format for response. */
585
- alt?: string;
602
+ alt?: 'json' | 'media' | 'proto';
586
603
  /** JSONP */
587
604
  callback?: string;
588
605
  /** Selector specifying which fields to include in a partial response. */
@@ -611,11 +628,11 @@ declare namespace gapi.client {
611
628
  /** Deletes a single instance. */
612
629
  delete(request?: {
613
630
  /** V1 error format. */
614
- '$.xgafv'?: string;
631
+ '$.xgafv'?: '1' | '2';
615
632
  /** OAuth access token. */
616
633
  access_token?: string;
617
634
  /** Data format for response. */
618
- alt?: string;
635
+ alt?: 'json' | 'media' | 'proto';
619
636
  /** JSONP */
620
637
  callback?: string;
621
638
  /** Selector specifying which fields to include in a partial response. */
@@ -642,11 +659,11 @@ declare namespace gapi.client {
642
659
  /** Gets details of a single instance. */
643
660
  get(request?: {
644
661
  /** V1 error format. */
645
- '$.xgafv'?: string;
662
+ '$.xgafv'?: '1' | '2';
646
663
  /** OAuth access token. */
647
664
  access_token?: string;
648
665
  /** Data format for response. */
649
- alt?: string;
666
+ alt?: 'json' | 'media' | 'proto';
650
667
  /** JSONP */
651
668
  callback?: string;
652
669
  /** Selector specifying which fields to include in a partial response. */
@@ -669,11 +686,11 @@ declare namespace gapi.client {
669
686
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
670
687
  getIamPolicy(request?: {
671
688
  /** V1 error format. */
672
- '$.xgafv'?: string;
689
+ '$.xgafv'?: '1' | '2';
673
690
  /** OAuth access token. */
674
691
  access_token?: string;
675
692
  /** Data format for response. */
676
- alt?: string;
693
+ alt?: 'json' | 'media' | 'proto';
677
694
  /** JSONP */
678
695
  callback?: string;
679
696
  /** Selector specifying which fields to include in a partial response. */
@@ -698,11 +715,11 @@ declare namespace gapi.client {
698
715
  /** Lists Instances in a given project and location. */
699
716
  list(request?: {
700
717
  /** V1 error format. */
701
- '$.xgafv'?: string;
718
+ '$.xgafv'?: '1' | '2';
702
719
  /** OAuth access token. */
703
720
  access_token?: string;
704
721
  /** Data format for response. */
705
- alt?: string;
722
+ alt?: 'json' | 'media' | 'proto';
706
723
  /** JSONP */
707
724
  callback?: string;
708
725
  /** Selector specifying which fields to include in a partial response. */
@@ -734,11 +751,11 @@ declare namespace gapi.client {
734
751
  setIamPolicy(
735
752
  request: {
736
753
  /** V1 error format. */
737
- '$.xgafv'?: string;
754
+ '$.xgafv'?: '1' | '2';
738
755
  /** OAuth access token. */
739
756
  access_token?: string;
740
757
  /** Data format for response. */
741
- alt?: string;
758
+ alt?: 'json' | 'media' | 'proto';
742
759
  /** JSONP */
743
760
  callback?: string;
744
761
  /** Selector specifying which fields to include in a partial response. */
@@ -764,11 +781,11 @@ declare namespace gapi.client {
764
781
  testIamPermissions(
765
782
  request: {
766
783
  /** V1 error format. */
767
- '$.xgafv'?: string;
784
+ '$.xgafv'?: '1' | '2';
768
785
  /** OAuth access token. */
769
786
  access_token?: string;
770
787
  /** Data format for response. */
771
- alt?: string;
788
+ alt?: 'json' | 'media' | 'proto';
772
789
  /** JSONP */
773
790
  callback?: string;
774
791
  /** Selector specifying which fields to include in a partial response. */
@@ -795,11 +812,11 @@ declare namespace gapi.client {
795
812
  /** 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`. */
796
813
  cancel(request: {
797
814
  /** V1 error format. */
798
- '$.xgafv'?: string;
815
+ '$.xgafv'?: '1' | '2';
799
816
  /** OAuth access token. */
800
817
  access_token?: string;
801
818
  /** Data format for response. */
802
- alt?: string;
819
+ alt?: 'json' | 'media' | 'proto';
803
820
  /** JSONP */
804
821
  callback?: string;
805
822
  /** Selector specifying which fields to include in a partial response. */
@@ -824,11 +841,11 @@ declare namespace gapi.client {
824
841
  cancel(
825
842
  request: {
826
843
  /** V1 error format. */
827
- '$.xgafv'?: string;
844
+ '$.xgafv'?: '1' | '2';
828
845
  /** OAuth access token. */
829
846
  access_token?: string;
830
847
  /** Data format for response. */
831
- alt?: string;
848
+ alt?: 'json' | 'media' | 'proto';
832
849
  /** JSONP */
833
850
  callback?: string;
834
851
  /** Selector specifying which fields to include in a partial response. */
@@ -853,11 +870,11 @@ declare namespace gapi.client {
853
870
  /** 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`. */
854
871
  delete(request?: {
855
872
  /** V1 error format. */
856
- '$.xgafv'?: string;
873
+ '$.xgafv'?: '1' | '2';
857
874
  /** OAuth access token. */
858
875
  access_token?: string;
859
876
  /** Data format for response. */
860
- alt?: string;
877
+ alt?: 'json' | 'media' | 'proto';
861
878
  /** JSONP */
862
879
  callback?: string;
863
880
  /** Selector specifying which fields to include in a partial response. */
@@ -880,11 +897,11 @@ declare namespace gapi.client {
880
897
  /** 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. */
881
898
  get(request?: {
882
899
  /** V1 error format. */
883
- '$.xgafv'?: string;
900
+ '$.xgafv'?: '1' | '2';
884
901
  /** OAuth access token. */
885
902
  access_token?: string;
886
903
  /** Data format for response. */
887
- alt?: string;
904
+ alt?: 'json' | 'media' | 'proto';
888
905
  /** JSONP */
889
906
  callback?: string;
890
907
  /** Selector specifying which fields to include in a partial response. */
@@ -907,11 +924,11 @@ declare namespace gapi.client {
907
924
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
908
925
  list(request?: {
909
926
  /** V1 error format. */
910
- '$.xgafv'?: string;
927
+ '$.xgafv'?: '1' | '2';
911
928
  /** OAuth access token. */
912
929
  access_token?: string;
913
930
  /** Data format for response. */
914
- alt?: string;
931
+ alt?: 'json' | 'media' | 'proto';
915
932
  /** JSONP */
916
933
  callback?: string;
917
934
  /** Selector specifying which fields to include in a partial response. */
@@ -944,11 +961,11 @@ declare namespace gapi.client {
944
961
  /** CreateBranchRule creates a branch rule in a given repository. */
945
962
  create(request: {
946
963
  /** V1 error format. */
947
- '$.xgafv'?: string;
964
+ '$.xgafv'?: '1' | '2';
948
965
  /** OAuth access token. */
949
966
  access_token?: string;
950
967
  /** Data format for response. */
951
- alt?: string;
968
+ alt?: 'json' | 'media' | 'proto';
952
969
  branchRuleId?: string;
953
970
  /** JSONP */
954
971
  callback?: string;
@@ -973,11 +990,11 @@ declare namespace gapi.client {
973
990
  create(
974
991
  request: {
975
992
  /** V1 error format. */
976
- '$.xgafv'?: string;
993
+ '$.xgafv'?: '1' | '2';
977
994
  /** OAuth access token. */
978
995
  access_token?: string;
979
996
  /** Data format for response. */
980
- alt?: string;
997
+ alt?: 'json' | 'media' | 'proto';
981
998
  branchRuleId?: string;
982
999
  /** JSONP */
983
1000
  callback?: string;
@@ -1002,13 +1019,13 @@ declare namespace gapi.client {
1002
1019
  /** DeleteBranchRule deletes a branch rule. */
1003
1020
  delete(request?: {
1004
1021
  /** V1 error format. */
1005
- '$.xgafv'?: string;
1022
+ '$.xgafv'?: '1' | '2';
1006
1023
  /** OAuth access token. */
1007
1024
  access_token?: string;
1008
1025
  /** Optional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server. */
1009
1026
  allowMissing?: boolean;
1010
1027
  /** Data format for response. */
1011
- alt?: string;
1028
+ alt?: 'json' | 'media' | 'proto';
1012
1029
  /** JSONP */
1013
1030
  callback?: string;
1014
1031
  /** Selector specifying which fields to include in a partial response. */
@@ -1030,11 +1047,11 @@ declare namespace gapi.client {
1030
1047
  /** GetBranchRule gets a branch rule. */
1031
1048
  get(request?: {
1032
1049
  /** V1 error format. */
1033
- '$.xgafv'?: string;
1050
+ '$.xgafv'?: '1' | '2';
1034
1051
  /** OAuth access token. */
1035
1052
  access_token?: string;
1036
1053
  /** Data format for response. */
1037
- alt?: string;
1054
+ alt?: 'json' | 'media' | 'proto';
1038
1055
  /** JSONP */
1039
1056
  callback?: string;
1040
1057
  /** Selector specifying which fields to include in a partial response. */
@@ -1057,11 +1074,11 @@ declare namespace gapi.client {
1057
1074
  /** ListBranchRules lists branch rules in a given repository. */
1058
1075
  list(request?: {
1059
1076
  /** V1 error format. */
1060
- '$.xgafv'?: string;
1077
+ '$.xgafv'?: '1' | '2';
1061
1078
  /** OAuth access token. */
1062
1079
  access_token?: string;
1063
1080
  /** Data format for response. */
1064
- alt?: string;
1081
+ alt?: 'json' | 'media' | 'proto';
1065
1082
  /** JSONP */
1066
1083
  callback?: string;
1067
1084
  /** Selector specifying which fields to include in a partial response. */
@@ -1087,11 +1104,11 @@ declare namespace gapi.client {
1087
1104
  /** UpdateBranchRule updates a branch rule. */
1088
1105
  patch(request: {
1089
1106
  /** V1 error format. */
1090
- '$.xgafv'?: string;
1107
+ '$.xgafv'?: '1' | '2';
1091
1108
  /** OAuth access token. */
1092
1109
  access_token?: string;
1093
1110
  /** Data format for response. */
1094
- alt?: string;
1111
+ alt?: 'json' | 'media' | 'proto';
1095
1112
  /** JSONP */
1096
1113
  callback?: string;
1097
1114
  /** Selector specifying which fields to include in a partial response. */
@@ -1120,11 +1137,11 @@ declare namespace gapi.client {
1120
1137
  patch(
1121
1138
  request: {
1122
1139
  /** V1 error format. */
1123
- '$.xgafv'?: string;
1140
+ '$.xgafv'?: '1' | '2';
1124
1141
  /** OAuth access token. */
1125
1142
  access_token?: string;
1126
1143
  /** Data format for response. */
1127
- alt?: string;
1144
+ alt?: 'json' | 'media' | 'proto';
1128
1145
  /** JSONP */
1129
1146
  callback?: string;
1130
1147
  /** Selector specifying which fields to include in a partial response. */
@@ -1155,11 +1172,11 @@ declare namespace gapi.client {
1155
1172
  /** Creates a new hook in a given repository. */
1156
1173
  create(request: {
1157
1174
  /** V1 error format. */
1158
- '$.xgafv'?: string;
1175
+ '$.xgafv'?: '1' | '2';
1159
1176
  /** OAuth access token. */
1160
1177
  access_token?: string;
1161
1178
  /** Data format for response. */
1162
- alt?: string;
1179
+ alt?: 'json' | 'media' | 'proto';
1163
1180
  /** JSONP */
1164
1181
  callback?: string;
1165
1182
  /** Selector specifying which fields to include in a partial response. */
@@ -1186,11 +1203,11 @@ declare namespace gapi.client {
1186
1203
  create(
1187
1204
  request: {
1188
1205
  /** V1 error format. */
1189
- '$.xgafv'?: string;
1206
+ '$.xgafv'?: '1' | '2';
1190
1207
  /** OAuth access token. */
1191
1208
  access_token?: string;
1192
1209
  /** Data format for response. */
1193
- alt?: string;
1210
+ alt?: 'json' | 'media' | 'proto';
1194
1211
  /** JSONP */
1195
1212
  callback?: string;
1196
1213
  /** Selector specifying which fields to include in a partial response. */
@@ -1217,11 +1234,11 @@ declare namespace gapi.client {
1217
1234
  /** Deletes a Hook. */
1218
1235
  delete(request?: {
1219
1236
  /** V1 error format. */
1220
- '$.xgafv'?: string;
1237
+ '$.xgafv'?: '1' | '2';
1221
1238
  /** OAuth access token. */
1222
1239
  access_token?: string;
1223
1240
  /** Data format for response. */
1224
- alt?: string;
1241
+ alt?: 'json' | 'media' | 'proto';
1225
1242
  /** JSONP */
1226
1243
  callback?: string;
1227
1244
  /** Selector specifying which fields to include in a partial response. */
@@ -1244,11 +1261,11 @@ declare namespace gapi.client {
1244
1261
  /** Gets metadata of a hook. */
1245
1262
  get(request?: {
1246
1263
  /** V1 error format. */
1247
- '$.xgafv'?: string;
1264
+ '$.xgafv'?: '1' | '2';
1248
1265
  /** OAuth access token. */
1249
1266
  access_token?: string;
1250
1267
  /** Data format for response. */
1251
- alt?: string;
1268
+ alt?: 'json' | 'media' | 'proto';
1252
1269
  /** JSONP */
1253
1270
  callback?: string;
1254
1271
  /** Selector specifying which fields to include in a partial response. */
@@ -1271,11 +1288,11 @@ declare namespace gapi.client {
1271
1288
  /** Lists hooks in a given repository. */
1272
1289
  list(request?: {
1273
1290
  /** V1 error format. */
1274
- '$.xgafv'?: string;
1291
+ '$.xgafv'?: '1' | '2';
1275
1292
  /** OAuth access token. */
1276
1293
  access_token?: string;
1277
1294
  /** Data format for response. */
1278
- alt?: string;
1295
+ alt?: 'json' | 'media' | 'proto';
1279
1296
  /** JSONP */
1280
1297
  callback?: string;
1281
1298
  /** Selector specifying which fields to include in a partial response. */
@@ -1302,11 +1319,11 @@ declare namespace gapi.client {
1302
1319
  /** Updates the metadata of a hook. */
1303
1320
  patch(request: {
1304
1321
  /** V1 error format. */
1305
- '$.xgafv'?: string;
1322
+ '$.xgafv'?: '1' | '2';
1306
1323
  /** OAuth access token. */
1307
1324
  access_token?: string;
1308
1325
  /** Data format for response. */
1309
- alt?: string;
1326
+ alt?: 'json' | 'media' | 'proto';
1310
1327
  /** JSONP */
1311
1328
  callback?: string;
1312
1329
  /** Selector specifying which fields to include in a partial response. */
@@ -1333,11 +1350,11 @@ declare namespace gapi.client {
1333
1350
  patch(
1334
1351
  request: {
1335
1352
  /** V1 error format. */
1336
- '$.xgafv'?: string;
1353
+ '$.xgafv'?: '1' | '2';
1337
1354
  /** OAuth access token. */
1338
1355
  access_token?: string;
1339
1356
  /** Data format for response. */
1340
- alt?: string;
1357
+ alt?: 'json' | 'media' | 'proto';
1341
1358
  /** JSONP */
1342
1359
  callback?: string;
1343
1360
  /** Selector specifying which fields to include in a partial response. */
@@ -1366,11 +1383,11 @@ declare namespace gapi.client {
1366
1383
  /** Creates an issue comment. */
1367
1384
  create(request: {
1368
1385
  /** V1 error format. */
1369
- '$.xgafv'?: string;
1386
+ '$.xgafv'?: '1' | '2';
1370
1387
  /** OAuth access token. */
1371
1388
  access_token?: string;
1372
1389
  /** Data format for response. */
1373
- alt?: string;
1390
+ alt?: 'json' | 'media' | 'proto';
1374
1391
  /** JSONP */
1375
1392
  callback?: string;
1376
1393
  /** Selector specifying which fields to include in a partial response. */
@@ -1395,11 +1412,11 @@ declare namespace gapi.client {
1395
1412
  create(
1396
1413
  request: {
1397
1414
  /** V1 error format. */
1398
- '$.xgafv'?: string;
1415
+ '$.xgafv'?: '1' | '2';
1399
1416
  /** OAuth access token. */
1400
1417
  access_token?: string;
1401
1418
  /** Data format for response. */
1402
- alt?: string;
1419
+ alt?: 'json' | 'media' | 'proto';
1403
1420
  /** JSONP */
1404
1421
  callback?: string;
1405
1422
  /** Selector specifying which fields to include in a partial response. */
@@ -1424,11 +1441,11 @@ declare namespace gapi.client {
1424
1441
  /** Deletes an issue comment. */
1425
1442
  delete(request?: {
1426
1443
  /** V1 error format. */
1427
- '$.xgafv'?: string;
1444
+ '$.xgafv'?: '1' | '2';
1428
1445
  /** OAuth access token. */
1429
1446
  access_token?: string;
1430
1447
  /** Data format for response. */
1431
- alt?: string;
1448
+ alt?: 'json' | 'media' | 'proto';
1432
1449
  /** JSONP */
1433
1450
  callback?: string;
1434
1451
  /** Selector specifying which fields to include in a partial response. */
@@ -1451,11 +1468,11 @@ declare namespace gapi.client {
1451
1468
  /** Gets an issue comment. */
1452
1469
  get(request?: {
1453
1470
  /** V1 error format. */
1454
- '$.xgafv'?: string;
1471
+ '$.xgafv'?: '1' | '2';
1455
1472
  /** OAuth access token. */
1456
1473
  access_token?: string;
1457
1474
  /** Data format for response. */
1458
- alt?: string;
1475
+ alt?: 'json' | 'media' | 'proto';
1459
1476
  /** JSONP */
1460
1477
  callback?: string;
1461
1478
  /** Selector specifying which fields to include in a partial response. */
@@ -1478,11 +1495,11 @@ declare namespace gapi.client {
1478
1495
  /** Lists comments in an issue. */
1479
1496
  list(request?: {
1480
1497
  /** V1 error format. */
1481
- '$.xgafv'?: string;
1498
+ '$.xgafv'?: '1' | '2';
1482
1499
  /** OAuth access token. */
1483
1500
  access_token?: string;
1484
1501
  /** Data format for response. */
1485
- alt?: string;
1502
+ alt?: 'json' | 'media' | 'proto';
1486
1503
  /** JSONP */
1487
1504
  callback?: string;
1488
1505
  /** Selector specifying which fields to include in a partial response. */
@@ -1509,11 +1526,11 @@ declare namespace gapi.client {
1509
1526
  /** Updates an issue comment. */
1510
1527
  patch(request: {
1511
1528
  /** V1 error format. */
1512
- '$.xgafv'?: string;
1529
+ '$.xgafv'?: '1' | '2';
1513
1530
  /** OAuth access token. */
1514
1531
  access_token?: string;
1515
1532
  /** Data format for response. */
1516
- alt?: string;
1533
+ alt?: 'json' | 'media' | 'proto';
1517
1534
  /** JSONP */
1518
1535
  callback?: string;
1519
1536
  /** Selector specifying which fields to include in a partial response. */
@@ -1540,11 +1557,11 @@ declare namespace gapi.client {
1540
1557
  patch(
1541
1558
  request: {
1542
1559
  /** V1 error format. */
1543
- '$.xgafv'?: string;
1560
+ '$.xgafv'?: '1' | '2';
1544
1561
  /** OAuth access token. */
1545
1562
  access_token?: string;
1546
1563
  /** Data format for response. */
1547
- alt?: string;
1564
+ alt?: 'json' | 'media' | 'proto';
1548
1565
  /** JSONP */
1549
1566
  callback?: string;
1550
1567
  /** Selector specifying which fields to include in a partial response. */
@@ -1573,11 +1590,11 @@ declare namespace gapi.client {
1573
1590
  /** Closes an issue. */
1574
1591
  close(request: {
1575
1592
  /** V1 error format. */
1576
- '$.xgafv'?: string;
1593
+ '$.xgafv'?: '1' | '2';
1577
1594
  /** OAuth access token. */
1578
1595
  access_token?: string;
1579
1596
  /** Data format for response. */
1580
- alt?: string;
1597
+ alt?: 'json' | 'media' | 'proto';
1581
1598
  /** JSONP */
1582
1599
  callback?: string;
1583
1600
  /** Selector specifying which fields to include in a partial response. */
@@ -1602,11 +1619,11 @@ declare namespace gapi.client {
1602
1619
  close(
1603
1620
  request: {
1604
1621
  /** V1 error format. */
1605
- '$.xgafv'?: string;
1622
+ '$.xgafv'?: '1' | '2';
1606
1623
  /** OAuth access token. */
1607
1624
  access_token?: string;
1608
1625
  /** Data format for response. */
1609
- alt?: string;
1626
+ alt?: 'json' | 'media' | 'proto';
1610
1627
  /** JSONP */
1611
1628
  callback?: string;
1612
1629
  /** Selector specifying which fields to include in a partial response. */
@@ -1631,11 +1648,11 @@ declare namespace gapi.client {
1631
1648
  /** Creates an issue. */
1632
1649
  create(request: {
1633
1650
  /** V1 error format. */
1634
- '$.xgafv'?: string;
1651
+ '$.xgafv'?: '1' | '2';
1635
1652
  /** OAuth access token. */
1636
1653
  access_token?: string;
1637
1654
  /** Data format for response. */
1638
- alt?: string;
1655
+ alt?: 'json' | 'media' | 'proto';
1639
1656
  /** JSONP */
1640
1657
  callback?: string;
1641
1658
  /** Selector specifying which fields to include in a partial response. */
@@ -1660,11 +1677,11 @@ declare namespace gapi.client {
1660
1677
  create(
1661
1678
  request: {
1662
1679
  /** V1 error format. */
1663
- '$.xgafv'?: string;
1680
+ '$.xgafv'?: '1' | '2';
1664
1681
  /** OAuth access token. */
1665
1682
  access_token?: string;
1666
1683
  /** Data format for response. */
1667
- alt?: string;
1684
+ alt?: 'json' | 'media' | 'proto';
1668
1685
  /** JSONP */
1669
1686
  callback?: string;
1670
1687
  /** Selector specifying which fields to include in a partial response. */
@@ -1689,11 +1706,11 @@ declare namespace gapi.client {
1689
1706
  /** Deletes an issue. */
1690
1707
  delete(request?: {
1691
1708
  /** V1 error format. */
1692
- '$.xgafv'?: string;
1709
+ '$.xgafv'?: '1' | '2';
1693
1710
  /** OAuth access token. */
1694
1711
  access_token?: string;
1695
1712
  /** Data format for response. */
1696
- alt?: string;
1713
+ alt?: 'json' | 'media' | 'proto';
1697
1714
  /** JSONP */
1698
1715
  callback?: string;
1699
1716
  /** Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, deletion will be blocked and an ABORTED error will be returned. */
@@ -1718,11 +1735,11 @@ declare namespace gapi.client {
1718
1735
  /** Gets an issue. */
1719
1736
  get(request?: {
1720
1737
  /** V1 error format. */
1721
- '$.xgafv'?: string;
1738
+ '$.xgafv'?: '1' | '2';
1722
1739
  /** OAuth access token. */
1723
1740
  access_token?: string;
1724
1741
  /** Data format for response. */
1725
- alt?: string;
1742
+ alt?: 'json' | 'media' | 'proto';
1726
1743
  /** JSONP */
1727
1744
  callback?: string;
1728
1745
  /** Selector specifying which fields to include in a partial response. */
@@ -1745,11 +1762,11 @@ declare namespace gapi.client {
1745
1762
  /** Lists issues in a repository. */
1746
1763
  list(request?: {
1747
1764
  /** V1 error format. */
1748
- '$.xgafv'?: string;
1765
+ '$.xgafv'?: '1' | '2';
1749
1766
  /** OAuth access token. */
1750
1767
  access_token?: string;
1751
1768
  /** Data format for response. */
1752
- alt?: string;
1769
+ alt?: 'json' | 'media' | 'proto';
1753
1770
  /** JSONP */
1754
1771
  callback?: string;
1755
1772
  /** Selector specifying which fields to include in a partial response. */
@@ -1778,11 +1795,11 @@ declare namespace gapi.client {
1778
1795
  /** Opens an issue. */
1779
1796
  open(request: {
1780
1797
  /** V1 error format. */
1781
- '$.xgafv'?: string;
1798
+ '$.xgafv'?: '1' | '2';
1782
1799
  /** OAuth access token. */
1783
1800
  access_token?: string;
1784
1801
  /** Data format for response. */
1785
- alt?: string;
1802
+ alt?: 'json' | 'media' | 'proto';
1786
1803
  /** JSONP */
1787
1804
  callback?: string;
1788
1805
  /** Selector specifying which fields to include in a partial response. */
@@ -1807,11 +1824,11 @@ declare namespace gapi.client {
1807
1824
  open(
1808
1825
  request: {
1809
1826
  /** V1 error format. */
1810
- '$.xgafv'?: string;
1827
+ '$.xgafv'?: '1' | '2';
1811
1828
  /** OAuth access token. */
1812
1829
  access_token?: string;
1813
1830
  /** Data format for response. */
1814
- alt?: string;
1831
+ alt?: 'json' | 'media' | 'proto';
1815
1832
  /** JSONP */
1816
1833
  callback?: string;
1817
1834
  /** Selector specifying which fields to include in a partial response. */
@@ -1836,11 +1853,11 @@ declare namespace gapi.client {
1836
1853
  /** Updates a issue. */
1837
1854
  patch(request: {
1838
1855
  /** V1 error format. */
1839
- '$.xgafv'?: string;
1856
+ '$.xgafv'?: '1' | '2';
1840
1857
  /** OAuth access token. */
1841
1858
  access_token?: string;
1842
1859
  /** Data format for response. */
1843
- alt?: string;
1860
+ alt?: 'json' | 'media' | 'proto';
1844
1861
  /** JSONP */
1845
1862
  callback?: string;
1846
1863
  /** Selector specifying which fields to include in a partial response. */
@@ -1867,11 +1884,11 @@ declare namespace gapi.client {
1867
1884
  patch(
1868
1885
  request: {
1869
1886
  /** V1 error format. */
1870
- '$.xgafv'?: string;
1887
+ '$.xgafv'?: '1' | '2';
1871
1888
  /** OAuth access token. */
1872
1889
  access_token?: string;
1873
1890
  /** Data format for response. */
1874
- alt?: string;
1891
+ alt?: 'json' | 'media' | 'proto';
1875
1892
  /** JSONP */
1876
1893
  callback?: string;
1877
1894
  /** Selector specifying which fields to include in a partial response. */
@@ -1901,11 +1918,11 @@ declare namespace gapi.client {
1901
1918
  /** Batch creates pull request comments. This function is used to create multiple PullRequestComments for code review. There needs to be exactly one PullRequestComment of type Review, and at most 100 PullRequestComments of type Code per request. The Position of the code comments must be unique within the request. */
1902
1919
  batchCreate(request: {
1903
1920
  /** V1 error format. */
1904
- '$.xgafv'?: string;
1921
+ '$.xgafv'?: '1' | '2';
1905
1922
  /** OAuth access token. */
1906
1923
  access_token?: string;
1907
1924
  /** Data format for response. */
1908
- alt?: string;
1925
+ alt?: 'json' | 'media' | 'proto';
1909
1926
  /** JSONP */
1910
1927
  callback?: string;
1911
1928
  /** Selector specifying which fields to include in a partial response. */
@@ -1930,11 +1947,11 @@ declare namespace gapi.client {
1930
1947
  batchCreate(
1931
1948
  request: {
1932
1949
  /** V1 error format. */
1933
- '$.xgafv'?: string;
1950
+ '$.xgafv'?: '1' | '2';
1934
1951
  /** OAuth access token. */
1935
1952
  access_token?: string;
1936
1953
  /** Data format for response. */
1937
- alt?: string;
1954
+ alt?: 'json' | 'media' | 'proto';
1938
1955
  /** JSONP */
1939
1956
  callback?: string;
1940
1957
  /** Selector specifying which fields to include in a partial response. */
@@ -1959,11 +1976,11 @@ declare namespace gapi.client {
1959
1976
  /** Creates a pull request comment. This function is used to create a single PullRequestComment of type Comment, or a single PullRequestComment of type Code that's replying to another PullRequestComment of type Code. Use BatchCreatePullRequestComments to create multiple PullRequestComments for code reviews. */
1960
1977
  create(request: {
1961
1978
  /** V1 error format. */
1962
- '$.xgafv'?: string;
1979
+ '$.xgafv'?: '1' | '2';
1963
1980
  /** OAuth access token. */
1964
1981
  access_token?: string;
1965
1982
  /** Data format for response. */
1966
- alt?: string;
1983
+ alt?: 'json' | 'media' | 'proto';
1967
1984
  /** JSONP */
1968
1985
  callback?: string;
1969
1986
  /** Selector specifying which fields to include in a partial response. */
@@ -1988,11 +2005,11 @@ declare namespace gapi.client {
1988
2005
  create(
1989
2006
  request: {
1990
2007
  /** V1 error format. */
1991
- '$.xgafv'?: string;
2008
+ '$.xgafv'?: '1' | '2';
1992
2009
  /** OAuth access token. */
1993
2010
  access_token?: string;
1994
2011
  /** Data format for response. */
1995
- alt?: string;
2012
+ alt?: 'json' | 'media' | 'proto';
1996
2013
  /** JSONP */
1997
2014
  callback?: string;
1998
2015
  /** Selector specifying which fields to include in a partial response. */
@@ -2017,11 +2034,11 @@ declare namespace gapi.client {
2017
2034
  /** Deletes a pull request comment. */
2018
2035
  delete(request?: {
2019
2036
  /** V1 error format. */
2020
- '$.xgafv'?: string;
2037
+ '$.xgafv'?: '1' | '2';
2021
2038
  /** OAuth access token. */
2022
2039
  access_token?: string;
2023
2040
  /** Data format for response. */
2024
- alt?: string;
2041
+ alt?: 'json' | 'media' | 'proto';
2025
2042
  /** JSONP */
2026
2043
  callback?: string;
2027
2044
  /** Selector specifying which fields to include in a partial response. */
@@ -2044,11 +2061,11 @@ declare namespace gapi.client {
2044
2061
  /** Gets a pull request comment. */
2045
2062
  get(request?: {
2046
2063
  /** V1 error format. */
2047
- '$.xgafv'?: string;
2064
+ '$.xgafv'?: '1' | '2';
2048
2065
  /** OAuth access token. */
2049
2066
  access_token?: string;
2050
2067
  /** Data format for response. */
2051
- alt?: string;
2068
+ alt?: 'json' | 'media' | 'proto';
2052
2069
  /** JSONP */
2053
2070
  callback?: string;
2054
2071
  /** Selector specifying which fields to include in a partial response. */
@@ -2071,11 +2088,11 @@ declare namespace gapi.client {
2071
2088
  /** Lists pull request comments. */
2072
2089
  list(request?: {
2073
2090
  /** V1 error format. */
2074
- '$.xgafv'?: string;
2091
+ '$.xgafv'?: '1' | '2';
2075
2092
  /** OAuth access token. */
2076
2093
  access_token?: string;
2077
2094
  /** Data format for response. */
2078
- alt?: string;
2095
+ alt?: 'json' | 'media' | 'proto';
2079
2096
  /** JSONP */
2080
2097
  callback?: string;
2081
2098
  /** Selector specifying which fields to include in a partial response. */
@@ -2102,11 +2119,11 @@ declare namespace gapi.client {
2102
2119
  /** Updates a pull request comment. */
2103
2120
  patch(request: {
2104
2121
  /** V1 error format. */
2105
- '$.xgafv'?: string;
2122
+ '$.xgafv'?: '1' | '2';
2106
2123
  /** OAuth access token. */
2107
2124
  access_token?: string;
2108
2125
  /** Data format for response. */
2109
- alt?: string;
2126
+ alt?: 'json' | 'media' | 'proto';
2110
2127
  /** JSONP */
2111
2128
  callback?: string;
2112
2129
  /** Selector specifying which fields to include in a partial response. */
@@ -2133,11 +2150,11 @@ declare namespace gapi.client {
2133
2150
  patch(
2134
2151
  request: {
2135
2152
  /** V1 error format. */
2136
- '$.xgafv'?: string;
2153
+ '$.xgafv'?: '1' | '2';
2137
2154
  /** OAuth access token. */
2138
2155
  access_token?: string;
2139
2156
  /** Data format for response. */
2140
- alt?: string;
2157
+ alt?: 'json' | 'media' | 'proto';
2141
2158
  /** JSONP */
2142
2159
  callback?: string;
2143
2160
  /** Selector specifying which fields to include in a partial response. */
@@ -2164,11 +2181,11 @@ declare namespace gapi.client {
2164
2181
  /** Resolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be resolved. */
2165
2182
  resolve(request: {
2166
2183
  /** V1 error format. */
2167
- '$.xgafv'?: string;
2184
+ '$.xgafv'?: '1' | '2';
2168
2185
  /** OAuth access token. */
2169
2186
  access_token?: string;
2170
2187
  /** Data format for response. */
2171
- alt?: string;
2188
+ alt?: 'json' | 'media' | 'proto';
2172
2189
  /** JSONP */
2173
2190
  callback?: string;
2174
2191
  /** Selector specifying which fields to include in a partial response. */
@@ -2193,11 +2210,11 @@ declare namespace gapi.client {
2193
2210
  resolve(
2194
2211
  request: {
2195
2212
  /** V1 error format. */
2196
- '$.xgafv'?: string;
2213
+ '$.xgafv'?: '1' | '2';
2197
2214
  /** OAuth access token. */
2198
2215
  access_token?: string;
2199
2216
  /** Data format for response. */
2200
- alt?: string;
2217
+ alt?: 'json' | 'media' | 'proto';
2201
2218
  /** JSONP */
2202
2219
  callback?: string;
2203
2220
  /** Selector specifying which fields to include in a partial response. */
@@ -2222,11 +2239,11 @@ declare namespace gapi.client {
2222
2239
  /** Unresolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be unresolved. */
2223
2240
  unresolve(request: {
2224
2241
  /** V1 error format. */
2225
- '$.xgafv'?: string;
2242
+ '$.xgafv'?: '1' | '2';
2226
2243
  /** OAuth access token. */
2227
2244
  access_token?: string;
2228
2245
  /** Data format for response. */
2229
- alt?: string;
2246
+ alt?: 'json' | 'media' | 'proto';
2230
2247
  /** JSONP */
2231
2248
  callback?: string;
2232
2249
  /** Selector specifying which fields to include in a partial response. */
@@ -2251,11 +2268,11 @@ declare namespace gapi.client {
2251
2268
  unresolve(
2252
2269
  request: {
2253
2270
  /** V1 error format. */
2254
- '$.xgafv'?: string;
2271
+ '$.xgafv'?: '1' | '2';
2255
2272
  /** OAuth access token. */
2256
2273
  access_token?: string;
2257
2274
  /** Data format for response. */
2258
- alt?: string;
2275
+ alt?: 'json' | 'media' | 'proto';
2259
2276
  /** JSONP */
2260
2277
  callback?: string;
2261
2278
  /** Selector specifying which fields to include in a partial response. */
@@ -2282,11 +2299,11 @@ declare namespace gapi.client {
2282
2299
  /** Closes a pull request without merging. */
2283
2300
  close(request: {
2284
2301
  /** V1 error format. */
2285
- '$.xgafv'?: string;
2302
+ '$.xgafv'?: '1' | '2';
2286
2303
  /** OAuth access token. */
2287
2304
  access_token?: string;
2288
2305
  /** Data format for response. */
2289
- alt?: string;
2306
+ alt?: 'json' | 'media' | 'proto';
2290
2307
  /** JSONP */
2291
2308
  callback?: string;
2292
2309
  /** Selector specifying which fields to include in a partial response. */
@@ -2311,11 +2328,11 @@ declare namespace gapi.client {
2311
2328
  close(
2312
2329
  request: {
2313
2330
  /** V1 error format. */
2314
- '$.xgafv'?: string;
2331
+ '$.xgafv'?: '1' | '2';
2315
2332
  /** OAuth access token. */
2316
2333
  access_token?: string;
2317
2334
  /** Data format for response. */
2318
- alt?: string;
2335
+ alt?: 'json' | 'media' | 'proto';
2319
2336
  /** JSONP */
2320
2337
  callback?: string;
2321
2338
  /** Selector specifying which fields to include in a partial response. */
@@ -2340,11 +2357,11 @@ declare namespace gapi.client {
2340
2357
  /** Creates a pull request. */
2341
2358
  create(request: {
2342
2359
  /** V1 error format. */
2343
- '$.xgafv'?: string;
2360
+ '$.xgafv'?: '1' | '2';
2344
2361
  /** OAuth access token. */
2345
2362
  access_token?: string;
2346
2363
  /** Data format for response. */
2347
- alt?: string;
2364
+ alt?: 'json' | 'media' | 'proto';
2348
2365
  /** JSONP */
2349
2366
  callback?: string;
2350
2367
  /** Selector specifying which fields to include in a partial response. */
@@ -2369,11 +2386,11 @@ declare namespace gapi.client {
2369
2386
  create(
2370
2387
  request: {
2371
2388
  /** V1 error format. */
2372
- '$.xgafv'?: string;
2389
+ '$.xgafv'?: '1' | '2';
2373
2390
  /** OAuth access token. */
2374
2391
  access_token?: string;
2375
2392
  /** Data format for response. */
2376
- alt?: string;
2393
+ alt?: 'json' | 'media' | 'proto';
2377
2394
  /** JSONP */
2378
2395
  callback?: string;
2379
2396
  /** Selector specifying which fields to include in a partial response. */
@@ -2398,11 +2415,11 @@ declare namespace gapi.client {
2398
2415
  /** Gets a pull request. */
2399
2416
  get(request?: {
2400
2417
  /** V1 error format. */
2401
- '$.xgafv'?: string;
2418
+ '$.xgafv'?: '1' | '2';
2402
2419
  /** OAuth access token. */
2403
2420
  access_token?: string;
2404
2421
  /** Data format for response. */
2405
- alt?: string;
2422
+ alt?: 'json' | 'media' | 'proto';
2406
2423
  /** JSONP */
2407
2424
  callback?: string;
2408
2425
  /** Selector specifying which fields to include in a partial response. */
@@ -2425,11 +2442,11 @@ declare namespace gapi.client {
2425
2442
  /** Lists pull requests in a repository. */
2426
2443
  list(request?: {
2427
2444
  /** V1 error format. */
2428
- '$.xgafv'?: string;
2445
+ '$.xgafv'?: '1' | '2';
2429
2446
  /** OAuth access token. */
2430
2447
  access_token?: string;
2431
2448
  /** Data format for response. */
2432
- alt?: string;
2449
+ alt?: 'json' | 'media' | 'proto';
2433
2450
  /** JSONP */
2434
2451
  callback?: string;
2435
2452
  /** Selector specifying which fields to include in a partial response. */
@@ -2456,11 +2473,11 @@ declare namespace gapi.client {
2456
2473
  /** Lists a pull request's file diffs. */
2457
2474
  listFileDiffs(request?: {
2458
2475
  /** V1 error format. */
2459
- '$.xgafv'?: string;
2476
+ '$.xgafv'?: '1' | '2';
2460
2477
  /** OAuth access token. */
2461
2478
  access_token?: string;
2462
2479
  /** Data format for response. */
2463
- alt?: string;
2480
+ alt?: 'json' | 'media' | 'proto';
2464
2481
  /** JSONP */
2465
2482
  callback?: string;
2466
2483
  /** Selector specifying which fields to include in a partial response. */
@@ -2487,11 +2504,11 @@ declare namespace gapi.client {
2487
2504
  /** Merges a pull request. */
2488
2505
  merge(request: {
2489
2506
  /** V1 error format. */
2490
- '$.xgafv'?: string;
2507
+ '$.xgafv'?: '1' | '2';
2491
2508
  /** OAuth access token. */
2492
2509
  access_token?: string;
2493
2510
  /** Data format for response. */
2494
- alt?: string;
2511
+ alt?: 'json' | 'media' | 'proto';
2495
2512
  /** JSONP */
2496
2513
  callback?: string;
2497
2514
  /** Selector specifying which fields to include in a partial response. */
@@ -2516,11 +2533,11 @@ declare namespace gapi.client {
2516
2533
  merge(
2517
2534
  request: {
2518
2535
  /** V1 error format. */
2519
- '$.xgafv'?: string;
2536
+ '$.xgafv'?: '1' | '2';
2520
2537
  /** OAuth access token. */
2521
2538
  access_token?: string;
2522
2539
  /** Data format for response. */
2523
- alt?: string;
2540
+ alt?: 'json' | 'media' | 'proto';
2524
2541
  /** JSONP */
2525
2542
  callback?: string;
2526
2543
  /** Selector specifying which fields to include in a partial response. */
@@ -2545,11 +2562,11 @@ declare namespace gapi.client {
2545
2562
  /** Opens a pull request. */
2546
2563
  open(request: {
2547
2564
  /** V1 error format. */
2548
- '$.xgafv'?: string;
2565
+ '$.xgafv'?: '1' | '2';
2549
2566
  /** OAuth access token. */
2550
2567
  access_token?: string;
2551
2568
  /** Data format for response. */
2552
- alt?: string;
2569
+ alt?: 'json' | 'media' | 'proto';
2553
2570
  /** JSONP */
2554
2571
  callback?: string;
2555
2572
  /** Selector specifying which fields to include in a partial response. */
@@ -2574,11 +2591,11 @@ declare namespace gapi.client {
2574
2591
  open(
2575
2592
  request: {
2576
2593
  /** V1 error format. */
2577
- '$.xgafv'?: string;
2594
+ '$.xgafv'?: '1' | '2';
2578
2595
  /** OAuth access token. */
2579
2596
  access_token?: string;
2580
2597
  /** Data format for response. */
2581
- alt?: string;
2598
+ alt?: 'json' | 'media' | 'proto';
2582
2599
  /** JSONP */
2583
2600
  callback?: string;
2584
2601
  /** Selector specifying which fields to include in a partial response. */
@@ -2603,11 +2620,11 @@ declare namespace gapi.client {
2603
2620
  /** Updates a pull request. */
2604
2621
  patch(request: {
2605
2622
  /** V1 error format. */
2606
- '$.xgafv'?: string;
2623
+ '$.xgafv'?: '1' | '2';
2607
2624
  /** OAuth access token. */
2608
2625
  access_token?: string;
2609
2626
  /** Data format for response. */
2610
- alt?: string;
2627
+ alt?: 'json' | 'media' | 'proto';
2611
2628
  /** JSONP */
2612
2629
  callback?: string;
2613
2630
  /** Selector specifying which fields to include in a partial response. */
@@ -2634,11 +2651,11 @@ declare namespace gapi.client {
2634
2651
  patch(
2635
2652
  request: {
2636
2653
  /** V1 error format. */
2637
- '$.xgafv'?: string;
2654
+ '$.xgafv'?: '1' | '2';
2638
2655
  /** OAuth access token. */
2639
2656
  access_token?: string;
2640
2657
  /** Data format for response. */
2641
- alt?: string;
2658
+ alt?: 'json' | 'media' | 'proto';
2642
2659
  /** JSONP */
2643
2660
  callback?: string;
2644
2661
  /** Selector specifying which fields to include in a partial response. */
@@ -2668,11 +2685,11 @@ declare namespace gapi.client {
2668
2685
  /** Creates a new repository in a given project and location. The Repository.Instance field is required in the request body for requests using the securesourcemanager.googleapis.com endpoint. */
2669
2686
  create(request: {
2670
2687
  /** V1 error format. */
2671
- '$.xgafv'?: string;
2688
+ '$.xgafv'?: '1' | '2';
2672
2689
  /** OAuth access token. */
2673
2690
  access_token?: string;
2674
2691
  /** Data format for response. */
2675
- alt?: string;
2692
+ alt?: 'json' | 'media' | 'proto';
2676
2693
  /** JSONP */
2677
2694
  callback?: string;
2678
2695
  /** Selector specifying which fields to include in a partial response. */
@@ -2699,11 +2716,11 @@ declare namespace gapi.client {
2699
2716
  create(
2700
2717
  request: {
2701
2718
  /** V1 error format. */
2702
- '$.xgafv'?: string;
2719
+ '$.xgafv'?: '1' | '2';
2703
2720
  /** OAuth access token. */
2704
2721
  access_token?: string;
2705
2722
  /** Data format for response. */
2706
- alt?: string;
2723
+ alt?: 'json' | 'media' | 'proto';
2707
2724
  /** JSONP */
2708
2725
  callback?: string;
2709
2726
  /** Selector specifying which fields to include in a partial response. */
@@ -2730,13 +2747,13 @@ declare namespace gapi.client {
2730
2747
  /** Deletes a Repository. */
2731
2748
  delete(request?: {
2732
2749
  /** V1 error format. */
2733
- '$.xgafv'?: string;
2750
+ '$.xgafv'?: '1' | '2';
2734
2751
  /** OAuth access token. */
2735
2752
  access_token?: string;
2736
2753
  /** Optional. If set to true, and the repository is not found, the request will succeed but no action will be taken on the server. */
2737
2754
  allowMissing?: boolean;
2738
2755
  /** Data format for response. */
2739
- alt?: string;
2756
+ alt?: 'json' | 'media' | 'proto';
2740
2757
  /** JSONP */
2741
2758
  callback?: string;
2742
2759
  /** Selector specifying which fields to include in a partial response. */
@@ -2759,11 +2776,11 @@ declare namespace gapi.client {
2759
2776
  /** Fetches a blob from a repository. */
2760
2777
  fetchBlob(request?: {
2761
2778
  /** V1 error format. */
2762
- '$.xgafv'?: string;
2779
+ '$.xgafv'?: '1' | '2';
2763
2780
  /** OAuth access token. */
2764
2781
  access_token?: string;
2765
2782
  /** Data format for response. */
2766
- alt?: string;
2783
+ alt?: 'json' | 'media' | 'proto';
2767
2784
  /** JSONP */
2768
2785
  callback?: string;
2769
2786
  /** Selector specifying which fields to include in a partial response. */
@@ -2788,11 +2805,11 @@ declare namespace gapi.client {
2788
2805
  /** Fetches a tree from a repository. */
2789
2806
  fetchTree(request?: {
2790
2807
  /** V1 error format. */
2791
- '$.xgafv'?: string;
2808
+ '$.xgafv'?: '1' | '2';
2792
2809
  /** OAuth access token. */
2793
2810
  access_token?: string;
2794
2811
  /** Data format for response. */
2795
- alt?: string;
2812
+ alt?: 'json' | 'media' | 'proto';
2796
2813
  /** JSONP */
2797
2814
  callback?: string;
2798
2815
  /** Selector specifying which fields to include in a partial response. */
@@ -2823,11 +2840,11 @@ declare namespace gapi.client {
2823
2840
  /** Gets metadata of a repository. */
2824
2841
  get(request?: {
2825
2842
  /** V1 error format. */
2826
- '$.xgafv'?: string;
2843
+ '$.xgafv'?: '1' | '2';
2827
2844
  /** OAuth access token. */
2828
2845
  access_token?: string;
2829
2846
  /** Data format for response. */
2830
- alt?: string;
2847
+ alt?: 'json' | 'media' | 'proto';
2831
2848
  /** JSONP */
2832
2849
  callback?: string;
2833
2850
  /** Selector specifying which fields to include in a partial response. */
@@ -2850,11 +2867,11 @@ declare namespace gapi.client {
2850
2867
  /** Get IAM policy for a repository. */
2851
2868
  getIamPolicy(request?: {
2852
2869
  /** V1 error format. */
2853
- '$.xgafv'?: string;
2870
+ '$.xgafv'?: '1' | '2';
2854
2871
  /** OAuth access token. */
2855
2872
  access_token?: string;
2856
2873
  /** Data format for response. */
2857
- alt?: string;
2874
+ alt?: 'json' | 'media' | 'proto';
2858
2875
  /** JSONP */
2859
2876
  callback?: string;
2860
2877
  /** Selector specifying which fields to include in a partial response. */
@@ -2879,11 +2896,11 @@ declare namespace gapi.client {
2879
2896
  /** Lists Repositories in a given project and location. The instance field is required in the query parameter for requests using the securesourcemanager.googleapis.com endpoint. */
2880
2897
  list(request?: {
2881
2898
  /** V1 error format. */
2882
- '$.xgafv'?: string;
2899
+ '$.xgafv'?: '1' | '2';
2883
2900
  /** OAuth access token. */
2884
2901
  access_token?: string;
2885
2902
  /** Data format for response. */
2886
- alt?: string;
2903
+ alt?: 'json' | 'media' | 'proto';
2887
2904
  /** JSONP */
2888
2905
  callback?: string;
2889
2906
  /** Selector specifying which fields to include in a partial response. */
@@ -2914,11 +2931,11 @@ declare namespace gapi.client {
2914
2931
  /** Updates the metadata of a repository. */
2915
2932
  patch(request: {
2916
2933
  /** V1 error format. */
2917
- '$.xgafv'?: string;
2934
+ '$.xgafv'?: '1' | '2';
2918
2935
  /** OAuth access token. */
2919
2936
  access_token?: string;
2920
2937
  /** Data format for response. */
2921
- alt?: string;
2938
+ alt?: 'json' | 'media' | 'proto';
2922
2939
  /** JSONP */
2923
2940
  callback?: string;
2924
2941
  /** Selector specifying which fields to include in a partial response. */
@@ -2947,11 +2964,11 @@ declare namespace gapi.client {
2947
2964
  patch(
2948
2965
  request: {
2949
2966
  /** V1 error format. */
2950
- '$.xgafv'?: string;
2967
+ '$.xgafv'?: '1' | '2';
2951
2968
  /** OAuth access token. */
2952
2969
  access_token?: string;
2953
2970
  /** Data format for response. */
2954
- alt?: string;
2971
+ alt?: 'json' | 'media' | 'proto';
2955
2972
  /** JSONP */
2956
2973
  callback?: string;
2957
2974
  /** Selector specifying which fields to include in a partial response. */
@@ -2981,11 +2998,11 @@ declare namespace gapi.client {
2981
2998
  setIamPolicy(
2982
2999
  request: {
2983
3000
  /** V1 error format. */
2984
- '$.xgafv'?: string;
3001
+ '$.xgafv'?: '1' | '2';
2985
3002
  /** OAuth access token. */
2986
3003
  access_token?: string;
2987
3004
  /** Data format for response. */
2988
- alt?: string;
3005
+ alt?: 'json' | 'media' | 'proto';
2989
3006
  /** JSONP */
2990
3007
  callback?: string;
2991
3008
  /** Selector specifying which fields to include in a partial response. */
@@ -3011,11 +3028,11 @@ declare namespace gapi.client {
3011
3028
  testIamPermissions(
3012
3029
  request: {
3013
3030
  /** V1 error format. */
3014
- '$.xgafv'?: string;
3031
+ '$.xgafv'?: '1' | '2';
3015
3032
  /** OAuth access token. */
3016
3033
  access_token?: string;
3017
3034
  /** Data format for response. */
3018
- alt?: string;
3035
+ alt?: 'json' | 'media' | 'proto';
3019
3036
  /** JSONP */
3020
3037
  callback?: string;
3021
3038
  /** Selector specifying which fields to include in a partial response. */
@@ -3046,11 +3063,11 @@ declare namespace gapi.client {
3046
3063
  /** Gets information about a location. */
3047
3064
  get(request?: {
3048
3065
  /** V1 error format. */
3049
- '$.xgafv'?: string;
3066
+ '$.xgafv'?: '1' | '2';
3050
3067
  /** OAuth access token. */
3051
3068
  access_token?: string;
3052
3069
  /** Data format for response. */
3053
- alt?: string;
3070
+ alt?: 'json' | 'media' | 'proto';
3054
3071
  /** JSONP */
3055
3072
  callback?: string;
3056
3073
  /** Selector specifying which fields to include in a partial response. */
@@ -3073,11 +3090,11 @@ declare namespace gapi.client {
3073
3090
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
3074
3091
  list(request?: {
3075
3092
  /** V1 error format. */
3076
- '$.xgafv'?: string;
3093
+ '$.xgafv'?: '1' | '2';
3077
3094
  /** OAuth access token. */
3078
3095
  access_token?: string;
3079
3096
  /** Data format for response. */
3080
- alt?: string;
3097
+ alt?: 'json' | 'media' | 'proto';
3081
3098
  /** JSONP */
3082
3099
  callback?: string;
3083
3100
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securesourcemanager-v1",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "TypeScript typings for Secure Source Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",