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

#include <clone_context.h>

Inheritance diagram for google_sqladmin_api::CloneContext:

Public Member Functions

 CloneContext (const Json::Value &storage)
 
 CloneContext (Json::Value *storage)
 
virtual ~CloneContext ()
 
const StringPiece GetTypeName () const
 
bool has_bin_log_coordinates () const
 
void clear_bin_log_coordinates ()
 
const BinLogCoordinates get_bin_log_coordinates () const
 
BinLogCoordinates mutable_binLogCoordinates ()
 
bool has_destination_instance_name () const
 
void clear_destination_instance_name ()
 
const StringPiece get_destination_instance_name () const
 
void set_destination_instance_name (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_pitr_timestamp_ms () const
 
void clear_pitr_timestamp_ms ()
 
int64 get_pitr_timestamp_ms () const
 
void set_pitr_timestamp_ms (int64 value)
 

Static Public Member Functions

static CloneContextNew ()
 

Detailed Description

Database instance clone context.

Constructor & Destructor Documentation

◆ CloneContext() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CloneContext() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CloneContext()

google_sqladmin_api::CloneContext::~CloneContext ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bin_log_coordinates()

void google_sqladmin_api::CloneContext::clear_bin_log_coordinates ( )
inline

Clears the 'binLogCoordinates' attribute.

◆ clear_destination_instance_name()

void google_sqladmin_api::CloneContext::clear_destination_instance_name ( )
inline

Clears the 'destinationInstanceName' attribute.

◆ clear_kind()

void google_sqladmin_api::CloneContext::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_pitr_timestamp_ms()

void google_sqladmin_api::CloneContext::clear_pitr_timestamp_ms ( )
inline

Clears the 'pitrTimestampMs' attribute.

◆ get_bin_log_coordinates()

const BinLogCoordinates google_sqladmin_api::CloneContext::get_bin_log_coordinates ( ) const

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

◆ get_destination_instance_name()

const StringPiece google_sqladmin_api::CloneContext::get_destination_instance_name ( ) const
inline

Get the value of the 'destinationInstanceName' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_pitr_timestamp_ms()

int64 google_sqladmin_api::CloneContext::get_pitr_timestamp_ms ( ) const
inline

Get the value of the 'pitrTimestampMs' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::CloneContext

◆ has_bin_log_coordinates()

bool google_sqladmin_api::CloneContext::has_bin_log_coordinates ( ) const
inline

Determine if the 'binLogCoordinates' attribute was set.

Returns
true if the 'binLogCoordinates' attribute was set.

◆ has_destination_instance_name()

bool google_sqladmin_api::CloneContext::has_destination_instance_name ( ) const
inline

Determine if the 'destinationInstanceName' attribute was set.

Returns
true if the 'destinationInstanceName' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_pitr_timestamp_ms()

bool google_sqladmin_api::CloneContext::has_pitr_timestamp_ms ( ) const
inline

Determine if the 'pitrTimestampMs' attribute was set.

Returns
true if the 'pitrTimestampMs' attribute was set.

◆ mutable_binLogCoordinates()

BinLogCoordinates google_sqladmin_api::CloneContext::mutable_binLogCoordinates ( )

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

Binary log coordinates, if specified, identify the position up to which the source instance should be cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates.

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

◆ New()

CloneContext * google_sqladmin_api::CloneContext::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_destination_instance_name()

void google_sqladmin_api::CloneContext::set_destination_instance_name ( const StringPiece &  value)
inline

Change the 'destinationInstanceName' attribute.

Name of the Cloud SQL instance to be created as a clone.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always sql::cloneContext.

Parameters
[in]valueThe new value.

◆ set_pitr_timestamp_ms()

void google_sqladmin_api::CloneContext::set_pitr_timestamp_ms ( int64  value)
inline

Change the 'pitrTimestampMs' attribute.

Reserved for future use.

Parameters
[in]valueThe new value.

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