public sealed class CreateApiRequest : IMessage<CreateApiRequest>, IEquatable<CreateApiRequest>, IDeepCloneable<CreateApiRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateApiRequest.
The [CreateApi][google.cloud.apihub.v1.ApiHub.CreateApi] 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\u003eThe \u003ccode\u003eCreateApiRequest\u003c/code\u003e class is part of the API hub v1 API and is used to structure requests for the \u003ccode\u003eCreateApi\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor and one that accepts another \u003ccode\u003eCreateApiRequest\u003c/code\u003e object for copying.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eApi\u003c/code\u003e (the API resource to be created), \u003ccode\u003eApiId\u003c/code\u003e (optional ID for the new API), \u003ccode\u003eParent\u003c/code\u003e (the parent resource location), and \u003ccode\u003eParentAsLocationName\u003c/code\u003e (a \u003ccode\u003eLocationName\u003c/code\u003e-typed view of the \u003ccode\u003eParent\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateApiRequest\u003c/code\u003e is for submitting the request for creating an api in the specified location, and the \u003ccode\u003eApi\u003c/code\u003e object is required for the creation to be successful.\u003c/p\u003e\n"]]],[],null,[]]