Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation.
Usage data aggregation for a single day.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cpu
def cpu() -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::CPU
Returns
#cpu=
def cpu=(value) -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::CPU
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::CPU) — CPU usage.
Returns
#date
def date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Aggregation date. Day boundaries are at midnight UTC.
#date=
def date=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Aggregation date. Day boundaries are at midnight UTC.
Returns
- (::Google::Type::Date) — Aggregation date. Day boundaries are at midnight UTC.
#disk
def disk() -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Disk
Returns
#disk=
def disk=(value) -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Disk
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Disk) — Disk usage.
Returns
#memory
def memory() -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Memory
Returns
#memory=
def memory=(value) -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Memory
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Memory) — Memory usage.
Returns
#network
def network() -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Network
Returns
- (::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Network) — Network usage.
#network=
def network=(value) -> ::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Network
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Network) — Network usage.
Returns
- (::Google::Cloud::MigrationCenter::V1::DailyResourceUsageAggregation::Network) — Network usage.