
target.apidocs.com.google.api.services.analytics.model.RealtimeData.Query.html Maven / Gradle / Ivy
RealtimeData.Query (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class RealtimeData.Query
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.RealtimeData.Query
-
- Enclosing class:
- RealtimeData
public static final class RealtimeData.Query
extends GenericJson
Real time data request query parameters.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Query()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RealtimeData.Query
clone()
String
getDimensions()
List of real time dimensions.
String
getFilters()
Comma-separated list of dimension or metric filters.
String
getIds()
Unique table ID.
Integer
getMaxResults()
Maximum results per page.
List<String>
getMetrics()
List of real time metrics.
List<String>
getSort()
List of dimensions or metrics based on which real time data is sorted.
RealtimeData.Query
set(String fieldName,
Object value)
RealtimeData.Query
setDimensions(String dimensions)
List of real time dimensions.
RealtimeData.Query
setFilters(String filters)
Comma-separated list of dimension or metric filters.
RealtimeData.Query
setIds(String ids)
Unique table ID.
RealtimeData.Query
setMaxResults(Integer maxResults)
Maximum results per page.
RealtimeData.Query
setMetrics(List<String> metrics)
List of real time metrics.
RealtimeData.Query
setSort(List<String> sort)
List of dimensions or metrics based on which real time data is sorted.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDimensions
public String getDimensions()
List of real time dimensions.
- Returns:
- value or
null
for none
-
setDimensions
public RealtimeData.Query setDimensions(String dimensions)
List of real time dimensions.
- Parameters:
dimensions
- dimensions or null
for none
-
getFilters
public String getFilters()
Comma-separated list of dimension or metric filters.
- Returns:
- value or
null
for none
-
setFilters
public RealtimeData.Query setFilters(String filters)
Comma-separated list of dimension or metric filters.
- Parameters:
filters
- filters or null
for none
-
getIds
public String getIds()
Unique table ID.
- Returns:
- value or
null
for none
-
setIds
public RealtimeData.Query setIds(String ids)
Unique table ID.
- Parameters:
ids
- ids or null
for none
-
getMaxResults
public Integer getMaxResults()
Maximum results per page.
- Returns:
- value or
null
for none
-
setMaxResults
public RealtimeData.Query setMaxResults(Integer maxResults)
Maximum results per page.
- Parameters:
maxResults
- maxResults or null
for none
-
getMetrics
public List<String> getMetrics()
List of real time metrics.
- Returns:
- value or
null
for none
-
setMetrics
public RealtimeData.Query setMetrics(List<String> metrics)
List of real time metrics.
- Parameters:
metrics
- metrics or null
for none
-
getSort
public List<String> getSort()
List of dimensions or metrics based on which real time data is sorted.
- Returns:
- value or
null
for none
-
setSort
public RealtimeData.Query setSort(List<String> sort)
List of dimensions or metrics based on which real time data is sorted.
- Parameters:
sort
- sort or null
for none
-
set
public RealtimeData.Query set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public RealtimeData.Query clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy