public class Directory.Groups.List extends DirectoryRequest<Groups>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List()
Retrieve all groups of a domain or of a user given a userKey (paginated)
Create a request for the method "groups.list".
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomer()
The unique ID for the customer's Google Workspace account.
|
String |
getDomain()
The domain name.
|
Integer |
getMaxResults()
Maximum number of results to return.
|
String |
getOrderBy()
Column to use for sorting results
|
String |
getPageToken()
Token to specify next page in the list
|
String |
getQuery()
Query string search.
|
String |
getSortOrder()
Whether to return results in ascending or descending order.
|
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 |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Groups.List |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Groups.List |
setAlt(String alt)
Data format for response.
|
Directory.Groups.List |
setCallback(String callback)
JSONP
|
Directory.Groups.List |
setCustomer(String customer)
The unique ID for the customer's Google Workspace account.
|
Directory.Groups.List |
setDomain(String domain)
The domain name.
|
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 |
setOrderBy(String orderBy)
Column to use for sorting results
|
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 |
setQuery(String query)
Query string search.
|
Directory.Groups.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Groups.List |
setSortOrder(String sortOrder)
Whether to return results in ascending or descending order.
|
Directory.Groups.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Groups.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
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.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected 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 set$Xgafv(String $Xgafv)
DirectoryRequestset$Xgafv in class DirectoryRequest<Groups>public Directory.Groups.List setAccessToken(String accessToken)
DirectoryRequestsetAccessToken in class DirectoryRequest<Groups>public Directory.Groups.List setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Groups>public Directory.Groups.List setCallback(String callback)
DirectoryRequestsetCallback 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 setUploadType(String uploadType)
DirectoryRequestsetUploadType in class DirectoryRequest<Groups>public Directory.Groups.List setUploadProtocol(String uploadProtocol)
DirectoryRequestsetUploadProtocol in class DirectoryRequest<Groups>public String getCustomer()
public Directory.Groups.List setCustomer(String customer)
public String getDomain()
public Directory.Groups.List setDomain(String domain)
public Integer getMaxResults()
public Directory.Groups.List setMaxResults(Integer maxResults)
public String getOrderBy()
public Directory.Groups.List setOrderBy(String orderBy)
public String getPageToken()
public Directory.Groups.List setPageToken(String pageToken)
public String getQuery()
public Directory.Groups.List setQuery(String query)
public String getSortOrder()
public Directory.Groups.List setSortOrder(String sortOrder)
public String getUserKey()
public Directory.Groups.List setUserKey(String userKey)
public Directory.Groups.List set(String parameterName, Object value)
set in class DirectoryRequest<Groups>Copyright © 2011–2021 Google. All rights reserved.