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

#create_time=

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

#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

#share_settings=

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

#specific_sku_properties

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

#specific_sku_properties=

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

#status

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

#status=

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

#time_window

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

#time_window=

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

#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.