public class Directory.Groups.Patch extends DirectoryRequest<Group>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Patch(String groupKey,
Group content)
Updates a group's properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getGroupKey()
Identifies the group in the API request.
|
Directory.Groups.Patch |
set(String parameterName,
Object value) |
Directory.Groups.Patch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Groups.Patch |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Groups.Patch |
setAlt(String alt)
Data format for response.
|
Directory.Groups.Patch |
setCallback(String callback)
JSONP
|
Directory.Groups.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Groups.Patch |
setGroupKey(String groupKey)
Identifies the group in the API request.
|
Directory.Groups.Patch |
setKey(String key)
API key.
|
Directory.Groups.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Groups.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Groups.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Groups.Patch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Groups.Patch |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Patch(String groupKey, Group content)
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.
groupKey
- Identifies the group in the API request. The value can be the group's email address, group alias, or
the unique group ID.content
- the Group
public Directory.Groups.Patch set$Xgafv(String $Xgafv)
DirectoryRequest
set$Xgafv
in class DirectoryRequest<Group>
public Directory.Groups.Patch setAccessToken(String accessToken)
DirectoryRequest
setAccessToken
in class DirectoryRequest<Group>
public Directory.Groups.Patch setAlt(String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<Group>
public Directory.Groups.Patch setCallback(String callback)
DirectoryRequest
setCallback
in class DirectoryRequest<Group>
public Directory.Groups.Patch setFields(String fields)
DirectoryRequest
setFields
in class DirectoryRequest<Group>
public Directory.Groups.Patch setKey(String key)
DirectoryRequest
setKey
in class DirectoryRequest<Group>
public Directory.Groups.Patch setOauthToken(String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<Group>
public Directory.Groups.Patch setPrettyPrint(Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<Group>
public Directory.Groups.Patch setQuotaUser(String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<Group>
public Directory.Groups.Patch setUploadType(String uploadType)
DirectoryRequest
setUploadType
in class DirectoryRequest<Group>
public Directory.Groups.Patch setUploadProtocol(String uploadProtocol)
DirectoryRequest
setUploadProtocol
in class DirectoryRequest<Group>
public String getGroupKey()
public Directory.Groups.Patch setGroupKey(String groupKey)
public Directory.Groups.Patch set(String parameterName, Object value)
set
in class DirectoryRequest<Group>
Copyright © 2011–2021 Google. All rights reserved.