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

#allocations=

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

#future_reservations

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

#future_reservations=

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

#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

#time_series=

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

#used_reservation_values

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

#used_reservation_values=

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