public class AndroidPublisher.Inappproducts.Update extends AndroidPublisherRequest<InAppProduct>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Update(String packageName,
String sku,
InAppProduct content)
Updates an in-app product (a managed product or a subscription).
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowMissing()
If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-
app product will be created.
|
Boolean |
getAutoConvertMissingPrices()
If true the prices for all regions targeted by the parent app that don't have a price specified for
this in-app product will be auto converted to the target currency based on the default price.
|
String |
getLatencyTolerance()
Optional.
|
String |
getPackageName()
Package name of the app.
|
String |
getSku()
Unique identifier for the in-app product.
|
AndroidPublisher.Inappproducts.Update |
set(String parameterName,
Object value) |
AndroidPublisher.Inappproducts.Update |
set$Xgafv(String $Xgafv)
V1 error format.
|
AndroidPublisher.Inappproducts.Update |
setAccessToken(String accessToken)
OAuth access token.
|
AndroidPublisher.Inappproducts.Update |
setAllowMissing(Boolean allowMissing)
If set to true, and the in-app product with the given package_name and sku doesn't exist,
the in-app product will be created.
|
AndroidPublisher.Inappproducts.Update |
setAlt(String alt)
Data format for response.
|
AndroidPublisher.Inappproducts.Update |
setAutoConvertMissingPrices(Boolean autoConvertMissingPrices)
If true the prices for all regions targeted by the parent app that don't have a price
specified for this in-app product will be auto converted to the target currency based on
the default price.
|
AndroidPublisher.Inappproducts.Update |
setCallback(String callback)
JSONP
|
AndroidPublisher.Inappproducts.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Inappproducts.Update |
setKey(String key)
API key.
|
AndroidPublisher.Inappproducts.Update |
setLatencyTolerance(String latencyTolerance)
Optional.
|
AndroidPublisher.Inappproducts.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Inappproducts.Update |
setPackageName(String packageName)
Package name of the app.
|
AndroidPublisher.Inappproducts.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Inappproducts.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
AndroidPublisher.Inappproducts.Update |
setSku(String sku)
Unique identifier for the in-app product.
|
AndroidPublisher.Inappproducts.Update |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
AndroidPublisher.Inappproducts.Update |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Update(String packageName, String sku, InAppProduct content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
AndroidPublisher.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
packageName
- Package name of the app.sku
- Unique identifier for the in-app product.content
- the InAppProduct
public AndroidPublisher.Inappproducts.Update set$Xgafv(String $Xgafv)
AndroidPublisherRequest
set$Xgafv
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setAccessToken(String accessToken)
AndroidPublisherRequest
setAccessToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setAlt(String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setCallback(String callback)
AndroidPublisherRequest
setCallback
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setFields(String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setKey(String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setOauthToken(String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setPrettyPrint(Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setQuotaUser(String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setUploadType(String uploadType)
AndroidPublisherRequest
setUploadType
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setUploadProtocol(String uploadProtocol)
AndroidPublisherRequest
setUploadProtocol
in class AndroidPublisherRequest<InAppProduct>
public String getPackageName()
public AndroidPublisher.Inappproducts.Update setPackageName(String packageName)
public String getSku()
public AndroidPublisher.Inappproducts.Update setSku(String sku)
public Boolean getAllowMissing()
public AndroidPublisher.Inappproducts.Update setAllowMissing(Boolean allowMissing)
public Boolean getAutoConvertMissingPrices()
public AndroidPublisher.Inappproducts.Update setAutoConvertMissingPrices(Boolean autoConvertMissingPrices)
public String getLatencyTolerance()
public AndroidPublisher.Inappproducts.Update setLatencyTolerance(String latencyTolerance)
public AndroidPublisher.Inappproducts.Update set(String parameterName, Object value)
set
in class AndroidPublisherRequest<InAppProduct>
Copyright © 2011–2024 Google. All rights reserved.