Show / Hide Table of Contents

Class TripServiceSettings

Settings for TripServiceClient instances.

Inheritance
object
ServiceSettingsBase
TripServiceSettings
Inherited Members
ServiceSettingsBase.VersionHeaderBuilder
ServiceSettingsBase.CallSettings
ServiceSettingsBase.Clock
ServiceSettingsBase.Scheduler
ServiceSettingsBase.Interceptor
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class TripServiceSettings : ServiceSettingsBase

Constructors

TripServiceSettings()

Constructs a new TripServiceSettings object with default settings.

Declaration
public TripServiceSettings()

Properties

CreateTripSettings

CallSettings for synchronous and asynchronous calls to TripServiceClient.CreateTrip and TripServiceClient.CreateTripAsync.

Declaration
public CallSettings CreateTripSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 15 seconds.

DeleteTripSettings

CallSettings for synchronous and asynchronous calls to TripServiceClient.DeleteTrip and TripServiceClient.DeleteTripAsync.

Declaration
public CallSettings DeleteTripSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetTripSettings

CallSettings for synchronous and asynchronous calls to TripServiceClient.GetTrip and TripServiceClient.GetTripAsync.

Declaration
public CallSettings GetTripSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 15 seconds.

ReportBillableTripSettings

CallSettings for synchronous and asynchronous calls to TripServiceClient.ReportBillableTrip and TripServiceClient.ReportBillableTripAsync.

Declaration
public CallSettings ReportBillableTripSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

SearchTripsSettings

CallSettings for synchronous and asynchronous calls to TripServiceClient.SearchTrips and TripServiceClient.SearchTripsAsync.

Declaration
public CallSettings SearchTripsSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 15 seconds.

UpdateTripSettings

CallSettings for synchronous and asynchronous calls to TripServiceClient.UpdateTrip and TripServiceClient.UpdateTripAsync.

Declaration
public CallSettings UpdateTripSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 15 seconds.

Methods

Clone()

Creates a deep clone of this object, with all the same property values.

Declaration
public TripServiceSettings Clone()
Returns
Type Description
TripServiceSettings

A deep clone of this TripServiceSettings object.

GetDefault()

Get a new instance of the default TripServiceSettings.

Declaration
public static TripServiceSettings GetDefault()
Returns
Type Description
TripServiceSettings

A new instance of the default TripServiceSettings.

In this article
Back to top Generated by DocFX