Cloud Optimization v1 API - Class FleetRouting (2.3.0)

public static class FleetRouting

Reference documentation and code samples for the Cloud Optimization v1 API class FleetRouting.

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.

Inheritance

object > FleetRouting

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Methods

BindService(FleetRoutingBase)

public static ServerServiceDefinition BindService(FleetRouting.FleetRoutingBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplFleetRoutingFleetRoutingBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, FleetRoutingBase)

public static void BindService(ServiceBinderBase serviceBinder, FleetRouting.FleetRoutingBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplFleetRoutingFleetRoutingBase

An object implementing the server-side handling logic.