Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader
- 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 page header associated with the chunk.
Instance Attribute Summary collapse
-
#page_span ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan
Represents where the chunk starts and ends in the document.
-
#text ⇒ String
Header in text format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader
constructor
A new instance of GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader
Returns a new instance of GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader.
4804 4805 4806 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_span ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan
Represents where the chunk starts and ends in the document.
Corresponds to the JSON property pageSpan
4797 4798 4799 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4797 def page_span @page_span end |
#text ⇒ String
Header in text format.
Corresponds to the JSON property text
4802 4803 4804 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4802 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4809 4810 4811 4812 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4809 def update!(**args) @page_span = args[:page_span] if args.key?(:page_span) @text = args[:text] if args.key?(:text) end |