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 #11321

Closed
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.5"}]
[{:google_api_contact_center_insights, "~> 0.6"}]
end
```

Expand Down
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 "20240304"
@discovery_revision "20240416"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction do
@moduledoc """
Agent Coaching instructions that customer can configure.

## Attributes

* `agentAction` (*type:* `String.t`, *default:* `nil`) - Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty
* `condition` (*type:* `String.t`, *default:* `nil`) - Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. The detailed description of this instruction.
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. Display name for the instruction.
* `metadata` (*type:* `map()`, *default:* `nil`) - Optional. Additional information attached to this instruction.
* `systemAction` (*type:* `String.t`, *default:* `nil`) - Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:agentAction => String.t() | nil,
:condition => String.t() | nil,
:description => String.t() | nil,
:displayName => String.t() | nil,
:metadata => map() | nil,
:systemAction => String.t() | nil
}

field(:agentAction)
field(:condition)
field(:description)
field(:displayName)
field(:metadata, type: :map)
field(:systemAction)
end

defimpl Poison.Decoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction do
def decode(value, options) do
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction.decode(
value,
options
)
end
end

defimpl Poison.Encoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion do
@moduledoc """
Suggestion for coaching agents.

## Attributes

* `agentActionSuggestions` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion.t)`, *default:* `nil`) - Optional. Suggested actions for the agent to take.
* `applicableInstructions` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction.t)`, *default:* `nil`) - Optional. Instructions applicable based on the current context.
* `sampleResponses` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse.t)`, *default:* `nil`) - Optional. Sample response for the Agent.
* `suggestionEval` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval.t`, *default:* `nil`) - Self evaluation of the suggestion.
* `suggestionReasoning` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning.t`, *default:* `nil`) - Reasoning for the suggestion.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:agentActionSuggestions =>
list(
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion.t()
)
| nil,
:applicableInstructions =>
list(
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction.t()
)
| nil,
:sampleResponses =>
list(
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse.t()
)
| nil,
:suggestionEval =>
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval.t()
| nil,
:suggestionReasoning =>
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning.t()
| nil
}

field(:agentActionSuggestions,
as:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion,
type: :list
)

field(:applicableInstructions,
as:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction,
type: :list
)

field(:sampleResponses,
as:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse,
type: :list
)

field(:suggestionEval,
as:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval
)

field(:suggestionReasoning,
as:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning
)
end

defimpl Poison.Decoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion do
def decode(value, options) do
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion.decode(
value,
options
)
end
end

defimpl Poison.Encoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion do
@moduledoc """
Actions suggested for the agent. This is based on applicable instructions.

## Attributes

* `agentAction` (*type:* `String.t`, *default:* `nil`) - Optional. The suggested action for the agent.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:agentAction => String.t() | nil
}

field(:agentAction)
end

defimpl Poison.Decoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion do
def decode(value, options) do
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion.decode(
value,
options
)
end
end

defimpl Poison.Encoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval do
@moduledoc """
Self evaluations of the suggestion.

## Attributes

* `actionActionSuggestionEval` (*type:* `String.t`, *default:* `nil`) - Optional. Eval for Agent action suggestion.
* `sampleResponseEval` (*type:* `String.t`, *default:* `nil`) - Optional. Eval for sample response.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:actionActionSuggestionEval => String.t() | nil,
:sampleResponseEval => String.t() | nil
}

field(:actionActionSuggestionEval)
field(:sampleResponseEval)
end

defimpl Poison.Decoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval do
def decode(value, options) do
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval.decode(
value,
options
)
end
end

defimpl Poison.Encoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning do
@moduledoc """
Reasoning for the suggestion.

## Attributes

* `agentActionTaken` (*type:* `String.t`, *default:* `nil`) - Optional. The actions that the agent has taken already.
* `issueSummary` (*type:* `String.t`, *default:* `nil`) - Optional. Summary of the issue.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:agentActionTaken => String.t() | nil,
:issueSummary => String.t() | nil
}

field(:agentActionTaken)
field(:issueSummary)
end

defimpl Poison.Decoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning do
def decode(value, options) do
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning.decode(
value,
options
)
end
end

defimpl Poison.Encoder,
for:
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Loading
Loading