Show / Hide Table of Contents

Class GetTripRequest

GetTrip request message.

Inheritance
object
GetTripRequest
Implements
IMessage<GetTripRequest>
IEquatable<GetTripRequest>
IDeepCloneable<GetTripRequest>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class GetTripRequest : IMessage<GetTripRequest>, IEquatable<GetTripRequest>, IDeepCloneable<GetTripRequest>, IBufferMessage, IMessage

Constructors

GetTripRequest()

Declaration
public GetTripRequest()

GetTripRequest(GetTripRequest)

Declaration
public GetTripRequest(GetTripRequest other)
Parameters
Type Name Description
GetTripRequest other

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
Type Description
Timestamp

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
Type Description
Timestamp

Header

The standard Fleet Engine request header.

Declaration
public RequestHeader Header { get; set; }
Property Value
Type Description
RequestHeader

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
Type Description
string

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
Type Description
Timestamp

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
Type Description
Timestamp

RouteFormatType

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
Type Description
PolylineFormatType

TripName

TripName-typed view over the Name resource name property.

Declaration
public TripName TripName { get; set; }
Property Value
Type Description
TripName

View

The subset of Trip fields that should be returned and their interpretation.

Declaration
public TripView View { get; set; }
Property Value
Type Description
TripView
In this article
Back to top Generated by DocFX