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

#include <custom_dimension.h>

Inheritance diagram for google_analytics_api::CustomDimension:

Classes

class  CustomDimensionParentLink
 

Public Member Functions

 CustomDimension (const Json::Value &storage)
 
 CustomDimension (Json::Value *storage)
 
virtual ~CustomDimension ()
 
const StringPiece GetTypeName () const
 
bool has_account_id () const
 
void clear_account_id ()
 
const StringPiece get_account_id () const
 
void set_account_id (const StringPiece &value)
 
bool has_active () const
 
void clear_active ()
 
bool get_active () const
 
void set_active (bool value)
 
bool has_created () const
 
void clear_created ()
 
client::DateTime get_created () const
 
void set_created (client::DateTime value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_index () const
 
void clear_index ()
 
int32 get_index () const
 
void set_index (int32 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_parent_link () const
 
void clear_parent_link ()
 
const CustomDimensionParentLink get_parent_link () const
 
CustomDimensionParentLink mutable_parentLink ()
 
bool has_scope () const
 
void clear_scope ()
 
const StringPiece get_scope () const
 
void set_scope (const StringPiece &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_updated () const
 
void clear_updated ()
 
client::DateTime get_updated () const
 
void set_updated (client::DateTime value)
 
bool has_web_property_id () const
 
void clear_web_property_id ()
 
const StringPiece get_web_property_id () const
 
void set_web_property_id (const StringPiece &value)
 

Static Public Member Functions

static CustomDimensionNew ()
 

Detailed Description

JSON template for Analytics Custom Dimension.

Constructor & Destructor Documentation

◆ CustomDimension() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CustomDimension() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CustomDimension()

google_analytics_api::CustomDimension::~CustomDimension ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_account_id()

void google_analytics_api::CustomDimension::clear_account_id ( )
inline

Clears the 'accountId' attribute.

◆ clear_active()

void google_analytics_api::CustomDimension::clear_active ( )
inline

Clears the 'active' attribute.

◆ clear_created()

void google_analytics_api::CustomDimension::clear_created ( )
inline

Clears the 'created' attribute.

◆ clear_id()

void google_analytics_api::CustomDimension::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_index()

void google_analytics_api::CustomDimension::clear_index ( )
inline

Clears the 'index' attribute.

◆ clear_kind()

void google_analytics_api::CustomDimension::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_analytics_api::CustomDimension::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_parent_link()

void google_analytics_api::CustomDimension::clear_parent_link ( )
inline

Clears the 'parentLink' attribute.

◆ clear_scope()

void google_analytics_api::CustomDimension::clear_scope ( )
inline

Clears the 'scope' attribute.

◆ clear_self_link()

void google_analytics_api::CustomDimension::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_updated()

void google_analytics_api::CustomDimension::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ clear_web_property_id()

void google_analytics_api::CustomDimension::clear_web_property_id ( )
inline

Clears the 'webPropertyId' attribute.

◆ get_account_id()

const StringPiece google_analytics_api::CustomDimension::get_account_id ( ) const
inline

Get the value of the 'accountId' attribute.

◆ get_active()

bool google_analytics_api::CustomDimension::get_active ( ) const
inline

Get the value of the 'active' attribute.

◆ get_created()

client::DateTime google_analytics_api::CustomDimension::get_created ( ) const
inline

Get the value of the 'created' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_index()

int32 google_analytics_api::CustomDimension::get_index ( ) const
inline

Get the value of the 'index' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_analytics_api::CustomDimension::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_parent_link()

const CustomDimensionParentLink google_analytics_api::CustomDimension::get_parent_link ( ) const
inline

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

◆ get_scope()

const StringPiece google_analytics_api::CustomDimension::get_scope ( ) const
inline

Get the value of the 'scope' attribute.

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ get_updated()

client::DateTime google_analytics_api::CustomDimension::get_updated ( ) const
inline

Get the value of the 'updated' attribute.

◆ get_web_property_id()

const StringPiece google_analytics_api::CustomDimension::get_web_property_id ( ) const
inline

Get the value of the 'webPropertyId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::CustomDimension

◆ has_account_id()

bool google_analytics_api::CustomDimension::has_account_id ( ) const
inline

Determine if the 'accountId' attribute was set.

Returns
true if the 'accountId' attribute was set.

◆ has_active()

bool google_analytics_api::CustomDimension::has_active ( ) const
inline

Determine if the 'active' attribute was set.

Returns
true if the 'active' attribute was set.

◆ has_created()

bool google_analytics_api::CustomDimension::has_created ( ) const
inline

Determine if the 'created' attribute was set.

Returns
true if the 'created' attribute was set.

◆ has_id()

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

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_index()

bool google_analytics_api::CustomDimension::has_index ( ) const
inline

Determine if the 'index' attribute was set.

Returns
true if the 'index' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_analytics_api::CustomDimension::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_parent_link()

bool google_analytics_api::CustomDimension::has_parent_link ( ) const
inline

Determine if the 'parentLink' attribute was set.

Returns
true if the 'parentLink' attribute was set.

◆ has_scope()

bool google_analytics_api::CustomDimension::has_scope ( ) const
inline

Determine if the 'scope' attribute was set.

Returns
true if the 'scope' attribute was set.

◆ has_self_link()

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

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_updated()

bool google_analytics_api::CustomDimension::has_updated ( ) const
inline

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ has_web_property_id()

bool google_analytics_api::CustomDimension::has_web_property_id ( ) const
inline

Determine if the 'webPropertyId' attribute was set.

Returns
true if the 'webPropertyId' attribute was set.

◆ mutable_parentLink()

CustomDimensionParentLink google_analytics_api::CustomDimension::mutable_parentLink ( )
inline

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

Parent link for the custom dimension. Points to the property to which the custom dimension belongs.

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

◆ New()

CustomDimension * google_analytics_api::CustomDimension::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_account_id()

void google_analytics_api::CustomDimension::set_account_id ( const StringPiece &  value)
inline

Change the 'accountId' attribute.

Account ID.

Parameters
[in]valueThe new value.

◆ set_active()

void google_analytics_api::CustomDimension::set_active ( bool  value)
inline

Change the 'active' attribute.

Boolean indicating whether the custom dimension is active.

Parameters
[in]valueThe new value.

◆ set_created()

void google_analytics_api::CustomDimension::set_created ( client::DateTime  value)
inline

Change the 'created' attribute.

Time the custom dimension was created.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

Custom dimension ID.

Parameters
[in]valueThe new value.

◆ set_index()

void google_analytics_api::CustomDimension::set_index ( int32  value)
inline

Change the 'index' attribute.

Index of the custom dimension.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Kind value for a custom dimension. Set to "analytics#customDimension". It is a read-only field.

Parameters
[in]valueThe new value.

◆ set_name()

void google_analytics_api::CustomDimension::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Name of the custom dimension.

Parameters
[in]valueThe new value.

◆ set_scope()

void google_analytics_api::CustomDimension::set_scope ( const StringPiece &  value)
inline

Change the 'scope' attribute.

Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.

Parameters
[in]valueThe new value.

◆ set_self_link()

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

Change the 'selfLink' attribute.

Link for the custom dimension.

Parameters
[in]valueThe new value.

◆ set_updated()

void google_analytics_api::CustomDimension::set_updated ( client::DateTime  value)
inline

Change the 'updated' attribute.

Time the custom dimension was last modified.

Parameters
[in]valueThe new value.

◆ set_web_property_id()

void google_analytics_api::CustomDimension::set_web_property_id ( const StringPiece &  value)
inline

Change the 'webPropertyId' attribute.

Property ID.

Parameters
[in]valueThe new value.

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