
target.apidocs.com.google.api.services.people.v1.PeopleService.People.DeleteContactPhoto.html Maven / Gradle / Ivy
PeopleService.People.DeleteContactPhoto (People API v1-rev20210330-1.31.0)
com.google.api.services.people.v1
Class PeopleService.People.DeleteContactPhoto
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.people.v1.PeopleServiceRequest<DeleteContactPhotoResponse>
-
- com.google.api.services.people.v1.PeopleService.People.DeleteContactPhoto
-
- Enclosing class:
- PeopleService.People
public class PeopleService.People.DeleteContactPhoto
extends PeopleServiceRequest<DeleteContactPhotoResponse>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Field Summary
-
Fields inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
USER_AGENT_SUFFIX
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
DeleteContactPhoto(String resourceName)
Delete a contact's photo.
-
Method Summary
-
Methods inherited from class com.google.api.services.people.v1.PeopleServiceRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
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
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
DeleteContactPhoto
protected DeleteContactPhoto(String resourceName)
Delete a contact's photo.
Create a request for the method "people.deleteContactPhoto".
This request holds the parameters needed by the the people server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. DeleteContactPhoto#initialize(com.google.api.client.googleapis.services.A
bstractGoogleClientRequest)
must be called to initialize this instance immediately after
invoking the constructor.
- Parameters:
resourceName
- Required. The resource name of the contact whose photo will be deleted.
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public PeopleService.People.DeleteContactPhoto set$Xgafv(String $Xgafv)
Description copied from class: PeopleServiceRequest
V1 error format.
- Overrides:
set$Xgafv
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setAccessToken
public PeopleService.People.DeleteContactPhoto setAccessToken(String accessToken)
Description copied from class: PeopleServiceRequest
OAuth access token.
- Overrides:
setAccessToken
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setAlt
public PeopleService.People.DeleteContactPhoto setAlt(String alt)
Description copied from class: PeopleServiceRequest
Data format for response.
- Overrides:
setAlt
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setCallback
public PeopleService.People.DeleteContactPhoto setCallback(String callback)
Description copied from class: PeopleServiceRequest
JSONP
- Overrides:
setCallback
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setFields
public PeopleService.People.DeleteContactPhoto setFields(String fields)
Description copied from class: PeopleServiceRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setKey
public PeopleService.People.DeleteContactPhoto setKey(String key)
Description copied from class: PeopleServiceRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setOauthToken
public PeopleService.People.DeleteContactPhoto setOauthToken(String oauthToken)
Description copied from class: PeopleServiceRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setPrettyPrint
public PeopleService.People.DeleteContactPhoto setPrettyPrint(Boolean prettyPrint)
Description copied from class: PeopleServiceRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setQuotaUser
public PeopleService.People.DeleteContactPhoto setQuotaUser(String quotaUser)
Description copied from class: PeopleServiceRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setUploadType
public PeopleService.People.DeleteContactPhoto setUploadType(String uploadType)
Description copied from class: PeopleServiceRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
setUploadProtocol
public PeopleService.People.DeleteContactPhoto setUploadProtocol(String uploadProtocol)
Description copied from class: PeopleServiceRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class PeopleServiceRequest<DeleteContactPhotoResponse>
-
getResourceName
public String getResourceName()
Required. The resource name of the contact whose photo will be deleted.
-
setResourceName
public PeopleService.People.DeleteContactPhoto setResourceName(String resourceName)
Required. The resource name of the contact whose photo will be deleted.
-
getPersonFields
public String getPersonFields()
Optional. A field mask to restrict which fields on the person are returned. Multiple fields can be
specified by separating them with commas. Defaults to empty if not set, which will skip the post
mutate get. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls *
clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests
locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations *
organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
-
setPersonFields
public PeopleService.People.DeleteContactPhoto setPersonFields(String personFields)
Optional. A field mask to restrict which fields on the person are returned. Multiple fields
can be specified by separating them with commas. Defaults to empty if not set, which will
skip the post mutate get. Valid values are: * addresses * ageRanges * biographies *
birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds
* genders * imClients * interests * locales * locations * memberships * metadata *
miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos *
relations * sipAddresses * skills * urls * userDefined
-
getSources
public List<String> getSources()
Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and
READ_SOURCE_TYPE_PROFILE if not set.
-
setSources
public PeopleService.People.DeleteContactPhoto setSources(List<String> sources)
Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and
READ_SOURCE_TYPE_PROFILE if not set.
-
set
public PeopleService.People.DeleteContactPhoto set(String parameterName,
Object value)
- Overrides:
set
in class PeopleServiceRequest<DeleteContactPhotoResponse>
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy