LocationPolicy class

Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).

Constructors

LocationPolicy({Map<String, LocationPolicyLocation>? locations, String? targetShape})
LocationPolicy.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
locations ↔ Map<String, LocationPolicyLocation>?
Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetShape ↔ String?
Strategy for distributing VMs across zones in a region. Possible string values are:
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