class ProjectsLocationsDiscoveredWorkloads extends Resource (View source)

The "discoveredWorkloads" collection of methods.

Typical usage is:

 $apphubService = new Google\Service\AppHub(...);
 $discoveredWorkloads = $apphubService->projects_locations_discoveredWorkloads;

Methods

get(string $name, array $optParams = [])

Gets a Discovered Workload in a host project and location.

listProjectsLocationsDiscoveredWorkloads(string $parent, array $optParams = [])

Lists Discovered Workloads that can be added to an Application in a host project and location.

lookup(string $parent, array $optParams = [])

Lists a Discovered Workload in a host project and location, with a given resource URI. (discoveredWorkloads.lookup)

Details

DiscoveredWorkload get(string $name, array $optParams = [])

Gets a Discovered Workload in a host project and location.

(discoveredWorkloads.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

DiscoveredWorkload

Exceptions

Exception

ListDiscoveredWorkloadsResponse listProjectsLocationsDiscoveredWorkloads(string $parent, array $optParams = [])

Lists Discovered Workloads that can be added to an Application in a host project and location.

(discoveredWorkloads.listProjectsLocationsDiscoveredWorkloads)

Parameters

string $parent

Required. Project and location to list Discovered Workloads on. Expected format: projects/{project}/locations/{location}.

array $optParams

Optional parameters.

Return Value

ListDiscoveredWorkloadsResponse

Exceptions

Exception

LookupDiscoveredWorkloadResponse lookup(string $parent, array $optParams = [])

Lists a Discovered Workload in a host project and location, with a given resource URI. (discoveredWorkloads.lookup)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

LookupDiscoveredWorkloadResponse

Exceptions

Exception