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

#include <backup_configuration.h>

Inheritance diagram for google_sqladmin_api::BackupConfiguration:

Public Member Functions

 BackupConfiguration (const Json::Value &storage)
 
 BackupConfiguration (Json::Value *storage)
 
virtual ~BackupConfiguration ()
 
const StringPiece GetTypeName () const
 
bool has_binary_log_enabled () const
 
void clear_binary_log_enabled ()
 
bool get_binary_log_enabled () const
 
void set_binary_log_enabled (bool value)
 
bool has_enabled () const
 
void clear_enabled ()
 
bool get_enabled () const
 
void set_enabled (bool 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_replication_log_archiving_enabled () const
 
void clear_replication_log_archiving_enabled ()
 
bool get_replication_log_archiving_enabled () const
 
void set_replication_log_archiving_enabled (bool value)
 
bool has_start_time () const
 
void clear_start_time ()
 
const StringPiece get_start_time () const
 
void set_start_time (const StringPiece &value)
 

Static Public Member Functions

static BackupConfigurationNew ()
 

Detailed Description

Database instance backup configuration.

Constructor & Destructor Documentation

◆ BackupConfiguration() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ BackupConfiguration() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~BackupConfiguration()

google_sqladmin_api::BackupConfiguration::~BackupConfiguration ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_binary_log_enabled()

void google_sqladmin_api::BackupConfiguration::clear_binary_log_enabled ( )
inline

Clears the 'binaryLogEnabled' attribute.

◆ clear_enabled()

void google_sqladmin_api::BackupConfiguration::clear_enabled ( )
inline

Clears the 'enabled' attribute.

◆ clear_kind()

void google_sqladmin_api::BackupConfiguration::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_location()

void google_sqladmin_api::BackupConfiguration::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_replication_log_archiving_enabled()

void google_sqladmin_api::BackupConfiguration::clear_replication_log_archiving_enabled ( )
inline

Clears the 'replicationLogArchivingEnabled' attribute.

◆ clear_start_time()

void google_sqladmin_api::BackupConfiguration::clear_start_time ( )
inline

Clears the 'startTime' attribute.

◆ get_binary_log_enabled()

bool google_sqladmin_api::BackupConfiguration::get_binary_log_enabled ( ) const
inline

Get the value of the 'binaryLogEnabled' attribute.

◆ get_enabled()

bool google_sqladmin_api::BackupConfiguration::get_enabled ( ) const
inline

Get the value of the 'enabled' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_location()

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

Get the value of the 'location' attribute.

◆ get_replication_log_archiving_enabled()

bool google_sqladmin_api::BackupConfiguration::get_replication_log_archiving_enabled ( ) const
inline

Get the value of the 'replicationLogArchivingEnabled' attribute.

◆ get_start_time()

const StringPiece google_sqladmin_api::BackupConfiguration::get_start_time ( ) const
inline

Get the value of the 'startTime' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::BackupConfiguration

◆ has_binary_log_enabled()

bool google_sqladmin_api::BackupConfiguration::has_binary_log_enabled ( ) const
inline

Determine if the 'binaryLogEnabled' attribute was set.

Returns
true if the 'binaryLogEnabled' attribute was set.

◆ has_enabled()

bool google_sqladmin_api::BackupConfiguration::has_enabled ( ) const
inline

Determine if the 'enabled' attribute was set.

Returns
true if the 'enabled' attribute was set.

◆ has_kind()

bool google_sqladmin_api::BackupConfiguration::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::BackupConfiguration::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_replication_log_archiving_enabled()

bool google_sqladmin_api::BackupConfiguration::has_replication_log_archiving_enabled ( ) const
inline

Determine if the 'replicationLogArchivingEnabled' attribute was set.

Returns
true if the 'replicationLogArchivingEnabled' attribute was set.

◆ has_start_time()

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

Determine if the 'startTime' attribute was set.

Returns
true if the 'startTime' attribute was set.

◆ New()

BackupConfiguration * google_sqladmin_api::BackupConfiguration::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_binary_log_enabled()

void google_sqladmin_api::BackupConfiguration::set_binary_log_enabled ( bool  value)
inline

Change the 'binaryLogEnabled' attribute.

Whether binary log is enabled. If backup configuration is disabled, binary log must be disabled as well.

Parameters
[in]valueThe new value.

◆ set_enabled()

void google_sqladmin_api::BackupConfiguration::set_enabled ( bool  value)
inline

Change the 'enabled' attribute.

Whether this configuration is enabled.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always sql::backupConfiguration.

Parameters
[in]valueThe new value.

◆ set_location()

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

Change the 'location' attribute.

The location of the backup.

Parameters
[in]valueThe new value.

◆ set_replication_log_archiving_enabled()

void google_sqladmin_api::BackupConfiguration::set_replication_log_archiving_enabled ( bool  value)
inline

Change the 'replicationLogArchivingEnabled' attribute.

Reserved for future use.

Parameters
[in]valueThe new value.

◆ set_start_time()

void google_sqladmin_api::BackupConfiguration::set_start_time ( const StringPiece &  value)
inline

Change the 'startTime' attribute.

Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.

Parameters
[in]valueThe new value.

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