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

#include <location_preference.h>

Inheritance diagram for google_sqladmin_api::LocationPreference:

Public Member Functions

 LocationPreference (const Json::Value &storage)
 
 LocationPreference (Json::Value *storage)
 
virtual ~LocationPreference ()
 
const StringPiece GetTypeName () const
 
bool has_follow_gae_application () const
 
void clear_follow_gae_application ()
 
const StringPiece get_follow_gae_application () const
 
void set_follow_gae_application (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_zone () const
 
void clear_zone ()
 
const StringPiece get_zone () const
 
void set_zone (const StringPiece &value)
 

Static Public Member Functions

static LocationPreferenceNew ()
 

Detailed Description

Preferred location. This specifies where a Cloud SQL instance should preferably be located, either in a specific Compute Engine zone, or co- located with an App Engine application. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.

Constructor & Destructor Documentation

◆ LocationPreference() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LocationPreference() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LocationPreference()

google_sqladmin_api::LocationPreference::~LocationPreference ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_follow_gae_application()

void google_sqladmin_api::LocationPreference::clear_follow_gae_application ( )
inline

Clears the 'followGaeApplication' attribute.

◆ clear_kind()

void google_sqladmin_api::LocationPreference::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_zone()

void google_sqladmin_api::LocationPreference::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_follow_gae_application()

const StringPiece google_sqladmin_api::LocationPreference::get_follow_gae_application ( ) const
inline

Get the value of the 'followGaeApplication' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_zone()

const StringPiece google_sqladmin_api::LocationPreference::get_zone ( ) const
inline

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::LocationPreference

◆ has_follow_gae_application()

bool google_sqladmin_api::LocationPreference::has_follow_gae_application ( ) const
inline

Determine if the 'followGaeApplication' attribute was set.

Returns
true if the 'followGaeApplication' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_zone()

bool google_sqladmin_api::LocationPreference::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ New()

LocationPreference * google_sqladmin_api::LocationPreference::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_follow_gae_application()

void google_sqladmin_api::LocationPreference::set_follow_gae_application ( const StringPiece &  value)
inline

Change the 'followGaeApplication' attribute.

The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

This is always sql::locationPreference.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_sqladmin_api::LocationPreference::set_zone ( const StringPiece &  value)
inline

Change the 'zone' attribute.

The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b, etc.).

Parameters
[in]valueThe new value.

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