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

#include <database.h>

Inheritance diagram for google_sqladmin_api::Database:

Public Member Functions

 Database (const Json::Value &storage)
 
 Database (Json::Value *storage)
 
virtual ~Database ()
 
const StringPiece GetTypeName () const
 
bool has_charset () const
 
void clear_charset ()
 
const StringPiece get_charset () const
 
void set_charset (const StringPiece &value)
 
bool has_collation () const
 
void clear_collation ()
 
const StringPiece get_collation () const
 
void set_collation (const StringPiece &value)
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_instance () const
 
void clear_instance ()
 
const StringPiece get_instance () const
 
void set_instance (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_project () const
 
void clear_project ()
 
const StringPiece get_project () const
 
void set_project (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 

Static Public Member Functions

static DatabaseNew ()
 

Detailed Description

Represents a SQL database on the Cloud SQL instance.

Constructor & Destructor Documentation

◆ Database() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Database() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Database()

google_sqladmin_api::Database::~Database ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_charset()

void google_sqladmin_api::Database::clear_charset ( )
inline

Clears the 'charset' attribute.

◆ clear_collation()

void google_sqladmin_api::Database::clear_collation ( )
inline

Clears the 'collation' attribute.

◆ clear_etag()

void google_sqladmin_api::Database::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_instance()

void google_sqladmin_api::Database::clear_instance ( )
inline

Clears the 'instance' attribute.

◆ clear_kind()

void google_sqladmin_api::Database::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_sqladmin_api::Database::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_project()

void google_sqladmin_api::Database::clear_project ( )
inline

Clears the 'project' attribute.

◆ clear_self_link()

void google_sqladmin_api::Database::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_charset()

const StringPiece google_sqladmin_api::Database::get_charset ( ) const
inline

Get the value of the 'charset' attribute.

◆ get_collation()

const StringPiece google_sqladmin_api::Database::get_collation ( ) const
inline

Get the value of the 'collation' attribute.

◆ get_etag()

const StringPiece google_sqladmin_api::Database::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_instance()

const StringPiece google_sqladmin_api::Database::get_instance ( ) const
inline

Get the value of the 'instance' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_project()

const StringPiece google_sqladmin_api::Database::get_project ( ) const
inline

Get the value of the 'project' attribute.

◆ get_self_link()

const StringPiece google_sqladmin_api::Database::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::Database

◆ has_charset()

bool google_sqladmin_api::Database::has_charset ( ) const
inline

Determine if the 'charset' attribute was set.

Returns
true if the 'charset' attribute was set.

◆ has_collation()

bool google_sqladmin_api::Database::has_collation ( ) const
inline

Determine if the 'collation' attribute was set.

Returns
true if the 'collation' attribute was set.

◆ has_etag()

bool google_sqladmin_api::Database::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_instance()

bool google_sqladmin_api::Database::has_instance ( ) const
inline

Determine if the 'instance' attribute was set.

Returns
true if the 'instance' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

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

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_project()

bool google_sqladmin_api::Database::has_project ( ) const
inline

Determine if the 'project' attribute was set.

Returns
true if the 'project' attribute was set.

◆ has_self_link()

bool google_sqladmin_api::Database::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ New()

Database * google_sqladmin_api::Database::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_charset()

void google_sqladmin_api::Database::set_charset ( const StringPiece &  value)
inline

Change the 'charset' attribute.

The MySQL charset value.

Parameters
[in]valueThe new value.

◆ set_collation()

void google_sqladmin_api::Database::set_collation ( const StringPiece &  value)
inline

Change the 'collation' attribute.

The MySQL collation value.

Parameters
[in]valueThe new value.

◆ set_etag()

void google_sqladmin_api::Database::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

This field is deprecated and will be removed from a future version of the API.

Parameters
[in]valueThe new value.

◆ set_instance()

void google_sqladmin_api::Database::set_instance ( const StringPiece &  value)
inline

Change the 'instance' attribute.

The name of the Cloud SQL instance. This does not include the project ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always sql::database.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.

Parameters
[in]valueThe new value.

◆ set_project()

void google_sqladmin_api::Database::set_project ( const StringPiece &  value)
inline

Change the 'project' attribute.

The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_sqladmin_api::Database::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

The URI of this resource.

Parameters
[in]valueThe new value.

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