public final class DriveActivity
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 Drive Activity 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 |
|---|
DriveActivity() |
| Modifier and Type | Method and Description |
|---|---|
DriveActivity |
clone() |
List<Action> |
getActions()
Details on all actions in this activity.
|
List<Actor> |
getActors()
All actor(s) responsible for the activity.
|
ActionDetail |
getPrimaryActionDetail()
Key information about the primary action for this activity.
|
List<Target> |
getTargets()
All Google Drive objects this activity is about (e.g.
|
TimeRange |
getTimeRange()
The activity occurred over this time range.
|
String |
getTimestamp()
The activity occurred at this specific time.
|
DriveActivity |
set(String fieldName,
Object value) |
DriveActivity |
setActions(List<Action> actions)
Details on all actions in this activity.
|
DriveActivity |
setActors(List<Actor> actors)
All actor(s) responsible for the activity.
|
DriveActivity |
setPrimaryActionDetail(ActionDetail primaryActionDetail)
Key information about the primary action for this activity.
|
DriveActivity |
setTargets(List<Target> targets)
All Google Drive objects this activity is about (e.g.
|
DriveActivity |
setTimeRange(TimeRange timeRange)
The activity occurred over this time range.
|
DriveActivity |
setTimestamp(String timestamp)
The activity occurred at this specific time.
|
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<Action> getActions()
null for nonepublic DriveActivity setActions(List<Action> actions)
actions - actions or null for nonepublic List<Actor> getActors()
null for nonepublic DriveActivity setActors(List<Actor> actors)
actors - actors or null for nonepublic ActionDetail getPrimaryActionDetail()
null for nonepublic DriveActivity setPrimaryActionDetail(ActionDetail primaryActionDetail)
primaryActionDetail - primaryActionDetail or null for nonepublic List<Target> getTargets()
null for nonepublic DriveActivity setTargets(List<Target> targets)
targets - targets or null for nonepublic TimeRange getTimeRange()
null for nonepublic DriveActivity setTimeRange(TimeRange timeRange)
timeRange - timeRange or null for nonepublic String getTimestamp()
null for nonepublic DriveActivity setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic DriveActivity set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DriveActivity clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.