GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1DocumentContent (google_api_discovery_engine v0.28.0)
View SourceUnstructured data linked to this document.
Attributes
-
mimeType(type:String.t, default:nil) - The MIME type of the content. Supported types:application/pdf(PDF, only native PDFs are supported for now)text/html(HTML)application/vnd.openxmlformats-officedocument.wordprocessingml.document(DOCX)application/vnd.openxmlformats-officedocument.presentationml.presentation(PPTX) *text/plain(TXT) See https://www.iana.org/assignments/media-types/media-types.xhtml. -
rawBytes(type:String.t, default:nil) - The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with allbytesfields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example,abc123!?$*&()'-=@~should be represented asYWJjMTIzIT8kKiYoKSctPUB+in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json. -
uri(type:String.t, default:nil) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.