public sealed class CreateApiHubInstanceRequest : IMessage<CreateApiHubInstanceRequest>, IEquatable<CreateApiHubInstanceRequest>, IDeepCloneable<CreateApiHubInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateApiHubInstanceRequest.
The
[CreateApiHubInstance][google.cloud.apihub.v1.Provisioning.CreateApiHubInstance]
method's request.
Optional. Identifier to assign to the Api Hub instance. Must be unique
within scope of the parent resource. If the field is not provided, system
generated id will be used.
This value should be 4-40 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"]],[["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\u003eThis documentation is for the \u003ccode\u003eCreateApiHubInstanceRequest\u003c/code\u003e class within the Google Cloud API Hub v1 API, specifically version 1.0.0, which is the latest version and is used to set up the creation method's request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateApiHubInstanceRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods to create and manage API hub instances.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eApiHubInstance\u003c/code\u003e (required for the instance), \u003ccode\u003eApiHubInstanceId\u003c/code\u003e (optional unique identifier), and \u003ccode\u003eParent\u003c/code\u003e (required parent resource in \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e format) to configure the API Hub instance creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateApiHubInstanceRequest\u003c/code\u003e class has two constructors, a default one, and another one that takes another \u003ccode\u003eCreateApiHubInstanceRequest\u003c/code\u003e as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThe class also features the \u003ccode\u003eParentAsLocationName\u003c/code\u003e property, which provides a view of the parent resource name in \u003ccode\u003eLocationName\u003c/code\u003e format, for more convenient usage.\u003c/p\u003e\n"]]],[],null,[]]