Class FilePart (0.13.5)

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

FilePart represents the different ways files can be provided.

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
file_with_uri str
The URI pointing to the file. This field is a member of oneof_ file.
file_with_bytes bytes
The raw bytes of the file. This field is a member of oneof_ file.
mime_type str
Optional. The MIME type of the file.
name str
Optional. The name of the file.