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

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ProvisioningQuota.

A provisioning quota for a given project.

Generated from protobuf message google.cloud.baremetalsolution.v2.ProvisioningQuota

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 provisioning quota.

↳ asset_type int

The asset type of this provisioning quota.

↳ gcp_service string

The gcp service of the provisioning quota.

↳ location string

The specific location of the provisioining quota.

↳ available_count int

The available count of the provisioning quota.

↳ instance_quota Google\Cloud\BareMetalSolution\V2\InstanceQuota

Instance quota.

↳ server_count int|string

Server count.

↳ network_bandwidth int|string

Network bandwidth, Gbps

↳ storage_gib int|string

Storage size (GB).

getName

Output only. The name of the provisioning quota.

Returns
TypeDescription
string

setName

Output only. The name of the provisioning quota.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAssetType

The asset type of this provisioning quota.

Returns
TypeDescription
int

setAssetType

The asset type of this provisioning quota.

Parameter
NameDescription
var int
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

The specific location of the provisioining quota.

Returns
TypeDescription
string

setLocation

The specific location of the provisioining quota.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAvailableCount

The available count of the provisioning quota.

Returns
TypeDescription
int

setAvailableCount

The available count of the provisioning quota.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getInstanceQuota

Instance quota.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\InstanceQuota|null

hasInstanceQuota

setInstanceQuota

Instance quota.

Parameter
NameDescription
var Google\Cloud\BareMetalSolution\V2\InstanceQuota
Returns
TypeDescription
$this

getServerCount

Server count.

Returns
TypeDescription
int|string

hasServerCount

setServerCount

Server count.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getNetworkBandwidth

Network bandwidth, Gbps

Returns
TypeDescription
int|string

hasNetworkBandwidth

setNetworkBandwidth

Network bandwidth, Gbps

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStorageGib

Storage size (GB).

Returns
TypeDescription
int|string

hasStorageGib

setStorageGib

Storage size (GB).

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getQuota

Returns
TypeDescription
string

getAvailability

Returns
TypeDescription
string