target.apidocs.com.google.api.services.plus.Plus.Comments.Get.html Maven / Gradle / Ivy
The newest version!
Plus.Comments.Get (Google+ API v1-rev20190328-1.30.10)
com.google.api.services.plus
Class Plus.Comments.Get
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.plus.PlusRequest<Comment>
-
- com.google.api.services.plus.Plus.Comments.Get
-
- Enclosing class:
- Plus.Comments
public class Plus.Comments.Get
extends PlusRequest<Comment>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Get(String commentId)
Shut down.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
HttpRequest
buildHttpRequestUsingHead()
HttpResponse
executeUsingHead()
String
getCommentId()
The ID of the comment to get.
Plus.Comments.Get
set(String parameterName,
Object value)
Plus.Comments.Get
setAlt(String alt)
Data format for the response.
Plus.Comments.Get
setCommentId(String commentId)
The ID of the comment to get.
Plus.Comments.Get
setFields(String fields)
Selector specifying which fields to include in a partial response.
Plus.Comments.Get
setKey(String key)
API key.
Plus.Comments.Get
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
Plus.Comments.Get
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
Plus.Comments.Get
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
Plus.Comments.Get
setUserIp(String userIp)
Deprecated.
-
Methods inherited from class com.google.api.services.plus.PlusRequest
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
Get
protected Get(String commentId)
Shut down. See https://developers.google.com/+/api-shutdown for more details.
Create a request for the method "comments.get".
This request holds the parameters needed by the the plus server. After setting any optional
parameters, call the 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.
- Parameters:
commentId
- The ID of the comment to get.
- Since:
- 1.13
-
Method Detail
-
executeUsingHead
public HttpResponse executeUsingHead()
throws IOException
- Overrides:
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Comment>
- Throws:
IOException
-
buildHttpRequestUsingHead
public HttpRequest buildHttpRequestUsingHead()
throws IOException
- Overrides:
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Comment>
- Throws:
IOException
-
setAlt
public Plus.Comments.Get setAlt(String alt)
Description copied from class: PlusRequest
Data format for the response.
- Overrides:
setAlt
in class PlusRequest<Comment>
-
setFields
public Plus.Comments.Get setFields(String fields)
Description copied from class: PlusRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class PlusRequest<Comment>
-
setKey
public Plus.Comments.Get setKey(String key)
Description copied from class: PlusRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class PlusRequest<Comment>
-
setOauthToken
public Plus.Comments.Get setOauthToken(String oauthToken)
Description copied from class: PlusRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class PlusRequest<Comment>
-
setPrettyPrint
public Plus.Comments.Get setPrettyPrint(Boolean prettyPrint)
Description copied from class: PlusRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class PlusRequest<Comment>
-
setQuotaUser
public Plus.Comments.Get setQuotaUser(String quotaUser)
Description copied from class: PlusRequest
An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- Overrides:
setQuotaUser
in class PlusRequest<Comment>
-
setUserIp
public Plus.Comments.Get setUserIp(String userIp)
Description copied from class: PlusRequest
Deprecated. Please use quotaUser instead.
- Overrides:
setUserIp
in class PlusRequest<Comment>
-
getCommentId
public String getCommentId()
The ID of the comment to get.
-
setCommentId
public Plus.Comments.Get setCommentId(String commentId)
The ID of the comment to get.
-
set
public Plus.Comments.Get set(String parameterName,
Object value)
- Overrides:
set
in class PlusRequest<Comment>
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy