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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
float |
setAverageIngressBps
Average network ingress in B/s sampled over a short window.
Must be non-negative.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getAverageEgressBps
Average network egress in B/s sampled over a short window.
Must be non-negative.
Returns | |
---|---|
Type | Description |
float |
setAverageEgressBps
Average network egress in B/s sampled over a short window.
Must be non-negative.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |