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\u003eThis documentation details the \u003ccode\u003eAttribute.Types.AllowedValue\u003c/code\u003e class within the Google Cloud API Hub v1, which represents a value that can be assigned to an attribute when the data type is an enum.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowedValue\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, providing standard object-oriented capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe class features properties like \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, and \u003ccode\u003eImmutable\u003c/code\u003e, which define the allowed value's details, display name, unique identifier, and whether it can be modified, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eId\u003c/code\u003e property requires a string between 4 and 63 characters and can be specified by the user or automatically generated by the system, and the \u003ccode\u003eImmutable\u003c/code\u003e property indicates if the value is fixed and cannot be updated.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor overloads provided for the class, one that takes no parameters and another that takes a single \u003ccode\u003eAttribute.Types.AllowedValue\u003c/code\u003e type parameter.\u003c/p\u003e\n"]]],[],null,[]]