public final class SearchUserActivityResponse extends 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 Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SearchUserActivityResponse() |
Modifier and Type | Method and Description |
---|---|
SearchUserActivityResponse |
clone() |
String |
getNextPageToken()
This token should be passed to [SearchUserActivityRequest](#SearchUserActivityRequest) to
retrieve the next page.
|
Double |
getSampleRate()
This field represents the [sampling rate](https://support.google.com/analytics/answer/2637192)
for the given request and is a number between 0.0 to 1.0.
|
List<UserActivitySession> |
getSessions()
Each record represents a session (device details, duration, etc).
|
Integer |
getTotalRows()
Total rows returned by this query (across different pages).
|
SearchUserActivityResponse |
set(String fieldName,
Object value) |
SearchUserActivityResponse |
setNextPageToken(String nextPageToken)
This token should be passed to [SearchUserActivityRequest](#SearchUserActivityRequest) to
retrieve the next page.
|
SearchUserActivityResponse |
setSampleRate(Double sampleRate)
This field represents the [sampling rate](https://support.google.com/analytics/answer/2637192)
for the given request and is a number between 0.0 to 1.0.
|
SearchUserActivityResponse |
setSessions(List<UserActivitySession> sessions)
Each record represents a session (device details, duration, etc).
|
SearchUserActivityResponse |
setTotalRows(Integer totalRows)
Total rows returned by this query (across different pages).
|
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 getNextPageToken()
null
for nonepublic SearchUserActivityResponse setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic Double getSampleRate()
null
for nonepublic SearchUserActivityResponse setSampleRate(Double sampleRate)
sampleRate
- sampleRate or null
for nonepublic List<UserActivitySession> getSessions()
null
for nonepublic SearchUserActivityResponse setSessions(List<UserActivitySession> sessions)
sessions
- sessions or null
for nonepublic Integer getTotalRows()
null
for nonepublic SearchUserActivityResponse setTotalRows(Integer totalRows)
totalRows
- totalRows or null
for nonepublic SearchUserActivityResponse set(String fieldName, Object value)
set
in class GenericJson
public SearchUserActivityResponse clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.