Cloud Optimization v1 API - Class FleetRouting (2.5.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
Name Description
serviceImpl FleetRoutingFleetRoutingBase

An object implementing the server-side handling logic.

Returns
Type Description
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
Name Description
serviceBinder ServiceBinderBase

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

serviceImpl FleetRoutingFleetRoutingBase

An object implementing the server-side handling logic.