# Google Maps FleetEngine Delivery V1 Client - Class GetTaskTrackingInfoRequest (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.1 0.2.0 0.1.8 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` | `https://docs.cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest/V1.DeliveryRequestHeader|null` |   |

### hasHeader

### clearHeader

### setHeader

Optional. The standard Delivery API request header.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest/V1.GetTaskTrackingInfoRequest` |   |