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

#include <entity_ad_words_link.h>

Inheritance diagram for google_analytics_api::EntityAdWordsLink:

Classes

class  EntityAdWordsLinkEntity
 

Public Member Functions

 EntityAdWordsLink (const Json::Value &storage)
 
 EntityAdWordsLink (Json::Value *storage)
 
virtual ~EntityAdWordsLink ()
 
const StringPiece GetTypeName () const
 
bool has_ad_words_accounts () const
 
void clear_ad_words_accounts ()
 
const client::JsonCppArray< AdWordsAccountget_ad_words_accounts () const
 
client::JsonCppArray< AdWordsAccountmutable_adWordsAccounts ()
 
bool has_entity () const
 
void clear_entity ()
 
const EntityAdWordsLinkEntity get_entity () const
 
EntityAdWordsLinkEntity mutable_entity ()
 
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_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_profile_ids () const
 
void clear_profile_ids ()
 
const client::JsonCppArray< string > get_profile_ids () const
 
client::JsonCppArray< string > mutable_profileIds ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 

Static Public Member Functions

static EntityAdWordsLinkNew ()
 

Detailed Description

JSON template for Analytics Entity Google Ads Link.

Constructor & Destructor Documentation

◆ EntityAdWordsLink() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EntityAdWordsLink() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EntityAdWordsLink()

google_analytics_api::EntityAdWordsLink::~EntityAdWordsLink ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ad_words_accounts()

void google_analytics_api::EntityAdWordsLink::clear_ad_words_accounts ( )
inline

Clears the 'adWordsAccounts' attribute.

◆ clear_entity()

void google_analytics_api::EntityAdWordsLink::clear_entity ( )
inline

Clears the 'entity' attribute.

◆ clear_id()

void google_analytics_api::EntityAdWordsLink::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::EntityAdWordsLink::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_analytics_api::EntityAdWordsLink::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_profile_ids()

void google_analytics_api::EntityAdWordsLink::clear_profile_ids ( )
inline

Clears the 'profileIds' attribute.

◆ clear_self_link()

void google_analytics_api::EntityAdWordsLink::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_ad_words_accounts()

const client::JsonCppArray<AdWordsAccount > google_analytics_api::EntityAdWordsLink::get_ad_words_accounts ( ) const

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

◆ get_entity()

const EntityAdWordsLinkEntity google_analytics_api::EntityAdWordsLink::get_entity ( ) const
inline

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

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_profile_ids()

const client::JsonCppArray<string > google_analytics_api::EntityAdWordsLink::get_profile_ids ( ) const
inline

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

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::EntityAdWordsLink

◆ has_ad_words_accounts()

bool google_analytics_api::EntityAdWordsLink::has_ad_words_accounts ( ) const
inline

Determine if the 'adWordsAccounts' attribute was set.

Returns
true if the 'adWordsAccounts' attribute was set.

◆ has_entity()

bool google_analytics_api::EntityAdWordsLink::has_entity ( ) const
inline

Determine if the 'entity' attribute was set.

Returns
true if the 'entity' attribute was set.

◆ has_id()

bool google_analytics_api::EntityAdWordsLink::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::EntityAdWordsLink::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::EntityAdWordsLink::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_profile_ids()

bool google_analytics_api::EntityAdWordsLink::has_profile_ids ( ) const
inline

Determine if the 'profileIds' attribute was set.

Returns
true if the 'profileIds' attribute was set.

◆ has_self_link()

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

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ mutable_adWordsAccounts()

client::JsonCppArray<AdWordsAccount > google_analytics_api::EntityAdWordsLink::mutable_adWordsAccounts ( )

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

A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.

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

◆ mutable_entity()

EntityAdWordsLinkEntity google_analytics_api::EntityAdWordsLink::mutable_entity ( )
inline

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

Web property being linked.

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

◆ mutable_profileIds()

client::JsonCppArray<string > google_analytics_api::EntityAdWordsLink::mutable_profileIds ( )
inline

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

IDs of linked Views (Profiles) represented as strings.

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

◆ New()

EntityAdWordsLink * google_analytics_api::EntityAdWordsLink::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

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

Change the 'id' attribute.

Entity Google Ads link ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for entity Google Ads link.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

Name of the link. This field is required when creating a Google Ads link.

Parameters
[in]valueThe new value.

◆ set_self_link()

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

Change the 'selfLink' attribute.

URL link for this Google Analytics - Google Ads link.

Parameters
[in]valueThe new value.

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