Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentDocumentLayout
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentDocumentLayout
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
Represents the parsed layout of a document as a collection of blocks that the document is divided into.
Instance Attribute Summary collapse
-
#blocks ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock>
List of blocks in the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayout
constructor
A new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayout.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayout
Returns a new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayout.
4850 4851 4852 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4850 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blocks ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock>
List of blocks in the document.
Corresponds to the JSON property blocks
4848 4849 4850 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4848 def blocks @blocks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4855 4856 4857 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4855 def update!(**args) @blocks = args[:blocks] if args.key?(:blocks) end |