google-apis-dialogflow_v2beta1 0.67.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ab0883901e7e7e433372e6e35ad0f94cf8184d92f092dd6b6be07574d23275c
4
- data.tar.gz: bf6b97d6dccc3c492d293c2ed15a197934c0bf71e42f7e6dd8c24176ec594f6c
3
+ metadata.gz: 609c3840d8ba36e08f298917b08a00cad99ddbb935afb861150002e0e4e6ef64
4
+ data.tar.gz: e9b631fca5c45074317826af77e088cc16ccf0dc77a5f9fcd2453d0ed794669b
5
5
  SHA512:
6
- metadata.gz: 329b79efc8977bd2fa9b3400332b99fbe23c7d68da11d326c7c6656ed856627ce1cf651aa5fad6ce28aa11d73320b48ad0ca658c7f1e0f1b2ddc4641ade0dd13
7
- data.tar.gz: 199ef1eb060587e13e7b3e1ced9a60d058db96fd621ecc1bea667a1d2cff0349c90eaa58e18c4f43c5603dc5dc6db044878dd5e2c00d49accb36526894b6df76
6
+ metadata.gz: '0997046ae310748260e795295c8e54522804028b45c721d5c8f9313b67b78b5007f864d766e02a3b018ebe6e9ede036b035a8032e9a09986c5d7ee5bb458df53'
7
+ data.tar.gz: bc221b69be694bc987306f4c9b020ce16e2ff2c8ed06535dabd239de67db8e6d6947fd6715fba0d173751488754f184333832a9f45e1773328215968ba95a1e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.68.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230906
6
+
3
7
  ### v0.67.0 (2023-08-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20230821
@@ -22,6 +22,108 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2beta1
24
24
 
25
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
26
+ # Settings exposed at lower level overrides the settings exposed at higher level.
27
+ # Overriding occurs at the sub-setting level. For example, the
28
+ # playback_interruption_settings at fulfillment level only overrides the
29
+ # playback_interruption_settings at the agent level, leaving other settings at
30
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
31
+ # settings set at different levels define DTMF detections running in parallel.
32
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
33
+ class GoogleCloudDialogflowCxV3AdvancedSettings
34
+ include Google::Apis::Core::Hashable
35
+
36
+ # Google Cloud Storage location for a Dialogflow operation that writes or
37
+ # exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
38
+ # Corresponds to the JSON property `audioExportGcsDestination`
39
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3GcsDestination]
40
+ attr_accessor :audio_export_gcs_destination
41
+
42
+ # Define behaviors for DTMF (dual tone multi frequency).
43
+ # Corresponds to the JSON property `dtmfSettings`
44
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings]
45
+ attr_accessor :dtmf_settings
46
+
47
+ # Define behaviors on logging.
48
+ # Corresponds to the JSON property `loggingSettings`
49
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
50
+ attr_accessor :logging_settings
51
+
52
+ def initialize(**args)
53
+ update!(**args)
54
+ end
55
+
56
+ # Update properties of this object
57
+ def update!(**args)
58
+ @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
59
+ @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
60
+ @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
61
+ end
62
+ end
63
+
64
+ # Define behaviors for DTMF (dual tone multi frequency).
65
+ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
66
+ include Google::Apis::Core::Hashable
67
+
68
+ # If true, incoming audio is processed for DTMF (dual tone multi frequency)
69
+ # events. For example, if the caller presses a button on their telephone keypad
70
+ # and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3"
71
+ # was pressed) in the incoming audio and pass the event to the bot to drive
72
+ # business logic (e.g. when 3 is pressed, return the account balance).
73
+ # Corresponds to the JSON property `enabled`
74
+ # @return [Boolean]
75
+ attr_accessor :enabled
76
+ alias_method :enabled?, :enabled
77
+
78
+ # The digit that terminates a DTMF digit sequence.
79
+ # Corresponds to the JSON property `finishDigit`
80
+ # @return [String]
81
+ attr_accessor :finish_digit
82
+
83
+ # Max length of DTMF digits.
84
+ # Corresponds to the JSON property `maxDigits`
85
+ # @return [Fixnum]
86
+ attr_accessor :max_digits
87
+
88
+ def initialize(**args)
89
+ update!(**args)
90
+ end
91
+
92
+ # Update properties of this object
93
+ def update!(**args)
94
+ @enabled = args[:enabled] if args.key?(:enabled)
95
+ @finish_digit = args[:finish_digit] if args.key?(:finish_digit)
96
+ @max_digits = args[:max_digits] if args.key?(:max_digits)
97
+ end
98
+ end
99
+
100
+ # Define behaviors on logging.
101
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
102
+ include Google::Apis::Core::Hashable
103
+
104
+ # If true, DF Interaction logging is currently enabled.
105
+ # Corresponds to the JSON property `enableInteractionLogging`
106
+ # @return [Boolean]
107
+ attr_accessor :enable_interaction_logging
108
+ alias_method :enable_interaction_logging?, :enable_interaction_logging
109
+
110
+ # If true, StackDriver logging is currently enabled.
111
+ # Corresponds to the JSON property `enableStackdriverLogging`
112
+ # @return [Boolean]
113
+ attr_accessor :enable_stackdriver_logging
114
+ alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
115
+
116
+ def initialize(**args)
117
+ update!(**args)
118
+ end
119
+
120
+ # Update properties of this object
121
+ def update!(**args)
122
+ @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
123
+ @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
124
+ end
125
+ end
126
+
25
127
  # Represents the natural speech audio to be processed.
26
128
  class GoogleCloudDialogflowCxV3AudioInput
27
129
  include Google::Apis::Core::Hashable
@@ -807,6 +909,18 @@ module Google
807
909
  class GoogleCloudDialogflowCxV3FormParameter
808
910
  include Google::Apis::Core::Hashable
809
911
 
912
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
913
+ # Settings exposed at lower level overrides the settings exposed at higher level.
914
+ # Overriding occurs at the sub-setting level. For example, the
915
+ # playback_interruption_settings at fulfillment level only overrides the
916
+ # playback_interruption_settings at the agent level, leaving other settings at
917
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
918
+ # settings set at different levels define DTMF detections running in parallel.
919
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
920
+ # Corresponds to the JSON property `advancedSettings`
921
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings]
922
+ attr_accessor :advanced_settings
923
+
810
924
  # The default value of an optional parameter. If the parameter is required, the
811
925
  # default value will be ignored.
812
926
  # Corresponds to the JSON property `defaultValue`
@@ -860,6 +974,7 @@ module Google
860
974
 
861
975
  # Update properties of this object
862
976
  def update!(**args)
977
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
863
978
  @default_value = args[:default_value] if args.key?(:default_value)
864
979
  @display_name = args[:display_name] if args.key?(:display_name)
865
980
  @entity_type = args[:entity_type] if args.key?(:entity_type)
@@ -930,11 +1045,32 @@ module Google
930
1045
  class GoogleCloudDialogflowCxV3Fulfillment
931
1046
  include Google::Apis::Core::Hashable
932
1047
 
1048
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
1049
+ # Settings exposed at lower level overrides the settings exposed at higher level.
1050
+ # Overriding occurs at the sub-setting level. For example, the
1051
+ # playback_interruption_settings at fulfillment level only overrides the
1052
+ # playback_interruption_settings at the agent level, leaving other settings at
1053
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
1054
+ # settings set at different levels define DTMF detections running in parallel.
1055
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
1056
+ # Corresponds to the JSON property `advancedSettings`
1057
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings]
1058
+ attr_accessor :advanced_settings
1059
+
933
1060
  # Conditional cases for this fulfillment.
934
1061
  # Corresponds to the JSON property `conditionalCases`
935
1062
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases>]
936
1063
  attr_accessor :conditional_cases
937
1064
 
1065
+ # If the flag is true, the agent will utilize LLM to generate a text response.
1066
+ # If LLM generation fails, the defined responses in the fulfillment will be
1067
+ # respected. This flag is only useful for fulfillments associated with no-match
1068
+ # event handlers.
1069
+ # Corresponds to the JSON property `enableGenerativeFallback`
1070
+ # @return [Boolean]
1071
+ attr_accessor :enable_generative_fallback
1072
+ alias_method :enable_generative_fallback?, :enable_generative_fallback
1073
+
938
1074
  # The list of rich message responses to present to the user.
939
1075
  # Corresponds to the JSON property `messages`
940
1076
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
@@ -977,7 +1113,9 @@ module Google
977
1113
 
978
1114
  # Update properties of this object
979
1115
  def update!(**args)
1116
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
980
1117
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
1118
+ @enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
981
1119
  @messages = args[:messages] if args.key?(:messages)
982
1120
  @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
983
1121
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
@@ -1097,6 +1235,28 @@ module Google
1097
1235
  end
1098
1236
  end
1099
1237
 
1238
+ # Google Cloud Storage location for a Dialogflow operation that writes or
1239
+ # exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
1240
+ class GoogleCloudDialogflowCxV3GcsDestination
1241
+ include Google::Apis::Core::Hashable
1242
+
1243
+ # Required. The Google Cloud Storage URI for the exported objects. A URI is of
1244
+ # the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or
1245
+ # just a prefix, its usage depends on the Dialogflow operation.
1246
+ # Corresponds to the JSON property `uri`
1247
+ # @return [String]
1248
+ attr_accessor :uri
1249
+
1250
+ def initialize(**args)
1251
+ update!(**args)
1252
+ end
1253
+
1254
+ # Update properties of this object
1255
+ def update!(**args)
1256
+ @uri = args[:uri] if args.key?(:uri)
1257
+ end
1258
+ end
1259
+
1100
1260
  # Metadata in google::longrunning::Operation for Knowledge operations.
1101
1261
  class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
1102
1262
  include Google::Apis::Core::Hashable
@@ -1580,6 +1740,18 @@ module Google
1580
1740
  class GoogleCloudDialogflowCxV3Page
1581
1741
  include Google::Apis::Core::Hashable
1582
1742
 
1743
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
1744
+ # Settings exposed at lower level overrides the settings exposed at higher level.
1745
+ # Overriding occurs at the sub-setting level. For example, the
1746
+ # playback_interruption_settings at fulfillment level only overrides the
1747
+ # playback_interruption_settings at the agent level, leaving other settings at
1748
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
1749
+ # settings set at different levels define DTMF detections running in parallel.
1750
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
1751
+ # Corresponds to the JSON property `advancedSettings`
1752
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings]
1753
+ attr_accessor :advanced_settings
1754
+
1583
1755
  # Required. The human-readable name of the page, unique within the flow.
1584
1756
  # Corresponds to the JSON property `displayName`
1585
1757
  # @return [String]
@@ -1660,6 +1832,7 @@ module Google
1660
1832
 
1661
1833
  # Update properties of this object
1662
1834
  def update!(**args)
1835
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
1663
1836
  @display_name = args[:display_name] if args.key?(:display_name)
1664
1837
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
1665
1838
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
@@ -3237,6 +3410,108 @@ module Google
3237
3410
  end
3238
3411
  end
3239
3412
 
3413
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
3414
+ # Settings exposed at lower level overrides the settings exposed at higher level.
3415
+ # Overriding occurs at the sub-setting level. For example, the
3416
+ # playback_interruption_settings at fulfillment level only overrides the
3417
+ # playback_interruption_settings at the agent level, leaving other settings at
3418
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
3419
+ # settings set at different levels define DTMF detections running in parallel.
3420
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
3421
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
3422
+ include Google::Apis::Core::Hashable
3423
+
3424
+ # Google Cloud Storage location for a Dialogflow operation that writes or
3425
+ # exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
3426
+ # Corresponds to the JSON property `audioExportGcsDestination`
3427
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GcsDestination]
3428
+ attr_accessor :audio_export_gcs_destination
3429
+
3430
+ # Define behaviors for DTMF (dual tone multi frequency).
3431
+ # Corresponds to the JSON property `dtmfSettings`
3432
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings]
3433
+ attr_accessor :dtmf_settings
3434
+
3435
+ # Define behaviors on logging.
3436
+ # Corresponds to the JSON property `loggingSettings`
3437
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
3438
+ attr_accessor :logging_settings
3439
+
3440
+ def initialize(**args)
3441
+ update!(**args)
3442
+ end
3443
+
3444
+ # Update properties of this object
3445
+ def update!(**args)
3446
+ @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
3447
+ @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
3448
+ @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
3449
+ end
3450
+ end
3451
+
3452
+ # Define behaviors for DTMF (dual tone multi frequency).
3453
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
3454
+ include Google::Apis::Core::Hashable
3455
+
3456
+ # If true, incoming audio is processed for DTMF (dual tone multi frequency)
3457
+ # events. For example, if the caller presses a button on their telephone keypad
3458
+ # and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3"
3459
+ # was pressed) in the incoming audio and pass the event to the bot to drive
3460
+ # business logic (e.g. when 3 is pressed, return the account balance).
3461
+ # Corresponds to the JSON property `enabled`
3462
+ # @return [Boolean]
3463
+ attr_accessor :enabled
3464
+ alias_method :enabled?, :enabled
3465
+
3466
+ # The digit that terminates a DTMF digit sequence.
3467
+ # Corresponds to the JSON property `finishDigit`
3468
+ # @return [String]
3469
+ attr_accessor :finish_digit
3470
+
3471
+ # Max length of DTMF digits.
3472
+ # Corresponds to the JSON property `maxDigits`
3473
+ # @return [Fixnum]
3474
+ attr_accessor :max_digits
3475
+
3476
+ def initialize(**args)
3477
+ update!(**args)
3478
+ end
3479
+
3480
+ # Update properties of this object
3481
+ def update!(**args)
3482
+ @enabled = args[:enabled] if args.key?(:enabled)
3483
+ @finish_digit = args[:finish_digit] if args.key?(:finish_digit)
3484
+ @max_digits = args[:max_digits] if args.key?(:max_digits)
3485
+ end
3486
+ end
3487
+
3488
+ # Define behaviors on logging.
3489
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
3490
+ include Google::Apis::Core::Hashable
3491
+
3492
+ # If true, DF Interaction logging is currently enabled.
3493
+ # Corresponds to the JSON property `enableInteractionLogging`
3494
+ # @return [Boolean]
3495
+ attr_accessor :enable_interaction_logging
3496
+ alias_method :enable_interaction_logging?, :enable_interaction_logging
3497
+
3498
+ # If true, StackDriver logging is currently enabled.
3499
+ # Corresponds to the JSON property `enableStackdriverLogging`
3500
+ # @return [Boolean]
3501
+ attr_accessor :enable_stackdriver_logging
3502
+ alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
3503
+
3504
+ def initialize(**args)
3505
+ update!(**args)
3506
+ end
3507
+
3508
+ # Update properties of this object
3509
+ def update!(**args)
3510
+ @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
3511
+ @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
3512
+ end
3513
+ end
3514
+
3240
3515
  # Represents the natural speech audio to be processed.
3241
3516
  class GoogleCloudDialogflowCxV3beta1AudioInput
3242
3517
  include Google::Apis::Core::Hashable
@@ -4022,6 +4297,18 @@ module Google
4022
4297
  class GoogleCloudDialogflowCxV3beta1FormParameter
4023
4298
  include Google::Apis::Core::Hashable
4024
4299
 
4300
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
4301
+ # Settings exposed at lower level overrides the settings exposed at higher level.
4302
+ # Overriding occurs at the sub-setting level. For example, the
4303
+ # playback_interruption_settings at fulfillment level only overrides the
4304
+ # playback_interruption_settings at the agent level, leaving other settings at
4305
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
4306
+ # settings set at different levels define DTMF detections running in parallel.
4307
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
4308
+ # Corresponds to the JSON property `advancedSettings`
4309
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
4310
+ attr_accessor :advanced_settings
4311
+
4025
4312
  # The default value of an optional parameter. If the parameter is required, the
4026
4313
  # default value will be ignored.
4027
4314
  # Corresponds to the JSON property `defaultValue`
@@ -4075,6 +4362,7 @@ module Google
4075
4362
 
4076
4363
  # Update properties of this object
4077
4364
  def update!(**args)
4365
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
4078
4366
  @default_value = args[:default_value] if args.key?(:default_value)
4079
4367
  @display_name = args[:display_name] if args.key?(:display_name)
4080
4368
  @entity_type = args[:entity_type] if args.key?(:entity_type)
@@ -4145,11 +4433,32 @@ module Google
4145
4433
  class GoogleCloudDialogflowCxV3beta1Fulfillment
4146
4434
  include Google::Apis::Core::Hashable
4147
4435
 
4436
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
4437
+ # Settings exposed at lower level overrides the settings exposed at higher level.
4438
+ # Overriding occurs at the sub-setting level. For example, the
4439
+ # playback_interruption_settings at fulfillment level only overrides the
4440
+ # playback_interruption_settings at the agent level, leaving other settings at
4441
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
4442
+ # settings set at different levels define DTMF detections running in parallel.
4443
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
4444
+ # Corresponds to the JSON property `advancedSettings`
4445
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
4446
+ attr_accessor :advanced_settings
4447
+
4148
4448
  # Conditional cases for this fulfillment.
4149
4449
  # Corresponds to the JSON property `conditionalCases`
4150
4450
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases>]
4151
4451
  attr_accessor :conditional_cases
4152
4452
 
4453
+ # If the flag is true, the agent will utilize LLM to generate a text response.
4454
+ # If LLM generation fails, the defined responses in the fulfillment will be
4455
+ # respected. This flag is only useful for fulfillments associated with no-match
4456
+ # event handlers.
4457
+ # Corresponds to the JSON property `enableGenerativeFallback`
4458
+ # @return [Boolean]
4459
+ attr_accessor :enable_generative_fallback
4460
+ alias_method :enable_generative_fallback?, :enable_generative_fallback
4461
+
4153
4462
  # The list of rich message responses to present to the user.
4154
4463
  # Corresponds to the JSON property `messages`
4155
4464
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
@@ -4192,7 +4501,9 @@ module Google
4192
4501
 
4193
4502
  # Update properties of this object
4194
4503
  def update!(**args)
4504
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
4195
4505
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
4506
+ @enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
4196
4507
  @messages = args[:messages] if args.key?(:messages)
4197
4508
  @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
4198
4509
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
@@ -4312,6 +4623,28 @@ module Google
4312
4623
  end
4313
4624
  end
4314
4625
 
4626
+ # Google Cloud Storage location for a Dialogflow operation that writes or
4627
+ # exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
4628
+ class GoogleCloudDialogflowCxV3beta1GcsDestination
4629
+ include Google::Apis::Core::Hashable
4630
+
4631
+ # Required. The Google Cloud Storage URI for the exported objects. A URI is of
4632
+ # the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or
4633
+ # just a prefix, its usage depends on the Dialogflow operation.
4634
+ # Corresponds to the JSON property `uri`
4635
+ # @return [String]
4636
+ attr_accessor :uri
4637
+
4638
+ def initialize(**args)
4639
+ update!(**args)
4640
+ end
4641
+
4642
+ # Update properties of this object
4643
+ def update!(**args)
4644
+ @uri = args[:uri] if args.key?(:uri)
4645
+ end
4646
+ end
4647
+
4315
4648
  # Metadata in google::longrunning::Operation for Knowledge operations.
4316
4649
  class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
4317
4650
  include Google::Apis::Core::Hashable
@@ -4795,6 +5128,18 @@ module Google
4795
5128
  class GoogleCloudDialogflowCxV3beta1Page
4796
5129
  include Google::Apis::Core::Hashable
4797
5130
 
5131
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
5132
+ # Settings exposed at lower level overrides the settings exposed at higher level.
5133
+ # Overriding occurs at the sub-setting level. For example, the
5134
+ # playback_interruption_settings at fulfillment level only overrides the
5135
+ # playback_interruption_settings at the agent level, leaving other settings at
5136
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
5137
+ # settings set at different levels define DTMF detections running in parallel.
5138
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
5139
+ # Corresponds to the JSON property `advancedSettings`
5140
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
5141
+ attr_accessor :advanced_settings
5142
+
4798
5143
  # Required. The human-readable name of the page, unique within the flow.
4799
5144
  # Corresponds to the JSON property `displayName`
4800
5145
  # @return [String]
@@ -4875,6 +5220,7 @@ module Google
4875
5220
 
4876
5221
  # Update properties of this object
4877
5222
  def update!(**args)
5223
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
4878
5224
  @display_name = args[:display_name] if args.key?(:display_name)
4879
5225
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
4880
5226
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
@@ -9580,6 +9926,11 @@ module Google
9580
9926
  # @return [String]
9581
9927
  attr_accessor :document_efficiency
9582
9928
 
9929
+ # Feedback for knowledge search.
9930
+ # Corresponds to the JSON property `knowledgeSearchFeedback`
9931
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback]
9932
+ attr_accessor :knowledge_search_feedback
9933
+
9583
9934
  # Feedback for conversation summarization.
9584
9935
  # Corresponds to the JSON property `summarizationFeedback`
9585
9936
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback]
@@ -9594,10 +9945,40 @@ module Google
9594
9945
  @answer_relevance = args[:answer_relevance] if args.key?(:answer_relevance)
9595
9946
  @document_correctness = args[:document_correctness] if args.key?(:document_correctness)
9596
9947
  @document_efficiency = args[:document_efficiency] if args.key?(:document_efficiency)
9948
+ @knowledge_search_feedback = args[:knowledge_search_feedback] if args.key?(:knowledge_search_feedback)
9597
9949
  @summarization_feedback = args[:summarization_feedback] if args.key?(:summarization_feedback)
9598
9950
  end
9599
9951
  end
9600
9952
 
9953
+ # Feedback for knowledge search.
9954
+ class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
9955
+ include Google::Apis::Core::Hashable
9956
+
9957
+ # Whether the answer was copied by the human agent or not. If the value is set
9958
+ # to be true, AnswerFeedback.clicked will be updated to be true.
9959
+ # Corresponds to the JSON property `answerCopied`
9960
+ # @return [Boolean]
9961
+ attr_accessor :answer_copied
9962
+ alias_method :answer_copied?, :answer_copied
9963
+
9964
+ # The URIs clicked by the human agent. The value is appended for each
9965
+ # UpdateAnswerRecordRequest. If the value is not empty, AnswerFeedback.clicked
9966
+ # will be updated to be true.
9967
+ # Corresponds to the JSON property `clickedUris`
9968
+ # @return [Array<String>]
9969
+ attr_accessor :clicked_uris
9970
+
9971
+ def initialize(**args)
9972
+ update!(**args)
9973
+ end
9974
+
9975
+ # Update properties of this object
9976
+ def update!(**args)
9977
+ @answer_copied = args[:answer_copied] if args.key?(:answer_copied)
9978
+ @clicked_uris = args[:clicked_uris] if args.key?(:clicked_uris)
9979
+ end
9980
+ end
9981
+
9601
9982
  # Feedback for conversation summarization.
9602
9983
  class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback
9603
9984
  include Google::Apis::Core::Hashable
@@ -12245,9 +12626,17 @@ module Google
12245
12626
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig]
12246
12627
  attr_accessor :conversation_process_config
12247
12628
 
12629
+ # Optional. Disable the logging of search queries sent by human agents. It can
12630
+ # prevent those queries from being stored at answer records. Supported features:
12631
+ # KNOWLEDGE_SEARCH.
12632
+ # Corresponds to the JSON property `disableAgentQueryLogging`
12633
+ # @return [Boolean]
12634
+ attr_accessor :disable_agent_query_logging
12635
+ alias_method :disable_agent_query_logging?, :disable_agent_query_logging
12636
+
12248
12637
  # Automatically iterates all participants and tries to compile suggestions.
12249
12638
  # Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST,
12250
- # ENTITY_EXTRACTION.
12639
+ # ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.
12251
12640
  # Corresponds to the JSON property `enableEventBasedSuggestion`
12252
12641
  # @return [Boolean]
12253
12642
  attr_accessor :enable_event_based_suggestion
@@ -12278,6 +12667,7 @@ module Google
12278
12667
  def update!(**args)
12279
12668
  @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config)
12280
12669
  @conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_config)
12670
+ @disable_agent_query_logging = args[:disable_agent_query_logging] if args.key?(:disable_agent_query_logging)
12281
12671
  @enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
12282
12672
  @query_config = args[:query_config] if args.key?(:query_config)
12283
12673
  @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
@@ -16133,6 +16523,153 @@ module Google
16133
16523
  end
16134
16524
  end
16135
16525
 
16526
+ # Represents a SearchKnowledge answer.
16527
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer
16528
+ include Google::Apis::Core::Hashable
16529
+
16530
+ # The piece of text from the knowledge base documents that answers the search
16531
+ # query
16532
+ # Corresponds to the JSON property `answer`
16533
+ # @return [String]
16534
+ attr_accessor :answer
16535
+
16536
+ # The name of the answer record. Format: `projects//locations//answer Records/`
16537
+ # Corresponds to the JSON property `answerRecord`
16538
+ # @return [String]
16539
+ attr_accessor :answer_record
16540
+
16541
+ # All sources used to generate the answer.
16542
+ # Corresponds to the JSON property `answerSources`
16543
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource>]
16544
+ attr_accessor :answer_sources
16545
+
16546
+ # The type of the answer.
16547
+ # Corresponds to the JSON property `answerType`
16548
+ # @return [String]
16549
+ attr_accessor :answer_type
16550
+
16551
+ def initialize(**args)
16552
+ update!(**args)
16553
+ end
16554
+
16555
+ # Update properties of this object
16556
+ def update!(**args)
16557
+ @answer = args[:answer] if args.key?(:answer)
16558
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
16559
+ @answer_sources = args[:answer_sources] if args.key?(:answer_sources)
16560
+ @answer_type = args[:answer_type] if args.key?(:answer_type)
16561
+ end
16562
+ end
16563
+
16564
+ # The sources of the answers.
16565
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
16566
+ include Google::Apis::Core::Hashable
16567
+
16568
+ # The relevant snippet of the article.
16569
+ # Corresponds to the JSON property `snippet`
16570
+ # @return [String]
16571
+ attr_accessor :snippet
16572
+
16573
+ # The title of the article.
16574
+ # Corresponds to the JSON property `title`
16575
+ # @return [String]
16576
+ attr_accessor :title
16577
+
16578
+ # The URI of the article.
16579
+ # Corresponds to the JSON property `uri`
16580
+ # @return [String]
16581
+ attr_accessor :uri
16582
+
16583
+ def initialize(**args)
16584
+ update!(**args)
16585
+ end
16586
+
16587
+ # Update properties of this object
16588
+ def update!(**args)
16589
+ @snippet = args[:snippet] if args.key?(:snippet)
16590
+ @title = args[:title] if args.key?(:title)
16591
+ @uri = args[:uri] if args.key?(:uri)
16592
+ end
16593
+ end
16594
+
16595
+ # The request message for Conversations.SearchKnowledge.
16596
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest
16597
+ include Google::Apis::Core::Hashable
16598
+
16599
+ # The conversation (between human agent and end user) where the search request
16600
+ # is triggered. Format: `projects//locations//conversations/`.
16601
+ # Corresponds to the JSON property `conversation`
16602
+ # @return [String]
16603
+ attr_accessor :conversation
16604
+
16605
+ # Required. The conversation profile used to configure the search. Format: `
16606
+ # projects//locations//conversationProfiles/`.
16607
+ # Corresponds to the JSON property `conversationProfile`
16608
+ # @return [String]
16609
+ attr_accessor :conversation_profile
16610
+
16611
+ # The name of the latest conversation message when the request is triggered.
16612
+ # Format: `projects//locations//conversations//messages/`.
16613
+ # Corresponds to the JSON property `latestMessage`
16614
+ # @return [String]
16615
+ attr_accessor :latest_message
16616
+
16617
+ # The parent resource contains the conversation profile Format: 'projects/' or `
16618
+ # projects//locations/`.
16619
+ # Corresponds to the JSON property `parent`
16620
+ # @return [String]
16621
+ attr_accessor :parent
16622
+
16623
+ # Represents the natural language text to be processed.
16624
+ # Corresponds to the JSON property `query`
16625
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
16626
+ attr_accessor :query
16627
+
16628
+ # The ID of the search session. The session_id can be combined with Dialogflow
16629
+ # V3 Agent ID retrieved from conversation profile or on its own to identify a
16630
+ # search session. The search history of the same session will impact the search
16631
+ # result. It's up to the API caller to choose an appropriate `Session ID`. It
16632
+ # can be a random number or some type of session identifiers (preferably hashed).
16633
+ # The length must not exceed 36 characters.
16634
+ # Corresponds to the JSON property `sessionId`
16635
+ # @return [String]
16636
+ attr_accessor :session_id
16637
+
16638
+ def initialize(**args)
16639
+ update!(**args)
16640
+ end
16641
+
16642
+ # Update properties of this object
16643
+ def update!(**args)
16644
+ @conversation = args[:conversation] if args.key?(:conversation)
16645
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
16646
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
16647
+ @parent = args[:parent] if args.key?(:parent)
16648
+ @query = args[:query] if args.key?(:query)
16649
+ @session_id = args[:session_id] if args.key?(:session_id)
16650
+ end
16651
+ end
16652
+
16653
+ # The response message for Conversations.SearchKnowledge.
16654
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
16655
+ include Google::Apis::Core::Hashable
16656
+
16657
+ # Most relevant snippets extracted from articles in the given knowledge base,
16658
+ # ordered by confidence.
16659
+ # Corresponds to the JSON property `answers`
16660
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer>]
16661
+ attr_accessor :answers
16662
+
16663
+ def initialize(**args)
16664
+ update!(**args)
16665
+ end
16666
+
16667
+ # Update properties of this object
16668
+ def update!(**args)
16669
+ @answers = args[:answers] if args.key?(:answers)
16670
+ end
16671
+ end
16672
+
16136
16673
  # The sentiment, such as positive/negative feeling or association, for a unit of
16137
16674
  # analysis, such as the query text. See: https://cloud.google.com/natural-
16138
16675
  # language/docs/basics#interpreting_sentiment_analysis_values for how to
@@ -16414,6 +16951,13 @@ module Google
16414
16951
  # @return [String]
16415
16952
  attr_accessor :speech_model_variant
16416
16953
 
16954
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
16955
+ # timeout value.
16956
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
16957
+ # @return [Boolean]
16958
+ attr_accessor :use_timeout_based_endpointing
16959
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
16960
+
16417
16961
  def initialize(**args)
16418
16962
  update!(**args)
16419
16963
  end
@@ -16422,6 +16966,7 @@ module Google
16422
16966
  def update!(**args)
16423
16967
  @model = args[:model] if args.key?(:model)
16424
16968
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
16969
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
16425
16970
  end
16426
16971
  end
16427
16972
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230821"
25
+ REVISION = "20230906"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2beta1
24
24
 
25
+ class GoogleCloudDialogflowCxV3AdvancedSettings
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class GoogleCloudDialogflowCxV3AudioInput
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -220,6 +238,12 @@ module Google
220
238
  include Google::Apis::Core::JsonObjectSupport
221
239
  end
222
240
 
241
+ class GoogleCloudDialogflowCxV3GcsDestination
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
223
247
  class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
224
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
249
 
@@ -550,6 +574,24 @@ module Google
550
574
  include Google::Apis::Core::JsonObjectSupport
551
575
  end
552
576
 
577
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
553
595
  class GoogleCloudDialogflowCxV3beta1AudioInput
554
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
597
 
@@ -748,6 +790,12 @@ module Google
748
790
  include Google::Apis::Core::JsonObjectSupport
749
791
  end
750
792
 
793
+ class GoogleCloudDialogflowCxV3beta1GcsDestination
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
751
799
  class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
752
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
801
 
@@ -1558,6 +1606,12 @@ module Google
1558
1606
  include Google::Apis::Core::JsonObjectSupport
1559
1607
  end
1560
1608
 
1609
+ class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
1610
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1611
+
1612
+ include Google::Apis::Core::JsonObjectSupport
1613
+ end
1614
+
1561
1615
  class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback
1562
1616
  class Representation < Google::Apis::Core::JsonRepresentation; end
1563
1617
 
@@ -2596,6 +2650,30 @@ module Google
2596
2650
  include Google::Apis::Core::JsonObjectSupport
2597
2651
  end
2598
2652
 
2653
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer
2654
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2655
+
2656
+ include Google::Apis::Core::JsonObjectSupport
2657
+ end
2658
+
2659
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
2660
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2661
+
2662
+ include Google::Apis::Core::JsonObjectSupport
2663
+ end
2664
+
2665
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest
2666
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2667
+
2668
+ include Google::Apis::Core::JsonObjectSupport
2669
+ end
2670
+
2671
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
2672
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2673
+
2674
+ include Google::Apis::Core::JsonObjectSupport
2675
+ end
2676
+
2599
2677
  class GoogleCloudDialogflowV2beta1Sentiment
2600
2678
  class Representation < Google::Apis::Core::JsonRepresentation; end
2601
2679
 
@@ -2914,6 +2992,35 @@ module Google
2914
2992
  include Google::Apis::Core::JsonObjectSupport
2915
2993
  end
2916
2994
 
2995
+ class GoogleCloudDialogflowCxV3AdvancedSettings
2996
+ # @private
2997
+ class Representation < Google::Apis::Core::JsonRepresentation
2998
+ property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3GcsDestination, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3GcsDestination::Representation
2999
+
3000
+ property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings::Representation
3001
+
3002
+ property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3003
+
3004
+ end
3005
+ end
3006
+
3007
+ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
3008
+ # @private
3009
+ class Representation < Google::Apis::Core::JsonRepresentation
3010
+ property :enabled, as: 'enabled'
3011
+ property :finish_digit, as: 'finishDigit'
3012
+ property :max_digits, as: 'maxDigits'
3013
+ end
3014
+ end
3015
+
3016
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
3017
+ # @private
3018
+ class Representation < Google::Apis::Core::JsonRepresentation
3019
+ property :enable_interaction_logging, as: 'enableInteractionLogging'
3020
+ property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3021
+ end
3022
+ end
3023
+
2917
3024
  class GoogleCloudDialogflowCxV3AudioInput
2918
3025
  # @private
2919
3026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3153,6 +3260,8 @@ module Google
3153
3260
  class GoogleCloudDialogflowCxV3FormParameter
3154
3261
  # @private
3155
3262
  class Representation < Google::Apis::Core::JsonRepresentation
3263
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3264
+
3156
3265
  property :default_value, as: 'defaultValue'
3157
3266
  property :display_name, as: 'displayName'
3158
3267
  property :entity_type, as: 'entityType'
@@ -3177,8 +3286,11 @@ module Google
3177
3286
  class GoogleCloudDialogflowCxV3Fulfillment
3178
3287
  # @private
3179
3288
  class Representation < Google::Apis::Core::JsonRepresentation
3289
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3290
+
3180
3291
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation
3181
3292
 
3293
+ property :enable_generative_fallback, as: 'enableGenerativeFallback'
3182
3294
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
3183
3295
 
3184
3296
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -3224,6 +3336,13 @@ module Google
3224
3336
  end
3225
3337
  end
3226
3338
 
3339
+ class GoogleCloudDialogflowCxV3GcsDestination
3340
+ # @private
3341
+ class Representation < Google::Apis::Core::JsonRepresentation
3342
+ property :uri, as: 'uri'
3343
+ end
3344
+ end
3345
+
3227
3346
  class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
3228
3347
  # @private
3229
3348
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3349,6 +3468,8 @@ module Google
3349
3468
  class GoogleCloudDialogflowCxV3Page
3350
3469
  # @private
3351
3470
  class Representation < Google::Apis::Core::JsonRepresentation
3471
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3472
+
3352
3473
  property :display_name, as: 'displayName'
3353
3474
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
3354
3475
 
@@ -3792,6 +3913,35 @@ module Google
3792
3913
  end
3793
3914
  end
3794
3915
 
3916
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
3917
+ # @private
3918
+ class Representation < Google::Apis::Core::JsonRepresentation
3919
+ property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GcsDestination, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GcsDestination::Representation
3920
+
3921
+ property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings::Representation
3922
+
3923
+ property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
3924
+
3925
+ end
3926
+ end
3927
+
3928
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
3929
+ # @private
3930
+ class Representation < Google::Apis::Core::JsonRepresentation
3931
+ property :enabled, as: 'enabled'
3932
+ property :finish_digit, as: 'finishDigit'
3933
+ property :max_digits, as: 'maxDigits'
3934
+ end
3935
+ end
3936
+
3937
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
3938
+ # @private
3939
+ class Representation < Google::Apis::Core::JsonRepresentation
3940
+ property :enable_interaction_logging, as: 'enableInteractionLogging'
3941
+ property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3942
+ end
3943
+ end
3944
+
3795
3945
  class GoogleCloudDialogflowCxV3beta1AudioInput
3796
3946
  # @private
3797
3947
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4031,6 +4181,8 @@ module Google
4031
4181
  class GoogleCloudDialogflowCxV3beta1FormParameter
4032
4182
  # @private
4033
4183
  class Representation < Google::Apis::Core::JsonRepresentation
4184
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4185
+
4034
4186
  property :default_value, as: 'defaultValue'
4035
4187
  property :display_name, as: 'displayName'
4036
4188
  property :entity_type, as: 'entityType'
@@ -4055,8 +4207,11 @@ module Google
4055
4207
  class GoogleCloudDialogflowCxV3beta1Fulfillment
4056
4208
  # @private
4057
4209
  class Representation < Google::Apis::Core::JsonRepresentation
4210
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4211
+
4058
4212
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation
4059
4213
 
4214
+ property :enable_generative_fallback, as: 'enableGenerativeFallback'
4060
4215
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4061
4216
 
4062
4217
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -4102,6 +4257,13 @@ module Google
4102
4257
  end
4103
4258
  end
4104
4259
 
4260
+ class GoogleCloudDialogflowCxV3beta1GcsDestination
4261
+ # @private
4262
+ class Representation < Google::Apis::Core::JsonRepresentation
4263
+ property :uri, as: 'uri'
4264
+ end
4265
+ end
4266
+
4105
4267
  class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
4106
4268
  # @private
4107
4269
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4227,6 +4389,8 @@ module Google
4227
4389
  class GoogleCloudDialogflowCxV3beta1Page
4228
4390
  # @private
4229
4391
  class Representation < Google::Apis::Core::JsonRepresentation
4392
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4393
+
4230
4394
  property :display_name, as: 'displayName'
4231
4395
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4232
4396
 
@@ -5506,11 +5670,21 @@ module Google
5506
5670
  property :answer_relevance, as: 'answerRelevance'
5507
5671
  property :document_correctness, as: 'documentCorrectness'
5508
5672
  property :document_efficiency, as: 'documentEfficiency'
5673
+ property :knowledge_search_feedback, as: 'knowledgeSearchFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback::Representation
5674
+
5509
5675
  property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback::Representation
5510
5676
 
5511
5677
  end
5512
5678
  end
5513
5679
 
5680
+ class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
5681
+ # @private
5682
+ class Representation < Google::Apis::Core::JsonRepresentation
5683
+ property :answer_copied, as: 'answerCopied'
5684
+ collection :clicked_uris, as: 'clickedUris'
5685
+ end
5686
+ end
5687
+
5514
5688
  class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback
5515
5689
  # @private
5516
5690
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6214,6 +6388,7 @@ module Google
6214
6388
 
6215
6389
  property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig::Representation
6216
6390
 
6391
+ property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
6217
6392
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
6218
6393
  property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig::Representation
6219
6394
 
@@ -7297,6 +7472,47 @@ module Google
7297
7472
  end
7298
7473
  end
7299
7474
 
7475
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer
7476
+ # @private
7477
+ class Representation < Google::Apis::Core::JsonRepresentation
7478
+ property :answer, as: 'answer'
7479
+ property :answer_record, as: 'answerRecord'
7480
+ collection :answer_sources, as: 'answerSources', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource::Representation
7481
+
7482
+ property :answer_type, as: 'answerType'
7483
+ end
7484
+ end
7485
+
7486
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
7487
+ # @private
7488
+ class Representation < Google::Apis::Core::JsonRepresentation
7489
+ property :snippet, as: 'snippet'
7490
+ property :title, as: 'title'
7491
+ property :uri, as: 'uri'
7492
+ end
7493
+ end
7494
+
7495
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest
7496
+ # @private
7497
+ class Representation < Google::Apis::Core::JsonRepresentation
7498
+ property :conversation, as: 'conversation'
7499
+ property :conversation_profile, as: 'conversationProfile'
7500
+ property :latest_message, as: 'latestMessage'
7501
+ property :parent, as: 'parent'
7502
+ property :query, as: 'query', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput::Representation
7503
+
7504
+ property :session_id, as: 'sessionId'
7505
+ end
7506
+ end
7507
+
7508
+ class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
7509
+ # @private
7510
+ class Representation < Google::Apis::Core::JsonRepresentation
7511
+ collection :answers, as: 'answers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer::Representation
7512
+
7513
+ end
7514
+ end
7515
+
7300
7516
  class GoogleCloudDialogflowV2beta1Sentiment
7301
7517
  # @private
7302
7518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7371,6 +7587,7 @@ module Google
7371
7587
  class Representation < Google::Apis::Core::JsonRepresentation
7372
7588
  property :model, as: 'model'
7373
7589
  property :speech_model_variant, as: 'speechModelVariant'
7590
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
7374
7591
  end
7375
7592
  end
7376
7593
 
@@ -4085,6 +4085,40 @@ module Google
4085
4085
  execute_or_queue_command(command, &block)
4086
4086
  end
4087
4087
 
4088
+ # Get answers for the given query based on knowledge documents.
4089
+ # @param [String] conversation
4090
+ # The conversation (between human agent and end user) where the search request
4091
+ # is triggered. Format: `projects//locations//conversations/`.
4092
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
4093
+ # @param [String] fields
4094
+ # Selector specifying which fields to include in a partial response.
4095
+ # @param [String] quota_user
4096
+ # Available to use for quota purposes for server-side applications. Can be any
4097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4098
+ # @param [Google::Apis::RequestOptions] options
4099
+ # Request-specific options
4100
+ #
4101
+ # @yield [result, err] Result & error if block supplied
4102
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse] parsed result object
4103
+ # @yieldparam err [StandardError] error object if request failed
4104
+ #
4105
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse]
4106
+ #
4107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4110
+ def search_project_conversation_suggestion_knowledge(conversation, google_cloud_dialogflow_v2beta1_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4111
+ command = make_simple_command(:post, 'v2beta1/{+conversation}/suggestions:searchKnowledge', options)
4112
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest::Representation
4113
+ command.request_object = google_cloud_dialogflow_v2beta1_search_knowledge_request_object
4114
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse::Representation
4115
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
4116
+ command.params['conversation'] = conversation unless conversation.nil?
4117
+ command.query['fields'] = fields unless fields.nil?
4118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4119
+ execute_or_queue_command(command, &block)
4120
+ end
4121
+
4088
4122
  # Suggest summary for a conversation based on specific historical messages. The
4089
4123
  # range of the messages to be used for summary can be specified in the request.
4090
4124
  # @param [String] conversation
@@ -8173,6 +8207,40 @@ module Google
8173
8207
  execute_or_queue_command(command, &block)
8174
8208
  end
8175
8209
 
8210
+ # Get answers for the given query based on knowledge documents.
8211
+ # @param [String] conversation
8212
+ # The conversation (between human agent and end user) where the search request
8213
+ # is triggered. Format: `projects//locations//conversations/`.
8214
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
8215
+ # @param [String] fields
8216
+ # Selector specifying which fields to include in a partial response.
8217
+ # @param [String] quota_user
8218
+ # Available to use for quota purposes for server-side applications. Can be any
8219
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8220
+ # @param [Google::Apis::RequestOptions] options
8221
+ # Request-specific options
8222
+ #
8223
+ # @yield [result, err] Result & error if block supplied
8224
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse] parsed result object
8225
+ # @yieldparam err [StandardError] error object if request failed
8226
+ #
8227
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse]
8228
+ #
8229
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8230
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8231
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8232
+ def search_project_location_conversation_suggestion_knowledge(conversation, google_cloud_dialogflow_v2beta1_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8233
+ command = make_simple_command(:post, 'v2beta1/{+conversation}/suggestions:searchKnowledge', options)
8234
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest::Representation
8235
+ command.request_object = google_cloud_dialogflow_v2beta1_search_knowledge_request_object
8236
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse::Representation
8237
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
8238
+ command.params['conversation'] = conversation unless conversation.nil?
8239
+ command.query['fields'] = fields unless fields.nil?
8240
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8241
+ execute_or_queue_command(command, &block)
8242
+ end
8243
+
8176
8244
  # Suggest summary for a conversation based on specific historical messages. The
8177
8245
  # range of the messages to be used for summary can be specified in the request.
8178
8246
  # @param [String] conversation
@@ -8840,6 +8908,40 @@ module Google
8840
8908
  execute_or_queue_command(command, &block)
8841
8909
  end
8842
8910
 
8911
+ # Get answers for the given query based on knowledge documents.
8912
+ # @param [String] parent
8913
+ # The parent resource contains the conversation profile Format: 'projects/' or `
8914
+ # projects//locations/`.
8915
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
8916
+ # @param [String] fields
8917
+ # Selector specifying which fields to include in a partial response.
8918
+ # @param [String] quota_user
8919
+ # Available to use for quota purposes for server-side applications. Can be any
8920
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8921
+ # @param [Google::Apis::RequestOptions] options
8922
+ # Request-specific options
8923
+ #
8924
+ # @yield [result, err] Result & error if block supplied
8925
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse] parsed result object
8926
+ # @yieldparam err [StandardError] error object if request failed
8927
+ #
8928
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse]
8929
+ #
8930
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8931
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8932
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8933
+ def search_project_location_suggestion_knowledge(parent, google_cloud_dialogflow_v2beta1_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8934
+ command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:searchKnowledge', options)
8935
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest::Representation
8936
+ command.request_object = google_cloud_dialogflow_v2beta1_search_knowledge_request_object
8937
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse::Representation
8938
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
8939
+ command.params['parent'] = parent unless parent.nil?
8940
+ command.query['fields'] = fields unless fields.nil?
8941
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8942
+ execute_or_queue_command(command, &block)
8943
+ end
8944
+
8843
8945
  # Starts asynchronous cancellation on a long-running operation. The server makes
8844
8946
  # a best effort to cancel the operation, but success is not guaranteed. If the
8845
8947
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -8982,6 +9084,40 @@ module Google
8982
9084
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8983
9085
  execute_or_queue_command(command, &block)
8984
9086
  end
9087
+
9088
+ # Get answers for the given query based on knowledge documents.
9089
+ # @param [String] parent
9090
+ # The parent resource contains the conversation profile Format: 'projects/' or `
9091
+ # projects//locations/`.
9092
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
9093
+ # @param [String] fields
9094
+ # Selector specifying which fields to include in a partial response.
9095
+ # @param [String] quota_user
9096
+ # Available to use for quota purposes for server-side applications. Can be any
9097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9098
+ # @param [Google::Apis::RequestOptions] options
9099
+ # Request-specific options
9100
+ #
9101
+ # @yield [result, err] Result & error if block supplied
9102
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse] parsed result object
9103
+ # @yieldparam err [StandardError] error object if request failed
9104
+ #
9105
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse]
9106
+ #
9107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9110
+ def search_project_suggestion_knowledge(parent, google_cloud_dialogflow_v2beta1_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9111
+ command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:searchKnowledge', options)
9112
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest::Representation
9113
+ command.request_object = google_cloud_dialogflow_v2beta1_search_knowledge_request_object
9114
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse::Representation
9115
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
9116
+ command.params['parent'] = parent unless parent.nil?
9117
+ command.query['fields'] = fields unless fields.nil?
9118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9119
+ execute_or_queue_command(command, &block)
9120
+ end
8985
9121
 
8986
9122
  protected
8987
9123
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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: 2023-09-03 00:00:00.000000000 Z
11
+ date: 2023-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.68.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []