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

#include <include_conditions.h>

Inheritance diagram for google_analytics_api::IncludeConditions:

Public Member Functions

 IncludeConditions (const Json::Value &storage)
 
 IncludeConditions (Json::Value *storage)
 
virtual ~IncludeConditions ()
 
const StringPiece GetTypeName () const
 
bool has_days_to_look_back () const
 
void clear_days_to_look_back ()
 
int32 get_days_to_look_back () const
 
void set_days_to_look_back (int32 value)
 
bool has_is_smart_list () const
 
void clear_is_smart_list ()
 
bool get_is_smart_list () const
 
void set_is_smart_list (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_membership_duration_days () const
 
void clear_membership_duration_days ()
 
int32 get_membership_duration_days () const
 
void set_membership_duration_days (int32 value)
 
bool has_segment () const
 
void clear_segment ()
 
const StringPiece get_segment () const
 
void set_segment (const StringPiece &value)
 

Static Public Member Functions

static IncludeConditionsNew ()
 

Detailed Description

JSON template for an Analytics Remarketing Include Conditions.

Constructor & Destructor Documentation

◆ IncludeConditions() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ IncludeConditions() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~IncludeConditions()

google_analytics_api::IncludeConditions::~IncludeConditions ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_days_to_look_back()

void google_analytics_api::IncludeConditions::clear_days_to_look_back ( )
inline

Clears the 'daysToLookBack' attribute.

◆ clear_is_smart_list()

void google_analytics_api::IncludeConditions::clear_is_smart_list ( )
inline

Clears the 'isSmartList' attribute.

◆ clear_kind()

void google_analytics_api::IncludeConditions::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_membership_duration_days()

void google_analytics_api::IncludeConditions::clear_membership_duration_days ( )
inline

Clears the 'membershipDurationDays' attribute.

◆ clear_segment()

void google_analytics_api::IncludeConditions::clear_segment ( )
inline

Clears the 'segment' attribute.

◆ get_days_to_look_back()

int32 google_analytics_api::IncludeConditions::get_days_to_look_back ( ) const
inline

Get the value of the 'daysToLookBack' attribute.

◆ get_is_smart_list()

bool google_analytics_api::IncludeConditions::get_is_smart_list ( ) const
inline

Get the value of the 'isSmartList' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_membership_duration_days()

int32 google_analytics_api::IncludeConditions::get_membership_duration_days ( ) const
inline

Get the value of the 'membershipDurationDays' attribute.

◆ get_segment()

const StringPiece google_analytics_api::IncludeConditions::get_segment ( ) const
inline

Get the value of the 'segment' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::IncludeConditions

◆ has_days_to_look_back()

bool google_analytics_api::IncludeConditions::has_days_to_look_back ( ) const
inline

Determine if the 'daysToLookBack' attribute was set.

Returns
true if the 'daysToLookBack' attribute was set.

◆ has_is_smart_list()

bool google_analytics_api::IncludeConditions::has_is_smart_list ( ) const
inline

Determine if the 'isSmartList' attribute was set.

Returns
true if the 'isSmartList' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_membership_duration_days()

bool google_analytics_api::IncludeConditions::has_membership_duration_days ( ) const
inline

Determine if the 'membershipDurationDays' attribute was set.

Returns
true if the 'membershipDurationDays' attribute was set.

◆ has_segment()

bool google_analytics_api::IncludeConditions::has_segment ( ) const
inline

Determine if the 'segment' attribute was set.

Returns
true if the 'segment' attribute was set.

◆ New()

IncludeConditions * google_analytics_api::IncludeConditions::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_days_to_look_back()

void google_analytics_api::IncludeConditions::set_days_to_look_back ( int32  value)
inline

Change the 'daysToLookBack' attribute.

The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience.

Parameters
[in]valueThe new value.

◆ set_is_smart_list()

void google_analytics_api::IncludeConditions::set_is_smart_list ( bool  value)
inline

Change the 'isSmartList' attribute.

Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for include conditions.

Parameters
[in]valueThe new value.

◆ set_membership_duration_days()

void google_analytics_api::IncludeConditions::set_membership_duration_days ( int32  value)
inline

Change the 'membershipDurationDays' attribute.

Number of days (in the range 1 to 540) a user remains in the audience.

Parameters
[in]valueThe new value.

◆ set_segment()

void google_analytics_api::IncludeConditions::set_segment ( const StringPiece &  value)
inline

Change the 'segment' attribute.

The segment condition that will cause a user to be added to an audience.

Parameters
[in]valueThe new value.

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