public class Directory.Groups.List extends DirectoryRequest<Groups>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Directory.Groups.List()
Retrieve all groups in a domain (paginated)
Create a request for the method "groups.list".
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomer()
Immutable id of the Google Apps account.
|
String |
getDomain()
Name of the domain.
|
Integer |
getMaxResults()
Maximum number of results to return.
|
String |
getPageToken()
Token to specify next page in the list
|
String |
getUserKey()
Email or immutable Id of the user if only those groups are to be listed, the given user is a member
of.
|
Directory.Groups.List |
set(String parameterName,
Object value) |
Directory.Groups.List |
setAlt(String alt)
Data format for the response.
|
Directory.Groups.List |
setCustomer(String customer)
Immutable id of the Google Apps account.
|
Directory.Groups.List |
setDomain(String domain)
Name of the domain.
|
Directory.Groups.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Groups.List |
setKey(String key)
API key.
|
Directory.Groups.List |
setMaxResults(Integer maxResults)
Maximum number of results to return.
|
Directory.Groups.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Groups.List |
setPageToken(String pageToken)
Token to specify next page in the list
|
Directory.Groups.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Groups.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Groups.List |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Directory.Groups.List |
setUserKey(String userKey)
Email or immutable Id of the user if only those groups are to be listed, the given user is
a member of.
|
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 Directory.Groups.List()
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Directory.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Groups>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Groups>IOExceptionpublic Directory.Groups.List setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Groups>public Directory.Groups.List setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<Groups>public Directory.Groups.List setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<Groups>public Directory.Groups.List setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<Groups>public Directory.Groups.List setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<Groups>public Directory.Groups.List setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<Groups>public Directory.Groups.List setUserIp(String userIp)
DirectoryRequestsetUserIp in class DirectoryRequest<Groups>public String getCustomer()
public Directory.Groups.List setCustomer(String customer)
public String getPageToken()
public Directory.Groups.List setPageToken(String pageToken)
public String getDomain()
public Directory.Groups.List setDomain(String domain)
public Integer getMaxResults()
public Directory.Groups.List setMaxResults(Integer maxResults)
public String getUserKey()
public Directory.Groups.List setUserKey(String userKey)
public Directory.Groups.List set(String parameterName, Object value)
set in class DirectoryRequest<Groups>