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

Repesents Future Reservation request which is part of aggregated
reservations data response of "QueryReservations".

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #auto_created_reservations_delete_time

    def auto_created_reservations_delete_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Protobuf-Timestamp)) --- Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.

### #auto_created_reservations_delete_time=

    def auto_created_reservations_delete_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Protobuf-Timestamp)) --- Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Protobuf-Timestamp)) --- Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.

### #auto_delete_auto_created_reservations

    def auto_delete_auto_created_reservations() -> ::Boolean

**Returns**

- (::Boolean) --- Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the \[auto_created_reservations_delete_time, auto_created_reservations_duration\] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.

### #auto_delete_auto_created_reservations=

    def auto_delete_auto_created_reservations=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the \[auto_created_reservations_delete_time, auto_created_reservations_duration\] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.
**Returns**

- (::Boolean) --- Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the \[auto_created_reservations_delete_time, auto_created_reservations_duration\] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Protobuf-Timestamp)) --- The creation timestamp for this future reservation.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Protobuf-Timestamp)) --- The creation timestamp for this future reservation.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Protobuf-Timestamp)) --- The creation timestamp for this future reservation.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Description of the future reservation provided by user.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Description of the future reservation provided by user.
**Returns**

- (::String) --- Description of the future reservation provided by user.

### #future_reservation

    def future_reservation() -> ::String

**Returns**

- (::String) --- The future reservation resource name.

### #future_reservation=

    def future_reservation=(value) -> ::String

**Parameter**

- **value** (::String) --- The future reservation resource name.
**Returns**

- (::String) --- The future reservation resource name.

### #id

    def id() -> ::Integer

**Returns**

- (::Integer) --- A unique identifier for this future reservation. The server defines this identifier.

### #id=

    def id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- A unique identifier for this future reservation. The server defines this identifier.
**Returns**

- (::Integer) --- A unique identifier for this future reservation. The server defines this identifier.

### #name_prefix

    def name_prefix() -> ::String

**Returns**

- (::String) --- Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be

### #name_prefix=

    def name_prefix=(value) -> ::String

**Parameter**

- **value** (::String) --- Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be
**Returns**

- (::String) --- Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be

### #owner_project_id

    def owner_project_id() -> ::String

**Returns**

- (::String)

### #owner_project_id=

    def owner_project_id=(value) -> ::String

**Parameter**

- **value** (::String)
**Returns**

- (::String)

### #share_settings

    def share_settings() -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-ShareSettings)) --- List of Projects/Folders to share with.

### #share_settings=

    def share_settings=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-ShareSettings)) --- List of Projects/Folders to share with.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-ShareSettings)) --- List of Projects/Folders to share with.

### #specific_sku_properties

    def specific_sku_properties() -> ::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::SpecificSKUProperties

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::SpecificSKUProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-SpecificSKUProperties)) --- Future Reservation configuration to indicate instance properties and total count.

### #specific_sku_properties=

    def specific_sku_properties=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::SpecificSKUProperties

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::SpecificSKUProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-SpecificSKUProperties)) --- Future Reservation configuration to indicate instance properties and total count.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::SpecificSKUProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-SpecificSKUProperties)) --- Future Reservation configuration to indicate instance properties and total count.

### #status

    def status() -> ::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::Status

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-Status)) --- Status of the Future Reservation

### #status=

    def status=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::Status

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-Status)) --- Status of the Future Reservation
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-Status)) --- Status of the Future Reservation

### #time_window

    def time_window() -> ::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::TimeWindow

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::TimeWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-TimeWindow)) --- Time window for this Future Reservation.

### #time_window=

    def time_window=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::TimeWindow

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::TimeWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-TimeWindow)) --- Time window for this Future Reservation.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::FutureReservation::TimeWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-FutureReservation-TimeWindow)) --- Time window for this Future Reservation.

### #zone

    def zone() -> ::String

**Returns**

- (::String) --- URL of the Zone where this future reservation resides.

### #zone=

    def zone=(value) -> ::String

**Parameter**

- **value** (::String) --- URL of the Zone where this future reservation resides.
**Returns**

- (::String) --- URL of the Zone where this future reservation resides.