public final class QueryDriveActivityRequest
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
QueryDriveActivityRequest() |
Modifier and Type | Method and Description |
---|---|
QueryDriveActivityRequest |
clone() |
String |
getAncestorName()
Return activities for this Drive folder, plus all children and descendants.
|
ConsolidationStrategy |
getConsolidationStrategy()
Details on how to consolidate related actions that make up the activity.
|
String |
getFilter()
The filtering for items returned from this query request.
|
String |
getItemName()
Return activities for this Drive item.
|
Integer |
getPageSize()
The minimum number of activities desired in the response; the server attempts to return at
least this quantity.
|
String |
getPageToken()
The token identifies which page of results to return.
|
QueryDriveActivityRequest |
set(String fieldName,
Object value) |
QueryDriveActivityRequest |
setAncestorName(String ancestorName)
Return activities for this Drive folder, plus all children and descendants.
|
QueryDriveActivityRequest |
setConsolidationStrategy(ConsolidationStrategy consolidationStrategy)
Details on how to consolidate related actions that make up the activity.
|
QueryDriveActivityRequest |
setFilter(String filter)
The filtering for items returned from this query request.
|
QueryDriveActivityRequest |
setItemName(String itemName)
Return activities for this Drive item.
|
QueryDriveActivityRequest |
setPageSize(Integer pageSize)
The minimum number of activities desired in the response; the server attempts to return at
least this quantity.
|
QueryDriveActivityRequest |
setPageToken(String pageToken)
The token identifies which page of results to return.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAncestorName()
null
for nonepublic QueryDriveActivityRequest setAncestorName(String ancestorName)
ancestorName
- ancestorName or null
for nonepublic ConsolidationStrategy getConsolidationStrategy()
null
for nonepublic QueryDriveActivityRequest setConsolidationStrategy(ConsolidationStrategy consolidationStrategy)
consolidationStrategy
- consolidationStrategy or null
for nonepublic String getFilter()
null
for nonepublic QueryDriveActivityRequest setFilter(String filter)
filter
- filter or null
for nonepublic String getItemName()
null
for nonepublic QueryDriveActivityRequest setItemName(String itemName)
itemName
- itemName or null
for nonepublic Integer getPageSize()
null
for nonepublic QueryDriveActivityRequest setPageSize(Integer pageSize)
pageSize
- pageSize or null
for nonepublic String getPageToken()
null
for nonepublic QueryDriveActivityRequest setPageToken(String pageToken)
pageToken
- pageToken or null
for nonepublic QueryDriveActivityRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public QueryDriveActivityRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.