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 part of the API hub v1 API and is used to define the request for the \u003ccode\u003eCreateExternalApi\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \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 \u003ccode\u003eCreateExternalApiRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eExternalApi\u003c/code\u003e, \u003ccode\u003eExternalApiId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, which are used to specify the details of the External API resource being created.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExternalApiId\u003c/code\u003e property is optional and allows users to specify a custom ID for the External API, otherwise, a system-generated ID is used.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one that is parameterless and one that takes a \u003ccode\u003eCreateExternalApiRequest\u003c/code\u003e as its parameter.\u003c/p\u003e\n"]]],[],null,[]]