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

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

The GetTaskTrackingInfoRequest request message.

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

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}/taskTrackingInfo/{tracking_id}. The provider must be the Google Cloud Project ID, and the tracking_id must be the tracking ID associated with the task. An example name can be providers/sample-cloud-project/taskTrackingInfo/sample-tracking-id.

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}/taskTrackingInfo/{tracking_id}. The provider must be the Google Cloud Project ID, and the tracking_id must be the tracking ID associated with the task. An example name can be providers/sample-cloud-project/taskTrackingInfo/sample-tracking-id.

Returns
Type Description
string

setName

Required. Must be in the format providers/{provider}/taskTrackingInfo/{tracking_id}. The provider must be the Google Cloud Project ID, and the tracking_id must be the tracking ID associated with the task. An example name can be providers/sample-cloud-project/taskTrackingInfo/sample-tracking-id.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Must be in the format providers/{provider}/taskTrackingInfo/{tracking_id}. The provider must be the Google Cloud Project ID, and the tracking_id must be the tracking ID associated with the task. An example name can be providers/sample-cloud-project/taskTrackingInfo/sample-tracking-id. Please see DeliveryServiceClient::taskTrackingInfoName() for help formatting this field.

Returns
Type Description
GetTaskTrackingInfoRequest