Reference documentation and code samples for the Google Maps FleetEngine V1 Client class VehicleType.
The type of vehicle.
Generated from protobuf message maps.fleetengine.v1.Vehicle.VehicleType
Namespace
Google \ Maps \ FleetEngine \ V1 \ VehicleMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ category |
int
Vehicle type category |
getCategory
Vehicle type category
| Returns | |
|---|---|
| Type | Description |
int |
|
setCategory
Vehicle type category
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|