From Analytics Services
Members:
Member | Type | Description |
---|---|---|
getColumnHeaders | GaDataColumnHeaders[] | Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. |
getContainsSampledData | Boolean | Determines if Analytics data contains samples. |
getId | String | Unique ID for this data response. |
getItemsPerPage | int | The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter. |
getKind | String | Resource type. |
getNextLink | String | Link to next page for this Analytics data query. |
getPreviousLink | String | Link to previous page for this Analytics data query. |
getProfileInfo | GaDataProfileInfo | Information for the profile, for which the Analytics data was requested. |
getQuery | GaDataQuery | Analytics data request query parameters. |
getRows | String[][] | Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request. |
getSelfLink | String | Link to this page. |
getTotalResults | int | The total number of rows for the query, regardless of the number of rows in the response. |
getTotalsForAllResults | Object | Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request. |
setColumnHeaders | GaData | Set the value for the field: columnHeaders |
setContainsSampledData | GaData | Set the value for the field: containsSampledData |
setId | GaData | Set the value for the field: id |
setItemsPerPage | GaData | Set the value for the field: itemsPerPage |
setKind | GaData | Set the value for the field: kind |
setNextLink | GaData | Set the value for the field: nextLink |
setPreviousLink | GaData | Set the value for the field: previousLink |
setProfileInfo | GaData | Set the value for the field: profileInfo |
setQuery | GaData | Set the value for the field: query |
setRows | GaData | Set the value for the field: rows |
setSelfLink | GaData | Set the value for the field: selfLink |
setTotalResults | GaData | Set the value for the field: totalResults |
setTotalsForAllResults | GaData | Set the value for the field: totalsForAllResults |
method getColumnHeaders()
Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
Return Values:
Type | Description |
---|---|
GaDataColumnHeaders[] | The current value for columnHeaders |
method getContainsSampledData()
Determines if Analytics data contains samples.
Return Values:
Type | Description |
---|---|
Boolean | The current value for containsSampledData |
method getId()
Unique ID for this data response.
Return Values:
Type | Description |
---|---|
String | The current value for id |
method getItemsPerPage()
The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
Return Values:
Type | Description |
---|---|
int | The current value for itemsPerPage |
method getKind()
Resource type.
Return Values:
Type | Description |
---|---|
String | The current value for kind |
method getNextLink()
Link to next page for this Analytics data query.
Return Values:
Type | Description |
---|---|
String | The current value for nextLink |
method getPreviousLink()
Link to previous page for this Analytics data query.
Return Values:
Type | Description |
---|---|
String | The current value for previousLink |
method getProfileInfo()
Information for the profile, for which the Analytics data was requested.
Return Values:
Type | Description |
---|---|
GaDataProfileInfo | The current value for profileInfo |
method getQuery()
Analytics data request query parameters.
Return Values:
Type | Description |
---|---|
GaDataQuery | The current value for query |
method getRows()
Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
Return Values:
Type | Description |
---|---|
String[][] | The current value for rows |
method getSelfLink()
Link to this page.
Return Values:
Type | Description |
---|---|
String | The current value for selfLink |
method getTotalResults()
The total number of rows for the query, regardless of the number of rows in the response.
Return Values:
Type | Description |
---|---|
int | The current value for totalResults |
method getTotalsForAllResults()
Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
Return Values:
Type | Description |
---|---|
Object | The current value for totalsForAllResults |
method setColumnHeaders(columnHeaders)
Set the value for the field: columnHeaders
Arguments:
Name | Type | Description |
---|---|---|
columnHeaders | GaDataColumnHeaders[] | Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setContainsSampledData(containsSampledData)
Set the value for the field: containsSampledData
Arguments:
Name | Type | Description |
---|---|---|
containsSampledData | Boolean | Determines if Analytics data contains samples. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setId(id)
Set the value for the field: id
Arguments:
Name | Type | Description |
---|---|---|
id | String | Unique ID for this data response. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setItemsPerPage(itemsPerPage)
Set the value for the field: itemsPerPage
Arguments:
Name | Type | Description |
---|---|---|
itemsPerPage | int | The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setKind(kind)
Set the value for the field: kind
Arguments:
Name | Type | Description |
---|---|---|
kind | String | Resource type. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setNextLink(nextLink)
Set the value for the field: nextLink
Arguments:
Name | Type | Description |
---|---|---|
nextLink | String | Link to next page for this Analytics data query. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setPreviousLink(previousLink)
Set the value for the field: previousLink
Arguments:
Name | Type | Description |
---|---|---|
previousLink | String | Link to previous page for this Analytics data query. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setProfileInfo(profileInfo)
Set the value for the field: profileInfo
Arguments:
Name | Type | Description |
---|---|---|
profileInfo | GaDataProfileInfo | Information for the profile, for which the Analytics data was requested. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setQuery(query)
Set the value for the field: query
Arguments:
Name | Type | Description |
---|---|---|
query | GaDataQuery | Analytics data request query parameters. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setRows(rows)
Set the value for the field: rows
Arguments:
Name | Type | Description |
---|---|---|
rows | String[][] | Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setSelfLink(selfLink)
Set the value for the field: selfLink
Arguments:
Name | Type | Description |
---|---|---|
selfLink | String | Link to this page. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setTotalResults(totalResults)
Set the value for the field: totalResults
Arguments:
Name | Type | Description |
---|---|---|
totalResults | int | The total number of rows for the query, regardless of the number of rows in the response. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |
method setTotalsForAllResults(totalsForAllResults)
Set the value for the field: totalsForAllResults
Arguments:
Name | Type | Description |
---|---|---|
totalsForAllResults | Object | Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request. |
Return Values:
Type | Description |
---|---|
GaData | The bean object for chaining. |