Class: Google::Cloud::Translate::V3::DetectLanguageRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::DetectLanguageRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
The request message for language detection.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#content ⇒ ::String
The content of the input stored as a string.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#mime_type ⇒ ::String
Optional.
-
#model ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#content ⇒ ::String
218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 218 class DetectLanguageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 218 class DetectLanguageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#mime_type ⇒ ::String
218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 218 class DetectLanguageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#model ⇒ ::String
218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 218 class DetectLanguageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parent ⇒ ::String
218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 218 class DetectLanguageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |