public class Plus.Comments.Get extends PlusRequest<Comment>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Plus.Comments.Get(java.lang.String commentId)
Get a comment.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getCommentId()
The ID of the comment to get.
|
Plus.Comments.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Plus.Comments.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Plus.Comments.Get |
setCommentId(java.lang.String commentId)
The ID of the comment to get.
|
Plus.Comments.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Plus.Comments.Get |
setKey(java.lang.String key)
API key.
|
Plus.Comments.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Plus.Comments.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Plus.Comments.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Plus.Comments.Get |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Plus.Comments.Get(java.lang.String commentId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Plus.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
commentId
- The ID of the comment to get.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Comment>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Comment>
java.io.IOException
public Plus.Comments.Get setAlt(java.lang.String alt)
PlusRequest
setAlt
in class PlusRequest<Comment>
public Plus.Comments.Get setFields(java.lang.String fields)
PlusRequest
setFields
in class PlusRequest<Comment>
public Plus.Comments.Get setKey(java.lang.String key)
PlusRequest
setKey
in class PlusRequest<Comment>
public Plus.Comments.Get setOauthToken(java.lang.String oauthToken)
PlusRequest
setOauthToken
in class PlusRequest<Comment>
public Plus.Comments.Get setPrettyPrint(java.lang.Boolean prettyPrint)
PlusRequest
setPrettyPrint
in class PlusRequest<Comment>
public Plus.Comments.Get setQuotaUser(java.lang.String quotaUser)
PlusRequest
setQuotaUser
in class PlusRequest<Comment>
public Plus.Comments.Get setUserIp(java.lang.String userIp)
PlusRequest
setUserIp
in class PlusRequest<Comment>
public java.lang.String getCommentId()
public Plus.Comments.Get setCommentId(java.lang.String commentId)
public Plus.Comments.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class PlusRequest<Comment>