From 6ff0a5576c06935cde1b13a536c286e0c3eab7cc Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 12 Jan 2023 18:46:49 +0000 Subject: [PATCH 1/4] chore(deps): update dependency google-cloud-dialogflow-cx to v1.16.0 (#487) --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index cd60bb42..5271d168 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,3 +1,3 @@ -google-cloud-dialogflow-cx==1.15.0 +google-cloud-dialogflow-cx==1.16.0 Flask==2.2.2 python-dateutil==2.8.2 From a685e8c8e2ed20325a0adddfdb6691030bd923b9 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 13 Jan 2023 11:40:40 -0500 Subject: [PATCH 2/4] feat(v3): ResponseMessage proto contains channel information (#488) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: ResponseMessage proto contains channel information docs: updated go library package PiperOrigin-RevId: 501638939 Source-Link: https://github.com/googleapis/googleapis/commit/529c07a642e26b46f7907c8c37f7bef8826b7461 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6dc5598facecce2e5204c35acbe2e460f9eca71c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmRjNTU5OGZhY2VjY2UyZTUyMDRjMzVhY2JlMmU0NjBmOWVjYTcxYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../services/agents/async_client.py | 12 ++++---- .../dialogflowcx_v3/services/agents/client.py | 12 ++++---- .../services/changelogs/async_client.py | 2 +- .../services/changelogs/client.py | 2 +- .../services/deployments/async_client.py | 2 +- .../services/deployments/client.py | 2 +- .../services/entity_types/async_client.py | 2 +- .../services/entity_types/client.py | 2 +- .../services/environments/async_client.py | 16 ++++------ .../services/environments/client.py | 16 ++++------ .../services/experiments/async_client.py | 2 +- .../services/experiments/client.py | 2 +- .../services/flows/async_client.py | 18 +++++------ .../dialogflowcx_v3/services/flows/client.py | 18 +++++------ .../services/intents/async_client.py | 2 +- .../services/intents/client.py | 2 +- .../services/pages/async_client.py | 2 +- .../dialogflowcx_v3/services/pages/client.py | 2 +- .../session_entity_types/async_client.py | 2 +- .../services/session_entity_types/client.py | 2 +- .../services/sessions/async_client.py | 13 ++++---- .../services/sessions/client.py | 13 ++++---- .../services/test_cases/async_client.py | 30 +++++++------------ .../services/test_cases/client.py | 30 +++++++------------ .../transition_route_groups/async_client.py | 2 +- .../transition_route_groups/client.py | 2 +- .../services/versions/async_client.py | 4 +-- .../services/versions/client.py | 4 +-- .../services/webhooks/async_client.py | 2 +- .../services/webhooks/client.py | 2 +- .../dialogflowcx_v3/types/response_message.py | 9 ++++++ google/cloud/dialogflowcx_v3/types/session.py | 18 +++++++++++ ...etadata_google.cloud.dialogflow.cx.v3.json | 2 +- ...ta_google.cloud.dialogflow.cx.v3beta1.json | 2 +- 34 files changed, 123 insertions(+), 130 deletions(-) diff --git a/google/cloud/dialogflowcx_v3/services/agents/async_client.py b/google/cloud/dialogflowcx_v3/services/agents/async_client.py index ffcc4ae4..a19dde3d 100644 --- a/google/cloud/dialogflowcx_v3/services/agents/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/agents/async_client.py @@ -290,7 +290,7 @@ async def sample_list_agents(): Returns: google.cloud.dialogflowcx_v3.services.agents.pagers.ListAgentsAsyncPager: The response message for - [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. + [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. Iterating over this object will yield results and resolve additional pages automatically. @@ -881,10 +881,8 @@ async def sample_export_agent(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ExportAgentResponse` - The response message for - [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ExportAgentResponse` The response message for + [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent]. """ # Create or coerce a protobuf request object. @@ -1096,7 +1094,7 @@ async def sample_validate_agent(): Returns: google.cloud.dialogflowcx_v3.types.AgentValidationResult: The response message for - [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. + [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. """ # Create or coerce a protobuf request object. @@ -1185,7 +1183,7 @@ async def sample_get_agent_validation_result(): Returns: google.cloud.dialogflowcx_v3.types.AgentValidationResult: The response message for - [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. + [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/agents/client.py b/google/cloud/dialogflowcx_v3/services/agents/client.py index 29d1d2dd..0a66c5d7 100644 --- a/google/cloud/dialogflowcx_v3/services/agents/client.py +++ b/google/cloud/dialogflowcx_v3/services/agents/client.py @@ -623,7 +623,7 @@ def sample_list_agents(): Returns: google.cloud.dialogflowcx_v3.services.agents.pagers.ListAgentsPager: The response message for - [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. + [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1214,10 +1214,8 @@ def sample_export_agent(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ExportAgentResponse` - The response message for - [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ExportAgentResponse` The response message for + [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent]. """ # Create or coerce a protobuf request object. @@ -1431,7 +1429,7 @@ def sample_validate_agent(): Returns: google.cloud.dialogflowcx_v3.types.AgentValidationResult: The response message for - [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. + [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. """ # Create or coerce a protobuf request object. @@ -1521,7 +1519,7 @@ def sample_get_agent_validation_result(): Returns: google.cloud.dialogflowcx_v3.types.AgentValidationResult: The response message for - [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. + [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/changelogs/async_client.py b/google/cloud/dialogflowcx_v3/services/changelogs/async_client.py index aa70da2d..97c9b2d1 100644 --- a/google/cloud/dialogflowcx_v3/services/changelogs/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/changelogs/async_client.py @@ -270,7 +270,7 @@ async def sample_list_changelogs(): Returns: google.cloud.dialogflowcx_v3.services.changelogs.pagers.ListChangelogsAsyncPager: The response message for - [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs]. + [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/changelogs/client.py b/google/cloud/dialogflowcx_v3/services/changelogs/client.py index ea16beb2..f81f2eac 100644 --- a/google/cloud/dialogflowcx_v3/services/changelogs/client.py +++ b/google/cloud/dialogflowcx_v3/services/changelogs/client.py @@ -503,7 +503,7 @@ def sample_list_changelogs(): Returns: google.cloud.dialogflowcx_v3.services.changelogs.pagers.ListChangelogsPager: The response message for - [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs]. + [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/deployments/async_client.py b/google/cloud/dialogflowcx_v3/services/deployments/async_client.py index 52b14723..e1606481 100644 --- a/google/cloud/dialogflowcx_v3/services/deployments/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/deployments/async_client.py @@ -283,7 +283,7 @@ async def sample_list_deployments(): Returns: google.cloud.dialogflowcx_v3.services.deployments.pagers.ListDeploymentsAsyncPager: The response message for - [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments]. + [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/deployments/client.py b/google/cloud/dialogflowcx_v3/services/deployments/client.py index 1912b8f4..20eb68f7 100644 --- a/google/cloud/dialogflowcx_v3/services/deployments/client.py +++ b/google/cloud/dialogflowcx_v3/services/deployments/client.py @@ -586,7 +586,7 @@ def sample_list_deployments(): Returns: google.cloud.dialogflowcx_v3.services.deployments.pagers.ListDeploymentsPager: The response message for - [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments]. + [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/entity_types/async_client.py b/google/cloud/dialogflowcx_v3/services/entity_types/async_client.py index 520ff74c..365d21a4 100644 --- a/google/cloud/dialogflowcx_v3/services/entity_types/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/entity_types/async_client.py @@ -275,7 +275,7 @@ async def sample_list_entity_types(): Returns: google.cloud.dialogflowcx_v3.services.entity_types.pagers.ListEntityTypesAsyncPager: The response message for - [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes]. + [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/entity_types/client.py b/google/cloud/dialogflowcx_v3/services/entity_types/client.py index 2a0ba3d6..261b9d93 100644 --- a/google/cloud/dialogflowcx_v3/services/entity_types/client.py +++ b/google/cloud/dialogflowcx_v3/services/entity_types/client.py @@ -506,7 +506,7 @@ def sample_list_entity_types(): Returns: google.cloud.dialogflowcx_v3.services.entity_types.pagers.ListEntityTypesPager: The response message for - [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes]. + [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/environments/async_client.py b/google/cloud/dialogflowcx_v3/services/environments/async_client.py index 1ef13833..c48b284c 100644 --- a/google/cloud/dialogflowcx_v3/services/environments/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/environments/async_client.py @@ -298,7 +298,7 @@ async def sample_list_environments(): Returns: google.cloud.dialogflowcx_v3.services.environments.pagers.ListEnvironmentsAsyncPager: The response message for - [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments]. + [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments]. Iterating over this object will yield results and resolve additional pages automatically. @@ -936,7 +936,7 @@ async def sample_lookup_environment_history(): Returns: google.cloud.dialogflowcx_v3.services.environments.pagers.LookupEnvironmentHistoryAsyncPager: The response message for - [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory]. + [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1058,10 +1058,8 @@ async def sample_run_continuous_test(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.RunContinuousTestResponse` - The response message for - [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.RunContinuousTestResponse` The response message for + [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. """ # Create or coerce a protobuf request object. @@ -1286,10 +1284,8 @@ async def sample_deploy_flow(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.DeployFlowResponse` - The response message for - [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.DeployFlowResponse` The response message for + [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/environments/client.py b/google/cloud/dialogflowcx_v3/services/environments/client.py index 1c033202..e94775dd 100644 --- a/google/cloud/dialogflowcx_v3/services/environments/client.py +++ b/google/cloud/dialogflowcx_v3/services/environments/client.py @@ -661,7 +661,7 @@ def sample_list_environments(): Returns: google.cloud.dialogflowcx_v3.services.environments.pagers.ListEnvironmentsPager: The response message for - [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments]. + [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1299,7 +1299,7 @@ def sample_lookup_environment_history(): Returns: google.cloud.dialogflowcx_v3.services.environments.pagers.LookupEnvironmentHistoryPager: The response message for - [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory]. + [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1423,10 +1423,8 @@ def sample_run_continuous_test(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.RunContinuousTestResponse` - The response message for - [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.RunContinuousTestResponse` The response message for + [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. """ # Create or coerce a protobuf request object. @@ -1654,10 +1652,8 @@ def sample_deploy_flow(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.DeployFlowResponse` - The response message for - [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.DeployFlowResponse` The response message for + [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/experiments/async_client.py b/google/cloud/dialogflowcx_v3/services/experiments/async_client.py index e37a2191..adfc4a5c 100644 --- a/google/cloud/dialogflowcx_v3/services/experiments/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/experiments/async_client.py @@ -280,7 +280,7 @@ async def sample_list_experiments(): Returns: google.cloud.dialogflowcx_v3.services.experiments.pagers.ListExperimentsAsyncPager: The response message for - [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments]. + [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/experiments/client.py b/google/cloud/dialogflowcx_v3/services/experiments/client.py index dbc263e7..a4cd55a6 100644 --- a/google/cloud/dialogflowcx_v3/services/experiments/client.py +++ b/google/cloud/dialogflowcx_v3/services/experiments/client.py @@ -537,7 +537,7 @@ def sample_list_experiments(): Returns: google.cloud.dialogflowcx_v3.services.experiments.pagers.ListExperimentsPager: The response message for - [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments]. + [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/flows/async_client.py b/google/cloud/dialogflowcx_v3/services/flows/async_client.py index fbe8c0e2..f34f435c 100644 --- a/google/cloud/dialogflowcx_v3/services/flows/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/flows/async_client.py @@ -515,7 +515,7 @@ async def sample_list_flows(): Returns: google.cloud.dialogflowcx_v3.services.flows.pagers.ListFlowsAsyncPager: The response message for - [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows]. + [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1027,7 +1027,7 @@ async def sample_validate_flow(): Returns: google.cloud.dialogflowcx_v3.types.FlowValidationResult: The response message for - [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. + [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. """ # Create or coerce a protobuf request object. @@ -1116,7 +1116,7 @@ async def sample_get_flow_validation_result(): Returns: google.cloud.dialogflowcx_v3.types.FlowValidationResult: The response message for - [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. + [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. """ # Create or coerce a protobuf request object. @@ -1231,10 +1231,8 @@ async def sample_import_flow(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ImportFlowResponse` - The response message for - [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ImportFlowResponse` The response message for + [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow]. """ # Create or coerce a protobuf request object. @@ -1340,10 +1338,8 @@ async def sample_export_flow(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ExportFlowResponse` - The response message for - [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ExportFlowResponse` The response message for + [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/flows/client.py b/google/cloud/dialogflowcx_v3/services/flows/client.py index f3ffe19e..2d51f86b 100644 --- a/google/cloud/dialogflowcx_v3/services/flows/client.py +++ b/google/cloud/dialogflowcx_v3/services/flows/client.py @@ -862,7 +862,7 @@ def sample_list_flows(): Returns: google.cloud.dialogflowcx_v3.services.flows.pagers.ListFlowsPager: The response message for - [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows]. + [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1374,7 +1374,7 @@ def sample_validate_flow(): Returns: google.cloud.dialogflowcx_v3.types.FlowValidationResult: The response message for - [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. + [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. """ # Create or coerce a protobuf request object. @@ -1464,7 +1464,7 @@ def sample_get_flow_validation_result(): Returns: google.cloud.dialogflowcx_v3.types.FlowValidationResult: The response message for - [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. + [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult]. """ # Create or coerce a protobuf request object. @@ -1581,10 +1581,8 @@ def sample_import_flow(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ImportFlowResponse` - The response message for - [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ImportFlowResponse` The response message for + [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow]. """ # Create or coerce a protobuf request object. @@ -1691,10 +1689,8 @@ def sample_export_flow(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ExportFlowResponse` - The response message for - [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ExportFlowResponse` The response message for + [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/intents/async_client.py b/google/cloud/dialogflowcx_v3/services/intents/async_client.py index 77827aaf..c63bfdf6 100644 --- a/google/cloud/dialogflowcx_v3/services/intents/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/intents/async_client.py @@ -272,7 +272,7 @@ async def sample_list_intents(): Returns: google.cloud.dialogflowcx_v3.services.intents.pagers.ListIntentsAsyncPager: The response message for - [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents]. + [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/intents/client.py b/google/cloud/dialogflowcx_v3/services/intents/client.py index 2328e7d9..cb1a9f2d 100644 --- a/google/cloud/dialogflowcx_v3/services/intents/client.py +++ b/google/cloud/dialogflowcx_v3/services/intents/client.py @@ -529,7 +529,7 @@ def sample_list_intents(): Returns: google.cloud.dialogflowcx_v3.services.intents.pagers.ListIntentsPager: The response message for - [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents]. + [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/pages/async_client.py b/google/cloud/dialogflowcx_v3/services/pages/async_client.py index 977ea384..ef75f45b 100644 --- a/google/cloud/dialogflowcx_v3/services/pages/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/pages/async_client.py @@ -278,7 +278,7 @@ async def sample_list_pages(): Returns: google.cloud.dialogflowcx_v3.services.pages.pagers.ListPagesAsyncPager: The response message for - [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages]. + [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/pages/client.py b/google/cloud/dialogflowcx_v3/services/pages/client.py index eb6cfca4..a6d7ff01 100644 --- a/google/cloud/dialogflowcx_v3/services/pages/client.py +++ b/google/cloud/dialogflowcx_v3/services/pages/client.py @@ -627,7 +627,7 @@ def sample_list_pages(): Returns: google.cloud.dialogflowcx_v3.services.pages.pagers.ListPagesPager: The response message for - [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages]. + [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/session_entity_types/async_client.py b/google/cloud/dialogflowcx_v3/services/session_entity_types/async_client.py index c5585776..c6d4e39c 100644 --- a/google/cloud/dialogflowcx_v3/services/session_entity_types/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/session_entity_types/async_client.py @@ -293,7 +293,7 @@ async def sample_list_session_entity_types(): Returns: google.cloud.dialogflowcx_v3.services.session_entity_types.pagers.ListSessionEntityTypesAsyncPager: The response message for - [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes]. + [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/session_entity_types/client.py b/google/cloud/dialogflowcx_v3/services/session_entity_types/client.py index d106eb9f..131f5429 100644 --- a/google/cloud/dialogflowcx_v3/services/session_entity_types/client.py +++ b/google/cloud/dialogflowcx_v3/services/session_entity_types/client.py @@ -519,7 +519,7 @@ def sample_list_session_entity_types(): Returns: google.cloud.dialogflowcx_v3.services.session_entity_types.pagers.ListSessionEntityTypesPager: The response message for - [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes]. + [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/sessions/async_client.py b/google/cloud/dialogflowcx_v3/services/sessions/async_client.py index d3f4add6..da5d30f5 100644 --- a/google/cloud/dialogflowcx_v3/services/sessions/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/sessions/async_client.py @@ -401,6 +401,7 @@ def request_generator(): client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method. + Multiple request messages should be sent in order: 1. The first message must contain @@ -408,19 +409,19 @@ def request_generator(): [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. - If the client wants to receive an audio response, it + If the client wants to receive an audio response, it should also contain [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config]. 2. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], - all subsequent messages must contain + all subsequent messages must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] - to continue with Speech recognition. - If you decide to rather detect an intent from text - input after you already started Speech recognition, - please send a message with + to continue with Speech recognition. If you decide to + rather detect an intent from text input after you + already started Speech recognition, please send a + message with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. However, note that: diff --git a/google/cloud/dialogflowcx_v3/services/sessions/client.py b/google/cloud/dialogflowcx_v3/services/sessions/client.py index d7ecf4d5..8b7fa021 100644 --- a/google/cloud/dialogflowcx_v3/services/sessions/client.py +++ b/google/cloud/dialogflowcx_v3/services/sessions/client.py @@ -805,6 +805,7 @@ def request_generator(): client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method. + Multiple request messages should be sent in order: 1. The first message must contain @@ -812,19 +813,19 @@ def request_generator(): [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. - If the client wants to receive an audio response, it + If the client wants to receive an audio response, it should also contain [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config]. 2. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], - all subsequent messages must contain + all subsequent messages must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] - to continue with Speech recognition. - If you decide to rather detect an intent from text - input after you already started Speech recognition, - please send a message with + to continue with Speech recognition. If you decide to + rather detect an intent from text input after you + already started Speech recognition, please send a + message with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. However, note that: diff --git a/google/cloud/dialogflowcx_v3/services/test_cases/async_client.py b/google/cloud/dialogflowcx_v3/services/test_cases/async_client.py index 0c4ac2d2..918b00f6 100644 --- a/google/cloud/dialogflowcx_v3/services/test_cases/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/test_cases/async_client.py @@ -299,7 +299,7 @@ async def sample_list_test_cases(): Returns: google.cloud.dialogflowcx_v3.services.test_cases.pagers.ListTestCasesAsyncPager: The response message for - [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases]. + [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases]. Iterating over this object will yield results and resolve additional pages automatically. @@ -840,10 +840,8 @@ async def sample_run_test_case(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.RunTestCaseResponse` - The response message for - [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.RunTestCaseResponse` The response message for + [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase]. """ # Create or coerce a protobuf request object. @@ -947,10 +945,8 @@ async def sample_batch_run_test_cases(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.BatchRunTestCasesResponse` - The response message for - [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.BatchRunTestCasesResponse` The response message for + [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases]. """ # Create or coerce a protobuf request object. @@ -1039,7 +1035,7 @@ async def sample_calculate_coverage(): Returns: google.cloud.dialogflowcx_v3.types.CalculateCoverageResponse: The response message for - [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage]. + [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage]. """ # Create or coerce a protobuf request object. @@ -1138,10 +1134,8 @@ async def sample_import_test_cases(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ImportTestCasesResponse` - The response message for - [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ImportTestCasesResponse` The response message for + [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases]. """ # Create or coerce a protobuf request object. @@ -1247,10 +1241,8 @@ async def sample_export_test_cases(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ExportTestCasesResponse` - The response message for - [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ExportTestCasesResponse` The response message for + [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases]. """ # Create or coerce a protobuf request object. @@ -1349,7 +1341,7 @@ async def sample_list_test_case_results(): Returns: google.cloud.dialogflowcx_v3.services.test_cases.pagers.ListTestCaseResultsAsyncPager: The response message for - [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults]. + [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/test_cases/client.py b/google/cloud/dialogflowcx_v3/services/test_cases/client.py index f69be542..52aaac66 100644 --- a/google/cloud/dialogflowcx_v3/services/test_cases/client.py +++ b/google/cloud/dialogflowcx_v3/services/test_cases/client.py @@ -728,7 +728,7 @@ def sample_list_test_cases(): Returns: google.cloud.dialogflowcx_v3.services.test_cases.pagers.ListTestCasesPager: The response message for - [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases]. + [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1269,10 +1269,8 @@ def sample_run_test_case(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.RunTestCaseResponse` - The response message for - [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.RunTestCaseResponse` The response message for + [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase]. """ # Create or coerce a protobuf request object. @@ -1377,10 +1375,8 @@ def sample_batch_run_test_cases(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.BatchRunTestCasesResponse` - The response message for - [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.BatchRunTestCasesResponse` The response message for + [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases]. """ # Create or coerce a protobuf request object. @@ -1470,7 +1466,7 @@ def sample_calculate_coverage(): Returns: google.cloud.dialogflowcx_v3.types.CalculateCoverageResponse: The response message for - [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage]. + [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage]. """ # Create or coerce a protobuf request object. @@ -1570,10 +1566,8 @@ def sample_import_test_cases(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ImportTestCasesResponse` - The response message for - [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ImportTestCasesResponse` The response message for + [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases]. """ # Create or coerce a protobuf request object. @@ -1680,10 +1674,8 @@ def sample_export_test_cases(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be - :class:`google.cloud.dialogflowcx_v3.types.ExportTestCasesResponse` - The response message for - [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases]. + The result type for the operation will be :class:`google.cloud.dialogflowcx_v3.types.ExportTestCasesResponse` The response message for + [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases]. """ # Create or coerce a protobuf request object. @@ -1783,7 +1775,7 @@ def sample_list_test_case_results(): Returns: google.cloud.dialogflowcx_v3.services.test_cases.pagers.ListTestCaseResultsPager: The response message for - [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults]. + [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/transition_route_groups/async_client.py b/google/cloud/dialogflowcx_v3/services/transition_route_groups/async_client.py index 900d3a45..2f40511e 100644 --- a/google/cloud/dialogflowcx_v3/services/transition_route_groups/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/transition_route_groups/async_client.py @@ -299,7 +299,7 @@ async def sample_list_transition_route_groups(): Returns: google.cloud.dialogflowcx_v3.services.transition_route_groups.pagers.ListTransitionRouteGroupsAsyncPager: The response message for - [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups]. + [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/transition_route_groups/client.py b/google/cloud/dialogflowcx_v3/services/transition_route_groups/client.py index 5ca92b3b..f9e99493 100644 --- a/google/cloud/dialogflowcx_v3/services/transition_route_groups/client.py +++ b/google/cloud/dialogflowcx_v3/services/transition_route_groups/client.py @@ -613,7 +613,7 @@ def sample_list_transition_route_groups(): Returns: google.cloud.dialogflowcx_v3.services.transition_route_groups.pagers.ListTransitionRouteGroupsPager: The response message for - [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups]. + [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/versions/async_client.py b/google/cloud/dialogflowcx_v3/services/versions/async_client.py index 7d2722b4..f8e99aa1 100644 --- a/google/cloud/dialogflowcx_v3/services/versions/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/versions/async_client.py @@ -277,7 +277,7 @@ async def sample_list_versions(): Returns: google.cloud.dialogflowcx_v3.services.versions.pagers.ListVersionsAsyncPager: The response message for - [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions]. + [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions]. Iterating over this object will yield results and resolve additional pages automatically. @@ -987,7 +987,7 @@ async def sample_compare_versions(): Returns: google.cloud.dialogflowcx_v3.types.CompareVersionsResponse: The response message for - [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions]. + [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/versions/client.py b/google/cloud/dialogflowcx_v3/services/versions/client.py index 6048bc74..19f0c927 100644 --- a/google/cloud/dialogflowcx_v3/services/versions/client.py +++ b/google/cloud/dialogflowcx_v3/services/versions/client.py @@ -514,7 +514,7 @@ def sample_list_versions(): Returns: google.cloud.dialogflowcx_v3.services.versions.pagers.ListVersionsPager: The response message for - [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions]. + [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions]. Iterating over this object will yield results and resolve additional pages automatically. @@ -1224,7 +1224,7 @@ def sample_compare_versions(): Returns: google.cloud.dialogflowcx_v3.types.CompareVersionsResponse: The response message for - [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions]. + [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions]. """ # Create or coerce a protobuf request object. diff --git a/google/cloud/dialogflowcx_v3/services/webhooks/async_client.py b/google/cloud/dialogflowcx_v3/services/webhooks/async_client.py index bb573ef7..da300543 100644 --- a/google/cloud/dialogflowcx_v3/services/webhooks/async_client.py +++ b/google/cloud/dialogflowcx_v3/services/webhooks/async_client.py @@ -273,7 +273,7 @@ async def sample_list_webhooks(): Returns: google.cloud.dialogflowcx_v3.services.webhooks.pagers.ListWebhooksAsyncPager: The response message for - [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks]. + [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/services/webhooks/client.py b/google/cloud/dialogflowcx_v3/services/webhooks/client.py index 5f2d6397..1c1c16c9 100644 --- a/google/cloud/dialogflowcx_v3/services/webhooks/client.py +++ b/google/cloud/dialogflowcx_v3/services/webhooks/client.py @@ -530,7 +530,7 @@ def sample_list_webhooks(): Returns: google.cloud.dialogflowcx_v3.services.webhooks.pagers.ListWebhooksPager: The response message for - [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks]. + [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks]. Iterating over this object will yield results and resolve additional pages automatically. diff --git a/google/cloud/dialogflowcx_v3/types/response_message.py b/google/cloud/dialogflowcx_v3/types/response_message.py index 1057dd56..fe91f886 100644 --- a/google/cloud/dialogflowcx_v3/types/response_message.py +++ b/google/cloud/dialogflowcx_v3/types/response_message.py @@ -116,6 +116,11 @@ class ResponseMessage(proto.Message): third-party endpoint. This field is a member of `oneof`_ ``message``. + channel (str): + The channel which the response is associated with. Clients + can specify the channel via + [QueryParameters.channel][google.cloud.dialogflow.cx.v3.QueryParameters.channel], + and only associated channel response will be returned. """ class Text(proto.Message): @@ -420,6 +425,10 @@ class TelephonyTransferCall(proto.Message): oneof="message", message=TelephonyTransferCall, ) + channel: str = proto.Field( + proto.STRING, + number=19, + ) __all__ = tuple(sorted(__protobuf__.manifest)) diff --git a/google/cloud/dialogflowcx_v3/types/session.py b/google/cloud/dialogflowcx_v3/types/session.py index 53b562bb..14c04ac9 100644 --- a/google/cloud/dialogflowcx_v3/types/session.py +++ b/google/cloud/dialogflowcx_v3/types/session.py @@ -568,6 +568,20 @@ class QueryParameters(proto.Message): of flow X will go through version 1 regardless of the version configuration in the environment. Each flow can have at most one version specified in this list. + channel (str): + The channel which this query is for. + + If specified, only the + [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] + associated with the channel will be returned. If no + [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] + is associated with the channel, it falls back to the + [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] + with unspecified channel. + + If unspecified, the + [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] + with unspecified channel will be returned. """ time_zone: str = proto.Field( @@ -617,6 +631,10 @@ class QueryParameters(proto.Message): proto.STRING, number=14, ) + channel: str = proto.Field( + proto.STRING, + number=15, + ) class QueryInput(proto.Message): diff --git a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json index 46b97972..a81f2e6e 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-dialogflow-cx", - "version": "1.16.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json index 4c31a759..1df013e0 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-dialogflow-cx", - "version": "1.16.0" + "version": "0.1.0" }, "snippets": [ { From d5f86549852b00e32298feab0a7f1a360b0bdba2 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Sat, 14 Jan 2023 18:09:59 +0000 Subject: [PATCH 3/4] chore(deps): update dependency pytest to v7.2.1 (#490) --- samples/snippets/requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index 49780e03..805eb2a9 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==7.2.0 +pytest==7.2.1 From d99ff4dcdd04fcd0defadae5ecf308567d0fe5a1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:25:38 -0500 Subject: [PATCH 4/4] chore(main): release 1.17.0 (#489) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ google/cloud/dialogflowcx/gapic_version.py | 2 +- google/cloud/dialogflowcx_v3/gapic_version.py | 2 +- google/cloud/dialogflowcx_v3beta1/gapic_version.py | 2 +- .../snippet_metadata_google.cloud.dialogflow.cx.v3.json | 2 +- ...nippet_metadata_google.cloud.dialogflow.cx.v3beta1.json | 2 +- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5677a32d..46e7a463 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.16.0" + ".": "1.17.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index fa708842..438ad1a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.17.0](https://github.com/googleapis/python-dialogflow-cx/compare/v1.16.0...v1.17.0) (2023-01-14) + + +### Features + +* **v3:** ResponseMessage proto contains channel information ([#488](https://github.com/googleapis/python-dialogflow-cx/issues/488)) ([a685e8c](https://github.com/googleapis/python-dialogflow-cx/commit/a685e8c8e2ed20325a0adddfdb6691030bd923b9)) + ## [1.16.0](https://github.com/googleapis/python-dialogflow-cx/compare/v1.15.0...v1.16.0) (2023-01-12) diff --git a/google/cloud/dialogflowcx/gapic_version.py b/google/cloud/dialogflowcx/gapic_version.py index da7f5dbf..cb72862e 100644 --- a/google/cloud/dialogflowcx/gapic_version.py +++ b/google/cloud/dialogflowcx/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.16.0" # {x-release-please-version} +__version__ = "1.17.0" # {x-release-please-version} diff --git a/google/cloud/dialogflowcx_v3/gapic_version.py b/google/cloud/dialogflowcx_v3/gapic_version.py index da7f5dbf..cb72862e 100644 --- a/google/cloud/dialogflowcx_v3/gapic_version.py +++ b/google/cloud/dialogflowcx_v3/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.16.0" # {x-release-please-version} +__version__ = "1.17.0" # {x-release-please-version} diff --git a/google/cloud/dialogflowcx_v3beta1/gapic_version.py b/google/cloud/dialogflowcx_v3beta1/gapic_version.py index da7f5dbf..cb72862e 100644 --- a/google/cloud/dialogflowcx_v3beta1/gapic_version.py +++ b/google/cloud/dialogflowcx_v3beta1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.16.0" # {x-release-please-version} +__version__ = "1.17.0" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json index a81f2e6e..8dfc27c6 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-dialogflow-cx", - "version": "0.1.0" + "version": "1.17.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json index 1df013e0..ff8cb46d 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-dialogflow-cx", - "version": "0.1.0" + "version": "1.17.0" }, "snippets": [ {