Google Maps FleetEngine V1 Client - Class SearchVehiclesResponse (0.1.1)

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

SearchVehicles response message.

Generated from protobuf message maps.fleetengine.v1.SearchVehiclesResponse

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ matches array<Google\Maps\FleetEngine\V1\VehicleMatch>

List of vehicles that match the SearchVehiclesRequest criteria, ordered according to SearchVehiclesRequest.order_by field.

getMatches

List of vehicles that match the SearchVehiclesRequest criteria, ordered according to SearchVehiclesRequest.order_by field.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMatches

List of vehicles that match the SearchVehiclesRequest criteria, ordered according to SearchVehiclesRequest.order_by field.

Parameter
Name Description
var array<Google\Maps\FleetEngine\V1\VehicleMatch>
Returns
Type Description
$this