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

#include <tier.h>

Inheritance diagram for google_sqladmin_api::Tier:

Public Member Functions

 Tier (const Json::Value &storage)
 
 Tier (Json::Value *storage)
 
virtual ~Tier ()
 
const StringPiece GetTypeName () const
 
bool has_disk_quota () const
 
void clear_disk_quota ()
 
int64 get_disk_quota () const
 
void set_disk_quota (int64 value)
 
bool has_ram () const
 
void clear_ram ()
 
int64 get_ram () const
 
void set_ram (int64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_region () const
 
void clear_region ()
 
const client::JsonCppArray< string > get_region () const
 
client::JsonCppArray< string > mutable_region ()
 
bool has_tier () const
 
void clear_tier ()
 
const StringPiece get_tier () const
 
void set_tier (const StringPiece &value)
 

Static Public Member Functions

static TierNew ()
 

Detailed Description

A Google Cloud SQL service tier resource.

Constructor & Destructor Documentation

◆ Tier() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Tier() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Tier()

google_sqladmin_api::Tier::~Tier ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_disk_quota()

void google_sqladmin_api::Tier::clear_disk_quota ( )
inline

Clears the 'DiskQuota' attribute.

◆ clear_kind()

void google_sqladmin_api::Tier::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_ram()

void google_sqladmin_api::Tier::clear_ram ( )
inline

Clears the 'RAM' attribute.

◆ clear_region()

void google_sqladmin_api::Tier::clear_region ( )
inline

Clears the 'region' attribute.

◆ clear_tier()

void google_sqladmin_api::Tier::clear_tier ( )
inline

Clears the 'tier' attribute.

◆ get_disk_quota()

int64 google_sqladmin_api::Tier::get_disk_quota ( ) const
inline

Get the value of the 'DiskQuota' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_ram()

int64 google_sqladmin_api::Tier::get_ram ( ) const
inline

Get the value of the 'RAM' attribute.

◆ get_region()

const client::JsonCppArray<string > google_sqladmin_api::Tier::get_region ( ) const
inline

Get a reference to the value of the 'region' attribute.

◆ get_tier()

const StringPiece google_sqladmin_api::Tier::get_tier ( ) const
inline

Get the value of the 'tier' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::Tier

◆ has_disk_quota()

bool google_sqladmin_api::Tier::has_disk_quota ( ) const
inline

Determine if the 'DiskQuota' attribute was set.

Returns
true if the 'DiskQuota' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_ram()

bool google_sqladmin_api::Tier::has_ram ( ) const
inline

Determine if the 'RAM' attribute was set.

Returns
true if the 'RAM' attribute was set.

◆ has_region()

bool google_sqladmin_api::Tier::has_region ( ) const
inline

Determine if the 'region' attribute was set.

Returns
true if the 'region' attribute was set.

◆ has_tier()

bool google_sqladmin_api::Tier::has_tier ( ) const
inline

Determine if the 'tier' attribute was set.

Returns
true if the 'tier' attribute was set.

◆ mutable_region()

client::JsonCppArray<string > google_sqladmin_api::Tier::mutable_region ( )
inline

Gets a reference to a mutable value of the 'region' property.

The applicable regions for this tier.

Returns
The result can be modified to change the attribute value.

◆ New()

Tier * google_sqladmin_api::Tier::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_disk_quota()

void google_sqladmin_api::Tier::set_disk_quota ( int64  value)
inline

Change the 'DiskQuota' attribute.

The maximum disk size of this tier in bytes.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always sql::tier.

Parameters
[in]valueThe new value.

◆ set_ram()

void google_sqladmin_api::Tier::set_ram ( int64  value)
inline

Change the 'RAM' attribute.

The maximum RAM usage of this tier in bytes.

Parameters
[in]valueThe new value.

◆ set_tier()

void google_sqladmin_api::Tier::set_tier ( const StringPiece &  value)
inline

Change the 'tier' attribute.

An identifier for the machine type, for example, db-n1-standard-1. For related information, see Pricing.

Parameters
[in]valueThe new value.

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