Class SearchTripsRequest
SearchTrips request message.
Implements
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class SearchTripsRequest : IMessage<SearchTripsRequest>, IEquatable<SearchTripsRequest>, IDeepCloneable<SearchTripsRequest>, IBufferMessage, IMessage, IPageRequest
Constructors
SearchTripsRequest()
Declaration
public SearchTripsRequest()
SearchTripsRequest(SearchTripsRequest)
Declaration
public SearchTripsRequest(SearchTripsRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchTripsRequest | other |
Properties
ActiveTripsOnly
If set to true, the response includes Trips that influence a driver's route.
Declaration
public bool ActiveTripsOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Header
The standard Fleet Engine request header.
Declaration
public RequestHeader Header { get; set; }
Property Value
| Type | Description |
|---|---|
| RequestHeader |
MinimumStaleness
If specified, returns the trips that have not been updated after the time
(current - minimum_staleness).
Declaration
public Duration MinimumStaleness { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |
PageSize
If not set, the server decides the number of results to return.
Declaration
public int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Implements
PageToken
Set this to a value previously returned in the SearchTripsResponse to
continue from previous results.
Declaration
public string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Implements
Parent
Required. Must be in the format providers/{provider}.
The provider must be the Project ID (for example, sample-cloud-project)
of the Google Cloud Project of which the service account making
this call is a member.
Declaration
public string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VehicleId
The vehicle associated with the trips in the request. If unspecified, the returned trips do not contain:
current_route_segmentremaining_waypointsremaining_distance_meterseta_to_first_waypoint
Declaration
public string VehicleId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |