PercentCondition interface Stay organized with collections Save and categorize content based on your preferences.
Represents a condition that compares the instance pseudo-random percentile to a given limit.
Signature:
exportinterfacePercentConditionProperties
| Property | Type | Description |
|---|---|---|
| microPercent | number | The limit of percentiles to target in micro-percents when using the LESS_OR_EQUAL and GREATER_THAN operators. The value must be in the range [0 and 100000000]. |
| microPercentRange | MicroPercentRange | The micro-percent interval to be used with the BETWEEN operator. |
| percentOperator | PercentConditionOperator | The choice of percent operator to determine how to compare targets to percent(s). |
| seed | string | The seed used when evaluating the hash function to map an instance to a value in the hash space. This is a string which can have 0 - 32 characters and can contain ASCII characters [-_.0-9a-zA-Z].The string is case-sensitive. |
PercentCondition.microPercent
The limit of percentiles to target in micro-percents when using the LESS_OR_EQUAL and GREATER_THAN operators. The value must be in the range [0 and 100000000].
Signature:
microPercent?:number;PercentCondition.microPercentRange
The micro-percent interval to be used with the BETWEEN operator.
Signature:
microPercentRange?:MicroPercentRange;PercentCondition.percentOperator
The choice of percent operator to determine how to compare targets to percent(s).
Signature:
percentOperator?:PercentConditionOperator;PercentCondition.seed
The seed used when evaluating the hash function to map an instance to a value in the hash space. This is a string which can have 0 - 32 characters and can contain ASCII characters [-_.0-9a-zA-Z].The string is case-sensitive.
Signature:
seed?:string;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-16 UTC.