google-apis-dialogflow_v2beta1 0.34.0 → 0.37.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: 13c71bbdf4ac6e0f5557d8baaa4ac7b2e77c33eee72f03473261ab14f93f193b
4
- data.tar.gz: 5769c201f45005848f095f9c222bca17ff200e89c55288a40f18f50d0046c7c7
3
+ metadata.gz: 56aded923619cfb2cbd43b52e9dccdfd67264acc5ae8d77ee991af03be1cde1e
4
+ data.tar.gz: 8bfbd6f14c75e17fb534e286d2e48826b83e35def3e041488e2453aa00bbc84c
5
5
  SHA512:
6
- metadata.gz: 4e45fac8c314ab49a5d2caa27646fd950b94c203ae5082ddf04a8287665d73e5f09a351d36d3df4e5fd6fc477174088979f9b51c128a9078b3375040c689949e
7
- data.tar.gz: cb6e57fb0809f5f8e94bea025e1857de51dd4187f17b7fcb62023b5f47fe6fa9af3c08512555fd11ba1f2027aa3528e9dc745af17b360bfc49b63ae0d3761a2d
6
+ metadata.gz: f2e7e5fc118dae841fda4e5e2552ce15847465e09642ce4f80b6e5e63333533cf2131f4aaff6b599a21d193940e52f33e0c735dfe8e3424577014a5a8bd7bf36
7
+ data.tar.gz: c9d855b582719b7c22ad38e26810ce3a8e5c5774b81347c8661d155a96f245e01c800f1ba81a7ea21f201e63e0f068747efcdf276660ef9224a183d6c3da6a03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.37.0 (2022-06-09)
4
+
5
+ * Regenerated from discovery document revision 20220607
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.36.0 (2022-05-27)
9
+
10
+ * Regenerated from discovery document revision 20220524
11
+
12
+ ### v0.35.0 (2022-05-05)
13
+
14
+ * Regenerated from discovery document revision 20220502
15
+
3
16
  ### v0.34.0 (2022-04-14)
4
17
 
5
18
  * Regenerated from discovery document revision 20220411
@@ -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,6 +2520,115 @@ 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
2633
  # and the field names will be presented in camel cases.
2498
2634
  class GoogleCloudDialogflowCxV3WebhookRequest
@@ -2783,6 +2919,35 @@ module Google
2783
2919
  end
2784
2920
  end
2785
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
+
2786
2951
  # Represents the natural speech audio to be processed.
2787
2952
  class GoogleCloudDialogflowCxV3beta1AudioInput
2788
2953
  include Google::Apis::Core::Hashable
@@ -3217,6 +3382,11 @@ module Google
3217
3382
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
3218
3383
  attr_accessor :version_configs
3219
3384
 
3385
+ # Configuration for webhooks.
3386
+ # Corresponds to the JSON property `webhookConfig`
3387
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]
3388
+ attr_accessor :webhook_config
3389
+
3220
3390
  def initialize(**args)
3221
3391
  update!(**args)
3222
3392
  end
@@ -3229,6 +3399,7 @@ module Google
3229
3399
  @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
3230
3400
  @update_time = args[:update_time] if args.key?(:update_time)
3231
3401
  @version_configs = args[:version_configs] if args.key?(:version_configs)
3402
+ @webhook_config = args[:webhook_config] if args.key?(:webhook_config)
3232
3403
  end
3233
3404
  end
3234
3405
 
@@ -3287,6 +3458,27 @@ module Google
3287
3458
  end
3288
3459
  end
3289
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
+
3290
3482
  # An event handler specifies an event that can be handled during a session. When
3291
3483
  # the specified event happens, the following actions are taken in order: * If
3292
3484
  # there is a `trigger_fulfillment` associated with the event, it will be called.
@@ -5254,6 +5446,115 @@ module Google
5254
5446
  end
5255
5447
  end
5256
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
+
5257
5558
  # The request message for a webhook call. The request is sent as a JSON object
5258
5559
  # and the field names will be presented in camel cases.
5259
5560
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
@@ -5544,6 +5845,35 @@ module Google
5544
5845
  end
5545
5846
  end
5546
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
+
5547
5877
  # Represents a part of a message possibly annotated with an entity. The part can
5548
5878
  # be an entity or purely a part of the message between two entities or message
5549
5879
  # start/end.
@@ -8748,6 +9078,30 @@ module Google
8748
9078
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
8749
9079
  attr_accessor :assist_query_params
8750
9080
 
9081
+ # Represents the natural language speech audio to be processed.
9082
+ # Corresponds to the JSON property `audioInput`
9083
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput]
9084
+ attr_accessor :audio_input
9085
+
9086
+ # The unique identifier of the CX page to override the `current_page` in the
9087
+ # session. Format: `projects//locations//agents//flows//pages/`. If `
9088
+ # cx_current_page` is specified, the previous state of the session will be
9089
+ # ignored by Dialogflow CX, including the previous page and the previous session
9090
+ # parameters. In most cases, `cx_current_page` and `cx_parameters` should be
9091
+ # configured together to direct a session to a specific state. Note: this field
9092
+ # should only be used if you are connecting to a Dialogflow CX agent.
9093
+ # Corresponds to the JSON property `cxCurrentPage`
9094
+ # @return [String]
9095
+ attr_accessor :cx_current_page
9096
+
9097
+ # Additional parameters to be put into Dialogflow CX session parameters. To
9098
+ # remove a parameter from the session, clients should explicitly set the
9099
+ # parameter value to null. Note: this field should only be used if you are
9100
+ # connecting to a Dialogflow CX agent.
9101
+ # Corresponds to the JSON property `cxParameters`
9102
+ # @return [Hash<String,Object>]
9103
+ attr_accessor :cx_parameters
9104
+
8751
9105
  # Events allow for matching intents by event name instead of the natural
8752
9106
  # language input. For instance, input `` can trigger a personalized welcome
8753
9107
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -8800,6 +9154,9 @@ module Google
8800
9154
  # Update properties of this object
8801
9155
  def update!(**args)
8802
9156
  @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
9157
+ @audio_input = args[:audio_input] if args.key?(:audio_input)
9158
+ @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
9159
+ @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
8803
9160
  @event_input = args[:event_input] if args.key?(:event_input)
8804
9161
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
8805
9162
  @query_params = args[:query_params] if args.key?(:query_params)
@@ -9082,6 +9439,34 @@ module Google
9082
9439
  end
9083
9440
  end
9084
9441
 
9442
+ # Represents the natural language speech audio to be processed.
9443
+ class GoogleCloudDialogflowV2beta1AudioInput
9444
+ include Google::Apis::Core::Hashable
9445
+
9446
+ # Required. The natural language speech audio to be processed. A single request
9447
+ # can contain up to 1 minute of speech audio data. The transcribed text cannot
9448
+ # contain more than 256 bytes.
9449
+ # Corresponds to the JSON property `audio`
9450
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
9451
+ # @return [String]
9452
+ attr_accessor :audio
9453
+
9454
+ # Instructs the speech recognizer on how to process the audio content.
9455
+ # Corresponds to the JSON property `config`
9456
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig]
9457
+ attr_accessor :config
9458
+
9459
+ def initialize(**args)
9460
+ update!(**args)
9461
+ end
9462
+
9463
+ # Update properties of this object
9464
+ def update!(**args)
9465
+ @audio = args[:audio] if args.key?(:audio)
9466
+ @config = args[:config] if args.key?(:config)
9467
+ end
9468
+ end
9469
+
9085
9470
  # Defines the Automated Agent to connect to a conversation.
9086
9471
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
9087
9472
  include Google::Apis::Core::Hashable
@@ -10893,7 +11278,7 @@ module Google
10893
11278
  end
10894
11279
 
10895
11280
  # Custom conversation models used in agent assist feature. Supported feature:
10896
- # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
11281
+ # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
10897
11282
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
10898
11283
  include Google::Apis::Core::Hashable
10899
11284
 
@@ -11013,7 +11398,7 @@ module Google
11013
11398
  include Google::Apis::Core::Hashable
11014
11399
 
11015
11400
  # Custom conversation models used in agent assist feature. Supported feature:
11016
- # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
11401
+ # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
11017
11402
  # Corresponds to the JSON property `conversationModelConfig`
11018
11403
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]
11019
11404
  attr_accessor :conversation_model_config
@@ -14541,6 +14926,12 @@ module Google
14541
14926
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
14542
14927
  attr_accessor :live_agent_handoff
14543
14928
 
14929
+ # Represents an audio message that is composed of both segments synthesized from
14930
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
14931
+ # Corresponds to the JSON property `mixedAudio`
14932
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
14933
+ attr_accessor :mixed_audio
14934
+
14544
14935
  # Returns a response containing a custom, platform-specific payload.
14545
14936
  # Corresponds to the JSON property `payload`
14546
14937
  # @return [Hash<String,Object>]
@@ -14565,6 +14956,7 @@ module Google
14565
14956
  def update!(**args)
14566
14957
  @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
14567
14958
  @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
14959
+ @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
14568
14960
  @payload = args[:payload] if args.key?(:payload)
14569
14961
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
14570
14962
  @text = args[:text] if args.key?(:text)
@@ -14610,6 +15002,61 @@ module Google
14610
15002
  end
14611
15003
  end
14612
15004
 
15005
+ # Represents an audio message that is composed of both segments synthesized from
15006
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
15007
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
15008
+ include Google::Apis::Core::Hashable
15009
+
15010
+ # Segments this audio response is composed of.
15011
+ # Corresponds to the JSON property `segments`
15012
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
15013
+ attr_accessor :segments
15014
+
15015
+ def initialize(**args)
15016
+ update!(**args)
15017
+ end
15018
+
15019
+ # Update properties of this object
15020
+ def update!(**args)
15021
+ @segments = args[:segments] if args.key?(:segments)
15022
+ end
15023
+ end
15024
+
15025
+ # Represents one segment of audio.
15026
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
15027
+ include Google::Apis::Core::Hashable
15028
+
15029
+ # Whether the playback of this segment can be interrupted by the end user's
15030
+ # speech and the client should then start the next Dialogflow request.
15031
+ # Corresponds to the JSON property `allowPlaybackInterruption`
15032
+ # @return [Boolean]
15033
+ attr_accessor :allow_playback_interruption
15034
+ alias_method :allow_playback_interruption?, :allow_playback_interruption
15035
+
15036
+ # Raw audio synthesized from the Dialogflow agent's response using the output
15037
+ # config specified in the request.
15038
+ # Corresponds to the JSON property `audio`
15039
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
15040
+ # @return [String]
15041
+ attr_accessor :audio
15042
+
15043
+ # Client-specific URI that points to an audio clip accessible to the client.
15044
+ # Corresponds to the JSON property `uri`
15045
+ # @return [String]
15046
+ attr_accessor :uri
15047
+
15048
+ def initialize(**args)
15049
+ update!(**args)
15050
+ end
15051
+
15052
+ # Update properties of this object
15053
+ def update!(**args)
15054
+ @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
15055
+ @audio = args[:audio] if args.key?(:audio)
15056
+ @uri = args[:uri] if args.key?(:uri)
15057
+ end
15058
+ end
15059
+
14613
15060
  # Represents the signal that telles the client to transfer the phone call
14614
15061
  # connected to the agent to a third-party endpoint.
14615
15062
  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.34.0"
19
+ GEM_VERSION = "0.37.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.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220411"
25
+ REVISION = "20220607"
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
 
@@ -2392,6 +2446,18 @@ module Google
2392
2446
  include Google::Apis::Core::JsonObjectSupport
2393
2447
  end
2394
2448
 
2449
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
2450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2451
+
2452
+ include Google::Apis::Core::JsonObjectSupport
2453
+ end
2454
+
2455
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
2456
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2457
+
2458
+ include Google::Apis::Core::JsonObjectSupport
2459
+ end
2460
+
2395
2461
  class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
2396
2462
  class Representation < Google::Apis::Core::JsonRepresentation; end
2397
2463
 
@@ -2825,6 +2891,8 @@ module Google
2825
2891
  property :update_time, as: 'updateTime'
2826
2892
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
2827
2893
 
2894
+ property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig::Representation
2895
+
2828
2896
  end
2829
2897
  end
2830
2898
 
@@ -2844,6 +2912,14 @@ module Google
2844
2912
  end
2845
2913
  end
2846
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
+
2847
2923
  class GoogleCloudDialogflowCxV3EventHandler
2848
2924
  # @private
2849
2925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3379,6 +3455,31 @@ module Google
3379
3455
  end
3380
3456
  end
3381
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
+
3382
3483
  class GoogleCloudDialogflowCxV3WebhookRequest
3383
3484
  # @private
3384
3485
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3462,6 +3563,15 @@ module Google
3462
3563
  end
3463
3564
  end
3464
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
+
3465
3575
  class GoogleCloudDialogflowCxV3beta1AudioInput
3466
3576
  # @private
3467
3577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3595,6 +3705,8 @@ module Google
3595
3705
  property :update_time, as: 'updateTime'
3596
3706
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
3597
3707
 
3708
+ property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig::Representation
3709
+
3598
3710
  end
3599
3711
  end
3600
3712
 
@@ -3614,6 +3726,14 @@ module Google
3614
3726
  end
3615
3727
  end
3616
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
+
3617
3737
  class GoogleCloudDialogflowCxV3beta1EventHandler
3618
3738
  # @private
3619
3739
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4149,6 +4269,31 @@ module Google
4149
4269
  end
4150
4270
  end
4151
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
+
4152
4297
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
4153
4298
  # @private
4154
4299
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4232,6 +4377,15 @@ module Google
4232
4377
  end
4233
4378
  end
4234
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
+
4235
4389
  class GoogleCloudDialogflowV2AnnotatedMessagePart
4236
4390
  # @private
4237
4391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5097,6 +5251,10 @@ module Google
5097
5251
  class Representation < Google::Apis::Core::JsonRepresentation
5098
5252
  property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
5099
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'
5257
+ hash :cx_parameters, as: 'cxParameters'
5100
5258
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
5101
5259
 
5102
5260
  property :message_send_time, as: 'messageSendTime'
@@ -5180,6 +5338,15 @@ module Google
5180
5338
  end
5181
5339
  end
5182
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
+
5183
5350
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
5184
5351
  # @private
5185
5352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6677,6 +6844,8 @@ module Google
6677
6844
 
6678
6845
  property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
6679
6846
 
6847
+ property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
6848
+
6680
6849
  hash :payload, as: 'payload'
6681
6850
  property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
6682
6851
 
@@ -6698,6 +6867,23 @@ module Google
6698
6867
  end
6699
6868
  end
6700
6869
 
6870
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
6871
+ # @private
6872
+ class Representation < Google::Apis::Core::JsonRepresentation
6873
+ collection :segments, as: 'segments', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
6874
+
6875
+ end
6876
+ end
6877
+
6878
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
6879
+ # @private
6880
+ class Representation < Google::Apis::Core::JsonRepresentation
6881
+ property :allow_playback_interruption, as: 'allowPlaybackInterruption'
6882
+ property :audio, :base64 => true, as: 'audio'
6883
+ property :uri, as: 'uri'
6884
+ end
6885
+ end
6886
+
6701
6887
  class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
6702
6888
  # @private
6703
6889
  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.34.0
4
+ version: 0.37.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.5'
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.5'
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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.37.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