public class HomeGraphService.Devices.Query extends HomeGraphServiceRequest<QueryResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Query(QueryRequest content)
Gets the current states in Home Graph for the given set of the third-party user's devices.
|
Modifier and Type | Method and Description |
---|---|
HomeGraphService.Devices.Query |
set(String parameterName,
Object value) |
HomeGraphService.Devices.Query |
set$Xgafv(String $Xgafv)
V1 error format.
|
HomeGraphService.Devices.Query |
setAccessToken(String accessToken)
OAuth access token.
|
HomeGraphService.Devices.Query |
setAlt(String alt)
Data format for response.
|
HomeGraphService.Devices.Query |
setCallback(String callback)
JSONP
|
HomeGraphService.Devices.Query |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
HomeGraphService.Devices.Query |
setKey(String key)
API key.
|
HomeGraphService.Devices.Query |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
HomeGraphService.Devices.Query |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
HomeGraphService.Devices.Query |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
HomeGraphService.Devices.Query |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
HomeGraphService.Devices.Query |
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 Query(QueryRequest 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 QueryRequest
public HomeGraphService.Devices.Query set$Xgafv(String $Xgafv)
HomeGraphServiceRequest
set$Xgafv
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setAccessToken(String accessToken)
HomeGraphServiceRequest
setAccessToken
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setAlt(String alt)
HomeGraphServiceRequest
setAlt
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setCallback(String callback)
HomeGraphServiceRequest
setCallback
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setFields(String fields)
HomeGraphServiceRequest
setFields
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setKey(String key)
HomeGraphServiceRequest
setKey
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setOauthToken(String oauthToken)
HomeGraphServiceRequest
setOauthToken
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setPrettyPrint(Boolean prettyPrint)
HomeGraphServiceRequest
setPrettyPrint
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setQuotaUser(String quotaUser)
HomeGraphServiceRequest
setQuotaUser
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setUploadType(String uploadType)
HomeGraphServiceRequest
setUploadType
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query setUploadProtocol(String uploadProtocol)
HomeGraphServiceRequest
setUploadProtocol
in class HomeGraphServiceRequest<QueryResponse>
public HomeGraphService.Devices.Query set(String parameterName, Object value)
set
in class HomeGraphServiceRequest<QueryResponse>
Copyright © 2011–2023 Google. All rights reserved.