public class AndroidEnterprise.Grouplicenses.Get extends AndroidEnterpriseRequest<GroupLicense>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Get(java.lang.String enterpriseId,
java.lang.String groupLicenseId)
Retrieves details of an enterprise's group license for a product.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getEnterpriseId()
The ID of the enterprise.
|
java.lang.String |
getGroupLicenseId()
The ID of the product the group license is for, e.g.
|
AndroidEnterprise.Grouplicenses.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
AndroidEnterprise.Grouplicenses.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
AndroidEnterprise.Grouplicenses.Get |
setEnterpriseId(java.lang.String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Grouplicenses.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Grouplicenses.Get |
setGroupLicenseId(java.lang.String groupLicenseId)
The ID of the product the group license is for, e.g.
|
AndroidEnterprise.Grouplicenses.Get |
setKey(java.lang.String key)
API key.
|
AndroidEnterprise.Grouplicenses.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Grouplicenses.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Grouplicenses.Get |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidEnterprise.Grouplicenses.Get |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Get(java.lang.String enterpriseId,
java.lang.String groupLicenseId)
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.groupLicenseId - The ID of the product the group license is for, e.g. "app:com.google.android.gm".public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GroupLicense>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GroupLicense>java.io.IOExceptionpublic AndroidEnterprise.Grouplicenses.Get setAlt(java.lang.String alt)
AndroidEnterpriseRequestsetAlt in class AndroidEnterpriseRequest<GroupLicense>public AndroidEnterprise.Grouplicenses.Get setFields(java.lang.String fields)
AndroidEnterpriseRequestsetFields in class AndroidEnterpriseRequest<GroupLicense>public AndroidEnterprise.Grouplicenses.Get setKey(java.lang.String key)
AndroidEnterpriseRequestsetKey in class AndroidEnterpriseRequest<GroupLicense>public AndroidEnterprise.Grouplicenses.Get setOauthToken(java.lang.String oauthToken)
AndroidEnterpriseRequestsetOauthToken in class AndroidEnterpriseRequest<GroupLicense>public AndroidEnterprise.Grouplicenses.Get setPrettyPrint(java.lang.Boolean prettyPrint)
AndroidEnterpriseRequestsetPrettyPrint in class AndroidEnterpriseRequest<GroupLicense>public AndroidEnterprise.Grouplicenses.Get setQuotaUser(java.lang.String quotaUser)
AndroidEnterpriseRequestsetQuotaUser in class AndroidEnterpriseRequest<GroupLicense>public AndroidEnterprise.Grouplicenses.Get setUserIp(java.lang.String userIp)
AndroidEnterpriseRequestsetUserIp in class AndroidEnterpriseRequest<GroupLicense>public java.lang.String getEnterpriseId()
public AndroidEnterprise.Grouplicenses.Get setEnterpriseId(java.lang.String enterpriseId)
public java.lang.String getGroupLicenseId()
public AndroidEnterprise.Grouplicenses.Get setGroupLicenseId(java.lang.String groupLicenseId)
public AndroidEnterprise.Grouplicenses.Get set(java.lang.String parameterName, java.lang.Object value)
set in class AndroidEnterpriseRequest<GroupLicense>