Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentAnnotations
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentAnnotations
- 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 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) ⇒ GoogleCloudDocumentaiV1DocumentAnnotations
constructor
A new instance of GoogleCloudDocumentaiV1DocumentAnnotations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentAnnotations
Returns a new instance of GoogleCloudDocumentaiV1DocumentAnnotations.
3456 3457 3458 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3456 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
3454 3455 3456 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3454 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3461 3462 3463 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3461 def update!(**args) @description = args[:description] if args.key?(:description) end |