Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations
- 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 annotation of a block or a chunk.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the content with this annotation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentAnnotations
constructor
A new instance of GoogleCloudDocumentaiV1beta3DocumentAnnotations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentAnnotations
Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentAnnotations.
4394 4395 4396 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4394 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the content with this annotation.
Corresponds to the JSON property description
4392 4393 4394 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4392 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4399 4400 4401 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4399 def update!(**args) @description = args[:description] if args.key?(:description) end |