analytics
v3
|
#include <account_ticket.h>
Public Member Functions | |
AccountTicket (const Json::Value &storage) | |
AccountTicket (Json::Value *storage) | |
virtual | ~AccountTicket () |
const StringPiece | GetTypeName () const |
bool | has_account () const |
void | clear_account () |
const Account | get_account () const |
Account | mutable_account () |
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_profile () const |
void | clear_profile () |
const Profile | get_profile () const |
Profile | mutable_profile () |
bool | has_redirect_uri () const |
void | clear_redirect_uri () |
const StringPiece | get_redirect_uri () const |
void | set_redirect_uri (const StringPiece &value) |
bool | has_webproperty () const |
void | clear_webproperty () |
const Webproperty | get_webproperty () const |
Webproperty | mutable_webproperty () |
Static Public Member Functions | |
static AccountTicket * | New () |
JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.
|
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 'account
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'profile
' attribute.
|
inline |
Clears the 'redirectUri
' attribute.
|
inline |
Clears the 'webproperty
' attribute.
const Account google_analytics_api::AccountTicket::get_account | ( | ) | const |
Get a reference to the value of the 'account
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const Profile google_analytics_api::AccountTicket::get_profile | ( | ) | const |
Get a reference to the value of the 'profile
' attribute.
|
inline |
Get the value of the 'redirectUri
' attribute.
const Webproperty google_analytics_api::AccountTicket::get_webproperty | ( | ) | const |
Get a reference to the value of the 'webproperty
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'account
' attribute was set.
account
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'profile
' attribute was set.
profile
' attribute was set.
|
inline |
Determine if the 'redirectUri
' attribute was set.
redirectUri
' attribute was set.
|
inline |
Determine if the 'webproperty
' attribute was set.
webproperty
' attribute was set. Account google_analytics_api::AccountTicket::mutable_account | ( | ) |
Gets a reference to a mutable value of the 'account
' property.
Account for this ticket.
Profile google_analytics_api::AccountTicket::mutable_profile | ( | ) |
Gets a reference to a mutable value of the 'profile
' property.
View (Profile) for the account.
Webproperty google_analytics_api::AccountTicket::mutable_webproperty | ( | ) |
Gets a reference to a mutable value of the 'webproperty
' property.
Web property for the account.
|
static |
Creates a new default instance.
|
inline |
Change the 'id
' attribute.
Account ticket ID used to access the account ticket.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Resource type for account ticket.
[in] | value | The new value. |
|
inline |
Change the 'redirectUri
' attribute.
Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.
[in] | value | The new value. |