Reference documentation and code samples for the Compute V1 Client class Preference.
This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference. The possible values are: - PREFERRED: Backends with this preference level will be filled up to their capacity limits first, based on RTT. - DEFAULT: If preferred backends don't have enough capacity, backends in this layer would be used and traffic would be assigned based on the load balancing algorithm you use. This is the default
Protobuf type google.cloud.compute.v1.Backend.Preference
Namespace
Google \ Cloud \ Compute \ V1 \ BackendMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNDEFINED_PREFERENCE
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_PREFERENCE = 0;
PBDEFAULT
Value: 115302945No preference.
Generated from protobuf enum DEFAULT = 115302945;
PREFERENCE_UNSPECIFIED
Value: 496219571If preference is unspecified, we set it to the DEFAULT value
Generated from protobuf enum PREFERENCE_UNSPECIFIED = 496219571;
PREFERRED
Value: 418847841Traffic will be sent to this backend first.
Generated from protobuf enum PREFERRED = 418847841;