Google Cloud Migration Center V1 Client - Class AssetAggregateStats (0.2.0)

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

Aggregate statistics for a collection of assets.

Generated from protobuf message google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ total_memory_bytes int|string

Sum of the memory in bytes of all the assets in this collection.

↳ total_storage_bytes int|string

Sum of persistent storage in bytes of all the assets in this collection.

↳ total_cores int|string

Sum of the CPU core count of all the assets in this collection.

↳ total_assets int|string

Count of the number of unique assets in this collection.

↳ memory_utilization_chart Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData

Total memory split into Used/Free buckets.

↳ storage_utilization_chart Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData

Total memory split into Used/Free buckets.

↳ operating_system Google\Cloud\MigrationCenter\V1\ReportSummary\ChartData

Count of assets grouped by Operating System families.

↳ core_count_histogram Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData

Histogram showing a distribution of CPU core counts.

↳ memory_bytes_histogram Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData

Histogram showing a distribution of memory sizes.

↳ storage_bytes_histogram Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData

Histogram showing a distribution of memory sizes.

getTotalMemoryBytes

Sum of the memory in bytes of all the assets in this collection.

Returns
TypeDescription
int|string

setTotalMemoryBytes

Sum of the memory in bytes of all the assets in this collection.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalStorageBytes

Sum of persistent storage in bytes of all the assets in this collection.

Returns
TypeDescription
int|string

setTotalStorageBytes

Sum of persistent storage in bytes of all the assets in this collection.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalCores

Sum of the CPU core count of all the assets in this collection.

Returns
TypeDescription
int|string

setTotalCores

Sum of the CPU core count of all the assets in this collection.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalAssets

Count of the number of unique assets in this collection.

Returns
TypeDescription
int|string

setTotalAssets

Count of the number of unique assets in this collection.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMemoryUtilizationChart

Total memory split into Used/Free buckets.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData|null

hasMemoryUtilizationChart

clearMemoryUtilizationChart

setMemoryUtilizationChart

Total memory split into Used/Free buckets.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData
Returns
TypeDescription
$this

getStorageUtilizationChart

Total memory split into Used/Free buckets.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData|null

hasStorageUtilizationChart

clearStorageUtilizationChart

setStorageUtilizationChart

Total memory split into Used/Free buckets.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData
Returns
TypeDescription
$this

getOperatingSystem

Count of assets grouped by Operating System families.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary\ChartData|null

hasOperatingSystem

clearOperatingSystem

setOperatingSystem

Count of assets grouped by Operating System families.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary\ChartData
Returns
TypeDescription
$this

getCoreCountHistogram

Histogram showing a distribution of CPU core counts.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData|null

hasCoreCountHistogram

clearCoreCountHistogram

setCoreCountHistogram

Histogram showing a distribution of CPU core counts.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData
Returns
TypeDescription
$this

getMemoryBytesHistogram

Histogram showing a distribution of memory sizes.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData|null

hasMemoryBytesHistogram

clearMemoryBytesHistogram

setMemoryBytesHistogram

Histogram showing a distribution of memory sizes.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData
Returns
TypeDescription
$this

getStorageBytesHistogram

Histogram showing a distribution of memory sizes.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData|null

hasStorageBytesHistogram

clearStorageBytesHistogram

setStorageBytesHistogram

Histogram showing a distribution of memory sizes.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData
Returns
TypeDescription
$this