google-apis-dialogflow_v3beta1 0.67.0 → 0.68.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 345c252ce3035b6aa9f48400adf70c76214799e2d6578734d6500a55d1c636b7
4
- data.tar.gz: 485c6b4d6ad2534790baa27f66ef57c39d7054cf558b1612b22a77f8f16241d1
3
+ metadata.gz: 3d771f430277184598499614c840e7006c10e98c24bd2d6f2e85accb8280db30
4
+ data.tar.gz: df1ee47f1bbb432aa38565d35d0b3b8c8680e072eeba01f10a684f5d26227201
5
5
  SHA512:
6
- metadata.gz: 9fad1bef526b8d0a8cf11daa91cf1872a5e7c202e9e5066a9609b376ed61a790d8eac081db8dd9a90eca37c2a16f660a6370a36e9be728e0a0b6d580533c7032
7
- data.tar.gz: c34bd67f68b3a9d44f4b2bd14be5aef1002baf8c22a45d159c846fbef42aa2f1eb4e85da39d1f5d84c088b1e0392ae94f3d09e33fc457e5b12d77525af98453c
6
+ metadata.gz: 551105e0d6b80cc33c79d0ff9ec3f565f382869b81c951a2bb8284832a6bcdb2a412bb482405d91b5c587c3faffe9559895df44127c0a585e133b72a67e14d19
7
+ data.tar.gz: 9f4652e9f01ab89777094942975c34de700d7347d704f291fc9677370b0e5d0996a287d11caaf2890533475be41f0219c0d14cf726d8683a4eb2eef78b74760f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
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 DialogflowV3beta1
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::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings]
45
+ attr_accessor :dtmf_settings
46
+
47
+ # Define behaviors on logging.
48
+ # Corresponds to the JSON property `loggingSettings`
49
+ # @return [Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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)
@@ -3254,6 +3427,11 @@ module Google
3254
3427
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GcsDestination]
3255
3428
  attr_accessor :audio_export_gcs_destination
3256
3429
 
3430
+ # Define behaviors for DTMF (dual tone multi frequency).
3431
+ # Corresponds to the JSON property `dtmfSettings`
3432
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings]
3433
+ attr_accessor :dtmf_settings
3434
+
3257
3435
  # Define behaviors on logging.
3258
3436
  # Corresponds to the JSON property `loggingSettings`
3259
3437
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
@@ -3266,10 +3444,47 @@ module Google
3266
3444
  # Update properties of this object
3267
3445
  def update!(**args)
3268
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)
3269
3448
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
3270
3449
  end
3271
3450
  end
3272
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
+
3273
3488
  # Define behaviors on logging.
3274
3489
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
3275
3490
  include Google::Apis::Core::Hashable
@@ -3357,6 +3572,11 @@ module Google
3357
3572
  attr_accessor :enable_stackdriver_logging
3358
3573
  alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
3359
3574
 
3575
+ # Settings for Gen App Builder.
3576
+ # Corresponds to the JSON property `genAppBuilderSettings`
3577
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings]
3578
+ attr_accessor :gen_app_builder_settings
3579
+
3360
3580
  # Settings for connecting to Git repository for an agent.
3361
3581
  # Corresponds to the JSON property `gitIntegrationSettings`
3362
3582
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings]
@@ -3424,6 +3644,7 @@ module Google
3424
3644
  @display_name = args[:display_name] if args.key?(:display_name)
3425
3645
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
3426
3646
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
3647
+ @gen_app_builder_settings = args[:gen_app_builder_settings] if args.key?(:gen_app_builder_settings)
3427
3648
  @git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
3428
3649
  @locked = args[:locked] if args.key?(:locked)
3429
3650
  @name = args[:name] if args.key?(:name)
@@ -3436,6 +3657,27 @@ module Google
3436
3657
  end
3437
3658
  end
3438
3659
 
3660
+ # Settings for Gen App Builder.
3661
+ class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
3662
+ include Google::Apis::Core::Hashable
3663
+
3664
+ # Required. The full name of the Gen App Builder engine related to this agent if
3665
+ # there is one. Format: `projects/`Project ID`/locations/`Location ID`/
3666
+ # collections/`Collection ID`/engines/`Engine ID``
3667
+ # Corresponds to the JSON property `engine`
3668
+ # @return [String]
3669
+ attr_accessor :engine
3670
+
3671
+ def initialize(**args)
3672
+ update!(**args)
3673
+ end
3674
+
3675
+ # Update properties of this object
3676
+ def update!(**args)
3677
+ @engine = args[:engine] if args.key?(:engine)
3678
+ end
3679
+ end
3680
+
3439
3681
  # Settings for connecting to Git repository for an agent.
3440
3682
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
3441
3683
  include Google::Apis::Core::Hashable
@@ -5269,6 +5511,18 @@ module Google
5269
5511
  class GoogleCloudDialogflowCxV3beta1Flow
5270
5512
  include Google::Apis::Core::Hashable
5271
5513
 
5514
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
5515
+ # Settings exposed at lower level overrides the settings exposed at higher level.
5516
+ # Overriding occurs at the sub-setting level. For example, the
5517
+ # playback_interruption_settings at fulfillment level only overrides the
5518
+ # playback_interruption_settings at the agent level, leaving other settings at
5519
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
5520
+ # settings set at different levels define DTMF detections running in parallel.
5521
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
5522
+ # Corresponds to the JSON property `advancedSettings`
5523
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
5524
+ attr_accessor :advanced_settings
5525
+
5272
5526
  # The description of the flow. The maximum length is 500 characters. If exceeded,
5273
5527
  # the request is rejected.
5274
5528
  # Corresponds to the JSON property `description`
@@ -5338,6 +5592,7 @@ module Google
5338
5592
 
5339
5593
  # Update properties of this object
5340
5594
  def update!(**args)
5595
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5341
5596
  @description = args[:description] if args.key?(:description)
5342
5597
  @display_name = args[:display_name] if args.key?(:display_name)
5343
5598
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
@@ -5431,6 +5686,18 @@ module Google
5431
5686
  class GoogleCloudDialogflowCxV3beta1FormParameter
5432
5687
  include Google::Apis::Core::Hashable
5433
5688
 
5689
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
5690
+ # Settings exposed at lower level overrides the settings exposed at higher level.
5691
+ # Overriding occurs at the sub-setting level. For example, the
5692
+ # playback_interruption_settings at fulfillment level only overrides the
5693
+ # playback_interruption_settings at the agent level, leaving other settings at
5694
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
5695
+ # settings set at different levels define DTMF detections running in parallel.
5696
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
5697
+ # Corresponds to the JSON property `advancedSettings`
5698
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
5699
+ attr_accessor :advanced_settings
5700
+
5434
5701
  # The default value of an optional parameter. If the parameter is required, the
5435
5702
  # default value will be ignored.
5436
5703
  # Corresponds to the JSON property `defaultValue`
@@ -5484,6 +5751,7 @@ module Google
5484
5751
 
5485
5752
  # Update properties of this object
5486
5753
  def update!(**args)
5754
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5487
5755
  @default_value = args[:default_value] if args.key?(:default_value)
5488
5756
  @display_name = args[:display_name] if args.key?(:display_name)
5489
5757
  @entity_type = args[:entity_type] if args.key?(:entity_type)
@@ -5631,11 +5899,32 @@ module Google
5631
5899
  class GoogleCloudDialogflowCxV3beta1Fulfillment
5632
5900
  include Google::Apis::Core::Hashable
5633
5901
 
5902
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
5903
+ # Settings exposed at lower level overrides the settings exposed at higher level.
5904
+ # Overriding occurs at the sub-setting level. For example, the
5905
+ # playback_interruption_settings at fulfillment level only overrides the
5906
+ # playback_interruption_settings at the agent level, leaving other settings at
5907
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
5908
+ # settings set at different levels define DTMF detections running in parallel.
5909
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
5910
+ # Corresponds to the JSON property `advancedSettings`
5911
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
5912
+ attr_accessor :advanced_settings
5913
+
5634
5914
  # Conditional cases for this fulfillment.
5635
5915
  # Corresponds to the JSON property `conditionalCases`
5636
5916
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases>]
5637
5917
  attr_accessor :conditional_cases
5638
5918
 
5919
+ # If the flag is true, the agent will utilize LLM to generate a text response.
5920
+ # If LLM generation fails, the defined responses in the fulfillment will be
5921
+ # respected. This flag is only useful for fulfillments associated with no-match
5922
+ # event handlers.
5923
+ # Corresponds to the JSON property `enableGenerativeFallback`
5924
+ # @return [Boolean]
5925
+ attr_accessor :enable_generative_fallback
5926
+ alias_method :enable_generative_fallback?, :enable_generative_fallback
5927
+
5639
5928
  # The list of rich message responses to present to the user.
5640
5929
  # Corresponds to the JSON property `messages`
5641
5930
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
@@ -5678,7 +5967,9 @@ module Google
5678
5967
 
5679
5968
  # Update properties of this object
5680
5969
  def update!(**args)
5970
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5681
5971
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
5972
+ @enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
5682
5973
  @messages = args[:messages] if args.key?(:messages)
5683
5974
  @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
5684
5975
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
@@ -5820,6 +6111,159 @@ module Google
5820
6111
  end
5821
6112
  end
5822
6113
 
6114
+ # Settings for Generative AI.
6115
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettings
6116
+ include Google::Apis::Core::Hashable
6117
+
6118
+ # Settings for Generative Fallback.
6119
+ # Corresponds to the JSON property `fallbackSettings`
6120
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings]
6121
+ attr_accessor :fallback_settings
6122
+
6123
+ # Settings for Generative Safety.
6124
+ # Corresponds to the JSON property `generativeSafetySettings`
6125
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettings]
6126
+ attr_accessor :generative_safety_settings
6127
+
6128
+ # Settings for knowledge connector. These parameters are used for LLM prompt
6129
+ # like "You are . You are a helpful and verbose at , . Your task is to help
6130
+ # humans on ".
6131
+ # Corresponds to the JSON property `knowledgeConnectorSettings`
6132
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings]
6133
+ attr_accessor :knowledge_connector_settings
6134
+
6135
+ # Language for this settings.
6136
+ # Corresponds to the JSON property `languageCode`
6137
+ # @return [String]
6138
+ attr_accessor :language_code
6139
+
6140
+ # Format: `projects//locations//agents//generativeSettings`.
6141
+ # Corresponds to the JSON property `name`
6142
+ # @return [String]
6143
+ attr_accessor :name
6144
+
6145
+ def initialize(**args)
6146
+ update!(**args)
6147
+ end
6148
+
6149
+ # Update properties of this object
6150
+ def update!(**args)
6151
+ @fallback_settings = args[:fallback_settings] if args.key?(:fallback_settings)
6152
+ @generative_safety_settings = args[:generative_safety_settings] if args.key?(:generative_safety_settings)
6153
+ @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
6154
+ @language_code = args[:language_code] if args.key?(:language_code)
6155
+ @name = args[:name] if args.key?(:name)
6156
+ end
6157
+ end
6158
+
6159
+ # Settings for Generative Fallback.
6160
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings
6161
+ include Google::Apis::Core::Hashable
6162
+
6163
+ # Stored prompts that can be selected, for example default templates like "
6164
+ # conservative" or "chatty", or user defined ones.
6165
+ # Corresponds to the JSON property `promptTemplates`
6166
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate>]
6167
+ attr_accessor :prompt_templates
6168
+
6169
+ # Display name of the selected prompt.
6170
+ # Corresponds to the JSON property `selectedPrompt`
6171
+ # @return [String]
6172
+ attr_accessor :selected_prompt
6173
+
6174
+ def initialize(**args)
6175
+ update!(**args)
6176
+ end
6177
+
6178
+ # Update properties of this object
6179
+ def update!(**args)
6180
+ @prompt_templates = args[:prompt_templates] if args.key?(:prompt_templates)
6181
+ @selected_prompt = args[:selected_prompt] if args.key?(:selected_prompt)
6182
+ end
6183
+ end
6184
+
6185
+ # Prompt template.
6186
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate
6187
+ include Google::Apis::Core::Hashable
6188
+
6189
+ # Prompt name.
6190
+ # Corresponds to the JSON property `displayName`
6191
+ # @return [String]
6192
+ attr_accessor :display_name
6193
+
6194
+ # If the flag is true, the prompt is frozen and cannot be modified by users.
6195
+ # Corresponds to the JSON property `frozen`
6196
+ # @return [Boolean]
6197
+ attr_accessor :frozen
6198
+ alias_method :frozen?, :frozen
6199
+
6200
+ # Prompt text that is sent to a LLM on no-match default, placeholders are filled
6201
+ # downstream. For example: "Here is a conversation $conversation, a response is:
6202
+ # "
6203
+ # Corresponds to the JSON property `promptText`
6204
+ # @return [String]
6205
+ attr_accessor :prompt_text
6206
+
6207
+ def initialize(**args)
6208
+ update!(**args)
6209
+ end
6210
+
6211
+ # Update properties of this object
6212
+ def update!(**args)
6213
+ @display_name = args[:display_name] if args.key?(:display_name)
6214
+ @frozen = args[:frozen] if args.key?(:frozen)
6215
+ @prompt_text = args[:prompt_text] if args.key?(:prompt_text)
6216
+ end
6217
+ end
6218
+
6219
+ # Settings for knowledge connector. These parameters are used for LLM prompt
6220
+ # like "You are . You are a helpful and verbose at , . Your task is to help
6221
+ # humans on ".
6222
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings
6223
+ include Google::Apis::Core::Hashable
6224
+
6225
+ # Name of the virtual agent. Used for LLM prompt. Can be left empty.
6226
+ # Corresponds to the JSON property `agent`
6227
+ # @return [String]
6228
+ attr_accessor :agent
6229
+
6230
+ # Identity of the agent, e.g. "virtual agent", "AI assistant".
6231
+ # Corresponds to the JSON property `agentIdentity`
6232
+ # @return [String]
6233
+ attr_accessor :agent_identity
6234
+
6235
+ # Agent scope, e.g. "Example company website", "internal Example company website
6236
+ # for employees", "manual of car owner".
6237
+ # Corresponds to the JSON property `agentScope`
6238
+ # @return [String]
6239
+ attr_accessor :agent_scope
6240
+
6241
+ # Name of the company, organization or other entity that the agent represents.
6242
+ # Used for knowledge connector LLM prompt and for knowledge search.
6243
+ # Corresponds to the JSON property `business`
6244
+ # @return [String]
6245
+ attr_accessor :business
6246
+
6247
+ # Company description, used for LLM prompt, e.g. "a family company selling
6248
+ # freshly roasted coffee beans".
6249
+ # Corresponds to the JSON property `businessDescription`
6250
+ # @return [String]
6251
+ attr_accessor :business_description
6252
+
6253
+ def initialize(**args)
6254
+ update!(**args)
6255
+ end
6256
+
6257
+ # Update properties of this object
6258
+ def update!(**args)
6259
+ @agent = args[:agent] if args.key?(:agent)
6260
+ @agent_identity = args[:agent_identity] if args.key?(:agent_identity)
6261
+ @agent_scope = args[:agent_scope] if args.key?(:agent_scope)
6262
+ @business = args[:business] if args.key?(:business)
6263
+ @business_description = args[:business_description] if args.key?(:business_description)
6264
+ end
6265
+ end
6266
+
5823
6267
  # Metadata in google::longrunning::Operation for Knowledge operations.
5824
6268
  class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
5825
6269
  include Google::Apis::Core::Hashable
@@ -7181,6 +7625,18 @@ module Google
7181
7625
  class GoogleCloudDialogflowCxV3beta1Page
7182
7626
  include Google::Apis::Core::Hashable
7183
7627
 
7628
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
7629
+ # Settings exposed at lower level overrides the settings exposed at higher level.
7630
+ # Overriding occurs at the sub-setting level. For example, the
7631
+ # playback_interruption_settings at fulfillment level only overrides the
7632
+ # playback_interruption_settings at the agent level, leaving other settings at
7633
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
7634
+ # settings set at different levels define DTMF detections running in parallel.
7635
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
7636
+ # Corresponds to the JSON property `advancedSettings`
7637
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
7638
+ attr_accessor :advanced_settings
7639
+
7184
7640
  # Required. The human-readable name of the page, unique within the flow.
7185
7641
  # Corresponds to the JSON property `displayName`
7186
7642
  # @return [String]
@@ -7261,6 +7717,7 @@ module Google
7261
7717
 
7262
7718
  # Update properties of this object
7263
7719
  def update!(**args)
7720
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
7264
7721
  @display_name = args[:display_name] if args.key?(:display_name)
7265
7722
  @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
7266
7723
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
@@ -7572,6 +8029,18 @@ module Google
7572
8029
  class GoogleCloudDialogflowCxV3beta1QueryResult
7573
8030
  include Google::Apis::Core::Hashable
7574
8031
 
8032
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
8033
+ # Settings exposed at lower level overrides the settings exposed at higher level.
8034
+ # Overriding occurs at the sub-setting level. For example, the
8035
+ # playback_interruption_settings at fulfillment level only overrides the
8036
+ # playback_interruption_settings at the agent level, leaving other settings at
8037
+ # the agent level unchanged. DTMF settings does not override each other. DTMF
8038
+ # settings set at different levels define DTMF detections running in parallel.
8039
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
8040
+ # Corresponds to the JSON property `advancedSettings`
8041
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
8042
+ attr_accessor :advanced_settings
8043
+
7575
8044
  # A Dialogflow CX conversation (session) can be described and visualized as a
7576
8045
  # state machine. The states of a CX session are represented by pages. For each
7577
8046
  # flow, you define many pages, where your combined pages can handle a complete
@@ -7708,6 +8177,7 @@ module Google
7708
8177
 
7709
8178
  # Update properties of this object
7710
8179
  def update!(**args)
8180
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
7711
8181
  @current_page = args[:current_page] if args.key?(:current_page)
7712
8182
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
7713
8183
  @dtmf = args[:dtmf] if args.key?(:dtmf)
@@ -8406,6 +8876,50 @@ module Google
8406
8876
  end
8407
8877
  end
8408
8878
 
8879
+ # Settings for Generative Safety.
8880
+ class GoogleCloudDialogflowCxV3beta1SafetySettings
8881
+ include Google::Apis::Core::Hashable
8882
+
8883
+ # Banned phrases for generated text.
8884
+ # Corresponds to the JSON property `bannedPhrases`
8885
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase>]
8886
+ attr_accessor :banned_phrases
8887
+
8888
+ def initialize(**args)
8889
+ update!(**args)
8890
+ end
8891
+
8892
+ # Update properties of this object
8893
+ def update!(**args)
8894
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
8895
+ end
8896
+ end
8897
+
8898
+ # Text input which can be used for prompt or banned phrases.
8899
+ class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase
8900
+ include Google::Apis::Core::Hashable
8901
+
8902
+ # Required. Language code of the phrase.
8903
+ # Corresponds to the JSON property `languageCode`
8904
+ # @return [String]
8905
+ attr_accessor :language_code
8906
+
8907
+ # Required. Text input which can be used for prompt or banned phrases.
8908
+ # Corresponds to the JSON property `text`
8909
+ # @return [String]
8910
+ attr_accessor :text
8911
+
8912
+ def initialize(**args)
8913
+ update!(**args)
8914
+ end
8915
+
8916
+ # Update properties of this object
8917
+ def update!(**args)
8918
+ @language_code = args[:language_code] if args.key?(:language_code)
8919
+ @text = args[:text] if args.key?(:text)
8920
+ end
8921
+ end
8922
+
8409
8923
  # Represents the settings related to security issues, such as data redaction and
8410
8924
  # data retention. It may take hours for updates on the settings to propagate to
8411
8925
  # all the related components and take effect.
@@ -8479,6 +8993,11 @@ module Google
8479
8993
  # @return [String]
8480
8994
  attr_accessor :redaction_strategy
8481
8995
 
8996
+ # Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.
8997
+ # Corresponds to the JSON property `retentionStrategy`
8998
+ # @return [String]
8999
+ attr_accessor :retention_strategy
9000
+
8482
9001
  # Retains data in interaction logging for the specified number of days. This
8483
9002
  # does not apply to Cloud logging, which is owned by the user - not Dialogflow.
8484
9003
  # User must set a value lower than Dialogflow's default 365d TTL (30 days for
@@ -8504,6 +9023,7 @@ module Google
8504
9023
  @purge_data_types = args[:purge_data_types] if args.key?(:purge_data_types)
8505
9024
  @redaction_scope = args[:redaction_scope] if args.key?(:redaction_scope)
8506
9025
  @redaction_strategy = args[:redaction_strategy] if args.key?(:redaction_strategy)
9026
+ @retention_strategy = args[:retention_strategy] if args.key?(:retention_strategy)
8507
9027
  @retention_window_days = args[:retention_window_days] if args.key?(:retention_window_days)
8508
9028
  end
8509
9029
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 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 DialogflowV3beta1
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
 
@@ -556,6 +580,12 @@ module Google
556
580
  include Google::Apis::Core::JsonObjectSupport
557
581
  end
558
582
 
583
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
559
589
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
560
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
591
 
@@ -568,6 +598,12 @@ module Google
568
598
  include Google::Apis::Core::JsonObjectSupport
569
599
  end
570
600
 
601
+ class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
571
607
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
572
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
609
 
@@ -964,6 +1000,30 @@ module Google
964
1000
  include Google::Apis::Core::JsonObjectSupport
965
1001
  end
966
1002
 
1003
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettings
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1009
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
1021
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
967
1027
  class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
968
1028
  class Representation < Google::Apis::Core::JsonRepresentation; end
969
1029
 
@@ -1396,6 +1456,18 @@ module Google
1396
1456
  include Google::Apis::Core::JsonObjectSupport
1397
1457
  end
1398
1458
 
1459
+ class GoogleCloudDialogflowCxV3beta1SafetySettings
1460
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1461
+
1462
+ include Google::Apis::Core::JsonObjectSupport
1463
+ end
1464
+
1465
+ class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase
1466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1467
+
1468
+ include Google::Apis::Core::JsonObjectSupport
1469
+ end
1470
+
1399
1471
  class GoogleCloudDialogflowCxV3beta1SecuritySettings
1400
1472
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1473
 
@@ -2746,6 +2818,35 @@ module Google
2746
2818
  include Google::Apis::Core::JsonObjectSupport
2747
2819
  end
2748
2820
 
2821
+ class GoogleCloudDialogflowCxV3AdvancedSettings
2822
+ # @private
2823
+ class Representation < Google::Apis::Core::JsonRepresentation
2824
+ property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GcsDestination, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GcsDestination::Representation
2825
+
2826
+ property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings::Representation
2827
+
2828
+ property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
2829
+
2830
+ end
2831
+ end
2832
+
2833
+ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
2834
+ # @private
2835
+ class Representation < Google::Apis::Core::JsonRepresentation
2836
+ property :enabled, as: 'enabled'
2837
+ property :finish_digit, as: 'finishDigit'
2838
+ property :max_digits, as: 'maxDigits'
2839
+ end
2840
+ end
2841
+
2842
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
2843
+ # @private
2844
+ class Representation < Google::Apis::Core::JsonRepresentation
2845
+ property :enable_interaction_logging, as: 'enableInteractionLogging'
2846
+ property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2847
+ end
2848
+ end
2849
+
2749
2850
  class GoogleCloudDialogflowCxV3AudioInput
2750
2851
  # @private
2751
2852
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2985,6 +3086,8 @@ module Google
2985
3086
  class GoogleCloudDialogflowCxV3FormParameter
2986
3087
  # @private
2987
3088
  class Representation < Google::Apis::Core::JsonRepresentation
3089
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3090
+
2988
3091
  property :default_value, as: 'defaultValue'
2989
3092
  property :display_name, as: 'displayName'
2990
3093
  property :entity_type, as: 'entityType'
@@ -3009,8 +3112,11 @@ module Google
3009
3112
  class GoogleCloudDialogflowCxV3Fulfillment
3010
3113
  # @private
3011
3114
  class Representation < Google::Apis::Core::JsonRepresentation
3115
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3116
+
3012
3117
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation
3013
3118
 
3119
+ property :enable_generative_fallback, as: 'enableGenerativeFallback'
3014
3120
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
3015
3121
 
3016
3122
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -3056,6 +3162,13 @@ module Google
3056
3162
  end
3057
3163
  end
3058
3164
 
3165
+ class GoogleCloudDialogflowCxV3GcsDestination
3166
+ # @private
3167
+ class Representation < Google::Apis::Core::JsonRepresentation
3168
+ property :uri, as: 'uri'
3169
+ end
3170
+ end
3171
+
3059
3172
  class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
3060
3173
  # @private
3061
3174
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3181,6 +3294,8 @@ module Google
3181
3294
  class GoogleCloudDialogflowCxV3Page
3182
3295
  # @private
3183
3296
  class Representation < Google::Apis::Core::JsonRepresentation
3297
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
3298
+
3184
3299
  property :display_name, as: 'displayName'
3185
3300
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
3186
3301
 
@@ -3629,11 +3744,22 @@ module Google
3629
3744
  class Representation < Google::Apis::Core::JsonRepresentation
3630
3745
  property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GcsDestination, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GcsDestination::Representation
3631
3746
 
3747
+ property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings::Representation
3748
+
3632
3749
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
3633
3750
 
3634
3751
  end
3635
3752
  end
3636
3753
 
3754
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
3755
+ # @private
3756
+ class Representation < Google::Apis::Core::JsonRepresentation
3757
+ property :enabled, as: 'enabled'
3758
+ property :finish_digit, as: 'finishDigit'
3759
+ property :max_digits, as: 'maxDigits'
3760
+ end
3761
+ end
3762
+
3637
3763
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
3638
3764
  # @private
3639
3765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3653,6 +3779,8 @@ module Google
3653
3779
  property :display_name, as: 'displayName'
3654
3780
  property :enable_spell_correction, as: 'enableSpellCorrection'
3655
3781
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3782
+ property :gen_app_builder_settings, as: 'genAppBuilderSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings::Representation
3783
+
3656
3784
  property :git_integration_settings, as: 'gitIntegrationSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings::Representation
3657
3785
 
3658
3786
  property :locked, as: 'locked'
@@ -3668,6 +3796,13 @@ module Google
3668
3796
  end
3669
3797
  end
3670
3798
 
3799
+ class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
3800
+ # @private
3801
+ class Representation < Google::Apis::Core::JsonRepresentation
3802
+ property :engine, as: 'engine'
3803
+ end
3804
+ end
3805
+
3671
3806
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
3672
3807
  # @private
3673
3808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4183,6 +4318,8 @@ module Google
4183
4318
  class GoogleCloudDialogflowCxV3beta1Flow
4184
4319
  # @private
4185
4320
  class Representation < Google::Apis::Core::JsonRepresentation
4321
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4322
+
4186
4323
  property :description, as: 'description'
4187
4324
  property :display_name, as: 'displayName'
4188
4325
  collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler::Representation
@@ -4226,6 +4363,8 @@ module Google
4226
4363
  class GoogleCloudDialogflowCxV3beta1FormParameter
4227
4364
  # @private
4228
4365
  class Representation < Google::Apis::Core::JsonRepresentation
4366
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4367
+
4229
4368
  property :default_value, as: 'defaultValue'
4230
4369
  property :display_name, as: 'displayName'
4231
4370
  property :entity_type, as: 'entityType'
@@ -4274,8 +4413,11 @@ module Google
4274
4413
  class GoogleCloudDialogflowCxV3beta1Fulfillment
4275
4414
  # @private
4276
4415
  class Representation < Google::Apis::Core::JsonRepresentation
4416
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4417
+
4277
4418
  collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation
4278
4419
 
4420
+ property :enable_generative_fallback, as: 'enableGenerativeFallback'
4279
4421
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4280
4422
 
4281
4423
  property :return_partial_responses, as: 'returnPartialResponses'
@@ -4328,6 +4470,49 @@ module Google
4328
4470
  end
4329
4471
  end
4330
4472
 
4473
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettings
4474
+ # @private
4475
+ class Representation < Google::Apis::Core::JsonRepresentation
4476
+ property :fallback_settings, as: 'fallbackSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings::Representation
4477
+
4478
+ property :generative_safety_settings, as: 'generativeSafetySettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettings::Representation
4479
+
4480
+ property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings::Representation
4481
+
4482
+ property :language_code, as: 'languageCode'
4483
+ property :name, as: 'name'
4484
+ end
4485
+ end
4486
+
4487
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings
4488
+ # @private
4489
+ class Representation < Google::Apis::Core::JsonRepresentation
4490
+ collection :prompt_templates, as: 'promptTemplates', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate::Representation
4491
+
4492
+ property :selected_prompt, as: 'selectedPrompt'
4493
+ end
4494
+ end
4495
+
4496
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate
4497
+ # @private
4498
+ class Representation < Google::Apis::Core::JsonRepresentation
4499
+ property :display_name, as: 'displayName'
4500
+ property :frozen, as: 'frozen'
4501
+ property :prompt_text, as: 'promptText'
4502
+ end
4503
+ end
4504
+
4505
+ class GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings
4506
+ # @private
4507
+ class Representation < Google::Apis::Core::JsonRepresentation
4508
+ property :agent, as: 'agent'
4509
+ property :agent_identity, as: 'agentIdentity'
4510
+ property :agent_scope, as: 'agentScope'
4511
+ property :business, as: 'business'
4512
+ property :business_description, as: 'businessDescription'
4513
+ end
4514
+ end
4515
+
4331
4516
  class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
4332
4517
  # @private
4333
4518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4715,6 +4900,8 @@ module Google
4715
4900
  class GoogleCloudDialogflowCxV3beta1Page
4716
4901
  # @private
4717
4902
  class Representation < Google::Apis::Core::JsonRepresentation
4903
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4904
+
4718
4905
  property :display_name, as: 'displayName'
4719
4906
  property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4720
4907
 
@@ -4800,6 +4987,8 @@ module Google
4800
4987
  class GoogleCloudDialogflowCxV3beta1QueryResult
4801
4988
  # @private
4802
4989
  class Representation < Google::Apis::Core::JsonRepresentation
4990
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
4991
+
4803
4992
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
4804
4993
 
4805
4994
  hash :diagnostic_info, as: 'diagnosticInfo'
@@ -5032,6 +5221,22 @@ module Google
5032
5221
  end
5033
5222
  end
5034
5223
 
5224
+ class GoogleCloudDialogflowCxV3beta1SafetySettings
5225
+ # @private
5226
+ class Representation < Google::Apis::Core::JsonRepresentation
5227
+ collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase::Representation
5228
+
5229
+ end
5230
+ end
5231
+
5232
+ class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase
5233
+ # @private
5234
+ class Representation < Google::Apis::Core::JsonRepresentation
5235
+ property :language_code, as: 'languageCode'
5236
+ property :text, as: 'text'
5237
+ end
5238
+ end
5239
+
5035
5240
  class GoogleCloudDialogflowCxV3beta1SecuritySettings
5036
5241
  # @private
5037
5242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5046,6 +5251,7 @@ module Google
5046
5251
  collection :purge_data_types, as: 'purgeDataTypes'
5047
5252
  property :redaction_scope, as: 'redactionScope'
5048
5253
  property :redaction_strategy, as: 'redactionStrategy'
5254
+ property :retention_strategy, as: 'retentionStrategy'
5049
5255
  property :retention_window_days, as: 'retentionWindowDays'
5050
5256
  end
5051
5257
  end
@@ -258,6 +258,39 @@ module Google
258
258
  execute_or_queue_command(command, &block)
259
259
  end
260
260
 
261
+ # Gets the generative settings for the agent.
262
+ # @param [String] name
263
+ # Required. Format: `projects//locations//agents//generativeSettings`.
264
+ # @param [String] language_code
265
+ # Required. Language code of the generative settings.
266
+ # @param [String] fields
267
+ # Selector specifying which fields to include in a partial response.
268
+ # @param [String] quota_user
269
+ # Available to use for quota purposes for server-side applications. Can be any
270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
271
+ # @param [Google::Apis::RequestOptions] options
272
+ # Request-specific options
273
+ #
274
+ # @yield [result, err] Result & error if block supplied
275
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings] parsed result object
276
+ # @yieldparam err [StandardError] error object if request failed
277
+ #
278
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings]
279
+ #
280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
283
+ def get_project_location_agent_generative_settings(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
284
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
285
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings::Representation
286
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings
287
+ command.params['name'] = name unless name.nil?
288
+ command.query['languageCode'] = language_code unless language_code.nil?
289
+ command.query['fields'] = fields unless fields.nil?
290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
291
+ execute_or_queue_command(command, &block)
292
+ end
293
+
261
294
  # Gets the latest agent validation result. Agent validation is performed when
262
295
  # ValidateAgent is called.
263
296
  # @param [String] name
@@ -415,6 +448,43 @@ module Google
415
448
  execute_or_queue_command(command, &block)
416
449
  end
417
450
 
451
+ # Updates the generative settings for the agent.
452
+ # @param [String] name
453
+ # Format: `projects//locations//agents//generativeSettings`.
454
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings] google_cloud_dialogflow_cx_v3beta1_generative_settings_object
455
+ # @param [String] update_mask
456
+ # Optional. The mask to control which fields get updated. If the mask is not
457
+ # present, all fields will be updated.
458
+ # @param [String] fields
459
+ # Selector specifying which fields to include in a partial response.
460
+ # @param [String] quota_user
461
+ # Available to use for quota purposes for server-side applications. Can be any
462
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
463
+ # @param [Google::Apis::RequestOptions] options
464
+ # Request-specific options
465
+ #
466
+ # @yield [result, err] Result & error if block supplied
467
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings] parsed result object
468
+ # @yieldparam err [StandardError] error object if request failed
469
+ #
470
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings]
471
+ #
472
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
473
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
475
+ def update_project_location_agent_generative_settings(name, google_cloud_dialogflow_cx_v3beta1_generative_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
476
+ command = make_simple_command(:patch, 'v3beta1/{+name}', options)
477
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings::Representation
478
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_generative_settings_object
479
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings::Representation
480
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings
481
+ command.params['name'] = name unless name.nil?
482
+ command.query['updateMask'] = update_mask unless update_mask.nil?
483
+ command.query['fields'] = fields unless fields.nil?
484
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
485
+ execute_or_queue_command(command, &block)
486
+ end
487
+
418
488
  # Validates the specified agent and creates or updates validation results. The
419
489
  # agent in draft version is validated. Please call this API after the training
420
490
  # is completed to get the complete validation results.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
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_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.68.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []