BackendServiceLocalityLbPolicyCustomPolicy class
Constructors
-
BackendServiceLocalityLbPolicyCustomPolicy({Input<
String?> ? data, required Input<String> name}) -
Creates a new BackendServiceLocalityLbPolicyCustomPolicy.
dataAn optional, arbitrary JSON object with configuration data, understoodnameIdentifies the custom policy.const -
BackendServiceLocalityLbPolicyCustomPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
data
→ Input<
String?> ? -
An optional, arbitrary JSON object with configuration data, understood
by a locally installed custom policy implementation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> -
Identifies the custom policy.
The value should match the type the custom implementation is registered
with on the gRPC clients. It should follow protocol buffer
message naming conventions and include the full path (e.g.
myorg.CustomLbPolicy). The maximum length is 256 characters.
Note that specifying the same custom policy more than once for a
backend is not a valid configuration and will be rejected.
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