Reference documentation and code samples for the Compute V1 Client class Quota.
A quotas entry.
Generated from protobuf message google.cloud.compute.v1.Quota
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ limit
float
[Output Only] Quota limit for this metric.
↳ metric
string
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
↳ owner
string
[Output Only] Owning resource. This is the resource on which this quota is applied.
↳ usage
float
[Output Only] Current usage of this metric.
getLimit
[Output Only] Quota limit for this metric.
float
hasLimit
clearLimit
setLimit
[Output Only] Quota limit for this metric.
var
float
$this
getMetric
[Output Only] Name of the quota metric.
Check the Metric enum for the list of possible values.
string
hasMetric
clearMetric
setMetric
[Output Only] Name of the quota metric.
Check the Metric enum for the list of possible values.
var
string
$this
getOwner
[Output Only] Owning resource. This is the resource on which this quota is applied.
string
hasOwner
clearOwner
setOwner
[Output Only] Owning resource. This is the resource on which this quota is applied.
var
string
$this
getUsage
[Output Only] Current usage of this metric.
float
hasUsage
clearUsage
setUsage
[Output Only] Current usage of this metric.
var
float
$this