Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::ShipmentTypeIncompatibility (v0.9.0)

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

Specifies incompatibilties between shipments depending on their shipment_type. The appearance of incompatible shipments on the same route is restricted based on the incompatibility mode.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#incompatibility_mode

def incompatibility_mode() -> ::Google::Cloud::Optimization::V1::ShipmentTypeIncompatibility::IncompatibilityMode

#incompatibility_mode=

def incompatibility_mode=(value) -> ::Google::Cloud::Optimization::V1::ShipmentTypeIncompatibility::IncompatibilityMode
Parameter

#types

def types() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".

#types=

def types=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".
Returns
  • (::Array<::String>) — List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".