Method: projects.locations.apiHubInstances.create

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

string

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:

  • apihub.apiHubInstances.create

For more information, see the IAM documentation.