Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::LocationPreference.
Preferred location. This specifies where a Cloud SQL instance is located. 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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#follow_gae_application
def follow_gae_application() -> ::String
Returns
- (::String) — The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
#follow_gae_application=
def follow_gae_application=(value) -> ::String
Parameter
- value (::String) — The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
Returns
- (::String) — The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#locationPreference.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#locationPreference.
Returns
-
(::String) — This is always
sql#locationPreference.
#secondary_zone
def secondary_zone() -> ::String
Returns
- (::String) — The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.
#secondary_zone=
def secondary_zone=(value) -> ::String
Parameter
- value (::String) — The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.
Returns
- (::String) — The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.
#zone
def zone() -> ::String
Returns
- (::String) — The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
Returns
- (::String) — The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.