Clean and regen docs (#401)
diff --git a/docs/dyn/language_v1beta1.documents.html b/docs/dyn/language_v1beta1.documents.html
index 37ff1bf..5f014c2 100644
--- a/docs/dyn/language_v1beta1.documents.html
+++ b/docs/dyn/language_v1beta1.documents.html
@@ -108,9 +108,8 @@
"language": "A String", # The language of the document (if not specified, the language is
# automatically detected). Both ISO and BCP-47 language codes are
# accepted.<br>
- # **Current Language Restrictions:**
- #
- # * Only English, Spanish, and Japanese textual content are supported.
+ # [Language Support](/natural-language/docs/languages)
+ # lists currently supported languages for each API method.
# If the language (either specified by the caller or automatically detected)
# is not supported by the called API method, an `INVALID_ARGUMENT` error
# is returned.
@@ -179,8 +178,7 @@
{ # The sentiment analysis request message.
"encodingType": "A String", # The encoding type used by the API to calculate sentence offsets for the
# sentence sentiment.
- "document": { # ################################################################ # # Input document. Currently, `analyzeSentiment` only supports English text
- # (Document.language="EN").
+ "document": { # ################################################################ # # Input document.
#
# Represents the input to API methods.
"content": "A String", # The content of the input in string format.
@@ -189,9 +187,8 @@
"language": "A String", # The language of the document (if not specified, the language is
# automatically detected). Both ISO and BCP-47 language codes are
# accepted.<br>
- # **Current Language Restrictions:**
- #
- # * Only English, Spanish, and Japanese textual content are supported.
+ # [Language Support](/natural-language/docs/languages)
+ # lists currently supported languages for each API method.
# If the language (either specified by the caller or automatically detected)
# is not supported by the called API method, an `INVALID_ARGUMENT` error
# is returned.
@@ -216,14 +213,15 @@
"polarity": 3.14, # DEPRECATED FIELD - This field is being deprecated in
# favor of score. Please refer to our documentation at
# https://cloud.google.com/natural-language/docs for more information.
+ "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
+ # (positive sentiment).
"magnitude": 3.14, # A non-negative number in the [0, +inf) range, which represents
# the absolute magnitude of sentiment regardless of score (positive or
# negative).
- "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
- # (positive sentiment).
},
"language": "A String", # The language of the text, which will be the same as the language specified
# in the request or, if not specified, the automatically-detected language.
+ # See Document.language field for more details.
"sentences": [ # The sentiment for all the sentences in the document.
{ # Represents a sentence in the input document.
"text": { # Represents an output piece of text. # The sentence text.
@@ -238,11 +236,11 @@
"polarity": 3.14, # DEPRECATED FIELD - This field is being deprecated in
# favor of score. Please refer to our documentation at
# https://cloud.google.com/natural-language/docs for more information.
+ "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
+ # (positive sentiment).
"magnitude": 3.14, # A non-negative number in the [0, +inf) range, which represents
# the absolute magnitude of sentiment regardless of score (positive or
# negative).
- "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
- # (positive sentiment).
},
},
],
@@ -270,9 +268,8 @@
"language": "A String", # The language of the document (if not specified, the language is
# automatically detected). Both ISO and BCP-47 language codes are
# accepted.<br>
- # **Current Language Restrictions:**
- #
- # * Only English, Spanish, and Japanese textual content are supported.
+ # [Language Support](/natural-language/docs/languages)
+ # lists currently supported languages for each API method.
# If the language (either specified by the caller or automatically detected)
# is not supported by the called API method, an `INVALID_ARGUMENT` error
# is returned.
@@ -294,14 +291,10 @@
{ # The syntax analysis response message.
"tokens": [ # Tokens, along with their syntactic information, in the input document.
{ # Represents the smallest syntactic building block of the text.
- "lemma": "A String", # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
- "dependencyEdge": { # Represents dependency parse tree information for a token. # Dependency tree parse for this token.
- "headTokenIndex": 42, # Represents the head of this token in the dependency tree.
- # This is the index of the token which has an arc going to this token.
- # The index is the position of the token in the array of tokens returned
- # by the API method. If this token is a root token, then the
- # `head_token_index` is its own index.
- "label": "A String", # The parse label for the token.
+ "text": { # Represents an output piece of text. # The token text.
+ "content": "A String", # The content of the output text.
+ "beginOffset": 42, # The API calculates the beginning offset of the content in the original
+ # document according to the EncodingType specified in the API request.
},
"partOfSpeech": { # Represents part of speech information for a token. # Parts of speech tag for this token.
"case": "A String", # The grammatical case.
@@ -317,11 +310,15 @@
"proper": "A String", # The grammatical properness.
"voice": "A String", # The grammatical voice.
},
- "text": { # Represents an output piece of text. # The token text.
- "content": "A String", # The content of the output text.
- "beginOffset": 42, # The API calculates the beginning offset of the content in the original
- # document according to the EncodingType specified in the API request.
+ "dependencyEdge": { # Represents dependency parse tree information for a token. # Dependency tree parse for this token.
+ "headTokenIndex": 42, # Represents the head of this token in the dependency tree.
+ # This is the index of the token which has an arc going to this token.
+ # The index is the position of the token in the array of tokens returned
+ # by the API method. If this token is a root token, then the
+ # `head_token_index` is its own index.
+ "label": "A String", # The parse label for the token.
},
+ "lemma": "A String", # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
},
],
"language": "A String", # The language of the text, which will be the same as the language specified
@@ -341,11 +338,11 @@
"polarity": 3.14, # DEPRECATED FIELD - This field is being deprecated in
# favor of score. Please refer to our documentation at
# https://cloud.google.com/natural-language/docs for more information.
+ "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
+ # (positive sentiment).
"magnitude": 3.14, # A non-negative number in the [0, +inf) range, which represents
# the absolute magnitude of sentiment regardless of score (positive or
# negative).
- "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
- # (positive sentiment).
},
},
],
@@ -364,6 +361,12 @@
{ # The request message for the text annotation API, which can perform multiple
# analysis types (sentiment, entities, and syntax) in one call.
"encodingType": "A String", # The encoding type used by the API to calculate offsets.
+ "features": { # All available features for sentiment, syntax, and semantic analysis. # The enabled features.
+ # Setting each one to true will enable that specific analysis for the input.
+ "extractDocumentSentiment": True or False, # Extract document-level sentiment.
+ "extractEntities": True or False, # Extract entities.
+ "extractSyntax": True or False, # Extract syntax information.
+ },
"document": { # ################################################################ # # Input document.
#
# Represents the input to API methods.
@@ -373,9 +376,8 @@
"language": "A String", # The language of the document (if not specified, the language is
# automatically detected). Both ISO and BCP-47 language codes are
# accepted.<br>
- # **Current Language Restrictions:**
- #
- # * Only English, Spanish, and Japanese textual content are supported.
+ # [Language Support](/natural-language/docs/languages)
+ # lists currently supported languages for each API method.
# If the language (either specified by the caller or automatically detected)
# is not supported by the called API method, an `INVALID_ARGUMENT` error
# is returned.
@@ -384,12 +386,6 @@
# details, see https://cloud.google.com/storage/docs/reference-uris.
# NOTE: Cloud Storage object versioning is not supported.
},
- "features": { # All available features for sentiment, syntax, and semantic analysis. # The enabled features.
- # Setting each one to true will enable that specific analysis for the input.
- "extractDocumentSentiment": True or False, # Extract document-level sentiment.
- "extractEntities": True or False, # Extract entities.
- "extractSyntax": True or False, # Extract syntax information.
- },
}
x__xgafv: string, V1 error format.
@@ -405,14 +401,10 @@
# Populated if the user enables
# AnnotateTextRequest.Features.extract_syntax.
{ # Represents the smallest syntactic building block of the text.
- "lemma": "A String", # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
- "dependencyEdge": { # Represents dependency parse tree information for a token. # Dependency tree parse for this token.
- "headTokenIndex": 42, # Represents the head of this token in the dependency tree.
- # This is the index of the token which has an arc going to this token.
- # The index is the position of the token in the array of tokens returned
- # by the API method. If this token is a root token, then the
- # `head_token_index` is its own index.
- "label": "A String", # The parse label for the token.
+ "text": { # Represents an output piece of text. # The token text.
+ "content": "A String", # The content of the output text.
+ "beginOffset": 42, # The API calculates the beginning offset of the content in the original
+ # document according to the EncodingType specified in the API request.
},
"partOfSpeech": { # Represents part of speech information for a token. # Parts of speech tag for this token.
"case": "A String", # The grammatical case.
@@ -428,11 +420,15 @@
"proper": "A String", # The grammatical properness.
"voice": "A String", # The grammatical voice.
},
- "text": { # Represents an output piece of text. # The token text.
- "content": "A String", # The content of the output text.
- "beginOffset": 42, # The API calculates the beginning offset of the content in the original
- # document according to the EncodingType specified in the API request.
+ "dependencyEdge": { # Represents dependency parse tree information for a token. # Dependency tree parse for this token.
+ "headTokenIndex": 42, # Represents the head of this token in the dependency tree.
+ # This is the index of the token which has an arc going to this token.
+ # The index is the position of the token in the array of tokens returned
+ # by the API method. If this token is a root token, then the
+ # `head_token_index` is its own index.
+ "label": "A String", # The parse label for the token.
},
+ "lemma": "A String", # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
},
],
"entities": [ # Entities, along with their semantic information, in the input document.
@@ -475,11 +471,11 @@
"polarity": 3.14, # DEPRECATED FIELD - This field is being deprecated in
# favor of score. Please refer to our documentation at
# https://cloud.google.com/natural-language/docs for more information.
+ "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
+ # (positive sentiment).
"magnitude": 3.14, # A non-negative number in the [0, +inf) range, which represents
# the absolute magnitude of sentiment regardless of score (positive or
# negative).
- "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
- # (positive sentiment).
},
"language": "A String", # The language of the text, which will be the same as the language specified
# in the request or, if not specified, the automatically-detected language.
@@ -499,11 +495,11 @@
"polarity": 3.14, # DEPRECATED FIELD - This field is being deprecated in
# favor of score. Please refer to our documentation at
# https://cloud.google.com/natural-language/docs for more information.
+ "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
+ # (positive sentiment).
"magnitude": 3.14, # A non-negative number in the [0, +inf) range, which represents
# the absolute magnitude of sentiment regardless of score (positive or
# negative).
- "score": 3.14, # Sentiment score between -1.0 (negative sentiment) and 1.0
- # (positive sentiment).
},
},
],