Google Cloud Migration Center V1 Client - Class AssetPerformanceData (0.3.1)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class AssetPerformanceData.

Performance data for an asset.

Generated from protobuf message google.cloud.migrationcenter.v1.AssetPerformanceData

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ daily_resource_usage_aggregations array<Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation>

Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.

getDailyResourceUsageAggregations

Daily resource usage aggregations.

Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDailyResourceUsageAggregations

Daily resource usage aggregations.

Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation>
Returns
TypeDescription
$this