Class BatchCreateTasksRequest (2.24.0)

BatchCreateTasksRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for [BatchCreateTasks].

Attributes

Name Description
parent str
Required. The queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID The queue must already exist.
requests MutableSequence[google.cloud.tasks_v2beta3.types.CreateTaskRequest]
Required. The list of requests to create tasks. The queue specified in parent field of each CreateTaskRequest will be the same. This validation happens on the client side as well as in the handler. BatchCreateTasksRequest.parent will also be the same value as the individual CreateTaskRequest.parent . The maximum number of requests is 100.
request_id str
Optional. This field will be used to identify the long running operation, avoiding duplication when user retries. If not provided, then a UUID will be generated at server side.