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 \ AgentPoolMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int|string |
setLimitMbps
Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |