google-apis-dialogflow_v3beta1 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: e2af9739ecde011bfcf2343667370cf67903244189284a6256f83d0f88a9d3aa
4
- data.tar.gz: bc133976f775536f0bfde75fa733ab602ae9d02023c5991db3cf614e36bc14e7
3
+ metadata.gz: '08c4a8acd642b3a42794b0ac2aa0120f481915fcc245ed2b8a16254c94e0c37d'
4
+ data.tar.gz: c4babed1e0fa9819e20fba0ea34acc7abc3b9732397df35605a3ec572b004111
5
5
  SHA512:
6
- metadata.gz: 8176bd04daafb39c575f3ce425b325aec210e8114f376e8a5bc3e8a4db9bc81a2f3895e14e4ed32140b5c10d9044e58c463f99a25d4d4c420cb3ca97f1548f7f
7
- data.tar.gz: 39639cee093ff962e308a0ad88aca1831eae1f77bedca4cee6ce798322832f4e2acb29fa3eb6756284b21b757d82e2f8a39b996341f1b870d2f30dc30a8e81d8
6
+ metadata.gz: d487a32c1368533084b42405c3b216a8f0d302360fc40c32b2de1464637ab22f9f677d200304cbd57283f10a4ced813ea2d557a3374f4238b48735cac5dab063
7
+ data.tar.gz: d23eb5f61216ba0df50c93e28bed9106ba4fd4f1513136e5f1b921470d07e48d331fbab4682a6002335a0292e42715431a3204ddde4d53781492a32cde64c430
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
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
@@ -666,7 +666,7 @@ module Google
666
666
  # @return [String]
667
667
  attr_accessor :agent_uri
668
668
 
669
- # Commit SHA of the git push. This field is populated if `git_destination` are
669
+ # Commit SHA of the git push. This field is populated if `git_destination` is
670
670
  # specified in ExportAgentRequest.
671
671
  # Corresponds to the JSON property `commitSha`
672
672
  # @return [String]
@@ -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
@@ -1836,6 +1837,11 @@ module Google
1836
1837
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
1837
1838
  attr_accessor :play_audio
1838
1839
 
1840
+ # Response type.
1841
+ # Corresponds to the JSON property `responseType`
1842
+ # @return [String]
1843
+ attr_accessor :response_type
1844
+
1839
1845
  # Represents the signal that telles the client to transfer the phone call
1840
1846
  # connected to the agent to a third-party endpoint.
1841
1847
  # Corresponds to the JSON property `telephonyTransferCall`
@@ -1861,6 +1867,7 @@ module Google
1861
1867
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
1862
1868
  @payload = args[:payload] if args.key?(:payload)
1863
1869
  @play_audio = args[:play_audio] if args.key?(:play_audio)
1870
+ @response_type = args[:response_type] if args.key?(:response_type)
1864
1871
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
1865
1872
  @text = args[:text] if args.key?(:text)
1866
1873
  end
@@ -3171,7 +3178,8 @@ module Google
3171
3178
  # transform user requests into actionable data. You can include agents in your
3172
3179
  # app, product, or service to determine user intent and respond to the user in a
3173
3180
  # natural way. After you create an agent, you can add Intents, Entity Types,
3174
- # 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.
3175
3183
  class GoogleCloudDialogflowCxV3beta1Agent
3176
3184
  include Google::Apis::Core::Hashable
3177
3185
 
@@ -3348,7 +3356,7 @@ module Google
3348
3356
  # @return [String]
3349
3357
  attr_accessor :repository_uri
3350
3358
 
3351
- # The branch of GitHub repository tracked for this agent.
3359
+ # The branch of the GitHub repository tracked for this agent.
3352
3360
  # Corresponds to the JSON property `trackingBranch`
3353
3361
  # @return [String]
3354
3362
  attr_accessor :tracking_branch
@@ -4937,7 +4945,7 @@ module Google
4937
4945
  # @return [String]
4938
4946
  attr_accessor :agent_uri
4939
4947
 
4940
- # Commit SHA of the git push. This field is populated if `git_destination` are
4948
+ # Commit SHA of the git push. This field is populated if `git_destination` is
4941
4949
  # specified in ExportAgentRequest.
4942
4950
  # Corresponds to the JSON property `commitSha`
4943
4951
  # @return [String]
@@ -5147,7 +5155,8 @@ module Google
5147
5155
  # matching the user's first utterances in the flow. * They are inherited by
5148
5156
  # every page's transition route groups. Transition route groups defined in the
5149
5157
  # page have higher priority than those defined in the flow. Format:`projects//
5150
- # locations//agents//flows//transitionRouteGroups/`.
5158
+ # locations//agents//flows//transitionRouteGroups/` or `projects//locations//
5159
+ # agents//transitionRouteGroups/` for agent-level groups.
5151
5160
  # Corresponds to the JSON property `transitionRouteGroups`
5152
5161
  # @return [Array<String>]
5153
5162
  attr_accessor :transition_route_groups
@@ -5181,6 +5190,29 @@ module Google
5181
5190
  end
5182
5191
  end
5183
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
+
5184
5216
  # The response message for Flows.GetFlowValidationResult.
5185
5217
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
5186
5218
  include Google::Apis::Core::Hashable
@@ -5696,6 +5728,12 @@ module Google
5696
5728
  # @return [String]
5697
5729
  attr_accessor :flow_content
5698
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
+
5699
5737
  # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
5700
5738
  # import flow from. The format of this URI must be `gs:///`. Dialogflow performs
5701
5739
  # a read operation for the Cloud Storage object on the caller's behalf, so your
@@ -5718,6 +5756,7 @@ module Google
5718
5756
  # Update properties of this object
5719
5757
  def update!(**args)
5720
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)
5721
5760
  @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
5722
5761
  @import_option = args[:import_option] if args.key?(:import_option)
5723
5762
  end
@@ -6973,7 +7012,8 @@ module Google
6973
7012
  # page's transition route -> page's transition route group -> flow's transition
6974
7013
  # routes. * If multiple transition route groups within a page contain the same
6975
7014
  # intent, then the first group in the ordered list takes precedence. Format:`
6976
- # projects//locations//agents//flows//transitionRouteGroups/`.
7015
+ # projects//locations//agents//flows//transitionRouteGroups/` or `projects//
7016
+ # locations//agents//transitionRouteGroups/` for agent-level groups.
6977
7017
  # Corresponds to the JSON property `transitionRouteGroups`
6978
7018
  # @return [Array<String>]
6979
7019
  attr_accessor :transition_route_groups
@@ -8998,7 +9038,7 @@ module Google
8998
9038
  end
8999
9039
  end
9000
9040
 
9001
- # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9041
+ # A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9002
9042
  # a Page.
9003
9043
  class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
9004
9044
  include Google::Apis::Core::Hashable
@@ -9011,7 +9051,8 @@ module Google
9011
9051
 
9012
9052
  # The unique identifier of the transition route group. TransitionRouteGroups.
9013
9053
  # CreateTransitionRouteGroup populates the name automatically. Format: `projects/
9014
- # /locations//agents//flows//transitionRouteGroups/`.
9054
+ # /locations//agents//flows//transitionRouteGroups/` or `projects//locations//
9055
+ # agents//transitionRouteGroups/` for agent-level groups.
9015
9056
  # Corresponds to the JSON property `name`
9016
9057
  # @return [String]
9017
9058
  attr_accessor :name
@@ -9071,7 +9112,7 @@ module Google
9071
9112
  # @return [Float]
9072
9113
  attr_accessor :coverage_score
9073
9114
 
9074
- # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9115
+ # A TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
9075
9116
  # a Page.
9076
9117
  # Corresponds to the JSON property `routeGroup`
9077
9118
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
@@ -10149,7 +10190,7 @@ module Google
10149
10190
  # Required. The unique identifier of the context. Format: `projects//agent/
10150
10191
  # sessions//contexts/`, or `projects//agent/environments//users//sessions//
10151
10192
  # contexts/`. The `Context ID` is always converted to lowercase, may only
10152
- # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
10193
+ # contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `
10153
10194
  # Environment ID` is not specified, we assume default 'draft' environment. If `
10154
10195
  # User ID` is not specified, we assume default '-' user. The following context
10155
10196
  # names are reserved for internal use by Dialogflow. You should not use these
@@ -10162,12 +10203,12 @@ module Google
10162
10203
  # Optional. The collection of parameters associated with this context. Depending
10163
10204
  # on your protocol or client library language, this is a map, associative array,
10164
10205
  # symbol table, dictionary, or JSON object composed of a collection of (MapKey,
10165
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
10166
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
10167
- # depending on parameter value type, could be one of string, number, boolean,
10168
- # null, list or map - MapValue value: - If parameter's entity type is a
10169
- # composite entity: map from composite entity property names to property values -
10170
- # Else: parameter value
10206
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
10207
+ # MapValue type: If parameter's entity type is a composite entity then use map,
10208
+ # otherwise, depending on the parameter value type, it could be one of string,
10209
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
10210
+ # type is a composite entity then use map from composite entity property names
10211
+ # to property values, otherwise, use parameter value.
10171
10212
  # Corresponds to the JSON property `parameters`
10172
10213
  # @return [Hash<String,Object>]
10173
10214
  attr_accessor :parameters
@@ -10570,12 +10611,12 @@ module Google
10570
10611
  # The collection of parameters associated with the event. Depending on your
10571
10612
  # protocol or client library language, this is a map, associative array, symbol
10572
10613
  # table, dictionary, or JSON object composed of a collection of (MapKey,
10573
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
10574
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
10575
- # depending on parameter value type, could be one of string, number, boolean,
10576
- # null, list or map - MapValue value: - If parameter's entity type is a
10577
- # composite entity: map from composite entity property names to property values -
10578
- # Else: parameter value
10614
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
10615
+ # MapValue type: If parameter's entity type is a composite entity then use map,
10616
+ # otherwise, depending on the parameter value type, it could be one of string,
10617
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
10618
+ # type is a composite entity then use map from composite entity property names
10619
+ # to property values, otherwise, use parameter value.
10579
10620
  # Corresponds to the JSON property `parameters`
10580
10621
  # @return [Hash<String,Object>]
10581
10622
  attr_accessor :parameters
@@ -10696,8 +10737,8 @@ module Google
10696
10737
  class GoogleCloudDialogflowV2GcsDestination
10697
10738
  include Google::Apis::Core::Hashable
10698
10739
 
10699
- # The Google Cloud Storage URIs for the output. A URI is of the form: gs://
10700
- # bucket/object-prefix-or-name Whether a prefix or name is used depends on the
10740
+ # The Google Cloud Storage URIs for the output. A URI is of the form: `gs://
10741
+ # bucket/object-prefix-or-name` Whether a prefix or name is used depends on the
10701
10742
  # use case. The requesting user must have "write-permission" to the bucket.
10702
10743
  # Corresponds to the JSON property `uri`
10703
10744
  # @return [String]
@@ -12356,12 +12397,13 @@ module Google
12356
12397
 
12357
12398
  # The collection of extracted parameters. Depending on your protocol or client
12358
12399
  # library language, this is a map, associative array, symbol table, dictionary,
12359
- # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
12360
- # type: string - MapKey value: parameter name - MapValue type: - If parameter's
12361
- # entity type is a composite entity: map - Else: depending on parameter value
12362
- # type, could be one of string, number, boolean, null, list or map - MapValue
12363
- # value: - If parameter's entity type is a composite entity: map from composite
12364
- # entity property names to property values - Else: parameter value
12400
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
12401
+ # type: string * MapKey value: parameter name * MapValue type: If parameter's
12402
+ # entity type is a composite entity then use map, otherwise, depending on the
12403
+ # parameter value type, it could be one of string, number, boolean, null, list
12404
+ # or map. * MapValue value: If parameter's entity type is a composite entity
12405
+ # then use map from composite entity property names to property values,
12406
+ # otherwise, use parameter value.
12365
12407
  # Corresponds to the JSON property `parameters`
12366
12408
  # @return [Hash<String,Object>]
12367
12409
  attr_accessor :parameters
@@ -13117,7 +13159,7 @@ module Google
13117
13159
  # /agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`
13118
13160
  # , - `projects//agent/environments//users//sessions//contexts/`, - `projects//
13119
13161
  # locations//agent/environments//users//sessions//contexts/`, The `Context ID`
13120
- # is always converted to lowercase, may only contain characters in a-zA-Z0-9_-%
13162
+ # is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%`
13121
13163
  # and may be at most 250 bytes long. If `Environment ID` is not specified, we
13122
13164
  # assume default 'draft' environment. If `User ID` is not specified, we assume
13123
13165
  # default '-' user. The following context names are reserved for internal use by
@@ -13130,12 +13172,12 @@ module Google
13130
13172
  # Optional. The collection of parameters associated with this context. Depending
13131
13173
  # on your protocol or client library language, this is a map, associative array,
13132
13174
  # symbol table, dictionary, or JSON object composed of a collection of (MapKey,
13133
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
13134
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
13135
- # depending on parameter value type, could be one of string, number, boolean,
13136
- # null, list or map - MapValue value: - If parameter's entity type is a
13137
- # composite entity: map from composite entity property names to property values -
13138
- # Else: parameter value
13175
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
13176
+ # MapValue type: If parameter's entity type is a composite entity then use map,
13177
+ # otherwise, depending on the parameter value type, it could be one of string,
13178
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
13179
+ # type is a composite entity then use map from composite entity property names
13180
+ # to property values, otherwise, use parameter value.
13139
13181
  # Corresponds to the JSON property `parameters`
13140
13182
  # @return [Hash<String,Object>]
13141
13183
  attr_accessor :parameters
@@ -13346,12 +13388,12 @@ module Google
13346
13388
  # The collection of parameters associated with the event. Depending on your
13347
13389
  # protocol or client library language, this is a map, associative array, symbol
13348
13390
  # table, dictionary, or JSON object composed of a collection of (MapKey,
13349
- # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
13350
- # MapValue type: - If parameter's entity type is a composite entity: map - Else:
13351
- # depending on parameter value type, could be one of string, number, boolean,
13352
- # null, list or map - MapValue value: - If parameter's entity type is a
13353
- # composite entity: map from composite entity property names to property values -
13354
- # Else: parameter value
13391
+ # MapValue) pairs: * MapKey type: string * MapKey value: parameter name *
13392
+ # MapValue type: If parameter's entity type is a composite entity then use map,
13393
+ # otherwise, depending on the parameter value type, it could be one of string,
13394
+ # number, boolean, null, list or map. * MapValue value: If parameter's entity
13395
+ # type is a composite entity then use map from composite entity property names
13396
+ # to property values, otherwise, use parameter value.
13355
13397
  # Corresponds to the JSON property `parameters`
13356
13398
  # @return [Hash<String,Object>]
13357
13399
  attr_accessor :parameters
@@ -13472,8 +13514,8 @@ module Google
13472
13514
  class GoogleCloudDialogflowV2beta1GcsDestination
13473
13515
  include Google::Apis::Core::Hashable
13474
13516
 
13475
- # Required. The Google Cloud Storage URIs for the output. A URI is of the form:
13476
- # gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on
13517
+ # Required. The Google Cloud Storage URIs for the output. A URI is of the form: `
13518
+ # gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on
13477
13519
  # the use case. The requesting user must have "write-permission" to the bucket.
13478
13520
  # Corresponds to the JSON property `uri`
13479
13521
  # @return [String]
@@ -15640,12 +15682,13 @@ module Google
15640
15682
 
15641
15683
  # The collection of extracted parameters. Depending on your protocol or client
15642
15684
  # library language, this is a map, associative array, symbol table, dictionary,
15643
- # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
15644
- # type: string - MapKey value: parameter name - MapValue type: - If parameter's
15645
- # entity type is a composite entity: map - Else: depending on parameter value
15646
- # type, could be one of string, number, boolean, null, list or map - MapValue
15647
- # value: - If parameter's entity type is a composite entity: map from composite
15648
- # entity property names to property values - Else: parameter value
15685
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey
15686
+ # type: string * MapKey value: parameter name * MapValue type: If parameter's
15687
+ # entity type is a composite entity then use map, otherwise, depending on the
15688
+ # parameter value type, it could be one of string, number, boolean, null, list
15689
+ # or map. * MapValue value: If parameter's entity type is a composite entity
15690
+ # then use map from composite entity property names to property values,
15691
+ # otherwise, use parameter value.
15649
15692
  # Corresponds to the JSON property `parameters`
15650
15693
  # @return [Hash<String,Object>]
15651
15694
  attr_accessor :parameters
@@ -16624,13 +16667,13 @@ module Google
16624
16667
  # @return [String]
16625
16668
  attr_accessor :name
16626
16669
 
16627
- # The normal response of the operation in case of success. If the original
16628
- # method returns no data on success, such as `Delete`, the response is `google.
16629
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
16630
- # the response should be the resource. For other methods, the response should
16631
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
16632
- # example, if the original method name is `TakeSnapshot()`, the inferred
16633
- # 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`.
16634
16677
  # Corresponds to the JSON property `response`
16635
16678
  # @return [Hash<String,Object>]
16636
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.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
@@ -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
 
@@ -3203,6 +3209,7 @@ module Google
3203
3209
  hash :payload, as: 'payload'
3204
3210
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
3205
3211
 
3212
+ property :response_type, as: 'responseType'
3206
3213
  property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
3207
3214
 
3208
3215
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
@@ -4113,6 +4120,13 @@ module Google
4113
4120
  end
4114
4121
  end
4115
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
+
4116
4130
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
4117
4131
  # @private
4118
4132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4263,6 +4277,8 @@ module Google
4263
4277
  # @private
4264
4278
  class Representation < Google::Apis::Core::JsonRepresentation
4265
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
+
4266
4282
  property :flow_uri, as: 'flowUri'
4267
4283
  property :import_option, as: 'importOption'
4268
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.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-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.64.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: []