Google Maps FleetEngine V1 Client - Class DeleteVehicleRequest (0.3.0)

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

DeleteVehicle request message.

Generated from protobuf message maps.fleetengine.v1.DeleteVehicleRequest

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ header RequestHeader

Optional. The standard Fleet Engine request header.

↳ name string

Required. Must be in the format providers/{provider}/vehicles/{vehicle}. 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.

getHeader

Optional. The standard Fleet Engine request header.

Returns
Type Description
RequestHeader|null

hasHeader

clearHeader

setHeader

Optional. The standard Fleet Engine request header.

Parameter
Name Description
var RequestHeader
Returns
Type Description
$this

getName

Required. Must be in the format providers/{provider}/vehicles/{vehicle}.

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.

Returns
Type Description
string

setName

Required. Must be in the format providers/{provider}/vehicles/{vehicle}.

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.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Must be in the format providers/{provider}/vehicles/{vehicle}. 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. Please see VehicleServiceClient::vehicleName() for help formatting this field.

Returns
Type Description
DeleteVehicleRequest