Google Cloud Migration Center V1 Client - Class NetworkUsageSample (0.1.0)

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

Network usage sample. Values are across all network interfaces.

Generated from protobuf message google.cloud.migrationcenter.v1.NetworkUsageSample

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ average_ingress_bps float

Average network ingress in B/s sampled over a short window. Must be non-negative.

↳ average_egress_bps float

Average network egress in B/s sampled over a short window. Must be non-negative.

getAverageIngressBps

Average network ingress in B/s sampled over a short window.

Must be non-negative.

Returns
TypeDescription
float

setAverageIngressBps

Average network ingress in B/s sampled over a short window.

Must be non-negative.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getAverageEgressBps

Average network egress in B/s sampled over a short window.

Must be non-negative.

Returns
TypeDescription
float

setAverageEgressBps

Average network egress in B/s sampled over a short window.

Must be non-negative.

Parameter
NameDescription
var float
Returns
TypeDescription
$this