google-apis-dialogflow_v3beta1 0.56.0 → 0.58.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: f3fc8db04176921655e7d05930abad5d2ba1751119234f60c32f1877f623d1b6
4
- data.tar.gz: f0059f2783b51418d5fe02d9cb07c739fc6ff321aa1a11b3c98a508d6e405085
3
+ metadata.gz: 06bd377f91cca611554ae0969aae042a35275c87d3f8957cd772e72fe0653787
4
+ data.tar.gz: 20ef5ebd0b2f18f163c0184523b3e82a869f8e98183c9686456ec858f794bd21
5
5
  SHA512:
6
- metadata.gz: 28477dee2e9bed939a1eff0a0a5a6bfb5089807e16c6251ac7978336d22acff9c21fbe15bf5f5a494ccf89b445a4f498d8ce9d19f007f8d3d8ca10317b064c7a
7
- data.tar.gz: 1e1bc37f8b79a518df0530c12202474051ebcefee467de0851402d8b2f6bc294c42caad016d7493bcdfeaf40997cf7ed7dda3d0535b139b690472142b4968670
6
+ metadata.gz: d920944ba164c97524a311706c7f093c811a083cb2970f7fb0c3504c9804a0beb859fd423352df9cdfccbf9e0b04a60199aa0429c456044ccfedd5ef8216b23e
7
+ data.tar.gz: 2a1d6664375b63b18cc31603caf712fc2bad1c2aa9f795a8357e0340a055b5ac987d7543e526d99067b1f13571054108001f0fc895873e8f928aab4cb4d2ef34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.58.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230516
6
+
7
+ ### v0.57.0 (2023-05-07)
8
+
9
+ * Regenerated from discovery document revision 20230501
10
+
3
11
  ### v0.56.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230418
@@ -197,7 +197,7 @@ module Google
197
197
  # Represents the query input. It can contain one of: 1. A conversational query
198
198
  # in the form of text. 2. An intent query that specifies which intent to trigger.
199
199
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
200
- #
200
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
201
201
  # Corresponds to the JSON property `input`
202
202
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput]
203
203
  attr_accessor :input
@@ -1680,7 +1680,7 @@ module Google
1680
1680
  # Represents the query input. It can contain one of: 1. A conversational query
1681
1681
  # in the form of text. 2. An intent query that specifies which intent to trigger.
1682
1682
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
1683
- #
1683
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
1684
1684
  class GoogleCloudDialogflowCxV3QueryInput
1685
1685
  include Google::Apis::Core::Hashable
1686
1686
 
@@ -2573,6 +2573,18 @@ module Google
2573
2573
  attr_accessor :reached_end_page
2574
2574
  alias_method :reached_end_page?, :reached_end_page
2575
2575
 
2576
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
2577
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
2578
+ # Corresponds to the JSON property `sentimentMagnitude`
2579
+ # @return [Float]
2580
+ attr_accessor :sentiment_magnitude
2581
+
2582
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
2583
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
2584
+ # Corresponds to the JSON property `sentimentScore`
2585
+ # @return [Float]
2586
+ attr_accessor :sentiment_score
2587
+
2576
2588
  # Whether user was specifically asking for a live agent.
2577
2589
  # Corresponds to the JSON property `userEscalated`
2578
2590
  # @return [Boolean]
@@ -2596,6 +2608,8 @@ module Google
2596
2608
  @no_match = args[:no_match] if args.key?(:no_match)
2597
2609
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
2598
2610
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
2611
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
2612
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
2599
2613
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
2600
2614
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
2601
2615
  end
@@ -2694,11 +2708,30 @@ module Google
2694
2708
  # @return [Array<String>]
2695
2709
  attr_accessor :allowed_ca_certs
2696
2710
 
2711
+ # Optional. HTTP method for the flexible webhook calls. Standard webhook always
2712
+ # uses POST.
2713
+ # Corresponds to the JSON property `httpMethod`
2714
+ # @return [String]
2715
+ attr_accessor :http_method
2716
+
2717
+ # Optional. Maps the values extracted from specific fields of the flexible
2718
+ # webhook response into session parameters. - Key: session parameter name -
2719
+ # Value: field path in the webhook response
2720
+ # Corresponds to the JSON property `parameterMapping`
2721
+ # @return [Hash<String,String>]
2722
+ attr_accessor :parameter_mapping
2723
+
2697
2724
  # The password for HTTP Basic authentication.
2698
2725
  # Corresponds to the JSON property `password`
2699
2726
  # @return [String]
2700
2727
  attr_accessor :password
2701
2728
 
2729
+ # Optional. Defines a custom JSON object as request body to send to flexible
2730
+ # webhook.
2731
+ # Corresponds to the JSON property `requestBody`
2732
+ # @return [String]
2733
+ attr_accessor :request_body
2734
+
2702
2735
  # The HTTP request headers to send together with webhook requests.
2703
2736
  # Corresponds to the JSON property `requestHeaders`
2704
2737
  # @return [Hash<String,String>]
@@ -2715,6 +2748,11 @@ module Google
2715
2748
  # @return [String]
2716
2749
  attr_accessor :username
2717
2750
 
2751
+ # Optional. Type of the webhook.
2752
+ # Corresponds to the JSON property `webhookType`
2753
+ # @return [String]
2754
+ attr_accessor :webhook_type
2755
+
2718
2756
  def initialize(**args)
2719
2757
  update!(**args)
2720
2758
  end
@@ -2722,10 +2760,14 @@ module Google
2722
2760
  # Update properties of this object
2723
2761
  def update!(**args)
2724
2762
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
2763
+ @http_method = args[:http_method] if args.key?(:http_method)
2764
+ @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
2725
2765
  @password = args[:password] if args.key?(:password)
2766
+ @request_body = args[:request_body] if args.key?(:request_body)
2726
2767
  @request_headers = args[:request_headers] if args.key?(:request_headers)
2727
2768
  @uri = args[:uri] if args.key?(:uri)
2728
2769
  @username = args[:username] if args.key?(:username)
2770
+ @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
2729
2771
  end
2730
2772
  end
2731
2773
 
@@ -3213,7 +3255,7 @@ module Google
3213
3255
  # @return [Array<String>]
3214
3256
  attr_accessor :supported_language_codes
3215
3257
 
3216
- # Settings related to speech generating.
3258
+ # Settings related to speech synthesizing.
3217
3259
  # Corresponds to the JSON property `textToSpeechSettings`
3218
3260
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextToSpeechSettings]
3219
3261
  attr_accessor :text_to_speech_settings
@@ -3654,7 +3696,7 @@ module Google
3654
3696
  # Represents the query input. It can contain one of: 1. A conversational query
3655
3697
  # in the form of text. 2. An intent query that specifies which intent to trigger.
3656
3698
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
3657
- #
3699
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
3658
3700
  # Corresponds to the JSON property `input`
3659
3701
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
3660
3702
  attr_accessor :input
@@ -3977,7 +4019,7 @@ module Google
3977
4019
  # Represents the query input. It can contain one of: 1. A conversational query
3978
4020
  # in the form of text. 2. An intent query that specifies which intent to trigger.
3979
4021
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
3980
- #
4022
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
3981
4023
  # Corresponds to the JSON property `queryInput`
3982
4024
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
3983
4025
  attr_accessor :query_input
@@ -5448,7 +5490,7 @@ module Google
5448
5490
  include Google::Apis::Core::Hashable
5449
5491
 
5450
5492
  # Required. The Google Cloud Storage URI for the exported objects. A URI is of
5451
- # the form: gs://bucket/object-name-or-prefix Whether a full object name, or
5493
+ # the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or
5452
5494
  # just a prefix, its usage depends on the Dialogflow operation.
5453
5495
  # Corresponds to the JSON property `uri`
5454
5496
  # @return [String]
@@ -5842,7 +5884,7 @@ module Google
5842
5884
  class GoogleCloudDialogflowCxV3beta1IntentCoverageIntent
5843
5885
  include Google::Apis::Core::Hashable
5844
5886
 
5845
- # Whether or not the intent is covered by at least one of the agent's test cases.
5887
+ # Whether the intent is covered by at least one of the agent's test cases.
5846
5888
  # Corresponds to the JSON property `covered`
5847
5889
  # @return [Boolean]
5848
5890
  attr_accessor :covered
@@ -6591,7 +6633,7 @@ module Google
6591
6633
  # Represents the query input. It can contain one of: 1. A conversational query
6592
6634
  # in the form of text. 2. An intent query that specifies which intent to trigger.
6593
6635
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
6594
- #
6636
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
6595
6637
  # Corresponds to the JSON property `queryInput`
6596
6638
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
6597
6639
  attr_accessor :query_input
@@ -6954,7 +6996,7 @@ module Google
6954
6996
  # Represents the query input. It can contain one of: 1. A conversational query
6955
6997
  # in the form of text. 2. An intent query that specifies which intent to trigger.
6956
6998
  # 3. Natural language speech audio to be processed. 4. An event to be triggered.
6957
- #
6999
+ # 5. DTMF digits to invoke an intent and fill in parameter value.
6958
7000
  class GoogleCloudDialogflowCxV3beta1QueryInput
6959
7001
  include Google::Apis::Core::Hashable
6960
7002
 
@@ -8556,12 +8598,17 @@ module Google
8556
8598
  end
8557
8599
  end
8558
8600
 
8559
- # Settings related to speech generating.
8601
+ # Settings related to speech synthesizing.
8560
8602
  class GoogleCloudDialogflowCxV3beta1TextToSpeechSettings
8561
8603
  include Google::Apis::Core::Hashable
8562
8604
 
8563
8605
  # Configuration of how speech should be synthesized, mapping from language (
8564
- # https://dialogflow.com/docs/reference/language) to SynthesizeSpeechConfig.
8606
+ # https://cloud.google.com/dialogflow/cx/docs/reference/language) to
8607
+ # SynthesizeSpeechConfig. These settings affect: - The synthesize configuration
8608
+ # used in [phone gateway](https://cloud.google.com/dialogflow/cx/docs/concept/
8609
+ # integration/phone-gateway). - You no longer need to specify OutputAudioConfig.
8610
+ # synthesize_speech_config when invoking API calls. Your agent will use the pre-
8611
+ # configured options for speech synthesizing.
8565
8612
  # Corresponds to the JSON property `synthesizeSpeechConfigs`
8566
8613
  # @return [Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig>]
8567
8614
  attr_accessor :synthesize_speech_configs
@@ -8620,8 +8667,7 @@ module Google
8620
8667
  class GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition
8621
8668
  include Google::Apis::Core::Hashable
8622
8669
 
8623
- # Whether or not the transition is covered by at least one of the agent's test
8624
- # cases.
8670
+ # Whether the transition is covered by at least one of the agent's test cases.
8625
8671
  # Corresponds to the JSON property `covered`
8626
8672
  # @return [Boolean]
8627
8673
  attr_accessor :covered
@@ -8895,8 +8941,8 @@ module Google
8895
8941
  class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
8896
8942
  include Google::Apis::Core::Hashable
8897
8943
 
8898
- # Whether or not the transition route is covered by at least one of the agent's
8899
- # test cases.
8944
+ # Whether the transition route is covered by at least one of the agent's test
8945
+ # cases.
8900
8946
  # Corresponds to the JSON property `covered`
8901
8947
  # @return [Boolean]
8902
8948
  attr_accessor :covered
@@ -8964,6 +9010,18 @@ module Google
8964
9010
  attr_accessor :reached_end_page
8965
9011
  alias_method :reached_end_page?, :reached_end_page
8966
9012
 
9013
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
9014
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
9015
+ # Corresponds to the JSON property `sentimentMagnitude`
9016
+ # @return [Float]
9017
+ attr_accessor :sentiment_magnitude
9018
+
9019
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
9020
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
9021
+ # Corresponds to the JSON property `sentimentScore`
9022
+ # @return [Float]
9023
+ attr_accessor :sentiment_score
9024
+
8967
9025
  # Whether user was specifically asking for a live agent.
8968
9026
  # Corresponds to the JSON property `userEscalated`
8969
9027
  # @return [Boolean]
@@ -8987,6 +9045,8 @@ module Google
8987
9045
  @no_match = args[:no_match] if args.key?(:no_match)
8988
9046
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
8989
9047
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
9048
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
9049
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
8990
9050
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
8991
9051
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
8992
9052
  end
@@ -9328,11 +9388,30 @@ module Google
9328
9388
  # @return [Array<String>]
9329
9389
  attr_accessor :allowed_ca_certs
9330
9390
 
9391
+ # Optional. HTTP method for the flexible webhook calls. Standard webhook always
9392
+ # uses POST.
9393
+ # Corresponds to the JSON property `httpMethod`
9394
+ # @return [String]
9395
+ attr_accessor :http_method
9396
+
9397
+ # Optional. Maps the values extracted from specific fields of the flexible
9398
+ # webhook response into session parameters. - Key: session parameter name -
9399
+ # Value: field path in the webhook response
9400
+ # Corresponds to the JSON property `parameterMapping`
9401
+ # @return [Hash<String,String>]
9402
+ attr_accessor :parameter_mapping
9403
+
9331
9404
  # The password for HTTP Basic authentication.
9332
9405
  # Corresponds to the JSON property `password`
9333
9406
  # @return [String]
9334
9407
  attr_accessor :password
9335
9408
 
9409
+ # Optional. Defines a custom JSON object as request body to send to flexible
9410
+ # webhook.
9411
+ # Corresponds to the JSON property `requestBody`
9412
+ # @return [String]
9413
+ attr_accessor :request_body
9414
+
9336
9415
  # The HTTP request headers to send together with webhook requests.
9337
9416
  # Corresponds to the JSON property `requestHeaders`
9338
9417
  # @return [Hash<String,String>]
@@ -9349,6 +9428,11 @@ module Google
9349
9428
  # @return [String]
9350
9429
  attr_accessor :username
9351
9430
 
9431
+ # Optional. Type of the webhook.
9432
+ # Corresponds to the JSON property `webhookType`
9433
+ # @return [String]
9434
+ attr_accessor :webhook_type
9435
+
9352
9436
  def initialize(**args)
9353
9437
  update!(**args)
9354
9438
  end
@@ -9356,10 +9440,14 @@ module Google
9356
9440
  # Update properties of this object
9357
9441
  def update!(**args)
9358
9442
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
9443
+ @http_method = args[:http_method] if args.key?(:http_method)
9444
+ @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
9359
9445
  @password = args[:password] if args.key?(:password)
9446
+ @request_body = args[:request_body] if args.key?(:request_body)
9360
9447
  @request_headers = args[:request_headers] if args.key?(:request_headers)
9361
9448
  @uri = args[:uri] if args.key?(:uri)
9362
9449
  @username = args[:username] if args.key?(:username)
9450
+ @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
9363
9451
  end
9364
9452
  end
9365
9453
 
@@ -12951,6 +13039,38 @@ module Google
12951
13039
  end
12952
13040
  end
12953
13041
 
13042
+ # Represents a Dialogflow assist answer.
13043
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
13044
+ include Google::Apis::Core::Hashable
13045
+
13046
+ # The name of answer record, in the format of "projects//locations//
13047
+ # answerRecords/"
13048
+ # Corresponds to the JSON property `answerRecord`
13049
+ # @return [String]
13050
+ attr_accessor :answer_record
13051
+
13052
+ # Represents an intent suggestion.
13053
+ # Corresponds to the JSON property `intentSuggestion`
13054
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentSuggestion]
13055
+ attr_accessor :intent_suggestion
13056
+
13057
+ # Represents the result of conversational query or event processing.
13058
+ # Corresponds to the JSON property `queryResult`
13059
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1QueryResult]
13060
+ attr_accessor :query_result
13061
+
13062
+ def initialize(**args)
13063
+ update!(**args)
13064
+ end
13065
+
13066
+ # Update properties of this object
13067
+ def update!(**args)
13068
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
13069
+ @intent_suggestion = args[:intent_suggestion] if args.key?(:intent_suggestion)
13070
+ @query_result = args[:query_result] if args.key?(:query_result)
13071
+ end
13072
+ end
13073
+
12954
13074
  # Each intent parameter has a type, called the entity type, which dictates
12955
13075
  # exactly how data from an end-user expression is extracted. Dialogflow provides
12956
13076
  # predefined system entities that can match many common types of data. For
@@ -14900,6 +15020,39 @@ module Google
14900
15020
  end
14901
15021
  end
14902
15022
 
15023
+ # Represents an intent suggestion.
15024
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
15025
+ include Google::Apis::Core::Hashable
15026
+
15027
+ # Human readable description for better understanding an intent like its scope,
15028
+ # content, result etc. Maximum character limit: 140 characters.
15029
+ # Corresponds to the JSON property `description`
15030
+ # @return [String]
15031
+ attr_accessor :description
15032
+
15033
+ # The display name of the intent.
15034
+ # Corresponds to the JSON property `displayName`
15035
+ # @return [String]
15036
+ attr_accessor :display_name
15037
+
15038
+ # The unique identifier of this intent. Format: `projects//locations//agent/
15039
+ # intents/`.
15040
+ # Corresponds to the JSON property `intentV2`
15041
+ # @return [String]
15042
+ attr_accessor :intent_v2
15043
+
15044
+ def initialize(**args)
15045
+ update!(**args)
15046
+ end
15047
+
15048
+ # Update properties of this object
15049
+ def update!(**args)
15050
+ @description = args[:description] if args.key?(:description)
15051
+ @display_name = args[:display_name] if args.key?(:display_name)
15052
+ @intent_v2 = args[:intent_v2] if args.key?(:intent_v2)
15053
+ end
15054
+ end
15055
+
14903
15056
  # Represents an example that the agent is trained on.
14904
15057
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
14905
15058
  include Google::Apis::Core::Hashable
@@ -15622,6 +15775,42 @@ module Google
15622
15775
  end
15623
15776
  end
15624
15777
 
15778
+ # The response message for Participants.SuggestDialogflowAssists.
15779
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
15780
+ include Google::Apis::Core::Hashable
15781
+
15782
+ # Number of messages prior to and including latest_message to compile the
15783
+ # suggestion. It may be smaller than the SuggestDialogflowAssistsRequest.
15784
+ # context_size field in the request if there aren't that many messages in the
15785
+ # conversation.
15786
+ # Corresponds to the JSON property `contextSize`
15787
+ # @return [Fixnum]
15788
+ attr_accessor :context_size
15789
+
15790
+ # Output only. Multiple reply options provided by Dialogflow assist service. The
15791
+ # order is based on the rank of the model prediction.
15792
+ # Corresponds to the JSON property `dialogflowAssistAnswers`
15793
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer>]
15794
+ attr_accessor :dialogflow_assist_answers
15795
+
15796
+ # The name of the latest conversation message used to suggest answer. Format: `
15797
+ # projects//locations//conversations//messages/`.
15798
+ # Corresponds to the JSON property `latestMessage`
15799
+ # @return [String]
15800
+ attr_accessor :latest_message
15801
+
15802
+ def initialize(**args)
15803
+ update!(**args)
15804
+ end
15805
+
15806
+ # Update properties of this object
15807
+ def update!(**args)
15808
+ @context_size = args[:context_size] if args.key?(:context_size)
15809
+ @dialogflow_assist_answers = args[:dialogflow_assist_answers] if args.key?(:dialogflow_assist_answers)
15810
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
15811
+ end
15812
+ end
15813
+
15625
15814
  # The request message for Participants.SuggestFaqAnswers.
15626
15815
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
15627
15816
  include Google::Apis::Core::Hashable
@@ -15713,6 +15902,11 @@ module Google
15713
15902
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse]
15714
15903
  attr_accessor :suggest_articles_response
15715
15904
 
15905
+ # The response message for Participants.SuggestDialogflowAssists.
15906
+ # Corresponds to the JSON property `suggestDialogflowAssistsResponse`
15907
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse]
15908
+ attr_accessor :suggest_dialogflow_assists_response
15909
+
15716
15910
  # The request message for Participants.SuggestFaqAnswers.
15717
15911
  # Corresponds to the JSON property `suggestFaqAnswersResponse`
15718
15912
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
@@ -15731,6 +15925,7 @@ module Google
15731
15925
  def update!(**args)
15732
15926
  @error = args[:error] if args.key?(:error)
15733
15927
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
15928
+ @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
15734
15929
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
15735
15930
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
15736
15931
  end
@@ -16063,6 +16258,18 @@ module Google
16063
16258
  attr_accessor :reached_end_page
16064
16259
  alias_method :reached_end_page?, :reached_end_page
16065
16260
 
16261
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
16262
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
16263
+ # Corresponds to the JSON property `sentimentMagnitude`
16264
+ # @return [Float]
16265
+ attr_accessor :sentiment_magnitude
16266
+
16267
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
16268
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
16269
+ # Corresponds to the JSON property `sentimentScore`
16270
+ # @return [Float]
16271
+ attr_accessor :sentiment_score
16272
+
16066
16273
  # Whether agent has triggered the event corresponding to user abandoning the
16067
16274
  # conversation.
16068
16275
  # Corresponds to the JSON property `triggeredAbandonmentEvent`
@@ -16093,6 +16300,8 @@ module Google
16093
16300
  @no_match = args[:no_match] if args.key?(:no_match)
16094
16301
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
16095
16302
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
16303
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
16304
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
16096
16305
  @triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
16097
16306
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
16098
16307
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
@@ -16143,7 +16352,7 @@ module Google
16143
16352
  end
16144
16353
  end
16145
16354
 
16146
- # A resource that represents Google Cloud Platform location.
16355
+ # A resource that represents a Google Cloud location.
16147
16356
  class GoogleCloudLocationLocation
16148
16357
  include Google::Apis::Core::Hashable
16149
16358
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230418"
25
+ REVISION = "20230516"
26
26
  end
27
27
  end
28
28
  end
@@ -2122,6 +2122,12 @@ module Google
2122
2122
  include Google::Apis::Core::JsonObjectSupport
2123
2123
  end
2124
2124
 
2125
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
2126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2127
+
2128
+ include Google::Apis::Core::JsonObjectSupport
2129
+ end
2130
+
2125
2131
  class GoogleCloudDialogflowV2beta1EntityType
2126
2132
  class Representation < Google::Apis::Core::JsonRepresentation; end
2127
2133
 
@@ -2446,6 +2452,12 @@ module Google
2446
2452
  include Google::Apis::Core::JsonObjectSupport
2447
2453
  end
2448
2454
 
2455
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
2456
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2457
+
2458
+ include Google::Apis::Core::JsonObjectSupport
2459
+ end
2460
+
2449
2461
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
2450
2462
  class Representation < Google::Apis::Core::JsonRepresentation; end
2451
2463
 
@@ -2536,6 +2548,12 @@ module Google
2536
2548
  include Google::Apis::Core::JsonObjectSupport
2537
2549
  end
2538
2550
 
2551
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
2552
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2553
+
2554
+ include Google::Apis::Core::JsonObjectSupport
2555
+ end
2556
+
2539
2557
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
2540
2558
  class Representation < Google::Apis::Core::JsonRepresentation; end
2541
2559
 
@@ -3369,6 +3387,8 @@ module Google
3369
3387
  property :no_match, as: 'noMatch'
3370
3388
  property :no_user_input, as: 'noUserInput'
3371
3389
  property :reached_end_page, as: 'reachedEndPage'
3390
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
3391
+ property :sentiment_score, as: 'sentimentScore'
3372
3392
  property :user_escalated, as: 'userEscalated'
3373
3393
  collection :webhook_statuses, as: 'webhookStatuses'
3374
3394
  end
@@ -3400,10 +3420,14 @@ module Google
3400
3420
  # @private
3401
3421
  class Representation < Google::Apis::Core::JsonRepresentation
3402
3422
  collection :allowed_ca_certs, as: 'allowedCaCerts'
3423
+ property :http_method, as: 'httpMethod'
3424
+ hash :parameter_mapping, as: 'parameterMapping'
3403
3425
  property :password, as: 'password'
3426
+ property :request_body, as: 'requestBody'
3404
3427
  hash :request_headers, as: 'requestHeaders'
3405
3428
  property :uri, as: 'uri'
3406
3429
  property :username, as: 'username'
3430
+ property :webhook_type, as: 'webhookType'
3407
3431
  end
3408
3432
  end
3409
3433
 
@@ -5098,6 +5122,8 @@ module Google
5098
5122
  property :no_match, as: 'noMatch'
5099
5123
  property :no_user_input, as: 'noUserInput'
5100
5124
  property :reached_end_page, as: 'reachedEndPage'
5125
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
5126
+ property :sentiment_score, as: 'sentimentScore'
5101
5127
  property :user_escalated, as: 'userEscalated'
5102
5128
  collection :webhook_statuses, as: 'webhookStatuses'
5103
5129
  end
@@ -5202,10 +5228,14 @@ module Google
5202
5228
  # @private
5203
5229
  class Representation < Google::Apis::Core::JsonRepresentation
5204
5230
  collection :allowed_ca_certs, as: 'allowedCaCerts'
5231
+ property :http_method, as: 'httpMethod'
5232
+ hash :parameter_mapping, as: 'parameterMapping'
5205
5233
  property :password, as: 'password'
5234
+ property :request_body, as: 'requestBody'
5206
5235
  hash :request_headers, as: 'requestHeaders'
5207
5236
  property :uri, as: 'uri'
5208
5237
  property :username, as: 'username'
5238
+ property :webhook_type, as: 'webhookType'
5209
5239
  end
5210
5240
  end
5211
5241
 
@@ -6182,6 +6212,17 @@ module Google
6182
6212
  end
6183
6213
  end
6184
6214
 
6215
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
6216
+ # @private
6217
+ class Representation < Google::Apis::Core::JsonRepresentation
6218
+ property :answer_record, as: 'answerRecord'
6219
+ property :intent_suggestion, as: 'intentSuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentSuggestion::Representation
6220
+
6221
+ property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
6222
+
6223
+ end
6224
+ end
6225
+
6185
6226
  class GoogleCloudDialogflowV2beta1EntityType
6186
6227
  # @private
6187
6228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6741,6 +6782,15 @@ module Google
6741
6782
  end
6742
6783
  end
6743
6784
 
6785
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
6786
+ # @private
6787
+ class Representation < Google::Apis::Core::JsonRepresentation
6788
+ property :description, as: 'description'
6789
+ property :display_name, as: 'displayName'
6790
+ property :intent_v2, as: 'intentV2'
6791
+ end
6792
+ end
6793
+
6744
6794
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
6745
6795
  # @private
6746
6796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6909,6 +6959,16 @@ module Google
6909
6959
  end
6910
6960
  end
6911
6961
 
6962
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
6963
+ # @private
6964
+ class Representation < Google::Apis::Core::JsonRepresentation
6965
+ property :context_size, as: 'contextSize'
6966
+ collection :dialogflow_assist_answers, as: 'dialogflowAssistAnswers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer::Representation
6967
+
6968
+ property :latest_message, as: 'latestMessage'
6969
+ end
6970
+ end
6971
+
6912
6972
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
6913
6973
  # @private
6914
6974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6936,6 +6996,8 @@ module Google
6936
6996
 
6937
6997
  property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
6938
6998
 
6999
+ property :suggest_dialogflow_assists_response, as: 'suggestDialogflowAssistsResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse::Representation
7000
+
6939
7001
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
6940
7002
 
6941
7003
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
@@ -7040,6 +7102,8 @@ module Google
7040
7102
  property :no_match, as: 'noMatch'
7041
7103
  property :no_user_input, as: 'noUserInput'
7042
7104
  property :reached_end_page, as: 'reachedEndPage'
7105
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
7106
+ property :sentiment_score, as: 'sentimentScore'
7043
7107
  property :triggered_abandonment_event, as: 'triggeredAbandonmentEvent'
7044
7108
  property :user_escalated, as: 'userEscalated'
7045
7109
  collection :webhook_statuses, as: 'webhookStatuses'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.58.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: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-05-21 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_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.58.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []