class ProjectsLocationsWorkloadProfiles extends Resource (View source)

The "workloadProfiles" collection of methods.

Typical usage is:

 $workloadmanagerService = new Google\Service\WorkloadManager(...);
 $workloadProfiles = $workloadmanagerService->projects_locations_workloadProfiles;

Methods

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

Gets details of a single workload. (workloadProfiles.get)

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

List workloads (workloadProfiles.listProjectsLocationsWorkloadProfiles)

Details

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

Gets details of a single workload. (workloadProfiles.get)

Parameters

string $name

Required. Name of the resource

array $optParams

Optional parameters.

Return Value

WorkloadProfile

Exceptions

Exception

ListWorkloadProfilesResponse listProjectsLocationsWorkloadProfiles(string $parent, array $optParams = [])

List workloads (workloadProfiles.listProjectsLocationsWorkloadProfiles)

Parameters

string $parent

Required. Parent value for ListWorkloadRequest

array $optParams

Optional parameters.

Return Value

ListWorkloadProfilesResponse

Exceptions

Exception