Creates a reference to a TaskQueue for a given function name. The function name can be either:1) A fully qualified function resource name: projects/{project}/locations/{location}/functions/{functionName}2) A partial resource name with location and function name, in which case the runtime project ID is used: locations/{location}/functions/{functionName}3) A partial function name, in which case the runtime project ID and the default location, us-central1, is used: {functionName}
Functions.app
Signature:
readonlyapp:App;
Functions.taskQueue()
Creates a reference to a TaskQueue for a given function name. The function name can be either:
1) A fully qualified function resource name: projects/{project}/locations/{location}/functions/{functionName}
2) A partial resource name with location and function name, in which case the runtime project ID is used: locations/{location}/functions/{functionName}
3) A partial function name, in which case the runtime project ID and the default location, us-central1, is used: {functionName}
[[["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 2022-07-29 UTC."],[],[],null,["# Functions class\n\nThe Firebase `Functions` service interface.\n\n**Signature:** \n\n export declare class Functions \n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|-------------------------------------------------------------|-----------|------|-------------|\n| [app](./firebase-admin.functions.functions.md#functionsapp) | | App | |\n\nMethods\n-------\n\n| Method | Modifiers | Description |\n|----------------------------------------------------------------------------------------------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [taskQueue(functionName, extensionId)](./firebase-admin.functions.functions.md#functionstaskqueue) | | Creates a reference to a [TaskQueue](./firebase-admin.functions.taskqueue.md#taskqueue_class) for a given function name. The function name can be either:1) A fully qualified function resource name: `projects/{project}/locations/{location}/functions/{functionName}`2) A partial resource name with location and function name, in which case the runtime project ID is used: `locations/{location}/functions/{functionName}`3) A partial function name, in which case the runtime project ID and the default location, `us-central1`, is used: `{functionName}` |\n\nFunctions.app\n-------------\n\n**Signature:** \n\n readonly app: App;\n\nFunctions.taskQueue()\n---------------------\n\nCreates a reference to a [TaskQueue](./firebase-admin.functions.taskqueue.md#taskqueue_class) for a given function name. The function name can be either:\n\n1) A fully qualified function resource name: `projects/{project}/locations/{location}/functions/{functionName}`\n\n2) A partial resource name with location and function name, in which case the runtime project ID is used: `locations/{location}/functions/{functionName}`\n\n3) A partial function name, in which case the runtime project ID and the default location, `us-central1`, is used: `{functionName}`\n\n**Signature:** \n\n taskQueue\u003cArgs = Record\u003cstring, any\u003e\u003e(functionName: string, extensionId?: string): TaskQueue\u003cArgs\u003e;\n\n### Parameters\n\n| Parameter | Type | Description |\n|--------------|--------|---------------------------------|\n| functionName | string | The name of the function. |\n| extensionId | string | Optional Firebase extension ID. |\n\n**Returns:**\n\n[TaskQueue](./firebase-admin.functions.taskqueue.md#taskqueue_class)\\\u003cArgs\\\u003e\n\nA promise that fulfills with a `TaskQueue`."]]