public class YouTube.Watermarks.Set extends YouTubeRequest<java.lang.Void>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Set(java.lang.String channelId,
InvideoBranding content)
Uploads a watermark image to YouTube and sets it for a channel.
|
protected |
Set(java.lang.String channelId,
InvideoBranding content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a watermark image to YouTube and sets it for a channel.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChannelId()
The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.
|
java.lang.String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Watermarks.Set |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.Watermarks.Set |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.Watermarks.Set |
setChannelId(java.lang.String channelId)
The channelId parameter specifies the YouTube channel ID for which the watermark is being
provided.
|
YouTube.Watermarks.Set |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Watermarks.Set |
setKey(java.lang.String key)
API key.
|
YouTube.Watermarks.Set |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Watermarks.Set |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Watermarks.Set |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Watermarks.Set |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.Watermarks.Set |
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 Set(java.lang.String channelId,
InvideoBranding 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.
channelId - The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.content - the InvideoBrandingprotected Set(java.lang.String channelId,
InvideoBranding 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.
channelId - The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.content - the InvideoBranding media metadata or null if nonemediaContent - The media HTTP content or null if none.public YouTube.Watermarks.Set setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<java.lang.Void>public YouTube.Watermarks.Set setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<java.lang.Void>public YouTube.Watermarks.Set setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<java.lang.Void>public YouTube.Watermarks.Set setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<java.lang.Void>public YouTube.Watermarks.Set setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<java.lang.Void>public YouTube.Watermarks.Set setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<java.lang.Void>public YouTube.Watermarks.Set setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<java.lang.Void>public java.lang.String getChannelId()
public YouTube.Watermarks.Set setChannelId(java.lang.String channelId)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.Watermarks.Set setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public YouTube.Watermarks.Set set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<java.lang.Void>