Method: projects.locations.discoveredWorkloads.get

Gets a Discovered Workload in a host project and location.

HTTP request

GET https://apphub.googleapis.com/v1/{name=projects/*/locations/*/discoveredWorkloads/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Fully qualified name of the Discovered Workload to fetch. Expected format: projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DiscoveredWorkload.

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 name resource:

  • apphub.discoveredWorkloads.get

For more information, see the IAM documentation.