ServiceLbPolicy class
ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.
Constructors
-
ServiceLbPolicy({ServiceLbPolicyAutoCapacityDrain? autoCapacityDrain, String? createTime, String? description, ServiceLbPolicyFailoverConfig? failoverConfig, Map<
String, String> ? labels, String? loadBalancingAlgorithm, String? name, String? updateTime}) - ServiceLbPolicy.fromJson(Map json_)
Properties
- autoCapacityDrain ↔ ServiceLbPolicyAutoCapacityDrain?
-
Configuration to automatically move traffic away for unhealthy IG/NEG for
the associated Backend Service.
getter/setter pair
- createTime ↔ String?
-
The timestamp when this resource was created.
getter/setter pair
- description ↔ String?
-
A free-text description of the resource.
getter/setter pair
- failoverConfig ↔ ServiceLbPolicyFailoverConfig?
-
Configuration related to health based failover.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Set of label tags associated with the ServiceLbPolicy resource.
getter/setter pair
- loadBalancingAlgorithm ↔ String?
-
The type of load balancing algorithm to be used.
getter/setter pair
- name ↔ String?
-
Name of the ServiceLbPolicy resource.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime ↔ String?
-
The timestamp when this resource was last updated.
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