Reference documentation and code samples for the Compute V1 Client class InterconnectApplicationAwareInterconnectBandwidthPercentage.
Specify bandwidth percentages [1-100] for various traffic classes in BandwidthPercentagePolicy. The sum of all percentages must equal 100. All traffic classes must have a percentage value specified.
Generated from protobuf message google.cloud.compute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ percentage |
int
Bandwidth percentage for a specific traffic class. |
↳ traffic_class |
string
TrafficClass whose bandwidth percentage is being specified. Check the TrafficClass enum for the list of possible values. |
getPercentage
Bandwidth percentage for a specific traffic class.
Returns | |
---|---|
Type | Description |
int |
hasPercentage
clearPercentage
setPercentage
Bandwidth percentage for a specific traffic class.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getTrafficClass
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
Returns | |
---|---|
Type | Description |
string |
hasTrafficClass
clearTrafficClass
setTrafficClass
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |