Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::SummaryOptions.
Metadata for document summarization.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#format
def format() -> ::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Format
Returns
- (::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Format) — The format the summary should be in.
#format=
def format=(value) -> ::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Format
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Format) — The format the summary should be in.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Format) — The format the summary should be in.
#length
def length() -> ::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Length
Returns
- (::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Length) — How long the summary should be.
#length=
def length=(value) -> ::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Length
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Length) — How long the summary should be.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Length) — How long the summary should be.