public class Drive.Comments.Delete extends DriveRequest<java.lang.Void>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Delete(java.lang.String fileId,
java.lang.String commentId)
Deletes a comment.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommentId()
The ID of the comment.
|
java.lang.String |
getFileId()
The ID of the file.
|
Drive.Comments.Delete |
set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Comments.Delete |
setAlt(java.lang.String alt)
Data format for the response.
|
Drive.Comments.Delete |
setCommentId(java.lang.String commentId)
The ID of the comment.
|
Drive.Comments.Delete |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Comments.Delete |
setFileId(java.lang.String fileId)
The ID of the file.
|
Drive.Comments.Delete |
setKey(java.lang.String key)
API key.
|
Drive.Comments.Delete |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Comments.Delete |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Comments.Delete |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Drive.Comments.Delete |
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 Delete(java.lang.String fileId,
java.lang.String commentId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Drive.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
fileId - The ID of the file.commentId - The ID of the comment.public Drive.Comments.Delete setAlt(java.lang.String alt)
DriveRequestsetAlt in class DriveRequest<java.lang.Void>public Drive.Comments.Delete setFields(java.lang.String fields)
DriveRequestsetFields in class DriveRequest<java.lang.Void>public Drive.Comments.Delete setKey(java.lang.String key)
DriveRequestsetKey in class DriveRequest<java.lang.Void>public Drive.Comments.Delete setOauthToken(java.lang.String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<java.lang.Void>public Drive.Comments.Delete setPrettyPrint(java.lang.Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<java.lang.Void>public Drive.Comments.Delete setQuotaUser(java.lang.String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<java.lang.Void>public Drive.Comments.Delete setUserIp(java.lang.String userIp)
DriveRequestsetUserIp in class DriveRequest<java.lang.Void>public java.lang.String getFileId()
public Drive.Comments.Delete setFileId(java.lang.String fileId)
public java.lang.String getCommentId()
public Drive.Comments.Delete setCommentId(java.lang.String commentId)
public Drive.Comments.Delete set(java.lang.String parameterName, java.lang.Object value)
set in class DriveRequest<java.lang.Void>