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 history of versions going back to 1.0.0, each linked to its corresponding documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackend.Types.Preference\u003c/code\u003e is an enum within the Compute Engine v1 API used to determine how traffic is directed to backends, specifically within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, and is used within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eBackend.Types.Preference\u003c/code\u003e offers three specific fields: \u003ccode\u003eDefault\u003c/code\u003e, indicating no preference; \u003ccode\u003ePreferred\u003c/code\u003e, directing traffic to a specific backend first; and \u003ccode\u003eUndefinedPreference\u003c/code\u003e, indicating that the enum field isn't set.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an \u003ccode\u003eUnspecified\u003c/code\u003e field, which when set will default to the \u003ccode\u003eDefault\u003c/code\u003e value, and that will indicate traffic will be sent to backends based on the load balancing algorithm.\u003c/p\u003e\n"]]],[],null,[]]