public class Directory.Users.Photos.Patch extends DirectoryRequest<UserPhoto>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Directory.Users.Photos.Patch(String userKey,
UserPhoto content)
Add a photo for the user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUserKey()
Email or immutable Id of the user
|
Directory.Users.Photos.Patch |
set(String parameterName,
Object value) |
Directory.Users.Photos.Patch |
setAlt(String alt)
Data format for the response.
|
Directory.Users.Photos.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Users.Photos.Patch |
setKey(String key)
API key.
|
Directory.Users.Photos.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Users.Photos.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Users.Photos.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Users.Photos.Patch |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Directory.Users.Photos.Patch |
setUserKey(String userKey)
Email or immutable Id of the user
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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.Users.Photos.Patch(String userKey, UserPhoto 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.
userKey - Email or immutable Id of the usercontent - the UserPhotopublic Directory.Users.Photos.Patch setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<UserPhoto>public Directory.Users.Photos.Patch setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<UserPhoto>public Directory.Users.Photos.Patch setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<UserPhoto>public Directory.Users.Photos.Patch setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<UserPhoto>public Directory.Users.Photos.Patch setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<UserPhoto>public Directory.Users.Photos.Patch setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<UserPhoto>public Directory.Users.Photos.Patch setUserIp(String userIp)
DirectoryRequestsetUserIp in class DirectoryRequest<UserPhoto>public String getUserKey()
public Directory.Users.Photos.Patch setUserKey(String userKey)
public Directory.Users.Photos.Patch set(String parameterName, Object value)
set in class DirectoryRequest<UserPhoto>