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"]],[["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 document provides reference information for the \u003ccode\u003eCreateApiRequest\u003c/code\u003e class within the Google Cloud API Hub v1, specifically version 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateApiRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eCreateApi\u003c/code\u003e method, implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for defining the API (\u003ccode\u003eApi\u003c/code\u003e), the API's ID (\u003ccode\u003eApiId\u003c/code\u003e), the parent resource location (\u003ccode\u003eParent\u003c/code\u003e), and a typed view of the parent resource as a \u003ccode\u003eLocationName\u003c/code\u003e (\u003ccode\u003eParentAsLocationName\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the constructor options for creating a new \u003ccode\u003eCreateApiRequest\u003c/code\u003e instance, either as a default or by cloning another \u003ccode\u003eCreateApiRequest\u003c/code\u003e object, along with parameters and descriptions.\u003c/p\u003e\n"],["\u003cp\u003eThis page also gives insight on inherited members, namespace, assembly and versioning for this class, including links to the latest version and its parent class, which is \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]