public sealed class CreateSpecRequest : IMessage<CreateSpecRequest>, IEquatable<CreateSpecRequest>, IDeepCloneable<CreateSpecRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateSpecRequest.
The [CreateSpec][google.cloud.apihub.v1.ApiHub.CreateSpec] 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\u003eCreateSpecRequest\u003c/code\u003e class, which is used to create a new spec within the API hub v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSpecRequest\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, showcasing its compatibility with the .NET Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to specify the parent resource (\u003ccode\u003eParent\u003c/code\u003e or \u003ccode\u003eParentAsVersionName\u003c/code\u003e), the \u003ccode\u003eSpec\u003c/code\u003e to be created, and an optional \u003ccode\u003eSpecId\u003c/code\u003e for custom naming, offering both flexibility and control.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSpecRequest\u003c/code\u003e has two constructor options, allowing for the creation of a new instance or cloning from an existing one, ensuring the appropriate instantiation based on the scenario.\u003c/p\u003e\n"],["\u003cp\u003eThe provided information is specific to the \u003ccode\u003eGoogle.Cloud.ApiHub.V1\u003c/code\u003e namespace and it's associated assembly \u003ccode\u003eGoogle.Cloud.ApiHub.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]