public sealed class RawDocument : IMessage<RawDocument>, IEquatable<RawDocument>, IDeepCloneable<RawDocument>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class RawDocument.
Payload message of raw document content (bytes).
Implements
IMessageRawDocument, IEquatableRawDocument, IDeepCloneableRawDocument, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
RawDocument()
public RawDocument()
RawDocument(RawDocument)
public RawDocument(RawDocument other)
Parameter | |
---|---|
Name | Description |
other |
RawDocument |
Properties
Content
public ByteString Content { get; set; }
Inline document content.
Property Value | |
---|---|
Type | Description |
ByteString |
DisplayName
public string DisplayName { get; set; }
The display name of the document, it supports all Unicode characters except
the following:
*
, ?
, [
, ]
, %
, {
, }
,'
, \"
, ,
~
, =
and :
are reserved.
If not specified, a default ID is generated.
Property Value | |
---|---|
Type | Description |
string |
MimeType
public string MimeType { get; set; }
An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1.RawDocument.content].
Property Value | |
---|---|
Type | Description |
string |