public class AndroidPublisher.Systemapks.Variants.Create extends AndroidPublisherRequest<Variant>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Create(String packageName,
Long versionCode,
SystemApkVariantsCreateRequest content)
Creates a new variant of APK which is suitable for inclusion in a system image.
|
Modifier and Type | Method and Description |
---|---|
String |
getPackageName()
Unique identifier for the Android app; for example, "com.spiffygame".
|
Long |
getVersionCode()
The version code of the App Bundle.
|
AndroidPublisher.Systemapks.Variants.Create |
set(String parameterName,
Object value) |
AndroidPublisher.Systemapks.Variants.Create |
setAlt(String alt)
Data format for the response.
|
AndroidPublisher.Systemapks.Variants.Create |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Systemapks.Variants.Create |
setKey(String key)
API key.
|
AndroidPublisher.Systemapks.Variants.Create |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Systemapks.Variants.Create |
setPackageName(String packageName)
Unique identifier for the Android app; for example, "com.spiffygame".
|
AndroidPublisher.Systemapks.Variants.Create |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Systemapks.Variants.Create |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidPublisher.Systemapks.Variants.Create |
setUserIp(String userIp)
Deprecated.
|
AndroidPublisher.Systemapks.Variants.Create |
setVersionCode(Long versionCode)
The version code of the App Bundle.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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 Create(String packageName, Long versionCode, SystemApkVariantsCreateRequest 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
- Unique identifier for the Android app; for example, "com.spiffygame".versionCode
- The version code of the App Bundle.content
- the SystemApkVariantsCreateRequest
public AndroidPublisher.Systemapks.Variants.Create setAlt(String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<Variant>
public AndroidPublisher.Systemapks.Variants.Create setFields(String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<Variant>
public AndroidPublisher.Systemapks.Variants.Create setKey(String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<Variant>
public AndroidPublisher.Systemapks.Variants.Create setOauthToken(String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<Variant>
public AndroidPublisher.Systemapks.Variants.Create setPrettyPrint(Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<Variant>
public AndroidPublisher.Systemapks.Variants.Create setQuotaUser(String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<Variant>
public AndroidPublisher.Systemapks.Variants.Create setUserIp(String userIp)
AndroidPublisherRequest
setUserIp
in class AndroidPublisherRequest<Variant>
public String getPackageName()
public AndroidPublisher.Systemapks.Variants.Create setPackageName(String packageName)
public Long getVersionCode()
public AndroidPublisher.Systemapks.Variants.Create setVersionCode(Long versionCode)
public AndroidPublisher.Systemapks.Variants.Create set(String parameterName, Object value)
set
in class AndroidPublisherRequest<Variant>
Copyright © 2011–2020 Google. All rights reserved.