Google AutoML v1 API - Class Document (3.3.0)

public sealed class Document : IMessage<Document>, IEquatable<Document>, IDeepCloneable<Document>, IBufferMessage, IMessage

Reference documentation and code samples for the Google AutoML v1 API class Document.

A structured text document e.g. a PDF.

Inheritance

object > Document

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

Document()

public Document()

Document(Document)

public Document(Document other)
Parameter
NameDescription
otherDocument

Properties

DocumentDimensions

public DocumentDimensions DocumentDimensions { get; set; }

The dimensions of the page in the document.

Property Value
TypeDescription
DocumentDimensions

DocumentText

public TextSnippet DocumentText { get; set; }

The plain text version of this document.

Property Value
TypeDescription
TextSnippet

InputConfig

public DocumentInputConfig InputConfig { get; set; }

An input config specifying the content of the document.

Property Value
TypeDescription
DocumentInputConfig

Layout

public RepeatedField<Document.Types.Layout> Layout { get; }

Describes the layout of the document. Sorted by [page_number][].

Property Value
TypeDescription
RepeatedFieldDocumentTypesLayout

PageCount

public int PageCount { get; set; }

Number of pages in the document.

Property Value
TypeDescription
int