RRSetRoutingPolicyPrimaryBackupPolicy class
Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy.
And if all of them are unhealthy, then we fallback to a geo localized policy.
Constructors
- RRSetRoutingPolicyPrimaryBackupPolicy({RRSetRoutingPolicyGeoPolicy? backupGeoTargets, String? kind, RRSetRoutingPolicyHealthCheckTargets? primaryTargets, double? trickleTraffic})
- RRSetRoutingPolicyPrimaryBackupPolicy.fromJson(Map json_)
Properties
- backupGeoTargets ↔ RRSetRoutingPolicyGeoPolicy?
-
Backup targets provide a regional failover policy for the otherwise global
primary targets.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind ↔ String?
-
getter/setter pair
- primaryTargets ↔ RRSetRoutingPolicyHealthCheckTargets?
-
Endpoints that are health checked before making the routing decision.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trickleTraffic ↔ double?
-
When serving state is
PRIMARY
, this field provides the option of sending a small percentage of the traffic to the backup targets.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