Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class InstanceQuota.
A resource budget.
Generated from protobuf message google.cloud.baremetalsolution.v2.InstanceQuota
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The name of the instance quota. |
↳ instance_type |
string
Instance type. Deprecated: use gcp_service. |
↳ gcp_service |
string
The gcp service of the provisioning quota. |
↳ location |
string
Location where the quota applies. |
↳ available_machine_count |
int
Number of machines than can be created for the given location and instance_type. |
getName
Output only. The name of the instance quota.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The name of the instance quota.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInstanceType
Instance type.
Deprecated: use gcp_service.
Returns | |
---|---|
Type | Description |
string |
setInstanceType
Instance type.
Deprecated: use gcp_service.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGcpService
The gcp service of the provisioning quota.
Returns | |
---|---|
Type | Description |
string |
setGcpService
The gcp service of the provisioning quota.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLocation
Location where the quota applies.
Returns | |
---|---|
Type | Description |
string |
setLocation
Location where the quota applies.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAvailableMachineCount
Number of machines than can be created for the given location and instance_type.
Returns | |
---|---|
Type | Description |
int |
setAvailableMachineCount
Number of machines than can be created for the given location and instance_type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |