public class YouTube.Captions.Delete extends YouTubeRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String id)
Deletes a specified caption track.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The id parameter identifies the caption track that is being deleted.
|
String |
getOnBehalfOf()
ID of the Google+ Page for the channel that the request is be on behalf of
|
String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Captions.Delete |
set(String parameterName,
Object value) |
YouTube.Captions.Delete |
setAlt(String alt)
Data format for the response.
|
YouTube.Captions.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Captions.Delete |
setId(String id)
The id parameter identifies the caption track that is being deleted.
|
YouTube.Captions.Delete |
setKey(String key)
API key.
|
YouTube.Captions.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Captions.Delete |
setOnBehalfOf(String onBehalfOf)
ID of the Google+ Page for the channel that the request is be on behalf of
|
YouTube.Captions.Delete |
setOnBehalfOfContentOwner(String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Captions.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Captions.Delete |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.Captions.Delete |
setUserIp(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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Delete(String id)
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.
id - The id parameter identifies the caption track that is being deleted. The value is a caption track ID
as identified by the id property in a caption resource.public YouTube.Captions.Delete setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<Void>public YouTube.Captions.Delete setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<Void>public YouTube.Captions.Delete setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<Void>public YouTube.Captions.Delete setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<Void>public YouTube.Captions.Delete setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<Void>public YouTube.Captions.Delete setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<Void>public YouTube.Captions.Delete setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<Void>public String getId()
public YouTube.Captions.Delete setId(String id)
public String getOnBehalfOf()
public YouTube.Captions.Delete setOnBehalfOf(String onBehalfOf)
public String getOnBehalfOfContentOwner()
public YouTube.Captions.Delete setOnBehalfOfContentOwner(String onBehalfOfContentOwner)
public YouTube.Captions.Delete set(String parameterName, Object value)
set in class YouTubeRequest<Void>Copyright © 2011–2019 Google. All rights reserved.