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