|
sqladmin
v1beta4
|
#include <location_preference.h>
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 LocationPreference * | New () |
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.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'followGaeApplication' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'zone' attribute.
|
inline |
Get the value of the 'followGaeApplication' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'zone' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'followGaeApplication' attribute was set.
followGaeApplication' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'zone' attribute was set.
zone' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'followGaeApplication' attribute.
The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
This is always sql::locationPreference.
| [in] | value | The new value. |
|
inline |
Change the 'zone' attribute.
The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b, etc.).
| [in] | value | The new value. |