- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - Try it!
 
Lists a Discovered Service in a host project and location, with a given resource URI.
HTTP request
 GET https://apphub.googleapis.com/v1/{parent=projects/*/locations/*}/discoveredServices:lookup 
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
 parent 
 |  
     Required. Host project ID and location to lookup Discovered Service in. Expected format:   |  
Query parameters
| Parameters | |
|---|---|
 uri 
 |  
     Required. Resource URI to find DiscoveredService for. Accepts both project number and project ID and does translation when needed.  |  
Request body
The request body must be empty.
Response body
Response for discoveredServices.lookup.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
  { 
 "discoveredService" 
 : 
 { 
 object (  
 |  
| Fields | |
|---|---|
 discovered  
 |  
     Discovered Service if exists, empty otherwise.  |  
Authorization scopes
Requires the following OAuth scope:
-  
https://www.googleapis.com/auth/cloud-platform 
For more information, see the Authentication Overview .
IAM Permissions
Requires the following IAM 
permission on the parent 
resource:
-  
apphub.discoveredServices.list 
For more information, see the IAM documentation .

