google-apis-dialogflow_v2beta1 0.33.0 → 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34fc3018b5767dc8618b9508d11370f5efdb641532bbacb6888e36be556c711c
|
4
|
+
data.tar.gz: 37da5e10ee6e8f165a23e9d370e582a0e3e25ca85a6291a936b2b6e389e43a67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 401b2b59ab686314199a65c7f13909bbf81324c13eaf5ec1efba71fc9824f3166bf6dbc7308bd07c9cd63eaa3c5e0e37ad281a94d1a179ae6d05e971a2418831
|
7
|
+
data.tar.gz: 0d84d88eac8a6b74589bcb3be6a6c1ea398b6aca1ddfc8cb076d0f6dc807953ec4b6ae1ecf23cb1936a41442ef90f622cb275b79c128cfc01e2919f5e192b18a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.36.0 (2022-05-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220524
|
6
|
+
|
7
|
+
### v0.35.0 (2022-05-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220502
|
10
|
+
|
11
|
+
### v0.34.0 (2022-04-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220411
|
14
|
+
|
3
15
|
### v0.33.0 (2022-04-06)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220404
|
@@ -456,6 +456,11 @@ module Google
|
|
456
456
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>]
|
457
457
|
attr_accessor :version_configs
|
458
458
|
|
459
|
+
# Configuration for webhooks.
|
460
|
+
# Corresponds to the JSON property `webhookConfig`
|
461
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig]
|
462
|
+
attr_accessor :webhook_config
|
463
|
+
|
459
464
|
def initialize(**args)
|
460
465
|
update!(**args)
|
461
466
|
end
|
@@ -468,6 +473,7 @@ module Google
|
|
468
473
|
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
469
474
|
@update_time = args[:update_time] if args.key?(:update_time)
|
470
475
|
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
476
|
+
@webhook_config = args[:webhook_config] if args.key?(:webhook_config)
|
471
477
|
end
|
472
478
|
end
|
473
479
|
|
@@ -526,6 +532,27 @@ module Google
|
|
526
532
|
end
|
527
533
|
end
|
528
534
|
|
535
|
+
# Configuration for webhooks.
|
536
|
+
class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
|
537
|
+
include Google::Apis::Core::Hashable
|
538
|
+
|
539
|
+
# The list of webhooks to override for the agent environment. The webhook must
|
540
|
+
# exist in the agent. You can override fields in `generic_web_service` and `
|
541
|
+
# service_directory`.
|
542
|
+
# Corresponds to the JSON property `webhookOverrides`
|
543
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook>]
|
544
|
+
attr_accessor :webhook_overrides
|
545
|
+
|
546
|
+
def initialize(**args)
|
547
|
+
update!(**args)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Update properties of this object
|
551
|
+
def update!(**args)
|
552
|
+
@webhook_overrides = args[:webhook_overrides] if args.key?(:webhook_overrides)
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
529
556
|
# An event handler specifies an event that can be handled during a session. When
|
530
557
|
# the specified event happens, the following actions are taken in order: * If
|
531
558
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -873,8 +900,11 @@ module Google
|
|
873
900
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
874
901
|
attr_accessor :set_parameter_actions
|
875
902
|
|
876
|
-
# The
|
877
|
-
#
|
903
|
+
# The value of this field will be populated in the WebhookRequest `
|
904
|
+
# fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.
|
905
|
+
# The tag is typically used by the webhook service to identify which
|
906
|
+
# fulfillment is being called, but it could be used for other purposes. This
|
907
|
+
# field is required if `webhook` is specified.
|
878
908
|
# Corresponds to the JSON property `tag`
|
879
909
|
# @return [String]
|
880
910
|
attr_accessor :tag
|
@@ -1436,7 +1466,7 @@ module Google
|
|
1436
1466
|
class GoogleCloudDialogflowCxV3Page
|
1437
1467
|
include Google::Apis::Core::Hashable
|
1438
1468
|
|
1439
|
-
# Required. The human-readable name of the page, unique within the
|
1469
|
+
# Required. The human-readable name of the page, unique within the flow.
|
1440
1470
|
# Corresponds to the JSON property `displayName`
|
1441
1471
|
# @return [String]
|
1442
1472
|
attr_accessor :display_name
|
@@ -2490,6 +2520,115 @@ module Google
|
|
2490
2520
|
end
|
2491
2521
|
end
|
2492
2522
|
|
2523
|
+
# Webhooks host the developer's business logic. During a session, webhooks allow
|
2524
|
+
# the developer to use the data extracted by Dialogflow's natural language
|
2525
|
+
# processing to generate dynamic responses, validate collected data, or trigger
|
2526
|
+
# actions on the backend.
|
2527
|
+
class GoogleCloudDialogflowCxV3Webhook
|
2528
|
+
include Google::Apis::Core::Hashable
|
2529
|
+
|
2530
|
+
# Indicates whether the webhook is disabled.
|
2531
|
+
# Corresponds to the JSON property `disabled`
|
2532
|
+
# @return [Boolean]
|
2533
|
+
attr_accessor :disabled
|
2534
|
+
alias_method :disabled?, :disabled
|
2535
|
+
|
2536
|
+
# Required. The human-readable name of the webhook, unique within the agent.
|
2537
|
+
# Corresponds to the JSON property `displayName`
|
2538
|
+
# @return [String]
|
2539
|
+
attr_accessor :display_name
|
2540
|
+
|
2541
|
+
# Represents configuration for a generic web service.
|
2542
|
+
# Corresponds to the JSON property `genericWebService`
|
2543
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService]
|
2544
|
+
attr_accessor :generic_web_service
|
2545
|
+
|
2546
|
+
# The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook
|
2547
|
+
# method. Webhooks.CreateWebhook populates the name automatically. Format: `
|
2548
|
+
# projects//locations//agents//webhooks/`.
|
2549
|
+
# Corresponds to the JSON property `name`
|
2550
|
+
# @return [String]
|
2551
|
+
attr_accessor :name
|
2552
|
+
|
2553
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
2554
|
+
# service-directory) service.
|
2555
|
+
# Corresponds to the JSON property `serviceDirectory`
|
2556
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]
|
2557
|
+
attr_accessor :service_directory
|
2558
|
+
|
2559
|
+
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
2560
|
+
# t receive a response from webhook at the end of the timeout period. Defaults
|
2561
|
+
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
2562
|
+
# Corresponds to the JSON property `timeout`
|
2563
|
+
# @return [String]
|
2564
|
+
attr_accessor :timeout
|
2565
|
+
|
2566
|
+
def initialize(**args)
|
2567
|
+
update!(**args)
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
# Update properties of this object
|
2571
|
+
def update!(**args)
|
2572
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
2573
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2574
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
2575
|
+
@name = args[:name] if args.key?(:name)
|
2576
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
2577
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
# Represents configuration for a generic web service.
|
2582
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebService
|
2583
|
+
include Google::Apis::Core::Hashable
|
2584
|
+
|
2585
|
+
# Optional. Specifies a list of allowed custom CA certificates (in DER format)
|
2586
|
+
# for HTTPS verification. This overrides the default SSL trust store. If this is
|
2587
|
+
# empty or unspecified, Dialogflow will use Google's default trust store to
|
2588
|
+
# verify certificates. N.B. Make sure the HTTPS server certificates are signed
|
2589
|
+
# with "subject alt name". For instance a certificate can be self-signed using
|
2590
|
+
# the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
|
2591
|
+
# signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
|
2592
|
+
# nsubjectAltName='DNS:www.example.com'") ```
|
2593
|
+
# Corresponds to the JSON property `allowedCaCerts`
|
2594
|
+
# @return [Array<String>]
|
2595
|
+
attr_accessor :allowed_ca_certs
|
2596
|
+
|
2597
|
+
# The password for HTTP Basic authentication.
|
2598
|
+
# Corresponds to the JSON property `password`
|
2599
|
+
# @return [String]
|
2600
|
+
attr_accessor :password
|
2601
|
+
|
2602
|
+
# The HTTP request headers to send together with webhook requests.
|
2603
|
+
# Corresponds to the JSON property `requestHeaders`
|
2604
|
+
# @return [Hash<String,String>]
|
2605
|
+
attr_accessor :request_headers
|
2606
|
+
|
2607
|
+
# Required. The webhook URI for receiving POST requests. It must use https
|
2608
|
+
# protocol.
|
2609
|
+
# Corresponds to the JSON property `uri`
|
2610
|
+
# @return [String]
|
2611
|
+
attr_accessor :uri
|
2612
|
+
|
2613
|
+
# The user name for HTTP Basic authentication.
|
2614
|
+
# Corresponds to the JSON property `username`
|
2615
|
+
# @return [String]
|
2616
|
+
attr_accessor :username
|
2617
|
+
|
2618
|
+
def initialize(**args)
|
2619
|
+
update!(**args)
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
# Update properties of this object
|
2623
|
+
def update!(**args)
|
2624
|
+
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
2625
|
+
@password = args[:password] if args.key?(:password)
|
2626
|
+
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
2627
|
+
@uri = args[:uri] if args.key?(:uri)
|
2628
|
+
@username = args[:username] if args.key?(:username)
|
2629
|
+
end
|
2630
|
+
end
|
2631
|
+
|
2493
2632
|
# The request message for a webhook call. The request is sent as a JSON object
|
2494
2633
|
# and the field names will be presented in camel cases.
|
2495
2634
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
@@ -2592,7 +2731,10 @@ module Google
|
|
2592
2731
|
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
2593
2732
|
include Google::Apis::Core::Hashable
|
2594
2733
|
|
2595
|
-
# Always present. The
|
2734
|
+
# Always present. The value of the Fulfillment.tag field will be populated in
|
2735
|
+
# this field by Dialogflow when the associated webhook is called. The tag is
|
2736
|
+
# typically used by the webhook service to identify which fulfillment is being
|
2737
|
+
# called, but it could be used for other purposes.
|
2596
2738
|
# Corresponds to the JSON property `tag`
|
2597
2739
|
# @return [String]
|
2598
2740
|
attr_accessor :tag
|
@@ -2777,6 +2919,35 @@ module Google
|
|
2777
2919
|
end
|
2778
2920
|
end
|
2779
2921
|
|
2922
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
2923
|
+
# service-directory) service.
|
2924
|
+
class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
|
2925
|
+
include Google::Apis::Core::Hashable
|
2926
|
+
|
2927
|
+
# Represents configuration for a generic web service.
|
2928
|
+
# Corresponds to the JSON property `genericWebService`
|
2929
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService]
|
2930
|
+
attr_accessor :generic_web_service
|
2931
|
+
|
2932
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
2933
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
2934
|
+
# Location ID` of the service directory must be the same as the location of the
|
2935
|
+
# agent.
|
2936
|
+
# Corresponds to the JSON property `service`
|
2937
|
+
# @return [String]
|
2938
|
+
attr_accessor :service
|
2939
|
+
|
2940
|
+
def initialize(**args)
|
2941
|
+
update!(**args)
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# Update properties of this object
|
2945
|
+
def update!(**args)
|
2946
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
2947
|
+
@service = args[:service] if args.key?(:service)
|
2948
|
+
end
|
2949
|
+
end
|
2950
|
+
|
2780
2951
|
# Represents the natural speech audio to be processed.
|
2781
2952
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
2782
2953
|
include Google::Apis::Core::Hashable
|
@@ -3211,6 +3382,11 @@ module Google
|
|
3211
3382
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
|
3212
3383
|
attr_accessor :version_configs
|
3213
3384
|
|
3385
|
+
# Configuration for webhooks.
|
3386
|
+
# Corresponds to the JSON property `webhookConfig`
|
3387
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]
|
3388
|
+
attr_accessor :webhook_config
|
3389
|
+
|
3214
3390
|
def initialize(**args)
|
3215
3391
|
update!(**args)
|
3216
3392
|
end
|
@@ -3223,6 +3399,7 @@ module Google
|
|
3223
3399
|
@test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
|
3224
3400
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3225
3401
|
@version_configs = args[:version_configs] if args.key?(:version_configs)
|
3402
|
+
@webhook_config = args[:webhook_config] if args.key?(:webhook_config)
|
3226
3403
|
end
|
3227
3404
|
end
|
3228
3405
|
|
@@ -3281,6 +3458,27 @@ module Google
|
|
3281
3458
|
end
|
3282
3459
|
end
|
3283
3460
|
|
3461
|
+
# Configuration for webhooks.
|
3462
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
|
3463
|
+
include Google::Apis::Core::Hashable
|
3464
|
+
|
3465
|
+
# The list of webhooks to override for the agent environment. The webhook must
|
3466
|
+
# exist in the agent. You can override fields in `generic_web_service` and `
|
3467
|
+
# service_directory`.
|
3468
|
+
# Corresponds to the JSON property `webhookOverrides`
|
3469
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Webhook>]
|
3470
|
+
attr_accessor :webhook_overrides
|
3471
|
+
|
3472
|
+
def initialize(**args)
|
3473
|
+
update!(**args)
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
# Update properties of this object
|
3477
|
+
def update!(**args)
|
3478
|
+
@webhook_overrides = args[:webhook_overrides] if args.key?(:webhook_overrides)
|
3479
|
+
end
|
3480
|
+
end
|
3481
|
+
|
3284
3482
|
# An event handler specifies an event that can be handled during a session. When
|
3285
3483
|
# the specified event happens, the following actions are taken in order: * If
|
3286
3484
|
# there is a `trigger_fulfillment` associated with the event, it will be called.
|
@@ -3628,8 +3826,11 @@ module Google
|
|
3628
3826
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
3629
3827
|
attr_accessor :set_parameter_actions
|
3630
3828
|
|
3631
|
-
# The
|
3632
|
-
#
|
3829
|
+
# The value of this field will be populated in the WebhookRequest `
|
3830
|
+
# fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.
|
3831
|
+
# The tag is typically used by the webhook service to identify which
|
3832
|
+
# fulfillment is being called, but it could be used for other purposes. This
|
3833
|
+
# field is required if `webhook` is specified.
|
3633
3834
|
# Corresponds to the JSON property `tag`
|
3634
3835
|
# @return [String]
|
3635
3836
|
attr_accessor :tag
|
@@ -4191,7 +4392,7 @@ module Google
|
|
4191
4392
|
class GoogleCloudDialogflowCxV3beta1Page
|
4192
4393
|
include Google::Apis::Core::Hashable
|
4193
4394
|
|
4194
|
-
# Required. The human-readable name of the page, unique within the
|
4395
|
+
# Required. The human-readable name of the page, unique within the flow.
|
4195
4396
|
# Corresponds to the JSON property `displayName`
|
4196
4397
|
# @return [String]
|
4197
4398
|
attr_accessor :display_name
|
@@ -5245,6 +5446,115 @@ module Google
|
|
5245
5446
|
end
|
5246
5447
|
end
|
5247
5448
|
|
5449
|
+
# Webhooks host the developer's business logic. During a session, webhooks allow
|
5450
|
+
# the developer to use the data extracted by Dialogflow's natural language
|
5451
|
+
# processing to generate dynamic responses, validate collected data, or trigger
|
5452
|
+
# actions on the backend.
|
5453
|
+
class GoogleCloudDialogflowCxV3beta1Webhook
|
5454
|
+
include Google::Apis::Core::Hashable
|
5455
|
+
|
5456
|
+
# Indicates whether the webhook is disabled.
|
5457
|
+
# Corresponds to the JSON property `disabled`
|
5458
|
+
# @return [Boolean]
|
5459
|
+
attr_accessor :disabled
|
5460
|
+
alias_method :disabled?, :disabled
|
5461
|
+
|
5462
|
+
# Required. The human-readable name of the webhook, unique within the agent.
|
5463
|
+
# Corresponds to the JSON property `displayName`
|
5464
|
+
# @return [String]
|
5465
|
+
attr_accessor :display_name
|
5466
|
+
|
5467
|
+
# Represents configuration for a generic web service.
|
5468
|
+
# Corresponds to the JSON property `genericWebService`
|
5469
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
|
5470
|
+
attr_accessor :generic_web_service
|
5471
|
+
|
5472
|
+
# The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook
|
5473
|
+
# method. Webhooks.CreateWebhook populates the name automatically. Format: `
|
5474
|
+
# projects//locations//agents//webhooks/`.
|
5475
|
+
# Corresponds to the JSON property `name`
|
5476
|
+
# @return [String]
|
5477
|
+
attr_accessor :name
|
5478
|
+
|
5479
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
5480
|
+
# service-directory) service.
|
5481
|
+
# Corresponds to the JSON property `serviceDirectory`
|
5482
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]
|
5483
|
+
attr_accessor :service_directory
|
5484
|
+
|
5485
|
+
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
5486
|
+
# t receive a response from webhook at the end of the timeout period. Defaults
|
5487
|
+
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
5488
|
+
# Corresponds to the JSON property `timeout`
|
5489
|
+
# @return [String]
|
5490
|
+
attr_accessor :timeout
|
5491
|
+
|
5492
|
+
def initialize(**args)
|
5493
|
+
update!(**args)
|
5494
|
+
end
|
5495
|
+
|
5496
|
+
# Update properties of this object
|
5497
|
+
def update!(**args)
|
5498
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
5499
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
5500
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
5501
|
+
@name = args[:name] if args.key?(:name)
|
5502
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
5503
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
5504
|
+
end
|
5505
|
+
end
|
5506
|
+
|
5507
|
+
# Represents configuration for a generic web service.
|
5508
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
|
5509
|
+
include Google::Apis::Core::Hashable
|
5510
|
+
|
5511
|
+
# Optional. Specifies a list of allowed custom CA certificates (in DER format)
|
5512
|
+
# for HTTPS verification. This overrides the default SSL trust store. If this is
|
5513
|
+
# empty or unspecified, Dialogflow will use Google's default trust store to
|
5514
|
+
# verify certificates. N.B. Make sure the HTTPS server certificates are signed
|
5515
|
+
# with "subject alt name". For instance a certificate can be self-signed using
|
5516
|
+
# the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
|
5517
|
+
# signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
|
5518
|
+
# nsubjectAltName='DNS:www.example.com'") ```
|
5519
|
+
# Corresponds to the JSON property `allowedCaCerts`
|
5520
|
+
# @return [Array<String>]
|
5521
|
+
attr_accessor :allowed_ca_certs
|
5522
|
+
|
5523
|
+
# The password for HTTP Basic authentication.
|
5524
|
+
# Corresponds to the JSON property `password`
|
5525
|
+
# @return [String]
|
5526
|
+
attr_accessor :password
|
5527
|
+
|
5528
|
+
# The HTTP request headers to send together with webhook requests.
|
5529
|
+
# Corresponds to the JSON property `requestHeaders`
|
5530
|
+
# @return [Hash<String,String>]
|
5531
|
+
attr_accessor :request_headers
|
5532
|
+
|
5533
|
+
# Required. The webhook URI for receiving POST requests. It must use https
|
5534
|
+
# protocol.
|
5535
|
+
# Corresponds to the JSON property `uri`
|
5536
|
+
# @return [String]
|
5537
|
+
attr_accessor :uri
|
5538
|
+
|
5539
|
+
# The user name for HTTP Basic authentication.
|
5540
|
+
# Corresponds to the JSON property `username`
|
5541
|
+
# @return [String]
|
5542
|
+
attr_accessor :username
|
5543
|
+
|
5544
|
+
def initialize(**args)
|
5545
|
+
update!(**args)
|
5546
|
+
end
|
5547
|
+
|
5548
|
+
# Update properties of this object
|
5549
|
+
def update!(**args)
|
5550
|
+
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
5551
|
+
@password = args[:password] if args.key?(:password)
|
5552
|
+
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
5553
|
+
@uri = args[:uri] if args.key?(:uri)
|
5554
|
+
@username = args[:username] if args.key?(:username)
|
5555
|
+
end
|
5556
|
+
end
|
5557
|
+
|
5248
5558
|
# The request message for a webhook call. The request is sent as a JSON object
|
5249
5559
|
# and the field names will be presented in camel cases.
|
5250
5560
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
@@ -5347,7 +5657,10 @@ module Google
|
|
5347
5657
|
class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
|
5348
5658
|
include Google::Apis::Core::Hashable
|
5349
5659
|
|
5350
|
-
# Always present. The
|
5660
|
+
# Always present. The value of the Fulfillment.tag field will be populated in
|
5661
|
+
# this field by Dialogflow when the associated webhook is called. The tag is
|
5662
|
+
# typically used by the webhook service to identify which fulfillment is being
|
5663
|
+
# called, but it could be used for other purposes.
|
5351
5664
|
# Corresponds to the JSON property `tag`
|
5352
5665
|
# @return [String]
|
5353
5666
|
attr_accessor :tag
|
@@ -5532,6 +5845,35 @@ module Google
|
|
5532
5845
|
end
|
5533
5846
|
end
|
5534
5847
|
|
5848
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
5849
|
+
# service-directory) service.
|
5850
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
5851
|
+
include Google::Apis::Core::Hashable
|
5852
|
+
|
5853
|
+
# Represents configuration for a generic web service.
|
5854
|
+
# Corresponds to the JSON property `genericWebService`
|
5855
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
|
5856
|
+
attr_accessor :generic_web_service
|
5857
|
+
|
5858
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
5859
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
5860
|
+
# Location ID` of the service directory must be the same as the location of the
|
5861
|
+
# agent.
|
5862
|
+
# Corresponds to the JSON property `service`
|
5863
|
+
# @return [String]
|
5864
|
+
attr_accessor :service
|
5865
|
+
|
5866
|
+
def initialize(**args)
|
5867
|
+
update!(**args)
|
5868
|
+
end
|
5869
|
+
|
5870
|
+
# Update properties of this object
|
5871
|
+
def update!(**args)
|
5872
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
5873
|
+
@service = args[:service] if args.key?(:service)
|
5874
|
+
end
|
5875
|
+
end
|
5876
|
+
|
5535
5877
|
# Represents a part of a message possibly annotated with an entity. The part can
|
5536
5878
|
# be an entity or purely a part of the message between two entities or message
|
5537
5879
|
# start/end.
|
@@ -8736,6 +9078,14 @@ module Google
|
|
8736
9078
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
8737
9079
|
attr_accessor :assist_query_params
|
8738
9080
|
|
9081
|
+
# Additional parameters to be put into Dialogflow CX session parameters. To
|
9082
|
+
# remove a parameter from the session, clients should explicitly set the
|
9083
|
+
# parameter value to null. Note: this field should only be used if you are
|
9084
|
+
# connecting to a Dialogflow CX agent.
|
9085
|
+
# Corresponds to the JSON property `cxParameters`
|
9086
|
+
# @return [Hash<String,Object>]
|
9087
|
+
attr_accessor :cx_parameters
|
9088
|
+
|
8739
9089
|
# Events allow for matching intents by event name instead of the natural
|
8740
9090
|
# language input. For instance, input `` can trigger a personalized welcome
|
8741
9091
|
# response. The parameter `name` may be used by the agent in the response: `"
|
@@ -8788,6 +9138,7 @@ module Google
|
|
8788
9138
|
# Update properties of this object
|
8789
9139
|
def update!(**args)
|
8790
9140
|
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
9141
|
+
@cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
|
8791
9142
|
@event_input = args[:event_input] if args.key?(:event_input)
|
8792
9143
|
@message_send_time = args[:message_send_time] if args.key?(:message_send_time)
|
8793
9144
|
@query_params = args[:query_params] if args.key?(:query_params)
|
@@ -10881,7 +11232,7 @@ module Google
|
|
10881
11232
|
end
|
10882
11233
|
|
10883
11234
|
# Custom conversation models used in agent assist feature. Supported feature:
|
10884
|
-
# ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
|
11235
|
+
# ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
|
10885
11236
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
|
10886
11237
|
include Google::Apis::Core::Hashable
|
10887
11238
|
|
@@ -11001,7 +11352,7 @@ module Google
|
|
11001
11352
|
include Google::Apis::Core::Hashable
|
11002
11353
|
|
11003
11354
|
# Custom conversation models used in agent assist feature. Supported feature:
|
11004
|
-
# ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
|
11355
|
+
# ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
|
11005
11356
|
# Corresponds to the JSON property `conversationModelConfig`
|
11006
11357
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]
|
11007
11358
|
attr_accessor :conversation_model_config
|
@@ -14529,6 +14880,12 @@ module Google
|
|
14529
14880
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
|
14530
14881
|
attr_accessor :live_agent_handoff
|
14531
14882
|
|
14883
|
+
# Represents an audio message that is composed of both segments synthesized from
|
14884
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
14885
|
+
# Corresponds to the JSON property `mixedAudio`
|
14886
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
|
14887
|
+
attr_accessor :mixed_audio
|
14888
|
+
|
14532
14889
|
# Returns a response containing a custom, platform-specific payload.
|
14533
14890
|
# Corresponds to the JSON property `payload`
|
14534
14891
|
# @return [Hash<String,Object>]
|
@@ -14553,6 +14910,7 @@ module Google
|
|
14553
14910
|
def update!(**args)
|
14554
14911
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
14555
14912
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
14913
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
14556
14914
|
@payload = args[:payload] if args.key?(:payload)
|
14557
14915
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
14558
14916
|
@text = args[:text] if args.key?(:text)
|
@@ -14598,6 +14956,61 @@ module Google
|
|
14598
14956
|
end
|
14599
14957
|
end
|
14600
14958
|
|
14959
|
+
# Represents an audio message that is composed of both segments synthesized from
|
14960
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
14961
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
14962
|
+
include Google::Apis::Core::Hashable
|
14963
|
+
|
14964
|
+
# Segments this audio response is composed of.
|
14965
|
+
# Corresponds to the JSON property `segments`
|
14966
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
|
14967
|
+
attr_accessor :segments
|
14968
|
+
|
14969
|
+
def initialize(**args)
|
14970
|
+
update!(**args)
|
14971
|
+
end
|
14972
|
+
|
14973
|
+
# Update properties of this object
|
14974
|
+
def update!(**args)
|
14975
|
+
@segments = args[:segments] if args.key?(:segments)
|
14976
|
+
end
|
14977
|
+
end
|
14978
|
+
|
14979
|
+
# Represents one segment of audio.
|
14980
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
14981
|
+
include Google::Apis::Core::Hashable
|
14982
|
+
|
14983
|
+
# Whether the playback of this segment can be interrupted by the end user's
|
14984
|
+
# speech and the client should then start the next Dialogflow request.
|
14985
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
14986
|
+
# @return [Boolean]
|
14987
|
+
attr_accessor :allow_playback_interruption
|
14988
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
14989
|
+
|
14990
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
14991
|
+
# config specified in the request.
|
14992
|
+
# Corresponds to the JSON property `audio`
|
14993
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
14994
|
+
# @return [String]
|
14995
|
+
attr_accessor :audio
|
14996
|
+
|
14997
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
14998
|
+
# Corresponds to the JSON property `uri`
|
14999
|
+
# @return [String]
|
15000
|
+
attr_accessor :uri
|
15001
|
+
|
15002
|
+
def initialize(**args)
|
15003
|
+
update!(**args)
|
15004
|
+
end
|
15005
|
+
|
15006
|
+
# Update properties of this object
|
15007
|
+
def update!(**args)
|
15008
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
15009
|
+
@audio = args[:audio] if args.key?(:audio)
|
15010
|
+
@uri = args[:uri] if args.key?(:uri)
|
15011
|
+
end
|
15012
|
+
end
|
15013
|
+
|
14601
15014
|
# Represents the signal that telles the client to transfer the phone call
|
14602
15015
|
# connected to the agent to a third-party endpoint.
|
14603
15016
|
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220524"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class GoogleCloudDialogflowCxV3EventHandler
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -454,6 +460,18 @@ module Google
|
|
454
460
|
include Google::Apis::Core::JsonObjectSupport
|
455
461
|
end
|
456
462
|
|
463
|
+
class GoogleCloudDialogflowCxV3Webhook
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebService
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
457
475
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
458
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
477
|
|
@@ -496,6 +514,12 @@ module Google
|
|
496
514
|
include Google::Apis::Core::JsonObjectSupport
|
497
515
|
end
|
498
516
|
|
517
|
+
class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
499
523
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
500
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
525
|
|
@@ -592,6 +616,12 @@ module Google
|
|
592
616
|
include Google::Apis::Core::JsonObjectSupport
|
593
617
|
end
|
594
618
|
|
619
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
595
625
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
596
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
627
|
|
@@ -928,6 +958,18 @@ module Google
|
|
928
958
|
include Google::Apis::Core::JsonObjectSupport
|
929
959
|
end
|
930
960
|
|
961
|
+
class GoogleCloudDialogflowCxV3beta1Webhook
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
967
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
|
+
|
970
|
+
include Google::Apis::Core::JsonObjectSupport
|
971
|
+
end
|
972
|
+
|
931
973
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
932
974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
975
|
|
@@ -970,6 +1012,12 @@ module Google
|
|
970
1012
|
include Google::Apis::Core::JsonObjectSupport
|
971
1013
|
end
|
972
1014
|
|
1015
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
|
+
|
1018
|
+
include Google::Apis::Core::JsonObjectSupport
|
1019
|
+
end
|
1020
|
+
|
973
1021
|
class GoogleCloudDialogflowV2AnnotatedMessagePart
|
974
1022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
1023
|
|
@@ -2392,6 +2440,18 @@ module Google
|
|
2392
2440
|
include Google::Apis::Core::JsonObjectSupport
|
2393
2441
|
end
|
2394
2442
|
|
2443
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
2444
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2445
|
+
|
2446
|
+
include Google::Apis::Core::JsonObjectSupport
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
2450
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2451
|
+
|
2452
|
+
include Google::Apis::Core::JsonObjectSupport
|
2453
|
+
end
|
2454
|
+
|
2395
2455
|
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
2396
2456
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2397
2457
|
|
@@ -2825,6 +2885,8 @@ module Google
|
|
2825
2885
|
property :update_time, as: 'updateTime'
|
2826
2886
|
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
|
2827
2887
|
|
2888
|
+
property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig::Representation
|
2889
|
+
|
2828
2890
|
end
|
2829
2891
|
end
|
2830
2892
|
|
@@ -2844,6 +2906,14 @@ module Google
|
|
2844
2906
|
end
|
2845
2907
|
end
|
2846
2908
|
|
2909
|
+
class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
|
2910
|
+
# @private
|
2911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2912
|
+
collection :webhook_overrides, as: 'webhookOverrides', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook::Representation
|
2913
|
+
|
2914
|
+
end
|
2915
|
+
end
|
2916
|
+
|
2847
2917
|
class GoogleCloudDialogflowCxV3EventHandler
|
2848
2918
|
# @private
|
2849
2919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3379,6 +3449,31 @@ module Google
|
|
3379
3449
|
end
|
3380
3450
|
end
|
3381
3451
|
|
3452
|
+
class GoogleCloudDialogflowCxV3Webhook
|
3453
|
+
# @private
|
3454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3455
|
+
property :disabled, as: 'disabled'
|
3456
|
+
property :display_name, as: 'displayName'
|
3457
|
+
property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
|
3458
|
+
|
3459
|
+
property :name, as: 'name'
|
3460
|
+
property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig::Representation
|
3461
|
+
|
3462
|
+
property :timeout, as: 'timeout'
|
3463
|
+
end
|
3464
|
+
end
|
3465
|
+
|
3466
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebService
|
3467
|
+
# @private
|
3468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3469
|
+
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
3470
|
+
property :password, as: 'password'
|
3471
|
+
hash :request_headers, as: 'requestHeaders'
|
3472
|
+
property :uri, as: 'uri'
|
3473
|
+
property :username, as: 'username'
|
3474
|
+
end
|
3475
|
+
end
|
3476
|
+
|
3382
3477
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
3383
3478
|
# @private
|
3384
3479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3462,6 +3557,15 @@ module Google
|
|
3462
3557
|
end
|
3463
3558
|
end
|
3464
3559
|
|
3560
|
+
class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
|
3561
|
+
# @private
|
3562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3563
|
+
property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
|
3564
|
+
|
3565
|
+
property :service, as: 'service'
|
3566
|
+
end
|
3567
|
+
end
|
3568
|
+
|
3465
3569
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
3466
3570
|
# @private
|
3467
3571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3595,6 +3699,8 @@ module Google
|
|
3595
3699
|
property :update_time, as: 'updateTime'
|
3596
3700
|
collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
|
3597
3701
|
|
3702
|
+
property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig::Representation
|
3703
|
+
|
3598
3704
|
end
|
3599
3705
|
end
|
3600
3706
|
|
@@ -3614,6 +3720,14 @@ module Google
|
|
3614
3720
|
end
|
3615
3721
|
end
|
3616
3722
|
|
3723
|
+
class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
|
3724
|
+
# @private
|
3725
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3726
|
+
collection :webhook_overrides, as: 'webhookOverrides', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Webhook, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
|
3727
|
+
|
3728
|
+
end
|
3729
|
+
end
|
3730
|
+
|
3617
3731
|
class GoogleCloudDialogflowCxV3beta1EventHandler
|
3618
3732
|
# @private
|
3619
3733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4149,6 +4263,31 @@ module Google
|
|
4149
4263
|
end
|
4150
4264
|
end
|
4151
4265
|
|
4266
|
+
class GoogleCloudDialogflowCxV3beta1Webhook
|
4267
|
+
# @private
|
4268
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4269
|
+
property :disabled, as: 'disabled'
|
4270
|
+
property :display_name, as: 'displayName'
|
4271
|
+
property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
|
4272
|
+
|
4273
|
+
property :name, as: 'name'
|
4274
|
+
property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig::Representation
|
4275
|
+
|
4276
|
+
property :timeout, as: 'timeout'
|
4277
|
+
end
|
4278
|
+
end
|
4279
|
+
|
4280
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
|
4281
|
+
# @private
|
4282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4283
|
+
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
4284
|
+
property :password, as: 'password'
|
4285
|
+
hash :request_headers, as: 'requestHeaders'
|
4286
|
+
property :uri, as: 'uri'
|
4287
|
+
property :username, as: 'username'
|
4288
|
+
end
|
4289
|
+
end
|
4290
|
+
|
4152
4291
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
4153
4292
|
# @private
|
4154
4293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4232,6 +4371,15 @@ module Google
|
|
4232
4371
|
end
|
4233
4372
|
end
|
4234
4373
|
|
4374
|
+
class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
|
4375
|
+
# @private
|
4376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4377
|
+
property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
|
4378
|
+
|
4379
|
+
property :service, as: 'service'
|
4380
|
+
end
|
4381
|
+
end
|
4382
|
+
|
4235
4383
|
class GoogleCloudDialogflowV2AnnotatedMessagePart
|
4236
4384
|
# @private
|
4237
4385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5097,6 +5245,7 @@ module Google
|
|
5097
5245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5098
5246
|
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
|
5099
5247
|
|
5248
|
+
hash :cx_parameters, as: 'cxParameters'
|
5100
5249
|
property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
|
5101
5250
|
|
5102
5251
|
property :message_send_time, as: 'messageSendTime'
|
@@ -6677,6 +6826,8 @@ module Google
|
|
6677
6826
|
|
6678
6827
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
|
6679
6828
|
|
6829
|
+
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
|
6830
|
+
|
6680
6831
|
hash :payload, as: 'payload'
|
6681
6832
|
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
|
6682
6833
|
|
@@ -6698,6 +6849,23 @@ module Google
|
|
6698
6849
|
end
|
6699
6850
|
end
|
6700
6851
|
|
6852
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
6853
|
+
# @private
|
6854
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6855
|
+
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
|
6856
|
+
|
6857
|
+
end
|
6858
|
+
end
|
6859
|
+
|
6860
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
6861
|
+
# @private
|
6862
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6863
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
6864
|
+
property :audio, :base64 => true, as: 'audio'
|
6865
|
+
property :uri, as: 'uri'
|
6866
|
+
end
|
6867
|
+
end
|
6868
|
+
|
6701
6869
|
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
6702
6870
|
# @private
|
6703
6871
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.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: 2022-
|
11
|
+
date: 2022-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V2beta1
|