0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

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

Unstructured data linked to this document.

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** |
| `raw_bytes` | `bytes` The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / `0.95` MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, \``abc123!?$*&()'-=@`\`\`\` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json. This field is a member of `oneof`_ `content`. |
| `uri` | `str` The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 200 MB for other formats. This field is a member of `oneof`_ `content`. |
| `mime_type` | `str` The MIME type of the content. Supported types: - `application/pdf` (PDF, only native PDFs are supported for now) - `text/html` (HTML) - `text/plain` (TXT) - `application/xml` or `text/xml` (XML) - `application/json` (JSON) - `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) - `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) - `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) - `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are supported only if layout parser is enabled in the data store: - `image/bmp` (BMP) - `image/gif` (GIF) - `image/jpeg` (JPEG) - `image/png` (PNG) - `image/tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.xhtml. |