diff --git a/generated/google/apis/commentanalyzer_v1alpha1.rb b/generated/google/apis/commentanalyzer_v1alpha1.rb index 856195dd7..700be1f45 100644 --- a/generated/google/apis/commentanalyzer_v1alpha1.rb +++ b/generated/google/apis/commentanalyzer_v1alpha1.rb @@ -30,7 +30,7 @@ module Google # @see https://github.com/conversationai/perspectiveapi/blob/master/README.md module CommentanalyzerV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190922' + REVISION = '20191124' # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' diff --git a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb index 3c24b4c72..475d976d0 100644 --- a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +++ b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb @@ -62,14 +62,14 @@ module Google attr_accessor :do_not_store alias_method :do_not_store?, :do_not_store - # The language(s) of the comment and context (if none are specified, the - # language is automatically detected). If multiple languages are specified, - # the text is checked in all of them that are supported. Both ISO and BCP-47 - # language codes are accepted. - # Current Language Restrictions: - # * Only English text ("en") is supported. - # If none of the languages specified by the caller are supported, an - # `UNIMPLEMENTED` error is returned. + # The language(s) of the comment and context. If none are specified, we + # attempt to automatically detect the language. Specifying multiple languages + # means the text contains multiple lanugages. Both ISO and BCP-47 language + # codes are accepted. + # The server returns an error if no language was specified and language + # detection fails. The server also returns an error if the languages (either + # specified by the caller, or auto-detected) are not *all* supported by the + # service. # Corresponds to the JSON property `languages` # @return [Array] attr_accessor :languages @@ -146,10 +146,10 @@ module Google # The language(s) used by CommentAnalyzer service to choose which Model to # use when analyzing the comment. Might better be called # "effective_languages". The logic used to make the choice is as follows: - # if Request.languages.empty() - # effective_languages = detected_languages - # else + # if !Request.languages.empty() # effective_languages = Request.languages + # else + # effective_languages = detected_languages[0] # Corresponds to the JSON property `languages` # @return [Array] attr_accessor :languages @@ -389,14 +389,9 @@ module Google # @return [Google::Apis::CommentanalyzerV1alpha1::Context] attr_accessor :context - # The language(s) of the comment and context (if none are specified, the - # language is automatically detected). If multiple languages are specified, - # the text is checked in all of them that are supported. Both ISO and BCP-47 - # language codes are accepted. - # Current Language Restrictions: - # * Only English text ("en") is supported. - # If none of the languages specified by the caller are supported, an - # `UNIMPLEMENTED` error is returned. + # The language(s) of the comment and context. If none are specified, we + # attempt to automatically detect the language. Both ISO and BCP-47 language + # codes are accepted. # Corresponds to the JSON property `languages` # @return [Array] attr_accessor :languages