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

#include <truncate_log_context.h>

Inheritance diagram for google_sqladmin_api::TruncateLogContext:

Public Member Functions

 TruncateLogContext (const Json::Value &storage)
 
 TruncateLogContext (Json::Value *storage)
 
virtual ~TruncateLogContext ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_log_type () const
 
void clear_log_type ()
 
const StringPiece get_log_type () const
 
void set_log_type (const StringPiece &value)
 

Static Public Member Functions

static TruncateLogContextNew ()
 

Detailed Description

Database Instance truncate log context.

Constructor & Destructor Documentation

◆ TruncateLogContext() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~TruncateLogContext()

google_sqladmin_api::TruncateLogContext::~TruncateLogContext ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::TruncateLogContext

◆ 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()

TruncateLogContext * google_sqladmin_api::TruncateLogContext::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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