Who can enqueue tasks for this function. If left unspecified, only service accounts which have roles/cloudtasks.enqueuer and roles/cloudfunctions.invoker will have permissions.
How a task should be retried in the event of a non-2xx return.
tasks.TaskQueueOptions.invoker
Who can enqueue tasks for this function. If left unspecified, only service accounts which have roles/cloudtasks.enqueuer and roles/cloudfunctions.invoker will have permissions.
Signature:
invoker?:"private"|string|string[];
tasks.TaskQueueOptions.rateLimits
How congestion control should be applied to the function.
Signature:
rateLimits?:RateLimits;
tasks.TaskQueueOptions.retryConfig
How a task should be retried in the event of a non-2xx return.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-24 UTC."],[],[],null,["# tasks.TaskQueueOptions interface\n\nOptions for configuring the task queue to listen to.\n\n**Signature:** \n\n export interface TaskQueueOptions \n\nProperties\n----------\n\n| Property | Type | Description |\n|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [invoker](./firebase-functions.tasks.taskqueueoptions.md#taskstaskqueueoptionsinvoker) | \"private\" \\| string \\| string\\[\\] | Who can enqueue tasks for this function. If left unspecified, only service accounts which have `roles/cloudtasks.enqueuer` and `roles/cloudfunctions.invoker` will have permissions. |\n| [rateLimits](./firebase-functions.tasks.taskqueueoptions.md#taskstaskqueueoptionsratelimits) | [RateLimits](./firebase-functions.tasks.ratelimits.md#tasksratelimits_interface) | How congestion control should be applied to the function. |\n| [retryConfig](./firebase-functions.tasks.taskqueueoptions.md#taskstaskqueueoptionsretryconfig) | [RetryConfig](./firebase-functions.tasks.retryconfig.md#tasksretryconfig_interface) | How a task should be retried in the event of a non-2xx return. |\n\ntasks.TaskQueueOptions.invoker\n------------------------------\n\nWho can enqueue tasks for this function. If left unspecified, only service accounts which have `roles/cloudtasks.enqueuer` and `roles/cloudfunctions.invoker` will have permissions.\n\n**Signature:** \n\n invoker?: \"private\" | string | string[];\n\ntasks.TaskQueueOptions.rateLimits\n---------------------------------\n\nHow congestion control should be applied to the function.\n\n**Signature:** \n\n rateLimits?: RateLimits;\n\ntasks.TaskQueueOptions.retryConfig\n----------------------------------\n\nHow a task should be retried in the event of a non-2xx return.\n\n**Signature:** \n\n retryConfig?: RetryConfig;"]]