target.apidocs.com.google.api.services.youtube.YouTube.ChannelBanners.html Maven / Gradle / Ivy
YouTube.ChannelBanners (YouTube Data API v3 v3-rev20230319-2.0.0)
com.google.api.services.youtube
Class YouTube.ChannelBanners
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.ChannelBanners
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.ChannelBanners.Insert
-
Constructor Summary
Constructors
Constructor and Description
ChannelBanners()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.ChannelBanners.Insert
insert(ChannelBannerResource content)
Inserts a new resource into this collection.
YouTube.ChannelBanners.Insert
insert(ChannelBannerResource content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Inserts a new resource into this collection.
-
-
Method Detail
-
insert
public YouTube.ChannelBanners.Insert insert(ChannelBannerResource content)
throws IOException
Inserts a new resource into this collection.
Create a request for the method "channelBanners.insert".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
content
- the ChannelBannerResource
- Returns:
- the request
- Throws:
IOException
-
insert
public YouTube.ChannelBanners.Insert insert(ChannelBannerResource content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
throws IOException
Inserts a new resource into this collection.
Create a request for the method "channelBanners.insert".
This request holds the parameters needed by the the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
- Parameters:
content
- the ChannelBannerResource
media metadata or null
if none
mediaContent
- The media HTTP content or null
if none.
- Returns:
- the request
- Throws:
IOException
- if the initialization of the request fails
Copyright © 2011–2023 Google. All rights reserved.