public sealed class Attribute.Types.AllowedValue : IMessage<Attribute.Types.AllowedValue>, IEquatable<Attribute.Types.AllowedValue>, IDeepCloneable<Attribute.Types.AllowedValue>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class Attribute.Types.AllowedValue.
The value that can be assigned to the attribute when the data type is
enum.
If provided, the same will be used. The service will throw an error if
the specified id is already used by another allowed value in the same
attribute resource.
If not provided, a system generated id derived from the display name
will be used. In this case, the service will handle conflict resolution
by adding a system generated suffix in case of duplicates.
This value should be 4-63 characters, and valid characters
are /[a-z][0-9]-/.
[[["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-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eAttribute.Types.AllowedValue\u003c/code\u003e is a class within the API hub v1 API, representing a value that can be assigned to an attribute when the data type is an enum.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to be used with the Google Protobuf library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAllowedValue\u003c/code\u003e objects have properties like \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, and \u003ccode\u003eId\u003c/code\u003e, used to define the characteristics of the allowed value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImmutable\u003c/code\u003e property determines if the allowed value can be modified or deleted, and it is only true for system-defined attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: one default constructor (\u003ccode\u003eAllowedValue()\u003c/code\u003e) and another that accepts an \u003ccode\u003eAttribute.Types.AllowedValue\u003c/code\u003e object as a parameter (\u003ccode\u003eAllowedValue(Attribute.Types.AllowedValue other)\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]