public class Plus.Moments.List extends PlusRequest<MomentsFeed>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Plus.Moments.List(java.lang.String userId,
java.lang.String collection)
List all of the moments for a particular user.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getCollection()
The collection of moments to list.
|
java.lang.Long |
getMaxResults()
The maximum number of moments to include in the response, which is used for paging.
|
java.lang.String |
getPageToken()
The continuation token, which is used to page through large result sets.
|
java.lang.String |
getTargetUrl()
Only moments containing this targetUrl will be returned.
|
java.lang.String |
getType()
Only moments of this type will be returned.
|
java.lang.String |
getUserId()
The ID of the user to get moments for.
|
Plus.Moments.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Plus.Moments.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Plus.Moments.List |
setCollection(java.lang.String collection)
The collection of moments to list.
|
Plus.Moments.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Plus.Moments.List |
setKey(java.lang.String key)
API key.
|
Plus.Moments.List |
setMaxResults(java.lang.Long maxResults)
The maximum number of moments to include in the response, which is used for paging.
|
Plus.Moments.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Plus.Moments.List |
setPageToken(java.lang.String pageToken)
The continuation token, which is used to page through large result sets.
|
Plus.Moments.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Plus.Moments.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Plus.Moments.List |
setTargetUrl(java.lang.String targetUrl)
Only moments containing this targetUrl will be returned.
|
Plus.Moments.List |
setType(java.lang.String type)
Only moments of this type will be returned.
|
Plus.Moments.List |
setUserId(java.lang.String userId)
The ID of the user to get moments for.
|
Plus.Moments.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
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, setUnknownKeysprotected Plus.Moments.List(java.lang.String userId,
java.lang.String collection)
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.
userId - The ID of the user to get moments for. The special value "me" can be used to indicate the
authenticated user.collection - The collection of moments to list.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<MomentsFeed>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<MomentsFeed>java.io.IOExceptionpublic Plus.Moments.List setAlt(java.lang.String alt)
PlusRequestsetAlt in class PlusRequest<MomentsFeed>public Plus.Moments.List setFields(java.lang.String fields)
PlusRequestsetFields in class PlusRequest<MomentsFeed>public Plus.Moments.List setKey(java.lang.String key)
PlusRequestsetKey in class PlusRequest<MomentsFeed>public Plus.Moments.List setOauthToken(java.lang.String oauthToken)
PlusRequestsetOauthToken in class PlusRequest<MomentsFeed>public Plus.Moments.List setPrettyPrint(java.lang.Boolean prettyPrint)
PlusRequestsetPrettyPrint in class PlusRequest<MomentsFeed>public Plus.Moments.List setQuotaUser(java.lang.String quotaUser)
PlusRequestsetQuotaUser in class PlusRequest<MomentsFeed>public Plus.Moments.List setUserIp(java.lang.String userIp)
PlusRequestsetUserIp in class PlusRequest<MomentsFeed>public java.lang.String getUserId()
public Plus.Moments.List setUserId(java.lang.String userId)
public java.lang.String getCollection()
public Plus.Moments.List setCollection(java.lang.String collection)
public java.lang.Long getMaxResults()
public Plus.Moments.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public Plus.Moments.List setPageToken(java.lang.String pageToken)
public java.lang.String getTargetUrl()
public Plus.Moments.List setTargetUrl(java.lang.String targetUrl)
public java.lang.String getType()
public Plus.Moments.List setType(java.lang.String type)
public Plus.Moments.List set(java.lang.String parameterName, java.lang.Object value)
set in class PlusRequest<MomentsFeed>