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-01-16 UTC."],[[["This endpoint provisions new API Hub instance resources within a specified project and location."],["The HTTP request uses a POST method with a specific URL structure that follows gRPC Transcoding syntax."],["The request includes both a required path parameter, `parent`, and an optional query parameter, `apiHubInstanceId`, for customization."],["The request body must contain data structured according to the `ApiHubInstance` format, and the successful response is an `Operation` instance."],["Creating an instance requires `apihub.apiHubInstances.create` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]