target.apidocs.com.google.api.services.analytics.model.McfData.Query.html Maven / Gradle / Ivy
McfData.Query (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics.model
Class McfData.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.McfData.Query
-
-
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
McfData.Query
clone()
String
getDimensions()
List of analytics dimensions.
String
getEndDate()
End date.
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 analytics metrics.
String
getSamplingLevel()
Desired sampling level
String
getSegment()
Analytics advanced segment.
List<String>
getSort()
List of dimensions or metrics based on which Analytics data is sorted.
String
getStartDate()
Start date.
Integer
getStartIndex()
Start index.
McfData.Query
set(String fieldName,
Object value)
McfData.Query
setDimensions(String dimensions)
List of analytics dimensions.
McfData.Query
setEndDate(String endDate)
End date.
McfData.Query
setFilters(String filters)
Comma-separated list of dimension or metric filters.
McfData.Query
setIds(String ids)
Unique table ID.
McfData.Query
setMaxResults(Integer maxResults)
Maximum results per page.
McfData.Query
setMetrics(List<String> metrics)
List of analytics metrics.
McfData.Query
setSamplingLevel(String samplingLevel)
Desired sampling level
McfData.Query
setSegment(String segment)
Analytics advanced segment.
McfData.Query
setSort(List<String> sort)
List of dimensions or metrics based on which Analytics data is sorted.
McfData.Query
setStartDate(String startDate)
Start date.
McfData.Query
setStartIndex(Integer startIndex)
Start index.
-
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 analytics dimensions.
- Returns:
- value or
null
for none
-
setDimensions
public McfData.Query setDimensions(String dimensions)
List of analytics dimensions.
- Parameters:
dimensions
- dimensions or null
for none
-
getEndDate
public String getEndDate()
End date.
- Returns:
- value or
null
for none
-
setEndDate
public McfData.Query setEndDate(String endDate)
End date.
- Parameters:
endDate
- endDate or null
for none
-
getFilters
public String getFilters()
Comma-separated list of dimension or metric filters.
- Returns:
- value or
null
for none
-
setFilters
public McfData.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 McfData.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 McfData.Query setMaxResults(Integer maxResults)
Maximum results per page.
- Parameters:
maxResults
- maxResults or null
for none
-
getMetrics
public List<String> getMetrics()
List of analytics metrics.
- Returns:
- value or
null
for none
-
setMetrics
public McfData.Query setMetrics(List<String> metrics)
List of analytics metrics.
- Parameters:
metrics
- metrics or null
for none
-
getSamplingLevel
public String getSamplingLevel()
Desired sampling level
- Returns:
- value or
null
for none
-
setSamplingLevel
public McfData.Query setSamplingLevel(String samplingLevel)
Desired sampling level
- Parameters:
samplingLevel
- samplingLevel or null
for none
-
getSegment
public String getSegment()
Analytics advanced segment.
- Returns:
- value or
null
for none
-
setSegment
public McfData.Query setSegment(String segment)
Analytics advanced segment.
- Parameters:
segment
- segment or null
for none
-
getSort
public List<String> getSort()
List of dimensions or metrics based on which Analytics data is sorted.
- Returns:
- value or
null
for none
-
setSort
public McfData.Query setSort(List<String> sort)
List of dimensions or metrics based on which Analytics data is sorted.
- Parameters:
sort
- sort or null
for none
-
getStartDate
public String getStartDate()
Start date.
- Returns:
- value or
null
for none
-
setStartDate
public McfData.Query setStartDate(String startDate)
Start date.
- Parameters:
startDate
- startDate or null
for none
-
getStartIndex
public Integer getStartIndex()
Start index.
- Returns:
- value or
null
for none
-
setStartIndex
public McfData.Query setStartIndex(Integer startIndex)
Start index.
- Parameters:
startIndex
- startIndex or null
for none
-
set
public McfData.Query set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public McfData.Query clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.