Class GetTripRequest
Inheritance
GetTripRequest
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class GetTripRequest : IMessage<GetTripRequest>, IEquatable<GetTripRequest>, IDeepCloneable<GetTripRequest>, IBufferMessage, IMessage
Constructors
GetTripRequest()
Declaration
GetTripRequest(GetTripRequest)
Declaration
public GetTripRequest(GetTripRequest other)
Parameters
Properties
CurrentRouteSegmentTrafficVersion
Indicates the minimum timestamp (exclusive) for which
Trip.current_route_segment_traffic
is retrieved. If traffic data are
unchanged since this timestamp, the current_route_segment_traffic
field
is not set in the response. If a minimum is unspecified, the traffic data
are always retrieved. Note that traffic is only available for On-Demand
Rides and Deliveries Solution customers.
Declaration
public Timestamp CurrentRouteSegmentTrafficVersion { get; set; }
Property Value
CurrentRouteSegmentVersion
Indicates the minimum timestamp (exclusive) for which Trip.route
or
Trip.current_route_segment
data are retrieved. If route data are
unchanged since this timestamp, the route field is not set in the response.
If a minimum is unspecified, the route data are always retrieved.
Declaration
public Timestamp CurrentRouteSegmentVersion { get; set; }
Property Value
The standard Fleet Engine request header.
Declaration
public RequestHeader Header { get; set; }
Property Value
Name
Required. Must be in the format providers/{provider}/trips/{trip}
.
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 Name { get; set; }
Property Value
RemainingWaypointsRouteVersion
Indicates the minimum timestamp (exclusive) for which
Trip.remaining_waypoints.traffic_to_waypoint
and
Trip.remaining_waypoints.path_to_waypoint
data are retrieved. If data are
unchanged since this timestamp, the fields above are
not set in the response. If remaining_waypoints_route_version
is
unspecified, traffic and path are always retrieved.
Declaration
public Timestamp RemainingWaypointsRouteVersion { get; set; }
Property Value
RemainingWaypointsVersion
Indicates the minimum timestamp (exclusive) for which
Trip.remaining_waypoints
are retrieved. If they are unchanged since this
timestamp, the remaining_waypoints
are not set in the response. If this
field is unspecified, remaining_waypoints
is always retrieved.
Declaration
public Timestamp RemainingWaypointsVersion { get; set; }
Property Value
The returned current route format, LAT_LNG_LIST_TYPE
(in Trip.route
),
or ENCODED_POLYLINE_TYPE
(in Trip.current_route_segment
). The default
is LAT_LNG_LIST_TYPE
.
Declaration
public PolylineFormatType RouteFormatType { get; set; }
Property Value
TripName
Declaration
public TripName TripName { get; set; }
Property Value
View
The subset of Trip fields that should be returned and their interpretation.
Declaration
public TripView View { get; set; }
Property Value