public class AndroidEnterprise.Entitlements.Get extends AndroidEnterpriseRequest<Entitlement>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String enterpriseId,
String userId,
String entitlementId)
Retrieves details of an entitlement.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getEnterpriseId()
The ID of the enterprise.
|
String |
getEntitlementId()
The ID of the entitlement (a product ID), e.g.
|
String |
getUserId()
The ID of the user.
|
AndroidEnterprise.Entitlements.Get |
set(String parameterName,
Object value) |
AndroidEnterprise.Entitlements.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
AndroidEnterprise.Entitlements.Get |
setAccessToken(String accessToken)
OAuth access token.
|
AndroidEnterprise.Entitlements.Get |
setAlt(String alt)
Data format for response.
|
AndroidEnterprise.Entitlements.Get |
setCallback(String callback)
JSONP
|
AndroidEnterprise.Entitlements.Get |
setEnterpriseId(String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Entitlements.Get |
setEntitlementId(String entitlementId)
The ID of the entitlement (a product ID), e.g.
|
AndroidEnterprise.Entitlements.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Entitlements.Get |
setKey(String key)
API key.
|
AndroidEnterprise.Entitlements.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Entitlements.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Entitlements.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
AndroidEnterprise.Entitlements.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
AndroidEnterprise.Entitlements.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
AndroidEnterprise.Entitlements.Get |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String enterpriseId, String userId, String entitlementId)
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.entitlementId - The ID of the entitlement (a product ID), 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<Entitlement>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Entitlement>IOExceptionpublic AndroidEnterprise.Entitlements.Get set$Xgafv(String $Xgafv)
AndroidEnterpriseRequestset$Xgafv in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setAccessToken(String accessToken)
AndroidEnterpriseRequestsetAccessToken in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setAlt(String alt)
AndroidEnterpriseRequestsetAlt in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setCallback(String callback)
AndroidEnterpriseRequestsetCallback in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setFields(String fields)
AndroidEnterpriseRequestsetFields in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setKey(String key)
AndroidEnterpriseRequestsetKey in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setOauthToken(String oauthToken)
AndroidEnterpriseRequestsetOauthToken in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setPrettyPrint(Boolean prettyPrint)
AndroidEnterpriseRequestsetPrettyPrint in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setQuotaUser(String quotaUser)
AndroidEnterpriseRequestsetQuotaUser in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setUploadType(String uploadType)
AndroidEnterpriseRequestsetUploadType in class AndroidEnterpriseRequest<Entitlement>public AndroidEnterprise.Entitlements.Get setUploadProtocol(String uploadProtocol)
AndroidEnterpriseRequestsetUploadProtocol in class AndroidEnterpriseRequest<Entitlement>public String getEnterpriseId()
public AndroidEnterprise.Entitlements.Get setEnterpriseId(String enterpriseId)
public String getUserId()
public AndroidEnterprise.Entitlements.Get setUserId(String userId)
public String getEntitlementId()
public AndroidEnterprise.Entitlements.Get setEntitlementId(String entitlementId)
public AndroidEnterprise.Entitlements.Get set(String parameterName, Object value)
set in class AndroidEnterpriseRequest<Entitlement>Copyright © 2011–2025 Google. All rights reserved.