Compute V1 Client - Class QuotaExceededInfo (1.16.2)

Reference documentation and code samples for the Compute V1 Client class QuotaExceededInfo.

Additional details for quota exceeded error for resource quota.

Generated from protobuf message google.cloud.compute.v1.QuotaExceededInfo

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ dimensionsarray|Google\Protobuf\Internal\MapField

The map holding related quota dimensions.

↳ future_limitfloat

Future quota limit being rolled out. The limit's unit depends on the quota type or metric.

↳ limitfloat

Current effective quota limit. The limit's unit depends on the quota type or metric.

↳ limit_namestring

The name of the quota limit.

↳ metric_namestring

The Compute Engine quota metric name.

↳ rollout_statusstring

Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.

getDimensions

The map holding related quota dimensions.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setDimensions

The map holding related quota dimensions.

Parameter
NameDescription
vararray|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getFutureLimit

Future quota limit being rolled out. The limit's unit depends on the quota type or metric.

Returns
TypeDescription
float

hasFutureLimit

clearFutureLimit

setFutureLimit

Future quota limit being rolled out. The limit's unit depends on the quota type or metric.

Parameter
NameDescription
varfloat
Returns
TypeDescription
$this

getLimit

Current effective quota limit. The limit's unit depends on the quota type or metric.

Returns
TypeDescription
float

hasLimit

clearLimit

setLimit

Current effective quota limit. The limit's unit depends on the quota type or metric.

Parameter
NameDescription
varfloat
Returns
TypeDescription
$this

getLimitName

The name of the quota limit.

Returns
TypeDescription
string

hasLimitName

clearLimitName

setLimitName

The name of the quota limit.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getMetricName

The Compute Engine quota metric name.

Returns
TypeDescription
string

hasMetricName

clearMetricName

setMetricName

The Compute Engine quota metric name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getRolloutStatus

Rollout status of the future quota limit.

Check the RolloutStatus enum for the list of possible values.

Returns
TypeDescription
string

hasRolloutStatus

clearRolloutStatus

setRolloutStatus

Rollout status of the future quota limit.

Check the RolloutStatus enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this