public sealed class SkippedShipment : IMessage<SkippedShipment>, IEquatable<SkippedShipment>, IDeepCloneable<SkippedShipment>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class 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.
Implements
IMessage<SkippedShipment>, IEquatable<SkippedShipment>, IDeepCloneable<SkippedShipment>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
SkippedShipment()
public SkippedShipment()
SkippedShipment(SkippedShipment)
public SkippedShipment(SkippedShipment other)
Parameter | |
---|---|
Name | Description |
other | SkippedShipment |
Properties
Index
public int Index { get; set; }
The index corresponds to the index of the shipment in the source
ShipmentModel
.
Property Value | |
---|---|
Type | Description |
Int32 |
Label
public string Label { get; set; }
Copy of the corresponding
[Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified
in the Shipment
.
Property Value | |
---|---|
Type | Description |
String |
Reasons
public RepeatedField<SkippedShipment.Types.Reason> Reasons { get; }
A list of reasons that explain why the shipment was skipped. See comment
above Reason
.
Property Value | |
---|---|
Type | Description |
RepeatedField<SkippedShipment.Types.Reason> |