Google Maps FleetEngine V1 Client - Class DeleteTripRequest (0.5.3)

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

DeleteTrip request message.

Generated from protobuf message maps.fleetengine.v1.DeleteTripRequest

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}/trips/{trip}. 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}/trips/{trip}.

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}/trips/{trip}.

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}/trips/{trip}. 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 TripServiceClient::tripName() for help formatting this field.

Returns
Type Description
DeleteTripRequest