@googleapis/youtube 25.1.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/build/v3.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace youtube_v3 {
5
5
  export interface Options extends GlobalOptions {
@@ -4657,8 +4657,8 @@ export declare namespace youtube_v3 {
4657
4657
  * @param callback - Optional callback that handles the response.
4658
4658
  * @returns A promise if used with async/await, or void if used with a callback.
4659
4659
  */
4660
- insert(params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
4661
- insert(params?: Params$Resource$Abusereports$Insert, options?: MethodOptions): GaxiosPromise<Schema$AbuseReport>;
4660
+ insert(params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4661
+ insert(params?: Params$Resource$Abusereports$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AbuseReport>>;
4662
4662
  insert(params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4663
4663
  insert(params: Params$Resource$Abusereports$Insert, options: MethodOptions | BodyResponseCallback<Schema$AbuseReport>, callback: BodyResponseCallback<Schema$AbuseReport>): void;
4664
4664
  insert(params: Params$Resource$Abusereports$Insert, callback: BodyResponseCallback<Schema$AbuseReport>): void;
@@ -4685,8 +4685,8 @@ export declare namespace youtube_v3 {
4685
4685
  * @param callback - Optional callback that handles the response.
4686
4686
  * @returns A promise if used with async/await, or void if used with a callback.
4687
4687
  */
4688
- list(params: Params$Resource$Activities$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4689
- list(params?: Params$Resource$Activities$List, options?: MethodOptions): GaxiosPromise<Schema$ActivityListResponse>;
4688
+ list(params: Params$Resource$Activities$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4689
+ list(params?: Params$Resource$Activities$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ActivityListResponse>>;
4690
4690
  list(params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4691
4691
  list(params: Params$Resource$Activities$List, options: MethodOptions | BodyResponseCallback<Schema$ActivityListResponse>, callback: BodyResponseCallback<Schema$ActivityListResponse>): void;
4692
4692
  list(params: Params$Resource$Activities$List, callback: BodyResponseCallback<Schema$ActivityListResponse>): void;
@@ -4741,8 +4741,8 @@ export declare namespace youtube_v3 {
4741
4741
  * @param callback - Optional callback that handles the response.
4742
4742
  * @returns A promise if used with async/await, or void if used with a callback.
4743
4743
  */
4744
- delete(params: Params$Resource$Captions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4745
- delete(params?: Params$Resource$Captions$Delete, options?: MethodOptions): GaxiosPromise<void>;
4744
+ delete(params: Params$Resource$Captions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4745
+ delete(params?: Params$Resource$Captions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
4746
4746
  delete(params: Params$Resource$Captions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4747
4747
  delete(params: Params$Resource$Captions$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
4748
4748
  delete(params: Params$Resource$Captions$Delete, callback: BodyResponseCallback<void>): void;
@@ -4755,8 +4755,8 @@ export declare namespace youtube_v3 {
4755
4755
  * @param callback - Optional callback that handles the response.
4756
4756
  * @returns A promise if used with async/await, or void if used with a callback.
4757
4757
  */
4758
- download(params: Params$Resource$Captions$Download, options: StreamMethodOptions): GaxiosPromise<Readable>;
4759
- download(params?: Params$Resource$Captions$Download, options?: MethodOptions): GaxiosPromise<unknown>;
4758
+ download(params: Params$Resource$Captions$Download, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4759
+ download(params?: Params$Resource$Captions$Download, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<unknown>>;
4760
4760
  download(params: Params$Resource$Captions$Download, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4761
4761
  download(params: Params$Resource$Captions$Download, options: MethodOptions | BodyResponseCallback<unknown>, callback: BodyResponseCallback<unknown>): void;
4762
4762
  download(params: Params$Resource$Captions$Download, callback: BodyResponseCallback<unknown>): void;
@@ -4769,8 +4769,8 @@ export declare namespace youtube_v3 {
4769
4769
  * @param callback - Optional callback that handles the response.
4770
4770
  * @returns A promise if used with async/await, or void if used with a callback.
4771
4771
  */
4772
- insert(params: Params$Resource$Captions$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
4773
- insert(params?: Params$Resource$Captions$Insert, options?: MethodOptions): GaxiosPromise<Schema$Caption>;
4772
+ insert(params: Params$Resource$Captions$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4773
+ insert(params?: Params$Resource$Captions$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Caption>>;
4774
4774
  insert(params: Params$Resource$Captions$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4775
4775
  insert(params: Params$Resource$Captions$Insert, options: MethodOptions | BodyResponseCallback<Schema$Caption>, callback: BodyResponseCallback<Schema$Caption>): void;
4776
4776
  insert(params: Params$Resource$Captions$Insert, callback: BodyResponseCallback<Schema$Caption>): void;
@@ -4783,8 +4783,8 @@ export declare namespace youtube_v3 {
4783
4783
  * @param callback - Optional callback that handles the response.
4784
4784
  * @returns A promise if used with async/await, or void if used with a callback.
4785
4785
  */
4786
- list(params: Params$Resource$Captions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4787
- list(params?: Params$Resource$Captions$List, options?: MethodOptions): GaxiosPromise<Schema$CaptionListResponse>;
4786
+ list(params: Params$Resource$Captions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4787
+ list(params?: Params$Resource$Captions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CaptionListResponse>>;
4788
4788
  list(params: Params$Resource$Captions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4789
4789
  list(params: Params$Resource$Captions$List, options: MethodOptions | BodyResponseCallback<Schema$CaptionListResponse>, callback: BodyResponseCallback<Schema$CaptionListResponse>): void;
4790
4790
  list(params: Params$Resource$Captions$List, callback: BodyResponseCallback<Schema$CaptionListResponse>): void;
@@ -4797,8 +4797,8 @@ export declare namespace youtube_v3 {
4797
4797
  * @param callback - Optional callback that handles the response.
4798
4798
  * @returns A promise if used with async/await, or void if used with a callback.
4799
4799
  */
4800
- update(params: Params$Resource$Captions$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
4801
- update(params?: Params$Resource$Captions$Update, options?: MethodOptions): GaxiosPromise<Schema$Caption>;
4800
+ update(params: Params$Resource$Captions$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4801
+ update(params?: Params$Resource$Captions$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Caption>>;
4802
4802
  update(params: Params$Resource$Captions$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4803
4803
  update(params: Params$Resource$Captions$Update, options: MethodOptions | BodyResponseCallback<Schema$Caption>, callback: BodyResponseCallback<Schema$Caption>): void;
4804
4804
  update(params: Params$Resource$Captions$Update, callback: BodyResponseCallback<Schema$Caption>): void;
@@ -4943,8 +4943,8 @@ export declare namespace youtube_v3 {
4943
4943
  * @param callback - Optional callback that handles the response.
4944
4944
  * @returns A promise if used with async/await, or void if used with a callback.
4945
4945
  */
4946
- insert(params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
4947
- insert(params?: Params$Resource$Channelbanners$Insert, options?: MethodOptions): GaxiosPromise<Schema$ChannelBannerResource>;
4946
+ insert(params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4947
+ insert(params?: Params$Resource$Channelbanners$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ChannelBannerResource>>;
4948
4948
  insert(params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4949
4949
  insert(params: Params$Resource$Channelbanners$Insert, options: MethodOptions | BodyResponseCallback<Schema$ChannelBannerResource>, callback: BodyResponseCallback<Schema$ChannelBannerResource>): void;
4950
4950
  insert(params: Params$Resource$Channelbanners$Insert, callback: BodyResponseCallback<Schema$ChannelBannerResource>): void;
@@ -4992,8 +4992,8 @@ export declare namespace youtube_v3 {
4992
4992
  * @param callback - Optional callback that handles the response.
4993
4993
  * @returns A promise if used with async/await, or void if used with a callback.
4994
4994
  */
4995
- list(params: Params$Resource$Channels$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4996
- list(params?: Params$Resource$Channels$List, options?: MethodOptions): GaxiosPromise<Schema$ChannelListResponse>;
4995
+ list(params: Params$Resource$Channels$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4996
+ list(params?: Params$Resource$Channels$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ChannelListResponse>>;
4997
4997
  list(params: Params$Resource$Channels$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4998
4998
  list(params: Params$Resource$Channels$List, options: MethodOptions | BodyResponseCallback<Schema$ChannelListResponse>, callback: BodyResponseCallback<Schema$ChannelListResponse>): void;
4999
4999
  list(params: Params$Resource$Channels$List, callback: BodyResponseCallback<Schema$ChannelListResponse>): void;
@@ -5006,8 +5006,8 @@ export declare namespace youtube_v3 {
5006
5006
  * @param callback - Optional callback that handles the response.
5007
5007
  * @returns A promise if used with async/await, or void if used with a callback.
5008
5008
  */
5009
- update(params: Params$Resource$Channels$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5010
- update(params?: Params$Resource$Channels$Update, options?: MethodOptions): GaxiosPromise<Schema$Channel>;
5009
+ update(params: Params$Resource$Channels$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5010
+ update(params?: Params$Resource$Channels$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Channel>>;
5011
5011
  update(params: Params$Resource$Channels$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5012
5012
  update(params: Params$Resource$Channels$Update, options: MethodOptions | BodyResponseCallback<Schema$Channel>, callback: BodyResponseCallback<Schema$Channel>): void;
5013
5013
  update(params: Params$Resource$Channels$Update, callback: BodyResponseCallback<Schema$Channel>): void;
@@ -5088,8 +5088,8 @@ export declare namespace youtube_v3 {
5088
5088
  * @param callback - Optional callback that handles the response.
5089
5089
  * @returns A promise if used with async/await, or void if used with a callback.
5090
5090
  */
5091
- delete(params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5092
- delete(params?: Params$Resource$Channelsections$Delete, options?: MethodOptions): GaxiosPromise<void>;
5091
+ delete(params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5092
+ delete(params?: Params$Resource$Channelsections$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5093
5093
  delete(params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5094
5094
  delete(params: Params$Resource$Channelsections$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5095
5095
  delete(params: Params$Resource$Channelsections$Delete, callback: BodyResponseCallback<void>): void;
@@ -5102,8 +5102,8 @@ export declare namespace youtube_v3 {
5102
5102
  * @param callback - Optional callback that handles the response.
5103
5103
  * @returns A promise if used with async/await, or void if used with a callback.
5104
5104
  */
5105
- insert(params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5106
- insert(params?: Params$Resource$Channelsections$Insert, options?: MethodOptions): GaxiosPromise<Schema$ChannelSection>;
5105
+ insert(params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5106
+ insert(params?: Params$Resource$Channelsections$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ChannelSection>>;
5107
5107
  insert(params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5108
5108
  insert(params: Params$Resource$Channelsections$Insert, options: MethodOptions | BodyResponseCallback<Schema$ChannelSection>, callback: BodyResponseCallback<Schema$ChannelSection>): void;
5109
5109
  insert(params: Params$Resource$Channelsections$Insert, callback: BodyResponseCallback<Schema$ChannelSection>): void;
@@ -5116,8 +5116,8 @@ export declare namespace youtube_v3 {
5116
5116
  * @param callback - Optional callback that handles the response.
5117
5117
  * @returns A promise if used with async/await, or void if used with a callback.
5118
5118
  */
5119
- list(params: Params$Resource$Channelsections$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5120
- list(params?: Params$Resource$Channelsections$List, options?: MethodOptions): GaxiosPromise<Schema$ChannelSectionListResponse>;
5119
+ list(params: Params$Resource$Channelsections$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5120
+ list(params?: Params$Resource$Channelsections$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ChannelSectionListResponse>>;
5121
5121
  list(params: Params$Resource$Channelsections$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5122
5122
  list(params: Params$Resource$Channelsections$List, options: MethodOptions | BodyResponseCallback<Schema$ChannelSectionListResponse>, callback: BodyResponseCallback<Schema$ChannelSectionListResponse>): void;
5123
5123
  list(params: Params$Resource$Channelsections$List, callback: BodyResponseCallback<Schema$ChannelSectionListResponse>): void;
@@ -5130,8 +5130,8 @@ export declare namespace youtube_v3 {
5130
5130
  * @param callback - Optional callback that handles the response.
5131
5131
  * @returns A promise if used with async/await, or void if used with a callback.
5132
5132
  */
5133
- update(params: Params$Resource$Channelsections$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5134
- update(params?: Params$Resource$Channelsections$Update, options?: MethodOptions): GaxiosPromise<Schema$ChannelSection>;
5133
+ update(params: Params$Resource$Channelsections$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5134
+ update(params?: Params$Resource$Channelsections$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ChannelSection>>;
5135
5135
  update(params: Params$Resource$Channelsections$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5136
5136
  update(params: Params$Resource$Channelsections$Update, options: MethodOptions | BodyResponseCallback<Schema$ChannelSection>, callback: BodyResponseCallback<Schema$ChannelSection>): void;
5137
5137
  update(params: Params$Resource$Channelsections$Update, callback: BodyResponseCallback<Schema$ChannelSection>): void;
@@ -5216,8 +5216,8 @@ export declare namespace youtube_v3 {
5216
5216
  * @param callback - Optional callback that handles the response.
5217
5217
  * @returns A promise if used with async/await, or void if used with a callback.
5218
5218
  */
5219
- delete(params: Params$Resource$Comments$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5220
- delete(params?: Params$Resource$Comments$Delete, options?: MethodOptions): GaxiosPromise<void>;
5219
+ delete(params: Params$Resource$Comments$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5220
+ delete(params?: Params$Resource$Comments$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5221
5221
  delete(params: Params$Resource$Comments$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5222
5222
  delete(params: Params$Resource$Comments$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5223
5223
  delete(params: Params$Resource$Comments$Delete, callback: BodyResponseCallback<void>): void;
@@ -5230,8 +5230,8 @@ export declare namespace youtube_v3 {
5230
5230
  * @param callback - Optional callback that handles the response.
5231
5231
  * @returns A promise if used with async/await, or void if used with a callback.
5232
5232
  */
5233
- insert(params: Params$Resource$Comments$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5234
- insert(params?: Params$Resource$Comments$Insert, options?: MethodOptions): GaxiosPromise<Schema$Comment>;
5233
+ insert(params: Params$Resource$Comments$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5234
+ insert(params?: Params$Resource$Comments$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Comment>>;
5235
5235
  insert(params: Params$Resource$Comments$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5236
5236
  insert(params: Params$Resource$Comments$Insert, options: MethodOptions | BodyResponseCallback<Schema$Comment>, callback: BodyResponseCallback<Schema$Comment>): void;
5237
5237
  insert(params: Params$Resource$Comments$Insert, callback: BodyResponseCallback<Schema$Comment>): void;
@@ -5244,8 +5244,8 @@ export declare namespace youtube_v3 {
5244
5244
  * @param callback - Optional callback that handles the response.
5245
5245
  * @returns A promise if used with async/await, or void if used with a callback.
5246
5246
  */
5247
- list(params: Params$Resource$Comments$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5248
- list(params?: Params$Resource$Comments$List, options?: MethodOptions): GaxiosPromise<Schema$CommentListResponse>;
5247
+ list(params: Params$Resource$Comments$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5248
+ list(params?: Params$Resource$Comments$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommentListResponse>>;
5249
5249
  list(params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5250
5250
  list(params: Params$Resource$Comments$List, options: MethodOptions | BodyResponseCallback<Schema$CommentListResponse>, callback: BodyResponseCallback<Schema$CommentListResponse>): void;
5251
5251
  list(params: Params$Resource$Comments$List, callback: BodyResponseCallback<Schema$CommentListResponse>): void;
@@ -5258,8 +5258,8 @@ export declare namespace youtube_v3 {
5258
5258
  * @param callback - Optional callback that handles the response.
5259
5259
  * @returns A promise if used with async/await, or void if used with a callback.
5260
5260
  */
5261
- markAsSpam(params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions): GaxiosPromise<Readable>;
5262
- markAsSpam(params?: Params$Resource$Comments$Markasspam, options?: MethodOptions): GaxiosPromise<void>;
5261
+ markAsSpam(params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5262
+ markAsSpam(params?: Params$Resource$Comments$Markasspam, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5263
5263
  markAsSpam(params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5264
5264
  markAsSpam(params: Params$Resource$Comments$Markasspam, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5265
5265
  markAsSpam(params: Params$Resource$Comments$Markasspam, callback: BodyResponseCallback<void>): void;
@@ -5272,8 +5272,8 @@ export declare namespace youtube_v3 {
5272
5272
  * @param callback - Optional callback that handles the response.
5273
5273
  * @returns A promise if used with async/await, or void if used with a callback.
5274
5274
  */
5275
- setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions): GaxiosPromise<Readable>;
5276
- setModerationStatus(params?: Params$Resource$Comments$Setmoderationstatus, options?: MethodOptions): GaxiosPromise<void>;
5275
+ setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5276
+ setModerationStatus(params?: Params$Resource$Comments$Setmoderationstatus, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5277
5277
  setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5278
5278
  setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5279
5279
  setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, callback: BodyResponseCallback<void>): void;
@@ -5286,8 +5286,8 @@ export declare namespace youtube_v3 {
5286
5286
  * @param callback - Optional callback that handles the response.
5287
5287
  * @returns A promise if used with async/await, or void if used with a callback.
5288
5288
  */
5289
- update(params: Params$Resource$Comments$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5290
- update(params?: Params$Resource$Comments$Update, options?: MethodOptions): GaxiosPromise<Schema$Comment>;
5289
+ update(params: Params$Resource$Comments$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5290
+ update(params?: Params$Resource$Comments$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Comment>>;
5291
5291
  update(params: Params$Resource$Comments$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5292
5292
  update(params: Params$Resource$Comments$Update, options: MethodOptions | BodyResponseCallback<Schema$Comment>, callback: BodyResponseCallback<Schema$Comment>): void;
5293
5293
  update(params: Params$Resource$Comments$Update, callback: BodyResponseCallback<Schema$Comment>): void;
@@ -5376,8 +5376,8 @@ export declare namespace youtube_v3 {
5376
5376
  * @param callback - Optional callback that handles the response.
5377
5377
  * @returns A promise if used with async/await, or void if used with a callback.
5378
5378
  */
5379
- insert(params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5380
- insert(params?: Params$Resource$Commentthreads$Insert, options?: MethodOptions): GaxiosPromise<Schema$CommentThread>;
5379
+ insert(params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5380
+ insert(params?: Params$Resource$Commentthreads$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommentThread>>;
5381
5381
  insert(params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5382
5382
  insert(params: Params$Resource$Commentthreads$Insert, options: MethodOptions | BodyResponseCallback<Schema$CommentThread>, callback: BodyResponseCallback<Schema$CommentThread>): void;
5383
5383
  insert(params: Params$Resource$Commentthreads$Insert, callback: BodyResponseCallback<Schema$CommentThread>): void;
@@ -5390,8 +5390,8 @@ export declare namespace youtube_v3 {
5390
5390
  * @param callback - Optional callback that handles the response.
5391
5391
  * @returns A promise if used with async/await, or void if used with a callback.
5392
5392
  */
5393
- list(params: Params$Resource$Commentthreads$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5394
- list(params?: Params$Resource$Commentthreads$List, options?: MethodOptions): GaxiosPromise<Schema$CommentThreadListResponse>;
5393
+ list(params: Params$Resource$Commentthreads$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5394
+ list(params?: Params$Resource$Commentthreads$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommentThreadListResponse>>;
5395
5395
  list(params: Params$Resource$Commentthreads$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5396
5396
  list(params: Params$Resource$Commentthreads$List, options: MethodOptions | BodyResponseCallback<Schema$CommentThreadListResponse>, callback: BodyResponseCallback<Schema$CommentThreadListResponse>): void;
5397
5397
  list(params: Params$Resource$Commentthreads$List, callback: BodyResponseCallback<Schema$CommentThreadListResponse>): void;
@@ -5468,8 +5468,8 @@ export declare namespace youtube_v3 {
5468
5468
  * @param callback - Optional callback that handles the response.
5469
5469
  * @returns A promise if used with async/await, or void if used with a callback.
5470
5470
  */
5471
- list(params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5472
- list(params?: Params$Resource$I18nlanguages$List, options?: MethodOptions): GaxiosPromise<Schema$I18nLanguageListResponse>;
5471
+ list(params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5472
+ list(params?: Params$Resource$I18nlanguages$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$I18nLanguageListResponse>>;
5473
5473
  list(params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5474
5474
  list(params: Params$Resource$I18nlanguages$List, options: MethodOptions | BodyResponseCallback<Schema$I18nLanguageListResponse>, callback: BodyResponseCallback<Schema$I18nLanguageListResponse>): void;
5475
5475
  list(params: Params$Resource$I18nlanguages$List, callback: BodyResponseCallback<Schema$I18nLanguageListResponse>): void;
@@ -5496,8 +5496,8 @@ export declare namespace youtube_v3 {
5496
5496
  * @param callback - Optional callback that handles the response.
5497
5497
  * @returns A promise if used with async/await, or void if used with a callback.
5498
5498
  */
5499
- list(params: Params$Resource$I18nregions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5500
- list(params?: Params$Resource$I18nregions$List, options?: MethodOptions): GaxiosPromise<Schema$I18nRegionListResponse>;
5499
+ list(params: Params$Resource$I18nregions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5500
+ list(params?: Params$Resource$I18nregions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$I18nRegionListResponse>>;
5501
5501
  list(params: Params$Resource$I18nregions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5502
5502
  list(params: Params$Resource$I18nregions$List, options: MethodOptions | BodyResponseCallback<Schema$I18nRegionListResponse>, callback: BodyResponseCallback<Schema$I18nRegionListResponse>): void;
5503
5503
  list(params: Params$Resource$I18nregions$List, callback: BodyResponseCallback<Schema$I18nRegionListResponse>): void;
@@ -5524,8 +5524,8 @@ export declare namespace youtube_v3 {
5524
5524
  * @param callback - Optional callback that handles the response.
5525
5525
  * @returns A promise if used with async/await, or void if used with a callback.
5526
5526
  */
5527
- bind(params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions): GaxiosPromise<Readable>;
5528
- bind(params?: Params$Resource$Livebroadcasts$Bind, options?: MethodOptions): GaxiosPromise<Schema$LiveBroadcast>;
5527
+ bind(params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5528
+ bind(params?: Params$Resource$Livebroadcasts$Bind, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
5529
5529
  bind(params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5530
5530
  bind(params: Params$Resource$Livebroadcasts$Bind, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5531
5531
  bind(params: Params$Resource$Livebroadcasts$Bind, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5538,8 +5538,8 @@ export declare namespace youtube_v3 {
5538
5538
  * @param callback - Optional callback that handles the response.
5539
5539
  * @returns A promise if used with async/await, or void if used with a callback.
5540
5540
  */
5541
- delete(params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5542
- delete(params?: Params$Resource$Livebroadcasts$Delete, options?: MethodOptions): GaxiosPromise<void>;
5541
+ delete(params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5542
+ delete(params?: Params$Resource$Livebroadcasts$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5543
5543
  delete(params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5544
5544
  delete(params: Params$Resource$Livebroadcasts$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5545
5545
  delete(params: Params$Resource$Livebroadcasts$Delete, callback: BodyResponseCallback<void>): void;
@@ -5552,8 +5552,8 @@ export declare namespace youtube_v3 {
5552
5552
  * @param callback - Optional callback that handles the response.
5553
5553
  * @returns A promise if used with async/await, or void if used with a callback.
5554
5554
  */
5555
- insert(params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5556
- insert(params?: Params$Resource$Livebroadcasts$Insert, options?: MethodOptions): GaxiosPromise<Schema$LiveBroadcast>;
5555
+ insert(params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5556
+ insert(params?: Params$Resource$Livebroadcasts$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
5557
5557
  insert(params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5558
5558
  insert(params: Params$Resource$Livebroadcasts$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5559
5559
  insert(params: Params$Resource$Livebroadcasts$Insert, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5566,8 +5566,8 @@ export declare namespace youtube_v3 {
5566
5566
  * @param callback - Optional callback that handles the response.
5567
5567
  * @returns A promise if used with async/await, or void if used with a callback.
5568
5568
  */
5569
- insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions): GaxiosPromise<Readable>;
5570
- insertCuepoint(params?: Params$Resource$Livebroadcasts$Insertcuepoint, options?: MethodOptions): GaxiosPromise<Schema$Cuepoint>;
5569
+ insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5570
+ insertCuepoint(params?: Params$Resource$Livebroadcasts$Insertcuepoint, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Cuepoint>>;
5571
5571
  insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5572
5572
  insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: MethodOptions | BodyResponseCallback<Schema$Cuepoint>, callback: BodyResponseCallback<Schema$Cuepoint>): void;
5573
5573
  insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, callback: BodyResponseCallback<Schema$Cuepoint>): void;
@@ -5580,8 +5580,8 @@ export declare namespace youtube_v3 {
5580
5580
  * @param callback - Optional callback that handles the response.
5581
5581
  * @returns A promise if used with async/await, or void if used with a callback.
5582
5582
  */
5583
- list(params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5584
- list(params?: Params$Resource$Livebroadcasts$List, options?: MethodOptions): GaxiosPromise<Schema$LiveBroadcastListResponse>;
5583
+ list(params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5584
+ list(params?: Params$Resource$Livebroadcasts$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcastListResponse>>;
5585
5585
  list(params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5586
5586
  list(params: Params$Resource$Livebroadcasts$List, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcastListResponse>, callback: BodyResponseCallback<Schema$LiveBroadcastListResponse>): void;
5587
5587
  list(params: Params$Resource$Livebroadcasts$List, callback: BodyResponseCallback<Schema$LiveBroadcastListResponse>): void;
@@ -5594,8 +5594,8 @@ export declare namespace youtube_v3 {
5594
5594
  * @param callback - Optional callback that handles the response.
5595
5595
  * @returns A promise if used with async/await, or void if used with a callback.
5596
5596
  */
5597
- transition(params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions): GaxiosPromise<Readable>;
5598
- transition(params?: Params$Resource$Livebroadcasts$Transition, options?: MethodOptions): GaxiosPromise<Schema$LiveBroadcast>;
5597
+ transition(params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5598
+ transition(params?: Params$Resource$Livebroadcasts$Transition, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
5599
5599
  transition(params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5600
5600
  transition(params: Params$Resource$Livebroadcasts$Transition, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5601
5601
  transition(params: Params$Resource$Livebroadcasts$Transition, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5608,8 +5608,8 @@ export declare namespace youtube_v3 {
5608
5608
  * @param callback - Optional callback that handles the response.
5609
5609
  * @returns A promise if used with async/await, or void if used with a callback.
5610
5610
  */
5611
- update(params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5612
- update(params?: Params$Resource$Livebroadcasts$Update, options?: MethodOptions): GaxiosPromise<Schema$LiveBroadcast>;
5611
+ update(params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5612
+ update(params?: Params$Resource$Livebroadcasts$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveBroadcast>>;
5613
5613
  update(params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5614
5614
  update(params: Params$Resource$Livebroadcasts$Update, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5615
5615
  update(params: Params$Resource$Livebroadcasts$Update, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5780,8 +5780,8 @@ export declare namespace youtube_v3 {
5780
5780
  * @param callback - Optional callback that handles the response.
5781
5781
  * @returns A promise if used with async/await, or void if used with a callback.
5782
5782
  */
5783
- delete(params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5784
- delete(params?: Params$Resource$Livechatbans$Delete, options?: MethodOptions): GaxiosPromise<void>;
5783
+ delete(params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5784
+ delete(params?: Params$Resource$Livechatbans$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5785
5785
  delete(params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5786
5786
  delete(params: Params$Resource$Livechatbans$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5787
5787
  delete(params: Params$Resource$Livechatbans$Delete, callback: BodyResponseCallback<void>): void;
@@ -5794,8 +5794,8 @@ export declare namespace youtube_v3 {
5794
5794
  * @param callback - Optional callback that handles the response.
5795
5795
  * @returns A promise if used with async/await, or void if used with a callback.
5796
5796
  */
5797
- insert(params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5798
- insert(params?: Params$Resource$Livechatbans$Insert, options?: MethodOptions): GaxiosPromise<Schema$LiveChatBan>;
5797
+ insert(params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5798
+ insert(params?: Params$Resource$Livechatbans$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatBan>>;
5799
5799
  insert(params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5800
5800
  insert(params: Params$Resource$Livechatbans$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveChatBan>, callback: BodyResponseCallback<Schema$LiveChatBan>): void;
5801
5801
  insert(params: Params$Resource$Livechatbans$Insert, callback: BodyResponseCallback<Schema$LiveChatBan>): void;
@@ -5828,8 +5828,8 @@ export declare namespace youtube_v3 {
5828
5828
  * @param callback - Optional callback that handles the response.
5829
5829
  * @returns A promise if used with async/await, or void if used with a callback.
5830
5830
  */
5831
- delete(params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5832
- delete(params?: Params$Resource$Livechatmessages$Delete, options?: MethodOptions): GaxiosPromise<void>;
5831
+ delete(params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5832
+ delete(params?: Params$Resource$Livechatmessages$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5833
5833
  delete(params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5834
5834
  delete(params: Params$Resource$Livechatmessages$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5835
5835
  delete(params: Params$Resource$Livechatmessages$Delete, callback: BodyResponseCallback<void>): void;
@@ -5842,8 +5842,8 @@ export declare namespace youtube_v3 {
5842
5842
  * @param callback - Optional callback that handles the response.
5843
5843
  * @returns A promise if used with async/await, or void if used with a callback.
5844
5844
  */
5845
- insert(params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5846
- insert(params?: Params$Resource$Livechatmessages$Insert, options?: MethodOptions): GaxiosPromise<Schema$LiveChatMessage>;
5845
+ insert(params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5846
+ insert(params?: Params$Resource$Livechatmessages$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessage>>;
5847
5847
  insert(params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5848
5848
  insert(params: Params$Resource$Livechatmessages$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveChatMessage>, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
5849
5849
  insert(params: Params$Resource$Livechatmessages$Insert, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
@@ -5856,8 +5856,8 @@ export declare namespace youtube_v3 {
5856
5856
  * @param callback - Optional callback that handles the response.
5857
5857
  * @returns A promise if used with async/await, or void if used with a callback.
5858
5858
  */
5859
- list(params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5860
- list(params?: Params$Resource$Livechatmessages$List, options?: MethodOptions): GaxiosPromise<Schema$LiveChatMessageListResponse>;
5859
+ list(params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5860
+ list(params?: Params$Resource$Livechatmessages$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessageListResponse>>;
5861
5861
  list(params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5862
5862
  list(params: Params$Resource$Livechatmessages$List, options: MethodOptions | BodyResponseCallback<Schema$LiveChatMessageListResponse>, callback: BodyResponseCallback<Schema$LiveChatMessageListResponse>): void;
5863
5863
  list(params: Params$Resource$Livechatmessages$List, callback: BodyResponseCallback<Schema$LiveChatMessageListResponse>): void;
@@ -5870,8 +5870,8 @@ export declare namespace youtube_v3 {
5870
5870
  * @param callback - Optional callback that handles the response.
5871
5871
  * @returns A promise if used with async/await, or void if used with a callback.
5872
5872
  */
5873
- transition(params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions): GaxiosPromise<Readable>;
5874
- transition(params?: Params$Resource$Livechatmessages$Transition, options?: MethodOptions): GaxiosPromise<Schema$LiveChatMessage>;
5873
+ transition(params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5874
+ transition(params?: Params$Resource$Livechatmessages$Transition, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatMessage>>;
5875
5875
  transition(params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5876
5876
  transition(params: Params$Resource$Livechatmessages$Transition, options: MethodOptions | BodyResponseCallback<Schema$LiveChatMessage>, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
5877
5877
  transition(params: Params$Resource$Livechatmessages$Transition, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
@@ -5940,8 +5940,8 @@ export declare namespace youtube_v3 {
5940
5940
  * @param callback - Optional callback that handles the response.
5941
5941
  * @returns A promise if used with async/await, or void if used with a callback.
5942
5942
  */
5943
- delete(params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5944
- delete(params?: Params$Resource$Livechatmoderators$Delete, options?: MethodOptions): GaxiosPromise<void>;
5943
+ delete(params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5944
+ delete(params?: Params$Resource$Livechatmoderators$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
5945
5945
  delete(params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5946
5946
  delete(params: Params$Resource$Livechatmoderators$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5947
5947
  delete(params: Params$Resource$Livechatmoderators$Delete, callback: BodyResponseCallback<void>): void;
@@ -5954,8 +5954,8 @@ export declare namespace youtube_v3 {
5954
5954
  * @param callback - Optional callback that handles the response.
5955
5955
  * @returns A promise if used with async/await, or void if used with a callback.
5956
5956
  */
5957
- insert(params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5958
- insert(params?: Params$Resource$Livechatmoderators$Insert, options?: MethodOptions): GaxiosPromise<Schema$LiveChatModerator>;
5957
+ insert(params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5958
+ insert(params?: Params$Resource$Livechatmoderators$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatModerator>>;
5959
5959
  insert(params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5960
5960
  insert(params: Params$Resource$Livechatmoderators$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveChatModerator>, callback: BodyResponseCallback<Schema$LiveChatModerator>): void;
5961
5961
  insert(params: Params$Resource$Livechatmoderators$Insert, callback: BodyResponseCallback<Schema$LiveChatModerator>): void;
@@ -5968,8 +5968,8 @@ export declare namespace youtube_v3 {
5968
5968
  * @param callback - Optional callback that handles the response.
5969
5969
  * @returns A promise if used with async/await, or void if used with a callback.
5970
5970
  */
5971
- list(params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5972
- list(params?: Params$Resource$Livechatmoderators$List, options?: MethodOptions): GaxiosPromise<Schema$LiveChatModeratorListResponse>;
5971
+ list(params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5972
+ list(params?: Params$Resource$Livechatmoderators$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveChatModeratorListResponse>>;
5973
5973
  list(params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5974
5974
  list(params: Params$Resource$Livechatmoderators$List, options: MethodOptions | BodyResponseCallback<Schema$LiveChatModeratorListResponse>, callback: BodyResponseCallback<Schema$LiveChatModeratorListResponse>): void;
5975
5975
  list(params: Params$Resource$Livechatmoderators$List, callback: BodyResponseCallback<Schema$LiveChatModeratorListResponse>): void;
@@ -6020,8 +6020,8 @@ export declare namespace youtube_v3 {
6020
6020
  * @param callback - Optional callback that handles the response.
6021
6021
  * @returns A promise if used with async/await, or void if used with a callback.
6022
6022
  */
6023
- delete(params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6024
- delete(params?: Params$Resource$Livestreams$Delete, options?: MethodOptions): GaxiosPromise<void>;
6023
+ delete(params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6024
+ delete(params?: Params$Resource$Livestreams$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
6025
6025
  delete(params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6026
6026
  delete(params: Params$Resource$Livestreams$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6027
6027
  delete(params: Params$Resource$Livestreams$Delete, callback: BodyResponseCallback<void>): void;
@@ -6034,8 +6034,8 @@ export declare namespace youtube_v3 {
6034
6034
  * @param callback - Optional callback that handles the response.
6035
6035
  * @returns A promise if used with async/await, or void if used with a callback.
6036
6036
  */
6037
- insert(params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6038
- insert(params?: Params$Resource$Livestreams$Insert, options?: MethodOptions): GaxiosPromise<Schema$LiveStream>;
6037
+ insert(params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6038
+ insert(params?: Params$Resource$Livestreams$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveStream>>;
6039
6039
  insert(params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6040
6040
  insert(params: Params$Resource$Livestreams$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveStream>, callback: BodyResponseCallback<Schema$LiveStream>): void;
6041
6041
  insert(params: Params$Resource$Livestreams$Insert, callback: BodyResponseCallback<Schema$LiveStream>): void;
@@ -6048,8 +6048,8 @@ export declare namespace youtube_v3 {
6048
6048
  * @param callback - Optional callback that handles the response.
6049
6049
  * @returns A promise if used with async/await, or void if used with a callback.
6050
6050
  */
6051
- list(params: Params$Resource$Livestreams$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6052
- list(params?: Params$Resource$Livestreams$List, options?: MethodOptions): GaxiosPromise<Schema$LiveStreamListResponse>;
6051
+ list(params: Params$Resource$Livestreams$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6052
+ list(params?: Params$Resource$Livestreams$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveStreamListResponse>>;
6053
6053
  list(params: Params$Resource$Livestreams$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6054
6054
  list(params: Params$Resource$Livestreams$List, options: MethodOptions | BodyResponseCallback<Schema$LiveStreamListResponse>, callback: BodyResponseCallback<Schema$LiveStreamListResponse>): void;
6055
6055
  list(params: Params$Resource$Livestreams$List, callback: BodyResponseCallback<Schema$LiveStreamListResponse>): void;
@@ -6062,8 +6062,8 @@ export declare namespace youtube_v3 {
6062
6062
  * @param callback - Optional callback that handles the response.
6063
6063
  * @returns A promise if used with async/await, or void if used with a callback.
6064
6064
  */
6065
- update(params: Params$Resource$Livestreams$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6066
- update(params?: Params$Resource$Livestreams$Update, options?: MethodOptions): GaxiosPromise<Schema$LiveStream>;
6065
+ update(params: Params$Resource$Livestreams$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6066
+ update(params?: Params$Resource$Livestreams$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LiveStream>>;
6067
6067
  update(params: Params$Resource$Livestreams$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6068
6068
  update(params: Params$Resource$Livestreams$Update, options: MethodOptions | BodyResponseCallback<Schema$LiveStream>, callback: BodyResponseCallback<Schema$LiveStream>): void;
6069
6069
  update(params: Params$Resource$Livestreams$Update, callback: BodyResponseCallback<Schema$LiveStream>): void;
@@ -6160,8 +6160,8 @@ export declare namespace youtube_v3 {
6160
6160
  * @param callback - Optional callback that handles the response.
6161
6161
  * @returns A promise if used with async/await, or void if used with a callback.
6162
6162
  */
6163
- list(params: Params$Resource$Members$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6164
- list(params?: Params$Resource$Members$List, options?: MethodOptions): GaxiosPromise<Schema$MemberListResponse>;
6163
+ list(params: Params$Resource$Members$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6164
+ list(params?: Params$Resource$Members$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$MemberListResponse>>;
6165
6165
  list(params: Params$Resource$Members$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6166
6166
  list(params: Params$Resource$Members$List, options: MethodOptions | BodyResponseCallback<Schema$MemberListResponse>, callback: BodyResponseCallback<Schema$MemberListResponse>): void;
6167
6167
  list(params: Params$Resource$Members$List, callback: BodyResponseCallback<Schema$MemberListResponse>): void;
@@ -6204,8 +6204,8 @@ export declare namespace youtube_v3 {
6204
6204
  * @param callback - Optional callback that handles the response.
6205
6205
  * @returns A promise if used with async/await, or void if used with a callback.
6206
6206
  */
6207
- list(params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6208
- list(params?: Params$Resource$Membershipslevels$List, options?: MethodOptions): GaxiosPromise<Schema$MembershipsLevelListResponse>;
6207
+ list(params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6208
+ list(params?: Params$Resource$Membershipslevels$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$MembershipsLevelListResponse>>;
6209
6209
  list(params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6210
6210
  list(params: Params$Resource$Membershipslevels$List, options: MethodOptions | BodyResponseCallback<Schema$MembershipsLevelListResponse>, callback: BodyResponseCallback<Schema$MembershipsLevelListResponse>): void;
6211
6211
  list(params: Params$Resource$Membershipslevels$List, callback: BodyResponseCallback<Schema$MembershipsLevelListResponse>): void;
@@ -6228,8 +6228,8 @@ export declare namespace youtube_v3 {
6228
6228
  * @param callback - Optional callback that handles the response.
6229
6229
  * @returns A promise if used with async/await, or void if used with a callback.
6230
6230
  */
6231
- delete(params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6232
- delete(params?: Params$Resource$Playlistimages$Delete, options?: MethodOptions): GaxiosPromise<void>;
6231
+ delete(params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6232
+ delete(params?: Params$Resource$Playlistimages$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
6233
6233
  delete(params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6234
6234
  delete(params: Params$Resource$Playlistimages$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6235
6235
  delete(params: Params$Resource$Playlistimages$Delete, callback: BodyResponseCallback<void>): void;
@@ -6242,8 +6242,8 @@ export declare namespace youtube_v3 {
6242
6242
  * @param callback - Optional callback that handles the response.
6243
6243
  * @returns A promise if used with async/await, or void if used with a callback.
6244
6244
  */
6245
- insert(params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6246
- insert(params?: Params$Resource$Playlistimages$Insert, options?: MethodOptions): GaxiosPromise<Schema$PlaylistImage>;
6245
+ insert(params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6246
+ insert(params?: Params$Resource$Playlistimages$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImage>>;
6247
6247
  insert(params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6248
6248
  insert(params: Params$Resource$Playlistimages$Insert, options: MethodOptions | BodyResponseCallback<Schema$PlaylistImage>, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
6249
6249
  insert(params: Params$Resource$Playlistimages$Insert, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
@@ -6256,8 +6256,8 @@ export declare namespace youtube_v3 {
6256
6256
  * @param callback - Optional callback that handles the response.
6257
6257
  * @returns A promise if used with async/await, or void if used with a callback.
6258
6258
  */
6259
- list(params: Params$Resource$Playlistimages$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6260
- list(params?: Params$Resource$Playlistimages$List, options?: MethodOptions): GaxiosPromise<Schema$PlaylistImageListResponse>;
6259
+ list(params: Params$Resource$Playlistimages$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6260
+ list(params?: Params$Resource$Playlistimages$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImageListResponse>>;
6261
6261
  list(params: Params$Resource$Playlistimages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6262
6262
  list(params: Params$Resource$Playlistimages$List, options: MethodOptions | BodyResponseCallback<Schema$PlaylistImageListResponse>, callback: BodyResponseCallback<Schema$PlaylistImageListResponse>): void;
6263
6263
  list(params: Params$Resource$Playlistimages$List, callback: BodyResponseCallback<Schema$PlaylistImageListResponse>): void;
@@ -6270,8 +6270,8 @@ export declare namespace youtube_v3 {
6270
6270
  * @param callback - Optional callback that handles the response.
6271
6271
  * @returns A promise if used with async/await, or void if used with a callback.
6272
6272
  */
6273
- update(params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6274
- update(params?: Params$Resource$Playlistimages$Update, options?: MethodOptions): GaxiosPromise<Schema$PlaylistImage>;
6273
+ update(params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6274
+ update(params?: Params$Resource$Playlistimages$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistImage>>;
6275
6275
  update(params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6276
6276
  update(params: Params$Resource$Playlistimages$Update, options: MethodOptions | BodyResponseCallback<Schema$PlaylistImage>, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
6277
6277
  update(params: Params$Resource$Playlistimages$Update, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
@@ -6382,8 +6382,8 @@ export declare namespace youtube_v3 {
6382
6382
  * @param callback - Optional callback that handles the response.
6383
6383
  * @returns A promise if used with async/await, or void if used with a callback.
6384
6384
  */
6385
- delete(params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6386
- delete(params?: Params$Resource$Playlistitems$Delete, options?: MethodOptions): GaxiosPromise<void>;
6385
+ delete(params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6386
+ delete(params?: Params$Resource$Playlistitems$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
6387
6387
  delete(params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6388
6388
  delete(params: Params$Resource$Playlistitems$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6389
6389
  delete(params: Params$Resource$Playlistitems$Delete, callback: BodyResponseCallback<void>): void;
@@ -6396,8 +6396,8 @@ export declare namespace youtube_v3 {
6396
6396
  * @param callback - Optional callback that handles the response.
6397
6397
  * @returns A promise if used with async/await, or void if used with a callback.
6398
6398
  */
6399
- insert(params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6400
- insert(params?: Params$Resource$Playlistitems$Insert, options?: MethodOptions): GaxiosPromise<Schema$PlaylistItem>;
6399
+ insert(params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6400
+ insert(params?: Params$Resource$Playlistitems$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItem>>;
6401
6401
  insert(params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6402
6402
  insert(params: Params$Resource$Playlistitems$Insert, options: MethodOptions | BodyResponseCallback<Schema$PlaylistItem>, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
6403
6403
  insert(params: Params$Resource$Playlistitems$Insert, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
@@ -6410,8 +6410,8 @@ export declare namespace youtube_v3 {
6410
6410
  * @param callback - Optional callback that handles the response.
6411
6411
  * @returns A promise if used with async/await, or void if used with a callback.
6412
6412
  */
6413
- list(params: Params$Resource$Playlistitems$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6414
- list(params?: Params$Resource$Playlistitems$List, options?: MethodOptions): GaxiosPromise<Schema$PlaylistItemListResponse>;
6413
+ list(params: Params$Resource$Playlistitems$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6414
+ list(params?: Params$Resource$Playlistitems$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItemListResponse>>;
6415
6415
  list(params: Params$Resource$Playlistitems$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6416
6416
  list(params: Params$Resource$Playlistitems$List, options: MethodOptions | BodyResponseCallback<Schema$PlaylistItemListResponse>, callback: BodyResponseCallback<Schema$PlaylistItemListResponse>): void;
6417
6417
  list(params: Params$Resource$Playlistitems$List, callback: BodyResponseCallback<Schema$PlaylistItemListResponse>): void;
@@ -6424,8 +6424,8 @@ export declare namespace youtube_v3 {
6424
6424
  * @param callback - Optional callback that handles the response.
6425
6425
  * @returns A promise if used with async/await, or void if used with a callback.
6426
6426
  */
6427
- update(params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6428
- update(params?: Params$Resource$Playlistitems$Update, options?: MethodOptions): GaxiosPromise<Schema$PlaylistItem>;
6427
+ update(params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6428
+ update(params?: Params$Resource$Playlistitems$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistItem>>;
6429
6429
  update(params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6430
6430
  update(params: Params$Resource$Playlistitems$Update, options: MethodOptions | BodyResponseCallback<Schema$PlaylistItem>, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
6431
6431
  update(params: Params$Resource$Playlistitems$Update, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
@@ -6510,8 +6510,8 @@ export declare namespace youtube_v3 {
6510
6510
  * @param callback - Optional callback that handles the response.
6511
6511
  * @returns A promise if used with async/await, or void if used with a callback.
6512
6512
  */
6513
- delete(params: Params$Resource$Playlists$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6514
- delete(params?: Params$Resource$Playlists$Delete, options?: MethodOptions): GaxiosPromise<void>;
6513
+ delete(params: Params$Resource$Playlists$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6514
+ delete(params?: Params$Resource$Playlists$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
6515
6515
  delete(params: Params$Resource$Playlists$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6516
6516
  delete(params: Params$Resource$Playlists$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6517
6517
  delete(params: Params$Resource$Playlists$Delete, callback: BodyResponseCallback<void>): void;
@@ -6524,8 +6524,8 @@ export declare namespace youtube_v3 {
6524
6524
  * @param callback - Optional callback that handles the response.
6525
6525
  * @returns A promise if used with async/await, or void if used with a callback.
6526
6526
  */
6527
- insert(params: Params$Resource$Playlists$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6528
- insert(params?: Params$Resource$Playlists$Insert, options?: MethodOptions): GaxiosPromise<Schema$Playlist>;
6527
+ insert(params: Params$Resource$Playlists$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6528
+ insert(params?: Params$Resource$Playlists$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Playlist>>;
6529
6529
  insert(params: Params$Resource$Playlists$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6530
6530
  insert(params: Params$Resource$Playlists$Insert, options: MethodOptions | BodyResponseCallback<Schema$Playlist>, callback: BodyResponseCallback<Schema$Playlist>): void;
6531
6531
  insert(params: Params$Resource$Playlists$Insert, callback: BodyResponseCallback<Schema$Playlist>): void;
@@ -6538,8 +6538,8 @@ export declare namespace youtube_v3 {
6538
6538
  * @param callback - Optional callback that handles the response.
6539
6539
  * @returns A promise if used with async/await, or void if used with a callback.
6540
6540
  */
6541
- list(params: Params$Resource$Playlists$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6542
- list(params?: Params$Resource$Playlists$List, options?: MethodOptions): GaxiosPromise<Schema$PlaylistListResponse>;
6541
+ list(params: Params$Resource$Playlists$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6542
+ list(params?: Params$Resource$Playlists$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PlaylistListResponse>>;
6543
6543
  list(params: Params$Resource$Playlists$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6544
6544
  list(params: Params$Resource$Playlists$List, options: MethodOptions | BodyResponseCallback<Schema$PlaylistListResponse>, callback: BodyResponseCallback<Schema$PlaylistListResponse>): void;
6545
6545
  list(params: Params$Resource$Playlists$List, callback: BodyResponseCallback<Schema$PlaylistListResponse>): void;
@@ -6552,8 +6552,8 @@ export declare namespace youtube_v3 {
6552
6552
  * @param callback - Optional callback that handles the response.
6553
6553
  * @returns A promise if used with async/await, or void if used with a callback.
6554
6554
  */
6555
- update(params: Params$Resource$Playlists$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6556
- update(params?: Params$Resource$Playlists$Update, options?: MethodOptions): GaxiosPromise<Schema$Playlist>;
6555
+ update(params: Params$Resource$Playlists$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6556
+ update(params?: Params$Resource$Playlists$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Playlist>>;
6557
6557
  update(params: Params$Resource$Playlists$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6558
6558
  update(params: Params$Resource$Playlists$Update, options: MethodOptions | BodyResponseCallback<Schema$Playlist>, callback: BodyResponseCallback<Schema$Playlist>): void;
6559
6559
  update(params: Params$Resource$Playlists$Update, callback: BodyResponseCallback<Schema$Playlist>): void;
@@ -6650,8 +6650,8 @@ export declare namespace youtube_v3 {
6650
6650
  * @param callback - Optional callback that handles the response.
6651
6651
  * @returns A promise if used with async/await, or void if used with a callback.
6652
6652
  */
6653
- list(params: Params$Resource$Search$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6654
- list(params?: Params$Resource$Search$List, options?: MethodOptions): GaxiosPromise<Schema$SearchListResponse>;
6653
+ list(params: Params$Resource$Search$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6654
+ list(params?: Params$Resource$Search$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SearchListResponse>>;
6655
6655
  list(params: Params$Resource$Search$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6656
6656
  list(params: Params$Resource$Search$List, options: MethodOptions | BodyResponseCallback<Schema$SearchListResponse>, callback: BodyResponseCallback<Schema$SearchListResponse>): void;
6657
6657
  list(params: Params$Resource$Search$List, callback: BodyResponseCallback<Schema$SearchListResponse>): void;
@@ -6794,8 +6794,8 @@ export declare namespace youtube_v3 {
6794
6794
  * @param callback - Optional callback that handles the response.
6795
6795
  * @returns A promise if used with async/await, or void if used with a callback.
6796
6796
  */
6797
- delete(params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6798
- delete(params?: Params$Resource$Subscriptions$Delete, options?: MethodOptions): GaxiosPromise<void>;
6797
+ delete(params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6798
+ delete(params?: Params$Resource$Subscriptions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
6799
6799
  delete(params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6800
6800
  delete(params: Params$Resource$Subscriptions$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6801
6801
  delete(params: Params$Resource$Subscriptions$Delete, callback: BodyResponseCallback<void>): void;
@@ -6808,8 +6808,8 @@ export declare namespace youtube_v3 {
6808
6808
  * @param callback - Optional callback that handles the response.
6809
6809
  * @returns A promise if used with async/await, or void if used with a callback.
6810
6810
  */
6811
- insert(params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6812
- insert(params?: Params$Resource$Subscriptions$Insert, options?: MethodOptions): GaxiosPromise<Schema$Subscription>;
6811
+ insert(params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6812
+ insert(params?: Params$Resource$Subscriptions$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Subscription>>;
6813
6813
  insert(params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6814
6814
  insert(params: Params$Resource$Subscriptions$Insert, options: MethodOptions | BodyResponseCallback<Schema$Subscription>, callback: BodyResponseCallback<Schema$Subscription>): void;
6815
6815
  insert(params: Params$Resource$Subscriptions$Insert, callback: BodyResponseCallback<Schema$Subscription>): void;
@@ -6822,8 +6822,8 @@ export declare namespace youtube_v3 {
6822
6822
  * @param callback - Optional callback that handles the response.
6823
6823
  * @returns A promise if used with async/await, or void if used with a callback.
6824
6824
  */
6825
- list(params: Params$Resource$Subscriptions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6826
- list(params?: Params$Resource$Subscriptions$List, options?: MethodOptions): GaxiosPromise<Schema$SubscriptionListResponse>;
6825
+ list(params: Params$Resource$Subscriptions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6826
+ list(params?: Params$Resource$Subscriptions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SubscriptionListResponse>>;
6827
6827
  list(params: Params$Resource$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6828
6828
  list(params: Params$Resource$Subscriptions$List, options: MethodOptions | BodyResponseCallback<Schema$SubscriptionListResponse>, callback: BodyResponseCallback<Schema$SubscriptionListResponse>): void;
6829
6829
  list(params: Params$Resource$Subscriptions$List, callback: BodyResponseCallback<Schema$SubscriptionListResponse>): void;
@@ -6906,8 +6906,8 @@ export declare namespace youtube_v3 {
6906
6906
  * @param callback - Optional callback that handles the response.
6907
6907
  * @returns A promise if used with async/await, or void if used with a callback.
6908
6908
  */
6909
- list(params: Params$Resource$Superchatevents$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6910
- list(params?: Params$Resource$Superchatevents$List, options?: MethodOptions): GaxiosPromise<Schema$SuperChatEventListResponse>;
6909
+ list(params: Params$Resource$Superchatevents$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6910
+ list(params?: Params$Resource$Superchatevents$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SuperChatEventListResponse>>;
6911
6911
  list(params: Params$Resource$Superchatevents$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6912
6912
  list(params: Params$Resource$Superchatevents$List, options: MethodOptions | BodyResponseCallback<Schema$SuperChatEventListResponse>, callback: BodyResponseCallback<Schema$SuperChatEventListResponse>): void;
6913
6913
  list(params: Params$Resource$Superchatevents$List, callback: BodyResponseCallback<Schema$SuperChatEventListResponse>): void;
@@ -6942,8 +6942,8 @@ export declare namespace youtube_v3 {
6942
6942
  * @param callback - Optional callback that handles the response.
6943
6943
  * @returns A promise if used with async/await, or void if used with a callback.
6944
6944
  */
6945
- insert(params: Params$Resource$Tests$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6946
- insert(params?: Params$Resource$Tests$Insert, options?: MethodOptions): GaxiosPromise<Schema$TestItem>;
6945
+ insert(params: Params$Resource$Tests$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6946
+ insert(params?: Params$Resource$Tests$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestItem>>;
6947
6947
  insert(params: Params$Resource$Tests$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6948
6948
  insert(params: Params$Resource$Tests$Insert, options: MethodOptions | BodyResponseCallback<Schema$TestItem>, callback: BodyResponseCallback<Schema$TestItem>): void;
6949
6949
  insert(params: Params$Resource$Tests$Insert, callback: BodyResponseCallback<Schema$TestItem>): void;
@@ -6974,8 +6974,8 @@ export declare namespace youtube_v3 {
6974
6974
  * @param callback - Optional callback that handles the response.
6975
6975
  * @returns A promise if used with async/await, or void if used with a callback.
6976
6976
  */
6977
- delete(params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6978
- delete(params?: Params$Resource$Thirdpartylinks$Delete, options?: MethodOptions): GaxiosPromise<void>;
6977
+ delete(params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6978
+ delete(params?: Params$Resource$Thirdpartylinks$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
6979
6979
  delete(params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6980
6980
  delete(params: Params$Resource$Thirdpartylinks$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6981
6981
  delete(params: Params$Resource$Thirdpartylinks$Delete, callback: BodyResponseCallback<void>): void;
@@ -6988,8 +6988,8 @@ export declare namespace youtube_v3 {
6988
6988
  * @param callback - Optional callback that handles the response.
6989
6989
  * @returns A promise if used with async/await, or void if used with a callback.
6990
6990
  */
6991
- insert(params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6992
- insert(params?: Params$Resource$Thirdpartylinks$Insert, options?: MethodOptions): GaxiosPromise<Schema$ThirdPartyLink>;
6991
+ insert(params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6992
+ insert(params?: Params$Resource$Thirdpartylinks$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLink>>;
6993
6993
  insert(params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6994
6994
  insert(params: Params$Resource$Thirdpartylinks$Insert, options: MethodOptions | BodyResponseCallback<Schema$ThirdPartyLink>, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
6995
6995
  insert(params: Params$Resource$Thirdpartylinks$Insert, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
@@ -7002,8 +7002,8 @@ export declare namespace youtube_v3 {
7002
7002
  * @param callback - Optional callback that handles the response.
7003
7003
  * @returns A promise if used with async/await, or void if used with a callback.
7004
7004
  */
7005
- list(params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7006
- list(params?: Params$Resource$Thirdpartylinks$List, options?: MethodOptions): GaxiosPromise<Schema$ThirdPartyLinkListResponse>;
7005
+ list(params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7006
+ list(params?: Params$Resource$Thirdpartylinks$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLinkListResponse>>;
7007
7007
  list(params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7008
7008
  list(params: Params$Resource$Thirdpartylinks$List, options: MethodOptions | BodyResponseCallback<Schema$ThirdPartyLinkListResponse>, callback: BodyResponseCallback<Schema$ThirdPartyLinkListResponse>): void;
7009
7009
  list(params: Params$Resource$Thirdpartylinks$List, callback: BodyResponseCallback<Schema$ThirdPartyLinkListResponse>): void;
@@ -7016,8 +7016,8 @@ export declare namespace youtube_v3 {
7016
7016
  * @param callback - Optional callback that handles the response.
7017
7017
  * @returns A promise if used with async/await, or void if used with a callback.
7018
7018
  */
7019
- update(params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
7020
- update(params?: Params$Resource$Thirdpartylinks$Update, options?: MethodOptions): GaxiosPromise<Schema$ThirdPartyLink>;
7019
+ update(params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7020
+ update(params?: Params$Resource$Thirdpartylinks$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ThirdPartyLink>>;
7021
7021
  update(params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7022
7022
  update(params: Params$Resource$Thirdpartylinks$Update, options: MethodOptions | BodyResponseCallback<Schema$ThirdPartyLink>, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
7023
7023
  update(params: Params$Resource$Thirdpartylinks$Update, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
@@ -7098,8 +7098,8 @@ export declare namespace youtube_v3 {
7098
7098
  * @param callback - Optional callback that handles the response.
7099
7099
  * @returns A promise if used with async/await, or void if used with a callback.
7100
7100
  */
7101
- set(params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions): GaxiosPromise<Readable>;
7102
- set(params?: Params$Resource$Thumbnails$Set, options?: MethodOptions): GaxiosPromise<Schema$ThumbnailSetResponse>;
7101
+ set(params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7102
+ set(params?: Params$Resource$Thumbnails$Set, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ThumbnailSetResponse>>;
7103
7103
  set(params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7104
7104
  set(params: Params$Resource$Thumbnails$Set, options: MethodOptions | BodyResponseCallback<Schema$ThumbnailSetResponse>, callback: BodyResponseCallback<Schema$ThumbnailSetResponse>): void;
7105
7105
  set(params: Params$Resource$Thumbnails$Set, callback: BodyResponseCallback<Schema$ThumbnailSetResponse>): void;
@@ -7143,8 +7143,8 @@ export declare namespace youtube_v3 {
7143
7143
  * @param callback - Optional callback that handles the response.
7144
7144
  * @returns A promise if used with async/await, or void if used with a callback.
7145
7145
  */
7146
- list(params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7147
- list(params?: Params$Resource$Videoabusereportreasons$List, options?: MethodOptions): GaxiosPromise<Schema$VideoAbuseReportReasonListResponse>;
7146
+ list(params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7147
+ list(params?: Params$Resource$Videoabusereportreasons$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VideoAbuseReportReasonListResponse>>;
7148
7148
  list(params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7149
7149
  list(params: Params$Resource$Videoabusereportreasons$List, options: MethodOptions | BodyResponseCallback<Schema$VideoAbuseReportReasonListResponse>, callback: BodyResponseCallback<Schema$VideoAbuseReportReasonListResponse>): void;
7150
7150
  list(params: Params$Resource$Videoabusereportreasons$List, callback: BodyResponseCallback<Schema$VideoAbuseReportReasonListResponse>): void;
@@ -7171,8 +7171,8 @@ export declare namespace youtube_v3 {
7171
7171
  * @param callback - Optional callback that handles the response.
7172
7172
  * @returns A promise if used with async/await, or void if used with a callback.
7173
7173
  */
7174
- list(params: Params$Resource$Videocategories$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7175
- list(params?: Params$Resource$Videocategories$List, options?: MethodOptions): GaxiosPromise<Schema$VideoCategoryListResponse>;
7174
+ list(params: Params$Resource$Videocategories$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7175
+ list(params?: Params$Resource$Videocategories$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VideoCategoryListResponse>>;
7176
7176
  list(params: Params$Resource$Videocategories$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7177
7177
  list(params: Params$Resource$Videocategories$List, options: MethodOptions | BodyResponseCallback<Schema$VideoCategoryListResponse>, callback: BodyResponseCallback<Schema$VideoCategoryListResponse>): void;
7178
7178
  list(params: Params$Resource$Videocategories$List, callback: BodyResponseCallback<Schema$VideoCategoryListResponse>): void;
@@ -7207,8 +7207,8 @@ export declare namespace youtube_v3 {
7207
7207
  * @param callback - Optional callback that handles the response.
7208
7208
  * @returns A promise if used with async/await, or void if used with a callback.
7209
7209
  */
7210
- delete(params: Params$Resource$Videos$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
7211
- delete(params?: Params$Resource$Videos$Delete, options?: MethodOptions): GaxiosPromise<void>;
7210
+ delete(params: Params$Resource$Videos$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7211
+ delete(params?: Params$Resource$Videos$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
7212
7212
  delete(params: Params$Resource$Videos$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7213
7213
  delete(params: Params$Resource$Videos$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7214
7214
  delete(params: Params$Resource$Videos$Delete, callback: BodyResponseCallback<void>): void;
@@ -7221,8 +7221,8 @@ export declare namespace youtube_v3 {
7221
7221
  * @param callback - Optional callback that handles the response.
7222
7222
  * @returns A promise if used with async/await, or void if used with a callback.
7223
7223
  */
7224
- getRating(params: Params$Resource$Videos$Getrating, options: StreamMethodOptions): GaxiosPromise<Readable>;
7225
- getRating(params?: Params$Resource$Videos$Getrating, options?: MethodOptions): GaxiosPromise<Schema$VideoGetRatingResponse>;
7224
+ getRating(params: Params$Resource$Videos$Getrating, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7225
+ getRating(params?: Params$Resource$Videos$Getrating, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VideoGetRatingResponse>>;
7226
7226
  getRating(params: Params$Resource$Videos$Getrating, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7227
7227
  getRating(params: Params$Resource$Videos$Getrating, options: MethodOptions | BodyResponseCallback<Schema$VideoGetRatingResponse>, callback: BodyResponseCallback<Schema$VideoGetRatingResponse>): void;
7228
7228
  getRating(params: Params$Resource$Videos$Getrating, callback: BodyResponseCallback<Schema$VideoGetRatingResponse>): void;
@@ -7235,8 +7235,8 @@ export declare namespace youtube_v3 {
7235
7235
  * @param callback - Optional callback that handles the response.
7236
7236
  * @returns A promise if used with async/await, or void if used with a callback.
7237
7237
  */
7238
- insert(params: Params$Resource$Videos$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
7239
- insert(params?: Params$Resource$Videos$Insert, options?: MethodOptions): GaxiosPromise<Schema$Video>;
7238
+ insert(params: Params$Resource$Videos$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7239
+ insert(params?: Params$Resource$Videos$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Video>>;
7240
7240
  insert(params: Params$Resource$Videos$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7241
7241
  insert(params: Params$Resource$Videos$Insert, options: MethodOptions | BodyResponseCallback<Schema$Video>, callback: BodyResponseCallback<Schema$Video>): void;
7242
7242
  insert(params: Params$Resource$Videos$Insert, callback: BodyResponseCallback<Schema$Video>): void;
@@ -7249,8 +7249,8 @@ export declare namespace youtube_v3 {
7249
7249
  * @param callback - Optional callback that handles the response.
7250
7250
  * @returns A promise if used with async/await, or void if used with a callback.
7251
7251
  */
7252
- list(params: Params$Resource$Videos$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7253
- list(params?: Params$Resource$Videos$List, options?: MethodOptions): GaxiosPromise<Schema$VideoListResponse>;
7252
+ list(params: Params$Resource$Videos$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7253
+ list(params?: Params$Resource$Videos$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VideoListResponse>>;
7254
7254
  list(params: Params$Resource$Videos$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7255
7255
  list(params: Params$Resource$Videos$List, options: MethodOptions | BodyResponseCallback<Schema$VideoListResponse>, callback: BodyResponseCallback<Schema$VideoListResponse>): void;
7256
7256
  list(params: Params$Resource$Videos$List, callback: BodyResponseCallback<Schema$VideoListResponse>): void;
@@ -7263,8 +7263,8 @@ export declare namespace youtube_v3 {
7263
7263
  * @param callback - Optional callback that handles the response.
7264
7264
  * @returns A promise if used with async/await, or void if used with a callback.
7265
7265
  */
7266
- rate(params: Params$Resource$Videos$Rate, options: StreamMethodOptions): GaxiosPromise<Readable>;
7267
- rate(params?: Params$Resource$Videos$Rate, options?: MethodOptions): GaxiosPromise<void>;
7266
+ rate(params: Params$Resource$Videos$Rate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7267
+ rate(params?: Params$Resource$Videos$Rate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
7268
7268
  rate(params: Params$Resource$Videos$Rate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7269
7269
  rate(params: Params$Resource$Videos$Rate, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7270
7270
  rate(params: Params$Resource$Videos$Rate, callback: BodyResponseCallback<void>): void;
@@ -7277,8 +7277,8 @@ export declare namespace youtube_v3 {
7277
7277
  * @param callback - Optional callback that handles the response.
7278
7278
  * @returns A promise if used with async/await, or void if used with a callback.
7279
7279
  */
7280
- reportAbuse(params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions): GaxiosPromise<Readable>;
7281
- reportAbuse(params?: Params$Resource$Videos$Reportabuse, options?: MethodOptions): GaxiosPromise<void>;
7280
+ reportAbuse(params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7281
+ reportAbuse(params?: Params$Resource$Videos$Reportabuse, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
7282
7282
  reportAbuse(params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7283
7283
  reportAbuse(params: Params$Resource$Videos$Reportabuse, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7284
7284
  reportAbuse(params: Params$Resource$Videos$Reportabuse, callback: BodyResponseCallback<void>): void;
@@ -7291,8 +7291,8 @@ export declare namespace youtube_v3 {
7291
7291
  * @param callback - Optional callback that handles the response.
7292
7292
  * @returns A promise if used with async/await, or void if used with a callback.
7293
7293
  */
7294
- update(params: Params$Resource$Videos$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
7295
- update(params?: Params$Resource$Videos$Update, options?: MethodOptions): GaxiosPromise<Schema$Video>;
7294
+ update(params: Params$Resource$Videos$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7295
+ update(params?: Params$Resource$Videos$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Video>>;
7296
7296
  update(params: Params$Resource$Videos$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7297
7297
  update(params: Params$Resource$Videos$Update, options: MethodOptions | BodyResponseCallback<Schema$Video>, callback: BodyResponseCallback<Schema$Video>): void;
7298
7298
  update(params: Params$Resource$Videos$Update, callback: BodyResponseCallback<Schema$Video>): void;
@@ -7460,8 +7460,8 @@ export declare namespace youtube_v3 {
7460
7460
  * @param callback - Optional callback that handles the response.
7461
7461
  * @returns A promise if used with async/await, or void if used with a callback.
7462
7462
  */
7463
- get(params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
7464
- get(params?: Params$Resource$Videotrainability$Get, options?: MethodOptions): GaxiosPromise<Schema$VideoTrainability>;
7463
+ get(params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7464
+ get(params?: Params$Resource$Videotrainability$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VideoTrainability>>;
7465
7465
  get(params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7466
7466
  get(params: Params$Resource$Videotrainability$Get, options: MethodOptions | BodyResponseCallback<Schema$VideoTrainability>, callback: BodyResponseCallback<Schema$VideoTrainability>): void;
7467
7467
  get(params: Params$Resource$Videotrainability$Get, callback: BodyResponseCallback<Schema$VideoTrainability>): void;
@@ -7484,8 +7484,8 @@ export declare namespace youtube_v3 {
7484
7484
  * @param callback - Optional callback that handles the response.
7485
7485
  * @returns A promise if used with async/await, or void if used with a callback.
7486
7486
  */
7487
- set(params: Params$Resource$Watermarks$Set, options: StreamMethodOptions): GaxiosPromise<Readable>;
7488
- set(params?: Params$Resource$Watermarks$Set, options?: MethodOptions): GaxiosPromise<void>;
7487
+ set(params: Params$Resource$Watermarks$Set, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7488
+ set(params?: Params$Resource$Watermarks$Set, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
7489
7489
  set(params: Params$Resource$Watermarks$Set, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7490
7490
  set(params: Params$Resource$Watermarks$Set, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7491
7491
  set(params: Params$Resource$Watermarks$Set, callback: BodyResponseCallback<void>): void;
@@ -7498,8 +7498,8 @@ export declare namespace youtube_v3 {
7498
7498
  * @param callback - Optional callback that handles the response.
7499
7499
  * @returns A promise if used with async/await, or void if used with a callback.
7500
7500
  */
7501
- unset(params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions): GaxiosPromise<Readable>;
7502
- unset(params?: Params$Resource$Watermarks$Unset, options?: MethodOptions): GaxiosPromise<void>;
7501
+ unset(params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7502
+ unset(params?: Params$Resource$Watermarks$Unset, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
7503
7503
  unset(params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7504
7504
  unset(params: Params$Resource$Watermarks$Unset, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7505
7505
  unset(params: Params$Resource$Watermarks$Unset, callback: BodyResponseCallback<void>): void;
@@ -7558,8 +7558,8 @@ export declare namespace youtube_v3 {
7558
7558
  * @param callback - Optional callback that handles the response.
7559
7559
  * @returns A promise if used with async/await, or void if used with a callback.
7560
7560
  */
7561
- updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions): GaxiosPromise<Readable>;
7562
- updateCommentThreads(params?: Params$Resource$Youtube$V3$Updatecommentthreads, options?: MethodOptions): GaxiosPromise<Schema$CommentThread>;
7561
+ updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7562
+ updateCommentThreads(params?: Params$Resource$Youtube$V3$Updatecommentthreads, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommentThread>>;
7563
7563
  updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7564
7564
  updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: MethodOptions | BodyResponseCallback<Schema$CommentThread>, callback: BodyResponseCallback<Schema$CommentThread>): void;
7565
7565
  updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, callback: BodyResponseCallback<Schema$CommentThread>): void;