public class Drive.Replies.Patch extends DriveRequest<CommentReply>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Patch(java.lang.String fileId,
java.lang.String commentId,
java.lang.String replyId,
CommentReply content)
Updates an existing reply.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommentId()
The ID of the comment.
|
java.lang.String |
getFileId()
The ID of the file.
|
java.lang.String |
getReplyId()
The ID of the reply.
|
Drive.Replies.Patch |
set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Replies.Patch |
setAlt(java.lang.String alt)
Data format for the response.
|
Drive.Replies.Patch |
setCommentId(java.lang.String commentId)
The ID of the comment.
|
Drive.Replies.Patch |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Replies.Patch |
setFileId(java.lang.String fileId)
The ID of the file.
|
Drive.Replies.Patch |
setKey(java.lang.String key)
API key.
|
Drive.Replies.Patch |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Replies.Patch |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Replies.Patch |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Drive.Replies.Patch |
setReplyId(java.lang.String replyId)
The ID of the reply.
|
Drive.Replies.Patch |
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 Patch(java.lang.String fileId,
java.lang.String commentId,
java.lang.String replyId,
CommentReply content)
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.replyId - The ID of the reply.content - the CommentReplypublic Drive.Replies.Patch setAlt(java.lang.String alt)
DriveRequestsetAlt in class DriveRequest<CommentReply>public Drive.Replies.Patch setFields(java.lang.String fields)
DriveRequestsetFields in class DriveRequest<CommentReply>public Drive.Replies.Patch setKey(java.lang.String key)
DriveRequestsetKey in class DriveRequest<CommentReply>public Drive.Replies.Patch setOauthToken(java.lang.String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<CommentReply>public Drive.Replies.Patch setPrettyPrint(java.lang.Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<CommentReply>public Drive.Replies.Patch setQuotaUser(java.lang.String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<CommentReply>public Drive.Replies.Patch setUserIp(java.lang.String userIp)
DriveRequestsetUserIp in class DriveRequest<CommentReply>public java.lang.String getFileId()
public Drive.Replies.Patch setFileId(java.lang.String fileId)
public java.lang.String getCommentId()
public Drive.Replies.Patch setCommentId(java.lang.String commentId)
public java.lang.String getReplyId()
public Drive.Replies.Patch setReplyId(java.lang.String replyId)
public Drive.Replies.Patch set(java.lang.String parameterName, java.lang.Object value)
set in class DriveRequest<CommentReply>