Skip to content

Commit ce6e1f4

Browse files
feat: Automated regeneration of ContactCenterInsights client (googleapis#12403)
Auto-created at 2024-10-24 13:18:26 +0000 using the toys pull request generator.
1 parent b4a5cd1 commit ce6e1f4

File tree

7 files changed

+19
-7
lines changed

7 files changed

+19
-7
lines changed

clients/contact_center_insights/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_contact_center_insights, "~> 0.11"}]
14+
[{:google_api_contact_center_insights, "~> 0.12"}]
1515
end
1616
```
1717

clients/contact_center_insights/lib/google_api/contact_center_insights/v1/metadata.ex

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

23-
@discovery_revision "20241015"
23+
@discovery_revision "20241021"
2424

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

clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_qa_answer.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
2424
* `answerSources` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource.t)`, *default:* `nil`) - List of all individual answers given to the question.
2525
* `answerValue` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue.t`, *default:* `nil`) - The main answer value, incorporating any manual edits if they exist.
2626
* `conversation` (*type:* `String.t`, *default:* `nil`) - The conversation the answer applies to.
27-
* `potentialScore` (*type:* `float()`, *default:* `nil`) - The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero.
27+
* `potentialScore` (*type:* `float()`, *default:* `nil`) - The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero. Deprecated: Use AnswerValue.potential_score instead.
2828
* `qaQuestion` (*type:* `String.t`, *default:* `nil`) - The QaQuestion answered by this answer.
2929
* `questionBody` (*type:* `String.t`, *default:* `nil`) - Question text. E.g., "Did the agent greet the customer?"
3030
* `tags` (*type:* `list(String.t)`, *default:* `nil`) - User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_qa_answer_answer_value.ex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
2424
* `boolValue` (*type:* `boolean()`, *default:* `nil`) - Boolean value.
2525
* `key` (*type:* `String.t`, *default:* `nil`) - A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
2626
* `naValue` (*type:* `boolean()`, *default:* `nil`) - A value of "Not Applicable (N/A)".
27+
* `normalizedScore` (*type:* `float()`, *default:* `nil`) - Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
2728
* `numValue` (*type:* `float()`, *default:* `nil`) - Numerical value.
28-
* `score` (*type:* `float()`, *default:* `nil`) - Numerical score of the answer.
29+
* `potentialScore` (*type:* `float()`, *default:* `nil`) - Output only. The maximum potential score of the question.
30+
* `score` (*type:* `float()`, *default:* `nil`) - Output only. Numerical score of the answer.
2931
* `strValue` (*type:* `String.t`, *default:* `nil`) - String value.
3032
"""
3133

@@ -35,15 +37,19 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
3537
:boolValue => boolean() | nil,
3638
:key => String.t() | nil,
3739
:naValue => boolean() | nil,
40+
:normalizedScore => float() | nil,
3841
:numValue => float() | nil,
42+
:potentialScore => float() | nil,
3943
:score => float() | nil,
4044
:strValue => String.t() | nil
4145
}
4246

4347
field(:boolValue)
4448
field(:key)
4549
field(:naValue)
50+
field(:normalizedScore)
4651
field(:numValue)
52+
field(:potentialScore)
4753
field(:score)
4854
field(:strValue)
4955
end

clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1alpha1_qa_answer.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
2424
* `answerSources` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource.t)`, *default:* `nil`) - List of all individual answers given to the question.
2525
* `answerValue` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue.t`, *default:* `nil`) - The main answer value, incorporating any manual edits if they exist.
2626
* `conversation` (*type:* `String.t`, *default:* `nil`) - The conversation the answer applies to.
27-
* `potentialScore` (*type:* `float()`, *default:* `nil`) - The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero.
27+
* `potentialScore` (*type:* `float()`, *default:* `nil`) - The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero. Deprecated: Use AnswerValue.potential_score instead.
2828
* `qaQuestion` (*type:* `String.t`, *default:* `nil`) - The QaQuestion answered by this answer.
2929
* `questionBody` (*type:* `String.t`, *default:* `nil`) - Question text. E.g., "Did the agent greet the customer?"
3030
* `tags` (*type:* `list(String.t)`, *default:* `nil`) - User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1alpha1_qa_answer_answer_value.ex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
2424
* `boolValue` (*type:* `boolean()`, *default:* `nil`) - Boolean value.
2525
* `key` (*type:* `String.t`, *default:* `nil`) - A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
2626
* `naValue` (*type:* `boolean()`, *default:* `nil`) - A value of "Not Applicable (N/A)".
27+
* `normalizedScore` (*type:* `float()`, *default:* `nil`) - Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
2728
* `numValue` (*type:* `float()`, *default:* `nil`) - Numerical value.
28-
* `score` (*type:* `float()`, *default:* `nil`) - Numerical score of the answer.
29+
* `potentialScore` (*type:* `float()`, *default:* `nil`) - Output only. The maximum potential score of the question.
30+
* `score` (*type:* `float()`, *default:* `nil`) - Output only. Numerical score of the answer.
2931
* `strValue` (*type:* `String.t`, *default:* `nil`) - String value.
3032
"""
3133

@@ -35,15 +37,19 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
3537
:boolValue => boolean() | nil,
3638
:key => String.t() | nil,
3739
:naValue => boolean() | nil,
40+
:normalizedScore => float() | nil,
3841
:numValue => float() | nil,
42+
:potentialScore => float() | nil,
3943
:score => float() | nil,
4044
:strValue => String.t() | nil
4145
}
4246

4347
field(:boolValue)
4448
field(:key)
4549
field(:naValue)
50+
field(:normalizedScore)
4651
field(:numValue)
52+
field(:potentialScore)
4753
field(:score)
4854
field(:strValue)
4955
end

clients/contact_center_insights/mix.exs

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

21-
@version "0.11.0"
21+
@version "0.12.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)