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

#include <restore_backup_context.h>

Inheritance diagram for google_sqladmin_api::RestoreBackupContext:

Public Member Functions

 RestoreBackupContext (const Json::Value &storage)
 
 RestoreBackupContext (Json::Value *storage)
 
virtual ~RestoreBackupContext ()
 
const StringPiece GetTypeName () const
 
bool has_backup_run_id () const
 
void clear_backup_run_id ()
 
int64 get_backup_run_id () const
 
void set_backup_run_id (int64 value)
 
bool has_instance_id () const
 
void clear_instance_id ()
 
const StringPiece get_instance_id () const
 
void set_instance_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_project () const
 
void clear_project ()
 
const StringPiece get_project () const
 
void set_project (const StringPiece &value)
 

Static Public Member Functions

static RestoreBackupContextNew ()
 

Detailed Description

Database instance restore from backup context.

Constructor & Destructor Documentation

◆ RestoreBackupContext() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RestoreBackupContext() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RestoreBackupContext()

google_sqladmin_api::RestoreBackupContext::~RestoreBackupContext ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_backup_run_id()

void google_sqladmin_api::RestoreBackupContext::clear_backup_run_id ( )
inline

Clears the 'backupRunId' attribute.

◆ clear_instance_id()

void google_sqladmin_api::RestoreBackupContext::clear_instance_id ( )
inline

Clears the 'instanceId' attribute.

◆ clear_kind()

void google_sqladmin_api::RestoreBackupContext::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_project()

void google_sqladmin_api::RestoreBackupContext::clear_project ( )
inline

Clears the 'project' attribute.

◆ get_backup_run_id()

int64 google_sqladmin_api::RestoreBackupContext::get_backup_run_id ( ) const
inline

Get the value of the 'backupRunId' attribute.

◆ get_instance_id()

const StringPiece google_sqladmin_api::RestoreBackupContext::get_instance_id ( ) const
inline

Get the value of the 'instanceId' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_project()

const StringPiece google_sqladmin_api::RestoreBackupContext::get_project ( ) const
inline

Get the value of the 'project' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::RestoreBackupContext

◆ has_backup_run_id()

bool google_sqladmin_api::RestoreBackupContext::has_backup_run_id ( ) const
inline

Determine if the 'backupRunId' attribute was set.

Returns
true if the 'backupRunId' attribute was set.

◆ has_instance_id()

bool google_sqladmin_api::RestoreBackupContext::has_instance_id ( ) const
inline

Determine if the 'instanceId' attribute was set.

Returns
true if the 'instanceId' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_project()

bool google_sqladmin_api::RestoreBackupContext::has_project ( ) const
inline

Determine if the 'project' attribute was set.

Returns
true if the 'project' attribute was set.

◆ New()

RestoreBackupContext * google_sqladmin_api::RestoreBackupContext::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_backup_run_id()

void google_sqladmin_api::RestoreBackupContext::set_backup_run_id ( int64  value)
inline

Change the 'backupRunId' attribute.

The ID of the backup run to restore from.

Parameters
[in]valueThe new value.

◆ set_instance_id()

void google_sqladmin_api::RestoreBackupContext::set_instance_id ( const StringPiece &  value)
inline

Change the 'instanceId' attribute.

The ID of the instance that the backup was taken from.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always sql::restoreBackupContext.

Parameters
[in]valueThe new value.

◆ set_project()

void google_sqladmin_api::RestoreBackupContext::set_project ( const StringPiece &  value)
inline

Change the 'project' attribute.

The full project ID of the source instance.

Parameters
[in]valueThe new value.

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