Fix method doc signatures for multiline required parameters (#374)
* Fix method doc signatures for multiline required parameters.
Existing doc generator failed to recognize parameters as required when parameter descriptions
extended over more than one line. Besides presenting incorrect information, resulting
inconsistencies broke checks for automated sample generation.
* Regen docs
diff --git a/docs/dyn/language_v1.documents.html b/docs/dyn/language_v1.documents.html
index 9a1abf1..b01b350 100644
--- a/docs/dyn/language_v1.documents.html
+++ b/docs/dyn/language_v1.documents.html
@@ -98,7 +98,6 @@
The object takes the form of:
{ # The entity analysis request message.
- "encodingType": "A String", # The encoding type used by the API to calculate offsets.
"document": { # ################################################################ # # Input document.
#
# Represents the input to API methods.
@@ -119,6 +118,7 @@
# details, see https://cloud.google.com/storage/docs/reference-uris.
# NOTE: Cloud Storage object versioning is not supported.
},
+ "encodingType": "A String", # The encoding type used by the API to calculate offsets.
}
x__xgafv: string, V1 error format.
@@ -177,7 +177,6 @@
The object takes the form of:
{ # The sentiment analysis request message.
- "encodingType": "A String", # The encoding type used by the API to calculate sentence offsets.
"document": { # ################################################################ # # Input document. Currently, `analyzeSentiment` only supports English text
# (Document.language="EN").
#
@@ -199,6 +198,7 @@
# details, see https://cloud.google.com/storage/docs/reference-uris.
# NOTE: Cloud Storage object versioning is not supported.
},
+ "encodingType": "A String", # The encoding type used by the API to calculate sentence offsets.
}
x__xgafv: string, V1 error format.
@@ -254,7 +254,6 @@
The object takes the form of:
{ # The syntax analysis request message.
- "encodingType": "A String", # The encoding type used by the API to calculate offsets.
"document": { # ################################################################ # # Input document.
#
# Represents the input to API methods.
@@ -275,6 +274,7 @@
# details, see https://cloud.google.com/storage/docs/reference-uris.
# NOTE: Cloud Storage object versioning is not supported.
},
+ "encodingType": "A String", # The encoding type used by the API to calculate offsets.
}
x__xgafv: string, V1 error format.
@@ -293,22 +293,6 @@
"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 # Parts of speech tag for this token.
- # are as defined in
- # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
- "case": "A String", # The grammatical case.
- "aspect": "A String", # The grammatical aspect.
- "form": "A String", # The grammatical form.
- "gender": "A String", # The grammatical gender.
- "number": "A String", # The grammatical number.
- "person": "A String", # The grammatical person.
- "tag": "A String", # The part of speech tag.
- "tense": "A String", # The grammatical tense.
- "reciprocity": "A String", # The grammatical reciprocity.
- "proper": "A String", # The grammatical properness.
- "voice": "A String", # The grammatical voice.
- "mood": "A String", # The grammatical mood.
- },
"dependencyEdge": { # Represents dependency parse tree information for a token. (For more # Dependency tree parse for this token.
# information on dependency labels, see
# http://www.aclweb.org/anthology/P13-2017
@@ -319,6 +303,22 @@
# `head_token_index` is its own index.
"label": "A String", # The parse label for the token.
},
+ "partOfSpeech": { # Represents part of speech information for a token. Parts of speech # Parts of speech tag for this token.
+ # are as defined in
+ # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
+ "case": "A String", # The grammatical case.
+ "reciprocity": "A String", # The grammatical reciprocity.
+ "mood": "A String", # The grammatical mood.
+ "form": "A String", # The grammatical form.
+ "gender": "A String", # The grammatical gender.
+ "number": "A String", # The grammatical number.
+ "person": "A String", # The grammatical person.
+ "tag": "A String", # The part of speech tag.
+ "tense": "A String", # The grammatical tense.
+ "aspect": "A String", # The grammatical aspect.
+ "proper": "A String", # The grammatical properness.
+ "voice": "A String", # The grammatical voice.
+ },
"lemma": "A String", # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
},
],
@@ -359,12 +359,6 @@
{ # 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.
@@ -385,6 +379,12 @@
# 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,22 +405,6 @@
"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 # Parts of speech tag for this token.
- # are as defined in
- # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
- "case": "A String", # The grammatical case.
- "aspect": "A String", # The grammatical aspect.
- "form": "A String", # The grammatical form.
- "gender": "A String", # The grammatical gender.
- "number": "A String", # The grammatical number.
- "person": "A String", # The grammatical person.
- "tag": "A String", # The part of speech tag.
- "tense": "A String", # The grammatical tense.
- "reciprocity": "A String", # The grammatical reciprocity.
- "proper": "A String", # The grammatical properness.
- "voice": "A String", # The grammatical voice.
- "mood": "A String", # The grammatical mood.
- },
"dependencyEdge": { # Represents dependency parse tree information for a token. (For more # Dependency tree parse for this token.
# information on dependency labels, see
# http://www.aclweb.org/anthology/P13-2017
@@ -431,6 +415,22 @@
# `head_token_index` is its own index.
"label": "A String", # The parse label for the token.
},
+ "partOfSpeech": { # Represents part of speech information for a token. Parts of speech # Parts of speech tag for this token.
+ # are as defined in
+ # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
+ "case": "A String", # The grammatical case.
+ "reciprocity": "A String", # The grammatical reciprocity.
+ "mood": "A String", # The grammatical mood.
+ "form": "A String", # The grammatical form.
+ "gender": "A String", # The grammatical gender.
+ "number": "A String", # The grammatical number.
+ "person": "A String", # The grammatical person.
+ "tag": "A String", # The part of speech tag.
+ "tense": "A String", # The grammatical tense.
+ "aspect": "A String", # The grammatical aspect.
+ "proper": "A String", # The grammatical properness.
+ "voice": "A String", # The grammatical voice.
+ },
"lemma": "A String", # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
},
],