class Google::Apis::SqladminV1beta4::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.
Attributes
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. Corresponds to the JSON property `followGaeApplication` @return [String]
This is always `sql#locationPreference`. Corresponds to the JSON property `kind` @return [String]
The preferred Compute Engine zone for the secondary/failover (for example: us- central1-a, us-central1-b, etc.). Corresponds to the JSON property `secondaryZone` @return [String]
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance. Corresponds to the JSON property `zone` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2095 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2100 def update!(**args) @follow_gae_application = args[:follow_gae_application] if args.key?(:follow_gae_application) @kind = args[:kind] if args.key?(:kind) @secondary_zone = args[:secondary_zone] if args.key?(:secondary_zone) @zone = args[:zone] if args.key?(:zone) end