Class GeminiMetadataCondition
Filter condition applicable to a single key.
public class GeminiMetadataCondition
- Inheritance
-
GeminiMetadataCondition
- Extension Methods
Fields
NumericValue
The numeric value to filter the metadata on.
public float? NumericValue
Field Value
Remarks
If this is provided, DO NOT provide StringValue.
The value type must be consistent with the value type defined in the field for the corresponding key.
If the value types are not consistent, the result will be an empty set. When the CustomMetadata has a
StringList value type, the filtering condition should use StringValue paired
with an Includes/Excludes
operation, otherwise the result will also be an empty set.
Operation
Operator applied to the given key-value pair to trigger the condition.
public GeminiMetadataConditionOperator Operation
Field Value
StringValue
The string value to filter the metadata on.
public string StringValue
Field Value
Remarks
If this is provided, DO NOT provide NumericValue.
The value type must be consistent with the value type defined in the field for the corresponding key.
If the value types are not consistent, the result will be an empty set. When the CustomMetadata has a
StringList value type, the filtering condition should use StringValue paired
with an Includes/Excludes
operation, otherwise the result will also be an empty set.