analytics
v3
|
#include <ga_data.h>
Classes | |
class | GaDataColumnHeaders |
class | GaDataDataTable |
class | GaDataProfileInfo |
class | GaDataQuery |
Public Member Functions | |
GaData (const Json::Value &storage) | |
GaData (Json::Value *storage) | |
virtual | ~GaData () |
const StringPiece | GetTypeName () const |
bool | has_column_headers () const |
void | clear_column_headers () |
const client::JsonCppArray< GaDataColumnHeaders > | get_column_headers () const |
client::JsonCppArray< GaDataColumnHeaders > | mutable_columnHeaders () |
bool | has_contains_sampled_data () const |
void | clear_contains_sampled_data () |
bool | get_contains_sampled_data () const |
void | set_contains_sampled_data (bool value) |
bool | has_data_last_refreshed () const |
void | clear_data_last_refreshed () |
int64 | get_data_last_refreshed () const |
void | set_data_last_refreshed (int64 value) |
bool | has_data_table () const |
void | clear_data_table () |
const GaDataDataTable | get_data_table () const |
GaDataDataTable | mutable_dataTable () |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_items_per_page () const |
void | clear_items_per_page () |
int32 | get_items_per_page () const |
void | set_items_per_page (int32 value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_next_link () const |
void | clear_next_link () |
const StringPiece | get_next_link () const |
void | set_next_link (const StringPiece &value) |
bool | has_previous_link () const |
void | clear_previous_link () |
const StringPiece | get_previous_link () const |
void | set_previous_link (const StringPiece &value) |
bool | has_profile_info () const |
void | clear_profile_info () |
const GaDataProfileInfo | get_profile_info () const |
GaDataProfileInfo | mutable_profileInfo () |
bool | has_query () const |
void | clear_query () |
const GaDataQuery | get_query () const |
GaDataQuery | mutable_query () |
bool | has_rows () const |
void | clear_rows () |
const client::JsonCppArray< client::JsonCppArray< string > > | get_rows () const |
client::JsonCppArray< client::JsonCppArray< string > > | mutable_rows () |
bool | has_sample_size () const |
void | clear_sample_size () |
int64 | get_sample_size () const |
void | set_sample_size (int64 value) |
bool | has_sample_space () const |
void | clear_sample_space () |
int64 | get_sample_space () const |
void | set_sample_space (int64 value) |
bool | has_self_link () const |
void | clear_self_link () |
const StringPiece | get_self_link () const |
void | set_self_link (const StringPiece &value) |
bool | has_total_results () const |
void | clear_total_results () |
int32 | get_total_results () const |
void | set_total_results (int32 value) |
bool | has_totals_for_all_results () const |
void | clear_totals_for_all_results () |
const client::JsonCppAssociativeArray< string > | get_totals_for_all_results () const |
client::JsonCppAssociativeArray< string > | mutable_totalsForAllResults () |
Static Public Member Functions | |
static GaData * | New () |
Analytics data for a given view (profile).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'columnHeaders
' attribute.
|
inline |
Clears the 'containsSampledData
' attribute.
|
inline |
Clears the 'dataLastRefreshed
' attribute.
|
inline |
Clears the 'dataTable
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'itemsPerPage
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'nextLink
' attribute.
|
inline |
Clears the 'previousLink
' attribute.
|
inline |
Clears the 'profileInfo
' attribute.
|
inline |
Clears the 'query
' attribute.
|
inline |
Clears the 'rows
' attribute.
|
inline |
Clears the 'sampleSize
' attribute.
|
inline |
Clears the 'sampleSpace
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'totalResults
' attribute.
|
inline |
Clears the 'totalsForAllResults
' attribute.
|
inline |
Get a reference to the value of the 'columnHeaders
' attribute.
|
inline |
Get the value of the 'containsSampledData
' attribute.
|
inline |
Get the value of the 'dataLastRefreshed
' attribute.
|
inline |
Get a reference to the value of the 'dataTable
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'itemsPerPage
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'nextLink
' attribute.
|
inline |
Get the value of the 'previousLink
' attribute.
|
inline |
Get a reference to the value of the 'profileInfo
' attribute.
|
inline |
Get a reference to the value of the 'query
' attribute.
|
inline |
Get a reference to the value of the 'rows
' attribute.
|
inline |
Get the value of the 'sampleSize
' attribute.
|
inline |
Get the value of the 'sampleSpace
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'totalResults
' attribute.
|
inline |
Get a reference to the value of the 'totalsForAllResults
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_analytics_api::GaData
|
inline |
Determine if the 'columnHeaders
' attribute was set.
columnHeaders
' attribute was set.
|
inline |
Determine if the 'containsSampledData
' attribute was set.
containsSampledData
' attribute was set.
|
inline |
Determine if the 'dataLastRefreshed
' attribute was set.
dataLastRefreshed
' attribute was set.
|
inline |
Determine if the 'dataTable
' attribute was set.
dataTable
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'itemsPerPage
' attribute was set.
itemsPerPage
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'nextLink
' attribute was set.
nextLink
' attribute was set.
|
inline |
Determine if the 'previousLink
' attribute was set.
previousLink
' attribute was set.
|
inline |
Determine if the 'profileInfo
' attribute was set.
profileInfo
' attribute was set.
|
inline |
Determine if the 'query
' attribute was set.
query
' attribute was set.
|
inline |
Determine if the 'rows
' attribute was set.
rows
' attribute was set.
|
inline |
Determine if the 'sampleSize
' attribute was set.
sampleSize
' attribute was set.
|
inline |
Determine if the 'sampleSpace
' attribute was set.
sampleSpace
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'totalResults
' attribute was set.
totalResults
' attribute was set.
|
inline |
Determine if the 'totalsForAllResults
' attribute was set.
totalsForAllResults
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'columnHeaders
' property.
Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
|
inline |
Gets a reference to a mutable value of the 'dataTable
' property.
|
inline |
Gets a reference to a mutable value of the 'profileInfo
' property.
Information for the view (profile), for which the Analytics data was requested.
|
inline |
Gets a reference to a mutable value of the 'query
' property.
Analytics data request query parameters.
|
inline |
Gets a reference to a mutable value of the 'rows
' property.
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.
|
inline |
Gets a reference to a mutable value of the 'totalsForAllResults
' property.
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.
|
static |
Creates a new default instance.
|
inline |
Change the 'containsSampledData
' attribute.
Determines if Analytics data contains samples.
[in] | value | The new value. |
|
inline |
Change the 'dataLastRefreshed
' attribute.
The last refreshed time in seconds for Analytics data.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
Unique ID for this data response.
[in] | value | The new value. |
|
inline |
Change the 'itemsPerPage
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Resource type.
[in] | value | The new value. |
|
inline |
Change the 'nextLink
' attribute.
Link to next page for this Analytics data query.
[in] | value | The new value. |
|
inline |
Change the 'previousLink
' attribute.
Link to previous page for this Analytics data query.
[in] | value | The new value. |
|
inline |
Change the 'sampleSize
' attribute.
The number of samples used to calculate the result.
[in] | value | The new value. |
|
inline |
Change the 'sampleSpace
' attribute.
Total size of the sample space from which the samples were selected.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
Link to this page.
[in] | value | The new value. |
|
inline |
Change the 'totalResults
' attribute.
The total number of rows for the query, regardless of the number of rows in the response.
[in] | value | The new value. |