Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::CapacityQuantity (v0.1.1)

Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::CapacityQuantity.

Deprecated: Use [Shipment.Load][], [Vehicle.LoadLimit][] and [ShipmentRoute.VehicleLoad][] instead.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#type

def type() -> ::String
Returns
  • (::String)

#type=

def type=(value) -> ::String
Parameter
  • value (::String)
Returns
  • (::String)

#value

def value() -> ::Integer
Returns
  • (::Integer)

#value=

def value=(value) -> ::Integer
Parameter
  • value (::Integer)
Returns
  • (::Integer)