Class OrderByAnnotation (1.22.1)

OrderByAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Expression that allows ranking results based on annotation's property.

Attributes

NameDescription
saved_query str
Required. Saved query of the Annotation. Only Annotations belong to this saved query will be considered for ordering.
order_by str
A comma-separated list of annotation fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Must also specify saved_query.

Inheritance

builtins.object > proto.message.Message > OrderByAnnotation