google.ai.generativelanguage.Condition

Filter condition applicable to a single key.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

string_value str

The string value to filter the metadata on.

This field is a member of oneof_ value.

numeric_value float

The numeric value to filter the metadata on.

This field is a member of oneof_ value.

operation google.ai.generativelanguage.Condition.Operator

Required. Operator applied to the given key-value pair to trigger the condition.

Child Classes

class Operator