target.apidocs.com.google.api.services.androidpublisher.model.TrackRelease.html Maven / Gradle / Ivy
TrackRelease (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class TrackRelease
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.TrackRelease
-
public final class TrackRelease
extends com.google.api.client.json.GenericJson
A release within a track.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Play Android Developer API. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TrackRelease()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TrackRelease
clone()
CountryTargeting
getCountryTargeting()
Restricts a release to a specific set of countries.
Integer
getInAppUpdatePriority()
In-app update priority of the release.
String
getName()
The release name.
List<LocalizedText>
getReleaseNotes()
A description of what is new in this release.
String
getStatus()
The status of the release.
Double
getUserFraction()
Fraction of users who are eligible for a staged release.
List<Long>
getVersionCodes()
Version codes of all APKs in the release.
TrackRelease
set(String fieldName,
Object value)
TrackRelease
setCountryTargeting(CountryTargeting countryTargeting)
Restricts a release to a specific set of countries.
TrackRelease
setInAppUpdatePriority(Integer inAppUpdatePriority)
In-app update priority of the release.
TrackRelease
setName(String name)
The release name.
TrackRelease
setReleaseNotes(List<LocalizedText> releaseNotes)
A description of what is new in this release.
TrackRelease
setStatus(String status)
The status of the release.
TrackRelease
setUserFraction(Double userFraction)
Fraction of users who are eligible for a staged release.
TrackRelease
setVersionCodes(List<Long> versionCodes)
Version codes of all APKs in the release.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCountryTargeting
public CountryTargeting getCountryTargeting()
Restricts a release to a specific set of countries.
- Returns:
- value or
null
for none
-
setCountryTargeting
public TrackRelease setCountryTargeting(CountryTargeting countryTargeting)
Restricts a release to a specific set of countries.
- Parameters:
countryTargeting
- countryTargeting or null
for none
-
getInAppUpdatePriority
public Integer getInAppUpdatePriority()
In-app update priority of the release. All newly added APKs in the release will be considered
at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to
0. in_app_update_priority can not be updated once the release is rolled out. See
https://developer.android.com/guide/playcore/in-app-updates.
- Returns:
- value or
null
for none
-
setInAppUpdatePriority
public TrackRelease setInAppUpdatePriority(Integer inAppUpdatePriority)
In-app update priority of the release. All newly added APKs in the release will be considered
at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to
0. in_app_update_priority can not be updated once the release is rolled out. See
https://developer.android.com/guide/playcore/in-app-updates.
- Parameters:
inAppUpdatePriority
- inAppUpdatePriority or null
for none
-
getName
public String getName()
The release name. Not required to be unique. If not set, the name is generated from the APK's
version_name. If the release contains multiple APKs, the name is generated from the date.
- Returns:
- value or
null
for none
-
setName
public TrackRelease setName(String name)
The release name. Not required to be unique. If not set, the name is generated from the APK's
version_name. If the release contains multiple APKs, the name is generated from the date.
- Parameters:
name
- name or null
for none
-
getReleaseNotes
public List<LocalizedText> getReleaseNotes()
A description of what is new in this release.
- Returns:
- value or
null
for none
-
setReleaseNotes
public TrackRelease setReleaseNotes(List<LocalizedText> releaseNotes)
A description of what is new in this release.
- Parameters:
releaseNotes
- releaseNotes or null
for none
-
getStatus
public String getStatus()
The status of the release.
- Returns:
- value or
null
for none
-
setStatus
public TrackRelease setStatus(String status)
The status of the release.
- Parameters:
status
- status or null
for none
-
getUserFraction
public Double getUserFraction()
Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when
status is "inProgress" or "halted".
- Returns:
- value or
null
for none
-
setUserFraction
public TrackRelease setUserFraction(Double userFraction)
Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when
status is "inProgress" or "halted".
- Parameters:
userFraction
- userFraction or null
for none
-
getVersionCodes
public List<Long> getVersionCodes()
Version codes of all APKs in the release. Must include version codes to retain from previous
releases.
- Returns:
- value or
null
for none
-
setVersionCodes
public TrackRelease setVersionCodes(List<Long> versionCodes)
Version codes of all APKs in the release. Must include version codes to retain from previous
releases.
- Parameters:
versionCodes
- versionCodes or null
for none
-
set
public TrackRelease set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TrackRelease clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy