alerts.performance namespace

機能

関数説明
onThresholdAlertPublished(ハンドラー)パフォーマンスしきい値アラートの受信を処理できる関数を宣言します。
onThresholdAlertPublished(appId, ハンドラー)パフォーマンスしきい値アラートの受信を処理できる関数を宣言します。
onThresholdAlertPublished(opts, ハンドラー)パフォーマンスしきい値アラートの受信を処理できる関数を宣言します。

インターフェース

インターフェース説明
パフォーマンスイベントFirebase アラート用のカスタム CloudEvent (カスタム拡張属性付き)。
パフォーマンスオプションアプリ配信機能の設定。
しきい値アラートペイロードパフォーマンスしきい値アラートの内部ペイロード オブジェクト。ペイロードはオブジェクト内にラップされます。

アラート.パフォーマンス.onThresholdAlertPublished()

パフォーマンスしきい値アラートの受信を処理できる関数を宣言します。

サイン:

export declare function onThresholdAlertPublished(handler: (event: PerformanceEvent<ThresholdAlertPayload>) => any | Promise<any>): CloudFunction<PerformanceEvent<ThresholdAlertPayload>>;

パラメーター

パラメータタイプ説明
ハンドラ(イベント:パフォーマンスイベント< ThresholdAlertペイロード>) => 任意 |約束<任意>しきい値アラートを受信するたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<パフォーマンスイベント< ThresholdAlertペイロード>>

エクスポートしてデプロイできる機能。

アラート.パフォーマンス.onThresholdAlertPublished()

パフォーマンスしきい値アラートの受信を処理できる関数を宣言します。

サイン:

export declare function onThresholdAlertPublished(appId: string, handler: (event: PerformanceEvent<ThresholdAlertPayload>) => any | Promise<any>): CloudFunction<PerformanceEvent<ThresholdAlertPayload>>;

パラメーター

パラメータタイプ説明
アプリIDハンドラーがトリガーされる特定のアプリケーション。
ハンドラ(イベント:パフォーマンスイベント< ThresholdAlertペイロード>) => 任意 |約束<任意>しきい値アラートを受信するたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<パフォーマンスイベント< ThresholdAlertペイロード>>

エクスポートしてデプロイできる機能。

アラート.パフォーマンス.onThresholdAlertPublished()

パフォーマンスしきい値アラートの受信を処理できる関数を宣言します。

サイン:

export declare function onThresholdAlertPublished(opts: PerformanceOptions, handler: (event: PerformanceEvent<ThresholdAlertPayload>) => any | Promise<any>): CloudFunction<PerformanceEvent<ThresholdAlertPayload>>;

パラメーター

パラメータタイプ説明
選択しますパフォーマンスオプション機能に設定できるオプション。
ハンドラ(イベント:パフォーマンスイベント< ThresholdAlertペイロード>) => 任意 |約束<任意>しきい値アラートを受信するたびに実行されるイベント ハンドラー。

戻り値:

クラウドファンクション<パフォーマンスイベント< ThresholdAlertペイロード>>

エクスポートしてデプロイできる機能。