public final class TrafficSplit
extends com.google.api.client.json.GenericJson
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 App Engine Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TrafficSplit() |
| Modifier and Type | Method and Description |
|---|---|
TrafficSplit |
clone() |
Map<String,Double> |
getAllocations()
Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for
that version.
|
String |
getShardBy()
Mechanism used to determine which version a request is sent to.
|
TrafficSplit |
set(String fieldName,
Object value) |
TrafficSplit |
setAllocations(Map<String,Double> allocations)
Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for
that version.
|
TrafficSplit |
setShardBy(String shardBy)
Mechanism used to determine which version a request is sent to.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Map<String,Double> getAllocations()
null for nonepublic TrafficSplit setAllocations(Map<String,Double> allocations)
allocations - allocations or null for nonepublic String getShardBy()
null for nonepublic TrafficSplit setShardBy(String shardBy)
shardBy - shardBy or null for nonepublic TrafficSplit set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TrafficSplit clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.