CustomSignalCondition interface
Stay organized with collections
Save and categorize content based on your preferences.
Represents a condition that compares provided signals against a target value.
Signature:
export interface CustomSignalCondition
Properties
CustomSignalCondition.customSignalKey
The key of the signal set in the EvaluationContext
Signature:
customSignalKey?: string;
CustomSignalCondition.customSignalOperator
The choice of custom signal operator to determine how to compare targets to value(s).
Signature:
customSignalOperator?: CustomSignalOperator;
CustomSignalCondition.targetCustomSignalValues
A list of at most 100 target custom signal values. For numeric operators, this will have exactly ONE target value.
Signature:
targetCustomSignalValues?: string[];
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-12 UTC.
[null,null,["Last updated 2024-09-12 UTC."],[],[],null,["# CustomSignalCondition interface\n\nRepresents a condition that compares provided signals against a target value.\n\n**Signature:** \n\n export interface CustomSignalCondition \n\nProperties\n----------\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| [customSignalKey](./firebase-admin.remote-config.customsignalcondition.md#customsignalconditioncustomsignalkey) | string | The key of the signal set in the EvaluationContext |\n| [customSignalOperator](./firebase-admin.remote-config.customsignalcondition.md#customsignalconditioncustomsignaloperator) | [CustomSignalOperator](./firebase-admin.remote-config.md#customsignaloperator) | The choice of custom signal operator to determine how to compare targets to value(s). |\n| [targetCustomSignalValues](./firebase-admin.remote-config.customsignalcondition.md#customsignalconditiontargetcustomsignalvalues) | string\\[\\] | A list of at most 100 target custom signal values. For numeric operators, this will have exactly ONE target value. |\n\nCustomSignalCondition.customSignalKey\n-------------------------------------\n\nThe key of the signal set in the EvaluationContext\n\n**Signature:** \n\n customSignalKey?: string;\n\nCustomSignalCondition.customSignalOperator\n------------------------------------------\n\nThe choice of custom signal operator to determine how to compare targets to value(s).\n\n**Signature:** \n\n customSignalOperator?: CustomSignalOperator;\n\nCustomSignalCondition.targetCustomSignalValues\n----------------------------------------------\n\nA list of at most 100 target custom signal values. For numeric operators, this will have exactly ONE target value.\n\n**Signature:** \n\n targetCustomSignalValues?: string[];"]]