Google Maps FleetEngine V1 Client - Class ListVehiclesResponse (0.1.2)

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

ListVehicles response message.

Generated from protobuf message maps.fleetengine.v1.ListVehiclesResponse

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vehicles array<Google\Maps\FleetEngine\V1\Vehicle>

Vehicles matching the criteria in the request. The maximum number of vehicles returned is determined by the page_size field in the request.

↳ next_page_token string

Token to retrieve the next page of vehicles, or empty if there are no more vehicles that meet the request criteria.

↳ total_size int|string

Required. Total number of vehicles matching the request criteria across all pages.

getVehicles

Vehicles matching the criteria in the request.

The maximum number of vehicles returned is determined by the page_size field in the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setVehicles

Vehicles matching the criteria in the request.

The maximum number of vehicles returned is determined by the page_size field in the request.

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

getNextPageToken

Token to retrieve the next page of vehicles, or empty if there are no more vehicles that meet the request criteria.

Returns
Type Description
string

setNextPageToken

Token to retrieve the next page of vehicles, or empty if there are no more vehicles that meet the request criteria.

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalSize

Required. Total number of vehicles matching the request criteria across all pages.

Returns
Type Description
int|string

setTotalSize

Required. Total number of vehicles matching the request criteria across all pages.

Parameter
Name Description
var int|string
Returns
Type Description
$this