LocationPreferenceResponse class
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.
Constructors
-
LocationPreferenceResponse({required Input<
String> followGaeApplication, required Input<String> kind, required Input<String> secondaryZone, required Input<String> zone}) -
Creates a new LocationPreferenceResponse.
followGaeApplicationThe App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.kindThis is alwayssql#locationPreference.secondaryZoneThe 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'.zoneThe preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.const -
LocationPreferenceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
followGaeApplication
→ Input<
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kind
→ Input<
String> -
This is always
sql#locationPreference.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryZone
→ Input<
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'.
final
-
zone
→ Input<
String> -
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited