public class AndroidEnterprise.Products.GenerateApprovalUrl extends AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
GenerateApprovalUrl(String enterpriseId,
String productId)
Generates a URL that can be rendered in an iframe to display the permissions (if any) of a
product.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEnterpriseId()
The ID of the enterprise.
|
String |
getLanguageCode()
The BCP 47 language code used for permission names and descriptions in the returned iframe, for
instance "en-US".
|
String |
getProductId()
The ID of the product.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
set(String parameterName,
Object value) |
AndroidEnterprise.Products.GenerateApprovalUrl |
setAlt(String alt)
Data format for the response.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setEnterpriseId(String enterpriseId)
The ID of the enterprise.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setKey(String key)
API key.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setLanguageCode(String languageCode)
The BCP 47 language code used for permission names and descriptions in the returned iframe,
for instance "en-US".
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setProductId(String productId)
The ID of the product.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GenerateApprovalUrl(String enterpriseId, String productId)
AbstractGoogleClientRequest.execute() method to invoke the
remote operation. GenerateApprovalUrl#initialize(com.google.api.client.googleapis.se
rvices.AbstractGoogleClientRequest) must be called to initialize this instance immediately
after invoking the constructor.
enterpriseId - The ID of the enterprise.productId - The ID of the product.public AndroidEnterprise.Products.GenerateApprovalUrl setAlt(String alt)
AndroidEnterpriseRequestsetAlt in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public AndroidEnterprise.Products.GenerateApprovalUrl setFields(String fields)
AndroidEnterpriseRequestsetFields in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public AndroidEnterprise.Products.GenerateApprovalUrl setKey(String key)
AndroidEnterpriseRequestsetKey in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public AndroidEnterprise.Products.GenerateApprovalUrl setOauthToken(String oauthToken)
AndroidEnterpriseRequestsetOauthToken in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public AndroidEnterprise.Products.GenerateApprovalUrl setPrettyPrint(Boolean prettyPrint)
AndroidEnterpriseRequestsetPrettyPrint in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public AndroidEnterprise.Products.GenerateApprovalUrl setQuotaUser(String quotaUser)
AndroidEnterpriseRequestsetQuotaUser in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public AndroidEnterprise.Products.GenerateApprovalUrl setUserIp(String userIp)
AndroidEnterpriseRequestsetUserIp in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>public String getEnterpriseId()
public AndroidEnterprise.Products.GenerateApprovalUrl setEnterpriseId(String enterpriseId)
public String getProductId()
public AndroidEnterprise.Products.GenerateApprovalUrl setProductId(String productId)
public String getLanguageCode()
public AndroidEnterprise.Products.GenerateApprovalUrl setLanguageCode(String languageCode)
public AndroidEnterprise.Products.GenerateApprovalUrl set(String parameterName, Object value)
set in class AndroidEnterpriseRequest<ProductsGenerateApprovalUrlResponse>Copyright © 2011–2018 Google. All rights reserved.