public class AndroidEnterprise.Installs.Get extends AndroidEnterpriseRequest<Install>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Get(String enterpriseId,
String userId,
String deviceId,
String installId)
Retrieves details of an installation of an app on a device.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
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.Get |
set(String parameterName,
Object value) |
AndroidEnterprise.Installs.Get |
setAlt(String alt)
Data format for the response.
|
AndroidEnterprise.Installs.Get |
setDeviceId(String deviceId)
The Android ID of the device.
|
AndroidEnterprise.Installs.Get |
setEnterpriseId(String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Installs.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Installs.Get |
setInstallId(String installId)
The ID of the product represented by the install, e.g.
|
AndroidEnterprise.Installs.Get |
setKey(String key)
API key.
|
AndroidEnterprise.Installs.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Installs.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Installs.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidEnterprise.Installs.Get |
setUserId(String userId)
The ID of the user.
|
AndroidEnterprise.Installs.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String enterpriseId, String userId, String deviceId, String installId)
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".public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Install>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Install>
IOException
public AndroidEnterprise.Installs.Get setAlt(String alt)
AndroidEnterpriseRequest
setAlt
in class AndroidEnterpriseRequest<Install>
public AndroidEnterprise.Installs.Get setFields(String fields)
AndroidEnterpriseRequest
setFields
in class AndroidEnterpriseRequest<Install>
public AndroidEnterprise.Installs.Get setKey(String key)
AndroidEnterpriseRequest
setKey
in class AndroidEnterpriseRequest<Install>
public AndroidEnterprise.Installs.Get setOauthToken(String oauthToken)
AndroidEnterpriseRequest
setOauthToken
in class AndroidEnterpriseRequest<Install>
public AndroidEnterprise.Installs.Get setPrettyPrint(Boolean prettyPrint)
AndroidEnterpriseRequest
setPrettyPrint
in class AndroidEnterpriseRequest<Install>
public AndroidEnterprise.Installs.Get setQuotaUser(String quotaUser)
AndroidEnterpriseRequest
setQuotaUser
in class AndroidEnterpriseRequest<Install>
public AndroidEnterprise.Installs.Get setUserIp(String userIp)
AndroidEnterpriseRequest
setUserIp
in class AndroidEnterpriseRequest<Install>
public String getEnterpriseId()
public AndroidEnterprise.Installs.Get setEnterpriseId(String enterpriseId)
public String getUserId()
public AndroidEnterprise.Installs.Get setUserId(String userId)
public String getDeviceId()
public AndroidEnterprise.Installs.Get setDeviceId(String deviceId)
public String getInstallId()
public AndroidEnterprise.Installs.Get setInstallId(String installId)
public AndroidEnterprise.Installs.Get set(String parameterName, Object value)
set
in class AndroidEnterpriseRequest<Install>
Copyright © 2011–2019 Google. All rights reserved.