public class YouTube.ChannelBanners.Insert extends YouTubeRequest<ChannelBannerResource>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Insert(ChannelBannerResource content)
Uploads a channel banner image to YouTube.
|
protected |
Insert(ChannelBannerResource content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a channel banner image to YouTube.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChannelId()
The channelId parameter identifies the YouTube channel to which the banner is uploaded.
|
java.lang.String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.ChannelBanners.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.ChannelBanners.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.ChannelBanners.Insert |
setChannelId(java.lang.String channelId)
The channelId parameter identifies the YouTube channel to which the banner is uploaded.
|
YouTube.ChannelBanners.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.ChannelBanners.Insert |
setKey(java.lang.String key)
API key.
|
YouTube.ChannelBanners.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.ChannelBanners.Insert |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.ChannelBanners.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.ChannelBanners.Insert |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.ChannelBanners.Insert |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Insert(ChannelBannerResource content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. YouTube.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
content - the ChannelBannerResourceprotected Insert(ChannelBannerResource content, com.google.api.client.http.AbstractInputStreamContent mediaContent)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. YouTube.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
This constructor should be used for uploading media content.
content - the ChannelBannerResource media metadata or null if nonemediaContent - The media HTTP content or null if none.public YouTube.ChannelBanners.Insert setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<ChannelBannerResource>public YouTube.ChannelBanners.Insert setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<ChannelBannerResource>public YouTube.ChannelBanners.Insert setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<ChannelBannerResource>public YouTube.ChannelBanners.Insert setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<ChannelBannerResource>public YouTube.ChannelBanners.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<ChannelBannerResource>public YouTube.ChannelBanners.Insert setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<ChannelBannerResource>public YouTube.ChannelBanners.Insert setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<ChannelBannerResource>public java.lang.String getChannelId()
public YouTube.ChannelBanners.Insert setChannelId(java.lang.String channelId)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.ChannelBanners.Insert setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public YouTube.ChannelBanners.Insert set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<ChannelBannerResource>