Google Cloud Bare Metal Solution V2 Client - Class InstanceQuota (0.5.2)

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 \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

Output only. The name of the instance quota.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstanceType

Instance type.

Deprecated: use gcp_service.

Returns
TypeDescription
string

setInstanceType

Instance type.

Deprecated: use gcp_service.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcpService

The gcp service of the provisioning quota.

Returns
TypeDescription
string

setGcpService

The gcp service of the provisioning quota.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocation

Location where the quota applies.

Returns
TypeDescription
string

setLocation

Location where the quota applies.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAvailableMachineCount

Number of machines than can be created for the given location and instance_type.

Returns
TypeDescription
int

setAvailableMachineCount

Number of machines than can be created for the given location and instance_type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this