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\u003eThis document provides reference documentation for the \u003ccode\u003eBackend.Types.Preference\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, and the content lists multiple historical versions of the API, dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackend.Types.Preference\u003c/code\u003e enum defines three distinct values: \u003ccode\u003eDefault\u003c/code\u003e (no preference), \u003ccode\u003ePreferred\u003c/code\u003e (traffic prioritized to this backend), \u003ccode\u003eUndefinedPreference\u003c/code\u003e (enum field not set), and \u003ccode\u003eUnspecified\u003c/code\u003e (default value if not specified).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePreferred\u003c/code\u003e setting ensures that traffic is sent to the corresponding backend first, while \u003ccode\u003eDefault\u003c/code\u003e backends are utilized if capacity limits are reached.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e and assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e are provided for context.\u003c/p\u003e\n"]]],[],null,[]]