LIKE
The security rules editor supports the regular expression operator "like". This operator is not case sensitive.
For more information, see applicable javascript documentation.
Syntax:
(EXPRESSION) like (EXPRESSION)
Examples and results:
Example | Result |
---|---|
resource.name like "mya*" | Evaluates all resources with names beginning with "mya" to True, irrespective of case. Information noteEntering an asterisk at the end of the condition in the Basic view automatically translates to "like" in the condition in the Advanced view. |