analytics  v3
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_analytics_api::RealtimeData Class Reference

#include <realtime_data.h>

Inheritance diagram for google_analytics_api::RealtimeData:

Classes

class  RealtimeDataColumnHeaders
 
class  RealtimeDataProfileInfo
 
class  RealtimeDataQuery
 

Public Member Functions

 RealtimeData (const Json::Value &storage)
 
 RealtimeData (Json::Value *storage)
 
virtual ~RealtimeData ()
 
const StringPiece GetTypeName () const
 
bool has_column_headers () const
 
void clear_column_headers ()
 
const client::JsonCppArray< RealtimeDataColumnHeadersget_column_headers () const
 
client::JsonCppArray< RealtimeDataColumnHeadersmutable_columnHeaders ()
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_profile_info () const
 
void clear_profile_info ()
 
const RealtimeDataProfileInfo get_profile_info () const
 
RealtimeDataProfileInfo mutable_profileInfo ()
 
bool has_query () const
 
void clear_query ()
 
const RealtimeDataQuery get_query () const
 
RealtimeDataQuery 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_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 RealtimeDataNew ()
 

Detailed Description

Real time data for a given view (profile).

Constructor & Destructor Documentation

◆ RealtimeData() [1/2]

google_analytics_api::RealtimeData::RealtimeData ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ RealtimeData() [2/2]

google_analytics_api::RealtimeData::RealtimeData ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~RealtimeData()

google_analytics_api::RealtimeData::~RealtimeData ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_column_headers()

void google_analytics_api::RealtimeData::clear_column_headers ( )
inline

Clears the 'columnHeaders' attribute.

◆ clear_id()

void google_analytics_api::RealtimeData::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::RealtimeData::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_profile_info()

void google_analytics_api::RealtimeData::clear_profile_info ( )
inline

Clears the 'profileInfo' attribute.

◆ clear_query()

void google_analytics_api::RealtimeData::clear_query ( )
inline

Clears the 'query' attribute.

◆ clear_rows()

void google_analytics_api::RealtimeData::clear_rows ( )
inline

Clears the 'rows' attribute.

◆ clear_self_link()

void google_analytics_api::RealtimeData::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_total_results()

void google_analytics_api::RealtimeData::clear_total_results ( )
inline

Clears the 'totalResults' attribute.

◆ clear_totals_for_all_results()

void google_analytics_api::RealtimeData::clear_totals_for_all_results ( )
inline

Clears the 'totalsForAllResults' attribute.

◆ get_column_headers()

const client::JsonCppArray<RealtimeDataColumnHeaders > google_analytics_api::RealtimeData::get_column_headers ( ) const
inline

Get a reference to the value of the 'columnHeaders' attribute.

◆ get_id()

const StringPiece google_analytics_api::RealtimeData::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_analytics_api::RealtimeData::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_profile_info()

const RealtimeDataProfileInfo google_analytics_api::RealtimeData::get_profile_info ( ) const
inline

Get a reference to the value of the 'profileInfo' attribute.

◆ get_query()

const RealtimeDataQuery google_analytics_api::RealtimeData::get_query ( ) const
inline

Get a reference to the value of the 'query' attribute.

◆ get_rows()

const client::JsonCppArray<client::JsonCppArray<string > > google_analytics_api::RealtimeData::get_rows ( ) const
inline

Get a reference to the value of the 'rows' attribute.

◆ get_self_link()

const StringPiece google_analytics_api::RealtimeData::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_total_results()

int32 google_analytics_api::RealtimeData::get_total_results ( ) const
inline

Get the value of the 'totalResults' attribute.

◆ get_totals_for_all_results()

const client::JsonCppAssociativeArray<string > google_analytics_api::RealtimeData::get_totals_for_all_results ( ) const
inline

Get a reference to the value of the 'totalsForAllResults' attribute.

◆ GetTypeName()

const StringPiece google_analytics_api::RealtimeData::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_analytics_api::RealtimeData

◆ has_column_headers()

bool google_analytics_api::RealtimeData::has_column_headers ( ) const
inline

Determine if the 'columnHeaders' attribute was set.

Returns
true if the 'columnHeaders' attribute was set.

◆ has_id()

bool google_analytics_api::RealtimeData::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_analytics_api::RealtimeData::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_profile_info()

bool google_analytics_api::RealtimeData::has_profile_info ( ) const
inline

Determine if the 'profileInfo' attribute was set.

Returns
true if the 'profileInfo' attribute was set.

◆ has_query()

bool google_analytics_api::RealtimeData::has_query ( ) const
inline

Determine if the 'query' attribute was set.

Returns
true if the 'query' attribute was set.

◆ has_rows()

bool google_analytics_api::RealtimeData::has_rows ( ) const
inline

Determine if the 'rows' attribute was set.

Returns
true if the 'rows' attribute was set.

◆ has_self_link()

bool google_analytics_api::RealtimeData::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_total_results()

bool google_analytics_api::RealtimeData::has_total_results ( ) const
inline

Determine if the 'totalResults' attribute was set.

Returns
true if the 'totalResults' attribute was set.

◆ has_totals_for_all_results()

bool google_analytics_api::RealtimeData::has_totals_for_all_results ( ) const
inline

Determine if the 'totalsForAllResults' attribute was set.

Returns
true if the 'totalsForAllResults' attribute was set.

◆ mutable_columnHeaders()

client::JsonCppArray<RealtimeDataColumnHeaders > google_analytics_api::RealtimeData::mutable_columnHeaders ( )
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.

Returns
The result can be modified to change the attribute value.

◆ mutable_profileInfo()

RealtimeDataProfileInfo google_analytics_api::RealtimeData::mutable_profileInfo ( )
inline

Gets a reference to a mutable value of the 'profileInfo' property.

Information for the view (profile), for which the real time data was requested.

Returns
The result can be modified to change the attribute value.

◆ mutable_query()

RealtimeDataQuery google_analytics_api::RealtimeData::mutable_query ( )
inline

Gets a reference to a mutable value of the 'query' property.

Real time data request query parameters.

Returns
The result can be modified to change the attribute value.

◆ mutable_rows()

client::JsonCppArray<client::JsonCppArray<string > > google_analytics_api::RealtimeData::mutable_rows ( )
inline

Gets a reference to a mutable value of the 'rows' property.

Real time 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.

Returns
The result can be modified to change the attribute value.

◆ mutable_totalsForAllResults()

client::JsonCppAssociativeArray<string > google_analytics_api::RealtimeData::mutable_totalsForAllResults ( )
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.

Returns
The result can be modified to change the attribute value.

◆ New()

RealtimeData * google_analytics_api::RealtimeData::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

void google_analytics_api::RealtimeData::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Unique ID for this data response.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_analytics_api::RealtimeData::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Resource type.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_analytics_api::RealtimeData::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

Link to this page.

Parameters
[in]valueThe new value.

◆ set_total_results()

void google_analytics_api::RealtimeData::set_total_results ( int32  value)
inline

Change the 'totalResults' attribute.

The total number of rows for the query, regardless of the number of rows in the response.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: