Class ImageQuery (0.1.6)

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

Image query for search endpoint request.

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
input_image bytes
Input image in raw bytes. This field is a member of oneof_ image.
asset str
Resource name of the asset. Only supported in IMAGE corpus type. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id} This field is a member of oneof_ image.