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 \ ReportSummaryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int|string |
setTotalMemoryBytes
Sum of the memory in bytes of all the assets in this collection.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getTotalStorageBytes
Sum of persistent storage in bytes of all the assets in this collection.
Returns | |
---|---|
Type | Description |
int|string |
setTotalStorageBytes
Sum of persistent storage in bytes of all the assets in this collection.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getTotalCores
Sum of the CPU core count of all the assets in this collection.
Returns | |
---|---|
Type | Description |
int|string |
setTotalCores
Sum of the CPU core count of all the assets in this collection.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getTotalAssets
Count of the number of unique assets in this collection.
Returns | |
---|---|
Type | Description |
int|string |
setTotalAssets
Count of the number of unique assets in this collection.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getMemoryUtilizationChart
Total memory split into Used/Free buckets.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData|null |
hasMemoryUtilizationChart
clearMemoryUtilizationChart
setMemoryUtilizationChart
Total memory split into Used/Free buckets.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData
|
Returns | |
---|---|
Type | Description |
$this |
getStorageUtilizationChart
Total memory split into Used/Free buckets.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData|null |
hasStorageUtilizationChart
clearStorageUtilizationChart
setStorageUtilizationChart
Total memory split into Used/Free buckets.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\ReportSummary\UtilizationChartData
|
Returns | |
---|---|
Type | Description |
$this |
getOperatingSystem
Count of assets grouped by Operating System families.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\ReportSummary\ChartData|null |
hasOperatingSystem
clearOperatingSystem
setOperatingSystem
Count of assets grouped by Operating System families.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\ReportSummary\ChartData
|
Returns | |
---|---|
Type | Description |
$this |
getCoreCountHistogram
Histogram showing a distribution of CPU core counts.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData|null |
hasCoreCountHistogram
clearCoreCountHistogram
setCoreCountHistogram
Histogram showing a distribution of CPU core counts.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData
|
Returns | |
---|---|
Type | Description |
$this |
getMemoryBytesHistogram
Histogram showing a distribution of memory sizes.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData|null |
hasMemoryBytesHistogram
clearMemoryBytesHistogram
setMemoryBytesHistogram
Histogram showing a distribution of memory sizes.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData
|
Returns | |
---|---|
Type | Description |
$this |
getStorageBytesHistogram
Histogram showing a distribution of memory sizes.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData|null |
hasStorageBytesHistogram
clearStorageBytesHistogram
setStorageBytesHistogram
Histogram showing a distribution of memory sizes.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\ReportSummary\HistogramChartData
|
Returns | |
---|---|
Type | Description |
$this |