Google Maps FleetEngine Delivery V1 Client - Class GetTaskRequest (0.1.6)

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

The GetTask request message.

Generated from protobuf message maps.fleetengine.delivery.v1.GetTaskRequest

Namespace

Google \ Maps \ FleetEngine \ Delivery \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ header DeliveryRequestHeader

Optional. The standard Delivery API request header.

↳ name string

Required. Must be in the format providers/{provider}/tasks/{task}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project.

getHeader

Optional. The standard Delivery API request header.

Returns
Type Description
DeliveryRequestHeader|null

hasHeader

clearHeader

setHeader

Optional. The standard Delivery API request header.

Parameter
Name Description
var DeliveryRequestHeader
Returns
Type Description
$this

getName

Required. Must be in the format providers/{provider}/tasks/{task}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project.

Returns
Type Description
string

setName

Required. Must be in the format providers/{provider}/tasks/{task}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Must be in the format providers/{provider}/tasks/{task}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project. Please see DeliveryServiceClient::taskName() for help formatting this field.

Returns
Type Description
GetTaskRequest