Skip to content

Commit 439d4ee

Browse files
Google APIscopybara-github
authored andcommitted
feat: added include_bigquery_export_settings to ExportAgentRequest
feat: added session_ttl to SessionProto PiperOrigin-RevId: 541070954
1 parent f472565 commit 439d4ee

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ java_gapic_library(
100100
rest_numeric_enums = True,
101101
service_yaml = "dialogflow_v3.yaml",
102102
test_deps = [
103-
":cx_java_grpc",
104103
"//google/cloud/location:location_java_grpc",
104+
":cx_java_grpc",
105105
],
106106
transport = "grpc+rest",
107107
deps = [
@@ -226,6 +226,7 @@ load(
226226
"@com_google_googleapis_imports//:imports.bzl",
227227
"py_gapic_assembly_pkg",
228228
"py_gapic_library",
229+
"py_test",
229230
)
230231

231232
py_gapic_library(
@@ -286,7 +287,9 @@ php_gapic_library(
286287
rest_numeric_enums = True,
287288
service_yaml = "dialogflow_v3.yaml",
288289
transport = "grpc+rest",
289-
deps = [":cx_php_proto"],
290+
deps = [
291+
":cx_php_proto",
292+
],
290293
)
291294

292295
# Open Source Packages
@@ -397,6 +400,7 @@ load(
397400

398401
csharp_proto_library(
399402
name = "cx_csharp_proto",
403+
extra_opts = [],
400404
deps = [":cx_proto"],
401405
)
402406

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ message ExportAgentRequest {
408408
type: "dialogflow.googleapis.com/Environment"
409409
}
410410
];
411+
412+
// Optional. Whether to include BigQuery Export setting.
413+
bool include_bigquery_export_settings = 7
414+
[(google.api.field_behavior) = OPTIONAL];
411415
}
412416

413417
// The response message for

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,13 @@ message QueryParameters {
596596
// [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] with
597597
// unspecified channel will be returned.
598598
string channel = 15;
599+
600+
// Optional. Sets Dialogflow session life time.
601+
// By default, a Dialogflow session remains active and its data is stored for
602+
// 30 minutes after the last request is sent for the session.
603+
// This value should be no longer than 1 day.
604+
google.protobuf.Duration session_ttl = 16
605+
[(google.api.field_behavior) = OPTIONAL];
599606
}
600607

601608
// Represents the query input. It can contain one of:

0 commit comments

Comments
 (0)