Forge Long Running Compute is now accessible through Forge's Early Access Program (EAP). For details on how to sign up for the EAP, see the changelog announcement.
EAPs are offered to selected users for testing and feedback purposes. APIs and features under EAP are unsupported and subject to change without notice. APIs and features under EAP are not recommended for use in production environments.
For more details, see Forge EAP, Preview, and GA.
The function
module is where the app's behavior is defined. Other modules specify the function module
that defines the actions to take.
Property | Type | Required | Description |
---|---|---|---|
key | string | Yes | A key for the module, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters. Regex: |
handler | string | Yes | A pointer to the function responsible for handling invocations. Expected format: For example, Regex: |
providers | Providers | A list of the providers required by the function. | |
timeoutSeconds (EAP) | integer | No | A maximum timeout, in seconds, for a function that is always invoked as a This parameter has no effect on functions that are not used as async event consumers. Range: 1-900 |
1 2modules: function: - key: main handler: index.run
1 2export interface ProviderReference { provider: string; requiredScopes?: string[]; }
Property | Type | Required | Description |
---|---|---|---|
auth | List<ProviderReference|string> | Yes | A list of keys or objects referencing authentication providers. Using |
1 2function: - key: google-macro handler: index.google_macro providers: auth: - provider: google requiredScopes: - 'https://www.googleapis.com/auth/userinfo.profile' - 'https://www.googleapis.com/auth/userinfo.email' - key: dropbox-macro handler: index.dropbox_macro providers: auth: - dropbox
Rate this page: