public class HomeGraphService.Devices.Sync extends HomeGraphServiceRequest<SyncResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Sync(SyncRequest content)
Gets all the devices associated with the given third-party user.
|
Modifier and Type | Method and Description |
---|---|
HomeGraphService.Devices.Sync |
set(String parameterName,
Object value) |
HomeGraphService.Devices.Sync |
set$Xgafv(String $Xgafv)
V1 error format.
|
HomeGraphService.Devices.Sync |
setAccessToken(String accessToken)
OAuth access token.
|
HomeGraphService.Devices.Sync |
setAlt(String alt)
Data format for response.
|
HomeGraphService.Devices.Sync |
setCallback(String callback)
JSONP
|
HomeGraphService.Devices.Sync |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
HomeGraphService.Devices.Sync |
setKey(String key)
API key.
|
HomeGraphService.Devices.Sync |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
HomeGraphService.Devices.Sync |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
HomeGraphService.Devices.Sync |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
HomeGraphService.Devices.Sync |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
HomeGraphService.Devices.Sync |
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 Sync(SyncRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
HomeGraphService.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
content
- the SyncRequest
public HomeGraphService.Devices.Sync set$Xgafv(String $Xgafv)
HomeGraphServiceRequest
set$Xgafv
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setAccessToken(String accessToken)
HomeGraphServiceRequest
setAccessToken
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setAlt(String alt)
HomeGraphServiceRequest
setAlt
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setCallback(String callback)
HomeGraphServiceRequest
setCallback
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setFields(String fields)
HomeGraphServiceRequest
setFields
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setKey(String key)
HomeGraphServiceRequest
setKey
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setOauthToken(String oauthToken)
HomeGraphServiceRequest
setOauthToken
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setPrettyPrint(Boolean prettyPrint)
HomeGraphServiceRequest
setPrettyPrint
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setQuotaUser(String quotaUser)
HomeGraphServiceRequest
setQuotaUser
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setUploadType(String uploadType)
HomeGraphServiceRequest
setUploadType
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync setUploadProtocol(String uploadProtocol)
HomeGraphServiceRequest
setUploadProtocol
in class HomeGraphServiceRequest<SyncResponse>
public HomeGraphService.Devices.Sync set(String parameterName, Object value)
set
in class HomeGraphServiceRequest<SyncResponse>
Copyright © 2011–2023 Google. All rights reserved.