Reference documentation and code samples for the Compute V1 Client class UrlMapQuotaUsage.
Message representing the quota usage for a UrlMap.
Generated from protobuf message google.cloud.compute.v1.UrlMapQuotaUsage
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ forwarding_rules |
int
Output only. The number of forwarding rules that uses this UrlMap. |
↳ units |
int|string
Output only. The number of quota units calculated for this UrlMap. |
getForwardingRules
Output only. The number of forwarding rules that uses this UrlMap.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasForwardingRules
clearForwardingRules
setForwardingRules
Output only. The number of forwarding rules that uses this UrlMap.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnits
Output only. The number of quota units calculated for this UrlMap.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasUnits
clearUnits
setUnits
Output only. The number of quota units calculated for this UrlMap.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|