[[["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 - Module Google::Cloud::Optimization::V1::FleetRouting (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-FleetRouting)\n- [0.11.1](/ruby/docs/reference/google-cloud-optimization-v1/0.11.1/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.10.0](/ruby/docs/reference/google-cloud-optimization-v1/0.10.0/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.9.2](/ruby/docs/reference/google-cloud-optimization-v1/0.9.2/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.8.2](/ruby/docs/reference/google-cloud-optimization-v1/0.8.2/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.7.0](/ruby/docs/reference/google-cloud-optimization-v1/0.7.0/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.6.0](/ruby/docs/reference/google-cloud-optimization-v1/0.6.0/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.5.0](/ruby/docs/reference/google-cloud-optimization-v1/0.5.0/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.4.1](/ruby/docs/reference/google-cloud-optimization-v1/0.4.1/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.3.0](/ruby/docs/reference/google-cloud-optimization-v1/0.3.0/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.2.1](/ruby/docs/reference/google-cloud-optimization-v1/0.2.1/Google-Cloud-Optimization-V1-FleetRouting)\n- [0.1.1](/ruby/docs/reference/google-cloud-optimization-v1/0.1.1/Google-Cloud-Optimization-V1-FleetRouting) \nReference documentation and code samples for the Cloud Optimization V1 API module Google::Cloud::Optimization::V1::FleetRouting.\n\nA service for optimizing vehicle tours.\n\nValidity of certain types of fields:\n\n- `google.protobuf.Timestamp`\n - Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00.\n - seconds must be in \\[0, 253402300799\\], i.e. in \\[1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00\\].\n - nanos must be unset or set to 0.\n- `google.protobuf.Duration`\n - seconds must be in \\[0, 253402300799\\], i.e. in \\[1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00\\].\n - nanos must be unset or set to 0.\n- `google.type.LatLng`\n - latitude must be in \\[-90.0, 90.0\\].\n - longitude must be in \\[-180.0, 180.0\\].\n - at least one of latitude and longitude must be non-zero.\n\nTo load this service and instantiate a REST client: \n\n require \"google/cloud/optimization/v1/fleet_routing/rest\"\n client = ::Google::Cloud::Optimization::V1::FleetRouting::Rest::Client.new"]]