Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}
Query parameters
Parameters
apiHubInstanceId
string
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]-_/.
Request body
The request body contains an instance of ApiHubInstance.
Response body
If successful, the response body contains a newly created instance of Operation.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the parent resource:
[[["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-07-28 UTC."],[[["\u003cp\u003eThis endpoint provisions new API Hub instance resources within a specified project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a POST method with a specific URL structure that follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request includes both a required path parameter, \u003ccode\u003eparent\u003c/code\u003e, and an optional query parameter, \u003ccode\u003eapiHubInstanceId\u003c/code\u003e, for customization.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain data structured according to the \u003ccode\u003eApiHubInstance\u003c/code\u003e format, and the successful response is an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eCreating an instance requires \u003ccode\u003eapihub.apiHubInstances.create\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]