Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Backend::Preference (v2.12.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Backend::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

Constants

UNDEFINED_PREFERENCE

value: 0
A value indicating that the enum field is not set.

DEFAULT

value: 115_302_945
No preference.

PREFERENCE_UNSPECIFIED

value: 496_219_571
If preference is unspecified, we set it to the DEFAULT value

PREFERRED

value: 418_847_841
Traffic will be sent to this backend first.