public final class Action
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 |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
Action |
clone() |
Actor |
getActor()
The actor responsible for this action (or empty if all actors are responsible).
|
ActionDetail |
getDetail()
The type and detailed information about the action.
|
Target |
getTarget()
The target this action affects (or empty if affecting all targets).
|
TimeRange |
getTimeRange()
The action occurred over this time range.
|
String |
getTimestamp()
The action occurred at this specific time.
|
Action |
set(String fieldName,
Object value) |
Action |
setActor(Actor actor)
The actor responsible for this action (or empty if all actors are responsible).
|
Action |
setDetail(ActionDetail detail)
The type and detailed information about the action.
|
Action |
setTarget(Target target)
The target this action affects (or empty if affecting all targets).
|
Action |
setTimeRange(TimeRange timeRange)
The action occurred over this time range.
|
Action |
setTimestamp(String timestamp)
The action 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 Actor getActor()
null for nonepublic Action setActor(Actor actor)
actor - actor or null for nonepublic ActionDetail getDetail()
null for nonepublic Action setDetail(ActionDetail detail)
detail - detail or null for nonepublic Target getTarget()
null for nonepublic Action setTarget(Target target)
target - target or null for nonepublic TimeRange getTimeRange()
null for nonepublic Action setTimeRange(TimeRange timeRange)
timeRange - timeRange or null for nonepublic String getTimestamp()
null for nonepublic Action setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic Action set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Action clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.