# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::ProvisioningQuota (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::ProvisioningQuota.

A provisioning quota for a given project.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #asset_type

    def asset_type() -> ::Google::Cloud::BareMetalSolution::V2::ProvisioningQuota::AssetType

**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ProvisioningQuota::AssetType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningQuota-AssetType)) --- The asset type of this provisioning quota.

### #asset_type=

    def asset_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::ProvisioningQuota::AssetType

**Parameter**

- **value** ([::Google::Cloud::BareMetalSolution::V2::ProvisioningQuota::AssetType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningQuota-AssetType)) --- The asset type of this provisioning quota.
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ProvisioningQuota::AssetType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningQuota-AssetType)) --- The asset type of this provisioning quota.

### #available_count

    def available_count() -> ::Integer

**Returns**

- (::Integer) --- The available count of the provisioning quota.

### #available_count=

    def available_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The available count of the provisioning quota.
**Returns**

- (::Integer) --- The available count of the provisioning quota.

### #gcp_service

    def gcp_service() -> ::String

**Returns**

- (::String) --- The gcp service of the provisioning quota.

### #gcp_service=

    def gcp_service=(value) -> ::String

**Parameter**

- **value** (::String) --- The gcp service of the provisioning quota.
**Returns**

- (::String) --- The gcp service of the provisioning quota.

### #instance_quota

    def instance_quota() -> ::Google::Cloud::BareMetalSolution::V2::InstanceQuota

**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::InstanceQuota](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-InstanceQuota)) --- Instance quota.

### #instance_quota=

    def instance_quota=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceQuota

**Parameter**

- **value** ([::Google::Cloud::BareMetalSolution::V2::InstanceQuota](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-InstanceQuota)) --- Instance quota.
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::InstanceQuota](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-InstanceQuota)) --- Instance quota.

### #location

    def location() -> ::String

**Returns**

- (::String) --- The specific location of the provisioining quota.

### #location=

    def location=(value) -> ::String

**Parameter**

- **value** (::String) --- The specific location of the provisioining quota.
**Returns**

- (::String) --- The specific location of the provisioining quota.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The name of the provisioning quota.

### #network_bandwidth

    def network_bandwidth() -> ::Integer

**Returns**

- (::Integer) --- Network bandwidth, Gbps

  Note: The following fields are mutually exclusive: `network_bandwidth`, `server_count`, `storage_gib`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #network_bandwidth=

    def network_bandwidth=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Network bandwidth, Gbps


  Note: The following fields are mutually exclusive: `network_bandwidth`, `server_count`, `storage_gib`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::Integer) --- Network bandwidth, Gbps

  Note: The following fields are mutually exclusive: `network_bandwidth`, `server_count`, `storage_gib`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #server_count

    def server_count() -> ::Integer

**Returns**

- (::Integer) --- Server count.

  Note: The following fields are mutually exclusive: `server_count`, `network_bandwidth`, `storage_gib`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #server_count=

    def server_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Server count.


  Note: The following fields are mutually exclusive: `server_count`, `network_bandwidth`, `storage_gib`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::Integer) --- Server count.

  Note: The following fields are mutually exclusive: `server_count`, `network_bandwidth`, `storage_gib`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #storage_gib

    def storage_gib() -> ::Integer

**Returns**

- (::Integer) --- Storage size (GB).

  Note: The following fields are mutually exclusive: `storage_gib`, `server_count`, `network_bandwidth`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #storage_gib=

    def storage_gib=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Storage size (GB).


  Note: The following fields are mutually exclusive: `storage_gib`, `server_count`, `network_bandwidth`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::Integer) --- Storage size (GB).

  Note: The following fields are mutually exclusive: `storage_gib`, `server_count`, `network_bandwidth`. If a field in that set is populated, all other fields in the set will automatically be cleared.