Optional. The standard Delivery API request header. Note: If you set this field, then the header field in the CreateTaskRequest messages must either be empty, or it must match this field.
↳ parent
string
Required. The parent resource shared by all tasks. This value must be in the format providers/{provider}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project. The parent field in the CreateTaskRequest messages must either be empty, or it must match this field.
Required. The parent resource shared by all tasks. This value must be in
the format providers/{provider}. The provider must be the Google Cloud
Project ID. For example, sample-cloud-project. The parent field in the
CreateTaskRequest messages must either be empty, or it must match this
field.
Returns
Type
Description
string
setParent
Required. The parent resource shared by all tasks. This value must be in
the format providers/{provider}. The provider must be the Google Cloud
Project ID. For example, sample-cloud-project. The parent field in the
CreateTaskRequest messages must either be empty, or it must match this
field.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRequests
Required. The request message that specifies the resources to create.
Note: You can create a maximum of 500 tasks in a batch.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Maps FleetEngine Delivery V1 Client - Class BatchCreateTasksRequest (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine-delivery/latest/V1.BatchCreateTasksRequest)\n- [0.4.0](/php/docs/reference/maps-fleetengine-delivery/0.4.0/V1.BatchCreateTasksRequest)\n- [0.3.1](/php/docs/reference/maps-fleetengine-delivery/0.3.1/V1.BatchCreateTasksRequest)\n- [0.2.0](/php/docs/reference/maps-fleetengine-delivery/0.2.0/V1.BatchCreateTasksRequest)\n- [0.1.8](/php/docs/reference/maps-fleetengine-delivery/0.1.8/V1.BatchCreateTasksRequest) \nReference documentation and code samples for the Google Maps FleetEngine Delivery V1 Client class BatchCreateTasksRequest.\n\nThe `BatchCreateTask` request message.\n\nGenerated from protobuf message `maps.fleetengine.delivery.v1.BatchCreateTasksRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ FleetEngine \\\\ Delivery \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getHeader\n\nOptional. The standard Delivery API request header.\n\nNote: If you set this field, then the header field in the\n`CreateTaskRequest` messages must either be empty, or it must match this\nfield.\n\n### hasHeader\n\n### clearHeader\n\n### setHeader\n\nOptional. The standard Delivery API request header.\n\nNote: If you set this field, then the header field in the\n`CreateTaskRequest` messages must either be empty, or it must match this\nfield.\n\n### getParent\n\nRequired. The parent resource shared by all tasks. This value must be in\nthe format `providers/{provider}`. The `provider` must be the Google Cloud\nProject ID. For example, `sample-cloud-project`. The parent field in the\n`CreateTaskRequest` messages must either be empty, or it must match this\nfield.\n\n### setParent\n\nRequired. The parent resource shared by all tasks. This value must be in\nthe format `providers/{provider}`. The `provider` must be the Google Cloud\nProject ID. For example, `sample-cloud-project`. The parent field in the\n`CreateTaskRequest` messages must either be empty, or it must match this\nfield.\n\n### getRequests\n\nRequired. The request message that specifies the resources to create.\n\nNote: You can create a maximum of 500 tasks in a batch.\n\n### setRequests\n\nRequired. The request message that specifies the resources to create.\n\nNote: You can create a maximum of 500 tasks in a batch."]]