Reference documentation and code samples for the Google Cloud Migration Center V1 Client class DailyResourceUsageAggregation.
Usage data aggregation for a single day.
Generated from protobuf message google.cloud.migrationcenter.v1.DailyResourceUsageAggregation
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ date |
Google\Type\Date
Aggregation date. Day boundaries are at midnight UTC. |
↳ cpu |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\CPU
CPU usage. |
↳ memory |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Memory
Memory usage. |
↳ network |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Network
Network usage. |
↳ disk |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Disk
Disk usage. |
getDate
Aggregation date. Day boundaries are at midnight UTC.
Returns | |
---|---|
Type | Description |
Google\Type\Date|null |
hasDate
clearDate
setDate
Aggregation date. Day boundaries are at midnight UTC.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Date
|
Returns | |
---|---|
Type | Description |
$this |
getCpu
CPU usage.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\CPU|null |
hasCpu
clearCpu
setCpu
CPU usage.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\CPU
|
Returns | |
---|---|
Type | Description |
$this |
getMemory
Memory usage.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Memory|null |
hasMemory
clearMemory
setMemory
Memory usage.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Memory
|
Returns | |
---|---|
Type | Description |
$this |
getNetwork
Network usage.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Network|null |
hasNetwork
clearNetwork
setNetwork
Network usage.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Network
|
Returns | |
---|---|
Type | Description |
$this |
getDisk
Disk usage.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Disk|null |
hasDisk
clearDisk
setDisk
Disk usage.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Disk
|
Returns | |
---|---|
Type | Description |
$this |