sqladmin  v1beta4
Public Member Functions | Static Public Member Functions | List of all members
google_sqladmin_api::BackupRun Class Reference

#include <backup_run.h>

Inheritance diagram for google_sqladmin_api::BackupRun:

Public Member Functions

 BackupRun (const Json::Value &storage)
 
 BackupRun (Json::Value *storage)
 
virtual ~BackupRun ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_end_time () const
 
void clear_end_time ()
 
client::DateTime get_end_time () const
 
void set_end_time (client::DateTime value)
 
bool has_enqueued_time () const
 
void clear_enqueued_time ()
 
client::DateTime get_enqueued_time () const
 
void set_enqueued_time (client::DateTime value)
 
bool has_error () const
 
void clear_error ()
 
const OperationError get_error () const
 
OperationError mutable_error ()
 
bool has_id () const
 
void clear_id ()
 
int64 get_id () const
 
void set_id (int64 value)
 
bool has_instance () const
 
void clear_instance ()
 
const StringPiece get_instance () const
 
void set_instance (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_location () const
 
void clear_location ()
 
const StringPiece get_location () const
 
void set_location (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_start_time () const
 
void clear_start_time ()
 
client::DateTime get_start_time () const
 
void set_start_time (client::DateTime value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 
bool has_window_start_time () const
 
void clear_window_start_time ()
 
client::DateTime get_window_start_time () const
 
void set_window_start_time (client::DateTime value)
 

Static Public Member Functions

static BackupRunNew ()
 

Detailed Description

A BackupRun resource.

Constructor & Destructor Documentation

◆ BackupRun() [1/2]

google_sqladmin_api::BackupRun::BackupRun ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ BackupRun() [2/2]

google_sqladmin_api::BackupRun::BackupRun ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~BackupRun()

google_sqladmin_api::BackupRun::~BackupRun ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_description()

void google_sqladmin_api::BackupRun::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_end_time()

void google_sqladmin_api::BackupRun::clear_end_time ( )
inline

Clears the 'endTime' attribute.

◆ clear_enqueued_time()

void google_sqladmin_api::BackupRun::clear_enqueued_time ( )
inline

Clears the 'enqueuedTime' attribute.

◆ clear_error()

void google_sqladmin_api::BackupRun::clear_error ( )
inline

Clears the 'error' attribute.

◆ clear_id()

void google_sqladmin_api::BackupRun::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_instance()

void google_sqladmin_api::BackupRun::clear_instance ( )
inline

Clears the 'instance' attribute.

◆ clear_kind()

void google_sqladmin_api::BackupRun::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_location()

void google_sqladmin_api::BackupRun::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_self_link()

void google_sqladmin_api::BackupRun::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_start_time()

void google_sqladmin_api::BackupRun::clear_start_time ( )
inline

Clears the 'startTime' attribute.

◆ clear_status()

void google_sqladmin_api::BackupRun::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_type()

void google_sqladmin_api::BackupRun::clear_type ( )
inline

Clears the 'type' attribute.

◆ clear_window_start_time()

void google_sqladmin_api::BackupRun::clear_window_start_time ( )
inline

Clears the 'windowStartTime' attribute.

◆ get_description()

const StringPiece google_sqladmin_api::BackupRun::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_end_time()

client::DateTime google_sqladmin_api::BackupRun::get_end_time ( ) const
inline

Get the value of the 'endTime' attribute.

◆ get_enqueued_time()

client::DateTime google_sqladmin_api::BackupRun::get_enqueued_time ( ) const
inline

Get the value of the 'enqueuedTime' attribute.

◆ get_error()

const OperationError google_sqladmin_api::BackupRun::get_error ( ) const

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

◆ get_id()

int64 google_sqladmin_api::BackupRun::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_instance()

const StringPiece google_sqladmin_api::BackupRun::get_instance ( ) const
inline

Get the value of the 'instance' attribute.

◆ get_kind()

const StringPiece google_sqladmin_api::BackupRun::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_location()

const StringPiece google_sqladmin_api::BackupRun::get_location ( ) const
inline

Get the value of the 'location' attribute.

◆ get_self_link()

const StringPiece google_sqladmin_api::BackupRun::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_start_time()

client::DateTime google_sqladmin_api::BackupRun::get_start_time ( ) const
inline

Get the value of the 'startTime' attribute.

◆ get_status()

const StringPiece google_sqladmin_api::BackupRun::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ get_type()

const StringPiece google_sqladmin_api::BackupRun::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ get_window_start_time()

client::DateTime google_sqladmin_api::BackupRun::get_window_start_time ( ) const
inline

Get the value of the 'windowStartTime' attribute.

◆ GetTypeName()

const StringPiece google_sqladmin_api::BackupRun::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::BackupRun

◆ has_description()

bool google_sqladmin_api::BackupRun::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_end_time()

bool google_sqladmin_api::BackupRun::has_end_time ( ) const
inline

Determine if the 'endTime' attribute was set.

Returns
true if the 'endTime' attribute was set.

◆ has_enqueued_time()

bool google_sqladmin_api::BackupRun::has_enqueued_time ( ) const
inline

Determine if the 'enqueuedTime' attribute was set.

Returns
true if the 'enqueuedTime' attribute was set.

◆ has_error()

bool google_sqladmin_api::BackupRun::has_error ( ) const
inline

Determine if the 'error' attribute was set.

Returns
true if the 'error' attribute was set.

◆ has_id()

bool google_sqladmin_api::BackupRun::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_instance()

bool google_sqladmin_api::BackupRun::has_instance ( ) const
inline

Determine if the 'instance' attribute was set.

Returns
true if the 'instance' attribute was set.

◆ has_kind()

bool google_sqladmin_api::BackupRun::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_location()

bool google_sqladmin_api::BackupRun::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_self_link()

bool google_sqladmin_api::BackupRun::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_start_time()

bool google_sqladmin_api::BackupRun::has_start_time ( ) const
inline

Determine if the 'startTime' attribute was set.

Returns
true if the 'startTime' attribute was set.

◆ has_status()

bool google_sqladmin_api::BackupRun::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_type()

bool google_sqladmin_api::BackupRun::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ has_window_start_time()

bool google_sqladmin_api::BackupRun::has_window_start_time ( ) const
inline

Determine if the 'windowStartTime' attribute was set.

Returns
true if the 'windowStartTime' attribute was set.

◆ mutable_error()

OperationError google_sqladmin_api::BackupRun::mutable_error ( )

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

Information about why the backup operation failed. This is only present if the run has the FAILED status.

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

◆ New()

BackupRun * google_sqladmin_api::BackupRun::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

void google_sqladmin_api::BackupRun::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

The description of this run, only applicable to on-demand backups.

Parameters
[in]valueThe new value.

◆ set_end_time()

void google_sqladmin_api::BackupRun::set_end_time ( client::DateTime  value)
inline

Change the 'endTime' attribute.

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Parameters
[in]valueThe new value.

◆ set_enqueued_time()

void google_sqladmin_api::BackupRun::set_enqueued_time ( client::DateTime  value)
inline

Change the 'enqueuedTime' attribute.

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Parameters
[in]valueThe new value.

◆ set_id()

void google_sqladmin_api::BackupRun::set_id ( int64  value)
inline

Change the 'id' attribute.

The identifier for this backup run. Unique only for a specific Cloud SQL instance.

Parameters
[in]valueThe new value.

◆ set_instance()

void google_sqladmin_api::BackupRun::set_instance ( const StringPiece &  value)
inline

Change the 'instance' attribute.

Name of the database instance.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_sqladmin_api::BackupRun::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always sql::backupRun.

Parameters
[in]valueThe new value.

◆ set_location()

void google_sqladmin_api::BackupRun::set_location ( const StringPiece &  value)
inline

Change the 'location' attribute.

The location of the backup.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_sqladmin_api::BackupRun::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

The URI of this resource.

Parameters
[in]valueThe new value.

◆ set_start_time()

void google_sqladmin_api::BackupRun::set_start_time ( client::DateTime  value)
inline

Change the 'startTime' attribute.

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Parameters
[in]valueThe new value.

◆ set_status()

void google_sqladmin_api::BackupRun::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

The status of this run.

Parameters
[in]valueThe new value.

◆ set_type()

void google_sqladmin_api::BackupRun::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The type of this run; can be either "AUTOMATED" or "ON_DEMAND".

Parameters
[in]valueThe new value.

◆ set_window_start_time()

void google_sqladmin_api::BackupRun::set_window_start_time ( client::DateTime  value)
inline

Change the 'windowStartTime' attribute.

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Parameters
[in]valueThe new value.

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