Google Cloud Storage Transfer V1 Client - Class BandwidthLimit (1.1.1)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class BandwidthLimit.

Specifies a bandwidth limit for an agent pool.

Generated from protobuf message google.storagetransfer.v1.AgentPool.BandwidthLimit

Namespace

Google \ Cloud \ StorageTransfer \ V1 \ AgentPool

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ limit_mbps int|string

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

getLimitMbps

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

Returns
TypeDescription
int|string

setLimitMbps

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this