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

#include <webproperty.h>

Inheritance diagram for google_analytics_api::Webproperty:

Classes

class  WebpropertyChildLink
 
class  WebpropertyParentLink
 
class  WebpropertyPermissions
 

Public Member Functions

 Webproperty (const Json::Value &storage)
 
 Webproperty (Json::Value *storage)
 
virtual ~Webproperty ()
 
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_child_link () const
 
void clear_child_link ()
 
const WebpropertyChildLink get_child_link () const
 
WebpropertyChildLink mutable_childLink ()
 
bool has_created () const
 
void clear_created ()
 
client::DateTime get_created () const
 
void set_created (client::DateTime value)
 
bool has_data_retention_reset_on_new_activity () const
 
void clear_data_retention_reset_on_new_activity ()
 
bool get_data_retention_reset_on_new_activity () const
 
void set_data_retention_reset_on_new_activity (bool value)
 
bool has_data_retention_ttl () const
 
void clear_data_retention_ttl ()
 
const StringPiece get_data_retention_ttl () const
 
void set_data_retention_ttl (const StringPiece &value)
 
bool has_default_profile_id () const
 
void clear_default_profile_id ()
 
int64 get_default_profile_id () const
 
void set_default_profile_id (int64 value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_industry_vertical () const
 
void clear_industry_vertical ()
 
const StringPiece get_industry_vertical () const
 
void set_industry_vertical (const StringPiece &value)
 
bool has_internal_web_property_id () const
 
void clear_internal_web_property_id ()
 
const StringPiece get_internal_web_property_id () const
 
void set_internal_web_property_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_level () const
 
void clear_level ()
 
const StringPiece get_level () const
 
void set_level (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 WebpropertyParentLink get_parent_link () const
 
WebpropertyParentLink mutable_parentLink ()
 
bool has_permissions () const
 
void clear_permissions ()
 
const WebpropertyPermissions get_permissions () const
 
WebpropertyPermissions mutable_permissions ()
 
bool has_profile_count () const
 
void clear_profile_count ()
 
int32 get_profile_count () const
 
void set_profile_count (int32 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_starred () const
 
void clear_starred ()
 
bool get_starred () const
 
void set_starred (bool value)
 
bool has_updated () const
 
void clear_updated ()
 
client::DateTime get_updated () const
 
void set_updated (client::DateTime value)
 
bool has_website_url () const
 
void clear_website_url ()
 
const StringPiece get_website_url () const
 
void set_website_url (const StringPiece &value)
 

Static Public Member Functions

static WebpropertyNew ()
 

Detailed Description

JSON template for an Analytics web property.

Constructor & Destructor Documentation

◆ Webproperty() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Webproperty() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Webproperty()

google_analytics_api::Webproperty::~Webproperty ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_account_id()

void google_analytics_api::Webproperty::clear_account_id ( )
inline

Clears the 'accountId' attribute.

◆ clear_child_link()

void google_analytics_api::Webproperty::clear_child_link ( )
inline

Clears the 'childLink' attribute.

◆ clear_created()

void google_analytics_api::Webproperty::clear_created ( )
inline

Clears the 'created' attribute.

◆ clear_data_retention_reset_on_new_activity()

void google_analytics_api::Webproperty::clear_data_retention_reset_on_new_activity ( )
inline

Clears the 'dataRetentionResetOnNewActivity' attribute.

◆ clear_data_retention_ttl()

void google_analytics_api::Webproperty::clear_data_retention_ttl ( )
inline

Clears the 'dataRetentionTtl' attribute.

◆ clear_default_profile_id()

void google_analytics_api::Webproperty::clear_default_profile_id ( )
inline

Clears the 'defaultProfileId' attribute.

◆ clear_id()

void google_analytics_api::Webproperty::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_industry_vertical()

void google_analytics_api::Webproperty::clear_industry_vertical ( )
inline

Clears the 'industryVertical' attribute.

◆ clear_internal_web_property_id()

void google_analytics_api::Webproperty::clear_internal_web_property_id ( )
inline

Clears the 'internalWebPropertyId' attribute.

◆ clear_kind()

void google_analytics_api::Webproperty::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_level()

void google_analytics_api::Webproperty::clear_level ( )
inline

Clears the 'level' attribute.

◆ clear_name()

void google_analytics_api::Webproperty::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_parent_link()

void google_analytics_api::Webproperty::clear_parent_link ( )
inline

Clears the 'parentLink' attribute.

◆ clear_permissions()

void google_analytics_api::Webproperty::clear_permissions ( )
inline

Clears the 'permissions' attribute.

◆ clear_profile_count()

void google_analytics_api::Webproperty::clear_profile_count ( )
inline

Clears the 'profileCount' attribute.

◆ clear_self_link()

void google_analytics_api::Webproperty::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_starred()

void google_analytics_api::Webproperty::clear_starred ( )
inline

Clears the 'starred' attribute.

◆ clear_updated()

void google_analytics_api::Webproperty::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ clear_website_url()

void google_analytics_api::Webproperty::clear_website_url ( )
inline

Clears the 'websiteUrl' attribute.

◆ get_account_id()

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

Get the value of the 'accountId' attribute.

◆ get_child_link()

const WebpropertyChildLink google_analytics_api::Webproperty::get_child_link ( ) const
inline

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

◆ get_created()

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

Get the value of the 'created' attribute.

◆ get_data_retention_reset_on_new_activity()

bool google_analytics_api::Webproperty::get_data_retention_reset_on_new_activity ( ) const
inline

Get the value of the 'dataRetentionResetOnNewActivity' attribute.

◆ get_data_retention_ttl()

const StringPiece google_analytics_api::Webproperty::get_data_retention_ttl ( ) const
inline

Get the value of the 'dataRetentionTtl' attribute.

◆ get_default_profile_id()

int64 google_analytics_api::Webproperty::get_default_profile_id ( ) const
inline

Get the value of the 'defaultProfileId' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_industry_vertical()

const StringPiece google_analytics_api::Webproperty::get_industry_vertical ( ) const
inline

Get the value of the 'industryVertical' attribute.

◆ get_internal_web_property_id()

const StringPiece google_analytics_api::Webproperty::get_internal_web_property_id ( ) const
inline

Get the value of the 'internalWebPropertyId' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_level()

const StringPiece google_analytics_api::Webproperty::get_level ( ) const
inline

Get the value of the 'level' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_parent_link()

const WebpropertyParentLink google_analytics_api::Webproperty::get_parent_link ( ) const
inline

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

◆ get_permissions()

const WebpropertyPermissions google_analytics_api::Webproperty::get_permissions ( ) const
inline

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

◆ get_profile_count()

int32 google_analytics_api::Webproperty::get_profile_count ( ) const
inline

Get the value of the 'profileCount' attribute.

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ get_starred()

bool google_analytics_api::Webproperty::get_starred ( ) const
inline

Get the value of the 'starred' attribute.

◆ get_updated()

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

Get the value of the 'updated' attribute.

◆ get_website_url()

const StringPiece google_analytics_api::Webproperty::get_website_url ( ) const
inline

Get the value of the 'websiteUrl' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::Webproperty

◆ has_account_id()

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

Determine if the 'accountId' attribute was set.

Returns
true if the 'accountId' attribute was set.

◆ has_child_link()

bool google_analytics_api::Webproperty::has_child_link ( ) const
inline

Determine if the 'childLink' attribute was set.

Returns
true if the 'childLink' attribute was set.

◆ has_created()

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

Determine if the 'created' attribute was set.

Returns
true if the 'created' attribute was set.

◆ has_data_retention_reset_on_new_activity()

bool google_analytics_api::Webproperty::has_data_retention_reset_on_new_activity ( ) const
inline

Determine if the 'dataRetentionResetOnNewActivity' attribute was set.

Returns
true if the 'dataRetentionResetOnNewActivity' attribute was set.

◆ has_data_retention_ttl()

bool google_analytics_api::Webproperty::has_data_retention_ttl ( ) const
inline

Determine if the 'dataRetentionTtl' attribute was set.

Returns
true if the 'dataRetentionTtl' attribute was set.

◆ has_default_profile_id()

bool google_analytics_api::Webproperty::has_default_profile_id ( ) const
inline

Determine if the 'defaultProfileId' attribute was set.

Returns
true if the 'defaultProfileId' attribute was set.

◆ has_id()

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

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_industry_vertical()

bool google_analytics_api::Webproperty::has_industry_vertical ( ) const
inline

Determine if the 'industryVertical' attribute was set.

Returns
true if the 'industryVertical' attribute was set.

◆ has_internal_web_property_id()

bool google_analytics_api::Webproperty::has_internal_web_property_id ( ) const
inline

Determine if the 'internalWebPropertyId' attribute was set.

Returns
true if the 'internalWebPropertyId' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_level()

bool google_analytics_api::Webproperty::has_level ( ) const
inline

Determine if the 'level' attribute was set.

Returns
true if the 'level' attribute was set.

◆ has_name()

bool google_analytics_api::Webproperty::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::Webproperty::has_parent_link ( ) const
inline

Determine if the 'parentLink' attribute was set.

Returns
true if the 'parentLink' attribute was set.

◆ has_permissions()

bool google_analytics_api::Webproperty::has_permissions ( ) const
inline

Determine if the 'permissions' attribute was set.

Returns
true if the 'permissions' attribute was set.

◆ has_profile_count()

bool google_analytics_api::Webproperty::has_profile_count ( ) const
inline

Determine if the 'profileCount' attribute was set.

Returns
true if the 'profileCount' attribute was set.

◆ has_self_link()

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

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_starred()

bool google_analytics_api::Webproperty::has_starred ( ) const
inline

Determine if the 'starred' attribute was set.

Returns
true if the 'starred' attribute was set.

◆ has_updated()

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

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ has_website_url()

bool google_analytics_api::Webproperty::has_website_url ( ) const
inline

Determine if the 'websiteUrl' attribute was set.

Returns
true if the 'websiteUrl' attribute was set.

◆ mutable_childLink()

WebpropertyChildLink google_analytics_api::Webproperty::mutable_childLink ( )
inline

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

Child link for this web property. Points to the list of views (profiles) for this web property.

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

◆ mutable_parentLink()

WebpropertyParentLink google_analytics_api::Webproperty::mutable_parentLink ( )
inline

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

Parent link for this web property. Points to the account to which this web property belongs.

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

◆ mutable_permissions()

WebpropertyPermissions google_analytics_api::Webproperty::mutable_permissions ( )
inline

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

Permissions the user has for this web property.

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

◆ New()

Webproperty * google_analytics_api::Webproperty::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_account_id()

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

Change the 'accountId' attribute.

Account ID to which this web property belongs.

Parameters
[in]valueThe new value.

◆ set_created()

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

Change the 'created' attribute.

Time this web property was created.

Parameters
[in]valueThe new value.

◆ set_data_retention_reset_on_new_activity()

void google_analytics_api::Webproperty::set_data_retention_reset_on_new_activity ( bool  value)
inline

Change the 'dataRetentionResetOnNewActivity' attribute.

Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period). Set to false to delete data associated with the user identifier automatically after the rentention period. This property cannot be set on insert.

Parameters
[in]valueThe new value.

◆ set_data_retention_ttl()

void google_analytics_api::Webproperty::set_data_retention_ttl ( const StringPiece &  value)
inline

Change the 'dataRetentionTtl' attribute.

The length of time for which user and event data is retained. This property cannot be set on insert.

Parameters
[in]valueThe new value.

◆ set_default_profile_id()

void google_analytics_api::Webproperty::set_default_profile_id ( int64  value)
inline

Change the 'defaultProfileId' attribute.

Default view (profile) ID.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

Web property ID of the form UA-XXXXX-YY.

Parameters
[in]valueThe new value.

◆ set_industry_vertical()

void google_analytics_api::Webproperty::set_industry_vertical ( const StringPiece &  value)
inline

Change the 'industryVertical' attribute.

The industry vertical/category selected for this web property.

Parameters
[in]valueThe new value.

◆ set_internal_web_property_id()

void google_analytics_api::Webproperty::set_internal_web_property_id ( const StringPiece &  value)
inline

Change the 'internalWebPropertyId' attribute.

Internal ID for this web property.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for Analytics WebProperty.

Parameters
[in]valueThe new value.

◆ set_level()

void google_analytics_api::Webproperty::set_level ( const StringPiece &  value)
inline

Change the 'level' attribute.

Level for this web property. Possible values are STANDARD or PREMIUM.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

Name of this web property.

Parameters
[in]valueThe new value.

◆ set_profile_count()

void google_analytics_api::Webproperty::set_profile_count ( int32  value)
inline

Change the 'profileCount' attribute.

View (Profile) count for this web property.

Parameters
[in]valueThe new value.

◆ set_self_link()

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

Change the 'selfLink' attribute.

Link for this web property.

Parameters
[in]valueThe new value.

◆ set_starred()

void google_analytics_api::Webproperty::set_starred ( bool  value)
inline

Change the 'starred' attribute.

Indicates whether this web property is starred or not.

Parameters
[in]valueThe new value.

◆ set_updated()

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

Change the 'updated' attribute.

Time this web property was last modified.

Parameters
[in]valueThe new value.

◆ set_website_url()

void google_analytics_api::Webproperty::set_website_url ( const StringPiece &  value)
inline

Change the 'websiteUrl' attribute.

Website url for this web property.

Parameters
[in]valueThe new value.

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