forked from googleapis/elixir-google-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of ContactCenterInsights client (googlea…
…pis#12363) Auto-created at 2024-10-18 13:18:25 +0000 using the toys pull request generator.
- Loading branch information
1 parent
0e3280e
commit 1b6e2f3
Showing
85 changed files
with
9,768 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5,119 changes: 4,666 additions & 453 deletions
5,119
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/api/projects.ex
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
...i/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_analysis_rule.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# 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.GoogleCloudContactcenterinsightsV1AnalysisRule do | ||
@moduledoc """ | ||
The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules. | ||
## Attributes | ||
* `active` (*type:* `boolean()`, *default:* `nil`) - If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft. | ||
* `analysisPercentage` (*type:* `float()`, *default:* `nil`) - Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation. | ||
* `annotatorSelector` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelector.t`, *default:* `nil`) - Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run. | ||
* `conversationFilter` (*type:* `String.t`, *default:* `nil`) - Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. | ||
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time at which this analysis rule was created. | ||
* `displayName` (*type:* `String.t`, *default:* `nil`) - Display Name of the analysis rule. | ||
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule} | ||
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The most recent time at which this analysis rule was updated. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:active => boolean() | nil, | ||
:analysisPercentage => float() | nil, | ||
:annotatorSelector => | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelector.t() | ||
| nil, | ||
:conversationFilter => String.t() | nil, | ||
:createTime => DateTime.t() | nil, | ||
:displayName => String.t() | nil, | ||
:name => String.t() | nil, | ||
:updateTime => DateTime.t() | nil | ||
} | ||
|
||
field(:active) | ||
field(:analysisPercentage) | ||
|
||
field(:annotatorSelector, | ||
as: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelector | ||
) | ||
|
||
field(:conversationFilter) | ||
field(:createTime, as: DateTime) | ||
field(:displayName) | ||
field(:name) | ||
field(:updateTime, as: DateTime) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnalysisRule do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnalysisRule.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnalysisRule do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
...r_insights/v1/model/google_cloud_contactcenterinsights_v1_annotator_selector_qa_config.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# 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.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig do | ||
@moduledoc """ | ||
Configuration for the QA feature. | ||
## Attributes | ||
* `scorecardList` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList.t`, *default:* `nil`) - A manual list of scorecards to score. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:scorecardList => | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList.t() | ||
| nil | ||
} | ||
|
||
field(:scorecardList, | ||
as: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList | ||
) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
53 changes: 53 additions & 0 deletions
53
...odel/google_cloud_contactcenterinsights_v1_annotator_selector_qa_config_scorecard_list.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList do | ||
@moduledoc """ | ||
Container for a list of scorecards. | ||
## Attributes | ||
* `qaScorecardRevisions` (*type:* `list(String.t)`, *default:* `nil`) - List of QaScorecardRevisions. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:qaScorecardRevisions => list(String.t()) | nil | ||
} | ||
|
||
field(:qaScorecardRevisions, type: :list) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
79 changes: 79 additions & 0 deletions
79
.../v1/model/google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_metadata.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# 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.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata do | ||
@moduledoc """ | ||
Metadata for the BulkDownloadFeedbackLabel endpoint. | ||
## Attributes | ||
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation was created. | ||
* `downloadStats` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats.t`, *default:* `nil`) - Output only. Statistics for BulkDownloadFeedbackLabels operation. | ||
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation finished running. | ||
* `partialErrors` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleRpcStatus.t)`, *default:* `nil`) - Partial errors during ingest operation that might cause the operation output to be incomplete. | ||
* `request` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest.t`, *default:* `nil`) - Output only. The original request for download. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:createTime => DateTime.t() | nil, | ||
:downloadStats => | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats.t() | ||
| nil, | ||
:endTime => DateTime.t() | nil, | ||
:partialErrors => | ||
list(GoogleApi.ContactCenterInsights.V1.Model.GoogleRpcStatus.t()) | nil, | ||
:request => | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest.t() | ||
| nil | ||
} | ||
|
||
field(:createTime, as: DateTime) | ||
|
||
field(:downloadStats, | ||
as: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats | ||
) | ||
|
||
field(:endTime, as: DateTime) | ||
field(:partialErrors, as: GoogleApi.ContactCenterInsights.V1.Model.GoogleRpcStatus, type: :list) | ||
|
||
field(:request, | ||
as: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest | ||
) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
Oops, something went wrong.