public class YouTube.Thumbnails.Set extends YouTubeRequest<ThumbnailSetResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
YouTube.Thumbnails.Set(java.lang.String videoId)
Uploads a custom video thumbnail to YouTube and sets it for a video.
|
protected |
YouTube.Thumbnails.Set(java.lang.String videoId,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a custom video thumbnail to YouTube and sets it for a video.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
java.lang.String |
getVideoId()
The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being
provided.
|
YouTube.Thumbnails.Set |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.Thumbnails.Set |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.Thumbnails.Set |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Thumbnails.Set |
setKey(java.lang.String key)
API key.
|
YouTube.Thumbnails.Set |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Thumbnails.Set |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Thumbnails.Set |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Thumbnails.Set |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.Thumbnails.Set |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
YouTube.Thumbnails.Set |
setVideoId(java.lang.String videoId)
The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is
being provided.
|
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, setUnknownKeysprotected YouTube.Thumbnails.Set(java.lang.String videoId)
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.
videoId - The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being
provided.protected YouTube.Thumbnails.Set(java.lang.String videoId,
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.
videoId - The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being
provided.mediaContent - The media HTTP content or null if none.public YouTube.Thumbnails.Set setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<ThumbnailSetResponse>public YouTube.Thumbnails.Set setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<ThumbnailSetResponse>public YouTube.Thumbnails.Set setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<ThumbnailSetResponse>public YouTube.Thumbnails.Set setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<ThumbnailSetResponse>public YouTube.Thumbnails.Set setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<ThumbnailSetResponse>public YouTube.Thumbnails.Set setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<ThumbnailSetResponse>public YouTube.Thumbnails.Set setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<ThumbnailSetResponse>public java.lang.String getVideoId()
public YouTube.Thumbnails.Set setVideoId(java.lang.String videoId)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.Thumbnails.Set setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public YouTube.Thumbnails.Set set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<ThumbnailSetResponse>