Autogenerated update (2019-11-26)

Update:
- commentanalyzer_v1alpha1
This commit is contained in:
Google APIs 2019-11-26 00:37:28 +00:00
parent b76d248bc3
commit b961bf31a2
2 changed files with 15 additions and 20 deletions

View File

@ -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'

View File

@ -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<String>]
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<String>]
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<String>]
attr_accessor :languages