# Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::ReservationData (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::ReservationData.

Response entity for reservations data.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allocations

    def allocations() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation>

**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::Allocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation)\>) --- Allocations filtered by the criteria.

### #allocations=

    def allocations=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::Allocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation)\>) --- Allocations filtered by the criteria.
**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::Allocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation)\>) --- Allocations filtered by the criteria.

### #future_reservations

    def future_reservations() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::FutureReservation>

**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::FutureReservation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation)\>) --- Future reservations filtered by the criteria.

### #future_reservations=

    def future_reservations=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::FutureReservation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::FutureReservation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation)\>) --- Future reservations filtered by the criteria.
**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::FutureReservation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation)\>) --- Future reservations filtered by the criteria.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/reservations/{reservation_id}` or `organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id}` or `folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/reservations/{reservation_id}` or `organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id}` or `folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}`
**Returns**

- (::String) --- Identifier. The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/reservations/{reservation_id}` or `organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id}` or `folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}`

### #time_series

    def time_series() -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::TimeSeries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-TimeSeries)) --- The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria.

### #time_series=

    def time_series=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::TimeSeries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-TimeSeries)) --- The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::TimeSeries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-TimeSeries)) --- The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria.

### #used_reservation_values

    def used_reservation_values() -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::TimeSeries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-TimeSeries)) --- The collection of data points that represent the aggregated used value for reservations filtered by the criteria.

### #used_reservation_values=

    def used_reservation_values=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::TimeSeries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-TimeSeries)) --- The collection of data points that represent the aggregated used value for reservations filtered by the criteria.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::TimeSeries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-TimeSeries)) --- The collection of data points that represent the aggregated used value for reservations filtered by the criteria.