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

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
Name Description
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
Type Description
string

setName

Output only. The name of the provisioning quota.

Parameter
Name Description
var string
Returns
Type Description
$this

getAssetType

The asset type of this provisioning quota.

Returns
Type Description
int

setAssetType

The asset type of this provisioning quota.

Parameter
Name Description
var int
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

The specific location of the provisioining quota.

Returns
Type Description
string

setLocation

The specific location of the provisioining quota.

Parameter
Name Description
var string
Returns
Type Description
$this

getAvailableCount

The available count of the provisioning quota.

Returns
Type Description
int

setAvailableCount

The available count of the provisioning quota.

Parameter
Name Description
var int
Returns
Type Description
$this

getInstanceQuota

Instance quota.

Returns
Type Description
Google\Cloud\BareMetalSolution\V2\InstanceQuota|null

hasInstanceQuota

setInstanceQuota

Instance quota.

Parameter
Name Description
var Google\Cloud\BareMetalSolution\V2\InstanceQuota
Returns
Type Description
$this

getServerCount

Server count.

Returns
Type Description
int|string

hasServerCount

setServerCount

Server count.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getNetworkBandwidth

Network bandwidth, Gbps

Returns
Type Description
int|string

hasNetworkBandwidth

setNetworkBandwidth

Network bandwidth, Gbps

Parameter
Name Description
var int|string
Returns
Type Description
$this

getStorageGib

Storage size (GB).

Returns
Type Description
int|string

hasStorageGib

setStorageGib

Storage size (GB).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getQuota

Returns
Type Description
string

getAvailability

Returns
Type Description
string