Skip to content

Commit a66a60a

Browse files
feat: Automated regeneration of Language client (googleapis#12515)
Auto-created at 2024-11-12 13:16:54 +0000 using the toys pull request generator.
1 parent 5783940 commit a66a60a

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

clients/language/lib/google_api/language/v2/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Language.V2 do
2020
API client metadata for GoogleApi.Language.V2.
2121
"""
2222

23-
@discovery_revision "20241103"
23+
@discovery_revision "20241110"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/language/lib/google_api/language/v2/model/analyze_entities_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V2.Model.AnalyzeEntitiesResponse do
2222
## Attributes
2323
2424
* `entities` (*type:* `list(GoogleApi.Language.V2.Model.Entity.t)`, *default:* `nil`) - The recognized entities in the input document.
25-
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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.
25+
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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_code field for more details.
2626
* `languageSupported` (*type:* `boolean()`, *default:* `nil`) - Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.
2727
"""
2828

clients/language/lib/google_api/language/v2/model/analyze_sentiment_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V2.Model.AnalyzeSentimentResponse do
2222
## Attributes
2323
2424
* `documentSentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - The overall sentiment of the input document.
25-
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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.
25+
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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_code field for more details.
2626
* `languageSupported` (*type:* `boolean()`, *default:* `nil`) - Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.
2727
* `sentences` (*type:* `list(GoogleApi.Language.V2.Model.Sentence.t)`, *default:* `nil`) - The sentiment for all the sentences in the document.
2828
"""

clients/language/lib/google_api/language/v2/model/annotate_text_response.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ defmodule GoogleApi.Language.V2.Model.AnnotateTextResponse do
2323
2424
* `categories` (*type:* `list(GoogleApi.Language.V2.Model.ClassificationCategory.t)`, *default:* `nil`) - Categories identified in the input document.
2525
* `documentSentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.
26-
* `entities` (*type:* `list(GoogleApi.Language.V2.Model.Entity.t)`, *default:* `nil`) - Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities or AnnotateTextRequest.Features.extract_entity_sentiment.
27-
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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.
26+
* `entities` (*type:* `list(GoogleApi.Language.V2.Model.Entity.t)`, *default:* `nil`) - Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities .
27+
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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_code field for more details.
2828
* `languageSupported` (*type:* `boolean()`, *default:* `nil`) - Whether the language is officially supported by all requested features. The API may still return a response when the language is not supported, but it is on a best effort basis.
2929
* `moderationCategories` (*type:* `list(GoogleApi.Language.V2.Model.ClassificationCategory.t)`, *default:* `nil`) - Harmful and sensitive categories identified in the input document.
3030
* `sentences` (*type:* `list(GoogleApi.Language.V2.Model.Sentence.t)`, *default:* `nil`) - Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.

clients/language/lib/google_api/language/v2/model/classify_text_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V2.Model.ClassifyTextResponse do
2222
## Attributes
2323
2424
* `categories` (*type:* `list(GoogleApi.Language.V2.Model.ClassificationCategory.t)`, *default:* `nil`) - Categories representing the input document.
25-
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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.
25+
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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_code field for more details.
2626
* `languageSupported` (*type:* `boolean()`, *default:* `nil`) - Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.
2727
"""
2828

clients/language/lib/google_api/language/v2/model/entity.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.Language.V2.Model.Entity do
2424
* `mentions` (*type:* `list(GoogleApi.Language.V2.Model.EntityMention.t)`, *default:* `nil`) - The mentions of this entity in the input document. The API currently supports proper noun mentions.
2525
* `metadata` (*type:* `map()`, *default:* `nil`) - Metadata associated with the entity. For the metadata associated with other entity types, see the Type table below.
2626
* `name` (*type:* `String.t`, *default:* `nil`) - The representative name for the entity.
27-
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeEntitySentimentRequest or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the aggregate sentiment expressed for this entity in the provided document.
27+
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeEntitySentiment this field will contain the aggregate sentiment expressed for this entity in the provided document.
2828
* `type` (*type:* `String.t`, *default:* `nil`) - The entity type.
2929
"""
3030

clients/language/lib/google_api/language/v2/model/entity_mention.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V2.Model.EntityMention do
2222
## Attributes
2323
2424
* `probability` (*type:* `number()`, *default:* `nil`) - Probability score associated with the entity. The score shows the probability of the entity mention being the entity type. The score is in (0, 1] range.
25-
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeEntitySentimentRequest or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document.
25+
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeEntitySentiment this field will contain the sentiment expressed for this mention of the entity in the provided document.
2626
* `text` (*type:* `GoogleApi.Language.V2.Model.TextSpan.t`, *default:* `nil`) - The mention text.
2727
* `type` (*type:* `String.t`, *default:* `nil`) - The type of the entity mention.
2828
"""

clients/language/lib/google_api/language/v2/model/moderate_text_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V2.Model.ModerateTextResponse do
2121
2222
## Attributes
2323
24-
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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.
24+
* `languageCode` (*type:* `String.t`, *default:* `nil`) - 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_code field for more details.
2525
* `languageSupported` (*type:* `boolean()`, *default:* `nil`) - Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.
2626
* `moderationCategories` (*type:* `list(GoogleApi.Language.V2.Model.ClassificationCategory.t)`, *default:* `nil`) - Harmful and sensitive categories representing the input document.
2727
"""

clients/language/lib/google_api/language/v2/model/sentence.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V2.Model.Sentence do
2121
2222
## Attributes
2323
24-
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeSentimentRequest or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.
24+
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.
2525
* `text` (*type:* `GoogleApi.Language.V2.Model.TextSpan.t`, *default:* `nil`) - The sentence text.
2626
"""
2727

clients/language/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Language.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.16.1"
21+
@version "0.16.2"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)