Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocument
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocument
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Represents the chunks that the document is divided into.
Instance Attribute Summary collapse
-
#chunks ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk>
List of chunks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentChunkedDocument
constructor
A new instance of GoogleCloudDocumentaiV1DocumentChunkedDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentChunkedDocument
Returns a new instance of GoogleCloudDocumentaiV1DocumentChunkedDocument.
1948 1949 1950 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunks ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk>
List of chunks.
Corresponds to the JSON property chunks
1946 1947 1948 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1946 def chunks @chunks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1953 1954 1955 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 1953 def update!(**args) @chunks = args[:chunks] if args.key?(:chunks) end |