Subsetting class
Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.
Constructors
-
Subsetting({Input<
SubsettingPolicy> ? policy, Input<int> ? subsetSize}) -
Creates a new Subsetting.
policyOptional.subsetSizeThe number of backends per backend group assigned to each proxy instance or each service mesh client. An input parameter to theCONSISTENT_HASH_SUBSETTINGalgorithm. Can only be set ifpolicyis set toCONSISTENT_HASH_SUBSETTING. Can only be set if load balancing scheme isINTERNAL_MANAGEDorINTERNAL_SELF_MANAGED.subset_sizeis optional for Internal HTTP(S) load balancing and required for Traffic Director. If you do not provide this value, Cloud Load Balancing will calculate it dynamically to optimize the number of proxies/clients visible to each backend and vice versa. Must be greater than 0. Ifsubset_sizeis larger than the number of backends/endpoints, then subsetting is disabled.const -
Subsetting.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policy
→ Input<
SubsettingPolicy> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subsetSize
→ Input<
int> ? -
The number of backends per backend group assigned to each proxy instance or each service mesh client. An input parameter to the
CONSISTENT_HASH_SUBSETTINGalgorithm. Can only be set ifpolicyis set toCONSISTENT_HASH_SUBSETTING. Can only be set if load balancing scheme isINTERNAL_MANAGEDorINTERNAL_SELF_MANAGED.subset_sizeis optional for Internal HTTP(S) load balancing and required for Traffic Director. If you do not provide this value, Cloud Load Balancing will calculate it dynamically to optimize the number of proxies/clients visible to each backend and vice versa. Must be greater than 0. Ifsubset_sizeis larger than the number of backends/endpoints, then subsetting is disabled.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