public class Licensing.LicenseAssignments.ListForProduct extends LicensingRequest<LicenseAssignmentList>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
ListForProduct(String productId,
String customerId)
List all users assigned licenses for a specific product SKU.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCustomerId()
The customer's unique ID as defined in the Admin console, such as `C00000000`.
|
Long |
getMaxResults()
The `maxResults` query string determines how many entries are returned on each page of a large
response.
|
String |
getPageToken()
Token to fetch the next page of data.
|
String |
getProductId()
A product's unique identifier.
|
Licensing.LicenseAssignments.ListForProduct |
set(String parameterName,
Object value) |
Licensing.LicenseAssignments.ListForProduct |
set$Xgafv(String $Xgafv)
V1 error format.
|
Licensing.LicenseAssignments.ListForProduct |
setAccessToken(String accessToken)
OAuth access token.
|
Licensing.LicenseAssignments.ListForProduct |
setAlt(String alt)
Data format for response.
|
Licensing.LicenseAssignments.ListForProduct |
setCallback(String callback)
JSONP
|
Licensing.LicenseAssignments.ListForProduct |
setCustomerId(String customerId)
The customer's unique ID as defined in the Admin console, such as `C00000000`.
|
Licensing.LicenseAssignments.ListForProduct |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Licensing.LicenseAssignments.ListForProduct |
setKey(String key)
API key.
|
Licensing.LicenseAssignments.ListForProduct |
setMaxResults(Long maxResults)
The `maxResults` query string determines how many entries are returned on each page of a
large response.
|
Licensing.LicenseAssignments.ListForProduct |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Licensing.LicenseAssignments.ListForProduct |
setPageToken(String pageToken)
Token to fetch the next page of data.
|
Licensing.LicenseAssignments.ListForProduct |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Licensing.LicenseAssignments.ListForProduct |
setProductId(String productId)
A product's unique identifier.
|
Licensing.LicenseAssignments.ListForProduct |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Licensing.LicenseAssignments.ListForProduct |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Licensing.LicenseAssignments.ListForProduct |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
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 ListForProduct(String productId, String customerId)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. ListForProduct#initialize(com.google.api.client.googleapis.services.Abstr
actGoogleClientRequest) 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.customerId - The customer's unique ID as defined in the Admin console, such as `C00000000`. If the customer is
suspended, the server returns an error.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LicenseAssignmentList>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LicenseAssignmentList>IOExceptionpublic Licensing.LicenseAssignments.ListForProduct set$Xgafv(String $Xgafv)
LicensingRequestset$Xgafv in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setAccessToken(String accessToken)
LicensingRequestsetAccessToken in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setAlt(String alt)
LicensingRequestsetAlt in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setCallback(String callback)
LicensingRequestsetCallback in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setFields(String fields)
LicensingRequestsetFields in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setKey(String key)
LicensingRequestsetKey in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setOauthToken(String oauthToken)
LicensingRequestsetOauthToken in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setPrettyPrint(Boolean prettyPrint)
LicensingRequestsetPrettyPrint in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setQuotaUser(String quotaUser)
LicensingRequestsetQuotaUser in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setUploadType(String uploadType)
LicensingRequestsetUploadType in class LicensingRequest<LicenseAssignmentList>public Licensing.LicenseAssignments.ListForProduct setUploadProtocol(String uploadProtocol)
LicensingRequestsetUploadProtocol in class LicensingRequest<LicenseAssignmentList>public String getProductId()
public Licensing.LicenseAssignments.ListForProduct setProductId(String productId)
public String getCustomerId()
public Licensing.LicenseAssignments.ListForProduct setCustomerId(String customerId)
public Long getMaxResults()
public Licensing.LicenseAssignments.ListForProduct setMaxResults(Long maxResults)
public String getPageToken()
public Licensing.LicenseAssignments.ListForProduct setPageToken(String pageToken)
public Licensing.LicenseAssignments.ListForProduct set(String parameterName, Object value)
set in class LicensingRequest<LicenseAssignmentList>Copyright © 2011–2025 Google. All rights reserved.