Method: projects.locations.discoveredServices.lookup

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

string

Required. Host project ID and location to lookup Discovered Service in. Expected format: projects/{project}/locations/{location}.

Query parameters

Parameters
uri

string

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 (DiscoveredService)
  }
}
Fields
discoveredService

object (DiscoveredService)

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.