Method: projects.locations.discoveredprofiles.list

List discovered workload profiles

HTTP request

GET https://workloadmanager.googleapis.com/v1/{parent=projects/*/locations/*}/discoveredprofiles

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent value for ListDiscoveredProfilesRequest

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

pageToken

string

Optional. A token identifying a page of results the server should return.

filter

string

Optional. Filtering results

Request body

The request body must be empty.

Response body

List discovered profile Response returns discovered profiles from agents

If successful, the response body contains data with the following structure:

JSON representation
{
  "workloadProfiles": [
    {
      object (WorkloadProfile)
    }
  ],
  "unreachable": [
    string
  ],
  "nextPageToken": string
}
Fields
workloadProfiles[]

object (WorkloadProfile)

Output only. The list of workload profiles

unreachable[]

string

Locations that could not be reached.

nextPageToken

string

Output only. A token identifying a page of results the server should return

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform