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-03-21 UTC."],[[["The `CreateApiRequest` class is used to create a request for the `CreateApi` method within the API hub v1 API, inheriting from `object` and implementing several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class allows for specifying details about the API being created, including the required `Api` object, the optional `ApiId`, and the required `Parent` resource location in the format `projects/{project}/locations/{location}`."],["There are two constructors available: one default constructor `CreateApiRequest()` and another that takes another `CreateApiRequest` object as a parameter, `CreateApiRequest(CreateApiRequest other)`."],["The `Api` property is mandatory and defines the API resource to be created, while the `ApiId` property is optional and can be used to set a specific identifier for the new API resource."],["The `Parent` property, which is mandatory, specifies the parent resource for the API being created, and the `ParentAsLocationName` property offers a `LocationName`-typed view over the `Parent` resource name property."]]],[]]