class Google::Apis::SqladminV1beta4::LocationPreference
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.
Attributes
The AppEngine application to follow, it must be in the same region as the Cloud SQL 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 (e.g. us-centra1-a, us-central1-b, etc.). Corresponds to the JSON property `zone` @return [String]
Public Class Methods
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1111 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1116 def update!(**args) @follow_gae_application = args[:follow_gae_application] if args.key?(:follow_gae_application) @kind = args[:kind] if args.key?(:kind) @zone = args[:zone] if args.key?(:zone) end