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

The `QueryReservations` response.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #reservations

    def reservations() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::ReservationData>

**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::ReservationData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-ReservationData)\>) --- The reservations data that match the request.

### #reservations=

    def reservations=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::ReservationData>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::ReservationData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-ReservationData)\>) --- The reservations data that match the request.
**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::ReservationData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-ReservationData)\>) --- The reservations data that match the request.