|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.analytics.model.GaData
public final class GaData
Analytics data for a given profile.
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 Google Analytics API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Nested Class Summary | |
|---|---|
static class |
GaData.ColumnHeaders
Model definition for GaDataColumnHeaders. |
static class |
GaData.ProfileInfo
Information for the profile, for which the Analytics data was requested. |
static class |
GaData.Query
Analytics data request query parameters. |
| 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> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
GaData()
|
|
| Method Summary | |
|---|---|
GaData |
clone()
|
List<GaData.ColumnHeaders> |
getColumnHeaders()
Column headers that list dimension names followed by the metric names. |
Boolean |
getContainsSampledData()
Determines if Analytics data contains samples. |
String |
getId()
Unique ID for this data response. |
Integer |
getItemsPerPage()
The maximum number of rows the response can contain, regardless of the actual number of rows returned. |
String |
getKind()
Resource type. |
String |
getNextLink()
Link to next page for this Analytics data query. |
String |
getPreviousLink()
Link to previous page for this Analytics data query. |
GaData.ProfileInfo |
getProfileInfo()
Information for the profile, for which the Analytics data was requested. |
GaData.Query |
getQuery()
Analytics data request query parameters. |
List<List<String>> |
getRows()
Analytics data rows, where each row contains a list of dimension values followed by the metric values. |
String |
getSelfLink()
Link to this page. |
Integer |
getTotalResults()
The total number of rows for the query, regardless of the number of rows in the response. |
Map<String,String> |
getTotalsForAllResults()
Total values for the requested metrics over all the results, not just the results returned in this response. |
GaData |
set(String fieldName,
Object value)
|
GaData |
setColumnHeaders(List<GaData.ColumnHeaders> columnHeaders)
Column headers that list dimension names followed by the metric names. |
GaData |
setContainsSampledData(Boolean containsSampledData)
Determines if Analytics data contains samples. |
GaData |
setId(String id)
Unique ID for this data response. |
GaData |
setItemsPerPage(Integer itemsPerPage)
The maximum number of rows the response can contain, regardless of the actual number of rows returned. |
GaData |
setKind(String kind)
Resource type. |
GaData |
setNextLink(String nextLink)
Link to next page for this Analytics data query. |
GaData |
setPreviousLink(String previousLink)
Link to previous page for this Analytics data query. |
GaData |
setProfileInfo(GaData.ProfileInfo profileInfo)
Information for the profile, for which the Analytics data was requested. |
GaData |
setQuery(GaData.Query query)
Analytics data request query parameters. |
GaData |
setRows(List<List<String>> rows)
Analytics data rows, where each row contains a list of dimension values followed by the metric values. |
GaData |
setSelfLink(String selfLink)
Link to this page. |
GaData |
setTotalResults(Integer totalResults)
The total number of rows for the query, regardless of the number of rows in the response. |
GaData |
setTotalsForAllResults(Map<String,String> totalsForAllResults)
Total values for the requested metrics over all the results, not just the results returned in this response. |
| 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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GaData()
| Method Detail |
|---|
public List<GaData.ColumnHeaders> getColumnHeaders()
null for nonepublic GaData setColumnHeaders(List<GaData.ColumnHeaders> columnHeaders)
columnHeaders - columnHeaders or null for nonepublic Boolean getContainsSampledData()
null for nonepublic GaData setContainsSampledData(Boolean containsSampledData)
containsSampledData - containsSampledData or null for nonepublic String getId()
null for nonepublic GaData setId(String id)
id - id or null for nonepublic Integer getItemsPerPage()
null for nonepublic GaData setItemsPerPage(Integer itemsPerPage)
itemsPerPage - itemsPerPage or null for nonepublic String getKind()
null for nonepublic GaData setKind(String kind)
kind - kind or null for nonepublic String getNextLink()
null for nonepublic GaData setNextLink(String nextLink)
nextLink - nextLink or null for nonepublic String getPreviousLink()
null for nonepublic GaData setPreviousLink(String previousLink)
previousLink - previousLink or null for nonepublic GaData.ProfileInfo getProfileInfo()
null for nonepublic GaData setProfileInfo(GaData.ProfileInfo profileInfo)
profileInfo - profileInfo or null for nonepublic GaData.Query getQuery()
null for nonepublic GaData setQuery(GaData.Query query)
query - query or null for nonepublic List<List<String>> getRows()
null for nonepublic GaData setRows(List<List<String>> rows)
rows - rows or null for nonepublic String getSelfLink()
null for nonepublic GaData setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Integer getTotalResults()
null for nonepublic GaData setTotalResults(Integer totalResults)
totalResults - totalResults or null for nonepublic Map<String,String> getTotalsForAllResults()
null for nonepublic GaData setTotalsForAllResults(Map<String,String> totalsForAllResults)
totalsForAllResults - totalsForAllResults or null for none
public GaData set(String fieldName,
Object value)
set in class GenericJsonpublic GaData clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||