public class Licensing.LicenseAssignments.Get extends LicensingRequest<LicenseAssignment>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String productId,
String skuId,
String userId)
Get a specific user's license by product SKU.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getProductId()
A product's unique identifier.
|
String |
getSkuId()
A product SKU's unique identifier.
|
String |
getUserId()
The user's current primary email address.
|
Licensing.LicenseAssignments.Get |
set(String parameterName,
Object value) |
Licensing.LicenseAssignments.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Licensing.LicenseAssignments.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Licensing.LicenseAssignments.Get |
setAlt(String alt)
Data format for response.
|
Licensing.LicenseAssignments.Get |
setCallback(String callback)
JSONP
|
Licensing.LicenseAssignments.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Licensing.LicenseAssignments.Get |
setKey(String key)
API key.
|
Licensing.LicenseAssignments.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Licensing.LicenseAssignments.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Licensing.LicenseAssignments.Get |
setProductId(String productId)
A product's unique identifier.
|
Licensing.LicenseAssignments.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Licensing.LicenseAssignments.Get |
setSkuId(String skuId)
A product SKU's unique identifier.
|
Licensing.LicenseAssignments.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Licensing.LicenseAssignments.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Licensing.LicenseAssignments.Get |
setUserId(String userId)
The user's current primary email address.
|
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 productId, String skuId, String userId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Licensing.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
productId - A product's unique identifier. For more information about products in this version of the API, see
Products and SKUs.skuId - A product SKU's unique identifier. For more information about available SKUs in this version of the
API, see Products and SKUs.userId - The user's current primary email address. If the user's email address changes, use the new email
address in your API requests. Since a `userId` is subject to change, do not use a `userId`
value as a key for persistent data. This key could break if the current user's email
address changes. If the `userId` is suspended, the license status changes.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LicenseAssignment>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LicenseAssignment>IOExceptionpublic Licensing.LicenseAssignments.Get set$Xgafv(String $Xgafv)
LicensingRequestset$Xgafv in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setAccessToken(String accessToken)
LicensingRequestsetAccessToken in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setAlt(String alt)
LicensingRequestsetAlt in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setCallback(String callback)
LicensingRequestsetCallback in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setFields(String fields)
LicensingRequestsetFields in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setKey(String key)
LicensingRequestsetKey in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setOauthToken(String oauthToken)
LicensingRequestsetOauthToken in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setPrettyPrint(Boolean prettyPrint)
LicensingRequestsetPrettyPrint in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setQuotaUser(String quotaUser)
LicensingRequestsetQuotaUser in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setUploadType(String uploadType)
LicensingRequestsetUploadType in class LicensingRequest<LicenseAssignment>public Licensing.LicenseAssignments.Get setUploadProtocol(String uploadProtocol)
LicensingRequestsetUploadProtocol in class LicensingRequest<LicenseAssignment>public String getProductId()
public Licensing.LicenseAssignments.Get setProductId(String productId)
public String getSkuId()
public Licensing.LicenseAssignments.Get setSkuId(String skuId)
public String getUserId()
public Licensing.LicenseAssignments.Get setUserId(String userId)
public Licensing.LicenseAssignments.Get set(String parameterName, Object value)
set in class LicensingRequest<LicenseAssignment>Copyright © 2011–2025 Google. All rights reserved.