#include <truncate_log_context.h>
Database Instance truncate log context.
◆ TruncateLogContext() [1/2]
| google_sqladmin_api::TruncateLogContext::TruncateLogContext |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ TruncateLogContext() [2/2]
| google_sqladmin_api::TruncateLogContext::TruncateLogContext |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~TruncateLogContext()
| google_sqladmin_api::TruncateLogContext::~TruncateLogContext |
( |
| ) |
|
|
virtual |
◆ clear_kind()
| void google_sqladmin_api::TruncateLogContext::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_log_type()
| void google_sqladmin_api::TruncateLogContext::clear_log_type |
( |
| ) |
|
|
inline |
Clears the 'logType' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::TruncateLogContext::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_log_type()
| const StringPiece google_sqladmin_api::TruncateLogContext::get_log_type |
( |
| ) |
const |
|
inline |
Get the value of the 'logType' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::TruncateLogContext::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_kind()
| bool google_sqladmin_api::TruncateLogContext::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_log_type()
| bool google_sqladmin_api::TruncateLogContext::has_log_type |
( |
| ) |
const |
|
inline |
Determine if the 'logType' attribute was set.
- Returns
- true if the '
logType' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_kind()
| void google_sqladmin_api::TruncateLogContext::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::truncateLogContext.
- Parameters
-
◆ set_log_type()
| void google_sqladmin_api::TruncateLogContext::set_log_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'logType' attribute.
The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.
- Parameters
-
The documentation for this class was generated from the following files: