analytics
v3
|
#include <goal.h>
Classes | |
class | GoalEventDetails |
class | GoalParentLink |
class | GoalUrlDestinationDetails |
class | GoalVisitNumPagesDetails |
class | GoalVisitTimeOnSiteDetails |
Public Member Functions | |
Goal (const Json::Value &storage) | |
Goal (Json::Value *storage) | |
virtual | ~Goal () |
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_event_details () const |
void | clear_event_details () |
const GoalEventDetails | get_event_details () const |
GoalEventDetails | mutable_eventDetails () |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (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_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 GoalParentLink | get_parent_link () const |
GoalParentLink | mutable_parentLink () |
bool | has_profile_id () const |
void | clear_profile_id () |
const StringPiece | get_profile_id () const |
void | set_profile_id (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_type () const |
void | clear_type () |
const StringPiece | get_type () const |
void | set_type (const StringPiece &value) |
bool | has_updated () const |
void | clear_updated () |
client::DateTime | get_updated () const |
void | set_updated (client::DateTime value) |
bool | has_url_destination_details () const |
void | clear_url_destination_details () |
const GoalUrlDestinationDetails | get_url_destination_details () const |
GoalUrlDestinationDetails | mutable_urlDestinationDetails () |
bool | has_value () const |
void | clear_value () |
float | get_value () const |
void | set_value (float value) |
bool | has_visit_num_pages_details () const |
void | clear_visit_num_pages_details () |
const GoalVisitNumPagesDetails | get_visit_num_pages_details () const |
GoalVisitNumPagesDetails | mutable_visitNumPagesDetails () |
bool | has_visit_time_on_site_details () const |
void | clear_visit_time_on_site_details () |
const GoalVisitTimeOnSiteDetails | get_visit_time_on_site_details () const |
GoalVisitTimeOnSiteDetails | mutable_visitTimeOnSiteDetails () |
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 Goal * | New () |
JSON template for Analytics goal resource.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'accountId
' attribute.
|
inline |
Clears the 'active
' attribute.
|
inline |
Clears the 'created
' attribute.
|
inline |
Clears the 'eventDetails
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'internalWebPropertyId
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'parentLink
' attribute.
|
inline |
Clears the 'profileId
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'type
' attribute.
|
inline |
Clears the 'updated
' attribute.
|
inline |
Clears the 'urlDestinationDetails
' attribute.
|
inline |
Clears the 'value
' attribute.
|
inline |
Clears the 'visitNumPagesDetails
' attribute.
|
inline |
Clears the 'visitTimeOnSiteDetails
' attribute.
|
inline |
Clears the 'webPropertyId
' attribute.
|
inline |
Get the value of the 'accountId
' attribute.
|
inline |
Get the value of the 'active
' attribute.
|
inline |
Get the value of the 'created
' attribute.
|
inline |
Get a reference to the value of the 'eventDetails
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'internalWebPropertyId
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get a reference to the value of the 'parentLink
' attribute.
|
inline |
Get the value of the 'profileId
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'type
' attribute.
|
inline |
Get the value of the 'updated
' attribute.
|
inline |
Get a reference to the value of the 'urlDestinationDetails
' attribute.
|
inline |
Get the value of the 'value
' attribute.
|
inline |
Get a reference to the value of the 'visitNumPagesDetails
' attribute.
|
inline |
Get a reference to the value of the 'visitTimeOnSiteDetails
' attribute.
|
inline |
Get the value of the 'webPropertyId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_analytics_api::Goal
|
inline |
Determine if the 'accountId
' attribute was set.
accountId
' attribute was set.
|
inline |
Determine if the 'active
' attribute was set.
active
' attribute was set.
|
inline |
Determine if the 'created
' attribute was set.
created
' attribute was set.
|
inline |
Determine if the 'eventDetails
' attribute was set.
eventDetails
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'internalWebPropertyId
' attribute was set.
internalWebPropertyId
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'parentLink
' attribute was set.
parentLink
' attribute was set.
|
inline |
Determine if the 'profileId
' attribute was set.
profileId
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'type
' attribute was set.
type
' attribute was set.
|
inline |
Determine if the 'updated
' attribute was set.
updated
' attribute was set.
|
inline |
Determine if the 'urlDestinationDetails
' attribute was set.
urlDestinationDetails
' attribute was set.
|
inline |
Determine if the 'value
' attribute was set.
value
' attribute was set.
|
inline |
Determine if the 'visitNumPagesDetails
' attribute was set.
visitNumPagesDetails
' attribute was set.
|
inline |
Determine if the 'visitTimeOnSiteDetails
' attribute was set.
visitTimeOnSiteDetails
' attribute was set.
|
inline |
Determine if the 'webPropertyId
' attribute was set.
webPropertyId
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'eventDetails
' property.
Details for the goal of the type EVENT.
|
inline |
Gets a reference to a mutable value of the 'parentLink
' property.
Parent link for a goal. Points to the view (profile) to which this goal belongs.
|
inline |
Gets a reference to a mutable value of the 'urlDestinationDetails
' property.
Details for the goal of the type URL_DESTINATION.
|
inline |
Gets a reference to a mutable value of the 'visitNumPagesDetails
' property.
Details for the goal of the type VISIT_NUM_PAGES.
|
inline |
Gets a reference to a mutable value of the 'visitTimeOnSiteDetails
' property.
Details for the goal of the type VISIT_TIME_ON_SITE.
|
static |
Creates a new default instance.
|
inline |
Change the 'accountId
' attribute.
Account ID to which this goal belongs.
[in] | value | The new value. |
|
inline |
Change the 'active
' attribute.
Determines whether this goal is active.
[in] | value | The new value. |
|
inline |
Change the 'created
' attribute.
Time this goal was created.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'internalWebPropertyId
' attribute.
Internal ID for the web property to which this goal belongs.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Resource type for an Analytics goal.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'profileId
' attribute.
View (Profile) ID to which this goal belongs.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
Link for this goal.
[in] | value | The new value. |
|
inline |
Change the 'type
' attribute.
Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
[in] | value | The new value. |
|
inline |
Change the 'updated
' attribute.
Time this goal was last modified.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'webPropertyId
' attribute.
Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
[in] | value | The new value. |