docs: add the fields for setting CX virtual agent session parameters · googleapis/googleapis@f6bb255

File tree

3 files changed

lines changed

  • google/cloud/dialogflow/v2

3 files changed

lines changed

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

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

//

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.