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

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

Statistical aggregation of network usage.

Generated from protobuf message google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Network

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ DailyResourceUsageAggregation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ingress_bps Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats

Network ingress in B/s.

↳ egress_bps Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats

Network egress in B/s.

getIngressBps

Network ingress in B/s.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats|null

hasIngressBps

clearIngressBps

setIngressBps

Network ingress in B/s.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats
Returns
TypeDescription
$this

getEgressBps

Network egress in B/s.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats|null

hasEgressBps

clearEgressBps

setEgressBps

Network egress in B/s.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats
Returns
TypeDescription
$this