google-apis-dialogflow_v3 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 997b30783acc4236abfb1b3c906df336b55bf37beb8be23e6214802844ce7659
|
4
|
+
data.tar.gz: 496367075428d8b11671c8969ec5bfa67ea9cd9bbb64352417f12a2157524bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b453ff86d053a19091482ee11df26a0e5926ecf9be5a662052e880b87b653f535c4938c6bb3a3a5f129f0dc53a94f24796e7f741fb0267fbf81794ed1fbbca2f
|
7
|
+
data.tar.gz: 978eb73df56a5dfd7009fd7b8fce507dcb955f608d23abaf2095d476d4dba6eda203dfd426ae5fd38f4f9fb9a889a5bc0deb02af242790dfea074170008fd40d
|
data/CHANGELOG.md
CHANGED
@@ -39,6 +39,11 @@ module Google
|
|
39
39
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GcsDestination]
|
40
40
|
attr_accessor :audio_export_gcs_destination
|
41
41
|
|
42
|
+
# Define behaviors for DTMF (dual tone multi frequency).
|
43
|
+
# Corresponds to the JSON property `dtmfSettings`
|
44
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings]
|
45
|
+
attr_accessor :dtmf_settings
|
46
|
+
|
42
47
|
# Define behaviors on logging.
|
43
48
|
# Corresponds to the JSON property `loggingSettings`
|
44
49
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
|
@@ -51,10 +56,47 @@ module Google
|
|
51
56
|
# Update properties of this object
|
52
57
|
def update!(**args)
|
53
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)
|
54
60
|
@logging_settings = args[:logging_settings] if args.key?(:logging_settings)
|
55
61
|
end
|
56
62
|
end
|
57
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
|
+
|
58
100
|
# Define behaviors on logging.
|
59
101
|
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
60
102
|
include Google::Apis::Core::Hashable
|
@@ -142,6 +184,11 @@ module Google
|
|
142
184
|
attr_accessor :enable_stackdriver_logging
|
143
185
|
alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
|
144
186
|
|
187
|
+
# Settings for Gen App Builder.
|
188
|
+
# Corresponds to the JSON property `genAppBuilderSettings`
|
189
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings]
|
190
|
+
attr_accessor :gen_app_builder_settings
|
191
|
+
|
145
192
|
# Settings for connecting to Git repository for an agent.
|
146
193
|
# Corresponds to the JSON property `gitIntegrationSettings`
|
147
194
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettings]
|
@@ -209,6 +256,7 @@ module Google
|
|
209
256
|
@display_name = args[:display_name] if args.key?(:display_name)
|
210
257
|
@enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
|
211
258
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
259
|
+
@gen_app_builder_settings = args[:gen_app_builder_settings] if args.key?(:gen_app_builder_settings)
|
212
260
|
@git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
|
213
261
|
@locked = args[:locked] if args.key?(:locked)
|
214
262
|
@name = args[:name] if args.key?(:name)
|
@@ -221,6 +269,27 @@ module Google
|
|
221
269
|
end
|
222
270
|
end
|
223
271
|
|
272
|
+
# Settings for Gen App Builder.
|
273
|
+
class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# Required. The full name of the Gen App Builder engine related to this agent if
|
277
|
+
# there is one. Format: `projects/`Project ID`/locations/`Location ID`/
|
278
|
+
# collections/`Collection ID`/engines/`Engine ID``
|
279
|
+
# Corresponds to the JSON property `engine`
|
280
|
+
# @return [String]
|
281
|
+
attr_accessor :engine
|
282
|
+
|
283
|
+
def initialize(**args)
|
284
|
+
update!(**args)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Update properties of this object
|
288
|
+
def update!(**args)
|
289
|
+
@engine = args[:engine] if args.key?(:engine)
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
224
293
|
# Settings for connecting to Git repository for an agent.
|
225
294
|
class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
|
226
295
|
include Google::Apis::Core::Hashable
|
@@ -2054,6 +2123,18 @@ module Google
|
|
2054
2123
|
class GoogleCloudDialogflowCxV3Flow
|
2055
2124
|
include Google::Apis::Core::Hashable
|
2056
2125
|
|
2126
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
2127
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
2128
|
+
# Overriding occurs at the sub-setting level. For example, the
|
2129
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
2130
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
2131
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
2132
|
+
# settings set at different levels define DTMF detections running in parallel.
|
2133
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
2134
|
+
# Corresponds to the JSON property `advancedSettings`
|
2135
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
|
2136
|
+
attr_accessor :advanced_settings
|
2137
|
+
|
2057
2138
|
# The description of the flow. The maximum length is 500 characters. If exceeded,
|
2058
2139
|
# the request is rejected.
|
2059
2140
|
# Corresponds to the JSON property `description`
|
@@ -2123,6 +2204,7 @@ module Google
|
|
2123
2204
|
|
2124
2205
|
# Update properties of this object
|
2125
2206
|
def update!(**args)
|
2207
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
2126
2208
|
@description = args[:description] if args.key?(:description)
|
2127
2209
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2128
2210
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
@@ -2215,6 +2297,18 @@ module Google
|
|
2215
2297
|
class GoogleCloudDialogflowCxV3FormParameter
|
2216
2298
|
include Google::Apis::Core::Hashable
|
2217
2299
|
|
2300
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
2301
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
2302
|
+
# Overriding occurs at the sub-setting level. For example, the
|
2303
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
2304
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
2305
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
2306
|
+
# settings set at different levels define DTMF detections running in parallel.
|
2307
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
2308
|
+
# Corresponds to the JSON property `advancedSettings`
|
2309
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
|
2310
|
+
attr_accessor :advanced_settings
|
2311
|
+
|
2218
2312
|
# The default value of an optional parameter. If the parameter is required, the
|
2219
2313
|
# default value will be ignored.
|
2220
2314
|
# Corresponds to the JSON property `defaultValue`
|
@@ -2268,6 +2362,7 @@ module Google
|
|
2268
2362
|
|
2269
2363
|
# Update properties of this object
|
2270
2364
|
def update!(**args)
|
2365
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
2271
2366
|
@default_value = args[:default_value] if args.key?(:default_value)
|
2272
2367
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2273
2368
|
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
@@ -2415,11 +2510,32 @@ module Google
|
|
2415
2510
|
class GoogleCloudDialogflowCxV3Fulfillment
|
2416
2511
|
include Google::Apis::Core::Hashable
|
2417
2512
|
|
2513
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
2514
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
2515
|
+
# Overriding occurs at the sub-setting level. For example, the
|
2516
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
2517
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
2518
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
2519
|
+
# settings set at different levels define DTMF detections running in parallel.
|
2520
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
2521
|
+
# Corresponds to the JSON property `advancedSettings`
|
2522
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
|
2523
|
+
attr_accessor :advanced_settings
|
2524
|
+
|
2418
2525
|
# Conditional cases for this fulfillment.
|
2419
2526
|
# Corresponds to the JSON property `conditionalCases`
|
2420
2527
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentConditionalCases>]
|
2421
2528
|
attr_accessor :conditional_cases
|
2422
2529
|
|
2530
|
+
# If the flag is true, the agent will utilize LLM to generate a text response.
|
2531
|
+
# If LLM generation fails, the defined responses in the fulfillment will be
|
2532
|
+
# respected. This flag is only useful for fulfillments associated with no-match
|
2533
|
+
# event handlers.
|
2534
|
+
# Corresponds to the JSON property `enableGenerativeFallback`
|
2535
|
+
# @return [Boolean]
|
2536
|
+
attr_accessor :enable_generative_fallback
|
2537
|
+
alias_method :enable_generative_fallback?, :enable_generative_fallback
|
2538
|
+
|
2423
2539
|
# The list of rich message responses to present to the user.
|
2424
2540
|
# Corresponds to the JSON property `messages`
|
2425
2541
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>]
|
@@ -2462,7 +2578,9 @@ module Google
|
|
2462
2578
|
|
2463
2579
|
# Update properties of this object
|
2464
2580
|
def update!(**args)
|
2581
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
2465
2582
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
2583
|
+
@enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
|
2466
2584
|
@messages = args[:messages] if args.key?(:messages)
|
2467
2585
|
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
2468
2586
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
@@ -2604,6 +2722,159 @@ module Google
|
|
2604
2722
|
end
|
2605
2723
|
end
|
2606
2724
|
|
2725
|
+
# Settings for Generative AI.
|
2726
|
+
class GoogleCloudDialogflowCxV3GenerativeSettings
|
2727
|
+
include Google::Apis::Core::Hashable
|
2728
|
+
|
2729
|
+
# Settings for Generative Fallback.
|
2730
|
+
# Corresponds to the JSON property `fallbackSettings`
|
2731
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings]
|
2732
|
+
attr_accessor :fallback_settings
|
2733
|
+
|
2734
|
+
# Settings for Generative Safety.
|
2735
|
+
# Corresponds to the JSON property `generativeSafetySettings`
|
2736
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings]
|
2737
|
+
attr_accessor :generative_safety_settings
|
2738
|
+
|
2739
|
+
# Settings for knowledge connector. These parameters are used for LLM prompt
|
2740
|
+
# like "You are . You are a helpful and verbose at , . Your task is to help
|
2741
|
+
# humans on ".
|
2742
|
+
# Corresponds to the JSON property `knowledgeConnectorSettings`
|
2743
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings]
|
2744
|
+
attr_accessor :knowledge_connector_settings
|
2745
|
+
|
2746
|
+
# Language for this settings.
|
2747
|
+
# Corresponds to the JSON property `languageCode`
|
2748
|
+
# @return [String]
|
2749
|
+
attr_accessor :language_code
|
2750
|
+
|
2751
|
+
# Format: `projects//locations//agents//generativeSettings`.
|
2752
|
+
# Corresponds to the JSON property `name`
|
2753
|
+
# @return [String]
|
2754
|
+
attr_accessor :name
|
2755
|
+
|
2756
|
+
def initialize(**args)
|
2757
|
+
update!(**args)
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
# Update properties of this object
|
2761
|
+
def update!(**args)
|
2762
|
+
@fallback_settings = args[:fallback_settings] if args.key?(:fallback_settings)
|
2763
|
+
@generative_safety_settings = args[:generative_safety_settings] if args.key?(:generative_safety_settings)
|
2764
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
2765
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2766
|
+
@name = args[:name] if args.key?(:name)
|
2767
|
+
end
|
2768
|
+
end
|
2769
|
+
|
2770
|
+
# Settings for Generative Fallback.
|
2771
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
|
2772
|
+
include Google::Apis::Core::Hashable
|
2773
|
+
|
2774
|
+
# Stored prompts that can be selected, for example default templates like "
|
2775
|
+
# conservative" or "chatty", or user defined ones.
|
2776
|
+
# Corresponds to the JSON property `promptTemplates`
|
2777
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate>]
|
2778
|
+
attr_accessor :prompt_templates
|
2779
|
+
|
2780
|
+
# Display name of the selected prompt.
|
2781
|
+
# Corresponds to the JSON property `selectedPrompt`
|
2782
|
+
# @return [String]
|
2783
|
+
attr_accessor :selected_prompt
|
2784
|
+
|
2785
|
+
def initialize(**args)
|
2786
|
+
update!(**args)
|
2787
|
+
end
|
2788
|
+
|
2789
|
+
# Update properties of this object
|
2790
|
+
def update!(**args)
|
2791
|
+
@prompt_templates = args[:prompt_templates] if args.key?(:prompt_templates)
|
2792
|
+
@selected_prompt = args[:selected_prompt] if args.key?(:selected_prompt)
|
2793
|
+
end
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
# Prompt template.
|
2797
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
|
2798
|
+
include Google::Apis::Core::Hashable
|
2799
|
+
|
2800
|
+
# Prompt name.
|
2801
|
+
# Corresponds to the JSON property `displayName`
|
2802
|
+
# @return [String]
|
2803
|
+
attr_accessor :display_name
|
2804
|
+
|
2805
|
+
# If the flag is true, the prompt is frozen and cannot be modified by users.
|
2806
|
+
# Corresponds to the JSON property `frozen`
|
2807
|
+
# @return [Boolean]
|
2808
|
+
attr_accessor :frozen
|
2809
|
+
alias_method :frozen?, :frozen
|
2810
|
+
|
2811
|
+
# Prompt text that is sent to a LLM on no-match default, placeholders are filled
|
2812
|
+
# downstream. For example: "Here is a conversation $conversation, a response is:
|
2813
|
+
# "
|
2814
|
+
# Corresponds to the JSON property `promptText`
|
2815
|
+
# @return [String]
|
2816
|
+
attr_accessor :prompt_text
|
2817
|
+
|
2818
|
+
def initialize(**args)
|
2819
|
+
update!(**args)
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# Update properties of this object
|
2823
|
+
def update!(**args)
|
2824
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2825
|
+
@frozen = args[:frozen] if args.key?(:frozen)
|
2826
|
+
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
2827
|
+
end
|
2828
|
+
end
|
2829
|
+
|
2830
|
+
# Settings for knowledge connector. These parameters are used for LLM prompt
|
2831
|
+
# like "You are . You are a helpful and verbose at , . Your task is to help
|
2832
|
+
# humans on ".
|
2833
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
|
2834
|
+
include Google::Apis::Core::Hashable
|
2835
|
+
|
2836
|
+
# Name of the virtual agent. Used for LLM prompt. Can be left empty.
|
2837
|
+
# Corresponds to the JSON property `agent`
|
2838
|
+
# @return [String]
|
2839
|
+
attr_accessor :agent
|
2840
|
+
|
2841
|
+
# Identity of the agent, e.g. "virtual agent", "AI assistant".
|
2842
|
+
# Corresponds to the JSON property `agentIdentity`
|
2843
|
+
# @return [String]
|
2844
|
+
attr_accessor :agent_identity
|
2845
|
+
|
2846
|
+
# Agent scope, e.g. "Example company website", "internal Example company website
|
2847
|
+
# for employees", "manual of car owner".
|
2848
|
+
# Corresponds to the JSON property `agentScope`
|
2849
|
+
# @return [String]
|
2850
|
+
attr_accessor :agent_scope
|
2851
|
+
|
2852
|
+
# Name of the company, organization or other entity that the agent represents.
|
2853
|
+
# Used for knowledge connector LLM prompt and for knowledge search.
|
2854
|
+
# Corresponds to the JSON property `business`
|
2855
|
+
# @return [String]
|
2856
|
+
attr_accessor :business
|
2857
|
+
|
2858
|
+
# Company description, used for LLM prompt, e.g. "a family company selling
|
2859
|
+
# freshly roasted coffee beans".
|
2860
|
+
# Corresponds to the JSON property `businessDescription`
|
2861
|
+
# @return [String]
|
2862
|
+
attr_accessor :business_description
|
2863
|
+
|
2864
|
+
def initialize(**args)
|
2865
|
+
update!(**args)
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
# Update properties of this object
|
2869
|
+
def update!(**args)
|
2870
|
+
@agent = args[:agent] if args.key?(:agent)
|
2871
|
+
@agent_identity = args[:agent_identity] if args.key?(:agent_identity)
|
2872
|
+
@agent_scope = args[:agent_scope] if args.key?(:agent_scope)
|
2873
|
+
@business = args[:business] if args.key?(:business)
|
2874
|
+
@business_description = args[:business_description] if args.key?(:business_description)
|
2875
|
+
end
|
2876
|
+
end
|
2877
|
+
|
2607
2878
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
2608
2879
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
2609
2880
|
include Google::Apis::Core::Hashable
|
@@ -3965,6 +4236,18 @@ module Google
|
|
3965
4236
|
class GoogleCloudDialogflowCxV3Page
|
3966
4237
|
include Google::Apis::Core::Hashable
|
3967
4238
|
|
4239
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
4240
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
4241
|
+
# Overriding occurs at the sub-setting level. For example, the
|
4242
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
4243
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
4244
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
4245
|
+
# settings set at different levels define DTMF detections running in parallel.
|
4246
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
4247
|
+
# Corresponds to the JSON property `advancedSettings`
|
4248
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
|
4249
|
+
attr_accessor :advanced_settings
|
4250
|
+
|
3968
4251
|
# Required. The human-readable name of the page, unique within the flow.
|
3969
4252
|
# Corresponds to the JSON property `displayName`
|
3970
4253
|
# @return [String]
|
@@ -4045,6 +4328,7 @@ module Google
|
|
4045
4328
|
|
4046
4329
|
# Update properties of this object
|
4047
4330
|
def update!(**args)
|
4331
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
4048
4332
|
@display_name = args[:display_name] if args.key?(:display_name)
|
4049
4333
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
4050
4334
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
@@ -4356,6 +4640,18 @@ module Google
|
|
4356
4640
|
class GoogleCloudDialogflowCxV3QueryResult
|
4357
4641
|
include Google::Apis::Core::Hashable
|
4358
4642
|
|
4643
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
4644
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
4645
|
+
# Overriding occurs at the sub-setting level. For example, the
|
4646
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
4647
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
4648
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
4649
|
+
# settings set at different levels define DTMF detections running in parallel.
|
4650
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
4651
|
+
# Corresponds to the JSON property `advancedSettings`
|
4652
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
|
4653
|
+
attr_accessor :advanced_settings
|
4654
|
+
|
4359
4655
|
# A Dialogflow CX conversation (session) can be described and visualized as a
|
4360
4656
|
# state machine. The states of a CX session are represented by pages. For each
|
4361
4657
|
# flow, you define many pages, where your combined pages can handle a complete
|
@@ -4492,6 +4788,7 @@ module Google
|
|
4492
4788
|
|
4493
4789
|
# Update properties of this object
|
4494
4790
|
def update!(**args)
|
4791
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
4495
4792
|
@current_page = args[:current_page] if args.key?(:current_page)
|
4496
4793
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
4497
4794
|
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
@@ -5196,6 +5493,50 @@ module Google
|
|
5196
5493
|
end
|
5197
5494
|
end
|
5198
5495
|
|
5496
|
+
# Settings for Generative Safety.
|
5497
|
+
class GoogleCloudDialogflowCxV3SafetySettings
|
5498
|
+
include Google::Apis::Core::Hashable
|
5499
|
+
|
5500
|
+
# Banned phrases for generated text.
|
5501
|
+
# Corresponds to the JSON property `bannedPhrases`
|
5502
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsPhrase>]
|
5503
|
+
attr_accessor :banned_phrases
|
5504
|
+
|
5505
|
+
def initialize(**args)
|
5506
|
+
update!(**args)
|
5507
|
+
end
|
5508
|
+
|
5509
|
+
# Update properties of this object
|
5510
|
+
def update!(**args)
|
5511
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
5512
|
+
end
|
5513
|
+
end
|
5514
|
+
|
5515
|
+
# Text input which can be used for prompt or banned phrases.
|
5516
|
+
class GoogleCloudDialogflowCxV3SafetySettingsPhrase
|
5517
|
+
include Google::Apis::Core::Hashable
|
5518
|
+
|
5519
|
+
# Required. Language code of the phrase.
|
5520
|
+
# Corresponds to the JSON property `languageCode`
|
5521
|
+
# @return [String]
|
5522
|
+
attr_accessor :language_code
|
5523
|
+
|
5524
|
+
# Required. Text input which can be used for prompt or banned phrases.
|
5525
|
+
# Corresponds to the JSON property `text`
|
5526
|
+
# @return [String]
|
5527
|
+
attr_accessor :text
|
5528
|
+
|
5529
|
+
def initialize(**args)
|
5530
|
+
update!(**args)
|
5531
|
+
end
|
5532
|
+
|
5533
|
+
# Update properties of this object
|
5534
|
+
def update!(**args)
|
5535
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5536
|
+
@text = args[:text] if args.key?(:text)
|
5537
|
+
end
|
5538
|
+
end
|
5539
|
+
|
5199
5540
|
# Represents the settings related to security issues, such as data redaction and
|
5200
5541
|
# data retention. It may take hours for updates on the settings to propagate to
|
5201
5542
|
# all the related components and take effect.
|
@@ -5269,6 +5610,11 @@ module Google
|
|
5269
5610
|
# @return [String]
|
5270
5611
|
attr_accessor :redaction_strategy
|
5271
5612
|
|
5613
|
+
# Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.
|
5614
|
+
# Corresponds to the JSON property `retentionStrategy`
|
5615
|
+
# @return [String]
|
5616
|
+
attr_accessor :retention_strategy
|
5617
|
+
|
5272
5618
|
# Retains the data for the specified number of days. User must set a value lower
|
5273
5619
|
# than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher
|
5274
5620
|
# value will be ignored and use default. Setting a value higher than that has no
|
@@ -5292,6 +5638,7 @@ module Google
|
|
5292
5638
|
@purge_data_types = args[:purge_data_types] if args.key?(:purge_data_types)
|
5293
5639
|
@redaction_scope = args[:redaction_scope] if args.key?(:redaction_scope)
|
5294
5640
|
@redaction_strategy = args[:redaction_strategy] if args.key?(:redaction_strategy)
|
5641
|
+
@retention_strategy = args[:retention_strategy] if args.key?(:retention_strategy)
|
5295
5642
|
@retention_window_days = args[:retention_window_days] if args.key?(:retention_window_days)
|
5296
5643
|
end
|
5297
5644
|
end
|
@@ -7017,6 +7364,108 @@ module Google
|
|
7017
7364
|
end
|
7018
7365
|
end
|
7019
7366
|
|
7367
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
7368
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
7369
|
+
# Overriding occurs at the sub-setting level. For example, the
|
7370
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
7371
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
7372
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
7373
|
+
# settings set at different levels define DTMF detections running in parallel.
|
7374
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
7375
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
7376
|
+
include Google::Apis::Core::Hashable
|
7377
|
+
|
7378
|
+
# Google Cloud Storage location for a Dialogflow operation that writes or
|
7379
|
+
# exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
|
7380
|
+
# Corresponds to the JSON property `audioExportGcsDestination`
|
7381
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GcsDestination]
|
7382
|
+
attr_accessor :audio_export_gcs_destination
|
7383
|
+
|
7384
|
+
# Define behaviors for DTMF (dual tone multi frequency).
|
7385
|
+
# Corresponds to the JSON property `dtmfSettings`
|
7386
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings]
|
7387
|
+
attr_accessor :dtmf_settings
|
7388
|
+
|
7389
|
+
# Define behaviors on logging.
|
7390
|
+
# Corresponds to the JSON property `loggingSettings`
|
7391
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
|
7392
|
+
attr_accessor :logging_settings
|
7393
|
+
|
7394
|
+
def initialize(**args)
|
7395
|
+
update!(**args)
|
7396
|
+
end
|
7397
|
+
|
7398
|
+
# Update properties of this object
|
7399
|
+
def update!(**args)
|
7400
|
+
@audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
|
7401
|
+
@dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
|
7402
|
+
@logging_settings = args[:logging_settings] if args.key?(:logging_settings)
|
7403
|
+
end
|
7404
|
+
end
|
7405
|
+
|
7406
|
+
# Define behaviors for DTMF (dual tone multi frequency).
|
7407
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
|
7408
|
+
include Google::Apis::Core::Hashable
|
7409
|
+
|
7410
|
+
# If true, incoming audio is processed for DTMF (dual tone multi frequency)
|
7411
|
+
# events. For example, if the caller presses a button on their telephone keypad
|
7412
|
+
# and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3"
|
7413
|
+
# was pressed) in the incoming audio and pass the event to the bot to drive
|
7414
|
+
# business logic (e.g. when 3 is pressed, return the account balance).
|
7415
|
+
# Corresponds to the JSON property `enabled`
|
7416
|
+
# @return [Boolean]
|
7417
|
+
attr_accessor :enabled
|
7418
|
+
alias_method :enabled?, :enabled
|
7419
|
+
|
7420
|
+
# The digit that terminates a DTMF digit sequence.
|
7421
|
+
# Corresponds to the JSON property `finishDigit`
|
7422
|
+
# @return [String]
|
7423
|
+
attr_accessor :finish_digit
|
7424
|
+
|
7425
|
+
# Max length of DTMF digits.
|
7426
|
+
# Corresponds to the JSON property `maxDigits`
|
7427
|
+
# @return [Fixnum]
|
7428
|
+
attr_accessor :max_digits
|
7429
|
+
|
7430
|
+
def initialize(**args)
|
7431
|
+
update!(**args)
|
7432
|
+
end
|
7433
|
+
|
7434
|
+
# Update properties of this object
|
7435
|
+
def update!(**args)
|
7436
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
7437
|
+
@finish_digit = args[:finish_digit] if args.key?(:finish_digit)
|
7438
|
+
@max_digits = args[:max_digits] if args.key?(:max_digits)
|
7439
|
+
end
|
7440
|
+
end
|
7441
|
+
|
7442
|
+
# Define behaviors on logging.
|
7443
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
7444
|
+
include Google::Apis::Core::Hashable
|
7445
|
+
|
7446
|
+
# If true, DF Interaction logging is currently enabled.
|
7447
|
+
# Corresponds to the JSON property `enableInteractionLogging`
|
7448
|
+
# @return [Boolean]
|
7449
|
+
attr_accessor :enable_interaction_logging
|
7450
|
+
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
7451
|
+
|
7452
|
+
# If true, StackDriver logging is currently enabled.
|
7453
|
+
# Corresponds to the JSON property `enableStackdriverLogging`
|
7454
|
+
# @return [Boolean]
|
7455
|
+
attr_accessor :enable_stackdriver_logging
|
7456
|
+
alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
|
7457
|
+
|
7458
|
+
def initialize(**args)
|
7459
|
+
update!(**args)
|
7460
|
+
end
|
7461
|
+
|
7462
|
+
# Update properties of this object
|
7463
|
+
def update!(**args)
|
7464
|
+
@enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
|
7465
|
+
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
7466
|
+
end
|
7467
|
+
end
|
7468
|
+
|
7020
7469
|
# Represents the natural speech audio to be processed.
|
7021
7470
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
7022
7471
|
include Google::Apis::Core::Hashable
|
@@ -7802,6 +8251,18 @@ module Google
|
|
7802
8251
|
class GoogleCloudDialogflowCxV3beta1FormParameter
|
7803
8252
|
include Google::Apis::Core::Hashable
|
7804
8253
|
|
8254
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
8255
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
8256
|
+
# Overriding occurs at the sub-setting level. For example, the
|
8257
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
8258
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
8259
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
8260
|
+
# settings set at different levels define DTMF detections running in parallel.
|
8261
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
8262
|
+
# Corresponds to the JSON property `advancedSettings`
|
8263
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
|
8264
|
+
attr_accessor :advanced_settings
|
8265
|
+
|
7805
8266
|
# The default value of an optional parameter. If the parameter is required, the
|
7806
8267
|
# default value will be ignored.
|
7807
8268
|
# Corresponds to the JSON property `defaultValue`
|
@@ -7855,6 +8316,7 @@ module Google
|
|
7855
8316
|
|
7856
8317
|
# Update properties of this object
|
7857
8318
|
def update!(**args)
|
8319
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
7858
8320
|
@default_value = args[:default_value] if args.key?(:default_value)
|
7859
8321
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7860
8322
|
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
@@ -7925,11 +8387,32 @@ module Google
|
|
7925
8387
|
class GoogleCloudDialogflowCxV3beta1Fulfillment
|
7926
8388
|
include Google::Apis::Core::Hashable
|
7927
8389
|
|
8390
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
8391
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
8392
|
+
# Overriding occurs at the sub-setting level. For example, the
|
8393
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
8394
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
8395
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
8396
|
+
# settings set at different levels define DTMF detections running in parallel.
|
8397
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
8398
|
+
# Corresponds to the JSON property `advancedSettings`
|
8399
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
|
8400
|
+
attr_accessor :advanced_settings
|
8401
|
+
|
7928
8402
|
# Conditional cases for this fulfillment.
|
7929
8403
|
# Corresponds to the JSON property `conditionalCases`
|
7930
8404
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases>]
|
7931
8405
|
attr_accessor :conditional_cases
|
7932
8406
|
|
8407
|
+
# If the flag is true, the agent will utilize LLM to generate a text response.
|
8408
|
+
# If LLM generation fails, the defined responses in the fulfillment will be
|
8409
|
+
# respected. This flag is only useful for fulfillments associated with no-match
|
8410
|
+
# event handlers.
|
8411
|
+
# Corresponds to the JSON property `enableGenerativeFallback`
|
8412
|
+
# @return [Boolean]
|
8413
|
+
attr_accessor :enable_generative_fallback
|
8414
|
+
alias_method :enable_generative_fallback?, :enable_generative_fallback
|
8415
|
+
|
7933
8416
|
# The list of rich message responses to present to the user.
|
7934
8417
|
# Corresponds to the JSON property `messages`
|
7935
8418
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
@@ -7972,7 +8455,9 @@ module Google
|
|
7972
8455
|
|
7973
8456
|
# Update properties of this object
|
7974
8457
|
def update!(**args)
|
8458
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
7975
8459
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
8460
|
+
@enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback)
|
7976
8461
|
@messages = args[:messages] if args.key?(:messages)
|
7977
8462
|
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
7978
8463
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
@@ -8092,6 +8577,28 @@ module Google
|
|
8092
8577
|
end
|
8093
8578
|
end
|
8094
8579
|
|
8580
|
+
# Google Cloud Storage location for a Dialogflow operation that writes or
|
8581
|
+
# exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
|
8582
|
+
class GoogleCloudDialogflowCxV3beta1GcsDestination
|
8583
|
+
include Google::Apis::Core::Hashable
|
8584
|
+
|
8585
|
+
# Required. The Google Cloud Storage URI for the exported objects. A URI is of
|
8586
|
+
# the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or
|
8587
|
+
# just a prefix, its usage depends on the Dialogflow operation.
|
8588
|
+
# Corresponds to the JSON property `uri`
|
8589
|
+
# @return [String]
|
8590
|
+
attr_accessor :uri
|
8591
|
+
|
8592
|
+
def initialize(**args)
|
8593
|
+
update!(**args)
|
8594
|
+
end
|
8595
|
+
|
8596
|
+
# Update properties of this object
|
8597
|
+
def update!(**args)
|
8598
|
+
@uri = args[:uri] if args.key?(:uri)
|
8599
|
+
end
|
8600
|
+
end
|
8601
|
+
|
8095
8602
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
8096
8603
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
8097
8604
|
include Google::Apis::Core::Hashable
|
@@ -8575,6 +9082,18 @@ module Google
|
|
8575
9082
|
class GoogleCloudDialogflowCxV3beta1Page
|
8576
9083
|
include Google::Apis::Core::Hashable
|
8577
9084
|
|
9085
|
+
# Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
|
9086
|
+
# Settings exposed at lower level overrides the settings exposed at higher level.
|
9087
|
+
# Overriding occurs at the sub-setting level. For example, the
|
9088
|
+
# playback_interruption_settings at fulfillment level only overrides the
|
9089
|
+
# playback_interruption_settings at the agent level, leaving other settings at
|
9090
|
+
# the agent level unchanged. DTMF settings does not override each other. DTMF
|
9091
|
+
# settings set at different levels define DTMF detections running in parallel.
|
9092
|
+
# Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
|
9093
|
+
# Corresponds to the JSON property `advancedSettings`
|
9094
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
|
9095
|
+
attr_accessor :advanced_settings
|
9096
|
+
|
8578
9097
|
# Required. The human-readable name of the page, unique within the flow.
|
8579
9098
|
# Corresponds to the JSON property `displayName`
|
8580
9099
|
# @return [String]
|
@@ -8655,6 +9174,7 @@ module Google
|
|
8655
9174
|
|
8656
9175
|
# Update properties of this object
|
8657
9176
|
def update!(**args)
|
9177
|
+
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
8658
9178
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8659
9179
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
8660
9180
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 gem
|
19
|
-
GEM_VERSION = "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 = "
|
25
|
+
REVISION = "20230906"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -40,6 +46,12 @@ module Google
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -436,6 +448,30 @@ module Google
|
|
436
448
|
include Google::Apis::Core::JsonObjectSupport
|
437
449
|
end
|
438
450
|
|
451
|
+
class GoogleCloudDialogflowCxV3GenerativeSettings
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
457
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
439
475
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
440
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
477
|
|
@@ -868,6 +904,18 @@ module Google
|
|
868
904
|
include Google::Apis::Core::JsonObjectSupport
|
869
905
|
end
|
870
906
|
|
907
|
+
class GoogleCloudDialogflowCxV3SafetySettings
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class GoogleCloudDialogflowCxV3SafetySettingsPhrase
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
871
919
|
class GoogleCloudDialogflowCxV3SecuritySettings
|
872
920
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
921
|
|
@@ -1150,6 +1198,24 @@ module Google
|
|
1150
1198
|
include Google::Apis::Core::JsonObjectSupport
|
1151
1199
|
end
|
1152
1200
|
|
1201
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1209
|
+
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
1214
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1215
|
+
|
1216
|
+
include Google::Apis::Core::JsonObjectSupport
|
1217
|
+
end
|
1218
|
+
|
1153
1219
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
1154
1220
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
1221
|
|
@@ -1348,6 +1414,12 @@ module Google
|
|
1348
1414
|
include Google::Apis::Core::JsonObjectSupport
|
1349
1415
|
end
|
1350
1416
|
|
1417
|
+
class GoogleCloudDialogflowCxV3beta1GcsDestination
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1351
1423
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
1352
1424
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1353
1425
|
|
@@ -2751,11 +2823,22 @@ module Google
|
|
2751
2823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2752
2824
|
property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GcsDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GcsDestination::Representation
|
2753
2825
|
|
2826
|
+
property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings::Representation
|
2827
|
+
|
2754
2828
|
property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
|
2755
2829
|
|
2756
2830
|
end
|
2757
2831
|
end
|
2758
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
|
+
|
2759
2842
|
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
2760
2843
|
# @private
|
2761
2844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2775,6 +2858,8 @@ module Google
|
|
2775
2858
|
property :display_name, as: 'displayName'
|
2776
2859
|
property :enable_spell_correction, as: 'enableSpellCorrection'
|
2777
2860
|
property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
|
2861
|
+
property :gen_app_builder_settings, as: 'genAppBuilderSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings::Representation
|
2862
|
+
|
2778
2863
|
property :git_integration_settings, as: 'gitIntegrationSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettings::Representation
|
2779
2864
|
|
2780
2865
|
property :locked, as: 'locked'
|
@@ -2790,6 +2875,13 @@ module Google
|
|
2790
2875
|
end
|
2791
2876
|
end
|
2792
2877
|
|
2878
|
+
class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
|
2879
|
+
# @private
|
2880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2881
|
+
property :engine, as: 'engine'
|
2882
|
+
end
|
2883
|
+
end
|
2884
|
+
|
2793
2885
|
class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
|
2794
2886
|
# @private
|
2795
2887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3305,6 +3397,8 @@ module Google
|
|
3305
3397
|
class GoogleCloudDialogflowCxV3Flow
|
3306
3398
|
# @private
|
3307
3399
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3400
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3401
|
+
|
3308
3402
|
property :description, as: 'description'
|
3309
3403
|
property :display_name, as: 'displayName'
|
3310
3404
|
collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler::Representation
|
@@ -3348,6 +3442,8 @@ module Google
|
|
3348
3442
|
class GoogleCloudDialogflowCxV3FormParameter
|
3349
3443
|
# @private
|
3350
3444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3445
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3446
|
+
|
3351
3447
|
property :default_value, as: 'defaultValue'
|
3352
3448
|
property :display_name, as: 'displayName'
|
3353
3449
|
property :entity_type, as: 'entityType'
|
@@ -3396,8 +3492,11 @@ module Google
|
|
3396
3492
|
class GoogleCloudDialogflowCxV3Fulfillment
|
3397
3493
|
# @private
|
3398
3494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3495
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3496
|
+
|
3399
3497
|
collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation
|
3400
3498
|
|
3499
|
+
property :enable_generative_fallback, as: 'enableGenerativeFallback'
|
3401
3500
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
3402
3501
|
|
3403
3502
|
property :return_partial_responses, as: 'returnPartialResponses'
|
@@ -3450,6 +3549,49 @@ module Google
|
|
3450
3549
|
end
|
3451
3550
|
end
|
3452
3551
|
|
3552
|
+
class GoogleCloudDialogflowCxV3GenerativeSettings
|
3553
|
+
# @private
|
3554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3555
|
+
property :fallback_settings, as: 'fallbackSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings::Representation
|
3556
|
+
|
3557
|
+
property :generative_safety_settings, as: 'generativeSafetySettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings::Representation
|
3558
|
+
|
3559
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings::Representation
|
3560
|
+
|
3561
|
+
property :language_code, as: 'languageCode'
|
3562
|
+
property :name, as: 'name'
|
3563
|
+
end
|
3564
|
+
end
|
3565
|
+
|
3566
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
|
3567
|
+
# @private
|
3568
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3569
|
+
collection :prompt_templates, as: 'promptTemplates', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate::Representation
|
3570
|
+
|
3571
|
+
property :selected_prompt, as: 'selectedPrompt'
|
3572
|
+
end
|
3573
|
+
end
|
3574
|
+
|
3575
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
|
3576
|
+
# @private
|
3577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3578
|
+
property :display_name, as: 'displayName'
|
3579
|
+
property :frozen, as: 'frozen'
|
3580
|
+
property :prompt_text, as: 'promptText'
|
3581
|
+
end
|
3582
|
+
end
|
3583
|
+
|
3584
|
+
class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
|
3585
|
+
# @private
|
3586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3587
|
+
property :agent, as: 'agent'
|
3588
|
+
property :agent_identity, as: 'agentIdentity'
|
3589
|
+
property :agent_scope, as: 'agentScope'
|
3590
|
+
property :business, as: 'business'
|
3591
|
+
property :business_description, as: 'businessDescription'
|
3592
|
+
end
|
3593
|
+
end
|
3594
|
+
|
3453
3595
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
3454
3596
|
# @private
|
3455
3597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3837,6 +3979,8 @@ module Google
|
|
3837
3979
|
class GoogleCloudDialogflowCxV3Page
|
3838
3980
|
# @private
|
3839
3981
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3982
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3983
|
+
|
3840
3984
|
property :display_name, as: 'displayName'
|
3841
3985
|
property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3842
3986
|
|
@@ -3922,6 +4066,8 @@ module Google
|
|
3922
4066
|
class GoogleCloudDialogflowCxV3QueryResult
|
3923
4067
|
# @private
|
3924
4068
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4069
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
4070
|
+
|
3925
4071
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
|
3926
4072
|
|
3927
4073
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
@@ -4155,6 +4301,22 @@ module Google
|
|
4155
4301
|
end
|
4156
4302
|
end
|
4157
4303
|
|
4304
|
+
class GoogleCloudDialogflowCxV3SafetySettings
|
4305
|
+
# @private
|
4306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4307
|
+
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsPhrase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsPhrase::Representation
|
4308
|
+
|
4309
|
+
end
|
4310
|
+
end
|
4311
|
+
|
4312
|
+
class GoogleCloudDialogflowCxV3SafetySettingsPhrase
|
4313
|
+
# @private
|
4314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4315
|
+
property :language_code, as: 'languageCode'
|
4316
|
+
property :text, as: 'text'
|
4317
|
+
end
|
4318
|
+
end
|
4319
|
+
|
4158
4320
|
class GoogleCloudDialogflowCxV3SecuritySettings
|
4159
4321
|
# @private
|
4160
4322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4169,6 +4331,7 @@ module Google
|
|
4169
4331
|
collection :purge_data_types, as: 'purgeDataTypes'
|
4170
4332
|
property :redaction_scope, as: 'redactionScope'
|
4171
4333
|
property :redaction_strategy, as: 'redactionStrategy'
|
4334
|
+
property :retention_strategy, as: 'retentionStrategy'
|
4172
4335
|
property :retention_window_days, as: 'retentionWindowDays'
|
4173
4336
|
end
|
4174
4337
|
end
|
@@ -4641,6 +4804,35 @@ module Google
|
|
4641
4804
|
end
|
4642
4805
|
end
|
4643
4806
|
|
4807
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
4808
|
+
# @private
|
4809
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4810
|
+
property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GcsDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GcsDestination::Representation
|
4811
|
+
|
4812
|
+
property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings::Representation
|
4813
|
+
|
4814
|
+
property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
|
4815
|
+
|
4816
|
+
end
|
4817
|
+
end
|
4818
|
+
|
4819
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
|
4820
|
+
# @private
|
4821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4822
|
+
property :enabled, as: 'enabled'
|
4823
|
+
property :finish_digit, as: 'finishDigit'
|
4824
|
+
property :max_digits, as: 'maxDigits'
|
4825
|
+
end
|
4826
|
+
end
|
4827
|
+
|
4828
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
4829
|
+
# @private
|
4830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4831
|
+
property :enable_interaction_logging, as: 'enableInteractionLogging'
|
4832
|
+
property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
|
4833
|
+
end
|
4834
|
+
end
|
4835
|
+
|
4644
4836
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
4645
4837
|
# @private
|
4646
4838
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4880,6 +5072,8 @@ module Google
|
|
4880
5072
|
class GoogleCloudDialogflowCxV3beta1FormParameter
|
4881
5073
|
# @private
|
4882
5074
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5075
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
5076
|
+
|
4883
5077
|
property :default_value, as: 'defaultValue'
|
4884
5078
|
property :display_name, as: 'displayName'
|
4885
5079
|
property :entity_type, as: 'entityType'
|
@@ -4904,8 +5098,11 @@ module Google
|
|
4904
5098
|
class GoogleCloudDialogflowCxV3beta1Fulfillment
|
4905
5099
|
# @private
|
4906
5100
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5101
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
5102
|
+
|
4907
5103
|
collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation
|
4908
5104
|
|
5105
|
+
property :enable_generative_fallback, as: 'enableGenerativeFallback'
|
4909
5106
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
4910
5107
|
|
4911
5108
|
property :return_partial_responses, as: 'returnPartialResponses'
|
@@ -4951,6 +5148,13 @@ module Google
|
|
4951
5148
|
end
|
4952
5149
|
end
|
4953
5150
|
|
5151
|
+
class GoogleCloudDialogflowCxV3beta1GcsDestination
|
5152
|
+
# @private
|
5153
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5154
|
+
property :uri, as: 'uri'
|
5155
|
+
end
|
5156
|
+
end
|
5157
|
+
|
4954
5158
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
4955
5159
|
# @private
|
4956
5160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5076,6 +5280,8 @@ module Google
|
|
5076
5280
|
class GoogleCloudDialogflowCxV3beta1Page
|
5077
5281
|
# @private
|
5078
5282
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5283
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
5284
|
+
|
5079
5285
|
property :display_name, as: 'displayName'
|
5080
5286
|
property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
5081
5287
|
|
@@ -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::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings] parsed result object
|
276
|
+
# @yieldparam err [StandardError] error object if request failed
|
277
|
+
#
|
278
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings]
|
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, 'v3/{+name}', options)
|
285
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings::Representation
|
286
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings
|
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::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings] google_cloud_dialogflow_cx_v3_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::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings] parsed result object
|
468
|
+
# @yieldparam err [StandardError] error object if request failed
|
469
|
+
#
|
470
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings]
|
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_v3_generative_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
476
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
477
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings::Representation
|
478
|
+
command.request_object = google_cloud_dialogflow_cx_v3_generative_settings_object
|
479
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings::Representation
|
480
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings
|
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_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.68.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|