Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#index
defindex()->::Integer
Returns
(::Integer) — The index corresponds to the index of the shipment in the source
ShipmentModel.
#index=
defindex=(value)->::Integer
Parameter
value (::Integer) — The index corresponds to the index of the shipment in the source
ShipmentModel.
Returns
(::Integer) — The index corresponds to the index of the shipment in the source
ShipmentModel.
#label
deflabel()->::String
Returns
(::String) — Copy of the corresponding
Shipment.label, if specified
in the Shipment.
#label=
deflabel=(value)->::String
Parameter
value (::String) — Copy of the corresponding
Shipment.label, if specified
in the Shipment.
Returns
(::String) — Copy of the corresponding
Shipment.label, if specified
in the Shipment.
[[["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-09 UTC."],[],[],null,["# Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::SkippedShipment (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.11.1](/ruby/docs/reference/google-cloud-optimization-v1/0.11.1/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.10.0](/ruby/docs/reference/google-cloud-optimization-v1/0.10.0/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.9.2](/ruby/docs/reference/google-cloud-optimization-v1/0.9.2/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.8.2](/ruby/docs/reference/google-cloud-optimization-v1/0.8.2/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.7.0](/ruby/docs/reference/google-cloud-optimization-v1/0.7.0/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.6.0](/ruby/docs/reference/google-cloud-optimization-v1/0.6.0/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.5.0](/ruby/docs/reference/google-cloud-optimization-v1/0.5.0/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.4.1](/ruby/docs/reference/google-cloud-optimization-v1/0.4.1/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.3.0](/ruby/docs/reference/google-cloud-optimization-v1/0.3.0/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.2.1](/ruby/docs/reference/google-cloud-optimization-v1/0.2.1/Google-Cloud-Optimization-V1-SkippedShipment)\n- [0.1.1](/ruby/docs/reference/google-cloud-optimization-v1/0.1.1/Google-Cloud-Optimization-V1-SkippedShipment) \nReference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #index\n\n def index() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The index corresponds to the index of the shipment in the source `ShipmentModel`.\n\n### #index=\n\n def index=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The index corresponds to the index of the shipment in the source `ShipmentModel`. \n**Returns**\n\n- (::Integer) --- The index corresponds to the index of the shipment in the source `ShipmentModel`.\n\n### #label\n\n def label() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Copy of the corresponding [Shipment.label](/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-Shipment#Google__Cloud__Optimization__V1__Shipment_label_instance_ \"Google::Cloud::Optimization::V1::Shipment#label (method)\"), if specified in the `Shipment`.\n\n### #label=\n\n def label=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Copy of the corresponding [Shipment.label](/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-Shipment#Google__Cloud__Optimization__V1__Shipment_label_instance_ \"Google::Cloud::Optimization::V1::Shipment#label (method)\"), if specified in the `Shipment`. \n**Returns**\n\n- (::String) --- Copy of the corresponding [Shipment.label](/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-Shipment#Google__Cloud__Optimization__V1__Shipment_label_instance_ \"Google::Cloud::Optimization::V1::Shipment#label (method)\"), if specified in the `Shipment`.\n\n### #reasons\n\n def reasons() -\u003e ::Array\u003c::Google::Cloud::Optimization::V1::SkippedShipment::Reason\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Optimization::V1::SkippedShipment::Reason](./Google-Cloud-Optimization-V1-SkippedShipment-Reason)\\\u003e) --- A list of reasons that explain why the shipment was skipped. See comment above `Reason`.\n\n### #reasons=\n\n def reasons=(value) -\u003e ::Array\u003c::Google::Cloud::Optimization::V1::SkippedShipment::Reason\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Optimization::V1::SkippedShipment::Reason](./Google-Cloud-Optimization-V1-SkippedShipment-Reason)\\\u003e) --- A list of reasons that explain why the shipment was skipped. See comment above `Reason`. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Optimization::V1::SkippedShipment::Reason](./Google-Cloud-Optimization-V1-SkippedShipment-Reason)\\\u003e) --- A list of reasons that explain why the shipment was skipped. See comment above `Reason`."]]