Class: Google::Cloud::Language::V1beta2::ClassifyTextRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::ClassifyTextRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v1beta2/language_service.rb
Overview
The document classification request message.
Instance Attribute Summary collapse
-
#classification_model_options ⇒ ::Google::Cloud::Language::V1beta2::ClassificationModelOptions
Model options to use for classification.
-
#document ⇒ ::Google::Cloud::Language::V1beta2::Document
Required.
Instance Attribute Details
#classification_model_options ⇒ ::Google::Cloud::Language::V1beta2::ClassificationModelOptions
Returns Model options to use for classification. Defaults to v1 options if not specified.
1088 1089 1090 1091 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1088 class ClassifyTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#document ⇒ ::Google::Cloud::Language::V1beta2::Document
Returns Required. Input document.
1088 1089 1090 1091 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1088 class ClassifyTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |