Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff708e3

Browse files
Google APIscopybara-github
authored andcommitted
feat: extended CreateAgent timeout to 180 seconds
feat: added debug info to StreamingDetectIntent feat: added dtmf digits to WebhookRequest feat: added FLOW as a new DiffType in TestRunDifference PiperOrigin-RevId: 530032469
1 parent 4de416f commit ff708e3

25 files changed

+150
-35
lines changed

google/cloud/dialogflow/cx/v3/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ php_gapic_library(
298298
name = "cx_php_gapic",
299299
srcs = [":cx_proto_with_info"],
300300
grpc_service_config = "dialogflow_grpc_service_config.json",
301+
migration_mode = "PRE_MIGRATION_SURFACE_ONLY",
301302
rest_numeric_enums = True,
302303
service_yaml = "dialogflow_v3.yaml",
303304
transport = "grpc+rest",

google/cloud/dialogflow/cx/v3/advanced_settings.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/agent.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -416,7 +416,7 @@ message ExportAgentResponse {
416416
// The exported agent.
417417
oneof agent {
418418
// The URI to a file containing the exported agent. This field is populated
419-
// only if `agent_uri` is specified in
419+
// if `agent_uri` is specified in
420420
// [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
421421
string agent_uri = 1;
422422

google/cloud/dialogflow/cx/v3/audio_config.proto

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -190,6 +190,12 @@ message InputAudioConfig {
190190
// [Cloud Speech API
191191
// documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
192192
// for more details.
193+
// If you specify a model, the following models typically have the best
194+
// performance:
195+
//
196+
// - phone_call (best for Agent Assist and telephony)
197+
// - latest_short (best for Dialogflow non-telephony)
198+
// - command_and_search (best for very short utterances and commands)
193199
string model = 7;
194200

195201
// Optional. Which variant of the [Speech
@@ -317,10 +323,20 @@ message OutputAudioConfig {
317323
SynthesizeSpeechConfig synthesize_speech_config = 3;
318324
}
319325

320-
// Settings related to speech generating.
326+
// Settings related to speech synthesizing.
321327
message TextToSpeechSettings {
322-
// Configuration of how speech should be synthesized, mapping from
323-
// language (https://dialogflow.com/docs/reference/language) to
328+
// Configuration of how speech should be synthesized, mapping from language
329+
// (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
324330
// SynthesizeSpeechConfig.
331+
//
332+
// These settings affect:
333+
//
334+
// - The synthesize configuration used in [phone
335+
// gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway).
336+
//
337+
// - You no longer need to specify
338+
// [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
339+
// when invoking API calls. Your agent will use the pre-configured options
340+
// for speech synthesizing.
325341
map<string, SynthesizeSpeechConfig> synthesize_speech_configs = 1;
326342
}

google/cloud/dialogflow/cx/v3/changelog.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/deployment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/dialogflow_grpc_service_config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,23 @@
7070
]
7171
}
7272
},
73+
{
74+
"name": [
75+
{
76+
"service": "google.cloud.dialogflow.cx.v3.Agents",
77+
"method": "CreateAgent"
78+
}
79+
],
80+
"timeout": "180s",
81+
"retryPolicy": {
82+
"initialBackoff": "0.100s",
83+
"maxBackoff": "60s",
84+
"backoffMultiplier": 1.3,
85+
"retryableStatusCodes": [
86+
"UNAVAILABLE"
87+
]
88+
}
89+
},
7390
{
7491
"name": [
7592
{

google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ backend:
7474
rules:
7575
- selector: 'google.cloud.dialogflow.cx.v3.Agents.*'
7676
deadline: 60.0
77+
- selector: google.cloud.dialogflow.cx.v3.Agents.CreateAgent
78+
deadline: 180.0
7779
- selector: google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog
7880
deadline: 60.0
7981
- selector: google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs

google/cloud/dialogflow/cx/v3/entity_type.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/environment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)