class ProjectsLocationsSourcesUtilizationReports extends Resource (View source)

The "utilizationReports" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $utilizationReports = $vmmigrationService->projects_locations_sources_utilizationReports;

Methods

create(string $parent, UtilizationReport $postBody, array $optParams = [])

Creates a new UtilizationReport. (utilizationReports.create)

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

Deletes a single Utilization Report. (utilizationReports.delete)

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

Gets a single Utilization Report. (utilizationReports.get)

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

Lists Utilization Reports of the given Source.

Details

Operation create(string $parent, UtilizationReport $postBody, array $optParams = [])

Creates a new UtilizationReport. (utilizationReports.create)

Parameters

string $parent

Required. The Utilization Report's parent.

UtilizationReport $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single Utilization Report. (utilizationReports.delete)

Parameters

string $name

Required. The Utilization Report name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets a single Utilization Report. (utilizationReports.get)

Parameters

string $name

Required. The Utilization Report name.

array $optParams

Optional parameters.

Return Value

UtilizationReport

Exceptions

Exception

ListUtilizationReportsResponse listProjectsLocationsSourcesUtilizationReports(string $parent, array $optParams = [])

Lists Utilization Reports of the given Source.

(utilizationReports.listProjectsLocationsSourcesUtilizationReports)

Parameters

string $parent

Required. The Utilization Reports parent.

array $optParams

Optional parameters.

Return Value

ListUtilizationReportsResponse

Exceptions

Exception