LocationPreference class

Preferred location.

This specifies where a Cloud SQL instance is 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.

Constructors

LocationPreference({String? followGaeApplication, String? kind, String? secondaryZone, String? zone})
LocationPreference.fromJson(Map _json)

Properties

followGaeApplication String?
The App Engine application to follow, it must be in the same region as the Cloud SQL instance.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
This is always sql#locationPreference.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryZone String?
The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
getter/setter pair
zone String?
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.).
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited