target.apidocs.com.google.api.services.androidpublisher.model.Targeting.html Maven / Gradle / Ivy
Targeting (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class Targeting
- 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.Targeting
-
public final class Targeting
extends com.google.api.client.json.GenericJson
Targeting details for a recovery action such as regions, android sdk levels, app versions etc.
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
Targeting()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Targeting
clone()
AllUsers
getAllUsers()
All users are targeted.
AndroidSdks
getAndroidSdks()
Targeting is based on android api levels of devices.
Regions
getRegions()
Targeting is based on the user account region.
AppVersionList
getVersionList()
Target version codes as a list.
AppVersionRange
getVersionRange()
Target version codes as a range.
Targeting
set(String fieldName,
Object value)
Targeting
setAllUsers(AllUsers allUsers)
All users are targeted.
Targeting
setAndroidSdks(AndroidSdks androidSdks)
Targeting is based on android api levels of devices.
Targeting
setRegions(Regions regions)
Targeting is based on the user account region.
Targeting
setVersionList(AppVersionList versionList)
Target version codes as a list.
Targeting
setVersionRange(AppVersionRange versionRange)
Target version codes as a range.
-
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
-
getAllUsers
public AllUsers getAllUsers()
All users are targeted.
- Returns:
- value or
null
for none
-
setAllUsers
public Targeting setAllUsers(AllUsers allUsers)
All users are targeted.
- Parameters:
allUsers
- allUsers or null
for none
-
getAndroidSdks
public AndroidSdks getAndroidSdks()
Targeting is based on android api levels of devices.
- Returns:
- value or
null
for none
-
setAndroidSdks
public Targeting setAndroidSdks(AndroidSdks androidSdks)
Targeting is based on android api levels of devices.
- Parameters:
androidSdks
- androidSdks or null
for none
-
getRegions
public Regions getRegions()
Targeting is based on the user account region.
- Returns:
- value or
null
for none
-
setRegions
public Targeting setRegions(Regions regions)
Targeting is based on the user account region.
- Parameters:
regions
- regions or null
for none
-
getVersionList
public AppVersionList getVersionList()
Target version codes as a list.
- Returns:
- value or
null
for none
-
setVersionList
public Targeting setVersionList(AppVersionList versionList)
Target version codes as a list.
- Parameters:
versionList
- versionList or null
for none
-
getVersionRange
public AppVersionRange getVersionRange()
Target version codes as a range.
- Returns:
- value or
null
for none
-
setVersionRange
public Targeting setVersionRange(AppVersionRange versionRange)
Target version codes as a range.
- Parameters:
versionRange
- versionRange or null
for none
-
set
public Targeting set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Targeting 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