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 # @see https://github.com/conversationai/perspectiveapi/blob/master/README.md
module CommentanalyzerV1alpha1 module CommentanalyzerV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20190922' REVISION = '20191124'
# View your email address # View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -62,14 +62,14 @@ module Google
attr_accessor :do_not_store attr_accessor :do_not_store
alias_method :do_not_store?, :do_not_store alias_method :do_not_store?, :do_not_store
# The language(s) of the comment and context (if none are specified, the # The language(s) of the comment and context. If none are specified, we
# language is automatically detected). If multiple languages are specified, # attempt to automatically detect the language. Specifying multiple languages
# the text is checked in all of them that are supported. Both ISO and BCP-47 # means the text contains multiple lanugages. Both ISO and BCP-47 language
# language codes are accepted. # codes are accepted.
# Current Language Restrictions: # The server returns an error if no language was specified and language
# * Only English text ("en") is supported. # detection fails. The server also returns an error if the languages (either
# If none of the languages specified by the caller are supported, an # specified by the caller, or auto-detected) are not *all* supported by the
# `UNIMPLEMENTED` error is returned. # service.
# Corresponds to the JSON property `languages` # Corresponds to the JSON property `languages`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :languages attr_accessor :languages
@ -146,10 +146,10 @@ module Google
# The language(s) used by CommentAnalyzer service to choose which Model to # The language(s) used by CommentAnalyzer service to choose which Model to
# use when analyzing the comment. Might better be called # use when analyzing the comment. Might better be called
# "effective_languages". The logic used to make the choice is as follows: # "effective_languages". The logic used to make the choice is as follows:
# if Request.languages.empty() # if !Request.languages.empty()
# effective_languages = detected_languages
# else
# effective_languages = Request.languages # effective_languages = Request.languages
# else
# effective_languages = detected_languages[0]
# Corresponds to the JSON property `languages` # Corresponds to the JSON property `languages`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :languages attr_accessor :languages
@ -389,14 +389,9 @@ module Google
# @return [Google::Apis::CommentanalyzerV1alpha1::Context] # @return [Google::Apis::CommentanalyzerV1alpha1::Context]
attr_accessor :context attr_accessor :context
# The language(s) of the comment and context (if none are specified, the # The language(s) of the comment and context. If none are specified, we
# language is automatically detected). If multiple languages are specified, # attempt to automatically detect the language. Both ISO and BCP-47 language
# the text is checked in all of them that are supported. Both ISO and BCP-47 # codes are accepted.
# 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.
# Corresponds to the JSON property `languages` # Corresponds to the JSON property `languages`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :languages attr_accessor :languages