Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
- 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 page header associated with the chunk.
Instance Attribute Summary collapse
-
#page_span ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan
Represents where the chunk starts and ends in the document.
-
#text ⇒ String
Header in text format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
constructor
A new instance of GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
Returns a new instance of GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.
2046 2047 2048 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2046 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_span ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan
Represents where the chunk starts and ends in the document.
Corresponds to the JSON property pageSpan
2039 2040 2041 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2039 def page_span @page_span end |
#text ⇒ String
Header in text format.
Corresponds to the JSON property text
2044 2045 2046 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2044 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2051 2052 2053 2054 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2051 def update!(**args) @page_span = args[:page_span] if args.key?(:page_span) @text = args[:text] if args.key?(:text) end |