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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dimensions |
array|Google\Protobuf\Internal\MapField
The map holding related quota dimensions. |
↳ limit |
float
Current effective quota limit. The limit's unit depends on the quota type or metric. |
↳ limit_name |
string
The name of the quota limit. |
↳ metric_name |
string
The Compute Engine quota metric name. |
getDimensions
The map holding related quota dimensions.
Generated from protobuf field map<string, string> dimensions = 414334925;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setDimensions
The map holding related quota dimensions.
Generated from protobuf field map<string, string> dimensions = 414334925;
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getLimit
Current effective quota limit. The limit's unit depends on the quota type or metric.
Generated from protobuf field optional double limit = 102976443;
Returns | |
---|---|
Type | Description |
float |
hasLimit
clearLimit
setLimit
Current effective quota limit. The limit's unit depends on the quota type or metric.
Generated from protobuf field optional double limit = 102976443;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getLimitName
The name of the quota limit.
Generated from protobuf field optional string limit_name = 398197903;
Returns | |
---|---|
Type | Description |
string |
hasLimitName
clearLimitName
setLimitName
The name of the quota limit.
Generated from protobuf field optional string limit_name = 398197903;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMetricName
The Compute Engine quota metric name.
Generated from protobuf field optional string metric_name = 409881530;
Returns | |
---|---|
Type | Description |
string |
hasMetricName
clearMetricName
setMetricName
The Compute Engine quota metric name.
Generated from protobuf field optional string metric_name = 409881530;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |