Skip to content

Commit b57410b

Browse files
Add logging_settings and speech_settings to dialogflow_cx_agent/flow (#11940) (#815)
[upstream:db994558105fe3703175e7d255a24941c1afa3bb] Signed-off-by: Modular Magician <[email protected]>
1 parent 054a61e commit b57410b

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

dialogflowcx_agent_full/main.tf

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,26 @@ resource "google_dialogflow_cx_agent" "full_agent" {
2121
audio_export_gcs_destination {
2222
uri = "${google_storage_bucket.bucket.url}/prefix-"
2323
}
24+
speech_settings {
25+
endpointer_sensitivity = 30
26+
no_speech_timeout = "3.500s"
27+
use_timeout_based_endpointing = true
28+
models = {
29+
name : "wrench"
30+
mass : "1.3kg"
31+
count : "3"
32+
}
33+
}
2434
dtmf_settings {
25-
enabled = true
26-
max_digits = 1
35+
enabled = true
36+
max_digits = 1
2737
finish_digit = "#"
2838
}
39+
logging_settings {
40+
enable_stackdriver_logging = true
41+
enable_interaction_logging = true
42+
enable_consent_based_redaction = true
43+
}
2944
}
3045
git_integration_settings {
3146
github_settings {

dialogflowcx_flow_full/main.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,25 @@ resource "google_dialogflow_cx_flow" "basic_flow" {
273273
audio_export_gcs_destination {
274274
uri = "${google_storage_bucket.bucket.url}/prefix-"
275275
}
276+
speech_settings {
277+
endpointer_sensitivity = 30
278+
no_speech_timeout = "3.500s"
279+
use_timeout_based_endpointing = true
280+
models = {
281+
name : "wrench"
282+
mass : "1.3kg"
283+
count : "3"
284+
}
285+
}
276286
dtmf_settings {
277287
enabled = true
278288
max_digits = 1
279289
finish_digit = "#"
280290
}
291+
logging_settings {
292+
enable_stackdriver_logging = true
293+
enable_interaction_logging = true
294+
enable_consent_based_redaction = true
295+
}
281296
}
282297
}

0 commit comments

Comments
 (0)