Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3SummaryOptions
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3SummaryOptions
- 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
Metadata for document summarization.
Instance Attribute Summary collapse
-
#format ⇒ String
The format the summary should be in.
-
#length ⇒ String
How long the summary should be.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3SummaryOptions
constructor
A new instance of GoogleCloudDocumentaiV1beta3SummaryOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3SummaryOptions
Returns a new instance of GoogleCloudDocumentaiV1beta3SummaryOptions.
9896 9897 9898 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#format ⇒ String
The format the summary should be in.
Corresponds to the JSON property format
9889 9890 9891 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9889 def format @format end |
#length ⇒ String
How long the summary should be.
Corresponds to the JSON property length
9894 9895 9896 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9894 def length @length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9901 9902 9903 9904 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9901 def update!(**args) @format = args[:format] if args.key?(:format) @length = args[:length] if args.key?(:length) end |