Reference documentation and code samples for the Google Cloud Optimization V1 Client 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.
Generated from protobuf messagegoogle.cloud.optimization.v1.SkippedShipment
Namespace
Google \ Cloud \ Optimization \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ index
int
The index corresponds to the index of the shipment in the sourceShipmentModel.
↳ label
string
Copy of the correspondingShipment.label, if specified in theShipment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Optimization V1 Client - Class SkippedShipment (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-optimization/latest/V1.SkippedShipment)\n- [1.0.4](/php/docs/reference/cloud-optimization/1.0.4/V1.SkippedShipment)\n- [0.7.0](/php/docs/reference/cloud-optimization/0.7.0/V1.SkippedShipment)\n- [0.6.5](/php/docs/reference/cloud-optimization/0.6.5/V1.SkippedShipment)\n- [0.5.1](/php/docs/reference/cloud-optimization/0.5.1/V1.SkippedShipment)\n- [0.4.0](/php/docs/reference/cloud-optimization/0.4.0/V1.SkippedShipment)\n- [0.3.4](/php/docs/reference/cloud-optimization/0.3.4/V1.SkippedShipment)\n- [0.2.0](/php/docs/reference/cloud-optimization/0.2.0/V1.SkippedShipment)\n- [0.1.9](/php/docs/reference/cloud-optimization/0.1.9/V1.SkippedShipment) \nReference documentation and code samples for the Google Cloud Optimization V1 Client class SkippedShipment.\n\nSpecifies details of unperformed shipments in a solution. For trivial cases\nand/or if we are able to identify the cause for skipping, we report the\nreason here.\n\nGenerated from protobuf message `google.cloud.optimization.v1.SkippedShipment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Optimization \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIndex\n\nThe index corresponds to the index of the shipment in the source\n`ShipmentModel`.\n\n### setIndex\n\nThe index corresponds to the index of the shipment in the source\n`ShipmentModel`.\n\n### getLabel\n\nCopy of the corresponding\n[Shipment.label](/php/docs/reference/cloud-optimization/latest/V1.Shipment#_Google_Cloud_Optimization_V1_Shipment__getLabel__), if specified\nin the `Shipment`.\n\n### setLabel\n\nCopy of the corresponding\n[Shipment.label](/php/docs/reference/cloud-optimization/latest/V1.Shipment#_Google_Cloud_Optimization_V1_Shipment__getLabel__), if specified\nin the `Shipment`.\n\n### getReasons\n\nA list of reasons that explain why the shipment was skipped. See comment\nabove `Reason`.\n\n### setReasons\n\nA list of reasons that explain why the shipment was skipped. See comment\nabove `Reason`."]]