google-apis-dialogflow_v2 0.37.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 932cb85b669956408daf0a30559619a091686143c6a891d4fd6c168a958f5a75
4
- data.tar.gz: 77cba271ae3aea583a84589624aa74c0896b6de6dbf18f2cf1300e87c9a96de4
3
+ metadata.gz: de38cc84a4e5253747e9f4a130ae2fcfb1b4ebf044b6f84096de244819182da2
4
+ data.tar.gz: bf72b540da9d51e539df88f06499907dcfa08dcbfff856d0cf227988dc9e6ae2
5
5
  SHA512:
6
- metadata.gz: 1d1702a019e2a9e64ff15ad6ffe0719891ede5982afc86f6185d73bed62bb7b8a48b69bee33471fa8680bb4a49baa6336355a1a7d355f806925c21991e6cdd6c
7
- data.tar.gz: 26198a9ed8e148ecc45667201dab557bb944600922b481db7db05e5b547dc3dacdca8a0a67e52dd589115c573d53cc9a830119b96f4d1f9e8bebc4cb354ffcc3
6
+ metadata.gz: c257e124c27de7ca2422f1121831b43ca04300c686e3bb04dbdafcc562ef584c1bb67249b41a58376320a1015859a1e53d7fbb5eb69557b813fe65ebcb38fca5
7
+ data.tar.gz: 9de20d7a5694f7eed5a91c2b1ba3890ed851c0c8042b7d64b6b9e3cf80b2a0252bb646526ffefa9af6b02208334a37943f2d76a9927c780f7e2a92b3fe9ff4a5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.38.0 (2022-05-27)
4
+
5
+ * Regenerated from discovery document revision 20220524
6
+
3
7
  ### v0.37.0 (2022-05-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220502
@@ -456,6 +456,11 @@ module Google
456
456
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>]
457
457
  attr_accessor :version_configs
458
458
 
459
+ # Configuration for webhooks.
460
+ # Corresponds to the JSON property `webhookConfig`
461
+ # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
3218
3383
  attr_accessor :version_configs
3219
3384
 
3385
+ # Configuration for webhooks.
3386
+ # Corresponds to the JSON property `webhookConfig`
3387
+ # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
  # A Dialogflow agent is a virtual agent that handles conversations with your end-
5548
5878
  # users. It is a natural language understanding module that understands the
5549
5879
  # nuances of human language. Dialogflow translates end-user text or audio during
@@ -8178,7 +8508,7 @@ module Google
8178
8508
  end
8179
8509
 
8180
8510
  # Custom conversation models used in agent assist feature. Supported feature:
8181
- # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
8511
+ # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
8182
8512
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
8183
8513
  include Google::Apis::Core::Hashable
8184
8514
 
@@ -8298,7 +8628,7 @@ module Google
8298
8628
  include Google::Apis::Core::Hashable
8299
8629
 
8300
8630
  # Custom conversation models used in agent assist feature. Supported feature:
8301
- # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
8631
+ # ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
8302
8632
  # Corresponds to the JSON property `conversationModelConfig`
8303
8633
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig]
8304
8634
  attr_accessor :conversation_model_config
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.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 = "20220502"
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 GoogleCloudDialogflowV2Agent
974
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
1023
 
@@ -2819,6 +2867,8 @@ module Google
2819
2867
  property :update_time, as: 'updateTime'
2820
2868
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
2821
2869
 
2870
+ property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig::Representation
2871
+
2822
2872
  end
2823
2873
  end
2824
2874
 
@@ -2838,6 +2888,14 @@ module Google
2838
2888
  end
2839
2889
  end
2840
2890
 
2891
+ class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
2892
+ # @private
2893
+ class Representation < Google::Apis::Core::JsonRepresentation
2894
+ collection :webhook_overrides, as: 'webhookOverrides', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Webhook, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Webhook::Representation
2895
+
2896
+ end
2897
+ end
2898
+
2841
2899
  class GoogleCloudDialogflowCxV3EventHandler
2842
2900
  # @private
2843
2901
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3373,6 +3431,31 @@ module Google
3373
3431
  end
3374
3432
  end
3375
3433
 
3434
+ class GoogleCloudDialogflowCxV3Webhook
3435
+ # @private
3436
+ class Representation < Google::Apis::Core::JsonRepresentation
3437
+ property :disabled, as: 'disabled'
3438
+ property :display_name, as: 'displayName'
3439
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3440
+
3441
+ property :name, as: 'name'
3442
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig::Representation
3443
+
3444
+ property :timeout, as: 'timeout'
3445
+ end
3446
+ end
3447
+
3448
+ class GoogleCloudDialogflowCxV3WebhookGenericWebService
3449
+ # @private
3450
+ class Representation < Google::Apis::Core::JsonRepresentation
3451
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
3452
+ property :password, as: 'password'
3453
+ hash :request_headers, as: 'requestHeaders'
3454
+ property :uri, as: 'uri'
3455
+ property :username, as: 'username'
3456
+ end
3457
+ end
3458
+
3376
3459
  class GoogleCloudDialogflowCxV3WebhookRequest
3377
3460
  # @private
3378
3461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3456,6 +3539,15 @@ module Google
3456
3539
  end
3457
3540
  end
3458
3541
 
3542
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
3543
+ # @private
3544
+ class Representation < Google::Apis::Core::JsonRepresentation
3545
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3546
+
3547
+ property :service, as: 'service'
3548
+ end
3549
+ end
3550
+
3459
3551
  class GoogleCloudDialogflowCxV3beta1AudioInput
3460
3552
  # @private
3461
3553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3589,6 +3681,8 @@ module Google
3589
3681
  property :update_time, as: 'updateTime'
3590
3682
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
3591
3683
 
3684
+ property :webhook_config, as: 'webhookConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig::Representation
3685
+
3592
3686
  end
3593
3687
  end
3594
3688
 
@@ -3608,6 +3702,14 @@ module Google
3608
3702
  end
3609
3703
  end
3610
3704
 
3705
+ class GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
3706
+ # @private
3707
+ class Representation < Google::Apis::Core::JsonRepresentation
3708
+ collection :webhook_overrides, as: 'webhookOverrides', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Webhook, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Webhook::Representation
3709
+
3710
+ end
3711
+ end
3712
+
3611
3713
  class GoogleCloudDialogflowCxV3beta1EventHandler
3612
3714
  # @private
3613
3715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4143,6 +4245,31 @@ module Google
4143
4245
  end
4144
4246
  end
4145
4247
 
4248
+ class GoogleCloudDialogflowCxV3beta1Webhook
4249
+ # @private
4250
+ class Representation < Google::Apis::Core::JsonRepresentation
4251
+ property :disabled, as: 'disabled'
4252
+ property :display_name, as: 'displayName'
4253
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
4254
+
4255
+ property :name, as: 'name'
4256
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig::Representation
4257
+
4258
+ property :timeout, as: 'timeout'
4259
+ end
4260
+ end
4261
+
4262
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
4263
+ # @private
4264
+ class Representation < Google::Apis::Core::JsonRepresentation
4265
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
4266
+ property :password, as: 'password'
4267
+ hash :request_headers, as: 'requestHeaders'
4268
+ property :uri, as: 'uri'
4269
+ property :username, as: 'username'
4270
+ end
4271
+ end
4272
+
4146
4273
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
4147
4274
  # @private
4148
4275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4226,6 +4353,15 @@ module Google
4226
4353
  end
4227
4354
  end
4228
4355
 
4356
+ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
4357
+ # @private
4358
+ class Representation < Google::Apis::Core::JsonRepresentation
4359
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
4360
+
4361
+ property :service, as: 'service'
4362
+ end
4363
+ end
4364
+
4229
4365
  class GoogleCloudDialogflowV2Agent
4230
4366
  # @private
4231
4367
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3001,11 +3001,6 @@ module Google
3001
3001
  # @param [String] parent
3002
3002
  # Required. The project to list all answer records for in reverse chronological
3003
3003
  # order. Format: `projects//locations/`.
3004
- # @param [String] filter
3005
- # Required. Filters to restrict results to specific answer records. Filter on
3006
- # answer record type. Currently predicates on `type` is supported, valid values
3007
- # are `ARTICLE_ANSWER`, `FAQ_ANSWER`. For more information about filtering, see [
3008
- # API Filtering](https://aip.dev/160).
3009
3004
  # @param [Fixnum] page_size
3010
3005
  # Optional. The maximum number of records to return in a single page. The server
3011
3006
  # may return fewer records than this. If unspecified, we use 10. The maximum is
@@ -3030,12 +3025,11 @@ module Google
3030
3025
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3031
3026
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3032
3027
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3033
- def list_project_answer_records(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3028
+ def list_project_answer_records(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3034
3029
  command = make_simple_command(:get, 'v2/{+parent}/answerRecords', options)
3035
3030
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListAnswerRecordsResponse::Representation
3036
3031
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListAnswerRecordsResponse
3037
3032
  command.params['parent'] = parent unless parent.nil?
3038
- command.query['filter'] = filter unless filter.nil?
3039
3033
  command.query['pageSize'] = page_size unless page_size.nil?
3040
3034
  command.query['pageToken'] = page_token unless page_token.nil?
3041
3035
  command.query['fields'] = fields unless fields.nil?
@@ -7338,11 +7332,6 @@ module Google
7338
7332
  # @param [String] parent
7339
7333
  # Required. The project to list all answer records for in reverse chronological
7340
7334
  # order. Format: `projects//locations/`.
7341
- # @param [String] filter
7342
- # Required. Filters to restrict results to specific answer records. Filter on
7343
- # answer record type. Currently predicates on `type` is supported, valid values
7344
- # are `ARTICLE_ANSWER`, `FAQ_ANSWER`. For more information about filtering, see [
7345
- # API Filtering](https://aip.dev/160).
7346
7335
  # @param [Fixnum] page_size
7347
7336
  # Optional. The maximum number of records to return in a single page. The server
7348
7337
  # may return fewer records than this. If unspecified, we use 10. The maximum is
@@ -7367,12 +7356,11 @@ module Google
7367
7356
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7368
7357
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7369
7358
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7370
- def list_project_location_answer_records(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7359
+ def list_project_location_answer_records(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7371
7360
  command = make_simple_command(:get, 'v2/{+parent}/answerRecords', options)
7372
7361
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListAnswerRecordsResponse::Representation
7373
7362
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListAnswerRecordsResponse
7374
7363
  command.params['parent'] = parent unless parent.nil?
7375
- command.query['filter'] = filter unless filter.nil?
7376
7364
  command.query['pageSize'] = page_size unless page_size.nil?
7377
7365
  command.query['pageToken'] = page_token unless page_token.nil?
7378
7366
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.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-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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
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 V2