Skip to content

Commit f472565

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

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

google/cloud/dialogflow/cx/v3beta1/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_v3beta1.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_v3beta1.yaml",
288289
transport = "grpc+rest",
289-
deps = [":cx_php_proto"],
290+
deps = [
291+
":cx_php_proto",
292+
],
290293
)
291294

292295
# Open Source Packages
@@ -396,6 +399,7 @@ load(
396399

397400
csharp_proto_library(
398401
name = "cx_csharp_proto",
402+
extra_opts = [],
399403
deps = [":cx_proto"],
400404
)
401405

google/cloud/dialogflow/cx/v3beta1/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/v3beta1/session.proto

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

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

0 commit comments

Comments
 (0)