Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Allocation (v0.2.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation.

Repesents Allocation which is part of aggregated reservations data response of "QueryReservations".

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allocation

def allocation() -> ::String
Returns
  • (::String) — The reservation resource name.

#allocation=

def allocation=(value) -> ::String
Parameter
  • value (::String) — The reservation resource name.
Returns
  • (::String) — The reservation resource name.

#auto_delete_time

def auto_delete_time() -> ::Google::Protobuf::Timestamp
Returns

#auto_delete_time=

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

#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) — A description while creating reservation.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A description while creating reservation.
Returns
  • (::String) — A description while creating reservation.

#id

def id() -> ::Integer
Returns
  • (::Integer) — The unique identifier for the resource. This identifier is defined by the server.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — The unique identifier for the resource. This identifier is defined by the server.
Returns
  • (::Integer) — The unique identifier for the resource. This identifier is defined by the server.

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

def specific_allocation() -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation
Returns

#specific_allocation=

def specific_allocation=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation
Parameter
Returns

#status

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

#status=

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

#zone

def zone() -> ::String
Returns
  • (::String) — Zone in which the reservation resides.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — Zone in which the reservation resides.
Returns
  • (::String) — Zone in which the reservation resides.