Skip to content

Commit f6bb255

Browse files
Google APIscopybara-github
authored andcommitted
docs: add the fields for setting CX virtual agent session parameters
PiperOrigin-RevId: 446825520
1 parent cdd2773 commit f6bb255

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

google/cloud/dialogflow/v2/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ py_gapic_library(
214214
name = "dialogflow_py_gapic",
215215
srcs = [":dialogflow_proto"],
216216
grpc_service_config = "dialogflow_grpc_service_config.json",
217+
service_yaml = "dialogflow_v2.yaml",
217218
)
218219

219220
# Open Source Packages

google/cloud/dialogflow/v2/fulfillment.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ message Fulfillment {
8181

8282
// Represents configuration for a generic web service.
8383
// Dialogflow supports two mechanisms for authentications:
84+
//
8485
// - Basic authentication with username and password.
8586
// - Authentication with additional authentication headers.
87+
//
8688
// More information could be found at:
8789
// https://cloud.google.com/dialogflow/docs/fulfillment-configure.
8890
message GenericWebService {
@@ -127,6 +129,7 @@ message Fulfillment {
127129

128130
// Required. The unique identifier of the fulfillment.
129131
// Supported formats:
132+
//
130133
// - `projects/<Project ID>/agent/fulfillment`
131134
// - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`
132135
//

google/cloud/dialogflow/v2/participant.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,14 @@ message AnalyzeContentRequest {
352352
// Parameters for a human assist query.
353353
AssistQueryParameters assist_query_params = 14;
354354

355+
// Additional parameters to be put into Dialogflow CX session parameters. To
356+
// remove a parameter from the session, clients should explicitly set the
357+
// parameter value to null.
358+
//
359+
// Note: this field should only be used if you are connecting to a Dialogflow
360+
// CX agent.
361+
google.protobuf.Struct cx_parameters = 18;
362+
355363
// A unique identifier for this request. Restricted to 36 ASCII characters.
356364
// A random UUID is recommended.
357365
// This request is only idempotent if a `request_id` is provided.

0 commit comments

Comments
 (0)