public class HomeGraphService.Devices.RequestSync extends HomeGraphServiceRequest<RequestSyncDevicesResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
RequestSync(RequestSyncDevicesRequest content)
Requests Google to send an `action.devices.SYNC` [intent](https://developers.home.google.com
/cloud-to-cloud/intents/sync) to your smart home Action to update device metadata for the given
user.
|
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 RequestSync(RequestSyncDevicesRequest 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 RequestSyncDevicesRequest
public HomeGraphService.Devices.RequestSync set$Xgafv(String $Xgafv)
HomeGraphServiceRequest
set$Xgafv
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setAccessToken(String accessToken)
HomeGraphServiceRequest
setAccessToken
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setAlt(String alt)
HomeGraphServiceRequest
setAlt
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setCallback(String callback)
HomeGraphServiceRequest
setCallback
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setFields(String fields)
HomeGraphServiceRequest
setFields
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setKey(String key)
HomeGraphServiceRequest
setKey
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setOauthToken(String oauthToken)
HomeGraphServiceRequest
setOauthToken
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setPrettyPrint(Boolean prettyPrint)
HomeGraphServiceRequest
setPrettyPrint
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setQuotaUser(String quotaUser)
HomeGraphServiceRequest
setQuotaUser
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setUploadType(String uploadType)
HomeGraphServiceRequest
setUploadType
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync setUploadProtocol(String uploadProtocol)
HomeGraphServiceRequest
setUploadProtocol
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
public HomeGraphService.Devices.RequestSync set(String parameterName, Object value)
set
in class HomeGraphServiceRequest<RequestSyncDevicesResponse>
Copyright © 2011–2023 Google. All rights reserved.