Looks up an Api Hub instance in a given Google Cloud project. There will always be only one Api Hub instance for a Google Cloud project across all locations.
HTTP request
GET https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/apiHubInstances:lookup
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. There will always be only one Api Hub instance for a Google Cloud project across all locations. The parent resource for the Api Hub instance resource. Format:  | 
Request body
The request body must be empty.
Response body
The apiHubInstances.lookup method's response.`
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "apiHubInstance": {
    object ( | 
| Fields | |
|---|---|
| apiHubInstance | 
 API Hub instance for a project if it exists, empty otherwise. | 
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.list
For more information, see the IAM documentation.