google-apis-dialogflow_v3beta1 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +247 -27
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +104 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +164 -65
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54f5f414bcaaeaf68893c281b50a928adc6a17453738b1c47193bef2a30e2427
|
4
|
+
data.tar.gz: 74a66d7f99af321853d47beb3c1b7288c0f2258007a5f5f7782731b3bd6a471e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290526dd9bed57a82d2da175a64d88f5c9a84c4bfaf02a25cceaabd3d3939177cc964e1dc3b9785e0088ee199bf4543f87444968de7fc5ed524a3d1dda576940
|
7
|
+
data.tar.gz: 349cf296b652f1020f4d5d834dc0ef144a80434d06847533bf2ec7416a8ded14f4a41a17d6f00ad2da571991b870ec561d68da0d68b46c27bedbaa85df9130bf
|
data/CHANGELOG.md
CHANGED
@@ -415,6 +415,33 @@ module Google
|
|
415
415
|
end
|
416
416
|
end
|
417
417
|
|
418
|
+
# The response message for Flows.ExportFlow.
|
419
|
+
class GoogleCloudDialogflowCxV3ExportFlowResponse
|
420
|
+
include Google::Apis::Core::Hashable
|
421
|
+
|
422
|
+
# Uncompressed raw byte content for flow.
|
423
|
+
# Corresponds to the JSON property `flowContent`
|
424
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
425
|
+
# @return [String]
|
426
|
+
attr_accessor :flow_content
|
427
|
+
|
428
|
+
# The URI to a file containing the exported flow. This field is populated only
|
429
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
430
|
+
# Corresponds to the JSON property `flowUri`
|
431
|
+
# @return [String]
|
432
|
+
attr_accessor :flow_uri
|
433
|
+
|
434
|
+
def initialize(**args)
|
435
|
+
update!(**args)
|
436
|
+
end
|
437
|
+
|
438
|
+
# Update properties of this object
|
439
|
+
def update!(**args)
|
440
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
441
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
418
445
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
419
446
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
420
447
|
include Google::Apis::Core::Hashable
|
@@ -813,6 +840,26 @@ module Google
|
|
813
840
|
end
|
814
841
|
end
|
815
842
|
|
843
|
+
# The response message for Flows.ImportFlow.
|
844
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
845
|
+
include Google::Apis::Core::Hashable
|
846
|
+
|
847
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
848
|
+
# flows/`.
|
849
|
+
# Corresponds to the JSON property `flow`
|
850
|
+
# @return [String]
|
851
|
+
attr_accessor :flow
|
852
|
+
|
853
|
+
def initialize(**args)
|
854
|
+
update!(**args)
|
855
|
+
end
|
856
|
+
|
857
|
+
# Update properties of this object
|
858
|
+
def update!(**args)
|
859
|
+
@flow = args[:flow] if args.key?(:flow)
|
860
|
+
end
|
861
|
+
end
|
862
|
+
|
816
863
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
817
864
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
818
865
|
include Google::Apis::Core::Hashable
|
@@ -936,8 +983,8 @@ module Google
|
|
936
983
|
class GoogleCloudDialogflowCxV3Intent
|
937
984
|
include Google::Apis::Core::Hashable
|
938
985
|
|
939
|
-
#
|
940
|
-
#
|
986
|
+
# Human readable description for better understanding an intent like its scope,
|
987
|
+
# content, result etc. Maximum character limit: 140 characters.
|
941
988
|
# Corresponds to the JSON property `description`
|
942
989
|
# @return [String]
|
943
990
|
attr_accessor :description
|
@@ -957,14 +1004,14 @@ module Google
|
|
957
1004
|
attr_accessor :is_fallback
|
958
1005
|
alias_method :is_fallback?, :is_fallback
|
959
1006
|
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
1007
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
1008
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
1009
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
1010
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
1011
|
+
# 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
|
1012
|
+
# allowed Dialogflow defined labels include: * sys.head * sys.contextual The
|
1013
|
+
# above labels do not require value. "sys.head" means the intent is a head
|
1014
|
+
# intent. "sys.contextual" means the intent is a contextual intent.
|
968
1015
|
# Corresponds to the JSON property `labels`
|
969
1016
|
# @return [Hash<String,String>]
|
970
1017
|
attr_accessor :labels
|
@@ -2149,6 +2196,11 @@ module Google
|
|
2149
2196
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
2150
2197
|
attr_accessor :intent_info
|
2151
2198
|
|
2199
|
+
# The language code specified in the original request.
|
2200
|
+
# Corresponds to the JSON property `languageCode`
|
2201
|
+
# @return [String]
|
2202
|
+
attr_accessor :language_code
|
2203
|
+
|
2152
2204
|
# The list of rich message responses to present to the user. Webhook can choose
|
2153
2205
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
2154
2206
|
# Corresponds to the JSON property `messages`
|
@@ -2208,6 +2260,7 @@ module Google
|
|
2208
2260
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
2209
2261
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
2210
2262
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
2263
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2211
2264
|
@messages = args[:messages] if args.key?(:messages)
|
2212
2265
|
@page_info = args[:page_info] if args.key?(:page_info)
|
2213
2266
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -2480,6 +2533,12 @@ module Google
|
|
2480
2533
|
# @return [String]
|
2481
2534
|
attr_accessor :start_flow
|
2482
2535
|
|
2536
|
+
# The list of all languages supported by the agent (except for the `
|
2537
|
+
# default_language_code`).
|
2538
|
+
# Corresponds to the JSON property `supportedLanguageCodes`
|
2539
|
+
# @return [Array<String>]
|
2540
|
+
attr_accessor :supported_language_codes
|
2541
|
+
|
2483
2542
|
# Required. The time zone of the agent from the [time zone database](https://www.
|
2484
2543
|
# iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
2485
2544
|
# Corresponds to the JSON property `timeZone`
|
@@ -2502,6 +2561,7 @@ module Google
|
|
2502
2561
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
2503
2562
|
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
|
2504
2563
|
@start_flow = args[:start_flow] if args.key?(:start_flow)
|
2564
|
+
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
|
2505
2565
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
2506
2566
|
end
|
2507
2567
|
end
|
@@ -3553,6 +3613,12 @@ module Google
|
|
3553
3613
|
# @return [String]
|
3554
3614
|
attr_accessor :agent_uri
|
3555
3615
|
|
3616
|
+
# Optional. Environment name. If not set, draft environment is assumed. Format: `
|
3617
|
+
# projects//locations//agents//environments/`.
|
3618
|
+
# Corresponds to the JSON property `environment`
|
3619
|
+
# @return [String]
|
3620
|
+
attr_accessor :environment
|
3621
|
+
|
3556
3622
|
def initialize(**args)
|
3557
3623
|
update!(**args)
|
3558
3624
|
end
|
@@ -3560,6 +3626,7 @@ module Google
|
|
3560
3626
|
# Update properties of this object
|
3561
3627
|
def update!(**args)
|
3562
3628
|
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
3629
|
+
@environment = args[:environment] if args.key?(:environment)
|
3563
3630
|
end
|
3564
3631
|
end
|
3565
3632
|
|
@@ -3590,6 +3657,61 @@ module Google
|
|
3590
3657
|
end
|
3591
3658
|
end
|
3592
3659
|
|
3660
|
+
# The request message for Flows.ExportFlow.
|
3661
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
|
3662
|
+
include Google::Apis::Core::Hashable
|
3663
|
+
|
3664
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
3665
|
+
# URI to export the flow to. The format of this URI must be `gs:///`. If left
|
3666
|
+
# unspecified, the serialized flow is returned inline.
|
3667
|
+
# Corresponds to the JSON property `flowUri`
|
3668
|
+
# @return [String]
|
3669
|
+
attr_accessor :flow_uri
|
3670
|
+
|
3671
|
+
# Optional. Whether to export flows referenced by the specified flow.
|
3672
|
+
# Corresponds to the JSON property `includeReferencedFlows`
|
3673
|
+
# @return [Boolean]
|
3674
|
+
attr_accessor :include_referenced_flows
|
3675
|
+
alias_method :include_referenced_flows?, :include_referenced_flows
|
3676
|
+
|
3677
|
+
def initialize(**args)
|
3678
|
+
update!(**args)
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
# Update properties of this object
|
3682
|
+
def update!(**args)
|
3683
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3684
|
+
@include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
|
3685
|
+
end
|
3686
|
+
end
|
3687
|
+
|
3688
|
+
# The response message for Flows.ExportFlow.
|
3689
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
3690
|
+
include Google::Apis::Core::Hashable
|
3691
|
+
|
3692
|
+
# Uncompressed raw byte content for flow.
|
3693
|
+
# Corresponds to the JSON property `flowContent`
|
3694
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3695
|
+
# @return [String]
|
3696
|
+
attr_accessor :flow_content
|
3697
|
+
|
3698
|
+
# The URI to a file containing the exported flow. This field is populated only
|
3699
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
3700
|
+
# Corresponds to the JSON property `flowUri`
|
3701
|
+
# @return [String]
|
3702
|
+
attr_accessor :flow_uri
|
3703
|
+
|
3704
|
+
def initialize(**args)
|
3705
|
+
update!(**args)
|
3706
|
+
end
|
3707
|
+
|
3708
|
+
# Update properties of this object
|
3709
|
+
def update!(**args)
|
3710
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
3711
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
3712
|
+
end
|
3713
|
+
end
|
3714
|
+
|
3593
3715
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3594
3716
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3595
3717
|
include Google::Apis::Core::Hashable
|
@@ -4219,6 +4341,59 @@ module Google
|
|
4219
4341
|
end
|
4220
4342
|
end
|
4221
4343
|
|
4344
|
+
# The request message for Flows.ImportFlow.
|
4345
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
|
4346
|
+
include Google::Apis::Core::Hashable
|
4347
|
+
|
4348
|
+
# Uncompressed raw byte content for flow.
|
4349
|
+
# Corresponds to the JSON property `flowContent`
|
4350
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4351
|
+
# @return [String]
|
4352
|
+
attr_accessor :flow_content
|
4353
|
+
|
4354
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
4355
|
+
# import flow from. The format of this URI must be `gs:///`.
|
4356
|
+
# Corresponds to the JSON property `flowUri`
|
4357
|
+
# @return [String]
|
4358
|
+
attr_accessor :flow_uri
|
4359
|
+
|
4360
|
+
# Flow import mode. If not specified, `KEEP` is assumed.
|
4361
|
+
# Corresponds to the JSON property `importOption`
|
4362
|
+
# @return [String]
|
4363
|
+
attr_accessor :import_option
|
4364
|
+
|
4365
|
+
def initialize(**args)
|
4366
|
+
update!(**args)
|
4367
|
+
end
|
4368
|
+
|
4369
|
+
# Update properties of this object
|
4370
|
+
def update!(**args)
|
4371
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
4372
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
4373
|
+
@import_option = args[:import_option] if args.key?(:import_option)
|
4374
|
+
end
|
4375
|
+
end
|
4376
|
+
|
4377
|
+
# The response message for Flows.ImportFlow.
|
4378
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
4379
|
+
include Google::Apis::Core::Hashable
|
4380
|
+
|
4381
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
4382
|
+
# flows/`.
|
4383
|
+
# Corresponds to the JSON property `flow`
|
4384
|
+
# @return [String]
|
4385
|
+
attr_accessor :flow
|
4386
|
+
|
4387
|
+
def initialize(**args)
|
4388
|
+
update!(**args)
|
4389
|
+
end
|
4390
|
+
|
4391
|
+
# Update properties of this object
|
4392
|
+
def update!(**args)
|
4393
|
+
@flow = args[:flow] if args.key?(:flow)
|
4394
|
+
end
|
4395
|
+
end
|
4396
|
+
|
4222
4397
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
4223
4398
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
4224
4399
|
include Google::Apis::Core::Hashable
|
@@ -4369,8 +4544,8 @@ module Google
|
|
4369
4544
|
class GoogleCloudDialogflowCxV3beta1Intent
|
4370
4545
|
include Google::Apis::Core::Hashable
|
4371
4546
|
|
4372
|
-
#
|
4373
|
-
#
|
4547
|
+
# Human readable description for better understanding an intent like its scope,
|
4548
|
+
# content, result etc. Maximum character limit: 140 characters.
|
4374
4549
|
# Corresponds to the JSON property `description`
|
4375
4550
|
# @return [String]
|
4376
4551
|
attr_accessor :description
|
@@ -4390,14 +4565,14 @@ module Google
|
|
4390
4565
|
attr_accessor :is_fallback
|
4391
4566
|
alias_method :is_fallback?, :is_fallback
|
4392
4567
|
|
4393
|
-
#
|
4394
|
-
#
|
4395
|
-
#
|
4396
|
-
#
|
4397
|
-
#
|
4398
|
-
#
|
4399
|
-
#
|
4400
|
-
#
|
4568
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
4569
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
4570
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
4571
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
4572
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
4573
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
4574
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
4575
|
+
# intent. "sys-contextual" means the intent is a contextual intent.
|
4401
4576
|
# Corresponds to the JSON property `labels`
|
4402
4577
|
# @return [Hash<String,String>]
|
4403
4578
|
attr_accessor :labels
|
@@ -5017,8 +5192,8 @@ module Google
|
|
5017
5192
|
class GoogleCloudDialogflowCxV3beta1LoadVersionRequest
|
5018
5193
|
include Google::Apis::Core::Hashable
|
5019
5194
|
|
5020
|
-
# This field is used to prevent accidental overwrite of other agent resources
|
5021
|
-
#
|
5195
|
+
# This field is used to prevent accidental overwrite of other agent resources,
|
5196
|
+
# which can potentially impact other flow's behavior. If `
|
5022
5197
|
# allow_override_agent_resources` is false, conflicted agent-level resources
|
5023
5198
|
# will not be overridden (i.e. intents, entities, webhooks).
|
5024
5199
|
# Corresponds to the JSON property `allowOverrideAgentResources`
|
@@ -5573,8 +5748,8 @@ module Google
|
|
5573
5748
|
|
5574
5749
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
5575
5750
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
5576
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
5577
|
-
# within normalized ranges.
|
5751
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
5752
|
+
# must be within normalized ranges.
|
5578
5753
|
# Corresponds to the JSON property `geoLocation`
|
5579
5754
|
# @return [Google::Apis::DialogflowV3beta1::GoogleTypeLatLng]
|
5580
5755
|
attr_accessor :geo_location
|
@@ -5594,7 +5769,10 @@ module Google
|
|
5594
5769
|
attr_accessor :parameters
|
5595
5770
|
|
5596
5771
|
# This field can be used to pass custom data into the webhook associated with
|
5597
|
-
# the agent. Arbitrary JSON objects are supported.
|
5772
|
+
# the agent. Arbitrary JSON objects are supported. Some integrations that query
|
5773
|
+
# a Dialogflow agent may provide additional information in the payload. In
|
5774
|
+
# particular, for the Dialogflow Phone Gateway integration, this field has the
|
5775
|
+
# form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
|
5598
5776
|
# Corresponds to the JSON property `payload`
|
5599
5777
|
# @return [Hash<String,Object>]
|
5600
5778
|
attr_accessor :payload
|
@@ -7384,6 +7562,12 @@ module Google
|
|
7384
7562
|
# @return [String]
|
7385
7563
|
attr_accessor :name
|
7386
7564
|
|
7565
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
7566
|
+
# service-directory) service.
|
7567
|
+
# Corresponds to the JSON property `serviceDirectory`
|
7568
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]
|
7569
|
+
attr_accessor :service_directory
|
7570
|
+
|
7387
7571
|
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
7388
7572
|
# t receive a response from webhook at the end of the timeout period. Defaults
|
7389
7573
|
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
@@ -7401,6 +7585,7 @@ module Google
|
|
7401
7585
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7402
7586
|
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
7403
7587
|
@name = args[:name] if args.key?(:name)
|
7588
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
7404
7589
|
@timeout = args[:timeout] if args.key?(:timeout)
|
7405
7590
|
end
|
7406
7591
|
end
|
@@ -7464,6 +7649,11 @@ module Google
|
|
7464
7649
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
7465
7650
|
attr_accessor :intent_info
|
7466
7651
|
|
7652
|
+
# The language code specified in the original request.
|
7653
|
+
# Corresponds to the JSON property `languageCode`
|
7654
|
+
# @return [String]
|
7655
|
+
attr_accessor :language_code
|
7656
|
+
|
7467
7657
|
# The list of rich message responses to present to the user. Webhook can choose
|
7468
7658
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
7469
7659
|
# Corresponds to the JSON property `messages`
|
@@ -7523,6 +7713,7 @@ module Google
|
|
7523
7713
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
7524
7714
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
7525
7715
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
7716
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7526
7717
|
@messages = args[:messages] if args.key?(:messages)
|
7527
7718
|
@page_info = args[:page_info] if args.key?(:page_info)
|
7528
7719
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -7724,6 +7915,35 @@ module Google
|
|
7724
7915
|
end
|
7725
7916
|
end
|
7726
7917
|
|
7918
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
7919
|
+
# service-directory) service.
|
7920
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
7921
|
+
include Google::Apis::Core::Hashable
|
7922
|
+
|
7923
|
+
# Represents configuration for a generic web service.
|
7924
|
+
# Corresponds to the JSON property `genericWebService`
|
7925
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
|
7926
|
+
attr_accessor :generic_web_service
|
7927
|
+
|
7928
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
7929
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
7930
|
+
# Location ID` of the service directory must be the same as the location of the
|
7931
|
+
# agent.
|
7932
|
+
# Corresponds to the JSON property `service`
|
7933
|
+
# @return [String]
|
7934
|
+
attr_accessor :service
|
7935
|
+
|
7936
|
+
def initialize(**args)
|
7937
|
+
update!(**args)
|
7938
|
+
end
|
7939
|
+
|
7940
|
+
# Update properties of this object
|
7941
|
+
def update!(**args)
|
7942
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
7943
|
+
@service = args[:service] if args.key?(:service)
|
7944
|
+
end
|
7945
|
+
end
|
7946
|
+
|
7727
7947
|
# Represents a part of a message possibly annotated with an entity. The part can
|
7728
7948
|
# be an entity or purely a part of the message between two entities or message
|
7729
7949
|
# start/end.
|
@@ -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
|
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 DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
25
|
+
REVISION = "20210510"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudDialogflowCxV3ExportFlowResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -178,6 +184,12 @@ module Google
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
186
|
|
187
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
181
193
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
182
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
195
|
|
@@ -622,6 +634,18 @@ module Google
|
|
622
634
|
include Google::Apis::Core::JsonObjectSupport
|
623
635
|
end
|
624
636
|
|
637
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
643
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
625
649
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
626
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
651
|
|
@@ -730,6 +754,18 @@ module Google
|
|
730
754
|
include Google::Apis::Core::JsonObjectSupport
|
731
755
|
end
|
732
756
|
|
757
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
763
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
733
769
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
734
770
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
771
|
|
@@ -1306,6 +1342,12 @@ module Google
|
|
1306
1342
|
include Google::Apis::Core::JsonObjectSupport
|
1307
1343
|
end
|
1308
1344
|
|
1345
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
1346
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1347
|
+
|
1348
|
+
include Google::Apis::Core::JsonObjectSupport
|
1349
|
+
end
|
1350
|
+
|
1309
1351
|
class GoogleCloudDialogflowV2AnnotatedMessagePart
|
1310
1352
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1311
1353
|
|
@@ -2309,6 +2351,14 @@ module Google
|
|
2309
2351
|
end
|
2310
2352
|
end
|
2311
2353
|
|
2354
|
+
class GoogleCloudDialogflowCxV3ExportFlowResponse
|
2355
|
+
# @private
|
2356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2357
|
+
property :flow_content, :base64 => true, as: 'flowContent'
|
2358
|
+
property :flow_uri, as: 'flowUri'
|
2359
|
+
end
|
2360
|
+
end
|
2361
|
+
|
2312
2362
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
2313
2363
|
# @private
|
2314
2364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2427,6 +2477,13 @@ module Google
|
|
2427
2477
|
end
|
2428
2478
|
end
|
2429
2479
|
|
2480
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
2481
|
+
# @private
|
2482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2483
|
+
property :flow, as: 'flow'
|
2484
|
+
end
|
2485
|
+
end
|
2486
|
+
|
2430
2487
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
2431
2488
|
# @private
|
2432
2489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2782,6 +2839,7 @@ module Google
|
|
2782
2839
|
|
2783
2840
|
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
|
2784
2841
|
|
2842
|
+
property :language_code, as: 'languageCode'
|
2785
2843
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2786
2844
|
|
2787
2845
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
|
@@ -2870,6 +2928,7 @@ module Google
|
|
2870
2928
|
property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation
|
2871
2929
|
|
2872
2930
|
property :start_flow, as: 'startFlow'
|
2931
|
+
collection :supported_language_codes, as: 'supportedLanguageCodes'
|
2873
2932
|
property :time_zone, as: 'timeZone'
|
2874
2933
|
end
|
2875
2934
|
end
|
@@ -3173,6 +3232,7 @@ module Google
|
|
3173
3232
|
# @private
|
3174
3233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3175
3234
|
property :agent_uri, as: 'agentUri'
|
3235
|
+
property :environment, as: 'environment'
|
3176
3236
|
end
|
3177
3237
|
end
|
3178
3238
|
|
@@ -3184,6 +3244,22 @@ module Google
|
|
3184
3244
|
end
|
3185
3245
|
end
|
3186
3246
|
|
3247
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
|
3248
|
+
# @private
|
3249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3250
|
+
property :flow_uri, as: 'flowUri'
|
3251
|
+
property :include_referenced_flows, as: 'includeReferencedFlows'
|
3252
|
+
end
|
3253
|
+
end
|
3254
|
+
|
3255
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
3256
|
+
# @private
|
3257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3258
|
+
property :flow_content, :base64 => true, as: 'flowContent'
|
3259
|
+
property :flow_uri, as: 'flowUri'
|
3260
|
+
end
|
3261
|
+
end
|
3262
|
+
|
3187
3263
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3188
3264
|
# @private
|
3189
3265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3361,6 +3437,22 @@ module Google
|
|
3361
3437
|
end
|
3362
3438
|
end
|
3363
3439
|
|
3440
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
|
3441
|
+
# @private
|
3442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3443
|
+
property :flow_content, :base64 => true, as: 'flowContent'
|
3444
|
+
property :flow_uri, as: 'flowUri'
|
3445
|
+
property :import_option, as: 'importOption'
|
3446
|
+
end
|
3447
|
+
end
|
3448
|
+
|
3449
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
3450
|
+
# @private
|
3451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3452
|
+
property :flow, as: 'flow'
|
3453
|
+
end
|
3454
|
+
end
|
3455
|
+
|
3364
3456
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
3365
3457
|
# @private
|
3366
3458
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4222,6 +4314,8 @@ module Google
|
|
4222
4314
|
property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
|
4223
4315
|
|
4224
4316
|
property :name, as: 'name'
|
4317
|
+
property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig::Representation
|
4318
|
+
|
4225
4319
|
property :timeout, as: 'timeout'
|
4226
4320
|
end
|
4227
4321
|
end
|
@@ -4244,6 +4338,7 @@ module Google
|
|
4244
4338
|
|
4245
4339
|
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
|
4246
4340
|
|
4341
|
+
property :language_code, as: 'languageCode'
|
4247
4342
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
4248
4343
|
|
4249
4344
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
|
@@ -4318,6 +4413,15 @@ module Google
|
|
4318
4413
|
end
|
4319
4414
|
end
|
4320
4415
|
|
4416
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
4417
|
+
# @private
|
4418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4419
|
+
property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
|
4420
|
+
|
4421
|
+
property :service, as: 'service'
|
4422
|
+
end
|
4423
|
+
end
|
4424
|
+
|
4321
4425
|
class GoogleCloudDialogflowV2AnnotatedMessagePart
|
4322
4426
|
# @private
|
4323
4427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1335,11 +1335,12 @@ module Google
|
|
1335
1335
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] google_cloud_dialogflow_cx_v3beta1_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.
|
1339
|
-
#
|
1340
|
-
#
|
1341
|
-
#
|
1342
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportFlowRequest] google_cloud_dialogflow_cx_v3beta1_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::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
1429
|
+
# @yieldparam err [StandardError] error object if request failed
|
1430
|
+
#
|
1431
|
+
# @return [Google::Apis::DialogflowV3beta1::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_v3beta1_export_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1437
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:export', options)
|
1438
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportFlowRequest::Representation
|
1439
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_export_flow_request_object
|
1440
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
1441
|
+
command.response_class = Google::Apis::DialogflowV3beta1::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
|
-
#
|
1420
|
-
#
|
1421
|
-
#
|
1422
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportFlowRequest] google_cloud_dialogflow_cx_v3beta1_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::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
1539
|
+
# @yieldparam err [StandardError] error object if request failed
|
1540
|
+
#
|
1541
|
+
# @return [Google::Apis::DialogflowV3beta1::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_v3beta1_import_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1547
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/flows:import', options)
|
1548
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportFlowRequest::Representation
|
1549
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_import_flow_request_object
|
1550
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
1551
|
+
command.response_class = Google::Apis::DialogflowV3beta1::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.
|
1493
|
-
# trigger_fulfillment.
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] google_cloud_dialogflow_cx_v3beta1_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.
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] google_cloud_dialogflow_cx_v3beta1_page_object
|
1652
1727
|
# @param [String] language_code
|
1653
1728
|
# The language of the following fields in `page`: * `Page.entry_fulfillment.
|
1654
|
-
# messages` * `Page.
|
1655
|
-
# messages` * `Page.
|
1656
|
-
#
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
-
#
|
1660
|
-
#
|
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.
|
1737
|
-
#
|
1738
|
-
#
|
1739
|
-
#
|
1740
|
-
#
|
1741
|
-
#
|
1742
|
-
#
|
1743
|
-
#
|
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.
|
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
|
-
#
|
1781
|
-
#
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1785
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] google_cloud_dialogflow_cx_v3beta1_page_object
|
1827
1915
|
# @param [String] language_code
|
1828
1916
|
# The language of the following fields in `page`: * `Page.entry_fulfillment.
|
1829
|
-
# messages` * `Page.
|
1830
|
-
# messages` * `Page.
|
1831
|
-
#
|
1832
|
-
#
|
1833
|
-
#
|
1834
|
-
#
|
1835
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
1875
1968
|
# @param [String] language_code
|
1876
|
-
# The language
|
1877
|
-
#
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
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
|
1955
|
-
#
|
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
|
1993
|
-
#
|
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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
2038
2136
|
# @param [String] language_code
|
2039
|
-
# The language
|
2040
|
-
#
|
2041
|
-
#
|
2042
|
-
#
|
2043
|
-
#
|
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
|
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
|
2214
|
-
#
|
2312
|
+
# Required. The Version to be loaded to draft flow. Format: `projects//locations/
|
2313
|
+
# /agents//flows//versions/`.
|
2215
2314
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LoadVersionRequest] google_cloud_dialogflow_cx_v3beta1_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_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v3beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.11.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
|
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.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Dialogflow API V3beta1
|