Cloud Optimization v1 API - Class SkippedShipment (2.0.0)

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.

Inheritance

Object > SkippedShipment

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

SkippedShipment()

public SkippedShipment()

SkippedShipment(SkippedShipment)

public SkippedShipment(SkippedShipment other)
Parameter
NameDescription
otherSkippedShipment

Properties

Index

public int Index { get; set; }

The index corresponds to the index of the shipment in the source ShipmentModel.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
RepeatedField<SkippedShipment.Types.Reason>