Cloud Optimization v1 API - Class SkippedShipment (2.3.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
int

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
RepeatedFieldSkippedShipmentTypesReason