Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::SkippedShipment (v0.4.1)

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

Specifies details of unperformed shipments in a solution. For trivial cases and/or if we are able to identify the cause for skipping, we report the reason here.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#index

def index() -> ::Integer
Returns
  • (::Integer) — The index corresponds to the index of the shipment in the source ShipmentModel.

#index=

def index=(value) -> ::Integer
Parameter
  • value (::Integer) — The index corresponds to the index of the shipment in the source ShipmentModel.
Returns
  • (::Integer) — The index corresponds to the index of the shipment in the source ShipmentModel.

#label

def label() -> ::String
Returns
  • (::String) — Copy of the corresponding Shipment.label, if specified in the Shipment.

#label=

def label=(value) -> ::String
Parameter
  • value (::String) — Copy of the corresponding Shipment.label, if specified in the Shipment.
Returns
  • (::String) — Copy of the corresponding Shipment.label, if specified in the Shipment.

#reasons

def reasons() -> ::Array<::Google::Cloud::Optimization::V1::SkippedShipment::Reason>
Returns

#reasons=

def reasons=(value) -> ::Array<::Google::Cloud::Optimization::V1::SkippedShipment::Reason>
Parameter
Returns