Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of ContactCenterInsights client #12545

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/contact_center_insights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_contact_center_insights, "~> 0.12"}]
[{:google_api_contact_center_insights, "~> 0.13"}]
end
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.ContactCenterInsights.V1 do
API client metadata for GoogleApi.ContactCenterInsights.V1.
"""

@discovery_revision "20241021"
@discovery_revision "20241114"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
* `dialogflowIntents` (*type:* `%{optional(String.t) => GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1DialogflowIntent.t}`, *default:* `nil`) - Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
* `duration` (*type:* `String.t`, *default:* `nil`) - Output only. The duration of the conversation.
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
* `labels` (*type:* `map()`, *default:* `nil`) - A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
* `labels` (*type:* `map()`, *default:* `nil`) - A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry.
* `languageCode` (*type:* `String.t`, *default:* `nil`) - A user-specified language code for the conversation.
* `latestAnalysis` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1Analysis.t`, *default:* `nil`) - Output only. The conversation's latest analysis, if one exists.
* `latestSummary` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData.t`, *default:* `nil`) - Output only. Latest summary of the conversation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
## Attributes

* `agentId` (*type:* `String.t`, *default:* `nil`) - A user-specified string representing the agent.
* `agentType` (*type:* `String.t`, *default:* `nil`) - The agent type, e.g. HUMAN_AGENT.
* `displayName` (*type:* `String.t`, *default:* `nil`) - The agent's name.
* `dispositionCode` (*type:* `String.t`, *default:* `nil`) - A user-provided string indicating the outcome of the agent's segment of the call.
* `team` (*type:* `String.t`, *default:* `nil`) - A user-specified string representing the agent's team.
Expand All @@ -31,12 +32,14 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig

@type t :: %__MODULE__{
:agentId => String.t() | nil,
:agentType => String.t() | nil,
:displayName => String.t() | nil,
:dispositionCode => String.t() | nil,
:team => String.t() | nil
}

field(:agentId)
field(:agentType)
field(:displayName)
field(:dispositionCode)
field(:team)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig

* `bucketObjectType` (*type:* `String.t`, *default:* `nil`) - Optional. Specifies the type of the objects in `bucket_uri`.
* `bucketUri` (*type:* `String.t`, *default:* `nil`) - Required. The Cloud Storage bucket containing source objects.
* `customMetadataKeys` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 20 labels per conversation.
* `customMetadataKeys` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.
* `metadataBucketUri` (*type:* `String.t`, *default:* `nil`) - Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
* `answerSources` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource.t)`, *default:* `nil`) - List of all individual answers given to the question.
* `answerValue` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue.t`, *default:* `nil`) - The main answer value, incorporating any manual edits if they exist.
* `conversation` (*type:* `String.t`, *default:* `nil`) - The conversation the answer applies to.
* `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.
* `qaQuestion` (*type:* `String.t`, *default:* `nil`) - The QaQuestion answered by this answer.
* `questionBody` (*type:* `String.t`, *default:* `nil`) - Question text. E.g., "Did the agent greet the customer?"
* `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.
Expand All @@ -42,7 +41,6 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue.t()
| nil,
:conversation => String.t() | nil,
:potentialScore => float() | nil,
:qaQuestion => String.t() | nil,
:questionBody => String.t() | nil,
:tags => list(String.t()) | nil
Expand All @@ -60,7 +58,6 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
)

field(:conversation)
field(:potentialScore)
field(:qaQuestion)
field(:questionBody)
field(:tags, type: :list)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue do
@moduledoc """
Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question.
Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.

## Attributes

* `boolValue` (*type:* `boolean()`, *default:* `nil`) - Boolean value.
* `key` (*type:* `String.t`, *default:* `nil`) - A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
* `naValue` (*type:* `boolean()`, *default:* `nil`) - A value of "Not Applicable (N/A)".
* `normalizedScore` (*type:* `float()`, *default:* `nil`) - Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
* `naValue` (*type:* `boolean()`, *default:* `nil`) - A value of "Not Applicable (N/A)". Should only ever be `true`.
* `normalizedScore` (*type:* `float()`, *default:* `nil`) - Output only. Normalized score of the questions. Calculated as score / potential_score.
* `numValue` (*type:* `float()`, *default:* `nil`) - Numerical value.
* `potentialScore` (*type:* `float()`, *default:* `nil`) - Output only. The maximum potential score of the question.
* `score` (*type:* `float()`, *default:* `nil`) - Output only. Numerical score of the answer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
* `dialogflowIntents` (*type:* `%{optional(String.t) => GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent.t}`, *default:* `nil`) - Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
* `duration` (*type:* `String.t`, *default:* `nil`) - Output only. The duration of the conversation.
* `expireTime` (*type:* `DateTime.t`, *default:* `nil`) - The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
* `labels` (*type:* `map()`, *default:* `nil`) - A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
* `labels` (*type:* `map()`, *default:* `nil`) - A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry.
* `languageCode` (*type:* `String.t`, *default:* `nil`) - A user-specified language code for the conversation.
* `latestAnalysis` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1Analysis.t`, *default:* `nil`) - Output only. The conversation's latest analysis, if one exists.
* `latestSummary` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData.t`, *default:* `nil`) - Output only. Latest summary of the conversation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
## Attributes

* `agentId` (*type:* `String.t`, *default:* `nil`) - A user-specified string representing the agent.
* `agentType` (*type:* `String.t`, *default:* `nil`) - The agent type, e.g. HUMAN_AGENT.
* `displayName` (*type:* `String.t`, *default:* `nil`) - The agent's name.
* `dispositionCode` (*type:* `String.t`, *default:* `nil`) - A user-provided string indicating the outcome of the agent's segment of the call.
* `team` (*type:* `String.t`, *default:* `nil`) - A user-specified string representing the agent's team.
Expand All @@ -31,12 +32,14 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig

@type t :: %__MODULE__{
:agentId => String.t() | nil,
:agentType => String.t() | nil,
:displayName => String.t() | nil,
:dispositionCode => String.t() | nil,
:team => String.t() | nil
}

field(:agentId)
field(:agentType)
field(:displayName)
field(:dispositionCode)
field(:team)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig

* `bucketObjectType` (*type:* `String.t`, *default:* `nil`) - Optional. Specifies the type of the objects in `bucket_uri`.
* `bucketUri` (*type:* `String.t`, *default:* `nil`) - Required. The Cloud Storage bucket containing source objects.
* `customMetadataKeys` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 20 labels per conversation.
* `customMetadataKeys` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.
* `metadataBucketUri` (*type:* `String.t`, *default:* `nil`) - Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
* `answerSources` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource.t)`, *default:* `nil`) - List of all individual answers given to the question.
* `answerValue` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue.t`, *default:* `nil`) - The main answer value, incorporating any manual edits if they exist.
* `conversation` (*type:* `String.t`, *default:* `nil`) - The conversation the answer applies to.
* `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.
* `qaQuestion` (*type:* `String.t`, *default:* `nil`) - The QaQuestion answered by this answer.
* `questionBody` (*type:* `String.t`, *default:* `nil`) - Question text. E.g., "Did the agent greet the customer?"
* `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.
Expand All @@ -42,7 +41,6 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue.t()
| nil,
:conversation => String.t() | nil,
:potentialScore => float() | nil,
:qaQuestion => String.t() | nil,
:questionBody => String.t() | nil,
:tags => list(String.t()) | nil
Expand All @@ -60,7 +58,6 @@ defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsig
)

field(:conversation)
field(:potentialScore)
field(:qaQuestion)
field(:questionBody)
field(:tags, type: :list)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue do
@moduledoc """
Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question.
Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.

## Attributes

* `boolValue` (*type:* `boolean()`, *default:* `nil`) - Boolean value.
* `key` (*type:* `String.t`, *default:* `nil`) - A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
* `naValue` (*type:* `boolean()`, *default:* `nil`) - A value of "Not Applicable (N/A)".
* `normalizedScore` (*type:* `float()`, *default:* `nil`) - Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
* `naValue` (*type:* `boolean()`, *default:* `nil`) - A value of "Not Applicable (N/A)". Should only ever be `true`.
* `normalizedScore` (*type:* `float()`, *default:* `nil`) - Output only. Normalized score of the questions. Calculated as score / potential_score.
* `numValue` (*type:* `float()`, *default:* `nil`) - Numerical value.
* `potentialScore` (*type:* `float()`, *default:* `nil`) - Output only. The maximum potential score of the question.
* `score` (*type:* `float()`, *default:* `nil`) - Output only. Numerical score of the answer.
Expand Down

This file was deleted.

Loading
Loading