google-apis-dialogflow_v3beta1 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: b502da6bb276eafb7fadf63eba5cf22b7cea428e105f636f916b251b7b6c173c
4
- data.tar.gz: 57ea1e20a8575f26f397dbc60faf7296eeec401fd8dd0e335231df60c31bb6dd
3
+ metadata.gz: '08c4a8acd642b3a42794b0ac2aa0120f481915fcc245ed2b8a16254c94e0c37d'
4
+ data.tar.gz: c4babed1e0fa9819e20fba0ea34acc7abc3b9732397df35605a3ec572b004111
5
5
  SHA512:
6
- metadata.gz: 9c8f9361eacf0a0a463585727197f34895a1c983daef28c65714be7fa24d2f1a2d8ffa85c6ba6e54aced4901cee7ab7ad46ff68f3975972843a9dad536154d22
7
- data.tar.gz: 4f5732d9ed0fed93afa0299614175d3cf6b3ef5338df655d1b464e0226b76c45a5feb40c8554a99fdb310c3391058f839fdf82d2a4e5cc3c8c3768e65f6ef40e
6
+ metadata.gz: d487a32c1368533084b42405c3b216a8f0d302360fc40c32b2de1464637ab22f9f677d200304cbd57283f10a4ced813ea2d557a3374f4238b48735cac5dab063
7
+ data.tar.gz: d23eb5f61216ba0df50c93e28bed9106ba4fd4f1513136e5f1b921470d07e48d331fbab4682a6002335a0292e42715431a3204ddde4d53781492a32cde64c430
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.66.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230807
6
+
3
7
  ### v0.65.0 (2023-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230717
@@ -1542,7 +1542,8 @@ module Google
1542
1542
  # page's transition route -> page's transition route group -> flow's transition
1543
1543
  # routes. * If multiple transition route groups within a page contain the same
1544
1544
  # intent, then the first group in the ordered list takes precedence. Format:`
1545
- # projects//locations//agents//flows//transitionRouteGroups/`.
1545
+ # projects//locations//agents//flows//transitionRouteGroups/` or `projects//
1546
+ # locations//agents//transitionRouteGroups/` for agent-level groups.
1546
1547
  # Corresponds to the JSON property `transitionRouteGroups`
1547
1548
  # @return [Array<String>]
1548
1549
  attr_accessor :transition_route_groups
@@ -3177,7 +3178,8 @@ module Google
3177
3178
  # transform user requests into actionable data. You can include agents in your
3178
3179
  # app, product, or service to determine user intent and respond to the user in a
3179
3180
  # natural way. After you create an agent, you can add Intents, Entity Types,
3180
- # Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..
3181
+ # Flows, Fulfillments, Webhooks, TransitionRouteGroups and so on to manage the
3182
+ # conversation flows.
3181
3183
  class GoogleCloudDialogflowCxV3beta1Agent
3182
3184
  include Google::Apis::Core::Hashable
3183
3185
 
@@ -5153,7 +5155,8 @@ module Google
5153
5155
  # matching the user's first utterances in the flow. * They are inherited by
5154
5156
  # every page's transition route groups. Transition route groups defined in the
5155
5157
  # page have higher priority than those defined in the flow. Format:`projects//
5156
- # locations//agents//flows//transitionRouteGroups/`.
5158
+ # locations//agents//flows//transitionRouteGroups/` or `projects//locations//
5159
+ # agents//transitionRouteGroups/` for agent-level groups.
5157
5160
  # Corresponds to the JSON property `transitionRouteGroups`
5158
5161
  # @return [Array<String>]
5159
5162
  attr_accessor :transition_route_groups
@@ -5187,6 +5190,29 @@ module Google
5187
5190
  end
5188
5191
  end
5189
5192
 
5193
+ # The flow import strategy used for resource conflict resolution associated with
5194
+ # an ImportFlowRequest.
5195
+ class GoogleCloudDialogflowCxV3beta1FlowImportStrategy
5196
+ include Google::Apis::Core::Hashable
5197
+
5198
+ # Optional. Global flow import strategy for resource conflict resolution. The
5199
+ # import Import strategy for resource conflict resolution, applied globally
5200
+ # throughout the flow. It will be applied for all display name conflicts in the
5201
+ # imported content. If not specified, 'CREATE_NEW' is assumed.
5202
+ # Corresponds to the JSON property `globalImportStrategy`
5203
+ # @return [String]
5204
+ attr_accessor :global_import_strategy
5205
+
5206
+ def initialize(**args)
5207
+ update!(**args)
5208
+ end
5209
+
5210
+ # Update properties of this object
5211
+ def update!(**args)
5212
+ @global_import_strategy = args[:global_import_strategy] if args.key?(:global_import_strategy)
5213
+ end
5214
+ end
5215
+
5190
5216
  # The response message for Flows.GetFlowValidationResult.
5191
5217
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
5192
5218
  include Google::Apis::Core::Hashable
@@ -5702,6 +5728,12 @@ module Google
5702
5728
  # @return [String]
5703
5729
  attr_accessor :flow_content
5704
5730
 
5731
+ # The flow import strategy used for resource conflict resolution associated with
5732
+ # an ImportFlowRequest.
5733
+ # Corresponds to the JSON property `flowImportStrategy`
5734
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowImportStrategy]
5735
+ attr_accessor :flow_import_strategy
5736
+
5705
5737
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
5706
5738
  # import flow from. The format of this URI must be `gs:///`. Dialogflow performs
5707
5739
  # a read operation for the Cloud Storage object on the caller's behalf, so your
@@ -5724,6 +5756,7 @@ module Google
5724
5756
  # Update properties of this object
5725
5757
  def update!(**args)
5726
5758
  @flow_content = args[:flow_content] if args.key?(:flow_content)
5759
+ @flow_import_strategy = args[:flow_import_strategy] if args.key?(:flow_import_strategy)
5727
5760
  @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
5728
5761
  @import_option = args[:import_option] if args.key?(:import_option)
5729
5762
  end
@@ -6979,7 +7012,8 @@ module Google
6979
7012
  # page's transition route -> page's transition route group -> flow's transition
6980
7013
  # routes. * If multiple transition route groups within a page contain the same
6981
7014
  # intent, then the first group in the ordered list takes precedence. Format:`
6982
- # projects//locations//agents//flows//transitionRouteGroups/`.
7015
+ # projects//locations//agents//flows//transitionRouteGroups/` or `projects//
7016
+ # locations//agents//transitionRouteGroups/` for agent-level groups.
6983
7017
  # Corresponds to the JSON property `transitionRouteGroups`
6984
7018
  # @return [Array<String>]
6985
7019
  attr_accessor :transition_route_groups
@@ -9004,7 +9038,7 @@ module Google
9004
9038
  end
9005
9039
  end
9006
9040
 
9007
- # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9041
+ # A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9008
9042
  # a Page.
9009
9043
  class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
9010
9044
  include Google::Apis::Core::Hashable
@@ -9017,7 +9051,8 @@ module Google
9017
9051
 
9018
9052
  # The unique identifier of the transition route group. TransitionRouteGroups.
9019
9053
  # CreateTransitionRouteGroup populates the name automatically. Format: `projects/
9020
- # /locations//agents//flows//transitionRouteGroups/`.
9054
+ # /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
9055
+ # agents//transitionRouteGroups/` for agent-level groups.
9021
9056
  # Corresponds to the JSON property `name`
9022
9057
  # @return [String]
9023
9058
  attr_accessor :name
@@ -9077,7 +9112,7 @@ module Google
9077
9112
  # @return [Float]
9078
9113
  attr_accessor :coverage_score
9079
9114
 
9080
- # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9115
+ # A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9081
9116
  # a Page.
9082
9117
  # Corresponds to the JSON property `routeGroup`
9083
9118
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
@@ -16632,13 +16667,13 @@ module Google
16632
16667
  # @return [String]
16633
16668
  attr_accessor :name
16634
16669
 
16635
- # The normal response of the operation in case of success. If the original
16636
- # method returns no data on success, such as `Delete`, the response is `google.
16637
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
16638
- # the response should be the resource. For other methods, the response should
16639
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
16640
- # example, if the original method name is `TakeSnapshot()`, the inferred
16641
- # response type is `TakeSnapshotResponse`.
16670
+ # The normal, successful response of the operation. If the original method
16671
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
16672
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
16673
+ # response should be the resource. For other methods, the response should have
16674
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
16675
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
16676
+ # `TakeSnapshotResponse`.
16642
16677
  # Corresponds to the JSON property `response`
16643
16678
  # @return [Hash<String,Object>]
16644
16679
  attr_accessor :response
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.65.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 = "20230717"
25
+ REVISION = "20230807"
26
26
  end
27
27
  end
28
28
  end
@@ -862,6 +862,12 @@ module Google
862
862
  include Google::Apis::Core::JsonObjectSupport
863
863
  end
864
864
 
865
+ class GoogleCloudDialogflowCxV3beta1FlowImportStrategy
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
865
871
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
866
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
873
 
@@ -4114,6 +4120,13 @@ module Google
4114
4120
  end
4115
4121
  end
4116
4122
 
4123
+ class GoogleCloudDialogflowCxV3beta1FlowImportStrategy
4124
+ # @private
4125
+ class Representation < Google::Apis::Core::JsonRepresentation
4126
+ property :global_import_strategy, as: 'globalImportStrategy'
4127
+ end
4128
+ end
4129
+
4117
4130
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
4118
4131
  # @private
4119
4132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4264,6 +4277,8 @@ module Google
4264
4277
  # @private
4265
4278
  class Representation < Google::Apis::Core::JsonRepresentation
4266
4279
  property :flow_content, :base64 => true, as: 'flowContent'
4280
+ property :flow_import_strategy, as: 'flowImportStrategy', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowImportStrategy, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowImportStrategy::Representation
4281
+
4267
4282
  property :flow_uri, as: 'flowUri'
4268
4283
  property :import_option, as: 'importOption'
4269
4284
  end
@@ -2353,7 +2353,8 @@ module Google
2353
2353
  # https://cloud.google.com/dialogflow/cx/docs/concept/training).
2354
2354
  # @param [String] parent
2355
2355
  # Required. The flow to create an TransitionRouteGroup for. Format: `projects//
2356
- # locations//agents//flows/`.
2356
+ # locations//agents//flows/` or `projects//locations//agents/` for agent-level
2357
+ # groups.
2357
2358
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
2358
2359
  # @param [String] language_code
2359
2360
  # The language of the following fields in `TransitionRouteGroup`: * `
@@ -2397,7 +2398,8 @@ module Google
2397
2398
  # cloud.google.com/dialogflow/cx/docs/concept/training).
2398
2399
  # @param [String] name
2399
2400
  # Required. The name of the TransitionRouteGroup to delete. Format: `projects//
2400
- # locations//agents//flows//transitionRouteGroups/`.
2401
+ # locations//agents//flows//transitionRouteGroups/` or `projects//locations//
2402
+ # agents//transitionRouteGroups/`.
2401
2403
  # @param [Boolean] force
2402
2404
  # This field has no effect for transition route group that no page is using. If
2403
2405
  # the transition route group is referenced by any page: * If `force` is set to
@@ -2435,7 +2437,8 @@ module Google
2435
2437
  # Retrieves the specified TransitionRouteGroup.
2436
2438
  # @param [String] name
2437
2439
  # Required. The name of the TransitionRouteGroup. Format: `projects//locations//
2438
- # agents//flows//transitionRouteGroups/`.
2440
+ # agents//flows//transitionRouteGroups/` or `projects//locations//agents//
2441
+ # transitionRouteGroups/`.
2439
2442
  # @param [String] language_code
2440
2443
  # The language to retrieve the transition route group for. The following fields
2441
2444
  # are language dependent: * `TransitionRouteGroup.transition_routes.
@@ -2475,7 +2478,7 @@ module Google
2475
2478
  # Returns the list of all transition route groups in the specified flow.
2476
2479
  # @param [String] parent
2477
2480
  # Required. The flow to list all transition route groups for. Format: `projects//
2478
- # locations//agents//flows/`.
2481
+ # locations//agents//flows/` or `projects//locations//agents/.
2479
2482
  # @param [String] language_code
2480
2483
  # The language to list transition route groups for. The following fields are
2481
2484
  # language dependent: * `TransitionRouteGroup.transition_routes.
@@ -2525,7 +2528,8 @@ module Google
2525
2528
  # @param [String] name
2526
2529
  # The unique identifier of the transition route group. TransitionRouteGroups.
2527
2530
  # CreateTransitionRouteGroup populates the name automatically. Format: `projects/
2528
- # /locations//agents//flows//transitionRouteGroups/`.
2531
+ # /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
2532
+ # agents//transitionRouteGroups/` for agent-level groups.
2529
2533
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
2530
2534
  # @param [String] language_code
2531
2535
  # The language of the following fields in `TransitionRouteGroup`: * `
@@ -3787,6 +3791,229 @@ module Google
3787
3791
  execute_or_queue_command(command, &block)
3788
3792
  end
3789
3793
 
3794
+ # Creates an TransitionRouteGroup in the specified flow. Note: You should always
3795
+ # train a flow prior to sending it queries. See the [training documentation](
3796
+ # https://cloud.google.com/dialogflow/cx/docs/concept/training).
3797
+ # @param [String] parent
3798
+ # Required. The flow to create an TransitionRouteGroup for. Format: `projects//
3799
+ # locations//agents//flows/` or `projects//locations//agents/` for agent-level
3800
+ # groups.
3801
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
3802
+ # @param [String] language_code
3803
+ # The language of the following fields in `TransitionRouteGroup`: * `
3804
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
3805
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
3806
+ # If not specified, the agent's default language is used. [Many languages](https:
3807
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
3808
+ # languages must be enabled in the agent before they can be used.
3809
+ # @param [String] fields
3810
+ # Selector specifying which fields to include in a partial response.
3811
+ # @param [String] quota_user
3812
+ # Available to use for quota purposes for server-side applications. Can be any
3813
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3814
+ # @param [Google::Apis::RequestOptions] options
3815
+ # Request-specific options
3816
+ #
3817
+ # @yield [result, err] Result & error if block supplied
3818
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
3819
+ # @yieldparam err [StandardError] error object if request failed
3820
+ #
3821
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
3822
+ #
3823
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3824
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3825
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3826
+ def create_project_location_agent_transition_route_group(parent, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
3827
+ command = make_simple_command(:post, 'v3beta1/{+parent}/transitionRouteGroups', options)
3828
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
3829
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
3830
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
3831
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
3832
+ command.params['parent'] = parent unless parent.nil?
3833
+ command.query['languageCode'] = language_code unless language_code.nil?
3834
+ command.query['fields'] = fields unless fields.nil?
3835
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3836
+ execute_or_queue_command(command, &block)
3837
+ end
3838
+
3839
+ # Deletes the specified TransitionRouteGroup. Note: You should always train a
3840
+ # flow prior to sending it queries. See the [training documentation](https://
3841
+ # cloud.google.com/dialogflow/cx/docs/concept/training).
3842
+ # @param [String] name
3843
+ # Required. The name of the TransitionRouteGroup to delete. Format: `projects//
3844
+ # locations//agents//flows//transitionRouteGroups/` or `projects//locations//
3845
+ # agents//transitionRouteGroups/`.
3846
+ # @param [Boolean] force
3847
+ # This field has no effect for transition route group that no page is using. If
3848
+ # the transition route group is referenced by any page: * If `force` is set to
3849
+ # false, an error will be returned with message indicating pages that reference
3850
+ # the transition route group. * If `force` is set to true, Dialogflow will
3851
+ # remove the transition route group, as well as any reference to it.
3852
+ # @param [String] fields
3853
+ # Selector specifying which fields to include in a partial response.
3854
+ # @param [String] quota_user
3855
+ # Available to use for quota purposes for server-side applications. Can be any
3856
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3857
+ # @param [Google::Apis::RequestOptions] options
3858
+ # Request-specific options
3859
+ #
3860
+ # @yield [result, err] Result & error if block supplied
3861
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
3862
+ # @yieldparam err [StandardError] error object if request failed
3863
+ #
3864
+ # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
3865
+ #
3866
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3867
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3868
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3869
+ def delete_project_location_agent_transition_route_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
3870
+ command = make_simple_command(:delete, 'v3beta1/{+name}', options)
3871
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
3872
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
3873
+ command.params['name'] = name unless name.nil?
3874
+ command.query['force'] = force unless force.nil?
3875
+ command.query['fields'] = fields unless fields.nil?
3876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3877
+ execute_or_queue_command(command, &block)
3878
+ end
3879
+
3880
+ # Retrieves the specified TransitionRouteGroup.
3881
+ # @param [String] name
3882
+ # Required. The name of the TransitionRouteGroup. Format: `projects//locations//
3883
+ # agents//flows//transitionRouteGroups/` or `projects//locations//agents//
3884
+ # transitionRouteGroups/`.
3885
+ # @param [String] language_code
3886
+ # The language to retrieve the transition route group for. The following fields
3887
+ # are language dependent: * `TransitionRouteGroup.transition_routes.
3888
+ # trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
3889
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
3890
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
3891
+ # reference/language) are supported. Note: languages must be enabled in the
3892
+ # agent before they can be used.
3893
+ # @param [String] fields
3894
+ # Selector specifying which fields to include in a partial response.
3895
+ # @param [String] quota_user
3896
+ # Available to use for quota purposes for server-side applications. Can be any
3897
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3898
+ # @param [Google::Apis::RequestOptions] options
3899
+ # Request-specific options
3900
+ #
3901
+ # @yield [result, err] Result & error if block supplied
3902
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
3903
+ # @yieldparam err [StandardError] error object if request failed
3904
+ #
3905
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
3906
+ #
3907
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3908
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3909
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3910
+ def get_project_location_agent_transition_route_group(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
3911
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
3912
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
3913
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
3914
+ command.params['name'] = name unless name.nil?
3915
+ command.query['languageCode'] = language_code unless language_code.nil?
3916
+ command.query['fields'] = fields unless fields.nil?
3917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3918
+ execute_or_queue_command(command, &block)
3919
+ end
3920
+
3921
+ # Returns the list of all transition route groups in the specified flow.
3922
+ # @param [String] parent
3923
+ # Required. The flow to list all transition route groups for. Format: `projects//
3924
+ # locations//agents//flows/` or `projects//locations//agents/.
3925
+ # @param [String] language_code
3926
+ # The language to list transition route groups for. The following fields are
3927
+ # language dependent: * `TransitionRouteGroup.transition_routes.
3928
+ # trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
3929
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
3930
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
3931
+ # reference/language) are supported. Note: languages must be enabled in the
3932
+ # agent before they can be used.
3933
+ # @param [Fixnum] page_size
3934
+ # The maximum number of items to return in a single page. By default 100 and at
3935
+ # most 1000.
3936
+ # @param [String] page_token
3937
+ # The next_page_token value returned from a previous list request.
3938
+ # @param [String] fields
3939
+ # Selector specifying which fields to include in a partial response.
3940
+ # @param [String] quota_user
3941
+ # Available to use for quota purposes for server-side applications. Can be any
3942
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3943
+ # @param [Google::Apis::RequestOptions] options
3944
+ # Request-specific options
3945
+ #
3946
+ # @yield [result, err] Result & error if block supplied
3947
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse] parsed result object
3948
+ # @yieldparam err [StandardError] error object if request failed
3949
+ #
3950
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse]
3951
+ #
3952
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3953
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3954
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3955
+ 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)
3956
+ command = make_simple_command(:get, 'v3beta1/{+parent}/transitionRouteGroups', options)
3957
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse::Representation
3958
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse
3959
+ command.params['parent'] = parent unless parent.nil?
3960
+ command.query['languageCode'] = language_code unless language_code.nil?
3961
+ command.query['pageSize'] = page_size unless page_size.nil?
3962
+ command.query['pageToken'] = page_token unless page_token.nil?
3963
+ command.query['fields'] = fields unless fields.nil?
3964
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3965
+ execute_or_queue_command(command, &block)
3966
+ end
3967
+
3968
+ # Updates the specified TransitionRouteGroup. Note: You should always train a
3969
+ # flow prior to sending it queries. See the [training documentation](https://
3970
+ # cloud.google.com/dialogflow/cx/docs/concept/training).
3971
+ # @param [String] name
3972
+ # The unique identifier of the transition route group. TransitionRouteGroups.
3973
+ # CreateTransitionRouteGroup populates the name automatically. Format: `projects/
3974
+ # /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
3975
+ # agents//transitionRouteGroups/` for agent-level groups.
3976
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
3977
+ # @param [String] language_code
3978
+ # The language of the following fields in `TransitionRouteGroup`: * `
3979
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
3980
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
3981
+ # If not specified, the agent's default language is used. [Many languages](https:
3982
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
3983
+ # languages must be enabled in the agent before they can be used.
3984
+ # @param [String] update_mask
3985
+ # The mask to control which fields get updated.
3986
+ # @param [String] fields
3987
+ # Selector specifying which fields to include in a partial response.
3988
+ # @param [String] quota_user
3989
+ # Available to use for quota purposes for server-side applications. Can be any
3990
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3991
+ # @param [Google::Apis::RequestOptions] options
3992
+ # Request-specific options
3993
+ #
3994
+ # @yield [result, err] Result & error if block supplied
3995
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
3996
+ # @yieldparam err [StandardError] error object if request failed
3997
+ #
3998
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
3999
+ #
4000
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4001
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4002
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4003
+ def patch_project_location_agent_transition_route_group(name, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4004
+ command = make_simple_command(:patch, 'v3beta1/{+name}', options)
4005
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
4006
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
4007
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
4008
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
4009
+ command.params['name'] = name unless name.nil?
4010
+ command.query['languageCode'] = language_code unless language_code.nil?
4011
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4012
+ command.query['fields'] = fields unless fields.nil?
4013
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4014
+ execute_or_queue_command(command, &block)
4015
+ end
4016
+
3790
4017
  # Creates a webhook in the specified agent.
3791
4018
  # @param [String] parent
3792
4019
  # 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_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.66.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []