- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Provisions instance resources for the API Hub.
HTTP request
POST https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/apiHubInstances
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource for the Api Hub instance resource. Format: |
Query parameters
Parameters | |
---|---|
apiHubInstanceId |
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 |
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:
apihub.apiHubInstances.create
For more information, see the IAM documentation.