public class AndroidEnterprise.Devices.SetState extends AndroidEnterpriseRequest<DeviceState>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
SetState(String enterpriseId,
String userId,
String deviceId,
DeviceState content)
Sets whether a device's access to Google services is enabled or disabled.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected SetState(String enterpriseId, String userId, String deviceId, DeviceState content)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. AndroidEnterprise.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The ID of the device.content
- the DeviceState
public AndroidEnterprise.Devices.SetState setAlt(String alt)
AndroidEnterpriseRequest
setAlt
in class AndroidEnterpriseRequest<DeviceState>
public AndroidEnterprise.Devices.SetState setFields(String fields)
AndroidEnterpriseRequest
setFields
in class AndroidEnterpriseRequest<DeviceState>
public AndroidEnterprise.Devices.SetState setKey(String key)
AndroidEnterpriseRequest
setKey
in class AndroidEnterpriseRequest<DeviceState>
public AndroidEnterprise.Devices.SetState setOauthToken(String oauthToken)
AndroidEnterpriseRequest
setOauthToken
in class AndroidEnterpriseRequest<DeviceState>
public AndroidEnterprise.Devices.SetState setPrettyPrint(Boolean prettyPrint)
AndroidEnterpriseRequest
setPrettyPrint
in class AndroidEnterpriseRequest<DeviceState>
public AndroidEnterprise.Devices.SetState setQuotaUser(String quotaUser)
AndroidEnterpriseRequest
setQuotaUser
in class AndroidEnterpriseRequest<DeviceState>
public AndroidEnterprise.Devices.SetState setUserIp(String userIp)
AndroidEnterpriseRequest
setUserIp
in class AndroidEnterpriseRequest<DeviceState>
public String getEnterpriseId()
public AndroidEnterprise.Devices.SetState setEnterpriseId(String enterpriseId)
public String getUserId()
public AndroidEnterprise.Devices.SetState setUserId(String userId)
public String getDeviceId()
public AndroidEnterprise.Devices.SetState setDeviceId(String deviceId)
public AndroidEnterprise.Devices.SetState set(String parameterName, Object value)
set
in class AndroidEnterpriseRequest<DeviceState>
Copyright © 2011–2019 Google. All rights reserved.