GetServiceLbPolicyResult class
Result data returned by getServiceLbPolicy.
Constructors
-
GetServiceLbPolicyResult({required ServiceLbPolicyAutoCapacityDrainResponse autoCapacityDrain, required String createTime, required String description, required ServiceLbPolicyFailoverConfigResponse failoverConfig, required Map<
String, String> labels, required String loadBalancingAlgorithm, required String name, required String updateTime}) -
Creates a new GetServiceLbPolicyResult.
autoCapacityDrainOptional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.createTimeThe timestamp when this resource was created.descriptionOptional. A free-text description of the resource. Max length 1024 characters.failoverConfigOptional. Configuration related to health based failover.labelsOptional. Set of label tags associated with the ServiceLbPolicy resource.loadBalancingAlgorithmOptional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.nameName of the ServiceLbPolicy resource. It matches patternprojects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.updateTimeThe timestamp when this resource was last updated.const -
GetServiceLbPolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- autoCapacityDrain → ServiceLbPolicyAutoCapacityDrainResponse
-
Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
final
- createTime → String
-
The timestamp when this resource was created.
final
- description → String
-
Optional. A free-text description of the resource. Max length 1024 characters.
final
- failoverConfig → ServiceLbPolicyFailoverConfigResponse
-
Optional. Configuration related to health based failover.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. Set of label tags associated with the ServiceLbPolicy resource.
final
- loadBalancingAlgorithm → String
-
Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
final
- name → String
-
Name of the ServiceLbPolicy resource. It matches pattern
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → String
-
The timestamp when this resource was last updated.
final
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