Reference documentation and code samples for the Compute Engine v1 API enum Backend.Types.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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eGoogle.Cloud.Compute.V1.Backend.Types.Preference\u003c/code\u003e is 3.6.0, with a comprehensive list of prior versions starting from 1.0.0 also provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackend.Types.Preference\u003c/code\u003e enum offers three distinct field options: \u003ccode\u003eDefault\u003c/code\u003e (no preference), \u003ccode\u003ePreferred\u003c/code\u003e (traffic directed first), \u003ccode\u003eUndefinedPreference\u003c/code\u003e (enum field not set), and \u003ccode\u003eUnspecified\u003c/code\u003e (default value).\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eBackend.Types.Preference\u003c/code\u003e allows for configuration on how traffic is directed to backends, using two key settings: PREFERRED (fill up backends first) and DEFAULT (use if preferred backends lack capacity), which is also the default setting.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this API is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and it is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]