Cloud Document AI v1 API - Class RawDocument (3.12.0)

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).

Inheritance

object > RawDocument

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

RawDocument()

public RawDocument()

RawDocument(RawDocument)

public RawDocument(RawDocument other)
Parameter
NameDescription
otherRawDocument

Properties

Content

public ByteString Content { get; set; }

Inline document content.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string