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

#include <columns.h>

Inheritance diagram for google_analytics_api::Columns:

Public Member Functions

 Columns (const Json::Value &storage)
 
 Columns (Json::Value *storage)
 
virtual ~Columns ()
 
const StringPiece GetTypeName () const
 
bool has_attribute_names () const
 
void clear_attribute_names ()
 
const client::JsonCppArray< string > get_attribute_names () const
 
client::JsonCppArray< string > mutable_attributeNames ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Columnget_items () const
 
client::JsonCppArray< Columnmutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_total_results () const
 
void clear_total_results ()
 
int32 get_total_results () const
 
void set_total_results (int32 value)
 

Static Public Member Functions

static ColumnsNew ()
 

Detailed Description

Lists columns (dimensions and metrics) for a particular report type.

Constructor & Destructor Documentation

◆ Columns() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Columns() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Columns()

google_analytics_api::Columns::~Columns ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_attribute_names()

void google_analytics_api::Columns::clear_attribute_names ( )
inline

Clears the 'attributeNames' attribute.

◆ clear_etag()

void google_analytics_api::Columns::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_items()

void google_analytics_api::Columns::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_analytics_api::Columns::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_total_results()

void google_analytics_api::Columns::clear_total_results ( )
inline

Clears the 'totalResults' attribute.

◆ get_attribute_names()

const client::JsonCppArray<string > google_analytics_api::Columns::get_attribute_names ( ) const
inline

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

◆ get_etag()

const StringPiece google_analytics_api::Columns::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_items()

const client::JsonCppArray<Column > google_analytics_api::Columns::get_items ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_total_results()

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

Get the value of the 'totalResults' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::Columns

◆ has_attribute_names()

bool google_analytics_api::Columns::has_attribute_names ( ) const
inline

Determine if the 'attributeNames' attribute was set.

Returns
true if the 'attributeNames' attribute was set.

◆ has_etag()

bool google_analytics_api::Columns::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_items()

bool google_analytics_api::Columns::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_total_results()

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

Determine if the 'totalResults' attribute was set.

Returns
true if the 'totalResults' attribute was set.

◆ mutable_attributeNames()

client::JsonCppArray<string > google_analytics_api::Columns::mutable_attributeNames ( )
inline

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

List of attributes names returned by columns.

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

◆ mutable_items()

client::JsonCppArray<Column > google_analytics_api::Columns::mutable_items ( )

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

List of columns for a report type.

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

◆ New()

Columns * google_analytics_api::Columns::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_analytics_api::Columns::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Etag of collection. This etag can be compared with the last response etag to check if response has changed.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Collection type.

Parameters
[in]valueThe new value.

◆ set_total_results()

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

Change the 'totalResults' attribute.

Total number of columns returned in the response.

Parameters
[in]valueThe new value.

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