The Cloud Function type for Schedule triggers.
Signature:
export interface ScheduleFunction extends HttpsFunction
Extends: HttpsFunction
Properties
Property | Type | Description |
---|---|---|
__requiredAPIs | ManifestRequiredAPI[] |
Methods
Method | Description |
---|---|
run(data) |
scheduler.ScheduleFunction.__requiredAPIs
Signature:
__requiredAPIs?: ManifestRequiredAPI[];
scheduler.ScheduleFunction.run()
Signature:
run(data: ScheduledEvent): void | Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
data | ScheduledEvent |
Returns:
void | Promise<void>