Class Image

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

A representation of an image. Only images up to 30MB in size are supported.

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

NameDescription
image_bytes bytes
Image content represented as a stream of bytes. Note: As with all ``bytes`` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. This field is a member of `oneof`_ ``data``.
input_config google.cloud.automl_v1beta1.types.InputConfig
An input config specifying the content of the image. This field is a member of `oneof`_ ``data``.
thumbnail_uri str
Output only. HTTP URI to the thumbnail image.

Inheritance

builtins.object > proto.message.Message > Image