Cloud Document AI v1 API - Class Document.Types.DocumentLayout.Types.DocumentLayoutBlock (3.18.0)

public sealed class Document.Types.DocumentLayout.Types.DocumentLayoutBlock : IMessage<Document.Types.DocumentLayout.Types.DocumentLayoutBlock>, IEquatable<Document.Types.DocumentLayout.Types.DocumentLayoutBlock>, IDeepCloneable<Document.Types.DocumentLayout.Types.DocumentLayoutBlock>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.DocumentLayout.Types.DocumentLayoutBlock.

Represents a block. A block could be one of the various types (text, table, list) supported.

Inheritance

object > Document.Types.DocumentLayout.Types.DocumentLayoutBlock

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

DocumentLayoutBlock()

public DocumentLayoutBlock()

DocumentLayoutBlock(DocumentLayoutBlock)

public DocumentLayoutBlock(Document.Types.DocumentLayout.Types.DocumentLayoutBlock other)
Parameter
Name Description
other DocumentTypesDocumentLayoutTypesDocumentLayoutBlock

Properties

BlockCase

public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.BlockOneofCase BlockCase { get; }
Property Value
Type Description
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockBlockOneofCase

BlockId

public string BlockId { get; set; }

ID of the block.

Property Value
Type Description
string

ListBlock

public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutListBlock ListBlock { get; set; }

Block consisting of list content/structure.

Property Value
Type Description
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutListBlock

PageSpan

public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutPageSpan PageSpan { get; set; }

Page span of the block.

Property Value
Type Description
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutPageSpan

TableBlock

public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTableBlock TableBlock { get; set; }

Block consisting of table content/structure.

Property Value
Type Description
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutTableBlock

TextBlock

public Document.Types.DocumentLayout.Types.DocumentLayoutBlock.Types.LayoutTextBlock TextBlock { get; set; }

Block consisting of text content.

Property Value
Type Description
DocumentTypesDocumentLayoutTypesDocumentLayoutBlockTypesLayoutTextBlock