@googleapis/youtube 25.0.0 → 26.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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 {
@@ -1179,7 +1179,7 @@ export declare namespace youtube_v3 {
1179
1179
  */
1180
1180
  canRate?: boolean | null;
1181
1181
  /**
1182
- * The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.
1182
+ * The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel.
1183
1183
  */
1184
1184
  channelId?: string | null;
1185
1185
  /**
@@ -1191,9 +1191,13 @@ export declare namespace youtube_v3 {
1191
1191
  */
1192
1192
  moderationStatus?: string | null;
1193
1193
  /**
1194
- * The unique id of the parent comment, only set for replies.
1194
+ * The unique id of the top-level comment, only set for replies.
1195
1195
  */
1196
1196
  parentId?: string | null;
1197
+ /**
1198
+ * The ID of the post the comment refers to, if any.
1199
+ */
1200
+ postId?: string | null;
1197
1201
  /**
1198
1202
  * The date and time when the comment was originally published.
1199
1203
  */
@@ -1220,9 +1224,12 @@ export declare namespace youtube_v3 {
1220
1224
  viewerRating?: string | null;
1221
1225
  }
1222
1226
  /**
1223
- * The id of the author's YouTube channel, if any.
1227
+ * Contains the id of the author's YouTube channel, if any.
1224
1228
  */
1225
1229
  export interface Schema$CommentSnippetAuthorChannelId {
1230
+ /**
1231
+ * The id of the author's YouTube channel.
1232
+ */
1226
1233
  value?: string | null;
1227
1234
  }
1228
1235
  /**
@@ -1299,13 +1306,17 @@ export declare namespace youtube_v3 {
1299
1306
  */
1300
1307
  canReply?: boolean | null;
1301
1308
  /**
1302
- * The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.
1309
+ * The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If neither video_id nor post_id is set the comments refer to the channel itself.
1303
1310
  */
1304
1311
  channelId?: string | null;
1305
1312
  /**
1306
1313
  * Whether the thread (and therefore all its comments) is visible to all YouTube users.
1307
1314
  */
1308
1315
  isPublic?: boolean | null;
1316
+ /**
1317
+ * The ID of the post the comments refer to, if any.
1318
+ */
1319
+ postId?: string | null;
1309
1320
  /**
1310
1321
  * The top level comment of this thread.
1311
1322
  */
@@ -1315,7 +1326,7 @@ export declare namespace youtube_v3 {
1315
1326
  */
1316
1327
  totalReplyCount?: number | null;
1317
1328
  /**
1318
- * The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
1329
+ * The ID of the video the comments refer to, if any.
1319
1330
  */
1320
1331
  videoId?: string | null;
1321
1332
  }
@@ -4646,8 +4657,8 @@ export declare namespace youtube_v3 {
4646
4657
  * @param callback - Optional callback that handles the response.
4647
4658
  * @returns A promise if used with async/await, or void if used with a callback.
4648
4659
  */
4649
- insert(params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
4650
- 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>>;
4651
4662
  insert(params: Params$Resource$Abusereports$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4652
4663
  insert(params: Params$Resource$Abusereports$Insert, options: MethodOptions | BodyResponseCallback<Schema$AbuseReport>, callback: BodyResponseCallback<Schema$AbuseReport>): void;
4653
4664
  insert(params: Params$Resource$Abusereports$Insert, callback: BodyResponseCallback<Schema$AbuseReport>): void;
@@ -4674,8 +4685,8 @@ export declare namespace youtube_v3 {
4674
4685
  * @param callback - Optional callback that handles the response.
4675
4686
  * @returns A promise if used with async/await, or void if used with a callback.
4676
4687
  */
4677
- list(params: Params$Resource$Activities$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4678
- 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>>;
4679
4690
  list(params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4680
4691
  list(params: Params$Resource$Activities$List, options: MethodOptions | BodyResponseCallback<Schema$ActivityListResponse>, callback: BodyResponseCallback<Schema$ActivityListResponse>): void;
4681
4692
  list(params: Params$Resource$Activities$List, callback: BodyResponseCallback<Schema$ActivityListResponse>): void;
@@ -4730,8 +4741,8 @@ export declare namespace youtube_v3 {
4730
4741
  * @param callback - Optional callback that handles the response.
4731
4742
  * @returns A promise if used with async/await, or void if used with a callback.
4732
4743
  */
4733
- delete(params: Params$Resource$Captions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4734
- 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>>;
4735
4746
  delete(params: Params$Resource$Captions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4736
4747
  delete(params: Params$Resource$Captions$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
4737
4748
  delete(params: Params$Resource$Captions$Delete, callback: BodyResponseCallback<void>): void;
@@ -4744,8 +4755,8 @@ export declare namespace youtube_v3 {
4744
4755
  * @param callback - Optional callback that handles the response.
4745
4756
  * @returns A promise if used with async/await, or void if used with a callback.
4746
4757
  */
4747
- download(params: Params$Resource$Captions$Download, options: StreamMethodOptions): GaxiosPromise<Readable>;
4748
- 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>>;
4749
4760
  download(params: Params$Resource$Captions$Download, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4750
4761
  download(params: Params$Resource$Captions$Download, options: MethodOptions | BodyResponseCallback<unknown>, callback: BodyResponseCallback<unknown>): void;
4751
4762
  download(params: Params$Resource$Captions$Download, callback: BodyResponseCallback<unknown>): void;
@@ -4758,8 +4769,8 @@ export declare namespace youtube_v3 {
4758
4769
  * @param callback - Optional callback that handles the response.
4759
4770
  * @returns A promise if used with async/await, or void if used with a callback.
4760
4771
  */
4761
- insert(params: Params$Resource$Captions$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
4762
- 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>>;
4763
4774
  insert(params: Params$Resource$Captions$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4764
4775
  insert(params: Params$Resource$Captions$Insert, options: MethodOptions | BodyResponseCallback<Schema$Caption>, callback: BodyResponseCallback<Schema$Caption>): void;
4765
4776
  insert(params: Params$Resource$Captions$Insert, callback: BodyResponseCallback<Schema$Caption>): void;
@@ -4772,8 +4783,8 @@ export declare namespace youtube_v3 {
4772
4783
  * @param callback - Optional callback that handles the response.
4773
4784
  * @returns A promise if used with async/await, or void if used with a callback.
4774
4785
  */
4775
- list(params: Params$Resource$Captions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4776
- 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>>;
4777
4788
  list(params: Params$Resource$Captions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4778
4789
  list(params: Params$Resource$Captions$List, options: MethodOptions | BodyResponseCallback<Schema$CaptionListResponse>, callback: BodyResponseCallback<Schema$CaptionListResponse>): void;
4779
4790
  list(params: Params$Resource$Captions$List, callback: BodyResponseCallback<Schema$CaptionListResponse>): void;
@@ -4786,8 +4797,8 @@ export declare namespace youtube_v3 {
4786
4797
  * @param callback - Optional callback that handles the response.
4787
4798
  * @returns A promise if used with async/await, or void if used with a callback.
4788
4799
  */
4789
- update(params: Params$Resource$Captions$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
4790
- 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>>;
4791
4802
  update(params: Params$Resource$Captions$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4792
4803
  update(params: Params$Resource$Captions$Update, options: MethodOptions | BodyResponseCallback<Schema$Caption>, callback: BodyResponseCallback<Schema$Caption>): void;
4793
4804
  update(params: Params$Resource$Captions$Update, callback: BodyResponseCallback<Schema$Caption>): void;
@@ -4932,8 +4943,8 @@ export declare namespace youtube_v3 {
4932
4943
  * @param callback - Optional callback that handles the response.
4933
4944
  * @returns A promise if used with async/await, or void if used with a callback.
4934
4945
  */
4935
- insert(params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
4936
- 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>>;
4937
4948
  insert(params: Params$Resource$Channelbanners$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4938
4949
  insert(params: Params$Resource$Channelbanners$Insert, options: MethodOptions | BodyResponseCallback<Schema$ChannelBannerResource>, callback: BodyResponseCallback<Schema$ChannelBannerResource>): void;
4939
4950
  insert(params: Params$Resource$Channelbanners$Insert, callback: BodyResponseCallback<Schema$ChannelBannerResource>): void;
@@ -4981,8 +4992,8 @@ export declare namespace youtube_v3 {
4981
4992
  * @param callback - Optional callback that handles the response.
4982
4993
  * @returns A promise if used with async/await, or void if used with a callback.
4983
4994
  */
4984
- list(params: Params$Resource$Channels$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4985
- 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>>;
4986
4997
  list(params: Params$Resource$Channels$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4987
4998
  list(params: Params$Resource$Channels$List, options: MethodOptions | BodyResponseCallback<Schema$ChannelListResponse>, callback: BodyResponseCallback<Schema$ChannelListResponse>): void;
4988
4999
  list(params: Params$Resource$Channels$List, callback: BodyResponseCallback<Schema$ChannelListResponse>): void;
@@ -4995,8 +5006,8 @@ export declare namespace youtube_v3 {
4995
5006
  * @param callback - Optional callback that handles the response.
4996
5007
  * @returns A promise if used with async/await, or void if used with a callback.
4997
5008
  */
4998
- update(params: Params$Resource$Channels$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
4999
- 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>>;
5000
5011
  update(params: Params$Resource$Channels$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5001
5012
  update(params: Params$Resource$Channels$Update, options: MethodOptions | BodyResponseCallback<Schema$Channel>, callback: BodyResponseCallback<Schema$Channel>): void;
5002
5013
  update(params: Params$Resource$Channels$Update, callback: BodyResponseCallback<Schema$Channel>): void;
@@ -5077,8 +5088,8 @@ export declare namespace youtube_v3 {
5077
5088
  * @param callback - Optional callback that handles the response.
5078
5089
  * @returns A promise if used with async/await, or void if used with a callback.
5079
5090
  */
5080
- delete(params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5081
- 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>>;
5082
5093
  delete(params: Params$Resource$Channelsections$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5083
5094
  delete(params: Params$Resource$Channelsections$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5084
5095
  delete(params: Params$Resource$Channelsections$Delete, callback: BodyResponseCallback<void>): void;
@@ -5091,8 +5102,8 @@ export declare namespace youtube_v3 {
5091
5102
  * @param callback - Optional callback that handles the response.
5092
5103
  * @returns A promise if used with async/await, or void if used with a callback.
5093
5104
  */
5094
- insert(params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5095
- 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>>;
5096
5107
  insert(params: Params$Resource$Channelsections$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5097
5108
  insert(params: Params$Resource$Channelsections$Insert, options: MethodOptions | BodyResponseCallback<Schema$ChannelSection>, callback: BodyResponseCallback<Schema$ChannelSection>): void;
5098
5109
  insert(params: Params$Resource$Channelsections$Insert, callback: BodyResponseCallback<Schema$ChannelSection>): void;
@@ -5105,8 +5116,8 @@ export declare namespace youtube_v3 {
5105
5116
  * @param callback - Optional callback that handles the response.
5106
5117
  * @returns A promise if used with async/await, or void if used with a callback.
5107
5118
  */
5108
- list(params: Params$Resource$Channelsections$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5109
- 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>>;
5110
5121
  list(params: Params$Resource$Channelsections$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5111
5122
  list(params: Params$Resource$Channelsections$List, options: MethodOptions | BodyResponseCallback<Schema$ChannelSectionListResponse>, callback: BodyResponseCallback<Schema$ChannelSectionListResponse>): void;
5112
5123
  list(params: Params$Resource$Channelsections$List, callback: BodyResponseCallback<Schema$ChannelSectionListResponse>): void;
@@ -5119,8 +5130,8 @@ export declare namespace youtube_v3 {
5119
5130
  * @param callback - Optional callback that handles the response.
5120
5131
  * @returns A promise if used with async/await, or void if used with a callback.
5121
5132
  */
5122
- update(params: Params$Resource$Channelsections$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5123
- 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>>;
5124
5135
  update(params: Params$Resource$Channelsections$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5125
5136
  update(params: Params$Resource$Channelsections$Update, options: MethodOptions | BodyResponseCallback<Schema$ChannelSection>, callback: BodyResponseCallback<Schema$ChannelSection>): void;
5126
5137
  update(params: Params$Resource$Channelsections$Update, callback: BodyResponseCallback<Schema$ChannelSection>): void;
@@ -5205,8 +5216,8 @@ export declare namespace youtube_v3 {
5205
5216
  * @param callback - Optional callback that handles the response.
5206
5217
  * @returns A promise if used with async/await, or void if used with a callback.
5207
5218
  */
5208
- delete(params: Params$Resource$Comments$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5209
- 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>>;
5210
5221
  delete(params: Params$Resource$Comments$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5211
5222
  delete(params: Params$Resource$Comments$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5212
5223
  delete(params: Params$Resource$Comments$Delete, callback: BodyResponseCallback<void>): void;
@@ -5219,8 +5230,8 @@ export declare namespace youtube_v3 {
5219
5230
  * @param callback - Optional callback that handles the response.
5220
5231
  * @returns A promise if used with async/await, or void if used with a callback.
5221
5232
  */
5222
- insert(params: Params$Resource$Comments$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5223
- 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>>;
5224
5235
  insert(params: Params$Resource$Comments$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5225
5236
  insert(params: Params$Resource$Comments$Insert, options: MethodOptions | BodyResponseCallback<Schema$Comment>, callback: BodyResponseCallback<Schema$Comment>): void;
5226
5237
  insert(params: Params$Resource$Comments$Insert, callback: BodyResponseCallback<Schema$Comment>): void;
@@ -5233,8 +5244,8 @@ export declare namespace youtube_v3 {
5233
5244
  * @param callback - Optional callback that handles the response.
5234
5245
  * @returns A promise if used with async/await, or void if used with a callback.
5235
5246
  */
5236
- list(params: Params$Resource$Comments$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5237
- 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>>;
5238
5249
  list(params: Params$Resource$Comments$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5239
5250
  list(params: Params$Resource$Comments$List, options: MethodOptions | BodyResponseCallback<Schema$CommentListResponse>, callback: BodyResponseCallback<Schema$CommentListResponse>): void;
5240
5251
  list(params: Params$Resource$Comments$List, callback: BodyResponseCallback<Schema$CommentListResponse>): void;
@@ -5247,8 +5258,8 @@ export declare namespace youtube_v3 {
5247
5258
  * @param callback - Optional callback that handles the response.
5248
5259
  * @returns A promise if used with async/await, or void if used with a callback.
5249
5260
  */
5250
- markAsSpam(params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions): GaxiosPromise<Readable>;
5251
- 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>>;
5252
5263
  markAsSpam(params: Params$Resource$Comments$Markasspam, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5253
5264
  markAsSpam(params: Params$Resource$Comments$Markasspam, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5254
5265
  markAsSpam(params: Params$Resource$Comments$Markasspam, callback: BodyResponseCallback<void>): void;
@@ -5261,8 +5272,8 @@ export declare namespace youtube_v3 {
5261
5272
  * @param callback - Optional callback that handles the response.
5262
5273
  * @returns A promise if used with async/await, or void if used with a callback.
5263
5274
  */
5264
- setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions): GaxiosPromise<Readable>;
5265
- 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>>;
5266
5277
  setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5267
5278
  setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5268
5279
  setModerationStatus(params: Params$Resource$Comments$Setmoderationstatus, callback: BodyResponseCallback<void>): void;
@@ -5275,8 +5286,8 @@ export declare namespace youtube_v3 {
5275
5286
  * @param callback - Optional callback that handles the response.
5276
5287
  * @returns A promise if used with async/await, or void if used with a callback.
5277
5288
  */
5278
- update(params: Params$Resource$Comments$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5279
- 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>>;
5280
5291
  update(params: Params$Resource$Comments$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5281
5292
  update(params: Params$Resource$Comments$Update, options: MethodOptions | BodyResponseCallback<Schema$Comment>, callback: BodyResponseCallback<Schema$Comment>): void;
5282
5293
  update(params: Params$Resource$Comments$Update, callback: BodyResponseCallback<Schema$Comment>): void;
@@ -5365,8 +5376,8 @@ export declare namespace youtube_v3 {
5365
5376
  * @param callback - Optional callback that handles the response.
5366
5377
  * @returns A promise if used with async/await, or void if used with a callback.
5367
5378
  */
5368
- insert(params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5369
- 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>>;
5370
5381
  insert(params: Params$Resource$Commentthreads$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5371
5382
  insert(params: Params$Resource$Commentthreads$Insert, options: MethodOptions | BodyResponseCallback<Schema$CommentThread>, callback: BodyResponseCallback<Schema$CommentThread>): void;
5372
5383
  insert(params: Params$Resource$Commentthreads$Insert, callback: BodyResponseCallback<Schema$CommentThread>): void;
@@ -5379,8 +5390,8 @@ export declare namespace youtube_v3 {
5379
5390
  * @param callback - Optional callback that handles the response.
5380
5391
  * @returns A promise if used with async/await, or void if used with a callback.
5381
5392
  */
5382
- list(params: Params$Resource$Commentthreads$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5383
- 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>>;
5384
5395
  list(params: Params$Resource$Commentthreads$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5385
5396
  list(params: Params$Resource$Commentthreads$List, options: MethodOptions | BodyResponseCallback<Schema$CommentThreadListResponse>, callback: BodyResponseCallback<Schema$CommentThreadListResponse>): void;
5386
5397
  list(params: Params$Resource$Commentthreads$List, callback: BodyResponseCallback<Schema$CommentThreadListResponse>): void;
@@ -5429,6 +5440,10 @@ export declare namespace youtube_v3 {
5429
5440
  * The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
5430
5441
  */
5431
5442
  part?: string[];
5443
+ /**
5444
+ * Returns the comment threads of the specified post.
5445
+ */
5446
+ postId?: string;
5432
5447
  /**
5433
5448
  * Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
5434
5449
  */
@@ -5453,8 +5468,8 @@ export declare namespace youtube_v3 {
5453
5468
  * @param callback - Optional callback that handles the response.
5454
5469
  * @returns A promise if used with async/await, or void if used with a callback.
5455
5470
  */
5456
- list(params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5457
- 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>>;
5458
5473
  list(params: Params$Resource$I18nlanguages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5459
5474
  list(params: Params$Resource$I18nlanguages$List, options: MethodOptions | BodyResponseCallback<Schema$I18nLanguageListResponse>, callback: BodyResponseCallback<Schema$I18nLanguageListResponse>): void;
5460
5475
  list(params: Params$Resource$I18nlanguages$List, callback: BodyResponseCallback<Schema$I18nLanguageListResponse>): void;
@@ -5481,8 +5496,8 @@ export declare namespace youtube_v3 {
5481
5496
  * @param callback - Optional callback that handles the response.
5482
5497
  * @returns A promise if used with async/await, or void if used with a callback.
5483
5498
  */
5484
- list(params: Params$Resource$I18nregions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5485
- 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>>;
5486
5501
  list(params: Params$Resource$I18nregions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5487
5502
  list(params: Params$Resource$I18nregions$List, options: MethodOptions | BodyResponseCallback<Schema$I18nRegionListResponse>, callback: BodyResponseCallback<Schema$I18nRegionListResponse>): void;
5488
5503
  list(params: Params$Resource$I18nregions$List, callback: BodyResponseCallback<Schema$I18nRegionListResponse>): void;
@@ -5509,8 +5524,8 @@ export declare namespace youtube_v3 {
5509
5524
  * @param callback - Optional callback that handles the response.
5510
5525
  * @returns A promise if used with async/await, or void if used with a callback.
5511
5526
  */
5512
- bind(params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions): GaxiosPromise<Readable>;
5513
- 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>>;
5514
5529
  bind(params: Params$Resource$Livebroadcasts$Bind, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5515
5530
  bind(params: Params$Resource$Livebroadcasts$Bind, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5516
5531
  bind(params: Params$Resource$Livebroadcasts$Bind, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5523,8 +5538,8 @@ export declare namespace youtube_v3 {
5523
5538
  * @param callback - Optional callback that handles the response.
5524
5539
  * @returns A promise if used with async/await, or void if used with a callback.
5525
5540
  */
5526
- delete(params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5527
- 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>>;
5528
5543
  delete(params: Params$Resource$Livebroadcasts$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5529
5544
  delete(params: Params$Resource$Livebroadcasts$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5530
5545
  delete(params: Params$Resource$Livebroadcasts$Delete, callback: BodyResponseCallback<void>): void;
@@ -5537,8 +5552,8 @@ export declare namespace youtube_v3 {
5537
5552
  * @param callback - Optional callback that handles the response.
5538
5553
  * @returns A promise if used with async/await, or void if used with a callback.
5539
5554
  */
5540
- insert(params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5541
- 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>>;
5542
5557
  insert(params: Params$Resource$Livebroadcasts$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5543
5558
  insert(params: Params$Resource$Livebroadcasts$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5544
5559
  insert(params: Params$Resource$Livebroadcasts$Insert, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5551,8 +5566,8 @@ export declare namespace youtube_v3 {
5551
5566
  * @param callback - Optional callback that handles the response.
5552
5567
  * @returns A promise if used with async/await, or void if used with a callback.
5553
5568
  */
5554
- insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions): GaxiosPromise<Readable>;
5555
- 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>>;
5556
5571
  insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5557
5572
  insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, options: MethodOptions | BodyResponseCallback<Schema$Cuepoint>, callback: BodyResponseCallback<Schema$Cuepoint>): void;
5558
5573
  insertCuepoint(params: Params$Resource$Livebroadcasts$Insertcuepoint, callback: BodyResponseCallback<Schema$Cuepoint>): void;
@@ -5565,8 +5580,8 @@ export declare namespace youtube_v3 {
5565
5580
  * @param callback - Optional callback that handles the response.
5566
5581
  * @returns A promise if used with async/await, or void if used with a callback.
5567
5582
  */
5568
- list(params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5569
- 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>>;
5570
5585
  list(params: Params$Resource$Livebroadcasts$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5571
5586
  list(params: Params$Resource$Livebroadcasts$List, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcastListResponse>, callback: BodyResponseCallback<Schema$LiveBroadcastListResponse>): void;
5572
5587
  list(params: Params$Resource$Livebroadcasts$List, callback: BodyResponseCallback<Schema$LiveBroadcastListResponse>): void;
@@ -5579,8 +5594,8 @@ export declare namespace youtube_v3 {
5579
5594
  * @param callback - Optional callback that handles the response.
5580
5595
  * @returns A promise if used with async/await, or void if used with a callback.
5581
5596
  */
5582
- transition(params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions): GaxiosPromise<Readable>;
5583
- 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>>;
5584
5599
  transition(params: Params$Resource$Livebroadcasts$Transition, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5585
5600
  transition(params: Params$Resource$Livebroadcasts$Transition, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5586
5601
  transition(params: Params$Resource$Livebroadcasts$Transition, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5593,8 +5608,8 @@ export declare namespace youtube_v3 {
5593
5608
  * @param callback - Optional callback that handles the response.
5594
5609
  * @returns A promise if used with async/await, or void if used with a callback.
5595
5610
  */
5596
- update(params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
5597
- 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>>;
5598
5613
  update(params: Params$Resource$Livebroadcasts$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5599
5614
  update(params: Params$Resource$Livebroadcasts$Update, options: MethodOptions | BodyResponseCallback<Schema$LiveBroadcast>, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
5600
5615
  update(params: Params$Resource$Livebroadcasts$Update, callback: BodyResponseCallback<Schema$LiveBroadcast>): void;
@@ -5765,8 +5780,8 @@ export declare namespace youtube_v3 {
5765
5780
  * @param callback - Optional callback that handles the response.
5766
5781
  * @returns A promise if used with async/await, or void if used with a callback.
5767
5782
  */
5768
- delete(params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5769
- 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>>;
5770
5785
  delete(params: Params$Resource$Livechatbans$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5771
5786
  delete(params: Params$Resource$Livechatbans$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5772
5787
  delete(params: Params$Resource$Livechatbans$Delete, callback: BodyResponseCallback<void>): void;
@@ -5779,8 +5794,8 @@ export declare namespace youtube_v3 {
5779
5794
  * @param callback - Optional callback that handles the response.
5780
5795
  * @returns A promise if used with async/await, or void if used with a callback.
5781
5796
  */
5782
- insert(params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5783
- 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>>;
5784
5799
  insert(params: Params$Resource$Livechatbans$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5785
5800
  insert(params: Params$Resource$Livechatbans$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveChatBan>, callback: BodyResponseCallback<Schema$LiveChatBan>): void;
5786
5801
  insert(params: Params$Resource$Livechatbans$Insert, callback: BodyResponseCallback<Schema$LiveChatBan>): void;
@@ -5813,8 +5828,8 @@ export declare namespace youtube_v3 {
5813
5828
  * @param callback - Optional callback that handles the response.
5814
5829
  * @returns A promise if used with async/await, or void if used with a callback.
5815
5830
  */
5816
- delete(params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5817
- 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>>;
5818
5833
  delete(params: Params$Resource$Livechatmessages$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5819
5834
  delete(params: Params$Resource$Livechatmessages$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5820
5835
  delete(params: Params$Resource$Livechatmessages$Delete, callback: BodyResponseCallback<void>): void;
@@ -5827,8 +5842,8 @@ export declare namespace youtube_v3 {
5827
5842
  * @param callback - Optional callback that handles the response.
5828
5843
  * @returns A promise if used with async/await, or void if used with a callback.
5829
5844
  */
5830
- insert(params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5831
- 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>>;
5832
5847
  insert(params: Params$Resource$Livechatmessages$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5833
5848
  insert(params: Params$Resource$Livechatmessages$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveChatMessage>, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
5834
5849
  insert(params: Params$Resource$Livechatmessages$Insert, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
@@ -5841,8 +5856,8 @@ export declare namespace youtube_v3 {
5841
5856
  * @param callback - Optional callback that handles the response.
5842
5857
  * @returns A promise if used with async/await, or void if used with a callback.
5843
5858
  */
5844
- list(params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5845
- 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>>;
5846
5861
  list(params: Params$Resource$Livechatmessages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5847
5862
  list(params: Params$Resource$Livechatmessages$List, options: MethodOptions | BodyResponseCallback<Schema$LiveChatMessageListResponse>, callback: BodyResponseCallback<Schema$LiveChatMessageListResponse>): void;
5848
5863
  list(params: Params$Resource$Livechatmessages$List, callback: BodyResponseCallback<Schema$LiveChatMessageListResponse>): void;
@@ -5855,8 +5870,8 @@ export declare namespace youtube_v3 {
5855
5870
  * @param callback - Optional callback that handles the response.
5856
5871
  * @returns A promise if used with async/await, or void if used with a callback.
5857
5872
  */
5858
- transition(params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions): GaxiosPromise<Readable>;
5859
- 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>>;
5860
5875
  transition(params: Params$Resource$Livechatmessages$Transition, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5861
5876
  transition(params: Params$Resource$Livechatmessages$Transition, options: MethodOptions | BodyResponseCallback<Schema$LiveChatMessage>, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
5862
5877
  transition(params: Params$Resource$Livechatmessages$Transition, callback: BodyResponseCallback<Schema$LiveChatMessage>): void;
@@ -5925,8 +5940,8 @@ export declare namespace youtube_v3 {
5925
5940
  * @param callback - Optional callback that handles the response.
5926
5941
  * @returns A promise if used with async/await, or void if used with a callback.
5927
5942
  */
5928
- delete(params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5929
- 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>>;
5930
5945
  delete(params: Params$Resource$Livechatmoderators$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5931
5946
  delete(params: Params$Resource$Livechatmoderators$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
5932
5947
  delete(params: Params$Resource$Livechatmoderators$Delete, callback: BodyResponseCallback<void>): void;
@@ -5939,8 +5954,8 @@ export declare namespace youtube_v3 {
5939
5954
  * @param callback - Optional callback that handles the response.
5940
5955
  * @returns A promise if used with async/await, or void if used with a callback.
5941
5956
  */
5942
- insert(params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5943
- 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>>;
5944
5959
  insert(params: Params$Resource$Livechatmoderators$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5945
5960
  insert(params: Params$Resource$Livechatmoderators$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveChatModerator>, callback: BodyResponseCallback<Schema$LiveChatModerator>): void;
5946
5961
  insert(params: Params$Resource$Livechatmoderators$Insert, callback: BodyResponseCallback<Schema$LiveChatModerator>): void;
@@ -5953,8 +5968,8 @@ export declare namespace youtube_v3 {
5953
5968
  * @param callback - Optional callback that handles the response.
5954
5969
  * @returns A promise if used with async/await, or void if used with a callback.
5955
5970
  */
5956
- list(params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5957
- 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>>;
5958
5973
  list(params: Params$Resource$Livechatmoderators$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5959
5974
  list(params: Params$Resource$Livechatmoderators$List, options: MethodOptions | BodyResponseCallback<Schema$LiveChatModeratorListResponse>, callback: BodyResponseCallback<Schema$LiveChatModeratorListResponse>): void;
5960
5975
  list(params: Params$Resource$Livechatmoderators$List, callback: BodyResponseCallback<Schema$LiveChatModeratorListResponse>): void;
@@ -6005,8 +6020,8 @@ export declare namespace youtube_v3 {
6005
6020
  * @param callback - Optional callback that handles the response.
6006
6021
  * @returns A promise if used with async/await, or void if used with a callback.
6007
6022
  */
6008
- delete(params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6009
- 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>>;
6010
6025
  delete(params: Params$Resource$Livestreams$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6011
6026
  delete(params: Params$Resource$Livestreams$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6012
6027
  delete(params: Params$Resource$Livestreams$Delete, callback: BodyResponseCallback<void>): void;
@@ -6019,8 +6034,8 @@ export declare namespace youtube_v3 {
6019
6034
  * @param callback - Optional callback that handles the response.
6020
6035
  * @returns A promise if used with async/await, or void if used with a callback.
6021
6036
  */
6022
- insert(params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6023
- 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>>;
6024
6039
  insert(params: Params$Resource$Livestreams$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6025
6040
  insert(params: Params$Resource$Livestreams$Insert, options: MethodOptions | BodyResponseCallback<Schema$LiveStream>, callback: BodyResponseCallback<Schema$LiveStream>): void;
6026
6041
  insert(params: Params$Resource$Livestreams$Insert, callback: BodyResponseCallback<Schema$LiveStream>): void;
@@ -6033,8 +6048,8 @@ export declare namespace youtube_v3 {
6033
6048
  * @param callback - Optional callback that handles the response.
6034
6049
  * @returns A promise if used with async/await, or void if used with a callback.
6035
6050
  */
6036
- list(params: Params$Resource$Livestreams$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6037
- 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>>;
6038
6053
  list(params: Params$Resource$Livestreams$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6039
6054
  list(params: Params$Resource$Livestreams$List, options: MethodOptions | BodyResponseCallback<Schema$LiveStreamListResponse>, callback: BodyResponseCallback<Schema$LiveStreamListResponse>): void;
6040
6055
  list(params: Params$Resource$Livestreams$List, callback: BodyResponseCallback<Schema$LiveStreamListResponse>): void;
@@ -6047,8 +6062,8 @@ export declare namespace youtube_v3 {
6047
6062
  * @param callback - Optional callback that handles the response.
6048
6063
  * @returns A promise if used with async/await, or void if used with a callback.
6049
6064
  */
6050
- update(params: Params$Resource$Livestreams$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6051
- 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>>;
6052
6067
  update(params: Params$Resource$Livestreams$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6053
6068
  update(params: Params$Resource$Livestreams$Update, options: MethodOptions | BodyResponseCallback<Schema$LiveStream>, callback: BodyResponseCallback<Schema$LiveStream>): void;
6054
6069
  update(params: Params$Resource$Livestreams$Update, callback: BodyResponseCallback<Schema$LiveStream>): void;
@@ -6145,8 +6160,8 @@ export declare namespace youtube_v3 {
6145
6160
  * @param callback - Optional callback that handles the response.
6146
6161
  * @returns A promise if used with async/await, or void if used with a callback.
6147
6162
  */
6148
- list(params: Params$Resource$Members$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6149
- 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>>;
6150
6165
  list(params: Params$Resource$Members$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6151
6166
  list(params: Params$Resource$Members$List, options: MethodOptions | BodyResponseCallback<Schema$MemberListResponse>, callback: BodyResponseCallback<Schema$MemberListResponse>): void;
6152
6167
  list(params: Params$Resource$Members$List, callback: BodyResponseCallback<Schema$MemberListResponse>): void;
@@ -6189,8 +6204,8 @@ export declare namespace youtube_v3 {
6189
6204
  * @param callback - Optional callback that handles the response.
6190
6205
  * @returns A promise if used with async/await, or void if used with a callback.
6191
6206
  */
6192
- list(params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6193
- 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>>;
6194
6209
  list(params: Params$Resource$Membershipslevels$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6195
6210
  list(params: Params$Resource$Membershipslevels$List, options: MethodOptions | BodyResponseCallback<Schema$MembershipsLevelListResponse>, callback: BodyResponseCallback<Schema$MembershipsLevelListResponse>): void;
6196
6211
  list(params: Params$Resource$Membershipslevels$List, callback: BodyResponseCallback<Schema$MembershipsLevelListResponse>): void;
@@ -6213,8 +6228,8 @@ export declare namespace youtube_v3 {
6213
6228
  * @param callback - Optional callback that handles the response.
6214
6229
  * @returns A promise if used with async/await, or void if used with a callback.
6215
6230
  */
6216
- delete(params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6217
- 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>>;
6218
6233
  delete(params: Params$Resource$Playlistimages$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6219
6234
  delete(params: Params$Resource$Playlistimages$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6220
6235
  delete(params: Params$Resource$Playlistimages$Delete, callback: BodyResponseCallback<void>): void;
@@ -6227,8 +6242,8 @@ export declare namespace youtube_v3 {
6227
6242
  * @param callback - Optional callback that handles the response.
6228
6243
  * @returns A promise if used with async/await, or void if used with a callback.
6229
6244
  */
6230
- insert(params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6231
- 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>>;
6232
6247
  insert(params: Params$Resource$Playlistimages$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6233
6248
  insert(params: Params$Resource$Playlistimages$Insert, options: MethodOptions | BodyResponseCallback<Schema$PlaylistImage>, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
6234
6249
  insert(params: Params$Resource$Playlistimages$Insert, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
@@ -6241,8 +6256,8 @@ export declare namespace youtube_v3 {
6241
6256
  * @param callback - Optional callback that handles the response.
6242
6257
  * @returns A promise if used with async/await, or void if used with a callback.
6243
6258
  */
6244
- list(params: Params$Resource$Playlistimages$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6245
- 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>>;
6246
6261
  list(params: Params$Resource$Playlistimages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6247
6262
  list(params: Params$Resource$Playlistimages$List, options: MethodOptions | BodyResponseCallback<Schema$PlaylistImageListResponse>, callback: BodyResponseCallback<Schema$PlaylistImageListResponse>): void;
6248
6263
  list(params: Params$Resource$Playlistimages$List, callback: BodyResponseCallback<Schema$PlaylistImageListResponse>): void;
@@ -6255,8 +6270,8 @@ export declare namespace youtube_v3 {
6255
6270
  * @param callback - Optional callback that handles the response.
6256
6271
  * @returns A promise if used with async/await, or void if used with a callback.
6257
6272
  */
6258
- update(params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6259
- 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>>;
6260
6275
  update(params: Params$Resource$Playlistimages$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6261
6276
  update(params: Params$Resource$Playlistimages$Update, options: MethodOptions | BodyResponseCallback<Schema$PlaylistImage>, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
6262
6277
  update(params: Params$Resource$Playlistimages$Update, callback: BodyResponseCallback<Schema$PlaylistImage>): void;
@@ -6367,8 +6382,8 @@ export declare namespace youtube_v3 {
6367
6382
  * @param callback - Optional callback that handles the response.
6368
6383
  * @returns A promise if used with async/await, or void if used with a callback.
6369
6384
  */
6370
- delete(params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6371
- 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>>;
6372
6387
  delete(params: Params$Resource$Playlistitems$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6373
6388
  delete(params: Params$Resource$Playlistitems$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6374
6389
  delete(params: Params$Resource$Playlistitems$Delete, callback: BodyResponseCallback<void>): void;
@@ -6381,8 +6396,8 @@ export declare namespace youtube_v3 {
6381
6396
  * @param callback - Optional callback that handles the response.
6382
6397
  * @returns A promise if used with async/await, or void if used with a callback.
6383
6398
  */
6384
- insert(params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6385
- 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>>;
6386
6401
  insert(params: Params$Resource$Playlistitems$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6387
6402
  insert(params: Params$Resource$Playlistitems$Insert, options: MethodOptions | BodyResponseCallback<Schema$PlaylistItem>, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
6388
6403
  insert(params: Params$Resource$Playlistitems$Insert, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
@@ -6395,8 +6410,8 @@ export declare namespace youtube_v3 {
6395
6410
  * @param callback - Optional callback that handles the response.
6396
6411
  * @returns A promise if used with async/await, or void if used with a callback.
6397
6412
  */
6398
- list(params: Params$Resource$Playlistitems$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6399
- 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>>;
6400
6415
  list(params: Params$Resource$Playlistitems$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6401
6416
  list(params: Params$Resource$Playlistitems$List, options: MethodOptions | BodyResponseCallback<Schema$PlaylistItemListResponse>, callback: BodyResponseCallback<Schema$PlaylistItemListResponse>): void;
6402
6417
  list(params: Params$Resource$Playlistitems$List, callback: BodyResponseCallback<Schema$PlaylistItemListResponse>): void;
@@ -6409,8 +6424,8 @@ export declare namespace youtube_v3 {
6409
6424
  * @param callback - Optional callback that handles the response.
6410
6425
  * @returns A promise if used with async/await, or void if used with a callback.
6411
6426
  */
6412
- update(params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6413
- 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>>;
6414
6429
  update(params: Params$Resource$Playlistitems$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6415
6430
  update(params: Params$Resource$Playlistitems$Update, options: MethodOptions | BodyResponseCallback<Schema$PlaylistItem>, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
6416
6431
  update(params: Params$Resource$Playlistitems$Update, callback: BodyResponseCallback<Schema$PlaylistItem>): void;
@@ -6495,8 +6510,8 @@ export declare namespace youtube_v3 {
6495
6510
  * @param callback - Optional callback that handles the response.
6496
6511
  * @returns A promise if used with async/await, or void if used with a callback.
6497
6512
  */
6498
- delete(params: Params$Resource$Playlists$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6499
- 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>>;
6500
6515
  delete(params: Params$Resource$Playlists$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6501
6516
  delete(params: Params$Resource$Playlists$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6502
6517
  delete(params: Params$Resource$Playlists$Delete, callback: BodyResponseCallback<void>): void;
@@ -6509,8 +6524,8 @@ export declare namespace youtube_v3 {
6509
6524
  * @param callback - Optional callback that handles the response.
6510
6525
  * @returns A promise if used with async/await, or void if used with a callback.
6511
6526
  */
6512
- insert(params: Params$Resource$Playlists$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6513
- 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>>;
6514
6529
  insert(params: Params$Resource$Playlists$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6515
6530
  insert(params: Params$Resource$Playlists$Insert, options: MethodOptions | BodyResponseCallback<Schema$Playlist>, callback: BodyResponseCallback<Schema$Playlist>): void;
6516
6531
  insert(params: Params$Resource$Playlists$Insert, callback: BodyResponseCallback<Schema$Playlist>): void;
@@ -6523,8 +6538,8 @@ export declare namespace youtube_v3 {
6523
6538
  * @param callback - Optional callback that handles the response.
6524
6539
  * @returns A promise if used with async/await, or void if used with a callback.
6525
6540
  */
6526
- list(params: Params$Resource$Playlists$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6527
- 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>>;
6528
6543
  list(params: Params$Resource$Playlists$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6529
6544
  list(params: Params$Resource$Playlists$List, options: MethodOptions | BodyResponseCallback<Schema$PlaylistListResponse>, callback: BodyResponseCallback<Schema$PlaylistListResponse>): void;
6530
6545
  list(params: Params$Resource$Playlists$List, callback: BodyResponseCallback<Schema$PlaylistListResponse>): void;
@@ -6537,8 +6552,8 @@ export declare namespace youtube_v3 {
6537
6552
  * @param callback - Optional callback that handles the response.
6538
6553
  * @returns A promise if used with async/await, or void if used with a callback.
6539
6554
  */
6540
- update(params: Params$Resource$Playlists$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6541
- 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>>;
6542
6557
  update(params: Params$Resource$Playlists$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6543
6558
  update(params: Params$Resource$Playlists$Update, options: MethodOptions | BodyResponseCallback<Schema$Playlist>, callback: BodyResponseCallback<Schema$Playlist>): void;
6544
6559
  update(params: Params$Resource$Playlists$Update, callback: BodyResponseCallback<Schema$Playlist>): void;
@@ -6635,8 +6650,8 @@ export declare namespace youtube_v3 {
6635
6650
  * @param callback - Optional callback that handles the response.
6636
6651
  * @returns A promise if used with async/await, or void if used with a callback.
6637
6652
  */
6638
- list(params: Params$Resource$Search$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6639
- 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>>;
6640
6655
  list(params: Params$Resource$Search$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6641
6656
  list(params: Params$Resource$Search$List, options: MethodOptions | BodyResponseCallback<Schema$SearchListResponse>, callback: BodyResponseCallback<Schema$SearchListResponse>): void;
6642
6657
  list(params: Params$Resource$Search$List, callback: BodyResponseCallback<Schema$SearchListResponse>): void;
@@ -6779,8 +6794,8 @@ export declare namespace youtube_v3 {
6779
6794
  * @param callback - Optional callback that handles the response.
6780
6795
  * @returns A promise if used with async/await, or void if used with a callback.
6781
6796
  */
6782
- delete(params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6783
- 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>>;
6784
6799
  delete(params: Params$Resource$Subscriptions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6785
6800
  delete(params: Params$Resource$Subscriptions$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6786
6801
  delete(params: Params$Resource$Subscriptions$Delete, callback: BodyResponseCallback<void>): void;
@@ -6793,8 +6808,8 @@ export declare namespace youtube_v3 {
6793
6808
  * @param callback - Optional callback that handles the response.
6794
6809
  * @returns A promise if used with async/await, or void if used with a callback.
6795
6810
  */
6796
- insert(params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6797
- 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>>;
6798
6813
  insert(params: Params$Resource$Subscriptions$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6799
6814
  insert(params: Params$Resource$Subscriptions$Insert, options: MethodOptions | BodyResponseCallback<Schema$Subscription>, callback: BodyResponseCallback<Schema$Subscription>): void;
6800
6815
  insert(params: Params$Resource$Subscriptions$Insert, callback: BodyResponseCallback<Schema$Subscription>): void;
@@ -6807,8 +6822,8 @@ export declare namespace youtube_v3 {
6807
6822
  * @param callback - Optional callback that handles the response.
6808
6823
  * @returns A promise if used with async/await, or void if used with a callback.
6809
6824
  */
6810
- list(params: Params$Resource$Subscriptions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6811
- 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>>;
6812
6827
  list(params: Params$Resource$Subscriptions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6813
6828
  list(params: Params$Resource$Subscriptions$List, options: MethodOptions | BodyResponseCallback<Schema$SubscriptionListResponse>, callback: BodyResponseCallback<Schema$SubscriptionListResponse>): void;
6814
6829
  list(params: Params$Resource$Subscriptions$List, callback: BodyResponseCallback<Schema$SubscriptionListResponse>): void;
@@ -6891,8 +6906,8 @@ export declare namespace youtube_v3 {
6891
6906
  * @param callback - Optional callback that handles the response.
6892
6907
  * @returns A promise if used with async/await, or void if used with a callback.
6893
6908
  */
6894
- list(params: Params$Resource$Superchatevents$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6895
- 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>>;
6896
6911
  list(params: Params$Resource$Superchatevents$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6897
6912
  list(params: Params$Resource$Superchatevents$List, options: MethodOptions | BodyResponseCallback<Schema$SuperChatEventListResponse>, callback: BodyResponseCallback<Schema$SuperChatEventListResponse>): void;
6898
6913
  list(params: Params$Resource$Superchatevents$List, callback: BodyResponseCallback<Schema$SuperChatEventListResponse>): void;
@@ -6927,8 +6942,8 @@ export declare namespace youtube_v3 {
6927
6942
  * @param callback - Optional callback that handles the response.
6928
6943
  * @returns A promise if used with async/await, or void if used with a callback.
6929
6944
  */
6930
- insert(params: Params$Resource$Tests$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6931
- 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>>;
6932
6947
  insert(params: Params$Resource$Tests$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6933
6948
  insert(params: Params$Resource$Tests$Insert, options: MethodOptions | BodyResponseCallback<Schema$TestItem>, callback: BodyResponseCallback<Schema$TestItem>): void;
6934
6949
  insert(params: Params$Resource$Tests$Insert, callback: BodyResponseCallback<Schema$TestItem>): void;
@@ -6959,8 +6974,8 @@ export declare namespace youtube_v3 {
6959
6974
  * @param callback - Optional callback that handles the response.
6960
6975
  * @returns A promise if used with async/await, or void if used with a callback.
6961
6976
  */
6962
- delete(params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
6963
- 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>>;
6964
6979
  delete(params: Params$Resource$Thirdpartylinks$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6965
6980
  delete(params: Params$Resource$Thirdpartylinks$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
6966
6981
  delete(params: Params$Resource$Thirdpartylinks$Delete, callback: BodyResponseCallback<void>): void;
@@ -6973,8 +6988,8 @@ export declare namespace youtube_v3 {
6973
6988
  * @param callback - Optional callback that handles the response.
6974
6989
  * @returns A promise if used with async/await, or void if used with a callback.
6975
6990
  */
6976
- insert(params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
6977
- 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>>;
6978
6993
  insert(params: Params$Resource$Thirdpartylinks$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6979
6994
  insert(params: Params$Resource$Thirdpartylinks$Insert, options: MethodOptions | BodyResponseCallback<Schema$ThirdPartyLink>, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
6980
6995
  insert(params: Params$Resource$Thirdpartylinks$Insert, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
@@ -6987,8 +7002,8 @@ export declare namespace youtube_v3 {
6987
7002
  * @param callback - Optional callback that handles the response.
6988
7003
  * @returns A promise if used with async/await, or void if used with a callback.
6989
7004
  */
6990
- list(params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
6991
- 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>>;
6992
7007
  list(params: Params$Resource$Thirdpartylinks$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6993
7008
  list(params: Params$Resource$Thirdpartylinks$List, options: MethodOptions | BodyResponseCallback<Schema$ThirdPartyLinkListResponse>, callback: BodyResponseCallback<Schema$ThirdPartyLinkListResponse>): void;
6994
7009
  list(params: Params$Resource$Thirdpartylinks$List, callback: BodyResponseCallback<Schema$ThirdPartyLinkListResponse>): void;
@@ -7001,8 +7016,8 @@ export declare namespace youtube_v3 {
7001
7016
  * @param callback - Optional callback that handles the response.
7002
7017
  * @returns A promise if used with async/await, or void if used with a callback.
7003
7018
  */
7004
- update(params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
7005
- 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>>;
7006
7021
  update(params: Params$Resource$Thirdpartylinks$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7007
7022
  update(params: Params$Resource$Thirdpartylinks$Update, options: MethodOptions | BodyResponseCallback<Schema$ThirdPartyLink>, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
7008
7023
  update(params: Params$Resource$Thirdpartylinks$Update, callback: BodyResponseCallback<Schema$ThirdPartyLink>): void;
@@ -7083,8 +7098,8 @@ export declare namespace youtube_v3 {
7083
7098
  * @param callback - Optional callback that handles the response.
7084
7099
  * @returns A promise if used with async/await, or void if used with a callback.
7085
7100
  */
7086
- set(params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions): GaxiosPromise<Readable>;
7087
- 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>>;
7088
7103
  set(params: Params$Resource$Thumbnails$Set, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7089
7104
  set(params: Params$Resource$Thumbnails$Set, options: MethodOptions | BodyResponseCallback<Schema$ThumbnailSetResponse>, callback: BodyResponseCallback<Schema$ThumbnailSetResponse>): void;
7090
7105
  set(params: Params$Resource$Thumbnails$Set, callback: BodyResponseCallback<Schema$ThumbnailSetResponse>): void;
@@ -7128,8 +7143,8 @@ export declare namespace youtube_v3 {
7128
7143
  * @param callback - Optional callback that handles the response.
7129
7144
  * @returns A promise if used with async/await, or void if used with a callback.
7130
7145
  */
7131
- list(params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7132
- 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>>;
7133
7148
  list(params: Params$Resource$Videoabusereportreasons$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7134
7149
  list(params: Params$Resource$Videoabusereportreasons$List, options: MethodOptions | BodyResponseCallback<Schema$VideoAbuseReportReasonListResponse>, callback: BodyResponseCallback<Schema$VideoAbuseReportReasonListResponse>): void;
7135
7150
  list(params: Params$Resource$Videoabusereportreasons$List, callback: BodyResponseCallback<Schema$VideoAbuseReportReasonListResponse>): void;
@@ -7156,8 +7171,8 @@ export declare namespace youtube_v3 {
7156
7171
  * @param callback - Optional callback that handles the response.
7157
7172
  * @returns A promise if used with async/await, or void if used with a callback.
7158
7173
  */
7159
- list(params: Params$Resource$Videocategories$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7160
- 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>>;
7161
7176
  list(params: Params$Resource$Videocategories$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7162
7177
  list(params: Params$Resource$Videocategories$List, options: MethodOptions | BodyResponseCallback<Schema$VideoCategoryListResponse>, callback: BodyResponseCallback<Schema$VideoCategoryListResponse>): void;
7163
7178
  list(params: Params$Resource$Videocategories$List, callback: BodyResponseCallback<Schema$VideoCategoryListResponse>): void;
@@ -7192,8 +7207,8 @@ export declare namespace youtube_v3 {
7192
7207
  * @param callback - Optional callback that handles the response.
7193
7208
  * @returns A promise if used with async/await, or void if used with a callback.
7194
7209
  */
7195
- delete(params: Params$Resource$Videos$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
7196
- 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>>;
7197
7212
  delete(params: Params$Resource$Videos$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7198
7213
  delete(params: Params$Resource$Videos$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7199
7214
  delete(params: Params$Resource$Videos$Delete, callback: BodyResponseCallback<void>): void;
@@ -7206,8 +7221,8 @@ export declare namespace youtube_v3 {
7206
7221
  * @param callback - Optional callback that handles the response.
7207
7222
  * @returns A promise if used with async/await, or void if used with a callback.
7208
7223
  */
7209
- getRating(params: Params$Resource$Videos$Getrating, options: StreamMethodOptions): GaxiosPromise<Readable>;
7210
- 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>>;
7211
7226
  getRating(params: Params$Resource$Videos$Getrating, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7212
7227
  getRating(params: Params$Resource$Videos$Getrating, options: MethodOptions | BodyResponseCallback<Schema$VideoGetRatingResponse>, callback: BodyResponseCallback<Schema$VideoGetRatingResponse>): void;
7213
7228
  getRating(params: Params$Resource$Videos$Getrating, callback: BodyResponseCallback<Schema$VideoGetRatingResponse>): void;
@@ -7220,8 +7235,8 @@ export declare namespace youtube_v3 {
7220
7235
  * @param callback - Optional callback that handles the response.
7221
7236
  * @returns A promise if used with async/await, or void if used with a callback.
7222
7237
  */
7223
- insert(params: Params$Resource$Videos$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
7224
- 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>>;
7225
7240
  insert(params: Params$Resource$Videos$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7226
7241
  insert(params: Params$Resource$Videos$Insert, options: MethodOptions | BodyResponseCallback<Schema$Video>, callback: BodyResponseCallback<Schema$Video>): void;
7227
7242
  insert(params: Params$Resource$Videos$Insert, callback: BodyResponseCallback<Schema$Video>): void;
@@ -7234,8 +7249,8 @@ export declare namespace youtube_v3 {
7234
7249
  * @param callback - Optional callback that handles the response.
7235
7250
  * @returns A promise if used with async/await, or void if used with a callback.
7236
7251
  */
7237
- list(params: Params$Resource$Videos$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
7238
- 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>>;
7239
7254
  list(params: Params$Resource$Videos$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7240
7255
  list(params: Params$Resource$Videos$List, options: MethodOptions | BodyResponseCallback<Schema$VideoListResponse>, callback: BodyResponseCallback<Schema$VideoListResponse>): void;
7241
7256
  list(params: Params$Resource$Videos$List, callback: BodyResponseCallback<Schema$VideoListResponse>): void;
@@ -7248,8 +7263,8 @@ export declare namespace youtube_v3 {
7248
7263
  * @param callback - Optional callback that handles the response.
7249
7264
  * @returns A promise if used with async/await, or void if used with a callback.
7250
7265
  */
7251
- rate(params: Params$Resource$Videos$Rate, options: StreamMethodOptions): GaxiosPromise<Readable>;
7252
- 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>>;
7253
7268
  rate(params: Params$Resource$Videos$Rate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7254
7269
  rate(params: Params$Resource$Videos$Rate, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7255
7270
  rate(params: Params$Resource$Videos$Rate, callback: BodyResponseCallback<void>): void;
@@ -7262,8 +7277,8 @@ export declare namespace youtube_v3 {
7262
7277
  * @param callback - Optional callback that handles the response.
7263
7278
  * @returns A promise if used with async/await, or void if used with a callback.
7264
7279
  */
7265
- reportAbuse(params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions): GaxiosPromise<Readable>;
7266
- 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>>;
7267
7282
  reportAbuse(params: Params$Resource$Videos$Reportabuse, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7268
7283
  reportAbuse(params: Params$Resource$Videos$Reportabuse, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7269
7284
  reportAbuse(params: Params$Resource$Videos$Reportabuse, callback: BodyResponseCallback<void>): void;
@@ -7276,8 +7291,8 @@ export declare namespace youtube_v3 {
7276
7291
  * @param callback - Optional callback that handles the response.
7277
7292
  * @returns A promise if used with async/await, or void if used with a callback.
7278
7293
  */
7279
- update(params: Params$Resource$Videos$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
7280
- 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>>;
7281
7296
  update(params: Params$Resource$Videos$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7282
7297
  update(params: Params$Resource$Videos$Update, options: MethodOptions | BodyResponseCallback<Schema$Video>, callback: BodyResponseCallback<Schema$Video>): void;
7283
7298
  update(params: Params$Resource$Videos$Update, callback: BodyResponseCallback<Schema$Video>): void;
@@ -7445,8 +7460,8 @@ export declare namespace youtube_v3 {
7445
7460
  * @param callback - Optional callback that handles the response.
7446
7461
  * @returns A promise if used with async/await, or void if used with a callback.
7447
7462
  */
7448
- get(params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
7449
- 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>>;
7450
7465
  get(params: Params$Resource$Videotrainability$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7451
7466
  get(params: Params$Resource$Videotrainability$Get, options: MethodOptions | BodyResponseCallback<Schema$VideoTrainability>, callback: BodyResponseCallback<Schema$VideoTrainability>): void;
7452
7467
  get(params: Params$Resource$Videotrainability$Get, callback: BodyResponseCallback<Schema$VideoTrainability>): void;
@@ -7469,8 +7484,8 @@ export declare namespace youtube_v3 {
7469
7484
  * @param callback - Optional callback that handles the response.
7470
7485
  * @returns A promise if used with async/await, or void if used with a callback.
7471
7486
  */
7472
- set(params: Params$Resource$Watermarks$Set, options: StreamMethodOptions): GaxiosPromise<Readable>;
7473
- 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>>;
7474
7489
  set(params: Params$Resource$Watermarks$Set, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7475
7490
  set(params: Params$Resource$Watermarks$Set, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7476
7491
  set(params: Params$Resource$Watermarks$Set, callback: BodyResponseCallback<void>): void;
@@ -7483,8 +7498,8 @@ export declare namespace youtube_v3 {
7483
7498
  * @param callback - Optional callback that handles the response.
7484
7499
  * @returns A promise if used with async/await, or void if used with a callback.
7485
7500
  */
7486
- unset(params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions): GaxiosPromise<Readable>;
7487
- 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>>;
7488
7503
  unset(params: Params$Resource$Watermarks$Unset, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7489
7504
  unset(params: Params$Resource$Watermarks$Unset, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
7490
7505
  unset(params: Params$Resource$Watermarks$Unset, callback: BodyResponseCallback<void>): void;
@@ -7543,8 +7558,8 @@ export declare namespace youtube_v3 {
7543
7558
  * @param callback - Optional callback that handles the response.
7544
7559
  * @returns A promise if used with async/await, or void if used with a callback.
7545
7560
  */
7546
- updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions): GaxiosPromise<Readable>;
7547
- 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>>;
7548
7563
  updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7549
7564
  updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, options: MethodOptions | BodyResponseCallback<Schema$CommentThread>, callback: BodyResponseCallback<Schema$CommentThread>): void;
7550
7565
  updateCommentThreads(params: Params$Resource$Youtube$V3$Updatecommentthreads, callback: BodyResponseCallback<Schema$CommentThread>): void;