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

#include <upload.h>

Inheritance diagram for google_analytics_api::Upload:

Public Member Functions

 Upload (const Json::Value &storage)
 
 Upload (Json::Value *storage)
 
virtual ~Upload ()
 
const StringPiece GetTypeName () const
 
bool has_account_id () const
 
void clear_account_id ()
 
int64 get_account_id () const
 
void set_account_id (int64 value)
 
bool has_custom_data_source_id () const
 
void clear_custom_data_source_id ()
 
const StringPiece get_custom_data_source_id () const
 
void set_custom_data_source_id (const StringPiece &value)
 
bool has_errors () const
 
void clear_errors ()
 
const client::JsonCppArray< string > get_errors () const
 
client::JsonCppArray< string > mutable_errors ()
 
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_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_upload_time () const
 
void clear_upload_time ()
 
client::DateTime get_upload_time () const
 
void set_upload_time (client::DateTime value)
 

Static Public Member Functions

static UploadNew ()
 

Detailed Description

Metadata returned for an upload operation.

Constructor & Destructor Documentation

◆ Upload() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Upload() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Upload()

google_analytics_api::Upload::~Upload ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_account_id()

void google_analytics_api::Upload::clear_account_id ( )
inline

Clears the 'accountId' attribute.

◆ clear_custom_data_source_id()

void google_analytics_api::Upload::clear_custom_data_source_id ( )
inline

Clears the 'customDataSourceId' attribute.

◆ clear_errors()

void google_analytics_api::Upload::clear_errors ( )
inline

Clears the 'errors' attribute.

◆ clear_id()

void google_analytics_api::Upload::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::Upload::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_status()

void google_analytics_api::Upload::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_upload_time()

void google_analytics_api::Upload::clear_upload_time ( )
inline

Clears the 'uploadTime' attribute.

◆ get_account_id()

int64 google_analytics_api::Upload::get_account_id ( ) const
inline

Get the value of the 'accountId' attribute.

◆ get_custom_data_source_id()

const StringPiece google_analytics_api::Upload::get_custom_data_source_id ( ) const
inline

Get the value of the 'customDataSourceId' attribute.

◆ get_errors()

const client::JsonCppArray<string > google_analytics_api::Upload::get_errors ( ) const
inline

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

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_status()

const StringPiece google_analytics_api::Upload::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ get_upload_time()

client::DateTime google_analytics_api::Upload::get_upload_time ( ) const
inline

Get the value of the 'uploadTime' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::Upload

◆ has_account_id()

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

Determine if the 'accountId' attribute was set.

Returns
true if the 'accountId' attribute was set.

◆ has_custom_data_source_id()

bool google_analytics_api::Upload::has_custom_data_source_id ( ) const
inline

Determine if the 'customDataSourceId' attribute was set.

Returns
true if the 'customDataSourceId' attribute was set.

◆ has_errors()

bool google_analytics_api::Upload::has_errors ( ) const
inline

Determine if the 'errors' attribute was set.

Returns
true if the 'errors' attribute was set.

◆ has_id()

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

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_status()

bool google_analytics_api::Upload::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_upload_time()

bool google_analytics_api::Upload::has_upload_time ( ) const
inline

Determine if the 'uploadTime' attribute was set.

Returns
true if the 'uploadTime' attribute was set.

◆ mutable_errors()

client::JsonCppArray<string > google_analytics_api::Upload::mutable_errors ( )
inline

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

Data import errors collection.

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

◆ New()

Upload * google_analytics_api::Upload::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_account_id()

void google_analytics_api::Upload::set_account_id ( int64  value)
inline

Change the 'accountId' attribute.

Account Id to which this upload belongs.

Parameters
[in]valueThe new value.

◆ set_custom_data_source_id()

void google_analytics_api::Upload::set_custom_data_source_id ( const StringPiece &  value)
inline

Change the 'customDataSourceId' attribute.

Custom data source Id to which this data import belongs.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

A unique ID for this upload.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for Analytics upload.

Parameters
[in]valueThe new value.

◆ set_status()

void google_analytics_api::Upload::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.

Parameters
[in]valueThe new value.

◆ set_upload_time()

void google_analytics_api::Upload::set_upload_time ( client::DateTime  value)
inline

Change the 'uploadTime' attribute.

Time this file is uploaded.

Parameters
[in]valueThe new value.

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