public class Plus.Comments.Get extends PlusRequest<Comment>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Get(java.lang.String commentId)
Shut down.
|
| 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)
An opaque string that represents a user for quota purposes.
|
Plus.Comments.Get |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 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.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Comment>java.io.IOExceptionpublic Plus.Comments.Get setAlt(java.lang.String alt)
PlusRequestsetAlt in class PlusRequest<Comment>public Plus.Comments.Get setFields(java.lang.String fields)
PlusRequestsetFields in class PlusRequest<Comment>public Plus.Comments.Get setKey(java.lang.String key)
PlusRequestsetKey in class PlusRequest<Comment>public Plus.Comments.Get setOauthToken(java.lang.String oauthToken)
PlusRequestsetOauthToken in class PlusRequest<Comment>public Plus.Comments.Get setPrettyPrint(java.lang.Boolean prettyPrint)
PlusRequestsetPrettyPrint in class PlusRequest<Comment>public Plus.Comments.Get setQuotaUser(java.lang.String quotaUser)
PlusRequestsetQuotaUser in class PlusRequest<Comment>public Plus.Comments.Get setUserIp(java.lang.String userIp)
PlusRequestsetUserIp 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>