google-apis-dialogflow_v2beta1 0.35.0 → 0.38.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: f7b088310f5597ee38d53b0834ca3a9d1249d842e21735f99c259bdad37102dc
4
- data.tar.gz: 585ccbee5177d678286bcae3b26ee06668ed118e4bda63cf5a1299074cdd633e
3
+ metadata.gz: 7bfb325eb197ac50bb816b8bae1388c33e38c2bca3fffeff907dadfce4c1c957
4
+ data.tar.gz: 941e8fb694bdf3c88a24e93506e61bbc2ad3784dc6452a758d526c3bfea26e00
5
5
  SHA512:
6
- metadata.gz: f88156ef473c2456cb2af212ddea762aca44e306b19c336c5084ce54cc5412732e8d2f3386dd0e9455d9d0ad686b28644129cf90893742931d7c5b16b12383ee
7
- data.tar.gz: 20a7694dbf2f3510f1ca319ae28547b28daeab04f86b128b8a2ad207bbf519c3435cd07df2c0638f581e194a956de8c042a4a6b7ab2a0d6dc3bbee4a59db27a7
6
+ metadata.gz: 2ddd7ab214d55989134ef48139208d8940f7300f39ddcaadcc8d0142d23f356e1e37b364d77e1272d40caafee7c79b55c332fafe5eab29a645877258348cca02
7
+ data.tar.gz: 9cfd8f3d1a88a98ac86cebcce48da902af033f11702ecb50e63ae593ea2f77bd3212fce8a4cb443db3ba2d86bbd84c6946af978bc7549f1db3075097e7bc23de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.38.0 (2022-06-23)
4
+
5
+ * Regenerated from discovery document revision 20220616
6
+ * Regenerated using generator version 0.7.0
7
+
8
+ ### v0.37.0 (2022-06-09)
9
+
10
+ * Regenerated from discovery document revision 20220607
11
+ * Regenerated using generator version 0.5.0
12
+
13
+ ### v0.36.0 (2022-05-27)
14
+
15
+ * Regenerated from discovery document revision 20220524
16
+
3
17
  ### v0.35.0 (2022-05-05)
4
18
 
5
19
  * Regenerated from discovery document revision 20220502
@@ -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.
@@ -2493,8 +2520,119 @@ module Google
2493
2520
  end
2494
2521
  end
2495
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
+
2496
2632
  # The request message for a webhook call. The request is sent as a JSON object
2497
- # and the field names will be presented in camel cases.
2633
+ # and the field names will be presented in camel cases. You may see undocumented
2634
+ # fields in an actual request. These fields are used internally by Dialogflow
2635
+ # and should be ignored.
2498
2636
  class GoogleCloudDialogflowCxV3WebhookRequest
2499
2637
  include Google::Apis::Core::Hashable
2500
2638
 
@@ -2783,6 +2921,35 @@ module Google
2783
2921
  end
2784
2922
  end
2785
2923
 
2924
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
2925
+ # service-directory) service.
2926
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
2927
+ include Google::Apis::Core::Hashable
2928
+
2929
+ # Represents configuration for a generic web service.
2930
+ # Corresponds to the JSON property `genericWebService`
2931
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService]
2932
+ attr_accessor :generic_web_service
2933
+
2934
+ # Required. The name of [Service Directory](https://cloud.google.com/service-
2935
+ # directory) service. Format: `projects//locations//namespaces//services/`. `
2936
+ # Location ID` of the service directory must be the same as the location of the
2937
+ # agent.
2938
+ # Corresponds to the JSON property `service`
2939
+ # @return [String]
2940
+ attr_accessor :service
2941
+
2942
+ def initialize(**args)
2943
+ update!(**args)
2944
+ end
2945
+
2946
+ # Update properties of this object
2947
+ def update!(**args)
2948
+ @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
2949
+ @service = args[:service] if args.key?(:service)
2950
+ end
2951
+ end
2952
+
2786
2953
  # Represents the natural speech audio to be processed.
2787
2954
  class GoogleCloudDialogflowCxV3beta1AudioInput
2788
2955
  include Google::Apis::Core::Hashable
@@ -3217,6 +3384,11 @@ module Google
3217
3384
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
3218
3385
  attr_accessor :version_configs
3219
3386
 
3387
+ # Configuration for webhooks.
3388
+ # Corresponds to the JSON property `webhookConfig`
3389
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]
3390
+ attr_accessor :webhook_config
3391
+
3220
3392
  def initialize(**args)
3221
3393
  update!(**args)
3222
3394
  end
@@ -3229,6 +3401,7 @@ module Google
3229
3401
  @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
3230
3402
  @update_time = args[:update_time] if args.key?(:update_time)
3231
3403
  @version_configs = args[:version_configs] if args.key?(:version_configs)
3404
+ @webhook_config = args[:webhook_config] if args.key?(:webhook_config)
3232
3405
  end
3233
3406
  end
3234
3407
 
@@ -3287,6 +3460,27 @@ module Google
3287
3460
  end
3288
3461
  end
3289
3462
 
3463
+ # Configuration for webhooks.
3464
+ class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
3465
+ include Google::Apis::Core::Hashable
3466
+
3467
+ # The list of webhooks to override for the agent environment. The webhook must
3468
+ # exist in the agent. You can override fields in `generic_web_service` and `
3469
+ # service_directory`.
3470
+ # Corresponds to the JSON property `webhookOverrides`
3471
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Webhook>]
3472
+ attr_accessor :webhook_overrides
3473
+
3474
+ def initialize(**args)
3475
+ update!(**args)
3476
+ end
3477
+
3478
+ # Update properties of this object
3479
+ def update!(**args)
3480
+ @webhook_overrides = args[:webhook_overrides] if args.key?(:webhook_overrides)
3481
+ end
3482
+ end
3483
+
3290
3484
  # An event handler specifies an event that can be handled during a session. When
3291
3485
  # the specified event happens, the following actions are taken in order: * If
3292
3486
  # there is a `trigger_fulfillment` associated with the event, it will be called.
@@ -5254,8 +5448,119 @@ module Google
5254
5448
  end
5255
5449
  end
5256
5450
 
5451
+ # Webhooks host the developer's business logic. During a session, webhooks allow
5452
+ # the developer to use the data extracted by Dialogflow's natural language
5453
+ # processing to generate dynamic responses, validate collected data, or trigger
5454
+ # actions on the backend.
5455
+ class GoogleCloudDialogflowCxV3beta1Webhook
5456
+ include Google::Apis::Core::Hashable
5457
+
5458
+ # Indicates whether the webhook is disabled.
5459
+ # Corresponds to the JSON property `disabled`
5460
+ # @return [Boolean]
5461
+ attr_accessor :disabled
5462
+ alias_method :disabled?, :disabled
5463
+
5464
+ # Required. The human-readable name of the webhook, unique within the agent.
5465
+ # Corresponds to the JSON property `displayName`
5466
+ # @return [String]
5467
+ attr_accessor :display_name
5468
+
5469
+ # Represents configuration for a generic web service.
5470
+ # Corresponds to the JSON property `genericWebService`
5471
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
5472
+ attr_accessor :generic_web_service
5473
+
5474
+ # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook
5475
+ # method. Webhooks.CreateWebhook populates the name automatically. Format: `
5476
+ # projects//locations//agents//webhooks/`.
5477
+ # Corresponds to the JSON property `name`
5478
+ # @return [String]
5479
+ attr_accessor :name
5480
+
5481
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
5482
+ # service-directory) service.
5483
+ # Corresponds to the JSON property `serviceDirectory`
5484
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]
5485
+ attr_accessor :service_directory
5486
+
5487
+ # Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
5488
+ # t receive a response from webhook at the end of the timeout period. Defaults
5489
+ # to 5 seconds, maximum allowed timeout is 30 seconds.
5490
+ # Corresponds to the JSON property `timeout`
5491
+ # @return [String]
5492
+ attr_accessor :timeout
5493
+
5494
+ def initialize(**args)
5495
+ update!(**args)
5496
+ end
5497
+
5498
+ # Update properties of this object
5499
+ def update!(**args)
5500
+ @disabled = args[:disabled] if args.key?(:disabled)
5501
+ @display_name = args[:display_name] if args.key?(:display_name)
5502
+ @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
5503
+ @name = args[:name] if args.key?(:name)
5504
+ @service_directory = args[:service_directory] if args.key?(:service_directory)
5505
+ @timeout = args[:timeout] if args.key?(:timeout)
5506
+ end
5507
+ end
5508
+
5509
+ # Represents configuration for a generic web service.
5510
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
5511
+ include Google::Apis::Core::Hashable
5512
+
5513
+ # Optional. Specifies a list of allowed custom CA certificates (in DER format)
5514
+ # for HTTPS verification. This overrides the default SSL trust store. If this is
5515
+ # empty or unspecified, Dialogflow will use Google's default trust store to
5516
+ # verify certificates. N.B. Make sure the HTTPS server certificates are signed
5517
+ # with "subject alt name". For instance a certificate can be self-signed using
5518
+ # the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
5519
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
5520
+ # nsubjectAltName='DNS:www.example.com'") ```
5521
+ # Corresponds to the JSON property `allowedCaCerts`
5522
+ # @return [Array<String>]
5523
+ attr_accessor :allowed_ca_certs
5524
+
5525
+ # The password for HTTP Basic authentication.
5526
+ # Corresponds to the JSON property `password`
5527
+ # @return [String]
5528
+ attr_accessor :password
5529
+
5530
+ # The HTTP request headers to send together with webhook requests.
5531
+ # Corresponds to the JSON property `requestHeaders`
5532
+ # @return [Hash<String,String>]
5533
+ attr_accessor :request_headers
5534
+
5535
+ # Required. The webhook URI for receiving POST requests. It must use https
5536
+ # protocol.
5537
+ # Corresponds to the JSON property `uri`
5538
+ # @return [String]
5539
+ attr_accessor :uri
5540
+
5541
+ # The user name for HTTP Basic authentication.
5542
+ # Corresponds to the JSON property `username`
5543
+ # @return [String]
5544
+ attr_accessor :username
5545
+
5546
+ def initialize(**args)
5547
+ update!(**args)
5548
+ end
5549
+
5550
+ # Update properties of this object
5551
+ def update!(**args)
5552
+ @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
5553
+ @password = args[:password] if args.key?(:password)
5554
+ @request_headers = args[:request_headers] if args.key?(:request_headers)
5555
+ @uri = args[:uri] if args.key?(:uri)
5556
+ @username = args[:username] if args.key?(:username)
5557
+ end
5558
+ end
5559
+
5257
5560
  # The request message for a webhook call. The request is sent as a JSON object
5258
- # and the field names will be presented in camel cases.
5561
+ # and the field names will be presented in camel cases. You may see undocumented
5562
+ # fields in an actual request. These fields are used internally by Dialogflow
5563
+ # and should be ignored.
5259
5564
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
5260
5565
  include Google::Apis::Core::Hashable
5261
5566
 
@@ -5544,6 +5849,35 @@ module Google
5544
5849
  end
5545
5850
  end
5546
5851
 
5852
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
5853
+ # service-directory) service.
5854
+ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
5855
+ include Google::Apis::Core::Hashable
5856
+
5857
+ # Represents configuration for a generic web service.
5858
+ # Corresponds to the JSON property `genericWebService`
5859
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
5860
+ attr_accessor :generic_web_service
5861
+
5862
+ # Required. The name of [Service Directory](https://cloud.google.com/service-
5863
+ # directory) service. Format: `projects//locations//namespaces//services/`. `
5864
+ # Location ID` of the service directory must be the same as the location of the
5865
+ # agent.
5866
+ # Corresponds to the JSON property `service`
5867
+ # @return [String]
5868
+ attr_accessor :service
5869
+
5870
+ def initialize(**args)
5871
+ update!(**args)
5872
+ end
5873
+
5874
+ # Update properties of this object
5875
+ def update!(**args)
5876
+ @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
5877
+ @service = args[:service] if args.key?(:service)
5878
+ end
5879
+ end
5880
+
5547
5881
  # Represents a part of a message possibly annotated with an entity. The part can
5548
5882
  # be an entity or purely a part of the message between two entities or message
5549
5883
  # start/end.
@@ -7894,7 +8228,8 @@ module Google
7894
8228
  alias_method :all_required_params_present?, :all_required_params_present
7895
8229
 
7896
8230
  # Indicates whether the conversational query triggers a cancellation for slot
7897
- # filling.
8231
+ # filling. For more information, see the [cancel slot filling documentation](
8232
+ # https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel).
7898
8233
  # Corresponds to the JSON property `cancelsSlotFilling`
7899
8234
  # @return [Boolean]
7900
8235
  attr_accessor :cancels_slot_filling
@@ -8748,6 +9083,22 @@ module Google
8748
9083
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
8749
9084
  attr_accessor :assist_query_params
8750
9085
 
9086
+ # Represents the natural language speech audio to be processed.
9087
+ # Corresponds to the JSON property `audioInput`
9088
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput]
9089
+ attr_accessor :audio_input
9090
+
9091
+ # The unique identifier of the CX page to override the `current_page` in the
9092
+ # session. Format: `projects//locations//agents//flows//pages/`. If `
9093
+ # cx_current_page` is specified, the previous state of the session will be
9094
+ # ignored by Dialogflow CX, including the previous page and the previous session
9095
+ # parameters. In most cases, `cx_current_page` and `cx_parameters` should be
9096
+ # configured together to direct a session to a specific state. Note: this field
9097
+ # should only be used if you are connecting to a Dialogflow CX agent.
9098
+ # Corresponds to the JSON property `cxCurrentPage`
9099
+ # @return [String]
9100
+ attr_accessor :cx_current_page
9101
+
8751
9102
  # Additional parameters to be put into Dialogflow CX session parameters. To
8752
9103
  # remove a parameter from the session, clients should explicitly set the
8753
9104
  # parameter value to null. Note: this field should only be used if you are
@@ -8808,6 +9159,8 @@ module Google
8808
9159
  # Update properties of this object
8809
9160
  def update!(**args)
8810
9161
  @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
9162
+ @audio_input = args[:audio_input] if args.key?(:audio_input)
9163
+ @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
8811
9164
  @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
8812
9165
  @event_input = args[:event_input] if args.key?(:event_input)
8813
9166
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
@@ -9091,6 +9444,34 @@ module Google
9091
9444
  end
9092
9445
  end
9093
9446
 
9447
+ # Represents the natural language speech audio to be processed.
9448
+ class GoogleCloudDialogflowV2beta1AudioInput
9449
+ include Google::Apis::Core::Hashable
9450
+
9451
+ # Required. The natural language speech audio to be processed. A single request
9452
+ # can contain up to 1 minute of speech audio data. The transcribed text cannot
9453
+ # contain more than 256 bytes.
9454
+ # Corresponds to the JSON property `audio`
9455
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
9456
+ # @return [String]
9457
+ attr_accessor :audio
9458
+
9459
+ # Instructs the speech recognizer on how to process the audio content.
9460
+ # Corresponds to the JSON property `config`
9461
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig]
9462
+ attr_accessor :config
9463
+
9464
+ def initialize(**args)
9465
+ update!(**args)
9466
+ end
9467
+
9468
+ # Update properties of this object
9469
+ def update!(**args)
9470
+ @audio = args[:audio] if args.key?(:audio)
9471
+ @config = args[:config] if args.key?(:config)
9472
+ end
9473
+ end
9474
+
9094
9475
  # Defines the Automated Agent to connect to a conversation.
9095
9476
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
9096
9477
  include Google::Apis::Core::Hashable
@@ -10902,7 +11283,7 @@ module Google
10902
11283
  end
10903
11284
 
10904
11285
  # Custom conversation models used in agent assist feature. Supported feature:
10905
- # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
11286
+ # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
10906
11287
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
10907
11288
  include Google::Apis::Core::Hashable
10908
11289
 
@@ -11022,7 +11403,7 @@ module Google
11022
11403
  include Google::Apis::Core::Hashable
11023
11404
 
11024
11405
  # Custom conversation models used in agent assist feature. Supported feature:
11025
- # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
11406
+ # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
11026
11407
  # Corresponds to the JSON property `conversationModelConfig`
11027
11408
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]
11028
11409
  attr_accessor :conversation_model_config
@@ -14354,7 +14735,8 @@ module Google
14354
14735
  alias_method :all_required_params_present?, :all_required_params_present
14355
14736
 
14356
14737
  # Indicates whether the conversational query triggers a cancellation for slot
14357
- # filling.
14738
+ # filling. For more information, see the [cancel slot filling documentation](
14739
+ # https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel).
14358
14740
  # Corresponds to the JSON property `cancelsSlotFilling`
14359
14741
  # @return [Boolean]
14360
14742
  attr_accessor :cancels_slot_filling
@@ -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.35.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220502"
25
+ REVISION = "20220616"
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
 
@@ -1504,6 +1552,12 @@ module Google
1504
1552
  include Google::Apis::Core::JsonObjectSupport
1505
1553
  end
1506
1554
 
1555
+ class GoogleCloudDialogflowV2beta1AudioInput
1556
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1557
+
1558
+ include Google::Apis::Core::JsonObjectSupport
1559
+ end
1560
+
1507
1561
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
1508
1562
  class Representation < Google::Apis::Core::JsonRepresentation; end
1509
1563
 
@@ -2837,6 +2891,8 @@ module Google
2837
2891
  property :update_time, as: 'updateTime'
2838
2892
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
2839
2893
 
2894
+ property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig::Representation
2895
+
2840
2896
  end
2841
2897
  end
2842
2898
 
@@ -2856,6 +2912,14 @@ module Google
2856
2912
  end
2857
2913
  end
2858
2914
 
2915
+ class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
2916
+ # @private
2917
+ class Representation < Google::Apis::Core::JsonRepresentation
2918
+ collection :webhook_overrides, as: 'webhookOverrides', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook::Representation
2919
+
2920
+ end
2921
+ end
2922
+
2859
2923
  class GoogleCloudDialogflowCxV3EventHandler
2860
2924
  # @private
2861
2925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3391,6 +3455,31 @@ module Google
3391
3455
  end
3392
3456
  end
3393
3457
 
3458
+ class GoogleCloudDialogflowCxV3Webhook
3459
+ # @private
3460
+ class Representation < Google::Apis::Core::JsonRepresentation
3461
+ property :disabled, as: 'disabled'
3462
+ property :display_name, as: 'displayName'
3463
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3464
+
3465
+ property :name, as: 'name'
3466
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig::Representation
3467
+
3468
+ property :timeout, as: 'timeout'
3469
+ end
3470
+ end
3471
+
3472
+ class GoogleCloudDialogflowCxV3WebhookGenericWebService
3473
+ # @private
3474
+ class Representation < Google::Apis::Core::JsonRepresentation
3475
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
3476
+ property :password, as: 'password'
3477
+ hash :request_headers, as: 'requestHeaders'
3478
+ property :uri, as: 'uri'
3479
+ property :username, as: 'username'
3480
+ end
3481
+ end
3482
+
3394
3483
  class GoogleCloudDialogflowCxV3WebhookRequest
3395
3484
  # @private
3396
3485
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3474,6 +3563,15 @@ module Google
3474
3563
  end
3475
3564
  end
3476
3565
 
3566
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
3567
+ # @private
3568
+ class Representation < Google::Apis::Core::JsonRepresentation
3569
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3570
+
3571
+ property :service, as: 'service'
3572
+ end
3573
+ end
3574
+
3477
3575
  class GoogleCloudDialogflowCxV3beta1AudioInput
3478
3576
  # @private
3479
3577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3607,6 +3705,8 @@ module Google
3607
3705
  property :update_time, as: 'updateTime'
3608
3706
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
3609
3707
 
3708
+ property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig::Representation
3709
+
3610
3710
  end
3611
3711
  end
3612
3712
 
@@ -3626,6 +3726,14 @@ module Google
3626
3726
  end
3627
3727
  end
3628
3728
 
3729
+ class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
3730
+ # @private
3731
+ class Representation < Google::Apis::Core::JsonRepresentation
3732
+ collection :webhook_overrides, as: 'webhookOverrides', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Webhook, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
3733
+
3734
+ end
3735
+ end
3736
+
3629
3737
  class GoogleCloudDialogflowCxV3beta1EventHandler
3630
3738
  # @private
3631
3739
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4161,6 +4269,31 @@ module Google
4161
4269
  end
4162
4270
  end
4163
4271
 
4272
+ class GoogleCloudDialogflowCxV3beta1Webhook
4273
+ # @private
4274
+ class Representation < Google::Apis::Core::JsonRepresentation
4275
+ property :disabled, as: 'disabled'
4276
+ property :display_name, as: 'displayName'
4277
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
4278
+
4279
+ property :name, as: 'name'
4280
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig::Representation
4281
+
4282
+ property :timeout, as: 'timeout'
4283
+ end
4284
+ end
4285
+
4286
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
4287
+ # @private
4288
+ class Representation < Google::Apis::Core::JsonRepresentation
4289
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
4290
+ property :password, as: 'password'
4291
+ hash :request_headers, as: 'requestHeaders'
4292
+ property :uri, as: 'uri'
4293
+ property :username, as: 'username'
4294
+ end
4295
+ end
4296
+
4164
4297
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
4165
4298
  # @private
4166
4299
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4244,6 +4377,15 @@ module Google
4244
4377
  end
4245
4378
  end
4246
4379
 
4380
+ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
4381
+ # @private
4382
+ class Representation < Google::Apis::Core::JsonRepresentation
4383
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
4384
+
4385
+ property :service, as: 'service'
4386
+ end
4387
+ end
4388
+
4247
4389
  class GoogleCloudDialogflowV2AnnotatedMessagePart
4248
4390
  # @private
4249
4391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5109,6 +5251,9 @@ module Google
5109
5251
  class Representation < Google::Apis::Core::JsonRepresentation
5110
5252
  property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
5111
5253
 
5254
+ property :audio_input, as: 'audioInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput::Representation
5255
+
5256
+ property :cx_current_page, as: 'cxCurrentPage'
5112
5257
  hash :cx_parameters, as: 'cxParameters'
5113
5258
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
5114
5259
 
@@ -5193,6 +5338,15 @@ module Google
5193
5338
  end
5194
5339
  end
5195
5340
 
5341
+ class GoogleCloudDialogflowV2beta1AudioInput
5342
+ # @private
5343
+ class Representation < Google::Apis::Core::JsonRepresentation
5344
+ property :audio, :base64 => true, as: 'audio'
5345
+ property :config, as: 'config', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig::Representation
5346
+
5347
+ end
5348
+ end
5349
+
5196
5350
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
5197
5351
  # @private
5198
5352
  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.35.0
4
+ version: 0.38.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.38.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.5
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