google-apis-dialogflow_v3 0.64.0 → 0.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e6e7e4c1baf34f48f23db561078a2b270565e349d2eb4fd1785b0d3e995a21f
4
- data.tar.gz: a66740f99667b074fd0f756d6bf6f8a1f846c9dc16db93f576442a9d67dd5e43
3
+ metadata.gz: 5c49e35c018048a1b2b920113e1108cd26c601641bd695735e898d261683053a
4
+ data.tar.gz: cc10261ed0a7da0998211decd2922abdae4577f5fae6117c60856e262ecf22b8
5
5
  SHA512:
6
- metadata.gz: b95cdd23306c8c396578e927f24df05bfc2c2060314a9db2c823a65c53a47ca6bcefe0f41e1c06a6f51ba6c3728da5bcae46bd0827dac313125f8db84f302fc7
7
- data.tar.gz: 115667707d094aaa9317227672c8803a4e1434b158ffc094436b6b576fe7ae2648a7c8b3c48db46ed98b25e6851c678db92d5074d006e92eb5988b514a34af80
6
+ metadata.gz: 385f9d2db83d07abee511e796d6ef0fa6ff03b3728d0aee0bac712f111eb9184a35cfcf8760ef7a30eb2171bb5d226f27e256d56afa33c9bfaa292e2b9250b6a
7
+ data.tar.gz: ef9efc90a4be21e8cb582757a6bf2852a86bde8bc9a887c676afe0d3cd1b4b2a59e8efd253eeaffa51648e557f5b953f8caf3e3a1c3242afc3f76dcf78ae5124
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.66.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230807
6
+
7
+ ### v0.65.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230717
10
+
3
11
  ### v0.64.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230705
@@ -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 conversation flows..
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
 
@@ -263,7 +264,7 @@ module Google
263
264
  # @return [String]
264
265
  attr_accessor :repository_uri
265
266
 
266
- # The branch of GitHub repository tracked for this agent.
267
+ # The branch of the GitHub repository tracked for this agent.
267
268
  # Corresponds to the JSON property `trackingBranch`
268
269
  # @return [String]
269
270
  attr_accessor :tracking_branch
@@ -1852,7 +1853,7 @@ module Google
1852
1853
  # @return [String]
1853
1854
  attr_accessor :agent_uri
1854
1855
 
1855
- # Commit SHA of the git push. This field is populated if `git_destination` are
1856
+ # Commit SHA of the git push. This field is populated if `git_destination` is
1856
1857
  # specified in ExportAgentRequest.
1857
1858
  # Corresponds to the JSON property `commitSha`
1858
1859
  # @return [String]
@@ -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
@@ -4498,6 +4530,11 @@ module Google
4498
4530
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
4499
4531
  attr_accessor :play_audio
4500
4532
 
4533
+ # Response type.
4534
+ # Corresponds to the JSON property `responseType`
4535
+ # @return [String]
4536
+ attr_accessor :response_type
4537
+
4501
4538
  # Represents the signal that telles the client to transfer the phone call
4502
4539
  # connected to the agent to a third-party endpoint.
4503
4540
  # Corresponds to the JSON property `telephonyTransferCall`
@@ -4523,6 +4560,7 @@ module Google
4523
4560
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
4524
4561
  @payload = args[:payload] if args.key?(:payload)
4525
4562
  @play_audio = args[:play_audio] if args.key?(:play_audio)
4563
+ @response_type = args[:response_type] if args.key?(:response_type)
4526
4564
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
4527
4565
  @text = args[:text] if args.key?(:text)
4528
4566
  end
@@ -5911,7 +5949,7 @@ module Google
5911
5949
  end
5912
5950
  end
5913
5951
 
5914
- # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
5952
+ # A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
5915
5953
  # a Page.
5916
5954
  class GoogleCloudDialogflowCxV3TransitionRouteGroup
5917
5955
  include Google::Apis::Core::Hashable
@@ -5924,7 +5962,7 @@ module Google
5924
5962
 
5925
5963
  # The unique identifier of the transition route group. TransitionRouteGroups.
5926
5964
  # CreateTransitionRouteGroup populates the name automatically. Format: `projects/
5927
- # /locations//agents//flows//transitionRouteGroups/`.
5965
+ # /locations//agents//flows//transitionRouteGroups/` .
5928
5966
  # Corresponds to the JSON property `name`
5929
5967
  # @return [String]
5930
5968
  attr_accessor :name
@@ -5984,7 +6022,7 @@ module Google
5984
6022
  # @return [Float]
5985
6023
  attr_accessor :coverage_score
5986
6024
 
5987
- # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
6025
+ # A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
5988
6026
  # a Page.
5989
6027
  # Corresponds to the JSON property `routeGroup`
5990
6028
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
@@ -7492,7 +7530,7 @@ module Google
7492
7530
  # @return [String]
7493
7531
  attr_accessor :agent_uri
7494
7532
 
7495
- # Commit SHA of the git push. This field is populated if `git_destination` are
7533
+ # Commit SHA of the git push. This field is populated if `git_destination` is
7496
7534
  # specified in ExportAgentRequest.
7497
7535
  # Corresponds to the JSON property `commitSha`
7498
7536
  # @return [String]
@@ -8368,7 +8406,8 @@ module Google
8368
8406
  # page's transition route -> page's transition route group -> flow's transition
8369
8407
  # routes. * If multiple transition route groups within a page contain the same
8370
8408
  # intent, then the first group in the ordered list takes precedence. Format:`
8371
- # projects//locations//agents//flows//transitionRouteGroups/`.
8409
+ # projects//locations//agents//flows//transitionRouteGroups/` or `projects//
8410
+ # locations//agents//transitionRouteGroups/` for agent-level groups.
8372
8411
  # Corresponds to the JSON property `transitionRouteGroups`
8373
8412
  # @return [Array<String>]
8374
8413
  attr_accessor :transition_route_groups
@@ -10147,7 +10186,7 @@ module Google
10147
10186
  # Required. The unique identifier of the context. Format: `projects//agent/
10148
10187
  # sessions//contexts/`, or `projects//agent/environments//users//sessions//
10149
10188
  # contexts/`. The `Context ID` is always converted to lowercase, may only
10150
- # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
10189
+ # contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `
10151
10190
  # Environment ID` is not specified, we assume default 'draft' environment. If `
10152
10191
  # User ID` is not specified, we assume default '-' user. The following context
10153
10192
  # names are reserved for internal use by Dialogflow. You should not use these
@@ -10160,12 +10199,12 @@ module Google
10160
10199
  # Optional. The collection of parameters associated with this context. Depending
10161
10200
  # on your protocol or client library language, this is a map, associative array,
10162
10201
  # symbol table, dictionary, or JSON object composed of a collection of (MapKey,
10163
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
10164
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
10165
- # depending on parameter value type, could be one of string, number, boolean,
10166
- # null, list or map - MapValue value: - If parameter's entity type is a
10167
- # composite entity: map from composite entity property names to property values -
10168
- # Else: parameter value
10202
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
10203
+ # MapValue type: If parameter's entity type is a composite entity then use map,
10204
+ # otherwise, depending on the parameter value type, it could be one of string,
10205
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
10206
+ # type is a composite entity then use map from composite entity property names
10207
+ # to property values, otherwise, use parameter value.
10169
10208
  # Corresponds to the JSON property `parameters`
10170
10209
  # @return [Hash<String,Object>]
10171
10210
  attr_accessor :parameters
@@ -10568,12 +10607,12 @@ module Google
10568
10607
  # The collection of parameters associated with the event. Depending on your
10569
10608
  # protocol or client library language, this is a map, associative array, symbol
10570
10609
  # table, dictionary, or JSON object composed of a collection of (MapKey,
10571
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
10572
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
10573
- # depending on parameter value type, could be one of string, number, boolean,
10574
- # null, list or map - MapValue value: - If parameter's entity type is a
10575
- # composite entity: map from composite entity property names to property values -
10576
- # Else: parameter value
10610
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
10611
+ # MapValue type: If parameter's entity type is a composite entity then use map,
10612
+ # otherwise, depending on the parameter value type, it could be one of string,
10613
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
10614
+ # type is a composite entity then use map from composite entity property names
10615
+ # to property values, otherwise, use parameter value.
10577
10616
  # Corresponds to the JSON property `parameters`
10578
10617
  # @return [Hash<String,Object>]
10579
10618
  attr_accessor :parameters
@@ -10694,8 +10733,8 @@ module Google
10694
10733
  class GoogleCloudDialogflowV2GcsDestination
10695
10734
  include Google::Apis::Core::Hashable
10696
10735
 
10697
- # The Google Cloud Storage URIs for the output. A URI is of the form: gs://
10698
- # bucket/object-prefix-or-name Whether a prefix or name is used depends on the
10736
+ # The Google Cloud Storage URIs for the output. A URI is of the form: `gs://
10737
+ # bucket/object-prefix-or-name` Whether a prefix or name is used depends on the
10699
10738
  # use case. The requesting user must have "write-permission" to the bucket.
10700
10739
  # Corresponds to the JSON property `uri`
10701
10740
  # @return [String]
@@ -12354,12 +12393,13 @@ module Google
12354
12393
 
12355
12394
  # The collection of extracted parameters. Depending on your protocol or client
12356
12395
  # library language, this is a map, associative array, symbol table, dictionary,
12357
- # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
12358
- # type: string - MapKey value: parameter name - MapValue type: - If parameter's
12359
- # entity type is a composite entity: map - Else: depending on parameter value
12360
- # type, could be one of string, number, boolean, null, list or map - MapValue
12361
- # value: - If parameter's entity type is a composite entity: map from composite
12362
- # entity property names to property values - Else: parameter value
12396
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
12397
+ # type: string * MapKey value: parameter name * MapValue type: If parameter's
12398
+ # entity type is a composite entity then use map, otherwise, depending on the
12399
+ # parameter value type, it could be one of string, number, boolean, null, list
12400
+ # or map. * MapValue value: If parameter's entity type is a composite entity
12401
+ # then use map from composite entity property names to property values,
12402
+ # otherwise, use parameter value.
12363
12403
  # Corresponds to the JSON property `parameters`
12364
12404
  # @return [Hash<String,Object>]
12365
12405
  attr_accessor :parameters
@@ -13115,7 +13155,7 @@ module Google
13115
13155
  # /agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`
13116
13156
  # , - `projects//agent/environments//users//sessions//contexts/`, - `projects//
13117
13157
  # locations//agent/environments//users//sessions//contexts/`, The `Context ID`
13118
- # is always converted to lowercase, may only contain characters in a-zA-Z0-9_-%
13158
+ # is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%`
13119
13159
  # and may be at most 250 bytes long. If `Environment ID` is not specified, we
13120
13160
  # assume default 'draft' environment. If `User ID` is not specified, we assume
13121
13161
  # default '-' user. The following context names are reserved for internal use by
@@ -13128,12 +13168,12 @@ module Google
13128
13168
  # Optional. The collection of parameters associated with this context. Depending
13129
13169
  # on your protocol or client library language, this is a map, associative array,
13130
13170
  # symbol table, dictionary, or JSON object composed of a collection of (MapKey,
13131
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
13132
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
13133
- # depending on parameter value type, could be one of string, number, boolean,
13134
- # null, list or map - MapValue value: - If parameter's entity type is a
13135
- # composite entity: map from composite entity property names to property values -
13136
- # Else: parameter value
13171
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
13172
+ # MapValue type: If parameter's entity type is a composite entity then use map,
13173
+ # otherwise, depending on the parameter value type, it could be one of string,
13174
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
13175
+ # type is a composite entity then use map from composite entity property names
13176
+ # to property values, otherwise, use parameter value.
13137
13177
  # Corresponds to the JSON property `parameters`
13138
13178
  # @return [Hash<String,Object>]
13139
13179
  attr_accessor :parameters
@@ -13344,12 +13384,12 @@ module Google
13344
13384
  # The collection of parameters associated with the event. Depending on your
13345
13385
  # protocol or client library language, this is a map, associative array, symbol
13346
13386
  # table, dictionary, or JSON object composed of a collection of (MapKey,
13347
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
13348
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
13349
- # depending on parameter value type, could be one of string, number, boolean,
13350
- # null, list or map - MapValue value: - If parameter's entity type is a
13351
- # composite entity: map from composite entity property names to property values -
13352
- # Else: parameter value
13387
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
13388
+ # MapValue type: If parameter's entity type is a composite entity then use map,
13389
+ # otherwise, depending on the parameter value type, it could be one of string,
13390
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
13391
+ # type is a composite entity then use map from composite entity property names
13392
+ # to property values, otherwise, use parameter value.
13353
13393
  # Corresponds to the JSON property `parameters`
13354
13394
  # @return [Hash<String,Object>]
13355
13395
  attr_accessor :parameters
@@ -13470,8 +13510,8 @@ module Google
13470
13510
  class GoogleCloudDialogflowV2beta1GcsDestination
13471
13511
  include Google::Apis::Core::Hashable
13472
13512
 
13473
- # Required. The Google Cloud Storage URIs for the output. A URI is of the form:
13474
- # gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
13513
+ # Required. The Google Cloud Storage URIs for the output. A URI is of the form: `
13514
+ # gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on
13475
13515
  # the use case. The requesting user must have "write-permission" to the bucket.
13476
13516
  # Corresponds to the JSON property `uri`
13477
13517
  # @return [String]
@@ -15638,12 +15678,13 @@ module Google
15638
15678
 
15639
15679
  # The collection of extracted parameters. Depending on your protocol or client
15640
15680
  # library language, this is a map, associative array, symbol table, dictionary,
15641
- # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
15642
- # type: string - MapKey value: parameter name - MapValue type: - If parameter's
15643
- # entity type is a composite entity: map - Else: depending on parameter value
15644
- # type, could be one of string, number, boolean, null, list or map - MapValue
15645
- # value: - If parameter's entity type is a composite entity: map from composite
15646
- # entity property names to property values - Else: parameter value
15681
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
15682
+ # type: string * MapKey value: parameter name * MapValue type: If parameter's
15683
+ # entity type is a composite entity then use map, otherwise, depending on the
15684
+ # parameter value type, it could be one of string, number, boolean, null, list
15685
+ # or map. * MapValue value: If parameter's entity type is a composite entity
15686
+ # then use map from composite entity property names to property values,
15687
+ # otherwise, use parameter value.
15647
15688
  # Corresponds to the JSON property `parameters`
15648
15689
  # @return [Hash<String,Object>]
15649
15690
  attr_accessor :parameters
@@ -16622,13 +16663,13 @@ module Google
16622
16663
  # @return [String]
16623
16664
  attr_accessor :name
16624
16665
 
16625
- # The normal response of the operation in case of success. If the original
16626
- # method returns no data on success, such as `Delete`, the response is `google.
16627
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
16628
- # the response should be the resource. For other methods, the response should
16629
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
16630
- # example, if the original method name is `TakeSnapshot()`, the inferred
16631
- # response type is `TakeSnapshotResponse`.
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`.
16632
16673
  # Corresponds to the JSON property `response`
16633
16674
  # @return [Hash<String,Object>]
16634
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.64.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 = "20230705"
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
@@ -3905,6 +3920,7 @@ module Google
3905
3920
  hash :payload, as: 'payload'
3906
3921
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
3907
3922
 
3923
+ property :response_type, as: 'responseType'
3908
3924
  property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
3909
3925
 
3910
3926
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
@@ -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.64.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-09 00:00:00.000000000 Z
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.64.0
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: []