@googleapis/youtube 25.0.0 → 26.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v3.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -1261,7 +1261,7 @@ export namespace youtube_v3 {
1261
1261
  */
1262
1262
  canRate?: boolean | null;
1263
1263
  /**
1264
- * The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.
1264
+ * The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel.
1265
1265
  */
1266
1266
  channelId?: string | null;
1267
1267
  /**
@@ -1273,9 +1273,13 @@ export namespace youtube_v3 {
1273
1273
  */
1274
1274
  moderationStatus?: string | null;
1275
1275
  /**
1276
- * The unique id of the parent comment, only set for replies.
1276
+ * The unique id of the top-level comment, only set for replies.
1277
1277
  */
1278
1278
  parentId?: string | null;
1279
+ /**
1280
+ * The ID of the post the comment refers to, if any.
1281
+ */
1282
+ postId?: string | null;
1279
1283
  /**
1280
1284
  * The date and time when the comment was originally published.
1281
1285
  */
@@ -1302,9 +1306,12 @@ export namespace youtube_v3 {
1302
1306
  viewerRating?: string | null;
1303
1307
  }
1304
1308
  /**
1305
- * The id of the author's YouTube channel, if any.
1309
+ * Contains the id of the author's YouTube channel, if any.
1306
1310
  */
1307
1311
  export interface Schema$CommentSnippetAuthorChannelId {
1312
+ /**
1313
+ * The id of the author's YouTube channel.
1314
+ */
1308
1315
  value?: string | null;
1309
1316
  }
1310
1317
  /**
@@ -1381,13 +1388,17 @@ export namespace youtube_v3 {
1381
1388
  */
1382
1389
  canReply?: boolean | null;
1383
1390
  /**
1384
- * The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.
1391
+ * The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If neither video_id nor post_id is set the comments refer to the channel itself.
1385
1392
  */
1386
1393
  channelId?: string | null;
1387
1394
  /**
1388
1395
  * Whether the thread (and therefore all its comments) is visible to all YouTube users.
1389
1396
  */
1390
1397
  isPublic?: boolean | null;
1398
+ /**
1399
+ * The ID of the post the comments refer to, if any.
1400
+ */
1401
+ postId?: string | null;
1391
1402
  /**
1392
1403
  * The top level comment of this thread.
1393
1404
  */
@@ -1397,7 +1408,7 @@ export namespace youtube_v3 {
1397
1408
  */
1398
1409
  totalReplyCount?: number | null;
1399
1410
  /**
1400
- * The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
1411
+ * The ID of the video the comments refer to, if any.
1401
1412
  */
1402
1413
  videoId?: string | null;
1403
1414
  }
@@ -4728,11 +4739,11 @@ export namespace youtube_v3 {
4728
4739
  insert(
4729
4740
  params: Params$Resource$Abusereports$Insert,
4730
4741
  options: StreamMethodOptions
4731
- ): GaxiosPromise<Readable>;
4742
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4732
4743
  insert(
4733
4744
  params?: Params$Resource$Abusereports$Insert,
4734
4745
  options?: MethodOptions
4735
- ): GaxiosPromise<Schema$AbuseReport>;
4746
+ ): Promise<GaxiosResponseWithHTTP2<Schema$AbuseReport>>;
4736
4747
  insert(
4737
4748
  params: Params$Resource$Abusereports$Insert,
4738
4749
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4761,7 +4772,10 @@ export namespace youtube_v3 {
4761
4772
  callback?:
4762
4773
  | BodyResponseCallback<Schema$AbuseReport>
4763
4774
  | BodyResponseCallback<Readable>
4764
- ): void | GaxiosPromise<Schema$AbuseReport> | GaxiosPromise<Readable> {
4775
+ ):
4776
+ | void
4777
+ | Promise<GaxiosResponseWithHTTP2<Schema$AbuseReport>>
4778
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4765
4779
  let params = (paramsOrCallback ||
4766
4780
  {}) as Params$Resource$Abusereports$Insert;
4767
4781
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4836,11 +4850,11 @@ export namespace youtube_v3 {
4836
4850
  list(
4837
4851
  params: Params$Resource$Activities$List,
4838
4852
  options: StreamMethodOptions
4839
- ): GaxiosPromise<Readable>;
4853
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4840
4854
  list(
4841
4855
  params?: Params$Resource$Activities$List,
4842
4856
  options?: MethodOptions
4843
- ): GaxiosPromise<Schema$ActivityListResponse>;
4857
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ActivityListResponse>>;
4844
4858
  list(
4845
4859
  params: Params$Resource$Activities$List,
4846
4860
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4873,8 +4887,8 @@ export namespace youtube_v3 {
4873
4887
  | BodyResponseCallback<Readable>
4874
4888
  ):
4875
4889
  | void
4876
- | GaxiosPromise<Schema$ActivityListResponse>
4877
- | GaxiosPromise<Readable> {
4890
+ | Promise<GaxiosResponseWithHTTP2<Schema$ActivityListResponse>>
4891
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4878
4892
  let params = (paramsOrCallback || {}) as Params$Resource$Activities$List;
4879
4893
  let options = (optionsOrCallback || {}) as MethodOptions;
4880
4894
 
@@ -4974,11 +4988,11 @@ export namespace youtube_v3 {
4974
4988
  delete(
4975
4989
  params: Params$Resource$Captions$Delete,
4976
4990
  options: StreamMethodOptions
4977
- ): GaxiosPromise<Readable>;
4991
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4978
4992
  delete(
4979
4993
  params?: Params$Resource$Captions$Delete,
4980
4994
  options?: MethodOptions
4981
- ): GaxiosPromise<void>;
4995
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
4982
4996
  delete(
4983
4997
  params: Params$Resource$Captions$Delete,
4984
4998
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5005,7 +5019,10 @@ export namespace youtube_v3 {
5005
5019
  | BodyResponseCallback<void>
5006
5020
  | BodyResponseCallback<Readable>,
5007
5021
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
5008
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
5022
+ ):
5023
+ | void
5024
+ | Promise<GaxiosResponseWithHTTP2<void>>
5025
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5009
5026
  let params = (paramsOrCallback || {}) as Params$Resource$Captions$Delete;
5010
5027
  let options = (optionsOrCallback || {}) as MethodOptions;
5011
5028
 
@@ -5059,11 +5076,11 @@ export namespace youtube_v3 {
5059
5076
  download(
5060
5077
  params: Params$Resource$Captions$Download,
5061
5078
  options: StreamMethodOptions
5062
- ): GaxiosPromise<Readable>;
5079
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5063
5080
  download(
5064
5081
  params?: Params$Resource$Captions$Download,
5065
5082
  options?: MethodOptions
5066
- ): GaxiosPromise<unknown>;
5083
+ ): Promise<GaxiosResponseWithHTTP2<unknown>>;
5067
5084
  download(
5068
5085
  params: Params$Resource$Captions$Download,
5069
5086
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5090,7 +5107,10 @@ export namespace youtube_v3 {
5090
5107
  | BodyResponseCallback<unknown>
5091
5108
  | BodyResponseCallback<Readable>,
5092
5109
  callback?: BodyResponseCallback<unknown> | BodyResponseCallback<Readable>
5093
- ): void | GaxiosPromise<unknown> | GaxiosPromise<Readable> {
5110
+ ):
5111
+ | void
5112
+ | Promise<GaxiosResponseWithHTTP2<unknown>>
5113
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5094
5114
  let params = (paramsOrCallback ||
5095
5115
  {}) as Params$Resource$Captions$Download;
5096
5116
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5145,11 +5165,11 @@ export namespace youtube_v3 {
5145
5165
  insert(
5146
5166
  params: Params$Resource$Captions$Insert,
5147
5167
  options: StreamMethodOptions
5148
- ): GaxiosPromise<Readable>;
5168
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5149
5169
  insert(
5150
5170
  params?: Params$Resource$Captions$Insert,
5151
5171
  options?: MethodOptions
5152
- ): GaxiosPromise<Schema$Caption>;
5172
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Caption>>;
5153
5173
  insert(
5154
5174
  params: Params$Resource$Captions$Insert,
5155
5175
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5178,7 +5198,10 @@ export namespace youtube_v3 {
5178
5198
  callback?:
5179
5199
  | BodyResponseCallback<Schema$Caption>
5180
5200
  | BodyResponseCallback<Readable>
5181
- ): void | GaxiosPromise<Schema$Caption> | GaxiosPromise<Readable> {
5201
+ ):
5202
+ | void
5203
+ | Promise<GaxiosResponseWithHTTP2<Schema$Caption>>
5204
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5182
5205
  let params = (paramsOrCallback || {}) as Params$Resource$Captions$Insert;
5183
5206
  let options = (optionsOrCallback || {}) as MethodOptions;
5184
5207
 
@@ -5236,11 +5259,11 @@ export namespace youtube_v3 {
5236
5259
  list(
5237
5260
  params: Params$Resource$Captions$List,
5238
5261
  options: StreamMethodOptions
5239
- ): GaxiosPromise<Readable>;
5262
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5240
5263
  list(
5241
5264
  params?: Params$Resource$Captions$List,
5242
5265
  options?: MethodOptions
5243
- ): GaxiosPromise<Schema$CaptionListResponse>;
5266
+ ): Promise<GaxiosResponseWithHTTP2<Schema$CaptionListResponse>>;
5244
5267
  list(
5245
5268
  params: Params$Resource$Captions$List,
5246
5269
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5271,8 +5294,8 @@ export namespace youtube_v3 {
5271
5294
  | BodyResponseCallback<Readable>
5272
5295
  ):
5273
5296
  | void
5274
- | GaxiosPromise<Schema$CaptionListResponse>
5275
- | GaxiosPromise<Readable> {
5297
+ | Promise<GaxiosResponseWithHTTP2<Schema$CaptionListResponse>>
5298
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5276
5299
  let params = (paramsOrCallback || {}) as Params$Resource$Captions$List;
5277
5300
  let options = (optionsOrCallback || {}) as MethodOptions;
5278
5301
 
@@ -5326,11 +5349,11 @@ export namespace youtube_v3 {
5326
5349
  update(
5327
5350
  params: Params$Resource$Captions$Update,
5328
5351
  options: StreamMethodOptions
5329
- ): GaxiosPromise<Readable>;
5352
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5330
5353
  update(
5331
5354
  params?: Params$Resource$Captions$Update,
5332
5355
  options?: MethodOptions
5333
- ): GaxiosPromise<Schema$Caption>;
5356
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Caption>>;
5334
5357
  update(
5335
5358
  params: Params$Resource$Captions$Update,
5336
5359
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5359,7 +5382,10 @@ export namespace youtube_v3 {
5359
5382
  callback?:
5360
5383
  | BodyResponseCallback<Schema$Caption>
5361
5384
  | BodyResponseCallback<Readable>
5362
- ): void | GaxiosPromise<Schema$Caption> | GaxiosPromise<Readable> {
5385
+ ):
5386
+ | void
5387
+ | Promise<GaxiosResponseWithHTTP2<Schema$Caption>>
5388
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5363
5389
  let params = (paramsOrCallback || {}) as Params$Resource$Captions$Update;
5364
5390
  let options = (optionsOrCallback || {}) as MethodOptions;
5365
5391
 
@@ -5560,11 +5586,11 @@ export namespace youtube_v3 {
5560
5586
  insert(
5561
5587
  params: Params$Resource$Channelbanners$Insert,
5562
5588
  options: StreamMethodOptions
5563
- ): GaxiosPromise<Readable>;
5589
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5564
5590
  insert(
5565
5591
  params?: Params$Resource$Channelbanners$Insert,
5566
5592
  options?: MethodOptions
5567
- ): GaxiosPromise<Schema$ChannelBannerResource>;
5593
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ChannelBannerResource>>;
5568
5594
  insert(
5569
5595
  params: Params$Resource$Channelbanners$Insert,
5570
5596
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5597,8 +5623,8 @@ export namespace youtube_v3 {
5597
5623
  | BodyResponseCallback<Readable>
5598
5624
  ):
5599
5625
  | void
5600
- | GaxiosPromise<Schema$ChannelBannerResource>
5601
- | GaxiosPromise<Readable> {
5626
+ | Promise<GaxiosResponseWithHTTP2<Schema$ChannelBannerResource>>
5627
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5602
5628
  let params = (paramsOrCallback ||
5603
5629
  {}) as Params$Resource$Channelbanners$Insert;
5604
5630
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5699,11 +5725,11 @@ export namespace youtube_v3 {
5699
5725
  list(
5700
5726
  params: Params$Resource$Channels$List,
5701
5727
  options: StreamMethodOptions
5702
- ): GaxiosPromise<Readable>;
5728
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5703
5729
  list(
5704
5730
  params?: Params$Resource$Channels$List,
5705
5731
  options?: MethodOptions
5706
- ): GaxiosPromise<Schema$ChannelListResponse>;
5732
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ChannelListResponse>>;
5707
5733
  list(
5708
5734
  params: Params$Resource$Channels$List,
5709
5735
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5734,8 +5760,8 @@ export namespace youtube_v3 {
5734
5760
  | BodyResponseCallback<Readable>
5735
5761
  ):
5736
5762
  | void
5737
- | GaxiosPromise<Schema$ChannelListResponse>
5738
- | GaxiosPromise<Readable> {
5763
+ | Promise<GaxiosResponseWithHTTP2<Schema$ChannelListResponse>>
5764
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5739
5765
  let params = (paramsOrCallback || {}) as Params$Resource$Channels$List;
5740
5766
  let options = (optionsOrCallback || {}) as MethodOptions;
5741
5767
 
@@ -5789,11 +5815,11 @@ export namespace youtube_v3 {
5789
5815
  update(
5790
5816
  params: Params$Resource$Channels$Update,
5791
5817
  options: StreamMethodOptions
5792
- ): GaxiosPromise<Readable>;
5818
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5793
5819
  update(
5794
5820
  params?: Params$Resource$Channels$Update,
5795
5821
  options?: MethodOptions
5796
- ): GaxiosPromise<Schema$Channel>;
5822
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Channel>>;
5797
5823
  update(
5798
5824
  params: Params$Resource$Channels$Update,
5799
5825
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5822,7 +5848,10 @@ export namespace youtube_v3 {
5822
5848
  callback?:
5823
5849
  | BodyResponseCallback<Schema$Channel>
5824
5850
  | BodyResponseCallback<Readable>
5825
- ): void | GaxiosPromise<Schema$Channel> | GaxiosPromise<Readable> {
5851
+ ):
5852
+ | void
5853
+ | Promise<GaxiosResponseWithHTTP2<Schema$Channel>>
5854
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5826
5855
  let params = (paramsOrCallback || {}) as Params$Resource$Channels$Update;
5827
5856
  let options = (optionsOrCallback || {}) as MethodOptions;
5828
5857
 
@@ -5949,11 +5978,11 @@ export namespace youtube_v3 {
5949
5978
  delete(
5950
5979
  params: Params$Resource$Channelsections$Delete,
5951
5980
  options: StreamMethodOptions
5952
- ): GaxiosPromise<Readable>;
5981
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5953
5982
  delete(
5954
5983
  params?: Params$Resource$Channelsections$Delete,
5955
5984
  options?: MethodOptions
5956
- ): GaxiosPromise<void>;
5985
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
5957
5986
  delete(
5958
5987
  params: Params$Resource$Channelsections$Delete,
5959
5988
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5980,7 +6009,10 @@ export namespace youtube_v3 {
5980
6009
  | BodyResponseCallback<void>
5981
6010
  | BodyResponseCallback<Readable>,
5982
6011
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
5983
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
6012
+ ):
6013
+ | void
6014
+ | Promise<GaxiosResponseWithHTTP2<void>>
6015
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5984
6016
  let params = (paramsOrCallback ||
5985
6017
  {}) as Params$Resource$Channelsections$Delete;
5986
6018
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6035,11 +6067,11 @@ export namespace youtube_v3 {
6035
6067
  insert(
6036
6068
  params: Params$Resource$Channelsections$Insert,
6037
6069
  options: StreamMethodOptions
6038
- ): GaxiosPromise<Readable>;
6070
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6039
6071
  insert(
6040
6072
  params?: Params$Resource$Channelsections$Insert,
6041
6073
  options?: MethodOptions
6042
- ): GaxiosPromise<Schema$ChannelSection>;
6074
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ChannelSection>>;
6043
6075
  insert(
6044
6076
  params: Params$Resource$Channelsections$Insert,
6045
6077
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6068,7 +6100,10 @@ export namespace youtube_v3 {
6068
6100
  callback?:
6069
6101
  | BodyResponseCallback<Schema$ChannelSection>
6070
6102
  | BodyResponseCallback<Readable>
6071
- ): void | GaxiosPromise<Schema$ChannelSection> | GaxiosPromise<Readable> {
6103
+ ):
6104
+ | void
6105
+ | Promise<GaxiosResponseWithHTTP2<Schema$ChannelSection>>
6106
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6072
6107
  let params = (paramsOrCallback ||
6073
6108
  {}) as Params$Resource$Channelsections$Insert;
6074
6109
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6123,11 +6158,11 @@ export namespace youtube_v3 {
6123
6158
  list(
6124
6159
  params: Params$Resource$Channelsections$List,
6125
6160
  options: StreamMethodOptions
6126
- ): GaxiosPromise<Readable>;
6161
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6127
6162
  list(
6128
6163
  params?: Params$Resource$Channelsections$List,
6129
6164
  options?: MethodOptions
6130
- ): GaxiosPromise<Schema$ChannelSectionListResponse>;
6165
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ChannelSectionListResponse>>;
6131
6166
  list(
6132
6167
  params: Params$Resource$Channelsections$List,
6133
6168
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6162,8 +6197,8 @@ export namespace youtube_v3 {
6162
6197
  | BodyResponseCallback<Readable>
6163
6198
  ):
6164
6199
  | void
6165
- | GaxiosPromise<Schema$ChannelSectionListResponse>
6166
- | GaxiosPromise<Readable> {
6200
+ | Promise<GaxiosResponseWithHTTP2<Schema$ChannelSectionListResponse>>
6201
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6167
6202
  let params = (paramsOrCallback ||
6168
6203
  {}) as Params$Resource$Channelsections$List;
6169
6204
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6218,11 +6253,11 @@ export namespace youtube_v3 {
6218
6253
  update(
6219
6254
  params: Params$Resource$Channelsections$Update,
6220
6255
  options: StreamMethodOptions
6221
- ): GaxiosPromise<Readable>;
6256
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6222
6257
  update(
6223
6258
  params?: Params$Resource$Channelsections$Update,
6224
6259
  options?: MethodOptions
6225
- ): GaxiosPromise<Schema$ChannelSection>;
6260
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ChannelSection>>;
6226
6261
  update(
6227
6262
  params: Params$Resource$Channelsections$Update,
6228
6263
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6251,7 +6286,10 @@ export namespace youtube_v3 {
6251
6286
  callback?:
6252
6287
  | BodyResponseCallback<Schema$ChannelSection>
6253
6288
  | BodyResponseCallback<Readable>
6254
- ): void | GaxiosPromise<Schema$ChannelSection> | GaxiosPromise<Readable> {
6289
+ ):
6290
+ | void
6291
+ | Promise<GaxiosResponseWithHTTP2<Schema$ChannelSection>>
6292
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6255
6293
  let params = (paramsOrCallback ||
6256
6294
  {}) as Params$Resource$Channelsections$Update;
6257
6295
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6388,11 +6426,11 @@ export namespace youtube_v3 {
6388
6426
  delete(
6389
6427
  params: Params$Resource$Comments$Delete,
6390
6428
  options: StreamMethodOptions
6391
- ): GaxiosPromise<Readable>;
6429
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6392
6430
  delete(
6393
6431
  params?: Params$Resource$Comments$Delete,
6394
6432
  options?: MethodOptions
6395
- ): GaxiosPromise<void>;
6433
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
6396
6434
  delete(
6397
6435
  params: Params$Resource$Comments$Delete,
6398
6436
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6419,7 +6457,10 @@ export namespace youtube_v3 {
6419
6457
  | BodyResponseCallback<void>
6420
6458
  | BodyResponseCallback<Readable>,
6421
6459
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
6422
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
6460
+ ):
6461
+ | void
6462
+ | Promise<GaxiosResponseWithHTTP2<void>>
6463
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6423
6464
  let params = (paramsOrCallback || {}) as Params$Resource$Comments$Delete;
6424
6465
  let options = (optionsOrCallback || {}) as MethodOptions;
6425
6466
 
@@ -6473,11 +6514,11 @@ export namespace youtube_v3 {
6473
6514
  insert(
6474
6515
  params: Params$Resource$Comments$Insert,
6475
6516
  options: StreamMethodOptions
6476
- ): GaxiosPromise<Readable>;
6517
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6477
6518
  insert(
6478
6519
  params?: Params$Resource$Comments$Insert,
6479
6520
  options?: MethodOptions
6480
- ): GaxiosPromise<Schema$Comment>;
6521
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Comment>>;
6481
6522
  insert(
6482
6523
  params: Params$Resource$Comments$Insert,
6483
6524
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6506,7 +6547,10 @@ export namespace youtube_v3 {
6506
6547
  callback?:
6507
6548
  | BodyResponseCallback<Schema$Comment>
6508
6549
  | BodyResponseCallback<Readable>
6509
- ): void | GaxiosPromise<Schema$Comment> | GaxiosPromise<Readable> {
6550
+ ):
6551
+ | void
6552
+ | Promise<GaxiosResponseWithHTTP2<Schema$Comment>>
6553
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6510
6554
  let params = (paramsOrCallback || {}) as Params$Resource$Comments$Insert;
6511
6555
  let options = (optionsOrCallback || {}) as MethodOptions;
6512
6556
 
@@ -6560,11 +6604,11 @@ export namespace youtube_v3 {
6560
6604
  list(
6561
6605
  params: Params$Resource$Comments$List,
6562
6606
  options: StreamMethodOptions
6563
- ): GaxiosPromise<Readable>;
6607
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6564
6608
  list(
6565
6609
  params?: Params$Resource$Comments$List,
6566
6610
  options?: MethodOptions
6567
- ): GaxiosPromise<Schema$CommentListResponse>;
6611
+ ): Promise<GaxiosResponseWithHTTP2<Schema$CommentListResponse>>;
6568
6612
  list(
6569
6613
  params: Params$Resource$Comments$List,
6570
6614
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6595,8 +6639,8 @@ export namespace youtube_v3 {
6595
6639
  | BodyResponseCallback<Readable>
6596
6640
  ):
6597
6641
  | void
6598
- | GaxiosPromise<Schema$CommentListResponse>
6599
- | GaxiosPromise<Readable> {
6642
+ | Promise<GaxiosResponseWithHTTP2<Schema$CommentListResponse>>
6643
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6600
6644
  let params = (paramsOrCallback || {}) as Params$Resource$Comments$List;
6601
6645
  let options = (optionsOrCallback || {}) as MethodOptions;
6602
6646
 
@@ -6650,11 +6694,11 @@ export namespace youtube_v3 {
6650
6694
  markAsSpam(
6651
6695
  params: Params$Resource$Comments$Markasspam,
6652
6696
  options: StreamMethodOptions
6653
- ): GaxiosPromise<Readable>;
6697
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6654
6698
  markAsSpam(
6655
6699
  params?: Params$Resource$Comments$Markasspam,
6656
6700
  options?: MethodOptions
6657
- ): GaxiosPromise<void>;
6701
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
6658
6702
  markAsSpam(
6659
6703
  params: Params$Resource$Comments$Markasspam,
6660
6704
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6681,7 +6725,10 @@ export namespace youtube_v3 {
6681
6725
  | BodyResponseCallback<void>
6682
6726
  | BodyResponseCallback<Readable>,
6683
6727
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
6684
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
6728
+ ):
6729
+ | void
6730
+ | Promise<GaxiosResponseWithHTTP2<void>>
6731
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6685
6732
  let params = (paramsOrCallback ||
6686
6733
  {}) as Params$Resource$Comments$Markasspam;
6687
6734
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6736,11 +6783,11 @@ export namespace youtube_v3 {
6736
6783
  setModerationStatus(
6737
6784
  params: Params$Resource$Comments$Setmoderationstatus,
6738
6785
  options: StreamMethodOptions
6739
- ): GaxiosPromise<Readable>;
6786
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6740
6787
  setModerationStatus(
6741
6788
  params?: Params$Resource$Comments$Setmoderationstatus,
6742
6789
  options?: MethodOptions
6743
- ): GaxiosPromise<void>;
6790
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
6744
6791
  setModerationStatus(
6745
6792
  params: Params$Resource$Comments$Setmoderationstatus,
6746
6793
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6767,7 +6814,10 @@ export namespace youtube_v3 {
6767
6814
  | BodyResponseCallback<void>
6768
6815
  | BodyResponseCallback<Readable>,
6769
6816
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
6770
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
6817
+ ):
6818
+ | void
6819
+ | Promise<GaxiosResponseWithHTTP2<void>>
6820
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6771
6821
  let params = (paramsOrCallback ||
6772
6822
  {}) as Params$Resource$Comments$Setmoderationstatus;
6773
6823
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6822,11 +6872,11 @@ export namespace youtube_v3 {
6822
6872
  update(
6823
6873
  params: Params$Resource$Comments$Update,
6824
6874
  options: StreamMethodOptions
6825
- ): GaxiosPromise<Readable>;
6875
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6826
6876
  update(
6827
6877
  params?: Params$Resource$Comments$Update,
6828
6878
  options?: MethodOptions
6829
- ): GaxiosPromise<Schema$Comment>;
6879
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Comment>>;
6830
6880
  update(
6831
6881
  params: Params$Resource$Comments$Update,
6832
6882
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6855,7 +6905,10 @@ export namespace youtube_v3 {
6855
6905
  callback?:
6856
6906
  | BodyResponseCallback<Schema$Comment>
6857
6907
  | BodyResponseCallback<Readable>
6858
- ): void | GaxiosPromise<Schema$Comment> | GaxiosPromise<Readable> {
6908
+ ):
6909
+ | void
6910
+ | Promise<GaxiosResponseWithHTTP2<Schema$Comment>>
6911
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6859
6912
  let params = (paramsOrCallback || {}) as Params$Resource$Comments$Update;
6860
6913
  let options = (optionsOrCallback || {}) as MethodOptions;
6861
6914
 
@@ -6993,11 +7046,11 @@ export namespace youtube_v3 {
6993
7046
  insert(
6994
7047
  params: Params$Resource$Commentthreads$Insert,
6995
7048
  options: StreamMethodOptions
6996
- ): GaxiosPromise<Readable>;
7049
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6997
7050
  insert(
6998
7051
  params?: Params$Resource$Commentthreads$Insert,
6999
7052
  options?: MethodOptions
7000
- ): GaxiosPromise<Schema$CommentThread>;
7053
+ ): Promise<GaxiosResponseWithHTTP2<Schema$CommentThread>>;
7001
7054
  insert(
7002
7055
  params: Params$Resource$Commentthreads$Insert,
7003
7056
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7026,7 +7079,10 @@ export namespace youtube_v3 {
7026
7079
  callback?:
7027
7080
  | BodyResponseCallback<Schema$CommentThread>
7028
7081
  | BodyResponseCallback<Readable>
7029
- ): void | GaxiosPromise<Schema$CommentThread> | GaxiosPromise<Readable> {
7082
+ ):
7083
+ | void
7084
+ | Promise<GaxiosResponseWithHTTP2<Schema$CommentThread>>
7085
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7030
7086
  let params = (paramsOrCallback ||
7031
7087
  {}) as Params$Resource$Commentthreads$Insert;
7032
7088
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7081,11 +7137,11 @@ export namespace youtube_v3 {
7081
7137
  list(
7082
7138
  params: Params$Resource$Commentthreads$List,
7083
7139
  options: StreamMethodOptions
7084
- ): GaxiosPromise<Readable>;
7140
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7085
7141
  list(
7086
7142
  params?: Params$Resource$Commentthreads$List,
7087
7143
  options?: MethodOptions
7088
- ): GaxiosPromise<Schema$CommentThreadListResponse>;
7144
+ ): Promise<GaxiosResponseWithHTTP2<Schema$CommentThreadListResponse>>;
7089
7145
  list(
7090
7146
  params: Params$Resource$Commentthreads$List,
7091
7147
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7120,8 +7176,8 @@ export namespace youtube_v3 {
7120
7176
  | BodyResponseCallback<Readable>
7121
7177
  ):
7122
7178
  | void
7123
- | GaxiosPromise<Schema$CommentThreadListResponse>
7124
- | GaxiosPromise<Readable> {
7179
+ | Promise<GaxiosResponseWithHTTP2<Schema$CommentThreadListResponse>>
7180
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7125
7181
  let params = (paramsOrCallback ||
7126
7182
  {}) as Params$Resource$Commentthreads$List;
7127
7183
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7212,6 +7268,10 @@ export namespace youtube_v3 {
7212
7268
  * The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
7213
7269
  */
7214
7270
  part?: string[];
7271
+ /**
7272
+ * Returns the comment threads of the specified post.
7273
+ */
7274
+ postId?: string;
7215
7275
  /**
7216
7276
  * Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
7217
7277
  */
@@ -7243,11 +7303,11 @@ export namespace youtube_v3 {
7243
7303
  list(
7244
7304
  params: Params$Resource$I18nlanguages$List,
7245
7305
  options: StreamMethodOptions
7246
- ): GaxiosPromise<Readable>;
7306
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7247
7307
  list(
7248
7308
  params?: Params$Resource$I18nlanguages$List,
7249
7309
  options?: MethodOptions
7250
- ): GaxiosPromise<Schema$I18nLanguageListResponse>;
7310
+ ): Promise<GaxiosResponseWithHTTP2<Schema$I18nLanguageListResponse>>;
7251
7311
  list(
7252
7312
  params: Params$Resource$I18nlanguages$List,
7253
7313
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7280,8 +7340,8 @@ export namespace youtube_v3 {
7280
7340
  | BodyResponseCallback<Readable>
7281
7341
  ):
7282
7342
  | void
7283
- | GaxiosPromise<Schema$I18nLanguageListResponse>
7284
- | GaxiosPromise<Readable> {
7343
+ | Promise<GaxiosResponseWithHTTP2<Schema$I18nLanguageListResponse>>
7344
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7285
7345
  let params = (paramsOrCallback ||
7286
7346
  {}) as Params$Resource$I18nlanguages$List;
7287
7347
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7355,11 +7415,11 @@ export namespace youtube_v3 {
7355
7415
  list(
7356
7416
  params: Params$Resource$I18nregions$List,
7357
7417
  options: StreamMethodOptions
7358
- ): GaxiosPromise<Readable>;
7418
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7359
7419
  list(
7360
7420
  params?: Params$Resource$I18nregions$List,
7361
7421
  options?: MethodOptions
7362
- ): GaxiosPromise<Schema$I18nRegionListResponse>;
7422
+ ): Promise<GaxiosResponseWithHTTP2<Schema$I18nRegionListResponse>>;
7363
7423
  list(
7364
7424
  params: Params$Resource$I18nregions$List,
7365
7425
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7392,8 +7452,8 @@ export namespace youtube_v3 {
7392
7452
  | BodyResponseCallback<Readable>
7393
7453
  ):
7394
7454
  | void
7395
- | GaxiosPromise<Schema$I18nRegionListResponse>
7396
- | GaxiosPromise<Readable> {
7455
+ | Promise<GaxiosResponseWithHTTP2<Schema$I18nRegionListResponse>>
7456
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7397
7457
  let params = (paramsOrCallback || {}) as Params$Resource$I18nregions$List;
7398
7458
  let options = (optionsOrCallback || {}) as MethodOptions;
7399
7459
 
@@ -7465,11 +7525,11 @@ export namespace youtube_v3 {
7465
7525
  bind(
7466
7526
  params: Params$Resource$Livebroadcasts$Bind,
7467
7527
  options: StreamMethodOptions
7468
- ): GaxiosPromise<Readable>;
7528
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7469
7529
  bind(
7470
7530
  params?: Params$Resource$Livebroadcasts$Bind,
7471
7531
  options?: MethodOptions
7472
- ): GaxiosPromise<Schema$LiveBroadcast>;
7532
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
7473
7533
  bind(
7474
7534
  params: Params$Resource$Livebroadcasts$Bind,
7475
7535
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7498,7 +7558,10 @@ export namespace youtube_v3 {
7498
7558
  callback?:
7499
7559
  | BodyResponseCallback<Schema$LiveBroadcast>
7500
7560
  | BodyResponseCallback<Readable>
7501
- ): void | GaxiosPromise<Schema$LiveBroadcast> | GaxiosPromise<Readable> {
7561
+ ):
7562
+ | void
7563
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>
7564
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7502
7565
  let params = (paramsOrCallback ||
7503
7566
  {}) as Params$Resource$Livebroadcasts$Bind;
7504
7567
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7553,11 +7616,11 @@ export namespace youtube_v3 {
7553
7616
  delete(
7554
7617
  params: Params$Resource$Livebroadcasts$Delete,
7555
7618
  options: StreamMethodOptions
7556
- ): GaxiosPromise<Readable>;
7619
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7557
7620
  delete(
7558
7621
  params?: Params$Resource$Livebroadcasts$Delete,
7559
7622
  options?: MethodOptions
7560
- ): GaxiosPromise<void>;
7623
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
7561
7624
  delete(
7562
7625
  params: Params$Resource$Livebroadcasts$Delete,
7563
7626
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7584,7 +7647,10 @@ export namespace youtube_v3 {
7584
7647
  | BodyResponseCallback<void>
7585
7648
  | BodyResponseCallback<Readable>,
7586
7649
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
7587
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
7650
+ ):
7651
+ | void
7652
+ | Promise<GaxiosResponseWithHTTP2<void>>
7653
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7588
7654
  let params = (paramsOrCallback ||
7589
7655
  {}) as Params$Resource$Livebroadcasts$Delete;
7590
7656
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7639,11 +7705,11 @@ export namespace youtube_v3 {
7639
7705
  insert(
7640
7706
  params: Params$Resource$Livebroadcasts$Insert,
7641
7707
  options: StreamMethodOptions
7642
- ): GaxiosPromise<Readable>;
7708
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7643
7709
  insert(
7644
7710
  params?: Params$Resource$Livebroadcasts$Insert,
7645
7711
  options?: MethodOptions
7646
- ): GaxiosPromise<Schema$LiveBroadcast>;
7712
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
7647
7713
  insert(
7648
7714
  params: Params$Resource$Livebroadcasts$Insert,
7649
7715
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7672,7 +7738,10 @@ export namespace youtube_v3 {
7672
7738
  callback?:
7673
7739
  | BodyResponseCallback<Schema$LiveBroadcast>
7674
7740
  | BodyResponseCallback<Readable>
7675
- ): void | GaxiosPromise<Schema$LiveBroadcast> | GaxiosPromise<Readable> {
7741
+ ):
7742
+ | void
7743
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>
7744
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7676
7745
  let params = (paramsOrCallback ||
7677
7746
  {}) as Params$Resource$Livebroadcasts$Insert;
7678
7747
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7727,11 +7796,11 @@ export namespace youtube_v3 {
7727
7796
  insertCuepoint(
7728
7797
  params: Params$Resource$Livebroadcasts$Insertcuepoint,
7729
7798
  options: StreamMethodOptions
7730
- ): GaxiosPromise<Readable>;
7799
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7731
7800
  insertCuepoint(
7732
7801
  params?: Params$Resource$Livebroadcasts$Insertcuepoint,
7733
7802
  options?: MethodOptions
7734
- ): GaxiosPromise<Schema$Cuepoint>;
7803
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Cuepoint>>;
7735
7804
  insertCuepoint(
7736
7805
  params: Params$Resource$Livebroadcasts$Insertcuepoint,
7737
7806
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7760,7 +7829,10 @@ export namespace youtube_v3 {
7760
7829
  callback?:
7761
7830
  | BodyResponseCallback<Schema$Cuepoint>
7762
7831
  | BodyResponseCallback<Readable>
7763
- ): void | GaxiosPromise<Schema$Cuepoint> | GaxiosPromise<Readable> {
7832
+ ):
7833
+ | void
7834
+ | Promise<GaxiosResponseWithHTTP2<Schema$Cuepoint>>
7835
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7764
7836
  let params = (paramsOrCallback ||
7765
7837
  {}) as Params$Resource$Livebroadcasts$Insertcuepoint;
7766
7838
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7815,11 +7887,11 @@ export namespace youtube_v3 {
7815
7887
  list(
7816
7888
  params: Params$Resource$Livebroadcasts$List,
7817
7889
  options: StreamMethodOptions
7818
- ): GaxiosPromise<Readable>;
7890
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7819
7891
  list(
7820
7892
  params?: Params$Resource$Livebroadcasts$List,
7821
7893
  options?: MethodOptions
7822
- ): GaxiosPromise<Schema$LiveBroadcastListResponse>;
7894
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcastListResponse>>;
7823
7895
  list(
7824
7896
  params: Params$Resource$Livebroadcasts$List,
7825
7897
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7854,8 +7926,8 @@ export namespace youtube_v3 {
7854
7926
  | BodyResponseCallback<Readable>
7855
7927
  ):
7856
7928
  | void
7857
- | GaxiosPromise<Schema$LiveBroadcastListResponse>
7858
- | GaxiosPromise<Readable> {
7929
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcastListResponse>>
7930
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7859
7931
  let params = (paramsOrCallback ||
7860
7932
  {}) as Params$Resource$Livebroadcasts$List;
7861
7933
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7910,11 +7982,11 @@ export namespace youtube_v3 {
7910
7982
  transition(
7911
7983
  params: Params$Resource$Livebroadcasts$Transition,
7912
7984
  options: StreamMethodOptions
7913
- ): GaxiosPromise<Readable>;
7985
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7914
7986
  transition(
7915
7987
  params?: Params$Resource$Livebroadcasts$Transition,
7916
7988
  options?: MethodOptions
7917
- ): GaxiosPromise<Schema$LiveBroadcast>;
7989
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
7918
7990
  transition(
7919
7991
  params: Params$Resource$Livebroadcasts$Transition,
7920
7992
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7943,7 +8015,10 @@ export namespace youtube_v3 {
7943
8015
  callback?:
7944
8016
  | BodyResponseCallback<Schema$LiveBroadcast>
7945
8017
  | BodyResponseCallback<Readable>
7946
- ): void | GaxiosPromise<Schema$LiveBroadcast> | GaxiosPromise<Readable> {
8018
+ ):
8019
+ | void
8020
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>
8021
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7947
8022
  let params = (paramsOrCallback ||
7948
8023
  {}) as Params$Resource$Livebroadcasts$Transition;
7949
8024
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7998,11 +8073,11 @@ export namespace youtube_v3 {
7998
8073
  update(
7999
8074
  params: Params$Resource$Livebroadcasts$Update,
8000
8075
  options: StreamMethodOptions
8001
- ): GaxiosPromise<Readable>;
8076
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8002
8077
  update(
8003
8078
  params?: Params$Resource$Livebroadcasts$Update,
8004
8079
  options?: MethodOptions
8005
- ): GaxiosPromise<Schema$LiveBroadcast>;
8080
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
8006
8081
  update(
8007
8082
  params: Params$Resource$Livebroadcasts$Update,
8008
8083
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8031,7 +8106,10 @@ export namespace youtube_v3 {
8031
8106
  callback?:
8032
8107
  | BodyResponseCallback<Schema$LiveBroadcast>
8033
8108
  | BodyResponseCallback<Readable>
8034
- ): void | GaxiosPromise<Schema$LiveBroadcast> | GaxiosPromise<Readable> {
8109
+ ):
8110
+ | void
8111
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>
8112
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8035
8113
  let params = (paramsOrCallback ||
8036
8114
  {}) as Params$Resource$Livebroadcasts$Update;
8037
8115
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8258,11 +8336,11 @@ export namespace youtube_v3 {
8258
8336
  delete(
8259
8337
  params: Params$Resource$Livechatbans$Delete,
8260
8338
  options: StreamMethodOptions
8261
- ): GaxiosPromise<Readable>;
8339
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8262
8340
  delete(
8263
8341
  params?: Params$Resource$Livechatbans$Delete,
8264
8342
  options?: MethodOptions
8265
- ): GaxiosPromise<void>;
8343
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
8266
8344
  delete(
8267
8345
  params: Params$Resource$Livechatbans$Delete,
8268
8346
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8289,7 +8367,10 @@ export namespace youtube_v3 {
8289
8367
  | BodyResponseCallback<void>
8290
8368
  | BodyResponseCallback<Readable>,
8291
8369
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
8292
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
8370
+ ):
8371
+ | void
8372
+ | Promise<GaxiosResponseWithHTTP2<void>>
8373
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8293
8374
  let params = (paramsOrCallback ||
8294
8375
  {}) as Params$Resource$Livechatbans$Delete;
8295
8376
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8344,11 +8425,11 @@ export namespace youtube_v3 {
8344
8425
  insert(
8345
8426
  params: Params$Resource$Livechatbans$Insert,
8346
8427
  options: StreamMethodOptions
8347
- ): GaxiosPromise<Readable>;
8428
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8348
8429
  insert(
8349
8430
  params?: Params$Resource$Livechatbans$Insert,
8350
8431
  options?: MethodOptions
8351
- ): GaxiosPromise<Schema$LiveChatBan>;
8432
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatBan>>;
8352
8433
  insert(
8353
8434
  params: Params$Resource$Livechatbans$Insert,
8354
8435
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8377,7 +8458,10 @@ export namespace youtube_v3 {
8377
8458
  callback?:
8378
8459
  | BodyResponseCallback<Schema$LiveChatBan>
8379
8460
  | BodyResponseCallback<Readable>
8380
- ): void | GaxiosPromise<Schema$LiveChatBan> | GaxiosPromise<Readable> {
8461
+ ):
8462
+ | void
8463
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveChatBan>>
8464
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8381
8465
  let params = (paramsOrCallback ||
8382
8466
  {}) as Params$Resource$Livechatbans$Insert;
8383
8467
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8459,11 +8543,11 @@ export namespace youtube_v3 {
8459
8543
  delete(
8460
8544
  params: Params$Resource$Livechatmessages$Delete,
8461
8545
  options: StreamMethodOptions
8462
- ): GaxiosPromise<Readable>;
8546
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8463
8547
  delete(
8464
8548
  params?: Params$Resource$Livechatmessages$Delete,
8465
8549
  options?: MethodOptions
8466
- ): GaxiosPromise<void>;
8550
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
8467
8551
  delete(
8468
8552
  params: Params$Resource$Livechatmessages$Delete,
8469
8553
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8490,7 +8574,10 @@ export namespace youtube_v3 {
8490
8574
  | BodyResponseCallback<void>
8491
8575
  | BodyResponseCallback<Readable>,
8492
8576
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
8493
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
8577
+ ):
8578
+ | void
8579
+ | Promise<GaxiosResponseWithHTTP2<void>>
8580
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8494
8581
  let params = (paramsOrCallback ||
8495
8582
  {}) as Params$Resource$Livechatmessages$Delete;
8496
8583
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8545,11 +8632,11 @@ export namespace youtube_v3 {
8545
8632
  insert(
8546
8633
  params: Params$Resource$Livechatmessages$Insert,
8547
8634
  options: StreamMethodOptions
8548
- ): GaxiosPromise<Readable>;
8635
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8549
8636
  insert(
8550
8637
  params?: Params$Resource$Livechatmessages$Insert,
8551
8638
  options?: MethodOptions
8552
- ): GaxiosPromise<Schema$LiveChatMessage>;
8639
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessage>>;
8553
8640
  insert(
8554
8641
  params: Params$Resource$Livechatmessages$Insert,
8555
8642
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8578,7 +8665,10 @@ export namespace youtube_v3 {
8578
8665
  callback?:
8579
8666
  | BodyResponseCallback<Schema$LiveChatMessage>
8580
8667
  | BodyResponseCallback<Readable>
8581
- ): void | GaxiosPromise<Schema$LiveChatMessage> | GaxiosPromise<Readable> {
8668
+ ):
8669
+ | void
8670
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessage>>
8671
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8582
8672
  let params = (paramsOrCallback ||
8583
8673
  {}) as Params$Resource$Livechatmessages$Insert;
8584
8674
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8633,11 +8723,11 @@ export namespace youtube_v3 {
8633
8723
  list(
8634
8724
  params: Params$Resource$Livechatmessages$List,
8635
8725
  options: StreamMethodOptions
8636
- ): GaxiosPromise<Readable>;
8726
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8637
8727
  list(
8638
8728
  params?: Params$Resource$Livechatmessages$List,
8639
8729
  options?: MethodOptions
8640
- ): GaxiosPromise<Schema$LiveChatMessageListResponse>;
8730
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessageListResponse>>;
8641
8731
  list(
8642
8732
  params: Params$Resource$Livechatmessages$List,
8643
8733
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8672,8 +8762,8 @@ export namespace youtube_v3 {
8672
8762
  | BodyResponseCallback<Readable>
8673
8763
  ):
8674
8764
  | void
8675
- | GaxiosPromise<Schema$LiveChatMessageListResponse>
8676
- | GaxiosPromise<Readable> {
8765
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessageListResponse>>
8766
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8677
8767
  let params = (paramsOrCallback ||
8678
8768
  {}) as Params$Resource$Livechatmessages$List;
8679
8769
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8728,11 +8818,11 @@ export namespace youtube_v3 {
8728
8818
  transition(
8729
8819
  params: Params$Resource$Livechatmessages$Transition,
8730
8820
  options: StreamMethodOptions
8731
- ): GaxiosPromise<Readable>;
8821
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8732
8822
  transition(
8733
8823
  params?: Params$Resource$Livechatmessages$Transition,
8734
8824
  options?: MethodOptions
8735
- ): GaxiosPromise<Schema$LiveChatMessage>;
8825
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessage>>;
8736
8826
  transition(
8737
8827
  params: Params$Resource$Livechatmessages$Transition,
8738
8828
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8761,7 +8851,10 @@ export namespace youtube_v3 {
8761
8851
  callback?:
8762
8852
  | BodyResponseCallback<Schema$LiveChatMessage>
8763
8853
  | BodyResponseCallback<Readable>
8764
- ): void | GaxiosPromise<Schema$LiveChatMessage> | GaxiosPromise<Readable> {
8854
+ ):
8855
+ | void
8856
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessage>>
8857
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8765
8858
  let params = (paramsOrCallback ||
8766
8859
  {}) as Params$Resource$Livechatmessages$Transition;
8767
8860
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8881,11 +8974,11 @@ export namespace youtube_v3 {
8881
8974
  delete(
8882
8975
  params: Params$Resource$Livechatmoderators$Delete,
8883
8976
  options: StreamMethodOptions
8884
- ): GaxiosPromise<Readable>;
8977
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8885
8978
  delete(
8886
8979
  params?: Params$Resource$Livechatmoderators$Delete,
8887
8980
  options?: MethodOptions
8888
- ): GaxiosPromise<void>;
8981
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
8889
8982
  delete(
8890
8983
  params: Params$Resource$Livechatmoderators$Delete,
8891
8984
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8912,7 +9005,10 @@ export namespace youtube_v3 {
8912
9005
  | BodyResponseCallback<void>
8913
9006
  | BodyResponseCallback<Readable>,
8914
9007
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
8915
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
9008
+ ):
9009
+ | void
9010
+ | Promise<GaxiosResponseWithHTTP2<void>>
9011
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8916
9012
  let params = (paramsOrCallback ||
8917
9013
  {}) as Params$Resource$Livechatmoderators$Delete;
8918
9014
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8967,11 +9063,11 @@ export namespace youtube_v3 {
8967
9063
  insert(
8968
9064
  params: Params$Resource$Livechatmoderators$Insert,
8969
9065
  options: StreamMethodOptions
8970
- ): GaxiosPromise<Readable>;
9066
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8971
9067
  insert(
8972
9068
  params?: Params$Resource$Livechatmoderators$Insert,
8973
9069
  options?: MethodOptions
8974
- ): GaxiosPromise<Schema$LiveChatModerator>;
9070
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatModerator>>;
8975
9071
  insert(
8976
9072
  params: Params$Resource$Livechatmoderators$Insert,
8977
9073
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9002,8 +9098,8 @@ export namespace youtube_v3 {
9002
9098
  | BodyResponseCallback<Readable>
9003
9099
  ):
9004
9100
  | void
9005
- | GaxiosPromise<Schema$LiveChatModerator>
9006
- | GaxiosPromise<Readable> {
9101
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveChatModerator>>
9102
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9007
9103
  let params = (paramsOrCallback ||
9008
9104
  {}) as Params$Resource$Livechatmoderators$Insert;
9009
9105
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9058,11 +9154,11 @@ export namespace youtube_v3 {
9058
9154
  list(
9059
9155
  params: Params$Resource$Livechatmoderators$List,
9060
9156
  options: StreamMethodOptions
9061
- ): GaxiosPromise<Readable>;
9157
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9062
9158
  list(
9063
9159
  params?: Params$Resource$Livechatmoderators$List,
9064
9160
  options?: MethodOptions
9065
- ): GaxiosPromise<Schema$LiveChatModeratorListResponse>;
9161
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatModeratorListResponse>>;
9066
9162
  list(
9067
9163
  params: Params$Resource$Livechatmoderators$List,
9068
9164
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9097,8 +9193,8 @@ export namespace youtube_v3 {
9097
9193
  | BodyResponseCallback<Readable>
9098
9194
  ):
9099
9195
  | void
9100
- | GaxiosPromise<Schema$LiveChatModeratorListResponse>
9101
- | GaxiosPromise<Readable> {
9196
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveChatModeratorListResponse>>
9197
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9102
9198
  let params = (paramsOrCallback ||
9103
9199
  {}) as Params$Resource$Livechatmoderators$List;
9104
9200
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9201,11 +9297,11 @@ export namespace youtube_v3 {
9201
9297
  delete(
9202
9298
  params: Params$Resource$Livestreams$Delete,
9203
9299
  options: StreamMethodOptions
9204
- ): GaxiosPromise<Readable>;
9300
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9205
9301
  delete(
9206
9302
  params?: Params$Resource$Livestreams$Delete,
9207
9303
  options?: MethodOptions
9208
- ): GaxiosPromise<void>;
9304
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
9209
9305
  delete(
9210
9306
  params: Params$Resource$Livestreams$Delete,
9211
9307
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9232,7 +9328,10 @@ export namespace youtube_v3 {
9232
9328
  | BodyResponseCallback<void>
9233
9329
  | BodyResponseCallback<Readable>,
9234
9330
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
9235
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
9331
+ ):
9332
+ | void
9333
+ | Promise<GaxiosResponseWithHTTP2<void>>
9334
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9236
9335
  let params = (paramsOrCallback ||
9237
9336
  {}) as Params$Resource$Livestreams$Delete;
9238
9337
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9287,11 +9386,11 @@ export namespace youtube_v3 {
9287
9386
  insert(
9288
9387
  params: Params$Resource$Livestreams$Insert,
9289
9388
  options: StreamMethodOptions
9290
- ): GaxiosPromise<Readable>;
9389
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9291
9390
  insert(
9292
9391
  params?: Params$Resource$Livestreams$Insert,
9293
9392
  options?: MethodOptions
9294
- ): GaxiosPromise<Schema$LiveStream>;
9393
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveStream>>;
9295
9394
  insert(
9296
9395
  params: Params$Resource$Livestreams$Insert,
9297
9396
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9320,7 +9419,10 @@ export namespace youtube_v3 {
9320
9419
  callback?:
9321
9420
  | BodyResponseCallback<Schema$LiveStream>
9322
9421
  | BodyResponseCallback<Readable>
9323
- ): void | GaxiosPromise<Schema$LiveStream> | GaxiosPromise<Readable> {
9422
+ ):
9423
+ | void
9424
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveStream>>
9425
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9324
9426
  let params = (paramsOrCallback ||
9325
9427
  {}) as Params$Resource$Livestreams$Insert;
9326
9428
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9375,11 +9477,11 @@ export namespace youtube_v3 {
9375
9477
  list(
9376
9478
  params: Params$Resource$Livestreams$List,
9377
9479
  options: StreamMethodOptions
9378
- ): GaxiosPromise<Readable>;
9480
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9379
9481
  list(
9380
9482
  params?: Params$Resource$Livestreams$List,
9381
9483
  options?: MethodOptions
9382
- ): GaxiosPromise<Schema$LiveStreamListResponse>;
9484
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveStreamListResponse>>;
9383
9485
  list(
9384
9486
  params: Params$Resource$Livestreams$List,
9385
9487
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9412,8 +9514,8 @@ export namespace youtube_v3 {
9412
9514
  | BodyResponseCallback<Readable>
9413
9515
  ):
9414
9516
  | void
9415
- | GaxiosPromise<Schema$LiveStreamListResponse>
9416
- | GaxiosPromise<Readable> {
9517
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveStreamListResponse>>
9518
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9417
9519
  let params = (paramsOrCallback || {}) as Params$Resource$Livestreams$List;
9418
9520
  let options = (optionsOrCallback || {}) as MethodOptions;
9419
9521
 
@@ -9467,11 +9569,11 @@ export namespace youtube_v3 {
9467
9569
  update(
9468
9570
  params: Params$Resource$Livestreams$Update,
9469
9571
  options: StreamMethodOptions
9470
- ): GaxiosPromise<Readable>;
9572
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9471
9573
  update(
9472
9574
  params?: Params$Resource$Livestreams$Update,
9473
9575
  options?: MethodOptions
9474
- ): GaxiosPromise<Schema$LiveStream>;
9576
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LiveStream>>;
9475
9577
  update(
9476
9578
  params: Params$Resource$Livestreams$Update,
9477
9579
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9500,7 +9602,10 @@ export namespace youtube_v3 {
9500
9602
  callback?:
9501
9603
  | BodyResponseCallback<Schema$LiveStream>
9502
9604
  | BodyResponseCallback<Readable>
9503
- ): void | GaxiosPromise<Schema$LiveStream> | GaxiosPromise<Readable> {
9605
+ ):
9606
+ | void
9607
+ | Promise<GaxiosResponseWithHTTP2<Schema$LiveStream>>
9608
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9504
9609
  let params = (paramsOrCallback ||
9505
9610
  {}) as Params$Resource$Livestreams$Update;
9506
9611
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9648,11 +9753,11 @@ export namespace youtube_v3 {
9648
9753
  list(
9649
9754
  params: Params$Resource$Members$List,
9650
9755
  options: StreamMethodOptions
9651
- ): GaxiosPromise<Readable>;
9756
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9652
9757
  list(
9653
9758
  params?: Params$Resource$Members$List,
9654
9759
  options?: MethodOptions
9655
- ): GaxiosPromise<Schema$MemberListResponse>;
9760
+ ): Promise<GaxiosResponseWithHTTP2<Schema$MemberListResponse>>;
9656
9761
  list(
9657
9762
  params: Params$Resource$Members$List,
9658
9763
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9683,8 +9788,8 @@ export namespace youtube_v3 {
9683
9788
  | BodyResponseCallback<Readable>
9684
9789
  ):
9685
9790
  | void
9686
- | GaxiosPromise<Schema$MemberListResponse>
9687
- | GaxiosPromise<Readable> {
9791
+ | Promise<GaxiosResponseWithHTTP2<Schema$MemberListResponse>>
9792
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9688
9793
  let params = (paramsOrCallback || {}) as Params$Resource$Members$List;
9689
9794
  let options = (optionsOrCallback || {}) as MethodOptions;
9690
9795
 
@@ -9772,11 +9877,11 @@ export namespace youtube_v3 {
9772
9877
  list(
9773
9878
  params: Params$Resource$Membershipslevels$List,
9774
9879
  options: StreamMethodOptions
9775
- ): GaxiosPromise<Readable>;
9880
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9776
9881
  list(
9777
9882
  params?: Params$Resource$Membershipslevels$List,
9778
9883
  options?: MethodOptions
9779
- ): GaxiosPromise<Schema$MembershipsLevelListResponse>;
9884
+ ): Promise<GaxiosResponseWithHTTP2<Schema$MembershipsLevelListResponse>>;
9780
9885
  list(
9781
9886
  params: Params$Resource$Membershipslevels$List,
9782
9887
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9811,8 +9916,8 @@ export namespace youtube_v3 {
9811
9916
  | BodyResponseCallback<Readable>
9812
9917
  ):
9813
9918
  | void
9814
- | GaxiosPromise<Schema$MembershipsLevelListResponse>
9815
- | GaxiosPromise<Readable> {
9919
+ | Promise<GaxiosResponseWithHTTP2<Schema$MembershipsLevelListResponse>>
9920
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9816
9921
  let params = (paramsOrCallback ||
9817
9922
  {}) as Params$Resource$Membershipslevels$List;
9818
9923
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9884,11 +9989,11 @@ export namespace youtube_v3 {
9884
9989
  delete(
9885
9990
  params: Params$Resource$Playlistimages$Delete,
9886
9991
  options: StreamMethodOptions
9887
- ): GaxiosPromise<Readable>;
9992
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9888
9993
  delete(
9889
9994
  params?: Params$Resource$Playlistimages$Delete,
9890
9995
  options?: MethodOptions
9891
- ): GaxiosPromise<void>;
9996
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
9892
9997
  delete(
9893
9998
  params: Params$Resource$Playlistimages$Delete,
9894
9999
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9915,7 +10020,10 @@ export namespace youtube_v3 {
9915
10020
  | BodyResponseCallback<void>
9916
10021
  | BodyResponseCallback<Readable>,
9917
10022
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
9918
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
10023
+ ):
10024
+ | void
10025
+ | Promise<GaxiosResponseWithHTTP2<void>>
10026
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9919
10027
  let params = (paramsOrCallback ||
9920
10028
  {}) as Params$Resource$Playlistimages$Delete;
9921
10029
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9970,11 +10078,11 @@ export namespace youtube_v3 {
9970
10078
  insert(
9971
10079
  params: Params$Resource$Playlistimages$Insert,
9972
10080
  options: StreamMethodOptions
9973
- ): GaxiosPromise<Readable>;
10081
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9974
10082
  insert(
9975
10083
  params?: Params$Resource$Playlistimages$Insert,
9976
10084
  options?: MethodOptions
9977
- ): GaxiosPromise<Schema$PlaylistImage>;
10085
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImage>>;
9978
10086
  insert(
9979
10087
  params: Params$Resource$Playlistimages$Insert,
9980
10088
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10003,7 +10111,10 @@ export namespace youtube_v3 {
10003
10111
  callback?:
10004
10112
  | BodyResponseCallback<Schema$PlaylistImage>
10005
10113
  | BodyResponseCallback<Readable>
10006
- ): void | GaxiosPromise<Schema$PlaylistImage> | GaxiosPromise<Readable> {
10114
+ ):
10115
+ | void
10116
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImage>>
10117
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10007
10118
  let params = (paramsOrCallback ||
10008
10119
  {}) as Params$Resource$Playlistimages$Insert;
10009
10120
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10062,11 +10173,11 @@ export namespace youtube_v3 {
10062
10173
  list(
10063
10174
  params: Params$Resource$Playlistimages$List,
10064
10175
  options: StreamMethodOptions
10065
- ): GaxiosPromise<Readable>;
10176
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10066
10177
  list(
10067
10178
  params?: Params$Resource$Playlistimages$List,
10068
10179
  options?: MethodOptions
10069
- ): GaxiosPromise<Schema$PlaylistImageListResponse>;
10180
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImageListResponse>>;
10070
10181
  list(
10071
10182
  params: Params$Resource$Playlistimages$List,
10072
10183
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10101,8 +10212,8 @@ export namespace youtube_v3 {
10101
10212
  | BodyResponseCallback<Readable>
10102
10213
  ):
10103
10214
  | void
10104
- | GaxiosPromise<Schema$PlaylistImageListResponse>
10105
- | GaxiosPromise<Readable> {
10215
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImageListResponse>>
10216
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10106
10217
  let params = (paramsOrCallback ||
10107
10218
  {}) as Params$Resource$Playlistimages$List;
10108
10219
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10157,11 +10268,11 @@ export namespace youtube_v3 {
10157
10268
  update(
10158
10269
  params: Params$Resource$Playlistimages$Update,
10159
10270
  options: StreamMethodOptions
10160
- ): GaxiosPromise<Readable>;
10271
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10161
10272
  update(
10162
10273
  params?: Params$Resource$Playlistimages$Update,
10163
10274
  options?: MethodOptions
10164
- ): GaxiosPromise<Schema$PlaylistImage>;
10275
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImage>>;
10165
10276
  update(
10166
10277
  params: Params$Resource$Playlistimages$Update,
10167
10278
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10190,7 +10301,10 @@ export namespace youtube_v3 {
10190
10301
  callback?:
10191
10302
  | BodyResponseCallback<Schema$PlaylistImage>
10192
10303
  | BodyResponseCallback<Readable>
10193
- ): void | GaxiosPromise<Schema$PlaylistImage> | GaxiosPromise<Readable> {
10304
+ ):
10305
+ | void
10306
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImage>>
10307
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10194
10308
  let params = (paramsOrCallback ||
10195
10309
  {}) as Params$Resource$Playlistimages$Update;
10196
10310
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10361,11 +10475,11 @@ export namespace youtube_v3 {
10361
10475
  delete(
10362
10476
  params: Params$Resource$Playlistitems$Delete,
10363
10477
  options: StreamMethodOptions
10364
- ): GaxiosPromise<Readable>;
10478
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10365
10479
  delete(
10366
10480
  params?: Params$Resource$Playlistitems$Delete,
10367
10481
  options?: MethodOptions
10368
- ): GaxiosPromise<void>;
10482
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
10369
10483
  delete(
10370
10484
  params: Params$Resource$Playlistitems$Delete,
10371
10485
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10392,7 +10506,10 @@ export namespace youtube_v3 {
10392
10506
  | BodyResponseCallback<void>
10393
10507
  | BodyResponseCallback<Readable>,
10394
10508
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
10395
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
10509
+ ):
10510
+ | void
10511
+ | Promise<GaxiosResponseWithHTTP2<void>>
10512
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10396
10513
  let params = (paramsOrCallback ||
10397
10514
  {}) as Params$Resource$Playlistitems$Delete;
10398
10515
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10447,11 +10564,11 @@ export namespace youtube_v3 {
10447
10564
  insert(
10448
10565
  params: Params$Resource$Playlistitems$Insert,
10449
10566
  options: StreamMethodOptions
10450
- ): GaxiosPromise<Readable>;
10567
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10451
10568
  insert(
10452
10569
  params?: Params$Resource$Playlistitems$Insert,
10453
10570
  options?: MethodOptions
10454
- ): GaxiosPromise<Schema$PlaylistItem>;
10571
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItem>>;
10455
10572
  insert(
10456
10573
  params: Params$Resource$Playlistitems$Insert,
10457
10574
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10480,7 +10597,10 @@ export namespace youtube_v3 {
10480
10597
  callback?:
10481
10598
  | BodyResponseCallback<Schema$PlaylistItem>
10482
10599
  | BodyResponseCallback<Readable>
10483
- ): void | GaxiosPromise<Schema$PlaylistItem> | GaxiosPromise<Readable> {
10600
+ ):
10601
+ | void
10602
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItem>>
10603
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10484
10604
  let params = (paramsOrCallback ||
10485
10605
  {}) as Params$Resource$Playlistitems$Insert;
10486
10606
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10535,11 +10655,11 @@ export namespace youtube_v3 {
10535
10655
  list(
10536
10656
  params: Params$Resource$Playlistitems$List,
10537
10657
  options: StreamMethodOptions
10538
- ): GaxiosPromise<Readable>;
10658
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10539
10659
  list(
10540
10660
  params?: Params$Resource$Playlistitems$List,
10541
10661
  options?: MethodOptions
10542
- ): GaxiosPromise<Schema$PlaylistItemListResponse>;
10662
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItemListResponse>>;
10543
10663
  list(
10544
10664
  params: Params$Resource$Playlistitems$List,
10545
10665
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10572,8 +10692,8 @@ export namespace youtube_v3 {
10572
10692
  | BodyResponseCallback<Readable>
10573
10693
  ):
10574
10694
  | void
10575
- | GaxiosPromise<Schema$PlaylistItemListResponse>
10576
- | GaxiosPromise<Readable> {
10695
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItemListResponse>>
10696
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10577
10697
  let params = (paramsOrCallback ||
10578
10698
  {}) as Params$Resource$Playlistitems$List;
10579
10699
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10628,11 +10748,11 @@ export namespace youtube_v3 {
10628
10748
  update(
10629
10749
  params: Params$Resource$Playlistitems$Update,
10630
10750
  options: StreamMethodOptions
10631
- ): GaxiosPromise<Readable>;
10751
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10632
10752
  update(
10633
10753
  params?: Params$Resource$Playlistitems$Update,
10634
10754
  options?: MethodOptions
10635
- ): GaxiosPromise<Schema$PlaylistItem>;
10755
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItem>>;
10636
10756
  update(
10637
10757
  params: Params$Resource$Playlistitems$Update,
10638
10758
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10661,7 +10781,10 @@ export namespace youtube_v3 {
10661
10781
  callback?:
10662
10782
  | BodyResponseCallback<Schema$PlaylistItem>
10663
10783
  | BodyResponseCallback<Readable>
10664
- ): void | GaxiosPromise<Schema$PlaylistItem> | GaxiosPromise<Readable> {
10784
+ ):
10785
+ | void
10786
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItem>>
10787
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10665
10788
  let params = (paramsOrCallback ||
10666
10789
  {}) as Params$Resource$Playlistitems$Update;
10667
10790
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10798,11 +10921,11 @@ export namespace youtube_v3 {
10798
10921
  delete(
10799
10922
  params: Params$Resource$Playlists$Delete,
10800
10923
  options: StreamMethodOptions
10801
- ): GaxiosPromise<Readable>;
10924
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10802
10925
  delete(
10803
10926
  params?: Params$Resource$Playlists$Delete,
10804
10927
  options?: MethodOptions
10805
- ): GaxiosPromise<void>;
10928
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
10806
10929
  delete(
10807
10930
  params: Params$Resource$Playlists$Delete,
10808
10931
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10829,7 +10952,10 @@ export namespace youtube_v3 {
10829
10952
  | BodyResponseCallback<void>
10830
10953
  | BodyResponseCallback<Readable>,
10831
10954
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
10832
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
10955
+ ):
10956
+ | void
10957
+ | Promise<GaxiosResponseWithHTTP2<void>>
10958
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10833
10959
  let params = (paramsOrCallback || {}) as Params$Resource$Playlists$Delete;
10834
10960
  let options = (optionsOrCallback || {}) as MethodOptions;
10835
10961
 
@@ -10883,11 +11009,11 @@ export namespace youtube_v3 {
10883
11009
  insert(
10884
11010
  params: Params$Resource$Playlists$Insert,
10885
11011
  options: StreamMethodOptions
10886
- ): GaxiosPromise<Readable>;
11012
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10887
11013
  insert(
10888
11014
  params?: Params$Resource$Playlists$Insert,
10889
11015
  options?: MethodOptions
10890
- ): GaxiosPromise<Schema$Playlist>;
11016
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Playlist>>;
10891
11017
  insert(
10892
11018
  params: Params$Resource$Playlists$Insert,
10893
11019
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10916,7 +11042,10 @@ export namespace youtube_v3 {
10916
11042
  callback?:
10917
11043
  | BodyResponseCallback<Schema$Playlist>
10918
11044
  | BodyResponseCallback<Readable>
10919
- ): void | GaxiosPromise<Schema$Playlist> | GaxiosPromise<Readable> {
11045
+ ):
11046
+ | void
11047
+ | Promise<GaxiosResponseWithHTTP2<Schema$Playlist>>
11048
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10920
11049
  let params = (paramsOrCallback || {}) as Params$Resource$Playlists$Insert;
10921
11050
  let options = (optionsOrCallback || {}) as MethodOptions;
10922
11051
 
@@ -10970,11 +11099,11 @@ export namespace youtube_v3 {
10970
11099
  list(
10971
11100
  params: Params$Resource$Playlists$List,
10972
11101
  options: StreamMethodOptions
10973
- ): GaxiosPromise<Readable>;
11102
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10974
11103
  list(
10975
11104
  params?: Params$Resource$Playlists$List,
10976
11105
  options?: MethodOptions
10977
- ): GaxiosPromise<Schema$PlaylistListResponse>;
11106
+ ): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistListResponse>>;
10978
11107
  list(
10979
11108
  params: Params$Resource$Playlists$List,
10980
11109
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11007,8 +11136,8 @@ export namespace youtube_v3 {
11007
11136
  | BodyResponseCallback<Readable>
11008
11137
  ):
11009
11138
  | void
11010
- | GaxiosPromise<Schema$PlaylistListResponse>
11011
- | GaxiosPromise<Readable> {
11139
+ | Promise<GaxiosResponseWithHTTP2<Schema$PlaylistListResponse>>
11140
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11012
11141
  let params = (paramsOrCallback || {}) as Params$Resource$Playlists$List;
11013
11142
  let options = (optionsOrCallback || {}) as MethodOptions;
11014
11143
 
@@ -11062,11 +11191,11 @@ export namespace youtube_v3 {
11062
11191
  update(
11063
11192
  params: Params$Resource$Playlists$Update,
11064
11193
  options: StreamMethodOptions
11065
- ): GaxiosPromise<Readable>;
11194
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11066
11195
  update(
11067
11196
  params?: Params$Resource$Playlists$Update,
11068
11197
  options?: MethodOptions
11069
- ): GaxiosPromise<Schema$Playlist>;
11198
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Playlist>>;
11070
11199
  update(
11071
11200
  params: Params$Resource$Playlists$Update,
11072
11201
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11095,7 +11224,10 @@ export namespace youtube_v3 {
11095
11224
  callback?:
11096
11225
  | BodyResponseCallback<Schema$Playlist>
11097
11226
  | BodyResponseCallback<Readable>
11098
- ): void | GaxiosPromise<Schema$Playlist> | GaxiosPromise<Readable> {
11227
+ ):
11228
+ | void
11229
+ | Promise<GaxiosResponseWithHTTP2<Schema$Playlist>>
11230
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11099
11231
  let params = (paramsOrCallback || {}) as Params$Resource$Playlists$Update;
11100
11232
  let options = (optionsOrCallback || {}) as MethodOptions;
11101
11233
 
@@ -11239,11 +11371,11 @@ export namespace youtube_v3 {
11239
11371
  list(
11240
11372
  params: Params$Resource$Search$List,
11241
11373
  options: StreamMethodOptions
11242
- ): GaxiosPromise<Readable>;
11374
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11243
11375
  list(
11244
11376
  params?: Params$Resource$Search$List,
11245
11377
  options?: MethodOptions
11246
- ): GaxiosPromise<Schema$SearchListResponse>;
11378
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SearchListResponse>>;
11247
11379
  list(
11248
11380
  params: Params$Resource$Search$List,
11249
11381
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11274,8 +11406,8 @@ export namespace youtube_v3 {
11274
11406
  | BodyResponseCallback<Readable>
11275
11407
  ):
11276
11408
  | void
11277
- | GaxiosPromise<Schema$SearchListResponse>
11278
- | GaxiosPromise<Readable> {
11409
+ | Promise<GaxiosResponseWithHTTP2<Schema$SearchListResponse>>
11410
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11279
11411
  let params = (paramsOrCallback || {}) as Params$Resource$Search$List;
11280
11412
  let options = (optionsOrCallback || {}) as MethodOptions;
11281
11413
 
@@ -11460,11 +11592,11 @@ export namespace youtube_v3 {
11460
11592
  delete(
11461
11593
  params: Params$Resource$Subscriptions$Delete,
11462
11594
  options: StreamMethodOptions
11463
- ): GaxiosPromise<Readable>;
11595
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11464
11596
  delete(
11465
11597
  params?: Params$Resource$Subscriptions$Delete,
11466
11598
  options?: MethodOptions
11467
- ): GaxiosPromise<void>;
11599
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
11468
11600
  delete(
11469
11601
  params: Params$Resource$Subscriptions$Delete,
11470
11602
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11491,7 +11623,10 @@ export namespace youtube_v3 {
11491
11623
  | BodyResponseCallback<void>
11492
11624
  | BodyResponseCallback<Readable>,
11493
11625
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
11494
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
11626
+ ):
11627
+ | void
11628
+ | Promise<GaxiosResponseWithHTTP2<void>>
11629
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11495
11630
  let params = (paramsOrCallback ||
11496
11631
  {}) as Params$Resource$Subscriptions$Delete;
11497
11632
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11546,11 +11681,11 @@ export namespace youtube_v3 {
11546
11681
  insert(
11547
11682
  params: Params$Resource$Subscriptions$Insert,
11548
11683
  options: StreamMethodOptions
11549
- ): GaxiosPromise<Readable>;
11684
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11550
11685
  insert(
11551
11686
  params?: Params$Resource$Subscriptions$Insert,
11552
11687
  options?: MethodOptions
11553
- ): GaxiosPromise<Schema$Subscription>;
11688
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>;
11554
11689
  insert(
11555
11690
  params: Params$Resource$Subscriptions$Insert,
11556
11691
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11579,7 +11714,10 @@ export namespace youtube_v3 {
11579
11714
  callback?:
11580
11715
  | BodyResponseCallback<Schema$Subscription>
11581
11716
  | BodyResponseCallback<Readable>
11582
- ): void | GaxiosPromise<Schema$Subscription> | GaxiosPromise<Readable> {
11717
+ ):
11718
+ | void
11719
+ | Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>
11720
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11583
11721
  let params = (paramsOrCallback ||
11584
11722
  {}) as Params$Resource$Subscriptions$Insert;
11585
11723
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11634,11 +11772,11 @@ export namespace youtube_v3 {
11634
11772
  list(
11635
11773
  params: Params$Resource$Subscriptions$List,
11636
11774
  options: StreamMethodOptions
11637
- ): GaxiosPromise<Readable>;
11775
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11638
11776
  list(
11639
11777
  params?: Params$Resource$Subscriptions$List,
11640
11778
  options?: MethodOptions
11641
- ): GaxiosPromise<Schema$SubscriptionListResponse>;
11779
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SubscriptionListResponse>>;
11642
11780
  list(
11643
11781
  params: Params$Resource$Subscriptions$List,
11644
11782
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11671,8 +11809,8 @@ export namespace youtube_v3 {
11671
11809
  | BodyResponseCallback<Readable>
11672
11810
  ):
11673
11811
  | void
11674
- | GaxiosPromise<Schema$SubscriptionListResponse>
11675
- | GaxiosPromise<Readable> {
11812
+ | Promise<GaxiosResponseWithHTTP2<Schema$SubscriptionListResponse>>
11813
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11676
11814
  let params = (paramsOrCallback ||
11677
11815
  {}) as Params$Resource$Subscriptions$List;
11678
11816
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11805,11 +11943,11 @@ export namespace youtube_v3 {
11805
11943
  list(
11806
11944
  params: Params$Resource$Superchatevents$List,
11807
11945
  options: StreamMethodOptions
11808
- ): GaxiosPromise<Readable>;
11946
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11809
11947
  list(
11810
11948
  params?: Params$Resource$Superchatevents$List,
11811
11949
  options?: MethodOptions
11812
- ): GaxiosPromise<Schema$SuperChatEventListResponse>;
11950
+ ): Promise<GaxiosResponseWithHTTP2<Schema$SuperChatEventListResponse>>;
11813
11951
  list(
11814
11952
  params: Params$Resource$Superchatevents$List,
11815
11953
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11844,8 +11982,8 @@ export namespace youtube_v3 {
11844
11982
  | BodyResponseCallback<Readable>
11845
11983
  ):
11846
11984
  | void
11847
- | GaxiosPromise<Schema$SuperChatEventListResponse>
11848
- | GaxiosPromise<Readable> {
11985
+ | Promise<GaxiosResponseWithHTTP2<Schema$SuperChatEventListResponse>>
11986
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11849
11987
  let params = (paramsOrCallback ||
11850
11988
  {}) as Params$Resource$Superchatevents$List;
11851
11989
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -11927,11 +12065,11 @@ export namespace youtube_v3 {
11927
12065
  insert(
11928
12066
  params: Params$Resource$Tests$Insert,
11929
12067
  options: StreamMethodOptions
11930
- ): GaxiosPromise<Readable>;
12068
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
11931
12069
  insert(
11932
12070
  params?: Params$Resource$Tests$Insert,
11933
12071
  options?: MethodOptions
11934
- ): GaxiosPromise<Schema$TestItem>;
12072
+ ): Promise<GaxiosResponseWithHTTP2<Schema$TestItem>>;
11935
12073
  insert(
11936
12074
  params: Params$Resource$Tests$Insert,
11937
12075
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -11960,7 +12098,10 @@ export namespace youtube_v3 {
11960
12098
  callback?:
11961
12099
  | BodyResponseCallback<Schema$TestItem>
11962
12100
  | BodyResponseCallback<Readable>
11963
- ): void | GaxiosPromise<Schema$TestItem> | GaxiosPromise<Readable> {
12101
+ ):
12102
+ | void
12103
+ | Promise<GaxiosResponseWithHTTP2<Schema$TestItem>>
12104
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
11964
12105
  let params = (paramsOrCallback || {}) as Params$Resource$Tests$Insert;
11965
12106
  let options = (optionsOrCallback || {}) as MethodOptions;
11966
12107
 
@@ -12034,11 +12175,11 @@ export namespace youtube_v3 {
12034
12175
  delete(
12035
12176
  params: Params$Resource$Thirdpartylinks$Delete,
12036
12177
  options: StreamMethodOptions
12037
- ): GaxiosPromise<Readable>;
12178
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12038
12179
  delete(
12039
12180
  params?: Params$Resource$Thirdpartylinks$Delete,
12040
12181
  options?: MethodOptions
12041
- ): GaxiosPromise<void>;
12182
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
12042
12183
  delete(
12043
12184
  params: Params$Resource$Thirdpartylinks$Delete,
12044
12185
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12065,7 +12206,10 @@ export namespace youtube_v3 {
12065
12206
  | BodyResponseCallback<void>
12066
12207
  | BodyResponseCallback<Readable>,
12067
12208
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
12068
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
12209
+ ):
12210
+ | void
12211
+ | Promise<GaxiosResponseWithHTTP2<void>>
12212
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12069
12213
  let params = (paramsOrCallback ||
12070
12214
  {}) as Params$Resource$Thirdpartylinks$Delete;
12071
12215
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12120,11 +12264,11 @@ export namespace youtube_v3 {
12120
12264
  insert(
12121
12265
  params: Params$Resource$Thirdpartylinks$Insert,
12122
12266
  options: StreamMethodOptions
12123
- ): GaxiosPromise<Readable>;
12267
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12124
12268
  insert(
12125
12269
  params?: Params$Resource$Thirdpartylinks$Insert,
12126
12270
  options?: MethodOptions
12127
- ): GaxiosPromise<Schema$ThirdPartyLink>;
12271
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLink>>;
12128
12272
  insert(
12129
12273
  params: Params$Resource$Thirdpartylinks$Insert,
12130
12274
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12153,7 +12297,10 @@ export namespace youtube_v3 {
12153
12297
  callback?:
12154
12298
  | BodyResponseCallback<Schema$ThirdPartyLink>
12155
12299
  | BodyResponseCallback<Readable>
12156
- ): void | GaxiosPromise<Schema$ThirdPartyLink> | GaxiosPromise<Readable> {
12300
+ ):
12301
+ | void
12302
+ | Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLink>>
12303
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12157
12304
  let params = (paramsOrCallback ||
12158
12305
  {}) as Params$Resource$Thirdpartylinks$Insert;
12159
12306
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12208,11 +12355,11 @@ export namespace youtube_v3 {
12208
12355
  list(
12209
12356
  params: Params$Resource$Thirdpartylinks$List,
12210
12357
  options: StreamMethodOptions
12211
- ): GaxiosPromise<Readable>;
12358
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12212
12359
  list(
12213
12360
  params?: Params$Resource$Thirdpartylinks$List,
12214
12361
  options?: MethodOptions
12215
- ): GaxiosPromise<Schema$ThirdPartyLinkListResponse>;
12362
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLinkListResponse>>;
12216
12363
  list(
12217
12364
  params: Params$Resource$Thirdpartylinks$List,
12218
12365
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12247,8 +12394,8 @@ export namespace youtube_v3 {
12247
12394
  | BodyResponseCallback<Readable>
12248
12395
  ):
12249
12396
  | void
12250
- | GaxiosPromise<Schema$ThirdPartyLinkListResponse>
12251
- | GaxiosPromise<Readable> {
12397
+ | Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLinkListResponse>>
12398
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12252
12399
  let params = (paramsOrCallback ||
12253
12400
  {}) as Params$Resource$Thirdpartylinks$List;
12254
12401
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12303,11 +12450,11 @@ export namespace youtube_v3 {
12303
12450
  update(
12304
12451
  params: Params$Resource$Thirdpartylinks$Update,
12305
12452
  options: StreamMethodOptions
12306
- ): GaxiosPromise<Readable>;
12453
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12307
12454
  update(
12308
12455
  params?: Params$Resource$Thirdpartylinks$Update,
12309
12456
  options?: MethodOptions
12310
- ): GaxiosPromise<Schema$ThirdPartyLink>;
12457
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLink>>;
12311
12458
  update(
12312
12459
  params: Params$Resource$Thirdpartylinks$Update,
12313
12460
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12336,7 +12483,10 @@ export namespace youtube_v3 {
12336
12483
  callback?:
12337
12484
  | BodyResponseCallback<Schema$ThirdPartyLink>
12338
12485
  | BodyResponseCallback<Readable>
12339
- ): void | GaxiosPromise<Schema$ThirdPartyLink> | GaxiosPromise<Readable> {
12486
+ ):
12487
+ | void
12488
+ | Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLink>>
12489
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12340
12490
  let params = (paramsOrCallback ||
12341
12491
  {}) as Params$Resource$Thirdpartylinks$Update;
12342
12492
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12469,11 +12619,11 @@ export namespace youtube_v3 {
12469
12619
  set(
12470
12620
  params: Params$Resource$Thumbnails$Set,
12471
12621
  options: StreamMethodOptions
12472
- ): GaxiosPromise<Readable>;
12622
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12473
12623
  set(
12474
12624
  params?: Params$Resource$Thumbnails$Set,
12475
12625
  options?: MethodOptions
12476
- ): GaxiosPromise<Schema$ThumbnailSetResponse>;
12626
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ThumbnailSetResponse>>;
12477
12627
  set(
12478
12628
  params: Params$Resource$Thumbnails$Set,
12479
12629
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12506,8 +12656,8 @@ export namespace youtube_v3 {
12506
12656
  | BodyResponseCallback<Readable>
12507
12657
  ):
12508
12658
  | void
12509
- | GaxiosPromise<Schema$ThumbnailSetResponse>
12510
- | GaxiosPromise<Readable> {
12659
+ | Promise<GaxiosResponseWithHTTP2<Schema$ThumbnailSetResponse>>
12660
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12511
12661
  let params = (paramsOrCallback || {}) as Params$Resource$Thumbnails$Set;
12512
12662
  let options = (optionsOrCallback || {}) as MethodOptions;
12513
12663
 
@@ -12603,11 +12753,13 @@ export namespace youtube_v3 {
12603
12753
  list(
12604
12754
  params: Params$Resource$Videoabusereportreasons$List,
12605
12755
  options: StreamMethodOptions
12606
- ): GaxiosPromise<Readable>;
12756
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12607
12757
  list(
12608
12758
  params?: Params$Resource$Videoabusereportreasons$List,
12609
12759
  options?: MethodOptions
12610
- ): GaxiosPromise<Schema$VideoAbuseReportReasonListResponse>;
12760
+ ): Promise<
12761
+ GaxiosResponseWithHTTP2<Schema$VideoAbuseReportReasonListResponse>
12762
+ >;
12611
12763
  list(
12612
12764
  params: Params$Resource$Videoabusereportreasons$List,
12613
12765
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12642,8 +12794,10 @@ export namespace youtube_v3 {
12642
12794
  | BodyResponseCallback<Readable>
12643
12795
  ):
12644
12796
  | void
12645
- | GaxiosPromise<Schema$VideoAbuseReportReasonListResponse>
12646
- | GaxiosPromise<Readable> {
12797
+ | Promise<
12798
+ GaxiosResponseWithHTTP2<Schema$VideoAbuseReportReasonListResponse>
12799
+ >
12800
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12647
12801
  let params = (paramsOrCallback ||
12648
12802
  {}) as Params$Resource$Videoabusereportreasons$List;
12649
12803
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12719,11 +12873,11 @@ export namespace youtube_v3 {
12719
12873
  list(
12720
12874
  params: Params$Resource$Videocategories$List,
12721
12875
  options: StreamMethodOptions
12722
- ): GaxiosPromise<Readable>;
12876
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12723
12877
  list(
12724
12878
  params?: Params$Resource$Videocategories$List,
12725
12879
  options?: MethodOptions
12726
- ): GaxiosPromise<Schema$VideoCategoryListResponse>;
12880
+ ): Promise<GaxiosResponseWithHTTP2<Schema$VideoCategoryListResponse>>;
12727
12881
  list(
12728
12882
  params: Params$Resource$Videocategories$List,
12729
12883
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12758,8 +12912,8 @@ export namespace youtube_v3 {
12758
12912
  | BodyResponseCallback<Readable>
12759
12913
  ):
12760
12914
  | void
12761
- | GaxiosPromise<Schema$VideoCategoryListResponse>
12762
- | GaxiosPromise<Readable> {
12915
+ | Promise<GaxiosResponseWithHTTP2<Schema$VideoCategoryListResponse>>
12916
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12763
12917
  let params = (paramsOrCallback ||
12764
12918
  {}) as Params$Resource$Videocategories$List;
12765
12919
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -12841,11 +12995,11 @@ export namespace youtube_v3 {
12841
12995
  delete(
12842
12996
  params: Params$Resource$Videos$Delete,
12843
12997
  options: StreamMethodOptions
12844
- ): GaxiosPromise<Readable>;
12998
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12845
12999
  delete(
12846
13000
  params?: Params$Resource$Videos$Delete,
12847
13001
  options?: MethodOptions
12848
- ): GaxiosPromise<void>;
13002
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
12849
13003
  delete(
12850
13004
  params: Params$Resource$Videos$Delete,
12851
13005
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12872,7 +13026,10 @@ export namespace youtube_v3 {
12872
13026
  | BodyResponseCallback<void>
12873
13027
  | BodyResponseCallback<Readable>,
12874
13028
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
12875
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
13029
+ ):
13030
+ | void
13031
+ | Promise<GaxiosResponseWithHTTP2<void>>
13032
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12876
13033
  let params = (paramsOrCallback || {}) as Params$Resource$Videos$Delete;
12877
13034
  let options = (optionsOrCallback || {}) as MethodOptions;
12878
13035
 
@@ -12923,11 +13080,11 @@ export namespace youtube_v3 {
12923
13080
  getRating(
12924
13081
  params: Params$Resource$Videos$Getrating,
12925
13082
  options: StreamMethodOptions
12926
- ): GaxiosPromise<Readable>;
13083
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
12927
13084
  getRating(
12928
13085
  params?: Params$Resource$Videos$Getrating,
12929
13086
  options?: MethodOptions
12930
- ): GaxiosPromise<Schema$VideoGetRatingResponse>;
13087
+ ): Promise<GaxiosResponseWithHTTP2<Schema$VideoGetRatingResponse>>;
12931
13088
  getRating(
12932
13089
  params: Params$Resource$Videos$Getrating,
12933
13090
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -12962,8 +13119,8 @@ export namespace youtube_v3 {
12962
13119
  | BodyResponseCallback<Readable>
12963
13120
  ):
12964
13121
  | void
12965
- | GaxiosPromise<Schema$VideoGetRatingResponse>
12966
- | GaxiosPromise<Readable> {
13122
+ | Promise<GaxiosResponseWithHTTP2<Schema$VideoGetRatingResponse>>
13123
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
12967
13124
  let params = (paramsOrCallback || {}) as Params$Resource$Videos$Getrating;
12968
13125
  let options = (optionsOrCallback || {}) as MethodOptions;
12969
13126
 
@@ -13017,11 +13174,11 @@ export namespace youtube_v3 {
13017
13174
  insert(
13018
13175
  params: Params$Resource$Videos$Insert,
13019
13176
  options: StreamMethodOptions
13020
- ): GaxiosPromise<Readable>;
13177
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13021
13178
  insert(
13022
13179
  params?: Params$Resource$Videos$Insert,
13023
13180
  options?: MethodOptions
13024
- ): GaxiosPromise<Schema$Video>;
13181
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Video>>;
13025
13182
  insert(
13026
13183
  params: Params$Resource$Videos$Insert,
13027
13184
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13050,7 +13207,10 @@ export namespace youtube_v3 {
13050
13207
  callback?:
13051
13208
  | BodyResponseCallback<Schema$Video>
13052
13209
  | BodyResponseCallback<Readable>
13053
- ): void | GaxiosPromise<Schema$Video> | GaxiosPromise<Readable> {
13210
+ ):
13211
+ | void
13212
+ | Promise<GaxiosResponseWithHTTP2<Schema$Video>>
13213
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13054
13214
  let params = (paramsOrCallback || {}) as Params$Resource$Videos$Insert;
13055
13215
  let options = (optionsOrCallback || {}) as MethodOptions;
13056
13216
 
@@ -13105,11 +13265,11 @@ export namespace youtube_v3 {
13105
13265
  list(
13106
13266
  params: Params$Resource$Videos$List,
13107
13267
  options: StreamMethodOptions
13108
- ): GaxiosPromise<Readable>;
13268
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13109
13269
  list(
13110
13270
  params?: Params$Resource$Videos$List,
13111
13271
  options?: MethodOptions
13112
- ): GaxiosPromise<Schema$VideoListResponse>;
13272
+ ): Promise<GaxiosResponseWithHTTP2<Schema$VideoListResponse>>;
13113
13273
  list(
13114
13274
  params: Params$Resource$Videos$List,
13115
13275
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13140,8 +13300,8 @@ export namespace youtube_v3 {
13140
13300
  | BodyResponseCallback<Readable>
13141
13301
  ):
13142
13302
  | void
13143
- | GaxiosPromise<Schema$VideoListResponse>
13144
- | GaxiosPromise<Readable> {
13303
+ | Promise<GaxiosResponseWithHTTP2<Schema$VideoListResponse>>
13304
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13145
13305
  let params = (paramsOrCallback || {}) as Params$Resource$Videos$List;
13146
13306
  let options = (optionsOrCallback || {}) as MethodOptions;
13147
13307
 
@@ -13192,11 +13352,11 @@ export namespace youtube_v3 {
13192
13352
  rate(
13193
13353
  params: Params$Resource$Videos$Rate,
13194
13354
  options: StreamMethodOptions
13195
- ): GaxiosPromise<Readable>;
13355
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13196
13356
  rate(
13197
13357
  params?: Params$Resource$Videos$Rate,
13198
13358
  options?: MethodOptions
13199
- ): GaxiosPromise<void>;
13359
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
13200
13360
  rate(
13201
13361
  params: Params$Resource$Videos$Rate,
13202
13362
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13223,7 +13383,10 @@ export namespace youtube_v3 {
13223
13383
  | BodyResponseCallback<void>
13224
13384
  | BodyResponseCallback<Readable>,
13225
13385
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
13226
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
13386
+ ):
13387
+ | void
13388
+ | Promise<GaxiosResponseWithHTTP2<void>>
13389
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13227
13390
  let params = (paramsOrCallback || {}) as Params$Resource$Videos$Rate;
13228
13391
  let options = (optionsOrCallback || {}) as MethodOptions;
13229
13392
 
@@ -13277,11 +13440,11 @@ export namespace youtube_v3 {
13277
13440
  reportAbuse(
13278
13441
  params: Params$Resource$Videos$Reportabuse,
13279
13442
  options: StreamMethodOptions
13280
- ): GaxiosPromise<Readable>;
13443
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13281
13444
  reportAbuse(
13282
13445
  params?: Params$Resource$Videos$Reportabuse,
13283
13446
  options?: MethodOptions
13284
- ): GaxiosPromise<void>;
13447
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
13285
13448
  reportAbuse(
13286
13449
  params: Params$Resource$Videos$Reportabuse,
13287
13450
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13308,7 +13471,10 @@ export namespace youtube_v3 {
13308
13471
  | BodyResponseCallback<void>
13309
13472
  | BodyResponseCallback<Readable>,
13310
13473
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
13311
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
13474
+ ):
13475
+ | void
13476
+ | Promise<GaxiosResponseWithHTTP2<void>>
13477
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13312
13478
  let params = (paramsOrCallback ||
13313
13479
  {}) as Params$Resource$Videos$Reportabuse;
13314
13480
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13363,11 +13529,11 @@ export namespace youtube_v3 {
13363
13529
  update(
13364
13530
  params: Params$Resource$Videos$Update,
13365
13531
  options: StreamMethodOptions
13366
- ): GaxiosPromise<Readable>;
13532
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13367
13533
  update(
13368
13534
  params?: Params$Resource$Videos$Update,
13369
13535
  options?: MethodOptions
13370
- ): GaxiosPromise<Schema$Video>;
13536
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Video>>;
13371
13537
  update(
13372
13538
  params: Params$Resource$Videos$Update,
13373
13539
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13396,7 +13562,10 @@ export namespace youtube_v3 {
13396
13562
  callback?:
13397
13563
  | BodyResponseCallback<Schema$Video>
13398
13564
  | BodyResponseCallback<Readable>
13399
- ): void | GaxiosPromise<Schema$Video> | GaxiosPromise<Readable> {
13565
+ ):
13566
+ | void
13567
+ | Promise<GaxiosResponseWithHTTP2<Schema$Video>>
13568
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13400
13569
  let params = (paramsOrCallback || {}) as Params$Resource$Videos$Update;
13401
13570
  let options = (optionsOrCallback || {}) as MethodOptions;
13402
13571
 
@@ -13612,11 +13781,11 @@ export namespace youtube_v3 {
13612
13781
  get(
13613
13782
  params: Params$Resource$Videotrainability$Get,
13614
13783
  options: StreamMethodOptions
13615
- ): GaxiosPromise<Readable>;
13784
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13616
13785
  get(
13617
13786
  params?: Params$Resource$Videotrainability$Get,
13618
13787
  options?: MethodOptions
13619
- ): GaxiosPromise<Schema$VideoTrainability>;
13788
+ ): Promise<GaxiosResponseWithHTTP2<Schema$VideoTrainability>>;
13620
13789
  get(
13621
13790
  params: Params$Resource$Videotrainability$Get,
13622
13791
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13647,8 +13816,8 @@ export namespace youtube_v3 {
13647
13816
  | BodyResponseCallback<Readable>
13648
13817
  ):
13649
13818
  | void
13650
- | GaxiosPromise<Schema$VideoTrainability>
13651
- | GaxiosPromise<Readable> {
13819
+ | Promise<GaxiosResponseWithHTTP2<Schema$VideoTrainability>>
13820
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13652
13821
  let params = (paramsOrCallback ||
13653
13822
  {}) as Params$Resource$Videotrainability$Get;
13654
13823
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -13718,11 +13887,11 @@ export namespace youtube_v3 {
13718
13887
  set(
13719
13888
  params: Params$Resource$Watermarks$Set,
13720
13889
  options: StreamMethodOptions
13721
- ): GaxiosPromise<Readable>;
13890
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13722
13891
  set(
13723
13892
  params?: Params$Resource$Watermarks$Set,
13724
13893
  options?: MethodOptions
13725
- ): GaxiosPromise<void>;
13894
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
13726
13895
  set(
13727
13896
  params: Params$Resource$Watermarks$Set,
13728
13897
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13749,7 +13918,10 @@ export namespace youtube_v3 {
13749
13918
  | BodyResponseCallback<void>
13750
13919
  | BodyResponseCallback<Readable>,
13751
13920
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
13752
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
13921
+ ):
13922
+ | void
13923
+ | Promise<GaxiosResponseWithHTTP2<void>>
13924
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13753
13925
  let params = (paramsOrCallback || {}) as Params$Resource$Watermarks$Set;
13754
13926
  let options = (optionsOrCallback || {}) as MethodOptions;
13755
13927
 
@@ -13807,11 +13979,11 @@ export namespace youtube_v3 {
13807
13979
  unset(
13808
13980
  params: Params$Resource$Watermarks$Unset,
13809
13981
  options: StreamMethodOptions
13810
- ): GaxiosPromise<Readable>;
13982
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13811
13983
  unset(
13812
13984
  params?: Params$Resource$Watermarks$Unset,
13813
13985
  options?: MethodOptions
13814
- ): GaxiosPromise<void>;
13986
+ ): Promise<GaxiosResponseWithHTTP2<void>>;
13815
13987
  unset(
13816
13988
  params: Params$Resource$Watermarks$Unset,
13817
13989
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13838,7 +14010,10 @@ export namespace youtube_v3 {
13838
14010
  | BodyResponseCallback<void>
13839
14011
  | BodyResponseCallback<Readable>,
13840
14012
  callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
13841
- ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
14013
+ ):
14014
+ | void
14015
+ | Promise<GaxiosResponseWithHTTP2<void>>
14016
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13842
14017
  let params = (paramsOrCallback || {}) as Params$Resource$Watermarks$Unset;
13843
14018
  let options = (optionsOrCallback || {}) as MethodOptions;
13844
14019
 
@@ -13949,11 +14124,11 @@ export namespace youtube_v3 {
13949
14124
  updateCommentThreads(
13950
14125
  params: Params$Resource$Youtube$V3$Updatecommentthreads,
13951
14126
  options: StreamMethodOptions
13952
- ): GaxiosPromise<Readable>;
14127
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
13953
14128
  updateCommentThreads(
13954
14129
  params?: Params$Resource$Youtube$V3$Updatecommentthreads,
13955
14130
  options?: MethodOptions
13956
- ): GaxiosPromise<Schema$CommentThread>;
14131
+ ): Promise<GaxiosResponseWithHTTP2<Schema$CommentThread>>;
13957
14132
  updateCommentThreads(
13958
14133
  params: Params$Resource$Youtube$V3$Updatecommentthreads,
13959
14134
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -13984,7 +14159,10 @@ export namespace youtube_v3 {
13984
14159
  callback?:
13985
14160
  | BodyResponseCallback<Schema$CommentThread>
13986
14161
  | BodyResponseCallback<Readable>
13987
- ): void | GaxiosPromise<Schema$CommentThread> | GaxiosPromise<Readable> {
14162
+ ):
14163
+ | void
14164
+ | Promise<GaxiosResponseWithHTTP2<Schema$CommentThread>>
14165
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
13988
14166
  let params = (paramsOrCallback ||
13989
14167
  {}) as Params$Resource$Youtube$V3$Updatecommentthreads;
13990
14168
  let options = (optionsOrCallback || {}) as MethodOptions;