public final class Activity
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
| Modifier and Type | Class and Description |
|---|---|
static class |
Activity.Actor
User doing the action.
|
static class |
Activity.Events
Model definition for ActivityEvents.
|
static class |
Activity.Id
Unique identifier for each activity record.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Activity() |
| Modifier and Type | Method and Description |
|---|---|
Activity |
clone() |
Activity.Actor |
getActor()
User doing the action.
|
String |
getEtag()
ETag of the entry.
|
List<Activity.Events> |
getEvents()
Activity events in the report.
|
Activity.Id |
getId()
Unique identifier for each activity record.
|
String |
getIpAddress()
IP address of the user doing the action.
|
String |
getKind()
The type of API resource.
|
ActivityNetworkInfo |
getNetworkInfo()
Network information of the user doing the action.
|
String |
getOwnerDomain()
This is the domain that is affected by the report's event.
|
List<ResourceDetails> |
getResourceDetails()
Details of the resource on which the action was performed.
|
Activity |
set(String fieldName,
Object value) |
Activity |
setActor(Activity.Actor actor)
User doing the action.
|
Activity |
setEtag(String etag)
ETag of the entry.
|
Activity |
setEvents(List<Activity.Events> events)
Activity events in the report.
|
Activity |
setId(Activity.Id id)
Unique identifier for each activity record.
|
Activity |
setIpAddress(String ipAddress)
IP address of the user doing the action.
|
Activity |
setKind(String kind)
The type of API resource.
|
Activity |
setNetworkInfo(ActivityNetworkInfo networkInfo)
Network information of the user doing the action.
|
Activity |
setOwnerDomain(String ownerDomain)
This is the domain that is affected by the report's event.
|
Activity |
setResourceDetails(List<ResourceDetails> resourceDetails)
Details of the resource on which the action was performed.
|
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 Activity.Actor getActor()
null for nonepublic Activity setActor(Activity.Actor actor)
actor - actor or null for nonepublic String getEtag()
null for nonepublic Activity setEtag(String etag)
etag - etag or null for nonepublic List<Activity.Events> getEvents()
null for nonepublic Activity setEvents(List<Activity.Events> events)
events - events or null for nonepublic Activity.Id getId()
null for nonepublic Activity setId(Activity.Id id)
id - id or null for nonepublic String getIpAddress()
null for nonepublic Activity setIpAddress(String ipAddress)
ipAddress - ipAddress or null for nonepublic String getKind()
null for nonepublic Activity setKind(String kind)
kind - kind or null for nonepublic ActivityNetworkInfo getNetworkInfo()
null for nonepublic Activity setNetworkInfo(ActivityNetworkInfo networkInfo)
networkInfo - networkInfo or null for nonepublic String getOwnerDomain()
null for nonepublic Activity setOwnerDomain(String ownerDomain)
ownerDomain - ownerDomain or null for nonepublic List<ResourceDetails> getResourceDetails()
null for nonepublic Activity setResourceDetails(List<ResourceDetails> resourceDetails)
resourceDetails - resourceDetails or null for nonepublic Activity set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Activity clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.