lib/google/apis/language_v2/representations.rb in google-apis-language_v2-0.5.0 vs lib/google/apis/language_v2/representations.rb in google-apis-language_v2-0.7.0
- old
+ new
@@ -932,10 +932,11 @@
class ClassificationCategory
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :name, as: 'name'
+ property :severity, as: 'severity'
end
end
class ClassifyTextRequest
# @private
@@ -1048,9 +1049,10 @@
class ModerateTextRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :document, as: 'document', class: Google::Apis::LanguageV2::Document, decorator: Google::Apis::LanguageV2::Document::Representation
+ property :model_version, as: 'modelVersion'
end
end
class ModerateTextResponse
# @private