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