public sealed class BackendServiceCustomMetric : IMessage<BackendServiceCustomMetric>, IEquatable<BackendServiceCustomMetric>, IDeepCloneable<BackendServiceCustomMetric>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class BackendServiceCustomMetric.
Custom Metrics are used for WEIGHTED_ROUND_ROBIN locality_lb_policy.
Name of a custom utilization signal. The name must be 1-64 characters long and match the regular expression a-z? which means that the first character must be a lowercase letter, and all following characters must be a dash, period, underscore, lowercase letter, or digit, except the last character, which cannot be a dash, period, or underscore. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
[[["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\u003eBackendServiceCustomMetric\u003c/code\u003e is 3.6.0, but versions ranging from 1.0.0 to 3.5.0 are also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceCustomMetric\u003c/code\u003e class is part of the Google.Cloud.Compute.V1 namespace within the Google.Cloud.Compute.V1.dll assembly, used within Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties like \u003ccode\u003eDryRun\u003c/code\u003e, \u003ccode\u003eHasDryRun\u003c/code\u003e, \u003ccode\u003eHasName\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e, providing functionality to check and set metric properties.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendServiceCustomMetric\u003c/code\u003e is designed for use with \u003ccode\u003eWEIGHTED_ROUND_ROBIN\u003c/code\u003e locality_lb_policy, supporting custom metrics for load balancing.\u003c/p\u003e\n"],["\u003cp\u003eThe name property is a string that must follow the regex [a-z][-_.a-z0-9]*[a-z0-9]? which must be 1-64 characters long.\u003c/p\u003e\n"]]],[],null,[]]