public sealed class CreateExternalApiRequest : IMessage<CreateExternalApiRequest>, IEquatable<CreateExternalApiRequest>, IDeepCloneable<CreateExternalApiRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateExternalApiRequest.
The [CreateExternalApi][google.cloud.apihub.v1.ApiHub.CreateExternalApi]
method's request.
Optional. The ID to use for the External API resource, which will become
the final component of the External API's resource name. This field is
optional.
If provided, the same will be used. The service will throw an error if
the specified id is already used by another External API resource in the
API hub.
If not provided, a system generated id will be used.
This value should be 4-500 characters, and valid characters
are /[a-z][A-Z][0-9]-_/.
[[["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\u003eThe \u003ccode\u003eCreateExternalApiRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eCreateExternalApi\u003c/code\u003e method within the API hub v1 API.\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\u003eThe class includes properties for \u003ccode\u003eExternalApi\u003c/code\u003e, \u003ccode\u003eExternalApiId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, defining the parameters of an External API creation request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExternalApiId\u003c/code\u003e property allows specifying a custom ID for the new External API, with character limits and restrictions, and if left empty, one will be generated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property, required for every request, determines the location to create the external API, following the \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e format.\u003c/p\u003e\n"]]],[],null,[]]