Skip to content

Commit ab5839a

Browse files
feat: Automated regeneration of Dialogflow client (googleapis#13002)
Auto-created at 2025-02-20 13:15:50 +0000 using the toys pull request generator.
1 parent 32c9f05 commit ab5839a

13 files changed

+15
-15
lines changed

clients/dialogflow/lib/google_api/dialogflow/v2/api/projects.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5539,7 +5539,7 @@ defmodule GoogleApi.Dialogflow.V2.Api.Projects do
55395539
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
55405540
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
55415541
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
5542-
* `:filter` (*type:* `String.t`) - Optional. Filters to restrict results to specific answer records. Marked deprecated as it hasn't been, and isn't currently, supported. For more information about filtering, see [API Filtering](https://aip.dev/160).
5542+
* `:filter` (*type:* `String.t`) - Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global). For more information about filtering, see [API Filtering](https://aip.dev/160).
55435543
* `:pageSize` (*type:* `integer()`) - Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
55445544
* `:pageToken` (*type:* `String.t`) - Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
55455545
* `opts` (*type:* `keyword()`) - Call options
@@ -14347,7 +14347,7 @@ defmodule GoogleApi.Dialogflow.V2.Api.Projects do
1434714347
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
1434814348
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
1434914349
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
14350-
* `:filter` (*type:* `String.t`) - Optional. Filters to restrict results to specific answer records. Marked deprecated as it hasn't been, and isn't currently, supported. For more information about filtering, see [API Filtering](https://aip.dev/160).
14350+
* `:filter` (*type:* `String.t`) - Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global). For more information about filtering, see [API Filtering](https://aip.dev/160).
1435114351
* `:pageSize` (*type:* `integer()`) - Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
1435214352
* `:pageToken` (*type:* `String.t`) - Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
1435314353
* `opts` (*type:* `keyword()`) - Call options

clients/dialogflow/lib/google_api/dialogflow/v2/metadata.ex

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

23-
@discovery_revision "20250207"
23+
@discovery_revision "20250213"
2424

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

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_webhook_generic_web_service_o_auth_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookGenericW
2222
## Attributes
2323
2424
* `clientId` (*type:* `String.t`, *default:* `nil`) - Required. The client ID provided by the 3rd party platform.
25-
* `clientSecret` (*type:* `String.t`, *default:* `nil`) - Required. The client secret provided by the 3rd party platform.
25+
* `clientSecret` (*type:* `String.t`, *default:* `nil`) - Optional. The client secret provided by the 3rd party platform.
2626
* `scopes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. The OAuth scopes to grant.
2727
* `tokenEndpoint` (*type:* `String.t`, *default:* `nil`) - Required. The token endpoint provided by the 3rd party platform to exchange an access token.
2828
"""

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_o_auth_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1WebhookGen
2222
## Attributes
2323
2424
* `clientId` (*type:* `String.t`, *default:* `nil`) - Required. The client ID provided by the 3rd party platform.
25-
* `clientSecret` (*type:* `String.t`, *default:* `nil`) - Required. The client secret provided by the 3rd party platform.
25+
* `clientSecret` (*type:* `String.t`, *default:* `nil`) - Optional. The client secret provided by the 3rd party platform.
2626
* `scopes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. The OAuth scopes to grant.
2727
* `tokenEndpoint` (*type:* `String.t`, *default:* `nil`) - Required. The token endpoint provided by the 3rd party platform to exchange an access token.
2828
"""

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_agent_assistant_feedback.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFee
2222
## Attributes
2323
2424
* `answerRelevance` (*type:* `String.t`, *default:* `nil`) - Optional. Whether or not the suggested answer is relevant. For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * answer_relevance: AnswerRelevance.IRRELEVANT
25-
* `documentCorrectness` (*type:* `String.t`, *default:* `nil`) - Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * [document_correctness]: INCORRECT
25+
* `documentCorrectness` (*type:* `String.t`, *default:* `nil`) - Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * document_correctness: INCORRECT
2626
* `documentEfficiency` (*type:* `String.t`, *default:* `nil`) - Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT.
2727
* `knowledgeAssistFeedback` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback.t`, *default:* `nil`) - Optional. Feedback for knowledge assist.
2828
* `knowledgeSearchFeedback` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback.t`, *default:* `nil`) - Optional. Feedback for knowledge search.

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_conversation_model_evaluation.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationModel
2525
* `displayName` (*type:* `String.t`, *default:* `nil`) - Optional. The display name of the model evaluation. At most 64 bytes long.
2626
* `evaluationConfig` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfig.t`, *default:* `nil`) - Optional. The configuration of the evaluation task.
2727
* `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the evaluation. Format: `projects//conversationModels//evaluations/`
28-
* `rawHumanEvalTemplateCsv` (*type:* `String.t`, *default:* `nil`) - Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
28+
* `rawHumanEvalTemplateCsv` (*type:* `String.t`, *default:* `nil`) - Output only. Human eval template in csv format. It takes real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context.
2929
* `smartReplyMetrics` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetrics.t`, *default:* `nil`) - Output only. Only available when model is for smart reply.
3030
"""
3131

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_evaluation_config.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfig
2222
## Attributes
2323
2424
* `datasets` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputDataset.t)`, *default:* `nil`) - Required. Datasets used for evaluation.
25-
* `smartComposeConfig` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig.t`, *default:* `nil`) - Configuration for smart compose model evalution.
26-
* `smartReplyConfig` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.t`, *default:* `nil`) - Configuration for smart reply model evalution.
25+
* `smartComposeConfig` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig.t`, *default:* `nil`) - Configuration for smart compose model evaluation.
26+
* `smartReplyConfig` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.t`, *default:* `nil`) - Configuration for smart reply model evaluation.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_suggest_knowledge_assist_request.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestKnowledgeA
2323
2424
* `contextSize` (*type:* `integer()`, *default:* `nil`) - Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.
2525
* `latestMessage` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: `projects//locations//conversations//messages/`.
26-
* `previousSuggestedQuery` (*type:* `String.t`, *default:* `nil`) - Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
26+
* `previousSuggestedQuery` (*type:* `String.t`, *default:* `nil`) - Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is reasonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_response_message_live_agent_handoff.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff do
1919
@moduledoc """
20-
Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.
20+
Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a Dialogflow CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.
2121
2222
## Attributes
2323

clients/dialogflow/lib/google_api/dialogflow/v3/metadata.ex

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

23-
@discovery_revision "20250207"
23+
@discovery_revision "20250213"
2424

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

0 commit comments

Comments
 (0)