#include <clone_context.h>
Database instance clone context.
◆ CloneContext() [1/2]
| google_sqladmin_api::CloneContext::CloneContext |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~CloneContext()
| google_sqladmin_api::CloneContext::~CloneContext |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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()
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
-
◆ set_kind()
| void google_sqladmin_api::CloneContext::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::cloneContext.
- Parameters
-
◆ 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
-
The documentation for this class was generated from the following files: