BackendServiceLocalityLbPolicy class
Constructors
-
BackendServiceLocalityLbPolicy({Input<
BackendServiceLocalityLbPolicyCustomPolicy?> ? customPolicy, Input<BackendServiceLocalityLbPolicyPolicy?> ? policy}) -
Creates a new BackendServiceLocalityLbPolicy.
customPolicyThe configuration for a custom policy implemented by the user andpolicyThe configuration for a built-in load balancing policy.const -
BackendServiceLocalityLbPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
customPolicy
→ Input<
BackendServiceLocalityLbPolicyCustomPolicy?> ? -
The configuration for a custom policy implemented by the user and
deployed with the client.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policy
→ Input<
BackendServiceLocalityLbPolicyPolicy?> ? -
The configuration for a built-in load balancing policy.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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