| Modifier and Type | Class and Description |
|---|---|
class |
YouTube.ChannelBanners.Insert |
| Constructor and Description |
|---|
ChannelBanners() |
| 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,
AbstractInputStreamContent mediaContent)
Inserts a new resource into this collection.
|
public YouTube.ChannelBanners.Insert insert(ChannelBannerResource content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ChannelBannerResourceIOExceptionpublic YouTube.ChannelBanners.Insert insert(ChannelBannerResource content, AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
content - the ChannelBannerResource media metadata or null if nonemediaContent - The media HTTP content or null if none.IOException - if the initialization of the request failsCopyright © 2011–2021 Google. All rights reserved.