class ProjectsLocationsAssets extends Resource (View source)

The "assets" collection of methods.

Typical usage is:

 $migrationcenterService = new Google\Service\MigrationCenterAPI(...);
 $assets = $migrationcenterService->projects_locations_assets;

Methods

aggregateValues(string $parent, AggregateAssetsValuesRequest $postBody, array $optParams = [])

Aggregates the requested fields based on provided function.

batchDelete(string $parent, BatchDeleteAssetsRequest $postBody, array $optParams = [])

Deletes list of Assets. (assets.batchDelete)

batchUpdate(string $parent, BatchUpdateAssetsRequest $postBody, array $optParams = [])

Updates the parameters of a list of assets. (assets.batchUpdate)

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

Deletes an asset. (assets.delete)

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

Gets the details of an asset. (assets.get)

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

Lists all the assets in a given project and location.

patch(string $name, Asset $postBody, array $optParams = [])

Updates the parameters of an asset. (assets.patch)

reportAssetFrames(string $parent, Frames $postBody, array $optParams = [])

Reports a set of frames. (assets.reportAssetFrames)

Details

AggregateAssetsValuesResponse aggregateValues(string $parent, AggregateAssetsValuesRequest $postBody, array $optParams = [])

Aggregates the requested fields based on provided function.

(assets.aggregateValues)

Parameters

string $parent

Required. Parent value for AggregateAssetsValuesRequest.

AggregateAssetsValuesRequest $postBody
array $optParams

Optional parameters.

Return Value

AggregateAssetsValuesResponse

Exceptions

Exception

MigrationcenterEmpty batchDelete(string $parent, BatchDeleteAssetsRequest $postBody, array $optParams = [])

Deletes list of Assets. (assets.batchDelete)

Parameters

string $parent

Required. Parent value for batch asset delete.

BatchDeleteAssetsRequest $postBody
array $optParams

Optional parameters.

Return Value

MigrationcenterEmpty

Exceptions

Exception

BatchUpdateAssetsResponse batchUpdate(string $parent, BatchUpdateAssetsRequest $postBody, array $optParams = [])

Updates the parameters of a list of assets. (assets.batchUpdate)

Parameters

string $parent

Required. Parent value for batch asset update.

BatchUpdateAssetsRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchUpdateAssetsResponse

Exceptions

Exception

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

Deletes an asset. (assets.delete)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

MigrationcenterEmpty

Exceptions

Exception

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

Gets the details of an asset. (assets.get)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

Asset

Exceptions

Exception

ListAssetsResponse listProjectsLocationsAssets(string $parent, array $optParams = [])

Lists all the assets in a given project and location.

(assets.listProjectsLocationsAssets)

Parameters

string $parent

Required. Parent value for ListAssetsRequest.

array $optParams

Optional parameters.

Return Value

ListAssetsResponse

Exceptions

Exception

Asset patch(string $name, Asset $postBody, array $optParams = [])

Updates the parameters of an asset. (assets.patch)

Parameters

string $name

Output only. The full name of the asset.

Asset $postBody
array $optParams

Optional parameters.

Return Value

Asset

Exceptions

Exception

ReportAssetFramesResponse reportAssetFrames(string $parent, Frames $postBody, array $optParams = [])

Reports a set of frames. (assets.reportAssetFrames)

Parameters

string $parent

Required. Parent of the resource.

Frames $postBody
array $optParams

Optional parameters.

Return Value

ReportAssetFramesResponse

Exceptions

Exception