public class YouTube.Comments.Delete extends YouTubeRequest<java.lang.Void>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
YouTube.Comments.Delete(java.lang.String id)
Deletes a comment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
The id parameter specifies the comment ID for the resource that should be deleted.
|
YouTube.Comments.Delete |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.Comments.Delete |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.Comments.Delete |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Comments.Delete |
setId(java.lang.String id)
The id parameter specifies the comment ID for the resource that should be deleted.
|
YouTube.Comments.Delete |
setKey(java.lang.String key)
API key.
|
YouTube.Comments.Delete |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Comments.Delete |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Comments.Delete |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.Comments.Delete |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected YouTube.Comments.Delete(java.lang.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 specifies the comment ID for the resource that should be deleted.public YouTube.Comments.Delete setAlt(java.lang.String alt)
YouTubeRequest
setAlt
in class YouTubeRequest<java.lang.Void>
public YouTube.Comments.Delete setFields(java.lang.String fields)
YouTubeRequest
setFields
in class YouTubeRequest<java.lang.Void>
public YouTube.Comments.Delete setKey(java.lang.String key)
YouTubeRequest
setKey
in class YouTubeRequest<java.lang.Void>
public YouTube.Comments.Delete setOauthToken(java.lang.String oauthToken)
YouTubeRequest
setOauthToken
in class YouTubeRequest<java.lang.Void>
public YouTube.Comments.Delete setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequest
setPrettyPrint
in class YouTubeRequest<java.lang.Void>
public YouTube.Comments.Delete setQuotaUser(java.lang.String quotaUser)
YouTubeRequest
setQuotaUser
in class YouTubeRequest<java.lang.Void>
public YouTube.Comments.Delete setUserIp(java.lang.String userIp)
YouTubeRequest
setUserIp
in class YouTubeRequest<java.lang.Void>
public java.lang.String getId()
public YouTube.Comments.Delete setId(java.lang.String id)
public YouTube.Comments.Delete set(java.lang.String parameterName, java.lang.Object value)
set
in class YouTubeRequest<java.lang.Void>