public class AndroidEnterprise.Installs.Update extends AndroidEnterpriseRequest<Install>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Update(String enterpriseId,
String userId,
String deviceId,
String installId,
Install content)
Requests to install the latest version of an app to a device.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceId()
The Android ID of the device.
|
String |
getEnterpriseId()
The ID of the enterprise.
|
String |
getInstallId()
The ID of the product represented by the install, e.g.
|
String |
getUserId()
The ID of the user.
|
AndroidEnterprise.Installs.Update |
set(String parameterName,
Object value) |
AndroidEnterprise.Installs.Update |
set$Xgafv(String $Xgafv)
V1 error format.
|
AndroidEnterprise.Installs.Update |
setAccessToken(String accessToken)
OAuth access token.
|
AndroidEnterprise.Installs.Update |
setAlt(String alt)
Data format for response.
|
AndroidEnterprise.Installs.Update |
setCallback(String callback)
JSONP
|
AndroidEnterprise.Installs.Update |
setDeviceId(String deviceId)
The Android ID of the device.
|
AndroidEnterprise.Installs.Update |
setEnterpriseId(String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Installs.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Installs.Update |
setInstallId(String installId)
The ID of the product represented by the install, e.g.
|
AndroidEnterprise.Installs.Update |
setKey(String key)
API key.
|
AndroidEnterprise.Installs.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Installs.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Installs.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
AndroidEnterprise.Installs.Update |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
AndroidEnterprise.Installs.Update |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
AndroidEnterprise.Installs.Update |
setUserId(String userId)
The ID of the user.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, 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, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Update(String enterpriseId, String userId, String deviceId, String installId, Install 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 Android ID of the device.installId - The ID of the product represented by the install, e.g. "app:com.google.android.gm".content - the Installpublic AndroidEnterprise.Installs.Update set$Xgafv(String $Xgafv)
AndroidEnterpriseRequestset$Xgafv in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setAccessToken(String accessToken)
AndroidEnterpriseRequestsetAccessToken in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setAlt(String alt)
AndroidEnterpriseRequestsetAlt in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setCallback(String callback)
AndroidEnterpriseRequestsetCallback in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setFields(String fields)
AndroidEnterpriseRequestsetFields in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setKey(String key)
AndroidEnterpriseRequestsetKey in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setOauthToken(String oauthToken)
AndroidEnterpriseRequestsetOauthToken in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setPrettyPrint(Boolean prettyPrint)
AndroidEnterpriseRequestsetPrettyPrint in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setQuotaUser(String quotaUser)
AndroidEnterpriseRequestsetQuotaUser in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setUploadType(String uploadType)
AndroidEnterpriseRequestsetUploadType in class AndroidEnterpriseRequest<Install>public AndroidEnterprise.Installs.Update setUploadProtocol(String uploadProtocol)
AndroidEnterpriseRequestsetUploadProtocol in class AndroidEnterpriseRequest<Install>public String getEnterpriseId()
public AndroidEnterprise.Installs.Update setEnterpriseId(String enterpriseId)
public String getUserId()
public AndroidEnterprise.Installs.Update setUserId(String userId)
public String getDeviceId()
public AndroidEnterprise.Installs.Update setDeviceId(String deviceId)
public String getInstallId()
public AndroidEnterprise.Installs.Update setInstallId(String installId)
public AndroidEnterprise.Installs.Update set(String parameterName, Object value)
set in class AndroidEnterpriseRequest<Install>Copyright © 2011–2025 Google. All rights reserved.