Class GoogleCloudDiscoveryengineV1DocumentContent
Unstructured data linked to this document.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1DocumentContent : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MimeType
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.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type | Description |
---|---|
string |
RawBytes
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.
Declaration
[JsonProperty("rawBytes")]
public virtual string RawBytes { get; set; }
Property Value
Type | Description |
---|---|
string |
Uri
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.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |