google-apis-dialogflow_v3 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32d2c6511eb20dcd304a78f508d824b1a38ca5b952faca793390fe4fe548e99e
4
- data.tar.gz: 1c5119b0e528328f470d449c3afcc1851e547645f85ca2428b723a5efd7defad
3
+ metadata.gz: 324a873d4add1208d2220cfb45b95f54af2f53eb0f684a8a4e4bba5ca2511527
4
+ data.tar.gz: 47515d2b6938a5ab1d8494b9fc8eb9e6108a368519b3003b77d41eb986efa531
5
5
  SHA512:
6
- metadata.gz: 5930640dea081f7ad80d764894ce76e7faad69d4e5437c27789bb477acc034df9aadd3422d0ef6e7d86b99bcc5d759e88e9fab04ee0ac759d8386cbeebe8354a
7
- data.tar.gz: 6015115ef86aae9d55df5f979d3504b6a354eb4a26703eca2fa2b912e2c87b082b32a8057e3f53d5d926e59a9f2cc551a1571837cacc202ab3ed8b9194f3ff4b
6
+ metadata.gz: aa77c196c8f06b95d5b7705d6cdda43e2cc36b58e619b456ed5321349a3a5ff6c582318e244269e7fc52105ce4565ddd3edec97d4de8cae4ab3470eccee9bba2
7
+ data.tar.gz: 393daa268a74ef290b76c88fb500e036c88c7a2754e49fc43dda83aab09e8e7745df06c7831f08865be058206c07397401d93ca3e487bc1b650f549c81199d17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.11.0 (2021-05-12)
4
+
5
+ * Regenerated from discovery document revision 20210510
6
+
3
7
  ### v0.10.0 (2021-04-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210329
@@ -93,6 +93,12 @@ module Google
93
93
  # @return [String]
94
94
  attr_accessor :start_flow
95
95
 
96
+ # The list of all languages supported by the agent (except for the `
97
+ # default_language_code`).
98
+ # Corresponds to the JSON property `supportedLanguageCodes`
99
+ # @return [Array<String>]
100
+ attr_accessor :supported_language_codes
101
+
96
102
  # Required. The time zone of the agent from the [time zone database](https://www.
97
103
  # iana.org/time-zones), e.g., America/New_York, Europe/Paris.
98
104
  # Corresponds to the JSON property `timeZone`
@@ -115,6 +121,7 @@ module Google
115
121
  @security_settings = args[:security_settings] if args.key?(:security_settings)
116
122
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
117
123
  @start_flow = args[:start_flow] if args.key?(:start_flow)
124
+ @supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
118
125
  @time_zone = args[:time_zone] if args.key?(:time_zone)
119
126
  end
120
127
  end
@@ -1166,6 +1173,12 @@ module Google
1166
1173
  # @return [String]
1167
1174
  attr_accessor :agent_uri
1168
1175
 
1176
+ # Optional. Environment name. If not set, draft environment is assumed. Format: `
1177
+ # projects//locations//agents//environments/`.
1178
+ # Corresponds to the JSON property `environment`
1179
+ # @return [String]
1180
+ attr_accessor :environment
1181
+
1169
1182
  def initialize(**args)
1170
1183
  update!(**args)
1171
1184
  end
@@ -1173,6 +1186,7 @@ module Google
1173
1186
  # Update properties of this object
1174
1187
  def update!(**args)
1175
1188
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
1189
+ @environment = args[:environment] if args.key?(:environment)
1176
1190
  end
1177
1191
  end
1178
1192
 
@@ -1203,6 +1217,61 @@ module Google
1203
1217
  end
1204
1218
  end
1205
1219
 
1220
+ # The request message for Flows.ExportFlow.
1221
+ class GoogleCloudDialogflowCxV3ExportFlowRequest
1222
+ include Google::Apis::Core::Hashable
1223
+
1224
+ # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
1225
+ # URI to export the flow to. The format of this URI must be `gs:///`. If left
1226
+ # unspecified, the serialized flow is returned inline.
1227
+ # Corresponds to the JSON property `flowUri`
1228
+ # @return [String]
1229
+ attr_accessor :flow_uri
1230
+
1231
+ # Optional. Whether to export flows referenced by the specified flow.
1232
+ # Corresponds to the JSON property `includeReferencedFlows`
1233
+ # @return [Boolean]
1234
+ attr_accessor :include_referenced_flows
1235
+ alias_method :include_referenced_flows?, :include_referenced_flows
1236
+
1237
+ def initialize(**args)
1238
+ update!(**args)
1239
+ end
1240
+
1241
+ # Update properties of this object
1242
+ def update!(**args)
1243
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
1244
+ @include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
1245
+ end
1246
+ end
1247
+
1248
+ # The response message for Flows.ExportFlow.
1249
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
1250
+ include Google::Apis::Core::Hashable
1251
+
1252
+ # Uncompressed raw byte content for flow.
1253
+ # Corresponds to the JSON property `flowContent`
1254
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1255
+ # @return [String]
1256
+ attr_accessor :flow_content
1257
+
1258
+ # The URI to a file containing the exported flow. This field is populated only
1259
+ # if `flow_uri` is specified in ExportFlowRequest.
1260
+ # Corresponds to the JSON property `flowUri`
1261
+ # @return [String]
1262
+ attr_accessor :flow_uri
1263
+
1264
+ def initialize(**args)
1265
+ update!(**args)
1266
+ end
1267
+
1268
+ # Update properties of this object
1269
+ def update!(**args)
1270
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
1271
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
1272
+ end
1273
+ end
1274
+
1206
1275
  # Metadata returned for the TestCases.ExportTestCases long running operation.
1207
1276
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
1208
1277
  include Google::Apis::Core::Hashable
@@ -1832,6 +1901,59 @@ module Google
1832
1901
  end
1833
1902
  end
1834
1903
 
1904
+ # The request message for Flows.ImportFlow.
1905
+ class GoogleCloudDialogflowCxV3ImportFlowRequest
1906
+ include Google::Apis::Core::Hashable
1907
+
1908
+ # Uncompressed raw byte content for flow.
1909
+ # Corresponds to the JSON property `flowContent`
1910
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1911
+ # @return [String]
1912
+ attr_accessor :flow_content
1913
+
1914
+ # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
1915
+ # import flow from. The format of this URI must be `gs:///`.
1916
+ # Corresponds to the JSON property `flowUri`
1917
+ # @return [String]
1918
+ attr_accessor :flow_uri
1919
+
1920
+ # Flow import mode. If not specified, `KEEP` is assumed.
1921
+ # Corresponds to the JSON property `importOption`
1922
+ # @return [String]
1923
+ attr_accessor :import_option
1924
+
1925
+ def initialize(**args)
1926
+ update!(**args)
1927
+ end
1928
+
1929
+ # Update properties of this object
1930
+ def update!(**args)
1931
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
1932
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
1933
+ @import_option = args[:import_option] if args.key?(:import_option)
1934
+ end
1935
+ end
1936
+
1937
+ # The response message for Flows.ImportFlow.
1938
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
1939
+ include Google::Apis::Core::Hashable
1940
+
1941
+ # The unique identifier of the new flow. Format: `projects//locations//agents//
1942
+ # flows/`.
1943
+ # Corresponds to the JSON property `flow`
1944
+ # @return [String]
1945
+ attr_accessor :flow
1946
+
1947
+ def initialize(**args)
1948
+ update!(**args)
1949
+ end
1950
+
1951
+ # Update properties of this object
1952
+ def update!(**args)
1953
+ @flow = args[:flow] if args.key?(:flow)
1954
+ end
1955
+ end
1956
+
1835
1957
  # Metadata returned for the TestCases.ImportTestCases long running operation.
1836
1958
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
1837
1959
  include Google::Apis::Core::Hashable
@@ -1982,8 +2104,8 @@ module Google
1982
2104
  class GoogleCloudDialogflowCxV3Intent
1983
2105
  include Google::Apis::Core::Hashable
1984
2106
 
1985
- # Optional. Human readable description for better understanding an intent like
1986
- # its scope, content, result etc. Maximum character limit: 140 characters.
2107
+ # Human readable description for better understanding an intent like its scope,
2108
+ # content, result etc. Maximum character limit: 140 characters.
1987
2109
  # Corresponds to the JSON property `description`
1988
2110
  # @return [String]
1989
2111
  attr_accessor :description
@@ -2003,14 +2125,14 @@ module Google
2003
2125
  attr_accessor :is_fallback
2004
2126
  alias_method :is_fallback?, :is_fallback
2005
2127
 
2006
- # Optional. The key/value metadata to label an intent. Labels can contain
2007
- # lowercase letters, digits and the symbols '-' and '_'. International
2008
- # characters are allowed, including letters from unicase alphabets. Keys must
2009
- # start with a letter. Keys and values can be no longer than 63 characters and
2010
- # no more than 128 bytes. Prefix "sys." is reserved for Dialogflow defined
2011
- # labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.
2012
- # contextual The above labels do not require value. "sys.head" means the intent
2013
- # is a head intent. "sys.contextual" means the intent is a contextual intent.
2128
+ # The key/value metadata to label an intent. Labels can contain lowercase
2129
+ # letters, digits and the symbols '-' and '_'. International characters are
2130
+ # allowed, including letters from unicase alphabets. Keys must start with a
2131
+ # letter. Keys and values can be no longer than 63 characters and no more than
2132
+ # 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
2133
+ # allowed Dialogflow defined labels include: * sys.head * sys.contextual The
2134
+ # above labels do not require value. "sys.head" means the intent is a head
2135
+ # intent. "sys.contextual" means the intent is a contextual intent.
2014
2136
  # Corresponds to the JSON property `labels`
2015
2137
  # @return [Hash<String,String>]
2016
2138
  attr_accessor :labels
@@ -2630,8 +2752,8 @@ module Google
2630
2752
  class GoogleCloudDialogflowCxV3LoadVersionRequest
2631
2753
  include Google::Apis::Core::Hashable
2632
2754
 
2633
- # This field is used to prevent accidental overwrite of other agent resources in
2634
- # the draft version, which can potentially impact other flow's behavior. If `
2755
+ # This field is used to prevent accidental overwrite of other agent resources,
2756
+ # which can potentially impact other flow's behavior. If `
2635
2757
  # allow_override_agent_resources` is false, conflicted agent-level resources
2636
2758
  # will not be overridden (i.e. intents, entities, webhooks).
2637
2759
  # Corresponds to the JSON property `allowOverrideAgentResources`
@@ -3186,8 +3308,8 @@ module Google
3186
3308
 
3187
3309
  # An object that represents a latitude/longitude pair. This is expressed as a
3188
3310
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
3189
- # specified otherwise, this must conform to the WGS84 standard. Values must be
3190
- # within normalized ranges.
3311
+ # specified otherwise, this object must conform to the WGS84 standard. Values
3312
+ # must be within normalized ranges.
3191
3313
  # Corresponds to the JSON property `geoLocation`
3192
3314
  # @return [Google::Apis::DialogflowV3::GoogleTypeLatLng]
3193
3315
  attr_accessor :geo_location
@@ -3207,7 +3329,10 @@ module Google
3207
3329
  attr_accessor :parameters
3208
3330
 
3209
3331
  # This field can be used to pass custom data into the webhook associated with
3210
- # the agent. Arbitrary JSON objects are supported.
3332
+ # the agent. Arbitrary JSON objects are supported. Some integrations that query
3333
+ # a Dialogflow agent may provide additional information in the payload. In
3334
+ # particular, for the Dialogflow Phone Gateway integration, this field has the
3335
+ # form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
3211
3336
  # Corresponds to the JSON property `payload`
3212
3337
  # @return [Hash<String,Object>]
3213
3338
  attr_accessor :payload
@@ -4997,6 +5122,12 @@ module Google
4997
5122
  # @return [String]
4998
5123
  attr_accessor :name
4999
5124
 
5125
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
5126
+ # service-directory) service.
5127
+ # Corresponds to the JSON property `serviceDirectory`
5128
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]
5129
+ attr_accessor :service_directory
5130
+
5000
5131
  # Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
5001
5132
  # t receive a response from webhook at the end of the timeout period. Defaults
5002
5133
  # to 5 seconds, maximum allowed timeout is 30 seconds.
@@ -5014,6 +5145,7 @@ module Google
5014
5145
  @display_name = args[:display_name] if args.key?(:display_name)
5015
5146
  @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
5016
5147
  @name = args[:name] if args.key?(:name)
5148
+ @service_directory = args[:service_directory] if args.key?(:service_directory)
5017
5149
  @timeout = args[:timeout] if args.key?(:timeout)
5018
5150
  end
5019
5151
  end
@@ -5077,6 +5209,11 @@ module Google
5077
5209
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
5078
5210
  attr_accessor :intent_info
5079
5211
 
5212
+ # The language code specified in the original request.
5213
+ # Corresponds to the JSON property `languageCode`
5214
+ # @return [String]
5215
+ attr_accessor :language_code
5216
+
5080
5217
  # The list of rich message responses to present to the user. Webhook can choose
5081
5218
  # to append or replace this list in WebhookResponse.fulfillment_response;
5082
5219
  # Corresponds to the JSON property `messages`
@@ -5136,6 +5273,7 @@ module Google
5136
5273
  @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
5137
5274
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
5138
5275
  @intent_info = args[:intent_info] if args.key?(:intent_info)
5276
+ @language_code = args[:language_code] if args.key?(:language_code)
5139
5277
  @messages = args[:messages] if args.key?(:messages)
5140
5278
  @page_info = args[:page_info] if args.key?(:page_info)
5141
5279
  @payload = args[:payload] if args.key?(:payload)
@@ -5337,6 +5475,35 @@ module Google
5337
5475
  end
5338
5476
  end
5339
5477
 
5478
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
5479
+ # service-directory) service.
5480
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
5481
+ include Google::Apis::Core::Hashable
5482
+
5483
+ # Represents configuration for a generic web service.
5484
+ # Corresponds to the JSON property `genericWebService`
5485
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService]
5486
+ attr_accessor :generic_web_service
5487
+
5488
+ # Required. The name of [Service Directory](https://cloud.google.com/service-
5489
+ # directory) service. Format: `projects//locations//namespaces//services/`. `
5490
+ # Location ID` of the service directory must be the same as the location of the
5491
+ # agent.
5492
+ # Corresponds to the JSON property `service`
5493
+ # @return [String]
5494
+ attr_accessor :service
5495
+
5496
+ def initialize(**args)
5497
+ update!(**args)
5498
+ end
5499
+
5500
+ # Update properties of this object
5501
+ def update!(**args)
5502
+ @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
5503
+ @service = args[:service] if args.key?(:service)
5504
+ end
5505
+ end
5506
+
5340
5507
  # Represents the natural speech audio to be processed.
5341
5508
  class GoogleCloudDialogflowCxV3beta1AudioInput
5342
5509
  include Google::Apis::Core::Hashable
@@ -5730,6 +5897,33 @@ module Google
5730
5897
  end
5731
5898
  end
5732
5899
 
5900
+ # The response message for Flows.ExportFlow.
5901
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
5902
+ include Google::Apis::Core::Hashable
5903
+
5904
+ # Uncompressed raw byte content for flow.
5905
+ # Corresponds to the JSON property `flowContent`
5906
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
5907
+ # @return [String]
5908
+ attr_accessor :flow_content
5909
+
5910
+ # The URI to a file containing the exported flow. This field is populated only
5911
+ # if `flow_uri` is specified in ExportFlowRequest.
5912
+ # Corresponds to the JSON property `flowUri`
5913
+ # @return [String]
5914
+ attr_accessor :flow_uri
5915
+
5916
+ def initialize(**args)
5917
+ update!(**args)
5918
+ end
5919
+
5920
+ # Update properties of this object
5921
+ def update!(**args)
5922
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
5923
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
5924
+ end
5925
+ end
5926
+
5733
5927
  # Metadata returned for the TestCases.ExportTestCases long running operation.
5734
5928
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
5735
5929
  include Google::Apis::Core::Hashable
@@ -6128,6 +6322,26 @@ module Google
6128
6322
  end
6129
6323
  end
6130
6324
 
6325
+ # The response message for Flows.ImportFlow.
6326
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
6327
+ include Google::Apis::Core::Hashable
6328
+
6329
+ # The unique identifier of the new flow. Format: `projects//locations//agents//
6330
+ # flows/`.
6331
+ # Corresponds to the JSON property `flow`
6332
+ # @return [String]
6333
+ attr_accessor :flow
6334
+
6335
+ def initialize(**args)
6336
+ update!(**args)
6337
+ end
6338
+
6339
+ # Update properties of this object
6340
+ def update!(**args)
6341
+ @flow = args[:flow] if args.key?(:flow)
6342
+ end
6343
+ end
6344
+
6131
6345
  # Metadata returned for the TestCases.ImportTestCases long running operation.
6132
6346
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
6133
6347
  include Google::Apis::Core::Hashable
@@ -6251,8 +6465,8 @@ module Google
6251
6465
  class GoogleCloudDialogflowCxV3beta1Intent
6252
6466
  include Google::Apis::Core::Hashable
6253
6467
 
6254
- # Optional. Human readable description for better understanding an intent like
6255
- # its scope, content, result etc. Maximum character limit: 140 characters.
6468
+ # Human readable description for better understanding an intent like its scope,
6469
+ # content, result etc. Maximum character limit: 140 characters.
6256
6470
  # Corresponds to the JSON property `description`
6257
6471
  # @return [String]
6258
6472
  attr_accessor :description
@@ -6272,14 +6486,14 @@ module Google
6272
6486
  attr_accessor :is_fallback
6273
6487
  alias_method :is_fallback?, :is_fallback
6274
6488
 
6275
- # Optional. The key/value metadata to label an intent. Labels can contain
6276
- # lowercase letters, digits and the symbols '-' and '_'. International
6277
- # characters are allowed, including letters from unicase alphabets. Keys must
6278
- # start with a letter. Keys and values can be no longer than 63 characters and
6279
- # no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined
6280
- # labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-
6281
- # contextual The above labels do not require value. "sys-head" means the intent
6282
- # is a head intent. "sys-contextual" means the intent is a contextual intent.
6489
+ # The key/value metadata to label an intent. Labels can contain lowercase
6490
+ # letters, digits and the symbols '-' and '_'. International characters are
6491
+ # allowed, including letters from unicase alphabets. Keys must start with a
6492
+ # letter. Keys and values can be no longer than 63 characters and no more than
6493
+ # 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
6494
+ # allowed Dialogflow defined labels include: * sys-head * sys-contextual The
6495
+ # above labels do not require value. "sys-head" means the intent is a head
6496
+ # intent. "sys-contextual" means the intent is a contextual intent.
6283
6497
  # Corresponds to the JSON property `labels`
6284
6498
  # @return [Hash<String,String>]
6285
6499
  attr_accessor :labels
@@ -7464,6 +7678,11 @@ module Google
7464
7678
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
7465
7679
  attr_accessor :intent_info
7466
7680
 
7681
+ # The language code specified in the original request.
7682
+ # Corresponds to the JSON property `languageCode`
7683
+ # @return [String]
7684
+ attr_accessor :language_code
7685
+
7467
7686
  # The list of rich message responses to present to the user. Webhook can choose
7468
7687
  # to append or replace this list in WebhookResponse.fulfillment_response;
7469
7688
  # Corresponds to the JSON property `messages`
@@ -7523,6 +7742,7 @@ module Google
7523
7742
  @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
7524
7743
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
7525
7744
  @intent_info = args[:intent_info] if args.key?(:intent_info)
7745
+ @language_code = args[:language_code] if args.key?(:language_code)
7526
7746
  @messages = args[:messages] if args.key?(:messages)
7527
7747
  @page_info = args[:page_info] if args.key?(:page_info)
7528
7748
  @payload = args[:payload] if args.key?(:payload)
@@ -13422,8 +13642,8 @@ module Google
13422
13642
 
13423
13643
  # An object that represents a latitude/longitude pair. This is expressed as a
13424
13644
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
13425
- # specified otherwise, this must conform to the WGS84 standard. Values must be
13426
- # within normalized ranges.
13645
+ # specified otherwise, this object must conform to the WGS84 standard. Values
13646
+ # must be within normalized ranges.
13427
13647
  class GoogleTypeLatLng
13428
13648
  include Google::Apis::Core::Hashable
13429
13649
 
@@ -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.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210329"
25
+ REVISION = "20210510"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,18 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class GoogleCloudDialogflowCxV3ExportFlowRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
217
229
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
218
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
231
 
@@ -322,6 +334,18 @@ module Google
322
334
  include Google::Apis::Core::JsonObjectSupport
323
335
  end
324
336
 
337
+ class GoogleCloudDialogflowCxV3ImportFlowRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
325
349
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
326
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
351
 
@@ -898,6 +922,12 @@ module Google
898
922
  include Google::Apis::Core::JsonObjectSupport
899
923
  end
900
924
 
925
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
901
931
  class GoogleCloudDialogflowCxV3beta1AudioInput
902
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
933
 
@@ -976,6 +1006,12 @@ module Google
976
1006
  include Google::Apis::Core::JsonObjectSupport
977
1007
  end
978
1008
 
1009
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
979
1015
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
980
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
1017
 
@@ -1054,6 +1090,12 @@ module Google
1054
1090
  include Google::Apis::Core::JsonObjectSupport
1055
1091
  end
1056
1092
 
1093
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
1094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1095
+
1096
+ include Google::Apis::Core::JsonObjectSupport
1097
+ end
1098
+
1057
1099
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
1058
1100
  class Representation < Google::Apis::Core::JsonRepresentation; end
1059
1101
 
@@ -2202,6 +2244,7 @@ module Google
2202
2244
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
2203
2245
 
2204
2246
  property :start_flow, as: 'startFlow'
2247
+ collection :supported_language_codes, as: 'supportedLanguageCodes'
2205
2248
  property :time_zone, as: 'timeZone'
2206
2249
  end
2207
2250
  end
@@ -2505,6 +2548,7 @@ module Google
2505
2548
  # @private
2506
2549
  class Representation < Google::Apis::Core::JsonRepresentation
2507
2550
  property :agent_uri, as: 'agentUri'
2551
+ property :environment, as: 'environment'
2508
2552
  end
2509
2553
  end
2510
2554
 
@@ -2516,6 +2560,22 @@ module Google
2516
2560
  end
2517
2561
  end
2518
2562
 
2563
+ class GoogleCloudDialogflowCxV3ExportFlowRequest
2564
+ # @private
2565
+ class Representation < Google::Apis::Core::JsonRepresentation
2566
+ property :flow_uri, as: 'flowUri'
2567
+ property :include_referenced_flows, as: 'includeReferencedFlows'
2568
+ end
2569
+ end
2570
+
2571
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
2572
+ # @private
2573
+ class Representation < Google::Apis::Core::JsonRepresentation
2574
+ property :flow_content, :base64 => true, as: 'flowContent'
2575
+ property :flow_uri, as: 'flowUri'
2576
+ end
2577
+ end
2578
+
2519
2579
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
2520
2580
  # @private
2521
2581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2693,6 +2753,22 @@ module Google
2693
2753
  end
2694
2754
  end
2695
2755
 
2756
+ class GoogleCloudDialogflowCxV3ImportFlowRequest
2757
+ # @private
2758
+ class Representation < Google::Apis::Core::JsonRepresentation
2759
+ property :flow_content, :base64 => true, as: 'flowContent'
2760
+ property :flow_uri, as: 'flowUri'
2761
+ property :import_option, as: 'importOption'
2762
+ end
2763
+ end
2764
+
2765
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
2766
+ # @private
2767
+ class Representation < Google::Apis::Core::JsonRepresentation
2768
+ property :flow, as: 'flow'
2769
+ end
2770
+ end
2771
+
2696
2772
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
2697
2773
  # @private
2698
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3554,6 +3630,8 @@ module Google
3554
3630
  property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3555
3631
 
3556
3632
  property :name, as: 'name'
3633
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig::Representation
3634
+
3557
3635
  property :timeout, as: 'timeout'
3558
3636
  end
3559
3637
  end
@@ -3576,6 +3654,7 @@ module Google
3576
3654
 
3577
3655
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
3578
3656
 
3657
+ property :language_code, as: 'languageCode'
3579
3658
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
3580
3659
 
3581
3660
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -3650,6 +3729,15 @@ module Google
3650
3729
  end
3651
3730
  end
3652
3731
 
3732
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
3733
+ # @private
3734
+ class Representation < Google::Apis::Core::JsonRepresentation
3735
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3736
+
3737
+ property :service, as: 'service'
3738
+ end
3739
+ end
3740
+
3653
3741
  class GoogleCloudDialogflowCxV3beta1AudioInput
3654
3742
  # @private
3655
3743
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3771,6 +3859,14 @@ module Google
3771
3859
  end
3772
3860
  end
3773
3861
 
3862
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
3863
+ # @private
3864
+ class Representation < Google::Apis::Core::JsonRepresentation
3865
+ property :flow_content, :base64 => true, as: 'flowContent'
3866
+ property :flow_uri, as: 'flowUri'
3867
+ end
3868
+ end
3869
+
3774
3870
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
3775
3871
  # @private
3776
3872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3889,6 +3985,13 @@ module Google
3889
3985
  end
3890
3986
  end
3891
3987
 
3988
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
3989
+ # @private
3990
+ class Representation < Google::Apis::Core::JsonRepresentation
3991
+ property :flow, as: 'flow'
3992
+ end
3993
+ end
3994
+
3892
3995
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
3893
3996
  # @private
3894
3997
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4244,6 +4347,7 @@ module Google
4244
4347
 
4245
4348
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
4246
4349
 
4350
+ property :language_code, as: 'languageCode'
4247
4351
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4248
4352
 
4249
4353
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
@@ -1335,11 +1335,12 @@ module Google
1335
1335
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow] google_cloud_dialogflow_cx_v3_flow_object
1336
1336
  # @param [String] language_code
1337
1337
  # The language of the following fields in `flow`: * `Flow.event_handlers.
1338
- # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1339
- # messages` If not specified, the agent's default language is used. [Many
1340
- # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
1341
- # supported. Note: languages must be enabled in the agent before they can be
1342
- # used.
1338
+ # trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.
1339
+ # conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `
1340
+ # Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified,
1341
+ # the agent's default language is used. [Many languages](https://cloud.google.
1342
+ # com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
1343
+ # be enabled in the agent before they can be used.
1343
1344
  # @param [String] fields
1344
1345
  # Selector specifying which fields to include in a partial response.
1345
1346
  # @param [String] quota_user
@@ -1409,6 +1410,41 @@ module Google
1409
1410
  execute_or_queue_command(command, &block)
1410
1411
  end
1411
1412
 
1413
+ # Exports the specified flow to a binary file. Note that resources (e.g. intents,
1414
+ # entities, webhooks) that the flow references will also be exported.
1415
+ # @param [String] name
1416
+ # Required. The name of the flow to export. Format: `projects//locations//agents/
1417
+ # /flows/`.
1418
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportFlowRequest] google_cloud_dialogflow_cx_v3_export_flow_request_object
1419
+ # @param [String] fields
1420
+ # Selector specifying which fields to include in a partial response.
1421
+ # @param [String] quota_user
1422
+ # Available to use for quota purposes for server-side applications. Can be any
1423
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1424
+ # @param [Google::Apis::RequestOptions] options
1425
+ # Request-specific options
1426
+ #
1427
+ # @yield [result, err] Result & error if block supplied
1428
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
1429
+ # @yieldparam err [StandardError] error object if request failed
1430
+ #
1431
+ # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
1432
+ #
1433
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1434
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1435
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1436
+ def export_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3_export_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1437
+ command = make_simple_command(:post, 'v3/{+name}:export', options)
1438
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportFlowRequest::Representation
1439
+ command.request_object = google_cloud_dialogflow_cx_v3_export_flow_request_object
1440
+ command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
1441
+ command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
1442
+ command.params['name'] = name unless name.nil?
1443
+ command.query['fields'] = fields unless fields.nil?
1444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1445
+ execute_or_queue_command(command, &block)
1446
+ end
1447
+
1412
1448
  # Retrieves the specified flow.
1413
1449
  # @param [String] name
1414
1450
  # Required. The name of the flow to get. Format: `projects//locations//agents//
@@ -1416,10 +1452,12 @@ module Google
1416
1452
  # @param [String] language_code
1417
1453
  # The language to retrieve the flow for. The following fields are language
1418
1454
  # dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
1419
- # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1420
- # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1421
- # cx/docs/reference/language) are supported. Note: languages must be enabled in
1422
- # the agent before they can be used.
1455
+ # event_handlers.trigger_fulfillment.conditional_cases` * `Flow.
1456
+ # transition_routes.trigger_fulfillment.messages` * `Flow.transition_routes.
1457
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1458
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1459
+ # reference/language) are supported. Note: languages must be enabled in the
1460
+ # agent before they can be used.
1423
1461
  # @param [String] fields
1424
1462
  # Selector specifying which fields to include in a partial response.
1425
1463
  # @param [String] quota_user
@@ -1483,17 +1521,53 @@ module Google
1483
1521
  execute_or_queue_command(command, &block)
1484
1522
  end
1485
1523
 
1524
+ # Imports the specified flow to the specified agent from a binary file.
1525
+ # @param [String] parent
1526
+ # Required. The agent to import the flow into. Format: `projects//locations//
1527
+ # agents/`.
1528
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportFlowRequest] google_cloud_dialogflow_cx_v3_import_flow_request_object
1529
+ # @param [String] fields
1530
+ # Selector specifying which fields to include in a partial response.
1531
+ # @param [String] quota_user
1532
+ # Available to use for quota purposes for server-side applications. Can be any
1533
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1534
+ # @param [Google::Apis::RequestOptions] options
1535
+ # Request-specific options
1536
+ #
1537
+ # @yield [result, err] Result & error if block supplied
1538
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
1539
+ # @yieldparam err [StandardError] error object if request failed
1540
+ #
1541
+ # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
1542
+ #
1543
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1544
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1545
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1546
+ def import_project_location_agent_flow(parent, google_cloud_dialogflow_cx_v3_import_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1547
+ command = make_simple_command(:post, 'v3/{+parent}/flows:import', options)
1548
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportFlowRequest::Representation
1549
+ command.request_object = google_cloud_dialogflow_cx_v3_import_flow_request_object
1550
+ command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
1551
+ command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
1552
+ command.params['parent'] = parent unless parent.nil?
1553
+ command.query['fields'] = fields unless fields.nil?
1554
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1555
+ execute_or_queue_command(command, &block)
1556
+ end
1557
+
1486
1558
  # Returns the list of all flows in the specified agent.
1487
1559
  # @param [String] parent
1488
1560
  # Required. The agent containing the flows. Format: `projects//locations//agents/
1489
1561
  # `.
1490
1562
  # @param [String] language_code
1491
1563
  # The language to list flows for. The following fields are language dependent: *
1492
- # `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.
1493
- # trigger_fulfillment.messages` If not specified, the agent's default language
1494
- # is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1495
- # reference/language) are supported. Note: languages must be enabled in the
1496
- # agent before they can be used.
1564
+ # `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.event_handlers.
1565
+ # trigger_fulfillment.conditional_cases` * `Flow.transition_routes.
1566
+ # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1567
+ # conditional_cases` If not specified, the agent's default language is used. [
1568
+ # Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
1569
+ # are supported. Note: languages must be enabled in the agent before they can
1570
+ # be used.
1497
1571
  # @param [Fixnum] page_size
1498
1572
  # The maximum number of items to return in a single page. By default 100 and at
1499
1573
  # most 1000.
@@ -1536,11 +1610,12 @@ module Google
1536
1610
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow] google_cloud_dialogflow_cx_v3_flow_object
1537
1611
  # @param [String] language_code
1538
1612
  # The language of the following fields in `flow`: * `Flow.event_handlers.
1539
- # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1540
- # messages` If not specified, the agent's default language is used. [Many
1541
- # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
1542
- # supported. Note: languages must be enabled in the agent before they can be
1543
- # used.
1613
+ # trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.
1614
+ # conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `
1615
+ # Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified,
1616
+ # the agent's default language is used. [Many languages](https://cloud.google.
1617
+ # com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
1618
+ # be enabled in the agent before they can be used.
1544
1619
  # @param [String] update_mask
1545
1620
  # Required. The mask to control which fields get updated. If `update_mask` is
1546
1621
  # not specified, an error will be returned.
@@ -1651,13 +1726,18 @@ module Google
1651
1726
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page] google_cloud_dialogflow_cx_v3_page_object
1652
1727
  # @param [String] language_code
1653
1728
  # The language of the following fields in `page`: * `Page.entry_fulfillment.
1654
- # messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.
1655
- # messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.
1656
- # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
1657
- # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
1658
- # specified, the agent's default language is used. [Many languages](https://
1659
- # cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1660
- # languages must be enabled in the agent before they can be used.
1729
+ # messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.
1730
+ # trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.
1731
+ # conditional_cases` * `Page.form.parameters.fill_behavior.
1732
+ # initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
1733
+ # initial_prompt_fulfillment.conditional_cases` * `Page.form.parameters.
1734
+ # fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.
1735
+ # fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
1736
+ # transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
1737
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1738
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1739
+ # reference/language) are supported. Note: languages must be enabled in the
1740
+ # agent before they can be used.
1661
1741
  # @param [String] fields
1662
1742
  # Selector specifying which fields to include in a partial response.
1663
1743
  # @param [String] quota_user
@@ -1733,14 +1813,18 @@ module Google
1733
1813
  # pages/`.
1734
1814
  # @param [String] language_code
1735
1815
  # The language to retrieve the page for. The following fields are language
1736
- # dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.
1737
- # fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.
1738
- # fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.
1739
- # trigger_fulfillment.messages` * `Page.transition_route_groups.
1740
- # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1741
- # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1742
- # cx/docs/reference/language) are supported. Note: languages must be enabled in
1743
- # the agent before they can be used.
1816
+ # dependent: * `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.
1817
+ # conditional_cases` * `Page.event_handlers.trigger_fulfillment.messages` * `
1818
+ # Page.event_handlers.trigger_fulfillment.conditional_cases` * `Page.form.
1819
+ # parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.
1820
+ # parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` * `Page.
1821
+ # form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.form.
1822
+ # parameters.fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
1823
+ # transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
1824
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1825
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1826
+ # reference/language) are supported. Note: languages must be enabled in the
1827
+ # agent before they can be used.
1744
1828
  # @param [String] fields
1745
1829
  # Selector specifying which fields to include in a partial response.
1746
1830
  # @param [String] quota_user
@@ -1775,14 +1859,18 @@ module Google
1775
1859
  # /flows/`.
1776
1860
  # @param [String] language_code
1777
1861
  # The language to list pages for. The following fields are language dependent: *
1778
- # `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.
1862
+ # `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.conditional_cases`
1863
+ # * `Page.event_handlers.trigger_fulfillment.messages` * `Page.event_handlers.
1864
+ # trigger_fulfillment.conditional_cases` * `Page.form.parameters.fill_behavior.
1779
1865
  # initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
1780
- # reprompt_event_handlers.messages` * `Page.transition_routes.
1781
- # trigger_fulfillment.messages` * `Page.transition_route_groups.
1782
- # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1783
- # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1784
- # cx/docs/reference/language) are supported. Note: languages must be enabled in
1785
- # the agent before they can be used.
1866
+ # initial_prompt_fulfillment.conditional_cases` * `Page.form.parameters.
1867
+ # fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.
1868
+ # fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
1869
+ # transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
1870
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1871
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1872
+ # reference/language) are supported. Note: languages must be enabled in the
1873
+ # agent before they can be used.
1786
1874
  # @param [Fixnum] page_size
1787
1875
  # The maximum number of items to return in a single page. By default 100 and at
1788
1876
  # most 1000.
@@ -1826,13 +1914,18 @@ module Google
1826
1914
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page] google_cloud_dialogflow_cx_v3_page_object
1827
1915
  # @param [String] language_code
1828
1916
  # The language of the following fields in `page`: * `Page.entry_fulfillment.
1829
- # messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.
1830
- # messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.
1831
- # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
1832
- # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
1833
- # specified, the agent's default language is used. [Many languages](https://
1834
- # cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1835
- # languages must be enabled in the agent before they can be used.
1917
+ # messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.
1918
+ # trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.
1919
+ # conditional_cases` * `Page.form.parameters.fill_behavior.
1920
+ # initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
1921
+ # initial_prompt_fulfillment.conditional_cases` * `Page.form.parameters.
1922
+ # fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.
1923
+ # fill_behavior.reprompt_event_handlers.conditional_cases` * `Page.
1924
+ # transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.
1925
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1926
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1927
+ # reference/language) are supported. Note: languages must be enabled in the
1928
+ # agent before they can be used.
1836
1929
  # @param [String] update_mask
1837
1930
  # The mask to control which fields get updated. If the mask is not present, all
1838
1931
  # fields will be updated.
@@ -1873,11 +1966,12 @@ module Google
1873
1966
  # locations//agents//flows/`.
1874
1967
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
1875
1968
  # @param [String] language_code
1876
- # The language to list transition route groups for. The field `messages` in
1877
- # TransitionRoute is language dependent. If not specified, the agent's default
1878
- # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1879
- # reference/language) are supported. Note: languages must be enabled in the
1880
- # agent before they can be used.
1969
+ # The language of the following fields in `TransitionRouteGroup`: * `
1970
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
1971
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
1972
+ # If not specified, the agent's default language is used. [Many languages](https:
1973
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1974
+ # languages must be enabled in the agent before they can be used.
1881
1975
  # @param [String] fields
1882
1976
  # Selector specifying which fields to include in a partial response.
1883
1977
  # @param [String] quota_user
@@ -1951,8 +2045,10 @@ module Google
1951
2045
  # Required. The name of the TransitionRouteGroup. Format: `projects//locations//
1952
2046
  # agents//flows//transitionRouteGroups/`.
1953
2047
  # @param [String] language_code
1954
- # The language to list transition route groups for. The field `messages` in
1955
- # TransitionRoute is language dependent. If not specified, the agent's default
2048
+ # The language to retrieve the transition route group for. The following fields
2049
+ # are language dependent: * `TransitionRouteGroup.transition_routes.
2050
+ # trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
2051
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1956
2052
  # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1957
2053
  # reference/language) are supported. Note: languages must be enabled in the
1958
2054
  # agent before they can be used.
@@ -1989,8 +2085,10 @@ module Google
1989
2085
  # Required. The flow to list all transition route groups for. Format: `projects//
1990
2086
  # locations//agents//flows/`.
1991
2087
  # @param [String] language_code
1992
- # The language to list transition route groups for. The field `messages` in
1993
- # TransitionRoute is language dependent. If not specified, the agent's default
2088
+ # The language to list transition route groups for. The following fields are
2089
+ # language dependent: * `TransitionRouteGroup.transition_routes.
2090
+ # trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.
2091
+ # trigger_fulfillment.conditional_cases` If not specified, the agent's default
1994
2092
  # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1995
2093
  # reference/language) are supported. Note: languages must be enabled in the
1996
2094
  # agent before they can be used.
@@ -2036,11 +2134,12 @@ module Google
2036
2134
  # /locations//agents//flows//transitionRouteGroups/`.
2037
2135
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup] google_cloud_dialogflow_cx_v3_transition_route_group_object
2038
2136
  # @param [String] language_code
2039
- # The language to list transition route groups for. The field `messages` in
2040
- # TransitionRoute is language dependent. If not specified, the agent's default
2041
- # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
2042
- # reference/language) are supported. Note: languages must be enabled in the
2043
- # agent before they can be used.
2137
+ # The language of the following fields in `TransitionRouteGroup`: * `
2138
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `
2139
+ # TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
2140
+ # If not specified, the agent's default language is used. [Many languages](https:
2141
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
2142
+ # languages must be enabled in the agent before they can be used.
2044
2143
  # @param [String] update_mask
2045
2144
  # The mask to control which fields get updated.
2046
2145
  # @param [String] fields
@@ -2208,10 +2307,10 @@ module Google
2208
2307
  execute_or_queue_command(command, &block)
2209
2308
  end
2210
2309
 
2211
- # Loads a specified version to draft version.
2310
+ # Loads resources in the specified version to the draft flow.
2212
2311
  # @param [String] name
2213
- # Required. The Version to be loaded to draft version. Format: `projects//
2214
- # locations//agents//flows//versions/`.
2312
+ # Required. The Version to be loaded to draft flow. Format: `projects//locations/
2313
+ # /agents//flows//versions/`.
2215
2314
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LoadVersionRequest] google_cloud_dialogflow_cx_v3_load_version_request_object
2216
2315
  # @param [String] fields
2217
2316
  # Selector specifying which fields to include in a partial response.
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.10.0
4
+ version: 0.11.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: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.10.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.11.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dialogflow API V3