google-apis-dialogflow_v3 0.65.0 → 0.66.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: 5c49e35c018048a1b2b920113e1108cd26c601641bd695735e898d261683053a
|
4
|
+
data.tar.gz: cc10261ed0a7da0998211decd2922abdae4577f5fae6117c60856e262ecf22b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 385f9d2db83d07abee511e796d6ef0fa6ff03b3728d0aee0bac712f111eb9184a35cfcf8760ef7a30eb2171bb5d226f27e256d56afa33c9bfaa292e2b9250b6a
|
7
|
+
data.tar.gz: ef9efc90a4be21e8cb582757a6bf2852a86bde8bc9a887c676afe0d3cd1b4b2a59e8efd253eeaffa51648e557f5b953f8caf3e3a1c3242afc3f76dcf78ae5124
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
@@ -2062,7 +2063,8 @@ module Google
|
|
2062
2063
|
# matching the user's first utterances in the flow. * They are inherited by
|
2063
2064
|
# every page's transition route groups. Transition route groups defined in the
|
2064
2065
|
# page have higher priority than those defined in the flow. Format:`projects//
|
2065
|
-
# locations//agents//flows//transitionRouteGroups
|
2066
|
+
# locations//agents//flows//transitionRouteGroups/` or `projects//locations//
|
2067
|
+
# agents//transitionRouteGroups/` for agent-level groups.
|
2066
2068
|
# Corresponds to the JSON property `transitionRouteGroups`
|
2067
2069
|
# @return [Array<String>]
|
2068
2070
|
attr_accessor :transition_route_groups
|
@@ -2096,6 +2098,28 @@ module Google
|
|
2096
2098
|
end
|
2097
2099
|
end
|
2098
2100
|
|
2101
|
+
# The flow import strategy used for resource conflict resolution associated with
|
2102
|
+
# an ImportFlowRequest.
|
2103
|
+
class GoogleCloudDialogflowCxV3FlowImportStrategy
|
2104
|
+
include Google::Apis::Core::Hashable
|
2105
|
+
|
2106
|
+
# Optional. Import strategy for resource conflict resolution, applied globally
|
2107
|
+
# throughout the flow. It will be applied for all display name conflicts in the
|
2108
|
+
# imported content. If not specified, 'CREATE_NEW' is assumed.
|
2109
|
+
# Corresponds to the JSON property `globalImportStrategy`
|
2110
|
+
# @return [String]
|
2111
|
+
attr_accessor :global_import_strategy
|
2112
|
+
|
2113
|
+
def initialize(**args)
|
2114
|
+
update!(**args)
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
# Update properties of this object
|
2118
|
+
def update!(**args)
|
2119
|
+
@global_import_strategy = args[:global_import_strategy] if args.key?(:global_import_strategy)
|
2120
|
+
end
|
2121
|
+
end
|
2122
|
+
|
2099
2123
|
# The response message for Flows.GetFlowValidationResult.
|
2100
2124
|
class GoogleCloudDialogflowCxV3FlowValidationResult
|
2101
2125
|
include Google::Apis::Core::Hashable
|
@@ -2611,6 +2635,12 @@ module Google
|
|
2611
2635
|
# @return [String]
|
2612
2636
|
attr_accessor :flow_content
|
2613
2637
|
|
2638
|
+
# The flow import strategy used for resource conflict resolution associated with
|
2639
|
+
# an ImportFlowRequest.
|
2640
|
+
# Corresponds to the JSON property `flowImportStrategy`
|
2641
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowImportStrategy]
|
2642
|
+
attr_accessor :flow_import_strategy
|
2643
|
+
|
2614
2644
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
2615
2645
|
# import flow from. The format of this URI must be `gs:///`. Dialogflow performs
|
2616
2646
|
# a read operation for the Cloud Storage object on the caller's behalf, so your
|
@@ -2633,6 +2663,7 @@ module Google
|
|
2633
2663
|
# Update properties of this object
|
2634
2664
|
def update!(**args)
|
2635
2665
|
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
2666
|
+
@flow_import_strategy = args[:flow_import_strategy] if args.key?(:flow_import_strategy)
|
2636
2667
|
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
2637
2668
|
@import_option = args[:import_option] if args.key?(:import_option)
|
2638
2669
|
end
|
@@ -3888,7 +3919,8 @@ module Google
|
|
3888
3919
|
# page's transition route -> page's transition route group -> flow's transition
|
3889
3920
|
# routes. * If multiple transition route groups within a page contain the same
|
3890
3921
|
# intent, then the first group in the ordered list takes precedence. Format:`
|
3891
|
-
# projects//locations//agents//flows//transitionRouteGroups
|
3922
|
+
# projects//locations//agents//flows//transitionRouteGroups/` or `projects//
|
3923
|
+
# locations//agents//transitionRouteGroups/` for agent-level groups.
|
3892
3924
|
# Corresponds to the JSON property `transitionRouteGroups`
|
3893
3925
|
# @return [Array<String>]
|
3894
3926
|
attr_accessor :transition_route_groups
|
@@ -5917,7 +5949,7 @@ module Google
|
|
5917
5949
|
end
|
5918
5950
|
end
|
5919
5951
|
|
5920
|
-
#
|
5952
|
+
# A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
5921
5953
|
# a Page.
|
5922
5954
|
class GoogleCloudDialogflowCxV3TransitionRouteGroup
|
5923
5955
|
include Google::Apis::Core::Hashable
|
@@ -5930,7 +5962,7 @@ module Google
|
|
5930
5962
|
|
5931
5963
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
5932
5964
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
5933
|
-
# /locations//agents//flows//transitionRouteGroups
|
5965
|
+
# /locations//agents//flows//transitionRouteGroups/` .
|
5934
5966
|
# Corresponds to the JSON property `name`
|
5935
5967
|
# @return [String]
|
5936
5968
|
attr_accessor :name
|
@@ -5990,7 +6022,7 @@ module Google
|
|
5990
6022
|
# @return [Float]
|
5991
6023
|
attr_accessor :coverage_score
|
5992
6024
|
|
5993
|
-
#
|
6025
|
+
# A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
5994
6026
|
# a Page.
|
5995
6027
|
# Corresponds to the JSON property `routeGroup`
|
5996
6028
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
|
@@ -8374,7 +8406,8 @@ module Google
|
|
8374
8406
|
# page's transition route -> page's transition route group -> flow's transition
|
8375
8407
|
# routes. * If multiple transition route groups within a page contain the same
|
8376
8408
|
# intent, then the first group in the ordered list takes precedence. Format:`
|
8377
|
-
# projects//locations//agents//flows//transitionRouteGroups
|
8409
|
+
# projects//locations//agents//flows//transitionRouteGroups/` or `projects//
|
8410
|
+
# locations//agents//transitionRouteGroups/` for agent-level groups.
|
8378
8411
|
# Corresponds to the JSON property `transitionRouteGroups`
|
8379
8412
|
# @return [Array<String>]
|
8380
8413
|
attr_accessor :transition_route_groups
|
@@ -16630,13 +16663,13 @@ module Google
|
|
16630
16663
|
# @return [String]
|
16631
16664
|
attr_accessor :name
|
16632
16665
|
|
16633
|
-
# The normal response of the operation
|
16634
|
-
#
|
16635
|
-
#
|
16636
|
-
#
|
16637
|
-
#
|
16638
|
-
#
|
16639
|
-
#
|
16666
|
+
# The normal, successful response of the operation. If the original method
|
16667
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
16668
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
16669
|
+
# response should be the resource. For other methods, the response should have
|
16670
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
16671
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
16672
|
+
# `TakeSnapshotResponse`.
|
16640
16673
|
# Corresponds to the JSON property `response`
|
16641
16674
|
# @return [Hash<String,Object>]
|
16642
16675
|
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.66.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 = "20230807"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,12 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class GoogleCloudDialogflowCxV3FlowImportStrategy
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
355
361
|
class GoogleCloudDialogflowCxV3FlowValidationResult
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
363
|
|
@@ -3268,6 +3274,13 @@ module Google
|
|
3268
3274
|
end
|
3269
3275
|
end
|
3270
3276
|
|
3277
|
+
class GoogleCloudDialogflowCxV3FlowImportStrategy
|
3278
|
+
# @private
|
3279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3280
|
+
property :global_import_strategy, as: 'globalImportStrategy'
|
3281
|
+
end
|
3282
|
+
end
|
3283
|
+
|
3271
3284
|
class GoogleCloudDialogflowCxV3FlowValidationResult
|
3272
3285
|
# @private
|
3273
3286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3418,6 +3431,8 @@ module Google
|
|
3418
3431
|
# @private
|
3419
3432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3420
3433
|
property :flow_content, :base64 => true, as: 'flowContent'
|
3434
|
+
property :flow_import_strategy, as: 'flowImportStrategy', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowImportStrategy, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowImportStrategy::Representation
|
3435
|
+
|
3421
3436
|
property :flow_uri, as: 'flowUri'
|
3422
3437
|
property :import_option, as: 'importOption'
|
3423
3438
|
end
|
@@ -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.66.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-08-20 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.66.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: []
|