#include <custom_metric.h>
JSON template for Analytics Custom Metric.
◆ CustomMetric() [1/2]
google_analytics_api::CustomMetric::CustomMetric |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ CustomMetric() [2/2]
google_analytics_api::CustomMetric::CustomMetric |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~CustomMetric()
google_analytics_api::CustomMetric::~CustomMetric |
( |
| ) |
|
|
virtual |
◆ clear_account_id()
void google_analytics_api::CustomMetric::clear_account_id |
( |
| ) |
|
|
inline |
Clears the 'accountId
' attribute.
◆ clear_active()
void google_analytics_api::CustomMetric::clear_active |
( |
| ) |
|
|
inline |
Clears the 'active
' attribute.
◆ clear_created()
void google_analytics_api::CustomMetric::clear_created |
( |
| ) |
|
|
inline |
Clears the 'created
' attribute.
◆ clear_id()
void google_analytics_api::CustomMetric::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_index()
void google_analytics_api::CustomMetric::clear_index |
( |
| ) |
|
|
inline |
Clears the 'index
' attribute.
◆ clear_kind()
void google_analytics_api::CustomMetric::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_max_value()
void google_analytics_api::CustomMetric::clear_max_value |
( |
| ) |
|
|
inline |
Clears the 'max_value
' attribute.
◆ clear_min_value()
void google_analytics_api::CustomMetric::clear_min_value |
( |
| ) |
|
|
inline |
Clears the 'min_value
' attribute.
◆ clear_name()
void google_analytics_api::CustomMetric::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_parent_link()
void google_analytics_api::CustomMetric::clear_parent_link |
( |
| ) |
|
|
inline |
Clears the 'parentLink
' attribute.
◆ clear_scope()
void google_analytics_api::CustomMetric::clear_scope |
( |
| ) |
|
|
inline |
Clears the 'scope
' attribute.
◆ clear_self_link()
void google_analytics_api::CustomMetric::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ clear_type()
void google_analytics_api::CustomMetric::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type
' attribute.
◆ clear_updated()
void google_analytics_api::CustomMetric::clear_updated |
( |
| ) |
|
|
inline |
Clears the 'updated
' attribute.
◆ clear_web_property_id()
void google_analytics_api::CustomMetric::clear_web_property_id |
( |
| ) |
|
|
inline |
Clears the 'webPropertyId
' attribute.
◆ get_account_id()
const StringPiece google_analytics_api::CustomMetric::get_account_id |
( |
| ) |
const |
|
inline |
Get the value of the 'accountId
' attribute.
◆ get_active()
bool google_analytics_api::CustomMetric::get_active |
( |
| ) |
const |
|
inline |
Get the value of the 'active
' attribute.
◆ get_created()
client::DateTime google_analytics_api::CustomMetric::get_created |
( |
| ) |
const |
|
inline |
Get the value of the 'created
' attribute.
◆ get_id()
const StringPiece google_analytics_api::CustomMetric::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_index()
int32 google_analytics_api::CustomMetric::get_index |
( |
| ) |
const |
|
inline |
Get the value of the 'index
' attribute.
◆ get_kind()
const StringPiece google_analytics_api::CustomMetric::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_max_value()
const StringPiece google_analytics_api::CustomMetric::get_max_value |
( |
| ) |
const |
|
inline |
Get the value of the 'max_value
' attribute.
◆ get_min_value()
const StringPiece google_analytics_api::CustomMetric::get_min_value |
( |
| ) |
const |
|
inline |
Get the value of the 'min_value
' attribute.
◆ get_name()
const StringPiece google_analytics_api::CustomMetric::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_parent_link()
Get a reference to the value of the 'parentLink
' attribute.
◆ get_scope()
const StringPiece google_analytics_api::CustomMetric::get_scope |
( |
| ) |
const |
|
inline |
Get the value of the 'scope
' attribute.
◆ get_self_link()
const StringPiece google_analytics_api::CustomMetric::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ get_type()
const StringPiece google_analytics_api::CustomMetric::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type
' attribute.
◆ get_updated()
client::DateTime google_analytics_api::CustomMetric::get_updated |
( |
| ) |
const |
|
inline |
Get the value of the 'updated
' attribute.
◆ get_web_property_id()
const StringPiece google_analytics_api::CustomMetric::get_web_property_id |
( |
| ) |
const |
|
inline |
Get the value of the 'webPropertyId
' attribute.
◆ GetTypeName()
const StringPiece google_analytics_api::CustomMetric::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_account_id()
bool google_analytics_api::CustomMetric::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::CustomMetric::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::CustomMetric::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::CustomMetric::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::CustomMetric::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::CustomMetric::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_max_value()
bool google_analytics_api::CustomMetric::has_max_value |
( |
| ) |
const |
|
inline |
Determine if the 'max_value
' attribute was set.
- Returns
- true if the '
max_value
' attribute was set.
◆ has_min_value()
bool google_analytics_api::CustomMetric::has_min_value |
( |
| ) |
const |
|
inline |
Determine if the 'min_value
' attribute was set.
- Returns
- true if the '
min_value
' attribute was set.
◆ has_name()
bool google_analytics_api::CustomMetric::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::CustomMetric::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::CustomMetric::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::CustomMetric::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ has_type()
bool google_analytics_api::CustomMetric::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type
' attribute was set.
- Returns
- true if the '
type
' attribute was set.
◆ has_updated()
bool google_analytics_api::CustomMetric::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::CustomMetric::has_web_property_id |
( |
| ) |
const |
|
inline |
Determine if the 'webPropertyId
' attribute was set.
- Returns
- true if the '
webPropertyId
' attribute was set.
◆ mutable_parentLink()
Gets a reference to a mutable value of the 'parentLink
' property.
Parent link for the custom metric. Points to the property to which the custom metric belongs.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_account_id()
void google_analytics_api::CustomMetric::set_account_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'accountId
' attribute.
Account ID.
- Parameters
-
◆ set_active()
void google_analytics_api::CustomMetric::set_active |
( |
bool |
value | ) |
|
|
inline |
Change the 'active
' attribute.
Boolean indicating whether the custom metric is active.
- Parameters
-
◆ set_created()
void google_analytics_api::CustomMetric::set_created |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'created
' attribute.
Time the custom metric was created.
- Parameters
-
◆ set_id()
void google_analytics_api::CustomMetric::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
Custom metric ID.
- Parameters
-
◆ set_index()
void google_analytics_api::CustomMetric::set_index |
( |
int32 |
value | ) |
|
|
inline |
Change the 'index
' attribute.
Index of the custom metric.
- Parameters
-
◆ set_kind()
void google_analytics_api::CustomMetric::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Kind value for a custom metric. Set to "analytics#customMetric". It is a read-only field.
- Parameters
-
◆ set_max_value()
void google_analytics_api::CustomMetric::set_max_value |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'max_value
' attribute.
Max value of custom metric.
- Parameters
-
◆ set_min_value()
void google_analytics_api::CustomMetric::set_min_value |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'min_value
' attribute.
Min value of custom metric.
- Parameters
-
◆ set_name()
void google_analytics_api::CustomMetric::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Name of the custom metric.
- Parameters
-
◆ set_scope()
void google_analytics_api::CustomMetric::set_scope |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'scope
' attribute.
Scope of the custom metric: HIT or PRODUCT.
- Parameters
-
◆ set_self_link()
void google_analytics_api::CustomMetric::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
Link for the custom metric.
- Parameters
-
◆ set_type()
void google_analytics_api::CustomMetric::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type
' attribute.
Data type of custom metric.
- Parameters
-
◆ set_updated()
void google_analytics_api::CustomMetric::set_updated |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'updated
' attribute.
Time the custom metric was last modified.
- Parameters
-
◆ set_web_property_id()
void google_analytics_api::CustomMetric::set_web_property_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'webPropertyId
' attribute.
Property ID.
- Parameters
-
The documentation for this class was generated from the following files: