-
Notifications
You must be signed in to change notification settings - Fork 462
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
- Loading branch information
1 parent
7ac1a0b
commit 9e57853
Showing
104 changed files
with
5,662 additions
and
13 deletions.
There are no files selected for viewing
300 changes: 299 additions & 1 deletion
300
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
89 changes: 89 additions & 0 deletions
89
...tact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_annotator_selector.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,89 @@ | ||
# 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.GoogleCloudContactcenterinsightsV1AnnotatorSelector do | ||
@moduledoc """ | ||
Selector of all available annotators and phrase matchers to run. | ||
## Attributes | ||
* `issueModels` (*type:* `list(String.t)`, *default:* `nil`) - The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference. | ||
* `phraseMatchers` (*type:* `list(String.t)`, *default:* `nil`) - The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} | ||
* `runEntityAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the entity annotator. | ||
* `runIntentAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the intent annotator. | ||
* `runInterruptionAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the interruption annotator. | ||
* `runIssueModelAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the issue model annotator. A model should have already been deployed for this to take effect. | ||
* `runPhraseMatcherAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the active phrase matcher annotator(s). | ||
* `runSentimentAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the sentiment annotator. | ||
* `runSilenceAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the silence annotator. | ||
* `runSummarizationAnnotator` (*type:* `boolean()`, *default:* `nil`) - Whether to run the summarization annotator. | ||
* `summarizationConfig` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig.t`, *default:* `nil`) - Configuration for the summarization annotator. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:issueModels => list(String.t()) | nil, | ||
:phraseMatchers => list(String.t()) | nil, | ||
:runEntityAnnotator => boolean() | nil, | ||
:runIntentAnnotator => boolean() | nil, | ||
:runInterruptionAnnotator => boolean() | nil, | ||
:runIssueModelAnnotator => boolean() | nil, | ||
:runPhraseMatcherAnnotator => boolean() | nil, | ||
:runSentimentAnnotator => boolean() | nil, | ||
:runSilenceAnnotator => boolean() | nil, | ||
:runSummarizationAnnotator => boolean() | nil, | ||
:summarizationConfig => | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig.t() | ||
| nil | ||
} | ||
|
||
field(:issueModels, type: :list) | ||
field(:phraseMatchers, type: :list) | ||
field(:runEntityAnnotator) | ||
field(:runIntentAnnotator) | ||
field(:runInterruptionAnnotator) | ||
field(:runIssueModelAnnotator) | ||
field(:runPhraseMatcherAnnotator) | ||
field(:runSentimentAnnotator) | ||
field(:runSilenceAnnotator) | ||
field(:runSummarizationAnnotator) | ||
|
||
field(:summarizationConfig, | ||
as: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig | ||
) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelector do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelector.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelector do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
56 changes: 56 additions & 0 deletions
56
...v1/model/google_cloud_contactcenterinsights_v1_annotator_selector_summarization_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,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.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig do | ||
@moduledoc """ | ||
Configuration for summarization. | ||
## Attributes | ||
* `conversationProfile` (*type:* `String.t`, *default:* `nil`) - Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} | ||
* `summarizationModel` (*type:* `String.t`, *default:* `nil`) - Default summarization model to be used. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:conversationProfile => String.t() | nil, | ||
:summarizationModel => String.t() | nil | ||
} | ||
|
||
field(:conversationProfile) | ||
field(:summarizationModel) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig 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
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
69 changes: 69 additions & 0 deletions
69
...ghts/v1/model/google_cloud_contactcenterinsights_v1_bulk_delete_conversations_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,69 @@ | ||
# 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.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata do | ||
@moduledoc """ | ||
The metadata for a bulk delete conversations operation. | ||
## Attributes | ||
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the operation was created. | ||
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the operation finished running. | ||
* `partialErrors` (*type:* `list(GoogleApi.ContactCenterInsights.V1.Model.GoogleRpcStatus.t)`, *default:* `nil`) - Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete. | ||
* `request` (*type:* `GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest.t`, *default:* `nil`) - The original request for bulk delete. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:createTime => DateTime.t() | nil, | ||
:endTime => DateTime.t() | nil, | ||
:partialErrors => | ||
list(GoogleApi.ContactCenterInsights.V1.Model.GoogleRpcStatus.t()) | nil, | ||
:request => | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest.t() | ||
| nil | ||
} | ||
|
||
field(:createTime, as: DateTime) | ||
field(:endTime, as: DateTime) | ||
field(:partialErrors, as: GoogleApi.ContactCenterInsights.V1.Model.GoogleRpcStatus, type: :list) | ||
|
||
field(:request, | ||
as: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest | ||
) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
62 changes: 62 additions & 0 deletions
62
...ights/v1/model/google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request.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,62 @@ | ||
# 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.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest do | ||
@moduledoc """ | ||
The request to delete conversations in bulk. | ||
## Attributes | ||
* `filter` (*type:* `String.t`, *default:* `nil`) - Filter used to select the subset of conversations to delete. | ||
* `force` (*type:* `boolean()`, *default:* `nil`) - If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. | ||
* `maxDeleteCount` (*type:* `integer()`, *default:* `nil`) - Maximum number of conversations to delete. | ||
* `parent` (*type:* `String.t`, *default:* `nil`) - Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:filter => String.t() | nil, | ||
:force => boolean() | nil, | ||
:maxDeleteCount => integer() | nil, | ||
:parent => String.t() | nil | ||
} | ||
|
||
field(:filter) | ||
field(:force) | ||
field(:maxDeleteCount) | ||
field(:parent) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest do | ||
def decode(value, options) do | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
Oops, something went wrong.