MatchingFunctionOperator
Possible operators in a matching function.
Enums |
UNSPECIFIED
|
Not specified. |
UNKNOWN
|
Used for return value only. Represents value unknown in this version. |
IN
|
The IN operator. |
IDENTITY
|
The IDENTITY operator. |
EQUALS
|
The EQUALS operator |
AND
|
Operator that takes two or more operands that are of type FunctionOperand and checks that all the operands evaluate to true. For functions related to ad formats, all the operands must be in left_operands. |
CONTAINS_ANY
|
Operator that returns true if the elements in left_operands contain any of the elements in right_operands. Otherwise, return false. The right_operands must contain at least 1 and no more than 3 ConstantOperands. |
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-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["Matching functions utilize various operators like `IN`, `IDENTITY`, `EQUALS`, `AND`, and `CONTAINS_ANY` to define criteria for selecting elements."],["The `AND` operator requires all operands within the function to be true, especially for ad format functions where all operands must be in `left_operands`."],["`CONTAINS_ANY` operator checks if elements in `left_operands` contain any elements from `right_operands`, with `right_operands` limited to 1-3 ConstantOperands."],["While `UNSPECIFIED` and `UNKNOWN` are included, they represent unspecified or unknown values and are generally not used for active matching."]]],[]]