public sealed class CreateAttributeRequest : IMessage<CreateAttributeRequest>, IEquatable<CreateAttributeRequest>, IDeepCloneable<CreateAttributeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateAttributeRequest.
The [CreateAttribute][google.cloud.apihub.v1.ApiHub.CreateAttribute] method's
request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eCreateAttributeRequest\u003c/code\u003e class within the Google Cloud API Hub V1, version 1.0.0, used for creating attribute resources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateAttributeRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateAttributeRequest\u003c/code\u003e includes properties like \u003ccode\u003eAttribute\u003c/code\u003e (the attribute to be created), \u003ccode\u003eAttributeId\u003c/code\u003e (an optional ID for the attribute), and \u003ccode\u003eParent\u003c/code\u003e (the required parent resource for the attribute).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttributeId\u003c/code\u003e property allows users to specify a custom ID for the new attribute, with constraints on length and valid characters, otherwise a system-generated id will be provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property takes a resource path in the format \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e as a string, or a typed \u003ccode\u003eLocationName\u003c/code\u003e as an alternative.\u003c/p\u003e\n"]]],[],null,[]]