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.
Generated from protobuf field optional double limit = 102976443;
float
hasLimit
clearLimit
setLimit
[Output Only] Quota limit for this metric.
Generated from protobuf field optional double limit = 102976443;
var
float
$this
getMetric
[Output Only] Name of the quota metric.
Check the Metric enum for the list of possible values.
Generated from protobuf field optional string metric = 533067184;
string
hasMetric
clearMetric
setMetric
[Output Only] Name of the quota metric.
Check the Metric enum for the list of possible values.
Generated from protobuf field optional string metric = 533067184;
var
string
$this
getOwner
[Output Only] Owning resource. This is the resource on which this quota is applied.
Generated from protobuf field optional string owner = 106164915;
string
hasOwner
clearOwner
setOwner
[Output Only] Owning resource. This is the resource on which this quota is applied.
Generated from protobuf field optional string owner = 106164915;
var
string
$this
getUsage
[Output Only] Current usage of this metric.
Generated from protobuf field optional double usage = 111574433;
float
hasUsage
clearUsage
setUsage
[Output Only] Current usage of this metric.
Generated from protobuf field optional double usage = 111574433;
var
float
$this