public class Plus.People.List extends PlusRequest<PeopleFeed>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
List(java.lang.String userId,
java.lang.String collection)
List all of the people in the specified collection.
|
| 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 people to list.
|
java.lang.Long |
getMaxResults()
The maximum number of people to include in the response, which is used for paging.
|
java.lang.String |
getOrderBy()
The order to return people in.
|
java.lang.String |
getPageToken()
The continuation token, which is used to page through large result sets.
|
java.lang.String |
getUserId()
Get the collection of people for the person identified.
|
Plus.People.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Plus.People.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Plus.People.List |
setCollection(java.lang.String collection)
The collection of people to list.
|
Plus.People.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Plus.People.List |
setKey(java.lang.String key)
API key.
|
Plus.People.List |
setMaxResults(java.lang.Long maxResults)
The maximum number of people to include in the response, which is used for paging.
|
Plus.People.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Plus.People.List |
setOrderBy(java.lang.String orderBy)
The order to return people in.
|
Plus.People.List |
setPageToken(java.lang.String pageToken)
The continuation token, which is used to page through large result sets.
|
Plus.People.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Plus.People.List |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Plus.People.List |
setUserId(java.lang.String userId)
Get the collection of people for the person identified.
|
Plus.People.List |
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 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 - Get the collection of people for the person identified. Use "me" to indicate the authenticated user.collection - The collection of people to list.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<PeopleFeed>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<PeopleFeed>java.io.IOExceptionpublic Plus.People.List setAlt(java.lang.String alt)
PlusRequestsetAlt in class PlusRequest<PeopleFeed>public Plus.People.List setFields(java.lang.String fields)
PlusRequestsetFields in class PlusRequest<PeopleFeed>public Plus.People.List setKey(java.lang.String key)
PlusRequestsetKey in class PlusRequest<PeopleFeed>public Plus.People.List setOauthToken(java.lang.String oauthToken)
PlusRequestsetOauthToken in class PlusRequest<PeopleFeed>public Plus.People.List setPrettyPrint(java.lang.Boolean prettyPrint)
PlusRequestsetPrettyPrint in class PlusRequest<PeopleFeed>public Plus.People.List setQuotaUser(java.lang.String quotaUser)
PlusRequestsetQuotaUser in class PlusRequest<PeopleFeed>public Plus.People.List setUserIp(java.lang.String userIp)
PlusRequestsetUserIp in class PlusRequest<PeopleFeed>public java.lang.String getUserId()
public Plus.People.List setUserId(java.lang.String userId)
public java.lang.String getCollection()
public Plus.People.List setCollection(java.lang.String collection)
public java.lang.Long getMaxResults()
public Plus.People.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getOrderBy()
public Plus.People.List setOrderBy(java.lang.String orderBy)
public java.lang.String getPageToken()
public Plus.People.List setPageToken(java.lang.String pageToken)
public Plus.People.List set(java.lang.String parameterName, java.lang.Object value)
set in class PlusRequest<PeopleFeed>