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

#include <database_flags.h>

Inheritance diagram for google_sqladmin_api::DatabaseFlags:

Public Member Functions

 DatabaseFlags (const Json::Value &storage)
 
 DatabaseFlags (Json::Value *storage)
 
virtual ~DatabaseFlags ()
 
const StringPiece GetTypeName () const
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const StringPiece get_value () const
 
void set_value (const StringPiece &value)
 

Static Public Member Functions

static DatabaseFlagsNew ()
 

Detailed Description

Database flags for Cloud SQL instances.

Constructor & Destructor Documentation

◆ DatabaseFlags() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DatabaseFlags() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DatabaseFlags()

google_sqladmin_api::DatabaseFlags::~DatabaseFlags ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_name()

void google_sqladmin_api::DatabaseFlags::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_value()

void google_sqladmin_api::DatabaseFlags::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_name()

const StringPiece google_sqladmin_api::DatabaseFlags::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_value()

const StringPiece google_sqladmin_api::DatabaseFlags::get_value ( ) const
inline

Get the value of the 'value' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::DatabaseFlags

◆ has_name()

bool google_sqladmin_api::DatabaseFlags::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_value()

bool google_sqladmin_api::DatabaseFlags::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ New()

DatabaseFlags * google_sqladmin_api::DatabaseFlags::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_name()

void google_sqladmin_api::DatabaseFlags::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags should be specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.

Parameters
[in]valueThe new value.

◆ set_value()

void google_sqladmin_api::DatabaseFlags::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

The value of the flag. Booleans should be set to on for true and off for false. This field must be omitted if the flag doesn't take a value.

Parameters
[in]valueThe new value.

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