google-cloud-dialogflow-cx-v3 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +2 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +8 -6
  5. data/lib/google/cloud/dialogflow/cx/v3/agents.rb +1 -1
  6. data/lib/google/cloud/dialogflow/cx/v3/changelogs.rb +1 -1
  7. data/lib/google/cloud/dialogflow/cx/v3/deployment_services_pb.rb +4 -2
  8. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +11 -7
  9. data/lib/google/cloud/dialogflow/cx/v3/deployments.rb +1 -1
  10. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +5 -3
  11. data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +1 -1
  12. data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +26 -13
  13. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +40 -23
  14. data/lib/google/cloud/dialogflow/cx/v3/environments.rb +3 -2
  15. data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +15 -9
  16. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +28 -18
  17. data/lib/google/cloud/dialogflow/cx/v3/experiments.rb +1 -1
  18. data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +4 -2
  19. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +8 -6
  20. data/lib/google/cloud/dialogflow/cx/v3/flows.rb +1 -1
  21. data/lib/google/cloud/dialogflow/cx/v3/intents.rb +1 -1
  22. data/lib/google/cloud/dialogflow/cx/v3/pages.rb +1 -1
  23. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +1 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +14 -9
  25. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb +1 -1
  26. data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +7 -4
  27. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +2 -1
  28. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +2 -1
  29. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types.rb +3 -2
  30. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +1 -0
  31. data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +10 -5
  32. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +10 -5
  33. data/lib/google/cloud/dialogflow/cx/v3/sessions.rb +4 -3
  34. data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +16 -8
  35. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -18
  36. data/lib/google/cloud/dialogflow/cx/v3/test_cases.rb +1 -1
  37. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +11 -5
  38. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +21 -11
  39. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb +3 -2
  40. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  41. data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +6 -3
  42. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +22 -18
  43. data/lib/google/cloud/dialogflow/cx/v3/versions.rb +1 -1
  44. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +4 -3
  45. data/lib/google/cloud/dialogflow/cx/v3/webhooks.rb +1 -1
  46. data/lib/google/cloud/dialogflow/cx/v3.rb +2 -2
  47. data/proto_docs/google/api/client.rb +318 -0
  48. data/proto_docs/google/api/launch_stage.rb +71 -0
  49. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +55 -31
  50. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +16 -12
  51. data/proto_docs/google/cloud/dialogflow/cx/v3/changelog.rb +6 -3
  52. data/proto_docs/google/cloud/dialogflow/cx/v3/deployment.rb +13 -8
  53. data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +24 -12
  54. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +65 -41
  55. data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +31 -19
  56. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +38 -22
  57. data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +10 -5
  58. data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +27 -15
  59. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +62 -37
  60. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +32 -21
  61. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +35 -28
  62. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +109 -68
  63. data/proto_docs/google/cloud/dialogflow/cx/v3/session_entity_type.rb +22 -15
  64. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +82 -55
  65. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +32 -20
  66. data/proto_docs/google/cloud/dialogflow/cx/v3/version.rb +36 -26
  67. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +106 -66
  68. data/proto_docs/google/rpc/status.rb +4 -2
  69. metadata +7 -5
@@ -29,10 +29,12 @@ module Google
29
29
  # @!attribute [rw] name
30
30
  # @return [::String]
31
31
  # The unique identifier of the webhook.
32
- # Required for the {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#update_webhook Webhooks.UpdateWebhook} method.
33
- # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#create_webhook Webhooks.CreateWebhook} populates the name automatically.
34
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
35
- # ID>/webhooks/<Webhook ID>`.
32
+ # Required for the
33
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#update_webhook Webhooks.UpdateWebhook}
34
+ # method.
35
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#create_webhook Webhooks.CreateWebhook}
36
+ # populates the name automatically. Format: `projects/<Project
37
+ # ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
36
38
  # @!attribute [rw] display_name
37
39
  # @return [::String]
38
40
  # Required. The human-readable name of the webhook, unique within the agent.
@@ -58,7 +60,8 @@ module Google
58
60
  # Represents configuration for a generic web service.
59
61
  # @!attribute [rw] uri
60
62
  # @return [::String]
61
- # Required. The webhook URI for receiving POST requests. It must use https protocol.
63
+ # Required. The webhook URI for receiving POST requests. It must use https
64
+ # protocol.
62
65
  # @!attribute [rw] username
63
66
  # @return [::String]
64
67
  # The user name for HTTP Basic authentication.
@@ -71,13 +74,12 @@ module Google
71
74
  # requests.
72
75
  # @!attribute [rw] allowed_ca_certs
73
76
  # @return [::Array<::String>]
74
- # Optional. Specifies a list of allowed custom CA certificates (in DER format) for
75
- # HTTPS verification. This overrides the default SSL trust store. If this
76
- # is empty or unspecified, Dialogflow will use Google's default trust store
77
- # to verify certificates.
78
- # N.B. Make sure the HTTPS server certificates are signed with "subject alt
79
- # name". For instance a certificate can be self-signed using the following
80
- # command,
77
+ # Optional. Specifies a list of allowed custom CA certificates (in DER
78
+ # format) for HTTPS verification. This overrides the default SSL trust
79
+ # store. If this is empty or unspecified, Dialogflow will use Google's
80
+ # default trust store to verify certificates. N.B. Make sure the HTTPS
81
+ # server certificates are signed with "subject alt name". For instance a
82
+ # certificate can be self-signed using the following command,
81
83
  # ```
82
84
  # openssl x509 -req -days 200 -in example.com.csr \
83
85
  # -signkey example.com.key \
@@ -117,7 +119,8 @@ module Google
117
119
  end
118
120
  end
119
121
 
120
- # The request message for {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#list_webhooks Webhooks.ListWebhooks}.
122
+ # The request message for
123
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#list_webhooks Webhooks.ListWebhooks}.
121
124
  # @!attribute [rw] parent
122
125
  # @return [::String]
123
126
  # Required. The agent to list all webhooks for.
@@ -134,7 +137,8 @@ module Google
134
137
  extend ::Google::Protobuf::MessageExts::ClassMethods
135
138
  end
136
139
 
137
- # The response message for {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#list_webhooks Webhooks.ListWebhooks}.
140
+ # The response message for
141
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#list_webhooks Webhooks.ListWebhooks}.
138
142
  # @!attribute [rw] webhooks
139
143
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Webhook>]
140
144
  # The list of webhooks. There will be a maximum number of items returned
@@ -148,7 +152,8 @@ module Google
148
152
  extend ::Google::Protobuf::MessageExts::ClassMethods
149
153
  end
150
154
 
151
- # The request message for {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#get_webhook Webhooks.GetWebhook}.
155
+ # The request message for
156
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#get_webhook Webhooks.GetWebhook}.
152
157
  # @!attribute [rw] name
153
158
  # @return [::String]
154
159
  # Required. The name of the webhook.
@@ -159,7 +164,8 @@ module Google
159
164
  extend ::Google::Protobuf::MessageExts::ClassMethods
160
165
  end
161
166
 
162
- # The request message for {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#create_webhook Webhooks.CreateWebhook}.
167
+ # The request message for
168
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#create_webhook Webhooks.CreateWebhook}.
163
169
  # @!attribute [rw] parent
164
170
  # @return [::String]
165
171
  # Required. The agent to create a webhook for.
@@ -172,7 +178,8 @@ module Google
172
178
  extend ::Google::Protobuf::MessageExts::ClassMethods
173
179
  end
174
180
 
175
- # The request message for {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#update_webhook Webhooks.UpdateWebhook}.
181
+ # The request message for
182
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#update_webhook Webhooks.UpdateWebhook}.
176
183
  # @!attribute [rw] webhook
177
184
  # @return [::Google::Cloud::Dialogflow::CX::V3::Webhook]
178
185
  # Required. The webhook to update.
@@ -185,7 +192,8 @@ module Google
185
192
  extend ::Google::Protobuf::MessageExts::ClassMethods
186
193
  end
187
194
 
188
- # The request message for {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#delete_webhook Webhooks.DeleteWebhook}.
195
+ # The request message for
196
+ # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#delete_webhook Webhooks.DeleteWebhook}.
189
197
  # @!attribute [rw] name
190
198
  # @return [::String]
191
199
  # Required. The name of the webhook to delete.
@@ -199,9 +207,10 @@ module Google
199
207
  # * If `force` is set to false, an error will be returned with message
200
208
  # indicating the referenced resources.
201
209
  # * If `force` is set to true, Dialogflow will remove the webhook, as well
202
- # as any references to the webhook (i.e. {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#webhook Webhook}
203
- # and {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#tag tag}in fulfillments that point to this webhook
204
- # will be removed).
210
+ # as any references to the webhook (i.e.
211
+ # {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#webhook Webhook} and
212
+ # {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#tag tag}in fulfillments that
213
+ # point to this webhook will be removed).
205
214
  class DeleteWebhookRequest
206
215
  include ::Google::Protobuf::MessageExts
207
216
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -214,26 +223,28 @@ module Google
214
223
  # internally by Dialogflow and should be ignored.
215
224
  # @!attribute [rw] detect_intent_response_id
216
225
  # @return [::String]
217
- # Always present. The unique identifier of the {::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse DetectIntentResponse} that
218
- # will be returned to the API caller.
226
+ # Always present. The unique identifier of the
227
+ # {::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse DetectIntentResponse}
228
+ # that will be returned to the API caller.
219
229
  # @!attribute [rw] text
220
230
  # @return [::String]
221
- # If {::Google::Cloud::Dialogflow::CX::V3::TextInput natural language text} was provided as input, this field
222
- # will contain a copy of the text.
231
+ # If {::Google::Cloud::Dialogflow::CX::V3::TextInput natural language text} was
232
+ # provided as input, this field will contain a copy of the text.
223
233
  # @!attribute [rw] trigger_intent
224
234
  # @return [::String]
225
- # If an {::Google::Cloud::Dialogflow::CX::V3::IntentInput intent} was provided as input, this field will
226
- # contain a copy of the intent identifier.
227
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
235
+ # If an {::Google::Cloud::Dialogflow::CX::V3::IntentInput intent} was provided as
236
+ # input, this field will contain a copy of the intent identifier. Format:
237
+ # `projects/<Project ID>/locations/<Location ID>/agents/<Agent
228
238
  # ID>/intents/<Intent ID>`.
229
239
  # @!attribute [rw] transcript
230
240
  # @return [::String]
231
- # If {::Google::Cloud::Dialogflow::CX::V3::AudioInput natural language speech audio} was provided as input,
241
+ # If [natural language speech
242
+ # audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
232
243
  # this field will contain the transcript for the audio.
233
244
  # @!attribute [rw] trigger_event
234
245
  # @return [::String]
235
- # If an {::Google::Cloud::Dialogflow::CX::V3::EventInput event} was provided as input, this field will contain
236
- # the name of the event.
246
+ # If an {::Google::Cloud::Dialogflow::CX::V3::EventInput event} was provided as
247
+ # input, this field will contain the name of the event.
237
248
  # @!attribute [rw] language_code
238
249
  # @return [::String]
239
250
  # The language code specified in the [original
@@ -258,7 +269,8 @@ module Google
258
269
  # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse#fulfillment_response WebhookResponse.fulfillment_response};
259
270
  # @!attribute [rw] payload
260
271
  # @return [::Google::Protobuf::Struct]
261
- # Custom data set in {::Google::Cloud::Dialogflow::CX::V3::QueryParameters#payload QueryParameters.payload}.
272
+ # Custom data set in
273
+ # {::Google::Cloud::Dialogflow::CX::V3::QueryParameters#payload QueryParameters.payload}.
262
274
  # @!attribute [rw] sentiment_analysis_result
263
275
  # @return [::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::SentimentAnalysisResult]
264
276
  # The sentiment analysis result of the current user request. The field is
@@ -271,10 +283,12 @@ module Google
271
283
  # @!attribute [rw] tag
272
284
  # @return [::String]
273
285
  # Always present.
274
- # The value of the {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#tag Fulfillment.tag} field will be populated in this
275
- # field by Dialogflow when the associated webhook is called.
276
- # The tag is typically used by the webhook service to identify which
277
- # fulfillment is being called, but it could be used for other purposes.
286
+ # The value of the
287
+ # {::Google::Cloud::Dialogflow::CX::V3::Fulfillment#tag Fulfillment.tag} field
288
+ # will be populated in this field by Dialogflow when the associated webhook
289
+ # is called. The tag is typically used by the webhook service to identify
290
+ # which fulfillment is being called, but it could be used for other
291
+ # purposes.
278
292
  class FulfillmentInfo
279
293
  include ::Google::Protobuf::MessageExts
280
294
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -289,7 +303,8 @@ module Google
289
303
  # ID>/intents/<Intent ID>`.
290
304
  # @!attribute [rw] display_name
291
305
  # @return [::String]
292
- # Always present. The display name of the last matched {::Google::Cloud::Dialogflow::CX::V3::Intent intent}.
306
+ # Always present. The display name of the last matched
307
+ # {::Google::Cloud::Dialogflow::CX::V3::Intent intent}.
293
308
  # @!attribute [rw] parameters
294
309
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}]
295
310
  # Parameters identified as a result of intent matching. This is a map of
@@ -358,7 +373,8 @@ module Google
358
373
  # if it does not intend to modify session status.
359
374
  # @!attribute [rw] payload
360
375
  # @return [::Google::Protobuf::Struct]
361
- # Value to append directly to {::Google::Cloud::Dialogflow::CX::V3::QueryResult#webhook_payloads QueryResult.webhook_payloads}.
376
+ # Value to append directly to
377
+ # {::Google::Cloud::Dialogflow::CX::V3::QueryResult#webhook_payloads QueryResult.webhook_payloads}.
362
378
  # @!attribute [rw] target_page
363
379
  # @return [::String]
364
380
  # The target page to transition to.
@@ -403,17 +419,23 @@ module Google
403
419
  # Represents page information communicated to and from the webhook.
404
420
  # @!attribute [rw] current_page
405
421
  # @return [::String]
406
- # Always present for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
407
- # The unique identifier of the current page.
408
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
409
- # ID>/flows/<Flow ID>/pages/<Page ID>`.
422
+ # Always present for
423
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for
424
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
425
+ # unique identifier of the current page. Format: `projects/<Project
426
+ # ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
427
+ # ID>`.
410
428
  # @!attribute [rw] display_name
411
429
  # @return [::String]
412
- # Always present for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
413
- # The display name of the current page.
430
+ # Always present for
431
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for
432
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
433
+ # display name of the current page.
414
434
  # @!attribute [rw] form_info
415
435
  # @return [::Google::Cloud::Dialogflow::CX::V3::PageInfo::FormInfo]
416
- # Optional for both {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
436
+ # Optional for both
437
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and
438
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
417
439
  # Information about the form.
418
440
  class PageInfo
419
441
  include ::Google::Protobuf::MessageExts
@@ -422,9 +444,11 @@ module Google
422
444
  # Represents form information.
423
445
  # @!attribute [rw] parameter_info
424
446
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::PageInfo::FormInfo::ParameterInfo>]
425
- # Optional for both {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
426
- # The parameters contained in the form. Note that the webhook cannot add
427
- # or remove any form parameter.
447
+ # Optional for both
448
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and
449
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
450
+ # parameters contained in the form. Note that the webhook cannot add or
451
+ # remove any form parameter.
428
452
  class FormInfo
429
453
  include ::Google::Protobuf::MessageExts
430
454
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -432,31 +456,42 @@ module Google
432
456
  # Represents parameter information.
433
457
  # @!attribute [rw] display_name
434
458
  # @return [::String]
435
- # Always present for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Required for
459
+ # Always present for
460
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}.
461
+ # Required for
436
462
  # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
437
463
  # The human-readable name of the parameter, unique within the form. This
438
464
  # field cannot be modified by the webhook.
439
465
  # @!attribute [rw] required
440
466
  # @return [::Boolean]
441
- # Optional for both {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
467
+ # Optional for both
468
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and
469
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
442
470
  # Indicates whether the parameter is required. Optional parameters will
443
471
  # not trigger prompts; however, they are filled if the user specifies
444
472
  # them. Required parameters must be filled before form filling concludes.
445
473
  # @!attribute [rw] state
446
474
  # @return [::Google::Cloud::Dialogflow::CX::V3::PageInfo::FormInfo::ParameterInfo::ParameterState]
447
- # Always present for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Required for
448
- # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The state of the parameter. This field can be set
449
- # to {::Google::Cloud::Dialogflow::CX::V3::PageInfo::FormInfo::ParameterInfo::ParameterState::INVALID INVALID} by
450
- # the webhook to invalidate the parameter; other values set by the
475
+ # Always present for
476
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}.
477
+ # Required for
478
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
479
+ # state of the parameter. This field can be set to
480
+ # {::Google::Cloud::Dialogflow::CX::V3::PageInfo::FormInfo::ParameterInfo::ParameterState::INVALID INVALID}
481
+ # by the webhook to invalidate the parameter; other values set by the
451
482
  # webhook will be ignored.
452
483
  # @!attribute [rw] value
453
484
  # @return [::Google::Protobuf::Value]
454
- # Optional for both {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
455
- # The value of the parameter. This field can be set by the webhook to
456
- # change the parameter value.
485
+ # Optional for both
486
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and
487
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
488
+ # value of the parameter. This field can be set by the webhook to change
489
+ # the parameter value.
457
490
  # @!attribute [rw] just_collected
458
491
  # @return [::Boolean]
459
- # Optional for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
492
+ # Optional for
493
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored
494
+ # for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
460
495
  # Indicates if the parameter value was just collected on the last
461
496
  # conversation turn.
462
497
  class ParameterInfo
@@ -486,8 +521,11 @@ module Google
486
521
  # Represents session information communicated to and from the webhook.
487
522
  # @!attribute [rw] session
488
523
  # @return [::String]
489
- # Always present for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
490
- # The unique identifier of the {::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest#session session}. This
524
+ # Always present for
525
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for
526
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
527
+ # unique identifier of the
528
+ # {::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest#session session}. This
491
529
  # field can be used by the webhook to identify a session.
492
530
  # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
493
531
  # ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
@@ -495,12 +533,14 @@ module Google
495
533
  # if environment is specified.
496
534
  # @!attribute [rw] parameters
497
535
  # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
498
- # Optional for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Optional for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
499
- # All parameters collected from forms and intents during the session.
500
- # Parameters can be created, updated, or removed by the webhook. To remove a
501
- # parameter from the session, the webhook should explicitly set the parameter
502
- # value to null in {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The map is keyed by parameters'
503
- # display names.
536
+ # Optional for
537
+ # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Optional
538
+ # for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. All
539
+ # parameters collected from forms and intents during the session. Parameters
540
+ # can be created, updated, or removed by the webhook. To remove a parameter
541
+ # from the session, the webhook should explicitly set the parameter value to
542
+ # null in {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
543
+ # The map is keyed by parameters' display names.
504
544
  class SessionInfo
505
545
  include ::Google::Protobuf::MessageExts
506
546
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,12 +28,14 @@ module Google
28
28
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
29
  # @!attribute [rw] code
30
30
  # @return [::Integer]
31
- # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
31
+ # The status code, which should be an enum value of
32
+ # [google.rpc.Code][google.rpc.Code].
32
33
  # @!attribute [rw] message
33
34
  # @return [::String]
34
35
  # A developer-facing error message, which should be in English. Any
35
36
  # user-facing error message should be localized and sent in the
36
- # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
37
39
  # @!attribute [rw] details
38
40
  # @return [::Array<::Google::Protobuf::Any>]
39
41
  # A list of messages that carry the error details. There is a common set of
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2023-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: 0.16.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -304,7 +304,9 @@ files:
304
304
  - lib/google/cloud/dialogflow/cx/v3/webhooks/credentials.rb
305
305
  - lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb
306
306
  - proto_docs/README.md
307
+ - proto_docs/google/api/client.rb
307
308
  - proto_docs/google/api/field_behavior.rb
309
+ - proto_docs/google/api/launch_stage.rb
308
310
  - proto_docs/google/api/resource.rb
309
311
  - proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb
310
312
  - proto_docs/google/cloud/dialogflow/cx/v3/agent.rb
@@ -355,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
357
  - !ruby/object:Gem::Version
356
358
  version: '0'
357
359
  requirements: []
358
- rubygems_version: 3.3.14
360
+ rubygems_version: 3.4.2
359
361
  signing_key:
360
362
  specification_version: 4
361
363
  summary: API Client library for the Dialogflow CX V3 API