public final class ActivityNetworkInfo
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 Admin SDK 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 |
|---|
ActivityNetworkInfo() |
| Modifier and Type | Method and Description |
|---|---|
ActivityNetworkInfo |
clone() |
List<Integer> |
getIpAsn()
IP Address of the user doing the action.
|
String |
getRegionCode()
ISO 3166-1 alpha-2 region code of the user doing the action.
|
String |
getSubdivisionCode()
ISO 3166-2 region code (states and provinces) for countries of the user doing the action.
|
ActivityNetworkInfo |
set(String fieldName,
Object value) |
ActivityNetworkInfo |
setIpAsn(List<Integer> ipAsn)
IP Address of the user doing the action.
|
ActivityNetworkInfo |
setRegionCode(String regionCode)
ISO 3166-1 alpha-2 region code of the user doing the action.
|
ActivityNetworkInfo |
setSubdivisionCode(String subdivisionCode)
ISO 3166-2 region code (states and provinces) for countries of the user doing the action.
|
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 List<Integer> getIpAsn()
null for nonepublic ActivityNetworkInfo setIpAsn(List<Integer> ipAsn)
ipAsn - ipAsn or null for nonepublic String getRegionCode()
null for nonepublic ActivityNetworkInfo setRegionCode(String regionCode)
regionCode - regionCode or null for nonepublic String getSubdivisionCode()
null for nonepublic ActivityNetworkInfo setSubdivisionCode(String subdivisionCode)
subdivisionCode - subdivisionCode or null for nonepublic ActivityNetworkInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ActivityNetworkInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.