@googleapis/youtube 11.0.1 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v3.ts CHANGED
@@ -129,6 +129,7 @@ export namespace youtube_v3 {
129
129
  liveStreams: Resource$Livestreams;
130
130
  members: Resource$Members;
131
131
  membershipsLevels: Resource$Membershipslevels;
132
+ playlistImages: Resource$Playlistimages;
132
133
  playlistItems: Resource$Playlistitems;
133
134
  playlists: Resource$Playlists;
134
135
  search: Resource$Search;
@@ -166,6 +167,7 @@ export namespace youtube_v3 {
166
167
  this.liveStreams = new Resource$Livestreams(this.context);
167
168
  this.members = new Resource$Members(this.context);
168
169
  this.membershipsLevels = new Resource$Membershipslevels(this.context);
170
+ this.playlistImages = new Resource$Playlistimages(this.context);
169
171
  this.playlistItems = new Resource$Playlistitems(this.context);
170
172
  this.playlists = new Resource$Playlists(this.context);
171
173
  this.search = new Resource$Search(this.context);
@@ -1688,13 +1690,13 @@ export namespace youtube_v3 {
1688
1690
  */
1689
1691
  enabled?: boolean | null;
1690
1692
  /**
1691
- * If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone").
1693
+ * If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone"). The value is specified in ISO 8601 format.
1692
1694
  */
1693
1695
  pauseAdsUntil?: string | null;
1694
1696
  /**
1695
- * Interval frequency that api uses to insert cuepoints automatically.
1697
+ * Interval frequency in seconds that api uses to insert cuepoints automatically.
1696
1698
  */
1697
- repeatInterval?: string | null;
1699
+ repeatIntervalSecs?: number | null;
1698
1700
  /**
1699
1701
  * The strategy to use when scheduling cuepoints.
1700
1702
  */
@@ -3021,6 +3023,57 @@ export namespace youtube_v3 {
3021
3023
  */
3022
3024
  itemCount?: number | null;
3023
3025
  }
3026
+ export interface Schema$PlaylistImage {
3027
+ /**
3028
+ * Identifies this resource (playlist id and image type).
3029
+ */
3030
+ id?: string | null;
3031
+ /**
3032
+ * Identifies what kind of resource this is. Value: the fixed string "youtube#playlistImages".
3033
+ */
3034
+ kind?: string | null;
3035
+ snippet?: Schema$PlaylistImageSnippet;
3036
+ }
3037
+ export interface Schema$PlaylistImageListResponse {
3038
+ items?: Schema$PlaylistImage[];
3039
+ /**
3040
+ * Identifies what kind of resource this is. Value: the fixed string "youtube#playlistImageListResponse".
3041
+ */
3042
+ kind?: string | null;
3043
+ /**
3044
+ * The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
3045
+ */
3046
+ nextPageToken?: string | null;
3047
+ /**
3048
+ * General pagination information.
3049
+ */
3050
+ pageInfo?: Schema$PageInfo;
3051
+ /**
3052
+ * The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
3053
+ */
3054
+ prevPageToken?: string | null;
3055
+ }
3056
+ /**
3057
+ * A *playlistImage* resource identifies another resource, such as a image, that is associated with a playlist. In addition, the playlistImage resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistImages.list method to retrieve image data for any of those playlists. You can also add or remove images from those lists by calling the playlistImages.insert and playlistImages.delete methods.
3058
+ */
3059
+ export interface Schema$PlaylistImageSnippet {
3060
+ /**
3061
+ * The image height.
3062
+ */
3063
+ height?: number | null;
3064
+ /**
3065
+ * The Playlist ID of the playlist this image is associated with.
3066
+ */
3067
+ playlistId?: string | null;
3068
+ /**
3069
+ * The image type.
3070
+ */
3071
+ type?: string | null;
3072
+ /**
3073
+ * The image width.
3074
+ */
3075
+ width?: number | null;
3076
+ }
3024
3077
  /**
3025
3078
  * A *playlistItem* resource identifies another resource, such as a video, that is included in a playlist. In addition, the playlistItem resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods. For example, if a user gives a positive rating to a video, you would insert that video into the liked videos playlist for that user's channel.
3026
3079
  */
@@ -9572,6 +9625,441 @@ export namespace youtube_v3 {
9572
9625
  part?: string[];
9573
9626
  }
9574
9627
 
9628
+ export class Resource$Playlistimages {
9629
+ context: APIRequestContext;
9630
+ constructor(context: APIRequestContext) {
9631
+ this.context = context;
9632
+ }
9633
+
9634
+ /**
9635
+ * Deletes a resource.
9636
+ *
9637
+ * @param params - Parameters for request
9638
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9639
+ * @param callback - Optional callback that handles the response.
9640
+ * @returns A promise if used with async/await, or void if used with a callback.
9641
+ */
9642
+ delete(
9643
+ params: Params$Resource$Playlistimages$Delete,
9644
+ options: StreamMethodOptions
9645
+ ): GaxiosPromise<Readable>;
9646
+ delete(
9647
+ params?: Params$Resource$Playlistimages$Delete,
9648
+ options?: MethodOptions
9649
+ ): GaxiosPromise<void>;
9650
+ delete(
9651
+ params: Params$Resource$Playlistimages$Delete,
9652
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9653
+ callback: BodyResponseCallback<Readable>
9654
+ ): void;
9655
+ delete(
9656
+ params: Params$Resource$Playlistimages$Delete,
9657
+ options: MethodOptions | BodyResponseCallback<void>,
9658
+ callback: BodyResponseCallback<void>
9659
+ ): void;
9660
+ delete(
9661
+ params: Params$Resource$Playlistimages$Delete,
9662
+ callback: BodyResponseCallback<void>
9663
+ ): void;
9664
+ delete(callback: BodyResponseCallback<void>): void;
9665
+ delete(
9666
+ paramsOrCallback?:
9667
+ | Params$Resource$Playlistimages$Delete
9668
+ | BodyResponseCallback<void>
9669
+ | BodyResponseCallback<Readable>,
9670
+ optionsOrCallback?:
9671
+ | MethodOptions
9672
+ | StreamMethodOptions
9673
+ | BodyResponseCallback<void>
9674
+ | BodyResponseCallback<Readable>,
9675
+ callback?: BodyResponseCallback<void> | BodyResponseCallback<Readable>
9676
+ ): void | GaxiosPromise<void> | GaxiosPromise<Readable> {
9677
+ let params = (paramsOrCallback ||
9678
+ {}) as Params$Resource$Playlistimages$Delete;
9679
+ let options = (optionsOrCallback || {}) as MethodOptions;
9680
+
9681
+ if (typeof paramsOrCallback === 'function') {
9682
+ callback = paramsOrCallback;
9683
+ params = {} as Params$Resource$Playlistimages$Delete;
9684
+ options = {};
9685
+ }
9686
+
9687
+ if (typeof optionsOrCallback === 'function') {
9688
+ callback = optionsOrCallback;
9689
+ options = {};
9690
+ }
9691
+
9692
+ const rootUrl = options.rootUrl || 'https://youtube.googleapis.com/';
9693
+ const parameters = {
9694
+ options: Object.assign(
9695
+ {
9696
+ url: (rootUrl + '/youtube/v3/playlistImages').replace(
9697
+ /([^:]\/)\/+/g,
9698
+ '$1'
9699
+ ),
9700
+ method: 'DELETE',
9701
+ },
9702
+ options
9703
+ ),
9704
+ params,
9705
+ requiredParams: [],
9706
+ pathParams: [],
9707
+ context: this.context,
9708
+ };
9709
+ if (callback) {
9710
+ createAPIRequest<void>(
9711
+ parameters,
9712
+ callback as BodyResponseCallback<unknown>
9713
+ );
9714
+ } else {
9715
+ return createAPIRequest<void>(parameters);
9716
+ }
9717
+ }
9718
+
9719
+ /**
9720
+ * Inserts a new resource into this collection.
9721
+ *
9722
+ * @param params - Parameters for request
9723
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9724
+ * @param callback - Optional callback that handles the response.
9725
+ * @returns A promise if used with async/await, or void if used with a callback.
9726
+ */
9727
+ insert(
9728
+ params: Params$Resource$Playlistimages$Insert,
9729
+ options: StreamMethodOptions
9730
+ ): GaxiosPromise<Readable>;
9731
+ insert(
9732
+ params?: Params$Resource$Playlistimages$Insert,
9733
+ options?: MethodOptions
9734
+ ): GaxiosPromise<Schema$PlaylistImage>;
9735
+ insert(
9736
+ params: Params$Resource$Playlistimages$Insert,
9737
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9738
+ callback: BodyResponseCallback<Readable>
9739
+ ): void;
9740
+ insert(
9741
+ params: Params$Resource$Playlistimages$Insert,
9742
+ options: MethodOptions | BodyResponseCallback<Schema$PlaylistImage>,
9743
+ callback: BodyResponseCallback<Schema$PlaylistImage>
9744
+ ): void;
9745
+ insert(
9746
+ params: Params$Resource$Playlistimages$Insert,
9747
+ callback: BodyResponseCallback<Schema$PlaylistImage>
9748
+ ): void;
9749
+ insert(callback: BodyResponseCallback<Schema$PlaylistImage>): void;
9750
+ insert(
9751
+ paramsOrCallback?:
9752
+ | Params$Resource$Playlistimages$Insert
9753
+ | BodyResponseCallback<Schema$PlaylistImage>
9754
+ | BodyResponseCallback<Readable>,
9755
+ optionsOrCallback?:
9756
+ | MethodOptions
9757
+ | StreamMethodOptions
9758
+ | BodyResponseCallback<Schema$PlaylistImage>
9759
+ | BodyResponseCallback<Readable>,
9760
+ callback?:
9761
+ | BodyResponseCallback<Schema$PlaylistImage>
9762
+ | BodyResponseCallback<Readable>
9763
+ ): void | GaxiosPromise<Schema$PlaylistImage> | GaxiosPromise<Readable> {
9764
+ let params = (paramsOrCallback ||
9765
+ {}) as Params$Resource$Playlistimages$Insert;
9766
+ let options = (optionsOrCallback || {}) as MethodOptions;
9767
+
9768
+ if (typeof paramsOrCallback === 'function') {
9769
+ callback = paramsOrCallback;
9770
+ params = {} as Params$Resource$Playlistimages$Insert;
9771
+ options = {};
9772
+ }
9773
+
9774
+ if (typeof optionsOrCallback === 'function') {
9775
+ callback = optionsOrCallback;
9776
+ options = {};
9777
+ }
9778
+
9779
+ const rootUrl = options.rootUrl || 'https://youtube.googleapis.com/';
9780
+ const parameters = {
9781
+ options: Object.assign(
9782
+ {
9783
+ url: (rootUrl + '/youtube/v3/playlistImages').replace(
9784
+ /([^:]\/)\/+/g,
9785
+ '$1'
9786
+ ),
9787
+ method: 'POST',
9788
+ },
9789
+ options
9790
+ ),
9791
+ params,
9792
+ requiredParams: [],
9793
+ pathParams: [],
9794
+ context: this.context,
9795
+ };
9796
+ if (callback) {
9797
+ createAPIRequest<Schema$PlaylistImage>(
9798
+ parameters,
9799
+ callback as BodyResponseCallback<unknown>
9800
+ );
9801
+ } else {
9802
+ return createAPIRequest<Schema$PlaylistImage>(parameters);
9803
+ }
9804
+ }
9805
+
9806
+ /**
9807
+ * Retrieves a list of resources, possibly filtered.
9808
+ *
9809
+ * @param params - Parameters for request
9810
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9811
+ * @param callback - Optional callback that handles the response.
9812
+ * @returns A promise if used with async/await, or void if used with a callback.
9813
+ */
9814
+ list(
9815
+ params: Params$Resource$Playlistimages$List,
9816
+ options: StreamMethodOptions
9817
+ ): GaxiosPromise<Readable>;
9818
+ list(
9819
+ params?: Params$Resource$Playlistimages$List,
9820
+ options?: MethodOptions
9821
+ ): GaxiosPromise<Schema$PlaylistImageListResponse>;
9822
+ list(
9823
+ params: Params$Resource$Playlistimages$List,
9824
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9825
+ callback: BodyResponseCallback<Readable>
9826
+ ): void;
9827
+ list(
9828
+ params: Params$Resource$Playlistimages$List,
9829
+ options:
9830
+ | MethodOptions
9831
+ | BodyResponseCallback<Schema$PlaylistImageListResponse>,
9832
+ callback: BodyResponseCallback<Schema$PlaylistImageListResponse>
9833
+ ): void;
9834
+ list(
9835
+ params: Params$Resource$Playlistimages$List,
9836
+ callback: BodyResponseCallback<Schema$PlaylistImageListResponse>
9837
+ ): void;
9838
+ list(
9839
+ callback: BodyResponseCallback<Schema$PlaylistImageListResponse>
9840
+ ): void;
9841
+ list(
9842
+ paramsOrCallback?:
9843
+ | Params$Resource$Playlistimages$List
9844
+ | BodyResponseCallback<Schema$PlaylistImageListResponse>
9845
+ | BodyResponseCallback<Readable>,
9846
+ optionsOrCallback?:
9847
+ | MethodOptions
9848
+ | StreamMethodOptions
9849
+ | BodyResponseCallback<Schema$PlaylistImageListResponse>
9850
+ | BodyResponseCallback<Readable>,
9851
+ callback?:
9852
+ | BodyResponseCallback<Schema$PlaylistImageListResponse>
9853
+ | BodyResponseCallback<Readable>
9854
+ ):
9855
+ | void
9856
+ | GaxiosPromise<Schema$PlaylistImageListResponse>
9857
+ | GaxiosPromise<Readable> {
9858
+ let params = (paramsOrCallback ||
9859
+ {}) as Params$Resource$Playlistimages$List;
9860
+ let options = (optionsOrCallback || {}) as MethodOptions;
9861
+
9862
+ if (typeof paramsOrCallback === 'function') {
9863
+ callback = paramsOrCallback;
9864
+ params = {} as Params$Resource$Playlistimages$List;
9865
+ options = {};
9866
+ }
9867
+
9868
+ if (typeof optionsOrCallback === 'function') {
9869
+ callback = optionsOrCallback;
9870
+ options = {};
9871
+ }
9872
+
9873
+ const rootUrl = options.rootUrl || 'https://youtube.googleapis.com/';
9874
+ const parameters = {
9875
+ options: Object.assign(
9876
+ {
9877
+ url: (rootUrl + '/youtube/v3/playlistImages').replace(
9878
+ /([^:]\/)\/+/g,
9879
+ '$1'
9880
+ ),
9881
+ method: 'GET',
9882
+ },
9883
+ options
9884
+ ),
9885
+ params,
9886
+ requiredParams: [],
9887
+ pathParams: [],
9888
+ context: this.context,
9889
+ };
9890
+ if (callback) {
9891
+ createAPIRequest<Schema$PlaylistImageListResponse>(
9892
+ parameters,
9893
+ callback as BodyResponseCallback<unknown>
9894
+ );
9895
+ } else {
9896
+ return createAPIRequest<Schema$PlaylistImageListResponse>(parameters);
9897
+ }
9898
+ }
9899
+
9900
+ /**
9901
+ * Updates an existing resource.
9902
+ *
9903
+ * @param params - Parameters for request
9904
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9905
+ * @param callback - Optional callback that handles the response.
9906
+ * @returns A promise if used with async/await, or void if used with a callback.
9907
+ */
9908
+ update(
9909
+ params: Params$Resource$Playlistimages$Update,
9910
+ options: StreamMethodOptions
9911
+ ): GaxiosPromise<Readable>;
9912
+ update(
9913
+ params?: Params$Resource$Playlistimages$Update,
9914
+ options?: MethodOptions
9915
+ ): GaxiosPromise<Schema$PlaylistImage>;
9916
+ update(
9917
+ params: Params$Resource$Playlistimages$Update,
9918
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9919
+ callback: BodyResponseCallback<Readable>
9920
+ ): void;
9921
+ update(
9922
+ params: Params$Resource$Playlistimages$Update,
9923
+ options: MethodOptions | BodyResponseCallback<Schema$PlaylistImage>,
9924
+ callback: BodyResponseCallback<Schema$PlaylistImage>
9925
+ ): void;
9926
+ update(
9927
+ params: Params$Resource$Playlistimages$Update,
9928
+ callback: BodyResponseCallback<Schema$PlaylistImage>
9929
+ ): void;
9930
+ update(callback: BodyResponseCallback<Schema$PlaylistImage>): void;
9931
+ update(
9932
+ paramsOrCallback?:
9933
+ | Params$Resource$Playlistimages$Update
9934
+ | BodyResponseCallback<Schema$PlaylistImage>
9935
+ | BodyResponseCallback<Readable>,
9936
+ optionsOrCallback?:
9937
+ | MethodOptions
9938
+ | StreamMethodOptions
9939
+ | BodyResponseCallback<Schema$PlaylistImage>
9940
+ | BodyResponseCallback<Readable>,
9941
+ callback?:
9942
+ | BodyResponseCallback<Schema$PlaylistImage>
9943
+ | BodyResponseCallback<Readable>
9944
+ ): void | GaxiosPromise<Schema$PlaylistImage> | GaxiosPromise<Readable> {
9945
+ let params = (paramsOrCallback ||
9946
+ {}) as Params$Resource$Playlistimages$Update;
9947
+ let options = (optionsOrCallback || {}) as MethodOptions;
9948
+
9949
+ if (typeof paramsOrCallback === 'function') {
9950
+ callback = paramsOrCallback;
9951
+ params = {} as Params$Resource$Playlistimages$Update;
9952
+ options = {};
9953
+ }
9954
+
9955
+ if (typeof optionsOrCallback === 'function') {
9956
+ callback = optionsOrCallback;
9957
+ options = {};
9958
+ }
9959
+
9960
+ const rootUrl = options.rootUrl || 'https://youtube.googleapis.com/';
9961
+ const parameters = {
9962
+ options: Object.assign(
9963
+ {
9964
+ url: (rootUrl + '/youtube/v3/playlistImages').replace(
9965
+ /([^:]\/)\/+/g,
9966
+ '$1'
9967
+ ),
9968
+ method: 'PUT',
9969
+ },
9970
+ options
9971
+ ),
9972
+ params,
9973
+ requiredParams: [],
9974
+ pathParams: [],
9975
+ context: this.context,
9976
+ };
9977
+ if (callback) {
9978
+ createAPIRequest<Schema$PlaylistImage>(
9979
+ parameters,
9980
+ callback as BodyResponseCallback<unknown>
9981
+ );
9982
+ } else {
9983
+ return createAPIRequest<Schema$PlaylistImage>(parameters);
9984
+ }
9985
+ }
9986
+ }
9987
+
9988
+ export interface Params$Resource$Playlistimages$Delete
9989
+ extends StandardParameters {
9990
+ /**
9991
+ * Id to identify this image. This is returned from by the List method.
9992
+ */
9993
+ id?: string;
9994
+ /**
9995
+ * *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
9996
+ */
9997
+ onBehalfOfContentOwner?: string;
9998
+ }
9999
+ export interface Params$Resource$Playlistimages$Insert
10000
+ extends StandardParameters {
10001
+ /**
10002
+ * *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
10003
+ */
10004
+ onBehalfOfContentOwner?: string;
10005
+ /**
10006
+ * This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
10007
+ */
10008
+ onBehalfOfContentOwnerChannel?: string;
10009
+ /**
10010
+ * The *part* parameter specifies the properties that the API response will include.
10011
+ */
10012
+ part?: string[];
10013
+
10014
+ /**
10015
+ * Request body metadata
10016
+ */
10017
+ requestBody?: Schema$PlaylistImage;
10018
+ }
10019
+ export interface Params$Resource$Playlistimages$List
10020
+ extends StandardParameters {
10021
+ /**
10022
+ * The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
10023
+ */
10024
+ maxResults?: number;
10025
+ /**
10026
+ * *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
10027
+ */
10028
+ onBehalfOfContentOwner?: string;
10029
+ /**
10030
+ * This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
10031
+ */
10032
+ onBehalfOfContentOwnerChannel?: string;
10033
+ /**
10034
+ * The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
10035
+ */
10036
+ pageToken?: string;
10037
+ /**
10038
+ * Return PlaylistImages for this playlist id.
10039
+ */
10040
+ parent?: string;
10041
+ /**
10042
+ * The *part* parameter specifies a comma-separated list of one or more playlistImage resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response.
10043
+ */
10044
+ part?: string[];
10045
+ }
10046
+ export interface Params$Resource$Playlistimages$Update
10047
+ extends StandardParameters {
10048
+ /**
10049
+ * *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
10050
+ */
10051
+ onBehalfOfContentOwner?: string;
10052
+ /**
10053
+ * The *part* parameter specifies the properties that the API response will include.
10054
+ */
10055
+ part?: string[];
10056
+
10057
+ /**
10058
+ * Request body metadata
10059
+ */
10060
+ requestBody?: Schema$PlaylistImage;
10061
+ }
10062
+
9575
10063
  export class Resource$Playlistitems {
9576
10064
  context: APIRequestContext;
9577
10065
  constructor(context: APIRequestContext) {
@@ -10604,10 +11092,6 @@ export namespace youtube_v3 {
10604
11092
  * Display the content as seen by viewers in this country.
10605
11093
  */
10606
11094
  regionCode?: string;
10607
- /**
10608
- * Search related to a resource.
10609
- */
10610
- relatedToVideoId?: string;
10611
11095
  /**
10612
11096
  * Return results relevant to this language.
10613
11097
  */
@@ -10652,6 +11136,10 @@ export namespace youtube_v3 {
10652
11136
  * Filter on the license of the videos.
10653
11137
  */
10654
11138
  videoLicense?: string;
11139
+ /**
11140
+ *
11141
+ */
11142
+ videoPaidProductPlacement?: string;
10655
11143
  /**
10656
11144
  * Filter on syndicated videos.
10657
11145
  */