Module: Google::Cloud::Optimization::V1::FleetRouting

Defined in:
lib/google/cloud/optimization/v1/fleet_routing.rb,
lib/google/cloud/optimization/v1/fleet_routing/rest.rb,
lib/google/cloud/optimization/v1/fleet_routing/client.rb,
lib/google/cloud/optimization/v1/fleet_routing/operations.rb,
lib/google/cloud/optimization/v1/fleet_routing/credentials.rb,
lib/google/cloud/optimization/v1/fleet_routing/rest/client.rb,
lib/google/cloud/optimization/v1/fleet_routing/rest/operations.rb,
lib/google/cloud/optimization/v1/fleet_routing/rest/service_stub.rb

Overview

A service for optimizing vehicle tours.

Validity of certain types of fields:

  • google.protobuf.Timestamp
    • Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00.
    • seconds must be in [0, 253402300799], i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00].
    • nanos must be unset or set to 0.
  • google.protobuf.Duration
    • seconds must be in [0, 253402300799], i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00].
    • nanos must be unset or set to 0.
  • google.type.LatLng
    • latitude must be in [-90.0, 90.0].
    • longitude must be in [-180.0, 180.0].
    • at least one of latitude and longitude must be non-zero.

To load this service and instantiate a REST client:

require "google/cloud/optimization/v1/fleet_routing/rest"
client = ::Google::Cloud::Optimization::V1::FleetRouting::Rest::Client.new

Defined Under Namespace

Modules: Rest Classes: Client, Credentials, Operations