# Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation.

This reservation type allows to pre allocate specific instance
configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #assured_count

    def assured_count() -> ::Integer

**Returns**

- (::Integer) --- Indicates how many instances are actually usable currently.

### #assured_count=

    def assured_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Indicates how many instances are actually usable currently.
**Returns**

- (::Integer) --- Indicates how many instances are actually usable currently.

### #count

    def count() -> ::Integer

**Returns**

- (::Integer) --- Specifies the number of resources that are allocated.

### #count=

    def count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Specifies the number of resources that are allocated.
**Returns**

- (::Integer) --- Specifies the number of resources that are allocated.

### #instance_properties

    def instance_properties() -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-SpecificSKUAllocation-AllocatedInstanceProperties)) --- The instance properties for the reservation.

### #instance_properties=

    def instance_properties=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-SpecificSKUAllocation-AllocatedInstanceProperties)) --- The instance properties for the reservation.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-SpecificSKUAllocation-AllocatedInstanceProperties)) --- The instance properties for the reservation.

### #used_count

    def used_count() -> ::Integer

**Returns**

- (::Integer) --- Indicates how many instances are in use.

### #used_count=

    def used_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Indicates how many instances are in use.
**Returns**

- (::Integer) --- Indicates how many instances are in use.