google-apis-dialogflow_v3 0.65.0 → 0.67.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: 13bc94f7d0145408c51aae2b15779ef5bc7acc64aa653e5255462af292dc5b58
|
4
|
+
data.tar.gz: 8bcf2e3da3d2553c32199c9c089695e960fd9610e8df6a13d3399337dff2977f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e218b3560111772ffb1491d4bbcaf393d663d7e8f9340fb9cb9bcbdf5bbfcbeb876a2fefab60556deab91eeda979f0e2482e56c05e65984e4068cc7db8fbe9a
|
7
|
+
data.tar.gz: 3bde134e544ca55dca3ce24031052ad12ab3c98242dd4f9d8c05dfd83d19afa55e597262de2101ee75260f0f20338b758978ddbc104f5ae0f6c1f4a48c0d34ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.67.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230821
|
6
|
+
|
7
|
+
### v0.66.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230807
|
10
|
+
|
3
11
|
### v0.65.0 (2023-07-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230717
|
@@ -86,7 +86,8 @@ module Google
|
|
86
86
|
# transform user requests into actionable data. You can include agents in your
|
87
87
|
# app, product, or service to determine user intent and respond to the user in a
|
88
88
|
# natural way. After you create an agent, you can add Intents, Entity Types,
|
89
|
-
# Flows, Fulfillments, Webhooks, and so on to manage the
|
89
|
+
# Flows, Fulfillments, Webhooks, TransitionRouteGroups and so on to manage the
|
90
|
+
# conversation flows.
|
90
91
|
class GoogleCloudDialogflowCxV3Agent
|
91
92
|
include Google::Apis::Core::Hashable
|
92
93
|
|
@@ -828,6 +829,34 @@ module Google
|
|
828
829
|
end
|
829
830
|
end
|
830
831
|
|
832
|
+
# A data store connection. It represents a data store in Discovery Engine and
|
833
|
+
# the type of the contents it contains.
|
834
|
+
class GoogleCloudDialogflowCxV3DataStoreConnection
|
835
|
+
include Google::Apis::Core::Hashable
|
836
|
+
|
837
|
+
# The full name of the referenced data store. Formats: `projects/`project`/
|
838
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`` `
|
839
|
+
# projects/`project`/locations/`location`/dataStores/`data_store``
|
840
|
+
# Corresponds to the JSON property `dataStore`
|
841
|
+
# @return [String]
|
842
|
+
attr_accessor :data_store
|
843
|
+
|
844
|
+
# The type of the connected data store.
|
845
|
+
# Corresponds to the JSON property `dataStoreType`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :data_store_type
|
848
|
+
|
849
|
+
def initialize(**args)
|
850
|
+
update!(**args)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Update properties of this object
|
854
|
+
def update!(**args)
|
855
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
856
|
+
@data_store_type = args[:data_store_type] if args.key?(:data_store_type)
|
857
|
+
end
|
858
|
+
end
|
859
|
+
|
831
860
|
# Metadata for DeleteDocument operation.
|
832
861
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
833
862
|
include Google::Apis::Core::Hashable
|
@@ -2047,6 +2076,13 @@ module Google
|
|
2047
2076
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler>]
|
2048
2077
|
attr_accessor :event_handlers
|
2049
2078
|
|
2079
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
2080
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
2081
|
+
# fulfillment.
|
2082
|
+
# Corresponds to the JSON property `knowledgeConnectorSettings`
|
2083
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings]
|
2084
|
+
attr_accessor :knowledge_connector_settings
|
2085
|
+
|
2050
2086
|
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
2051
2087
|
# `.
|
2052
2088
|
# Corresponds to the JSON property `name`
|
@@ -2062,7 +2098,8 @@ module Google
|
|
2062
2098
|
# matching the user's first utterances in the flow. * They are inherited by
|
2063
2099
|
# every page's transition route groups. Transition route groups defined in the
|
2064
2100
|
# page have higher priority than those defined in the flow. Format:`projects//
|
2065
|
-
# locations//agents//flows//transitionRouteGroups
|
2101
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
2102
|
+
# agents//transitionRouteGroups/` for agent-level groups.
|
2066
2103
|
# Corresponds to the JSON property `transitionRouteGroups`
|
2067
2104
|
# @return [Array<String>]
|
2068
2105
|
attr_accessor :transition_route_groups
|
@@ -2089,6 +2126,7 @@ module Google
|
|
2089
2126
|
@description = args[:description] if args.key?(:description)
|
2090
2127
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2091
2128
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
2129
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
2092
2130
|
@name = args[:name] if args.key?(:name)
|
2093
2131
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
2094
2132
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
@@ -2096,6 +2134,28 @@ module Google
|
|
2096
2134
|
end
|
2097
2135
|
end
|
2098
2136
|
|
2137
|
+
# The flow import strategy used for resource conflict resolution associated with
|
2138
|
+
# an ImportFlowRequest.
|
2139
|
+
class GoogleCloudDialogflowCxV3FlowImportStrategy
|
2140
|
+
include Google::Apis::Core::Hashable
|
2141
|
+
|
2142
|
+
# Optional. Import strategy for resource conflict resolution, applied globally
|
2143
|
+
# throughout the flow. It will be applied for all display name conflicts in the
|
2144
|
+
# imported content. If not specified, 'CREATE_NEW' is assumed.
|
2145
|
+
# Corresponds to the JSON property `globalImportStrategy`
|
2146
|
+
# @return [String]
|
2147
|
+
attr_accessor :global_import_strategy
|
2148
|
+
|
2149
|
+
def initialize(**args)
|
2150
|
+
update!(**args)
|
2151
|
+
end
|
2152
|
+
|
2153
|
+
# Update properties of this object
|
2154
|
+
def update!(**args)
|
2155
|
+
@global_import_strategy = args[:global_import_strategy] if args.key?(:global_import_strategy)
|
2156
|
+
end
|
2157
|
+
end
|
2158
|
+
|
2099
2159
|
# The response message for Flows.GetFlowValidationResult.
|
2100
2160
|
class GoogleCloudDialogflowCxV3FlowValidationResult
|
2101
2161
|
include Google::Apis::Core::Hashable
|
@@ -2611,6 +2671,12 @@ module Google
|
|
2611
2671
|
# @return [String]
|
2612
2672
|
attr_accessor :flow_content
|
2613
2673
|
|
2674
|
+
# The flow import strategy used for resource conflict resolution associated with
|
2675
|
+
# an ImportFlowRequest.
|
2676
|
+
# Corresponds to the JSON property `flowImportStrategy`
|
2677
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowImportStrategy]
|
2678
|
+
attr_accessor :flow_import_strategy
|
2679
|
+
|
2614
2680
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
2615
2681
|
# import flow from. The format of this URI must be `gs:///`. Dialogflow performs
|
2616
2682
|
# a read operation for the Cloud Storage object on the caller's behalf, so your
|
@@ -2633,6 +2699,7 @@ module Google
|
|
2633
2699
|
# Update properties of this object
|
2634
2700
|
def update!(**args)
|
2635
2701
|
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
2702
|
+
@flow_import_strategy = args[:flow_import_strategy] if args.key?(:flow_import_strategy)
|
2636
2703
|
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
2637
2704
|
@import_option = args[:import_option] if args.key?(:import_option)
|
2638
2705
|
end
|
@@ -3078,6 +3145,60 @@ module Google
|
|
3078
3145
|
end
|
3079
3146
|
end
|
3080
3147
|
|
3148
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
3149
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
3150
|
+
# fulfillment.
|
3151
|
+
class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
|
3152
|
+
include Google::Apis::Core::Hashable
|
3153
|
+
|
3154
|
+
# Optional. List of related data store connections.
|
3155
|
+
# Corresponds to the JSON property `dataStoreConnections`
|
3156
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnection>]
|
3157
|
+
attr_accessor :data_store_connections
|
3158
|
+
|
3159
|
+
# Whether Knowledge Connector is enabled or not.
|
3160
|
+
# Corresponds to the JSON property `enabled`
|
3161
|
+
# @return [Boolean]
|
3162
|
+
attr_accessor :enabled
|
3163
|
+
alias_method :enabled?, :enabled
|
3164
|
+
|
3165
|
+
# The target flow to transition to. Format: `projects//locations//agents//flows/`
|
3166
|
+
# .
|
3167
|
+
# Corresponds to the JSON property `targetFlow`
|
3168
|
+
# @return [String]
|
3169
|
+
attr_accessor :target_flow
|
3170
|
+
|
3171
|
+
# The target page to transition to. Format: `projects//locations//agents//flows//
|
3172
|
+
# pages/`.
|
3173
|
+
# Corresponds to the JSON property `targetPage`
|
3174
|
+
# @return [String]
|
3175
|
+
attr_accessor :target_page
|
3176
|
+
|
3177
|
+
# A fulfillment can do one or more of the following actions at the same time: *
|
3178
|
+
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
3179
|
+
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
3180
|
+
# For example, when a DetectIntentRequest drives a session to enter a new page,
|
3181
|
+
# the page's entry fulfillment can add a static response to the QueryResult in
|
3182
|
+
# the returning DetectIntentResponse, call the webhook (for example, to load
|
3183
|
+
# user data from a database), or both.
|
3184
|
+
# Corresponds to the JSON property `triggerFulfillment`
|
3185
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment]
|
3186
|
+
attr_accessor :trigger_fulfillment
|
3187
|
+
|
3188
|
+
def initialize(**args)
|
3189
|
+
update!(**args)
|
3190
|
+
end
|
3191
|
+
|
3192
|
+
# Update properties of this object
|
3193
|
+
def update!(**args)
|
3194
|
+
@data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections)
|
3195
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3196
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
3197
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
3198
|
+
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
3199
|
+
end
|
3200
|
+
end
|
3201
|
+
|
3081
3202
|
# The response message for Agents.ListAgents.
|
3082
3203
|
class GoogleCloudDialogflowCxV3ListAgentsResponse
|
3083
3204
|
include Google::Apis::Core::Hashable
|
@@ -3875,6 +3996,13 @@ module Google
|
|
3875
3996
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Form]
|
3876
3997
|
attr_accessor :form
|
3877
3998
|
|
3999
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
4000
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
4001
|
+
# fulfillment.
|
4002
|
+
# Corresponds to the JSON property `knowledgeConnectorSettings`
|
4003
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings]
|
4004
|
+
attr_accessor :knowledge_connector_settings
|
4005
|
+
|
3878
4006
|
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
3879
4007
|
# Pages.CreatePage populates the name automatically. Format: `projects//
|
3880
4008
|
# locations//agents//flows//pages/`.
|
@@ -3882,13 +4010,17 @@ module Google
|
|
3882
4010
|
# @return [String]
|
3883
4011
|
attr_accessor :name
|
3884
4012
|
|
3885
|
-
# Ordered list of `TransitionRouteGroups`
|
3886
|
-
#
|
3887
|
-
#
|
3888
|
-
#
|
3889
|
-
#
|
3890
|
-
# intent, then the
|
3891
|
-
#
|
4013
|
+
# Ordered list of `TransitionRouteGroups` added to the page. Transition route
|
4014
|
+
# groups must be unique within a page. If the page links both flow-level
|
4015
|
+
# transition route groups and agent-level transition route groups, the flow-
|
4016
|
+
# level ones will have higher priority and will be put before the agent-level
|
4017
|
+
# ones. * If multiple transition routes within a page scope refer to the same
|
4018
|
+
# intent, then the precedence order is: page's transition route -> page's
|
4019
|
+
# transition route group -> flow's transition routes. * If multiple transition
|
4020
|
+
# route groups within a page contain the same intent, then the first group in
|
4021
|
+
# the ordered list takes precedence. Format:`projects//locations//agents//flows//
|
4022
|
+
# transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/
|
4023
|
+
# ` for agent-level groups.
|
3892
4024
|
# Corresponds to the JSON property `transitionRouteGroups`
|
3893
4025
|
# @return [Array<String>]
|
3894
4026
|
attr_accessor :transition_route_groups
|
@@ -3917,6 +4049,7 @@ module Google
|
|
3917
4049
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
3918
4050
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
3919
4051
|
@form = args[:form] if args.key?(:form)
|
4052
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
3920
4053
|
@name = args[:name] if args.key?(:name)
|
3921
4054
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
3922
4055
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
@@ -4463,6 +4596,13 @@ module Google
|
|
4463
4596
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction]
|
4464
4597
|
attr_accessor :end_interaction
|
4465
4598
|
|
4599
|
+
# Represents info card response. If the response contains generative knowledge
|
4600
|
+
# prediction, Dialogflow will return a payload with Infobot Messenger compatible
|
4601
|
+
# info card. Otherwise, the info card response is skipped.
|
4602
|
+
# Corresponds to the JSON property `knowledgeInfoCard`
|
4603
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard]
|
4604
|
+
attr_accessor :knowledge_info_card
|
4605
|
+
|
4466
4606
|
# Indicates that the conversation should be handed off to a live agent.
|
4467
4607
|
# Dialogflow only uses this to determine which conversations were handed off to
|
4468
4608
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -4523,6 +4663,7 @@ module Google
|
|
4523
4663
|
@channel = args[:channel] if args.key?(:channel)
|
4524
4664
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
4525
4665
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
4666
|
+
@knowledge_info_card = args[:knowledge_info_card] if args.key?(:knowledge_info_card)
|
4526
4667
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
4527
4668
|
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
4528
4669
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
@@ -4575,6 +4716,21 @@ module Google
|
|
4575
4716
|
end
|
4576
4717
|
end
|
4577
4718
|
|
4719
|
+
# Represents info card response. If the response contains generative knowledge
|
4720
|
+
# prediction, Dialogflow will return a payload with Infobot Messenger compatible
|
4721
|
+
# info card. Otherwise, the info card response is skipped.
|
4722
|
+
class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
|
4723
|
+
include Google::Apis::Core::Hashable
|
4724
|
+
|
4725
|
+
def initialize(**args)
|
4726
|
+
update!(**args)
|
4727
|
+
end
|
4728
|
+
|
4729
|
+
# Update properties of this object
|
4730
|
+
def update!(**args)
|
4731
|
+
end
|
4732
|
+
end
|
4733
|
+
|
4578
4734
|
# Indicates that the conversation should be handed off to a live agent.
|
4579
4735
|
# Dialogflow only uses this to determine which conversations were handed off to
|
4580
4736
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -5865,6 +6021,12 @@ module Google
|
|
5865
6021
|
# @return [String]
|
5866
6022
|
attr_accessor :condition
|
5867
6023
|
|
6024
|
+
# Optional. The description of the transition route. The maximum length is 500
|
6025
|
+
# characters.
|
6026
|
+
# Corresponds to the JSON property `description`
|
6027
|
+
# @return [String]
|
6028
|
+
attr_accessor :description
|
6029
|
+
|
5868
6030
|
# The unique identifier of an Intent. Format: `projects//locations//agents//
|
5869
6031
|
# intents/`. Indicates that the transition can only happen when the given intent
|
5870
6032
|
# is matched. At least one of `intent` or `condition` must be specified. When
|
@@ -5909,6 +6071,7 @@ module Google
|
|
5909
6071
|
# Update properties of this object
|
5910
6072
|
def update!(**args)
|
5911
6073
|
@condition = args[:condition] if args.key?(:condition)
|
6074
|
+
@description = args[:description] if args.key?(:description)
|
5912
6075
|
@intent = args[:intent] if args.key?(:intent)
|
5913
6076
|
@name = args[:name] if args.key?(:name)
|
5914
6077
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
@@ -5917,7 +6080,7 @@ module Google
|
|
5917
6080
|
end
|
5918
6081
|
end
|
5919
6082
|
|
5920
|
-
#
|
6083
|
+
# A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
5921
6084
|
# a Page.
|
5922
6085
|
class GoogleCloudDialogflowCxV3TransitionRouteGroup
|
5923
6086
|
include Google::Apis::Core::Hashable
|
@@ -5930,7 +6093,7 @@ module Google
|
|
5930
6093
|
|
5931
6094
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
5932
6095
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
5933
|
-
# /locations//agents//flows//transitionRouteGroups
|
6096
|
+
# /locations//agents//flows//transitionRouteGroups/` .
|
5934
6097
|
# Corresponds to the JSON property `name`
|
5935
6098
|
# @return [String]
|
5936
6099
|
attr_accessor :name
|
@@ -5990,7 +6153,7 @@ module Google
|
|
5990
6153
|
# @return [Float]
|
5991
6154
|
attr_accessor :coverage_score
|
5992
6155
|
|
5993
|
-
#
|
6156
|
+
# A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
5994
6157
|
# a Page.
|
5995
6158
|
# Corresponds to the JSON property `routeGroup`
|
5996
6159
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
|
@@ -7169,6 +7332,34 @@ module Google
|
|
7169
7332
|
end
|
7170
7333
|
end
|
7171
7334
|
|
7335
|
+
# A data store connection. It represents a data store in Discovery Engine and
|
7336
|
+
# the type of the contents it contains.
|
7337
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
7338
|
+
include Google::Apis::Core::Hashable
|
7339
|
+
|
7340
|
+
# The full name of the referenced data store. Formats: `projects/`project`/
|
7341
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`` `
|
7342
|
+
# projects/`project`/locations/`location`/dataStores/`data_store``
|
7343
|
+
# Corresponds to the JSON property `dataStore`
|
7344
|
+
# @return [String]
|
7345
|
+
attr_accessor :data_store
|
7346
|
+
|
7347
|
+
# The type of the connected data store.
|
7348
|
+
# Corresponds to the JSON property `dataStoreType`
|
7349
|
+
# @return [String]
|
7350
|
+
attr_accessor :data_store_type
|
7351
|
+
|
7352
|
+
def initialize(**args)
|
7353
|
+
update!(**args)
|
7354
|
+
end
|
7355
|
+
|
7356
|
+
# Update properties of this object
|
7357
|
+
def update!(**args)
|
7358
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
7359
|
+
@data_store_type = args[:data_store_type] if args.key?(:data_store_type)
|
7360
|
+
end
|
7361
|
+
end
|
7362
|
+
|
7172
7363
|
# Metadata for DeleteDocument operation.
|
7173
7364
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
7174
7365
|
include Google::Apis::Core::Hashable
|
@@ -8315,6 +8506,60 @@ module Google
|
|
8315
8506
|
end
|
8316
8507
|
end
|
8317
8508
|
|
8509
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
8510
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
8511
|
+
# fulfillment.
|
8512
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
8513
|
+
include Google::Apis::Core::Hashable
|
8514
|
+
|
8515
|
+
# Optional. List of related data store connections.
|
8516
|
+
# Corresponds to the JSON property `dataStoreConnections`
|
8517
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DataStoreConnection>]
|
8518
|
+
attr_accessor :data_store_connections
|
8519
|
+
|
8520
|
+
# Whether Knowledge Connector is enabled or not.
|
8521
|
+
# Corresponds to the JSON property `enabled`
|
8522
|
+
# @return [Boolean]
|
8523
|
+
attr_accessor :enabled
|
8524
|
+
alias_method :enabled?, :enabled
|
8525
|
+
|
8526
|
+
# The target flow to transition to. Format: `projects//locations//agents//flows/`
|
8527
|
+
# .
|
8528
|
+
# Corresponds to the JSON property `targetFlow`
|
8529
|
+
# @return [String]
|
8530
|
+
attr_accessor :target_flow
|
8531
|
+
|
8532
|
+
# The target page to transition to. Format: `projects//locations//agents//flows//
|
8533
|
+
# pages/`.
|
8534
|
+
# Corresponds to the JSON property `targetPage`
|
8535
|
+
# @return [String]
|
8536
|
+
attr_accessor :target_page
|
8537
|
+
|
8538
|
+
# A fulfillment can do one or more of the following actions at the same time: *
|
8539
|
+
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
8540
|
+
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
8541
|
+
# For example, when a DetectIntentRequest drives a session to enter a new page,
|
8542
|
+
# the page's entry fulfillment can add a static response to the QueryResult in
|
8543
|
+
# the returning DetectIntentResponse, call the webhook (for example, to load
|
8544
|
+
# user data from a database), or both.
|
8545
|
+
# Corresponds to the JSON property `triggerFulfillment`
|
8546
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment]
|
8547
|
+
attr_accessor :trigger_fulfillment
|
8548
|
+
|
8549
|
+
def initialize(**args)
|
8550
|
+
update!(**args)
|
8551
|
+
end
|
8552
|
+
|
8553
|
+
# Update properties of this object
|
8554
|
+
def update!(**args)
|
8555
|
+
@data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections)
|
8556
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8557
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
8558
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
8559
|
+
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
8560
|
+
end
|
8561
|
+
end
|
8562
|
+
|
8318
8563
|
# A Dialogflow CX conversation (session) can be described and visualized as a
|
8319
8564
|
# state machine. The states of a CX session are represented by pages. For each
|
8320
8565
|
# flow, you define many pages, where your combined pages can handle a complete
|
@@ -8361,6 +8606,13 @@ module Google
|
|
8361
8606
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Form]
|
8362
8607
|
attr_accessor :form
|
8363
8608
|
|
8609
|
+
# The Knowledge Connector settings for this page or flow. This includes
|
8610
|
+
# information such as the attached Knowledge Bases, and the way to execute
|
8611
|
+
# fulfillment.
|
8612
|
+
# Corresponds to the JSON property `knowledgeConnectorSettings`
|
8613
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
|
8614
|
+
attr_accessor :knowledge_connector_settings
|
8615
|
+
|
8364
8616
|
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
8365
8617
|
# Pages.CreatePage populates the name automatically. Format: `projects//
|
8366
8618
|
# locations//agents//flows//pages/`.
|
@@ -8368,13 +8620,17 @@ module Google
|
|
8368
8620
|
# @return [String]
|
8369
8621
|
attr_accessor :name
|
8370
8622
|
|
8371
|
-
# Ordered list of `TransitionRouteGroups`
|
8372
|
-
#
|
8373
|
-
#
|
8374
|
-
#
|
8375
|
-
#
|
8376
|
-
# intent, then the
|
8377
|
-
#
|
8623
|
+
# Ordered list of `TransitionRouteGroups` added to the page. Transition route
|
8624
|
+
# groups must be unique within a page. If the page links both flow-level
|
8625
|
+
# transition route groups and agent-level transition route groups, the flow-
|
8626
|
+
# level ones will have higher priority and will be put before the agent-level
|
8627
|
+
# ones. * If multiple transition routes within a page scope refer to the same
|
8628
|
+
# intent, then the precedence order is: page's transition route -> page's
|
8629
|
+
# transition route group -> flow's transition routes. * If multiple transition
|
8630
|
+
# route groups within a page contain the same intent, then the first group in
|
8631
|
+
# the ordered list takes precedence. Format:`projects//locations//agents//flows//
|
8632
|
+
# transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/
|
8633
|
+
# ` for agent-level groups.
|
8378
8634
|
# Corresponds to the JSON property `transitionRouteGroups`
|
8379
8635
|
# @return [Array<String>]
|
8380
8636
|
attr_accessor :transition_route_groups
|
@@ -8403,6 +8659,7 @@ module Google
|
|
8403
8659
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
8404
8660
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
8405
8661
|
@form = args[:form] if args.key?(:form)
|
8662
|
+
@knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
|
8406
8663
|
@name = args[:name] if args.key?(:name)
|
8407
8664
|
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
8408
8665
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
@@ -8633,6 +8890,13 @@ module Google
|
|
8633
8890
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
|
8634
8891
|
attr_accessor :end_interaction
|
8635
8892
|
|
8893
|
+
# Represents info card response. If the response contains generative knowledge
|
8894
|
+
# prediction, Dialogflow will return a payload with Infobot Messenger compatible
|
8895
|
+
# info card. Otherwise, the info card response is skipped.
|
8896
|
+
# Corresponds to the JSON property `knowledgeInfoCard`
|
8897
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard]
|
8898
|
+
attr_accessor :knowledge_info_card
|
8899
|
+
|
8636
8900
|
# Indicates that the conversation should be handed off to a live agent.
|
8637
8901
|
# Dialogflow only uses this to determine which conversations were handed off to
|
8638
8902
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -8688,6 +8952,7 @@ module Google
|
|
8688
8952
|
@channel = args[:channel] if args.key?(:channel)
|
8689
8953
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
8690
8954
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
8955
|
+
@knowledge_info_card = args[:knowledge_info_card] if args.key?(:knowledge_info_card)
|
8691
8956
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
8692
8957
|
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
8693
8958
|
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
@@ -8739,6 +9004,21 @@ module Google
|
|
8739
9004
|
end
|
8740
9005
|
end
|
8741
9006
|
|
9007
|
+
# Represents info card response. If the response contains generative knowledge
|
9008
|
+
# prediction, Dialogflow will return a payload with Infobot Messenger compatible
|
9009
|
+
# info card. Otherwise, the info card response is skipped.
|
9010
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
9011
|
+
include Google::Apis::Core::Hashable
|
9012
|
+
|
9013
|
+
def initialize(**args)
|
9014
|
+
update!(**args)
|
9015
|
+
end
|
9016
|
+
|
9017
|
+
# Update properties of this object
|
9018
|
+
def update!(**args)
|
9019
|
+
end
|
9020
|
+
end
|
9021
|
+
|
8742
9022
|
# Indicates that the conversation should be handed off to a live agent.
|
8743
9023
|
# Dialogflow only uses this to determine which conversations were handed off to
|
8744
9024
|
# a human agent for measurement purposes. What else to do with this signal is up
|
@@ -9322,6 +9602,12 @@ module Google
|
|
9322
9602
|
# @return [String]
|
9323
9603
|
attr_accessor :condition
|
9324
9604
|
|
9605
|
+
# Optional. The description of the transition route. The maximum length is 500
|
9606
|
+
# characters.
|
9607
|
+
# Corresponds to the JSON property `description`
|
9608
|
+
# @return [String]
|
9609
|
+
attr_accessor :description
|
9610
|
+
|
9325
9611
|
# The unique identifier of an Intent. Format: `projects//locations//agents//
|
9326
9612
|
# intents/`. Indicates that the transition can only happen when the given intent
|
9327
9613
|
# is matched. At least one of `intent` or `condition` must be specified. When
|
@@ -9366,6 +9652,7 @@ module Google
|
|
9366
9652
|
# Update properties of this object
|
9367
9653
|
def update!(**args)
|
9368
9654
|
@condition = args[:condition] if args.key?(:condition)
|
9655
|
+
@description = args[:description] if args.key?(:description)
|
9369
9656
|
@intent = args[:intent] if args.key?(:intent)
|
9370
9657
|
@name = args[:name] if args.key?(:name)
|
9371
9658
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
@@ -16630,13 +16917,13 @@ module Google
|
|
16630
16917
|
# @return [String]
|
16631
16918
|
attr_accessor :name
|
16632
16919
|
|
16633
|
-
# The normal response of the operation
|
16634
|
-
#
|
16635
|
-
#
|
16636
|
-
#
|
16637
|
-
#
|
16638
|
-
#
|
16639
|
-
#
|
16920
|
+
# The normal, successful response of the operation. If the original method
|
16921
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
16922
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
16923
|
+
# response should be the resource. For other methods, the response should have
|
16924
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
16925
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
16926
|
+
# `TakeSnapshotResponse`.
|
16640
16927
|
# Corresponds to the JSON property `response`
|
16641
16928
|
# @return [Hash<String,Object>]
|
16642
16929
|
attr_accessor :response
|
@@ -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.67.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 = "20230821"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class GoogleCloudDialogflowCxV3DataStoreConnection
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -352,6 +358,12 @@ module Google
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
353
359
|
end
|
354
360
|
|
361
|
+
class GoogleCloudDialogflowCxV3FlowImportStrategy
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
355
367
|
class GoogleCloudDialogflowCxV3FlowValidationResult
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
369
|
|
@@ -520,6 +532,12 @@ module Google
|
|
520
532
|
include Google::Apis::Core::JsonObjectSupport
|
521
533
|
end
|
522
534
|
|
535
|
+
class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
523
541
|
class GoogleCloudDialogflowCxV3ListAgentsResponse
|
524
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
543
|
|
@@ -736,6 +754,12 @@ module Google
|
|
736
754
|
include Google::Apis::Core::JsonObjectSupport
|
737
755
|
end
|
738
756
|
|
757
|
+
class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
739
763
|
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
740
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
765
|
|
@@ -1186,6 +1210,12 @@ module Google
|
|
1186
1210
|
include Google::Apis::Core::JsonObjectSupport
|
1187
1211
|
end
|
1188
1212
|
|
1213
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
1214
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1215
|
+
|
1216
|
+
include Google::Apis::Core::JsonObjectSupport
|
1217
|
+
end
|
1218
|
+
|
1189
1219
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
1190
1220
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1191
1221
|
|
@@ -1390,6 +1420,12 @@ module Google
|
|
1390
1420
|
include Google::Apis::Core::JsonObjectSupport
|
1391
1421
|
end
|
1392
1422
|
|
1423
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
1424
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1425
|
+
|
1426
|
+
include Google::Apis::Core::JsonObjectSupport
|
1427
|
+
end
|
1428
|
+
|
1393
1429
|
class GoogleCloudDialogflowCxV3beta1Page
|
1394
1430
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
1431
|
|
@@ -1444,6 +1480,12 @@ module Google
|
|
1444
1480
|
include Google::Apis::Core::JsonObjectSupport
|
1445
1481
|
end
|
1446
1482
|
|
1483
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
|
+
|
1486
|
+
include Google::Apis::Core::JsonObjectSupport
|
1487
|
+
end
|
1488
|
+
|
1447
1489
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
1448
1490
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
1491
|
|
@@ -2931,6 +2973,14 @@ module Google
|
|
2931
2973
|
end
|
2932
2974
|
end
|
2933
2975
|
|
2976
|
+
class GoogleCloudDialogflowCxV3DataStoreConnection
|
2977
|
+
# @private
|
2978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2979
|
+
property :data_store, as: 'dataStore'
|
2980
|
+
property :data_store_type, as: 'dataStoreType'
|
2981
|
+
end
|
2982
|
+
end
|
2983
|
+
|
2934
2984
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
2935
2985
|
# @private
|
2936
2986
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3259,6 +3309,8 @@ module Google
|
|
3259
3309
|
property :display_name, as: 'displayName'
|
3260
3310
|
collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler::Representation
|
3261
3311
|
|
3312
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
|
3313
|
+
|
3262
3314
|
property :name, as: 'name'
|
3263
3315
|
property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings::Representation
|
3264
3316
|
|
@@ -3268,6 +3320,13 @@ module Google
|
|
3268
3320
|
end
|
3269
3321
|
end
|
3270
3322
|
|
3323
|
+
class GoogleCloudDialogflowCxV3FlowImportStrategy
|
3324
|
+
# @private
|
3325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3326
|
+
property :global_import_strategy, as: 'globalImportStrategy'
|
3327
|
+
end
|
3328
|
+
end
|
3329
|
+
|
3271
3330
|
class GoogleCloudDialogflowCxV3FlowValidationResult
|
3272
3331
|
# @private
|
3273
3332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3418,6 +3477,8 @@ module Google
|
|
3418
3477
|
# @private
|
3419
3478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3420
3479
|
property :flow_content, :base64 => true, as: 'flowContent'
|
3480
|
+
property :flow_import_strategy, as: 'flowImportStrategy', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowImportStrategy, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowImportStrategy::Representation
|
3481
|
+
|
3421
3482
|
property :flow_uri, as: 'flowUri'
|
3422
3483
|
property :import_option, as: 'importOption'
|
3423
3484
|
end
|
@@ -3534,6 +3595,19 @@ module Google
|
|
3534
3595
|
end
|
3535
3596
|
end
|
3536
3597
|
|
3598
|
+
class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
|
3599
|
+
# @private
|
3600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3601
|
+
collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnection, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnection::Representation
|
3602
|
+
|
3603
|
+
property :enabled, as: 'enabled'
|
3604
|
+
property :target_flow, as: 'targetFlow'
|
3605
|
+
property :target_page, as: 'targetPage'
|
3606
|
+
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3607
|
+
|
3608
|
+
end
|
3609
|
+
end
|
3610
|
+
|
3537
3611
|
class GoogleCloudDialogflowCxV3ListAgentsResponse
|
3538
3612
|
# @private
|
3539
3613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3770,6 +3844,8 @@ module Google
|
|
3770
3844
|
|
3771
3845
|
property :form, as: 'form', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Form, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Form::Representation
|
3772
3846
|
|
3847
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
|
3848
|
+
|
3773
3849
|
property :name, as: 'name'
|
3774
3850
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
3775
3851
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation
|
@@ -3896,6 +3972,8 @@ module Google
|
|
3896
3972
|
|
3897
3973
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
3898
3974
|
|
3975
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard::Representation
|
3976
|
+
|
3899
3977
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
3900
3978
|
|
3901
3979
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
@@ -3926,6 +4004,12 @@ module Google
|
|
3926
4004
|
end
|
3927
4005
|
end
|
3928
4006
|
|
4007
|
+
class GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
|
4008
|
+
# @private
|
4009
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4010
|
+
end
|
4011
|
+
end
|
4012
|
+
|
3929
4013
|
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
3930
4014
|
# @private
|
3931
4015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4289,6 +4373,7 @@ module Google
|
|
4289
4373
|
# @private
|
4290
4374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4291
4375
|
property :condition, as: 'condition'
|
4376
|
+
property :description, as: 'description'
|
4292
4377
|
property :intent, as: 'intent'
|
4293
4378
|
property :name, as: 'name'
|
4294
4379
|
property :target_flow, as: 'targetFlow'
|
@@ -4653,6 +4738,14 @@ module Google
|
|
4653
4738
|
end
|
4654
4739
|
end
|
4655
4740
|
|
4741
|
+
class GoogleCloudDialogflowCxV3beta1DataStoreConnection
|
4742
|
+
# @private
|
4743
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4744
|
+
property :data_store, as: 'dataStore'
|
4745
|
+
property :data_store_type, as: 'dataStoreType'
|
4746
|
+
end
|
4747
|
+
end
|
4748
|
+
|
4656
4749
|
class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
|
4657
4750
|
# @private
|
4658
4751
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4967,6 +5060,19 @@ module Google
|
|
4967
5060
|
end
|
4968
5061
|
end
|
4969
5062
|
|
5063
|
+
class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
5064
|
+
# @private
|
5065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5066
|
+
collection :data_store_connections, as: 'dataStoreConnections', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DataStoreConnection, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DataStoreConnection::Representation
|
5067
|
+
|
5068
|
+
property :enabled, as: 'enabled'
|
5069
|
+
property :target_flow, as: 'targetFlow'
|
5070
|
+
property :target_page, as: 'targetPage'
|
5071
|
+
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
5072
|
+
|
5073
|
+
end
|
5074
|
+
end
|
5075
|
+
|
4970
5076
|
class GoogleCloudDialogflowCxV3beta1Page
|
4971
5077
|
# @private
|
4972
5078
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4977,6 +5083,8 @@ module Google
|
|
4977
5083
|
|
4978
5084
|
property :form, as: 'form', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Form::Representation
|
4979
5085
|
|
5086
|
+
property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
|
5087
|
+
|
4980
5088
|
property :name, as: 'name'
|
4981
5089
|
collection :transition_route_groups, as: 'transitionRouteGroups'
|
4982
5090
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
|
@@ -5046,6 +5154,8 @@ module Google
|
|
5046
5154
|
|
5047
5155
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
5048
5156
|
|
5157
|
+
property :knowledge_info_card, as: 'knowledgeInfoCard', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard::Representation
|
5158
|
+
|
5049
5159
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
5050
5160
|
|
5051
5161
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
@@ -5075,6 +5185,12 @@ module Google
|
|
5075
5185
|
end
|
5076
5186
|
end
|
5077
5187
|
|
5188
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
|
5189
|
+
# @private
|
5190
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5191
|
+
end
|
5192
|
+
end
|
5193
|
+
|
5078
5194
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
5079
5195
|
# @private
|
5080
5196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5246,6 +5362,7 @@ module Google
|
|
5246
5362
|
# @private
|
5247
5363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5248
5364
|
property :condition, as: 'condition'
|
5365
|
+
property :description, as: 'description'
|
5249
5366
|
property :intent, as: 'intent'
|
5250
5367
|
property :name, as: 'name'
|
5251
5368
|
property :target_flow, as: 'targetFlow'
|
@@ -2361,7 +2361,8 @@ module Google
|
|
2361
2361
|
# https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
2362
2362
|
# @param [String] parent
|
2363
2363
|
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
2364
|
-
# locations//agents//flows
|
2364
|
+
# locations//agents//flows/` or `projects//locations//agents/` for agent-level
|
2365
|
+
# groups.
|
2365
2366
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
|
2366
2367
|
# @param [String] language_code
|
2367
2368
|
# The language of the following fields in `TransitionRouteGroup`: * `
|
@@ -2405,7 +2406,8 @@ module Google
|
|
2405
2406
|
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
2406
2407
|
# @param [String] name
|
2407
2408
|
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
2408
|
-
# locations//agents//flows//transitionRouteGroups
|
2409
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
2410
|
+
# agents//transitionRouteGroups/`.
|
2409
2411
|
# @param [Boolean] force
|
2410
2412
|
# This field has no effect for transition route group that no page is using. If
|
2411
2413
|
# the transition route group is referenced by any page: * If `force` is set to
|
@@ -2443,7 +2445,8 @@ module Google
|
|
2443
2445
|
# Retrieves the specified TransitionRouteGroup.
|
2444
2446
|
# @param [String] name
|
2445
2447
|
# Required. The name of the TransitionRouteGroup. Format: `projects//locations//
|
2446
|
-
# agents//flows//transitionRouteGroups
|
2448
|
+
# agents//flows//transitionRouteGroups/` or `projects//locations//agents//
|
2449
|
+
# transitionRouteGroups/`.
|
2447
2450
|
# @param [String] language_code
|
2448
2451
|
# The language to retrieve the transition route group for. The following fields
|
2449
2452
|
# are language dependent: * `TransitionRouteGroup.transition_routes.
|
@@ -2483,7 +2486,7 @@ module Google
|
|
2483
2486
|
# Returns the list of all transition route groups in the specified flow.
|
2484
2487
|
# @param [String] parent
|
2485
2488
|
# Required. The flow to list all transition route groups for. Format: `projects//
|
2486
|
-
# locations//agents//flows
|
2489
|
+
# locations//agents//flows/` or `projects//locations//agents/.
|
2487
2490
|
# @param [String] language_code
|
2488
2491
|
# The language to list transition route groups for. The following fields are
|
2489
2492
|
# language dependent: * `TransitionRouteGroup.transition_routes.
|
@@ -2533,7 +2536,7 @@ module Google
|
|
2533
2536
|
# @param [String] name
|
2534
2537
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
2535
2538
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
2536
|
-
# /locations//agents//flows//transitionRouteGroups
|
2539
|
+
# /locations//agents//flows//transitionRouteGroups/` .
|
2537
2540
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
|
2538
2541
|
# @param [String] language_code
|
2539
2542
|
# The language of the following fields in `TransitionRouteGroup`: * `
|
@@ -3795,6 +3798,228 @@ module Google
|
|
3795
3798
|
execute_or_queue_command(command, &block)
|
3796
3799
|
end
|
3797
3800
|
|
3801
|
+
# Creates an TransitionRouteGroup in the specified flow. Note: You should always
|
3802
|
+
# train a flow prior to sending it queries. See the [training documentation](
|
3803
|
+
# https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
3804
|
+
# @param [String] parent
|
3805
|
+
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
3806
|
+
# locations//agents//flows/` or `projects//locations//agents/` for agent-level
|
3807
|
+
# groups.
|
3808
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
|
3809
|
+
# @param [String] language_code
|
3810
|
+
# The language of the following fields in `TransitionRouteGroup`: * `
|
3811
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
|
3812
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
|
3813
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
3814
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
3815
|
+
# languages must be enabled in the agent before they can be used.
|
3816
|
+
# @param [String] fields
|
3817
|
+
# Selector specifying which fields to include in a partial response.
|
3818
|
+
# @param [String] quota_user
|
3819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3821
|
+
# @param [Google::Apis::RequestOptions] options
|
3822
|
+
# Request-specific options
|
3823
|
+
#
|
3824
|
+
# @yield [result, err] Result & error if block supplied
|
3825
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] parsed result object
|
3826
|
+
# @yieldparam err [StandardError] error object if request failed
|
3827
|
+
#
|
3828
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
|
3829
|
+
#
|
3830
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3831
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3832
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3833
|
+
def create_project_location_agent_transition_route_group(parent, google_cloud_dialogflow_cx_v3_transition_route_group_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3834
|
+
command = make_simple_command(:post, 'v3/{+parent}/transitionRouteGroups', options)
|
3835
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
|
3836
|
+
command.request_object = google_cloud_dialogflow_cx_v3_transition_route_group_object
|
3837
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
|
3838
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup
|
3839
|
+
command.params['parent'] = parent unless parent.nil?
|
3840
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3841
|
+
command.query['fields'] = fields unless fields.nil?
|
3842
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3843
|
+
execute_or_queue_command(command, &block)
|
3844
|
+
end
|
3845
|
+
|
3846
|
+
# Deletes the specified TransitionRouteGroup. Note: You should always train a
|
3847
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
3848
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
3849
|
+
# @param [String] name
|
3850
|
+
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
3851
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
3852
|
+
# agents//transitionRouteGroups/`.
|
3853
|
+
# @param [Boolean] force
|
3854
|
+
# This field has no effect for transition route group that no page is using. If
|
3855
|
+
# the transition route group is referenced by any page: * If `force` is set to
|
3856
|
+
# false, an error will be returned with message indicating pages that reference
|
3857
|
+
# the transition route group. * If `force` is set to true, Dialogflow will
|
3858
|
+
# remove the transition route group, as well as any reference to it.
|
3859
|
+
# @param [String] fields
|
3860
|
+
# Selector specifying which fields to include in a partial response.
|
3861
|
+
# @param [String] quota_user
|
3862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3864
|
+
# @param [Google::Apis::RequestOptions] options
|
3865
|
+
# Request-specific options
|
3866
|
+
#
|
3867
|
+
# @yield [result, err] Result & error if block supplied
|
3868
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleProtobufEmpty] parsed result object
|
3869
|
+
# @yieldparam err [StandardError] error object if request failed
|
3870
|
+
#
|
3871
|
+
# @return [Google::Apis::DialogflowV3::GoogleProtobufEmpty]
|
3872
|
+
#
|
3873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3876
|
+
def delete_project_location_agent_transition_route_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3877
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
3878
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleProtobufEmpty::Representation
|
3879
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleProtobufEmpty
|
3880
|
+
command.params['name'] = name unless name.nil?
|
3881
|
+
command.query['force'] = force unless force.nil?
|
3882
|
+
command.query['fields'] = fields unless fields.nil?
|
3883
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3884
|
+
execute_or_queue_command(command, &block)
|
3885
|
+
end
|
3886
|
+
|
3887
|
+
# Retrieves the specified TransitionRouteGroup.
|
3888
|
+
# @param [String] name
|
3889
|
+
# Required. The name of the TransitionRouteGroup. Format: `projects//locations//
|
3890
|
+
# agents//flows//transitionRouteGroups/` or `projects//locations//agents//
|
3891
|
+
# transitionRouteGroups/`.
|
3892
|
+
# @param [String] language_code
|
3893
|
+
# The language to retrieve the transition route group for. The following fields
|
3894
|
+
# are language dependent: * `TransitionRouteGroup.transition_routes.
|
3895
|
+
# trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
|
3896
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
3897
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
3898
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
3899
|
+
# agent before they can be used.
|
3900
|
+
# @param [String] fields
|
3901
|
+
# Selector specifying which fields to include in a partial response.
|
3902
|
+
# @param [String] quota_user
|
3903
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3904
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3905
|
+
# @param [Google::Apis::RequestOptions] options
|
3906
|
+
# Request-specific options
|
3907
|
+
#
|
3908
|
+
# @yield [result, err] Result & error if block supplied
|
3909
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] parsed result object
|
3910
|
+
# @yieldparam err [StandardError] error object if request failed
|
3911
|
+
#
|
3912
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
|
3913
|
+
#
|
3914
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3915
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3916
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3917
|
+
def get_project_location_agent_transition_route_group(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3918
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
3919
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
|
3920
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup
|
3921
|
+
command.params['name'] = name unless name.nil?
|
3922
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3923
|
+
command.query['fields'] = fields unless fields.nil?
|
3924
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3925
|
+
execute_or_queue_command(command, &block)
|
3926
|
+
end
|
3927
|
+
|
3928
|
+
# Returns the list of all transition route groups in the specified flow.
|
3929
|
+
# @param [String] parent
|
3930
|
+
# Required. The flow to list all transition route groups for. Format: `projects//
|
3931
|
+
# locations//agents//flows/` or `projects//locations//agents/.
|
3932
|
+
# @param [String] language_code
|
3933
|
+
# The language to list transition route groups for. The following fields are
|
3934
|
+
# language dependent: * `TransitionRouteGroup.transition_routes.
|
3935
|
+
# trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
|
3936
|
+
# trigger_fulfillment.conditional_cases` If not specified, the agent's default
|
3937
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
|
3938
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
3939
|
+
# agent before they can be used.
|
3940
|
+
# @param [Fixnum] page_size
|
3941
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
3942
|
+
# most 1000.
|
3943
|
+
# @param [String] page_token
|
3944
|
+
# The next_page_token value returned from a previous list request.
|
3945
|
+
# @param [String] fields
|
3946
|
+
# Selector specifying which fields to include in a partial response.
|
3947
|
+
# @param [String] quota_user
|
3948
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3949
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3950
|
+
# @param [Google::Apis::RequestOptions] options
|
3951
|
+
# Request-specific options
|
3952
|
+
#
|
3953
|
+
# @yield [result, err] Result & error if block supplied
|
3954
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse] parsed result object
|
3955
|
+
# @yieldparam err [StandardError] error object if request failed
|
3956
|
+
#
|
3957
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse]
|
3958
|
+
#
|
3959
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3960
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3961
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3962
|
+
def list_project_location_agent_transition_route_groups(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3963
|
+
command = make_simple_command(:get, 'v3/{+parent}/transitionRouteGroups', options)
|
3964
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse::Representation
|
3965
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse
|
3966
|
+
command.params['parent'] = parent unless parent.nil?
|
3967
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3968
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3969
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3970
|
+
command.query['fields'] = fields unless fields.nil?
|
3971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3972
|
+
execute_or_queue_command(command, &block)
|
3973
|
+
end
|
3974
|
+
|
3975
|
+
# Updates the specified TransitionRouteGroup. Note: You should always train a
|
3976
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
3977
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
3978
|
+
# @param [String] name
|
3979
|
+
# The unique identifier of the transition route group. TransitionRouteGroups.
|
3980
|
+
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
3981
|
+
# /locations//agents//flows//transitionRouteGroups/` .
|
3982
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
|
3983
|
+
# @param [String] language_code
|
3984
|
+
# The language of the following fields in `TransitionRouteGroup`: * `
|
3985
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
|
3986
|
+
# TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
|
3987
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
3988
|
+
# //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
|
3989
|
+
# languages must be enabled in the agent before they can be used.
|
3990
|
+
# @param [String] update_mask
|
3991
|
+
# The mask to control which fields get updated.
|
3992
|
+
# @param [String] fields
|
3993
|
+
# Selector specifying which fields to include in a partial response.
|
3994
|
+
# @param [String] quota_user
|
3995
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3996
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3997
|
+
# @param [Google::Apis::RequestOptions] options
|
3998
|
+
# Request-specific options
|
3999
|
+
#
|
4000
|
+
# @yield [result, err] Result & error if block supplied
|
4001
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] parsed result object
|
4002
|
+
# @yieldparam err [StandardError] error object if request failed
|
4003
|
+
#
|
4004
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
|
4005
|
+
#
|
4006
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4007
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4008
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4009
|
+
def patch_project_location_agent_transition_route_group(name, google_cloud_dialogflow_cx_v3_transition_route_group_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4010
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
4011
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
|
4012
|
+
command.request_object = google_cloud_dialogflow_cx_v3_transition_route_group_object
|
4013
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
|
4014
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup
|
4015
|
+
command.params['name'] = name unless name.nil?
|
4016
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
4017
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4018
|
+
command.query['fields'] = fields unless fields.nil?
|
4019
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4020
|
+
execute_or_queue_command(command, &block)
|
4021
|
+
end
|
4022
|
+
|
3798
4023
|
# Creates a webhook in the specified agent.
|
3799
4024
|
# @param [String] parent
|
3800
4025
|
# Required. The agent to create a webhook for. Format: `projects//locations//
|
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.67.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-
|
11
|
+
date: 2023-09-03 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.67.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V3
|