Google Maps FleetEngine V1 Client - Class SearchTripsResponse (0.1.5)

Reference documentation and code samples for the Google Maps FleetEngine V1 Client class SearchTripsResponse.

SearchTrips response message.

Generated from protobuf message maps.fleetengine.v1.SearchTripsResponse

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ trips array<Trip>

The list of trips for the requested vehicle.

↳ next_page_token string

Pass this token in the SearchTripsRequest to page through list results. The API returns a trip list on each call, and when no more results remain the trip list is empty.

getTrips

The list of trips for the requested vehicle.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTrips

The list of trips for the requested vehicle.

Parameter
Name Description
var array<Trip>
Returns
Type Description
$this

getNextPageToken

Pass this token in the SearchTripsRequest to page through list results. The API returns a trip list on each call, and when no more results remain the trip list is empty.

Returns
Type Description
string

setNextPageToken

Pass this token in the SearchTripsRequest to page through list results. The API returns a trip list on each call, and when no more results remain the trip list is empty.

Parameter
Name Description
var string
Returns
Type Description
$this