google-apis-dialogflow_v3 0.57.0 → 0.58.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: fa207b70a95aa89b2d85eff3e0ae9ecd24dc5fe060f81c94f8e13f7e2e74eaed
4
- data.tar.gz: b25d167473a863f6d872d9ab94d5159f56fc241c9e89a70557ce78dcc4bab3f0
3
+ metadata.gz: 7a28f0e4faf9922ab5689ac15858cb7c0e35d14e2a3460e2c09e7580f09cd16f
4
+ data.tar.gz: e3c57bc9db91b38a4b4ec413df5cd7aaec5c9aabc733a651e535b55373359af1
5
5
  SHA512:
6
- metadata.gz: 64c844c2aa832502c44032e73c050b028738febcc49a2c6146fb97af926c271ce5721e4d3ad782fe6ce788a6112f9c5309b60428c2710de558b459d8f57b0b79
7
- data.tar.gz: fbeb7de8dfdbe9b21fada0bce79214dd385a03760026548866f106d0f27a798ecca10837af5ffd292396bbcd476807118e95271c40f6a771e08d2a2f53707e8c
6
+ metadata.gz: c915014bc00488326626393ec6a4eb42d95cc189ea37f2661a83a26a7072848560890123663788508130ae23c23ce20d5637b7f956c8c81589aaded6aa4dde27
7
+ data.tar.gz: bd5a311153e6a9d9516e0a3505c02468017a955ecab27525f84f14f26f5bc8b0285872d3021118b6b020cc12ecfc5b2494a19f69ba6fa54ae428846129aed53c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.58.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230516
6
+
3
7
  ### v0.57.0 (2023-05-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20230501
@@ -5932,6 +5932,18 @@ module Google
5932
5932
  attr_accessor :reached_end_page
5933
5933
  alias_method :reached_end_page?, :reached_end_page
5934
5934
 
5935
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
5936
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
5937
+ # Corresponds to the JSON property `sentimentMagnitude`
5938
+ # @return [Float]
5939
+ attr_accessor :sentiment_magnitude
5940
+
5941
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
5942
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
5943
+ # Corresponds to the JSON property `sentimentScore`
5944
+ # @return [Float]
5945
+ attr_accessor :sentiment_score
5946
+
5935
5947
  # Whether user was specifically asking for a live agent.
5936
5948
  # Corresponds to the JSON property `userEscalated`
5937
5949
  # @return [Boolean]
@@ -5955,6 +5967,8 @@ module Google
5955
5967
  @no_match = args[:no_match] if args.key?(:no_match)
5956
5968
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
5957
5969
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
5970
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
5971
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
5958
5972
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
5959
5973
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
5960
5974
  end
@@ -6296,11 +6310,30 @@ module Google
6296
6310
  # @return [Array<String>]
6297
6311
  attr_accessor :allowed_ca_certs
6298
6312
 
6313
+ # Optional. HTTP method for the flexible webhook calls. Standard webhook always
6314
+ # uses POST.
6315
+ # Corresponds to the JSON property `httpMethod`
6316
+ # @return [String]
6317
+ attr_accessor :http_method
6318
+
6319
+ # Optional. Maps the values extracted from specific fields of the flexible
6320
+ # webhook response into session parameters. - Key: session parameter name -
6321
+ # Value: field path in the webhook response
6322
+ # Corresponds to the JSON property `parameterMapping`
6323
+ # @return [Hash<String,String>]
6324
+ attr_accessor :parameter_mapping
6325
+
6299
6326
  # The password for HTTP Basic authentication.
6300
6327
  # Corresponds to the JSON property `password`
6301
6328
  # @return [String]
6302
6329
  attr_accessor :password
6303
6330
 
6331
+ # Optional. Defines a custom JSON object as request body to send to flexible
6332
+ # webhook.
6333
+ # Corresponds to the JSON property `requestBody`
6334
+ # @return [String]
6335
+ attr_accessor :request_body
6336
+
6304
6337
  # The HTTP request headers to send together with webhook requests.
6305
6338
  # Corresponds to the JSON property `requestHeaders`
6306
6339
  # @return [Hash<String,String>]
@@ -6317,6 +6350,11 @@ module Google
6317
6350
  # @return [String]
6318
6351
  attr_accessor :username
6319
6352
 
6353
+ # Optional. Type of the webhook.
6354
+ # Corresponds to the JSON property `webhookType`
6355
+ # @return [String]
6356
+ attr_accessor :webhook_type
6357
+
6320
6358
  def initialize(**args)
6321
6359
  update!(**args)
6322
6360
  end
@@ -6324,10 +6362,14 @@ module Google
6324
6362
  # Update properties of this object
6325
6363
  def update!(**args)
6326
6364
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
6365
+ @http_method = args[:http_method] if args.key?(:http_method)
6366
+ @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
6327
6367
  @password = args[:password] if args.key?(:password)
6368
+ @request_body = args[:request_body] if args.key?(:request_body)
6328
6369
  @request_headers = args[:request_headers] if args.key?(:request_headers)
6329
6370
  @uri = args[:uri] if args.key?(:uri)
6330
6371
  @username = args[:username] if args.key?(:username)
6372
+ @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
6331
6373
  end
6332
6374
  end
6333
6375
 
@@ -9209,6 +9251,18 @@ module Google
9209
9251
  attr_accessor :reached_end_page
9210
9252
  alias_method :reached_end_page?, :reached_end_page
9211
9253
 
9254
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
9255
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
9256
+ # Corresponds to the JSON property `sentimentMagnitude`
9257
+ # @return [Float]
9258
+ attr_accessor :sentiment_magnitude
9259
+
9260
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
9261
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
9262
+ # Corresponds to the JSON property `sentimentScore`
9263
+ # @return [Float]
9264
+ attr_accessor :sentiment_score
9265
+
9212
9266
  # Whether user was specifically asking for a live agent.
9213
9267
  # Corresponds to the JSON property `userEscalated`
9214
9268
  # @return [Boolean]
@@ -9232,6 +9286,8 @@ module Google
9232
9286
  @no_match = args[:no_match] if args.key?(:no_match)
9233
9287
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
9234
9288
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
9289
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
9290
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
9235
9291
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
9236
9292
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
9237
9293
  end
@@ -9330,11 +9386,30 @@ module Google
9330
9386
  # @return [Array<String>]
9331
9387
  attr_accessor :allowed_ca_certs
9332
9388
 
9389
+ # Optional. HTTP method for the flexible webhook calls. Standard webhook always
9390
+ # uses POST.
9391
+ # Corresponds to the JSON property `httpMethod`
9392
+ # @return [String]
9393
+ attr_accessor :http_method
9394
+
9395
+ # Optional. Maps the values extracted from specific fields of the flexible
9396
+ # webhook response into session parameters. - Key: session parameter name -
9397
+ # Value: field path in the webhook response
9398
+ # Corresponds to the JSON property `parameterMapping`
9399
+ # @return [Hash<String,String>]
9400
+ attr_accessor :parameter_mapping
9401
+
9333
9402
  # The password for HTTP Basic authentication.
9334
9403
  # Corresponds to the JSON property `password`
9335
9404
  # @return [String]
9336
9405
  attr_accessor :password
9337
9406
 
9407
+ # Optional. Defines a custom JSON object as request body to send to flexible
9408
+ # webhook.
9409
+ # Corresponds to the JSON property `requestBody`
9410
+ # @return [String]
9411
+ attr_accessor :request_body
9412
+
9338
9413
  # The HTTP request headers to send together with webhook requests.
9339
9414
  # Corresponds to the JSON property `requestHeaders`
9340
9415
  # @return [Hash<String,String>]
@@ -9351,6 +9426,11 @@ module Google
9351
9426
  # @return [String]
9352
9427
  attr_accessor :username
9353
9428
 
9429
+ # Optional. Type of the webhook.
9430
+ # Corresponds to the JSON property `webhookType`
9431
+ # @return [String]
9432
+ attr_accessor :webhook_type
9433
+
9354
9434
  def initialize(**args)
9355
9435
  update!(**args)
9356
9436
  end
@@ -9358,10 +9438,14 @@ module Google
9358
9438
  # Update properties of this object
9359
9439
  def update!(**args)
9360
9440
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
9441
+ @http_method = args[:http_method] if args.key?(:http_method)
9442
+ @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
9361
9443
  @password = args[:password] if args.key?(:password)
9444
+ @request_body = args[:request_body] if args.key?(:request_body)
9362
9445
  @request_headers = args[:request_headers] if args.key?(:request_headers)
9363
9446
  @uri = args[:uri] if args.key?(:uri)
9364
9447
  @username = args[:username] if args.key?(:username)
9448
+ @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
9365
9449
  end
9366
9450
  end
9367
9451
 
@@ -12953,6 +13037,38 @@ module Google
12953
13037
  end
12954
13038
  end
12955
13039
 
13040
+ # Represents a Dialogflow assist answer.
13041
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
13042
+ include Google::Apis::Core::Hashable
13043
+
13044
+ # The name of answer record, in the format of "projects//locations//
13045
+ # answerRecords/"
13046
+ # Corresponds to the JSON property `answerRecord`
13047
+ # @return [String]
13048
+ attr_accessor :answer_record
13049
+
13050
+ # Represents an intent suggestion.
13051
+ # Corresponds to the JSON property `intentSuggestion`
13052
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentSuggestion]
13053
+ attr_accessor :intent_suggestion
13054
+
13055
+ # Represents the result of conversational query or event processing.
13056
+ # Corresponds to the JSON property `queryResult`
13057
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1QueryResult]
13058
+ attr_accessor :query_result
13059
+
13060
+ def initialize(**args)
13061
+ update!(**args)
13062
+ end
13063
+
13064
+ # Update properties of this object
13065
+ def update!(**args)
13066
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
13067
+ @intent_suggestion = args[:intent_suggestion] if args.key?(:intent_suggestion)
13068
+ @query_result = args[:query_result] if args.key?(:query_result)
13069
+ end
13070
+ end
13071
+
12956
13072
  # Each intent parameter has a type, called the entity type, which dictates
12957
13073
  # exactly how data from an end-user expression is extracted. Dialogflow provides
12958
13074
  # predefined system entities that can match many common types of data. For
@@ -14902,6 +15018,39 @@ module Google
14902
15018
  end
14903
15019
  end
14904
15020
 
15021
+ # Represents an intent suggestion.
15022
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
15023
+ include Google::Apis::Core::Hashable
15024
+
15025
+ # Human readable description for better understanding an intent like its scope,
15026
+ # content, result etc. Maximum character limit: 140 characters.
15027
+ # Corresponds to the JSON property `description`
15028
+ # @return [String]
15029
+ attr_accessor :description
15030
+
15031
+ # The display name of the intent.
15032
+ # Corresponds to the JSON property `displayName`
15033
+ # @return [String]
15034
+ attr_accessor :display_name
15035
+
15036
+ # The unique identifier of this intent. Format: `projects//locations//agent/
15037
+ # intents/`.
15038
+ # Corresponds to the JSON property `intentV2`
15039
+ # @return [String]
15040
+ attr_accessor :intent_v2
15041
+
15042
+ def initialize(**args)
15043
+ update!(**args)
15044
+ end
15045
+
15046
+ # Update properties of this object
15047
+ def update!(**args)
15048
+ @description = args[:description] if args.key?(:description)
15049
+ @display_name = args[:display_name] if args.key?(:display_name)
15050
+ @intent_v2 = args[:intent_v2] if args.key?(:intent_v2)
15051
+ end
15052
+ end
15053
+
14905
15054
  # Represents an example that the agent is trained on.
14906
15055
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
14907
15056
  include Google::Apis::Core::Hashable
@@ -15624,6 +15773,42 @@ module Google
15624
15773
  end
15625
15774
  end
15626
15775
 
15776
+ # The response message for Participants.SuggestDialogflowAssists.
15777
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
15778
+ include Google::Apis::Core::Hashable
15779
+
15780
+ # Number of messages prior to and including latest_message to compile the
15781
+ # suggestion. It may be smaller than the SuggestDialogflowAssistsRequest.
15782
+ # context_size field in the request if there aren't that many messages in the
15783
+ # conversation.
15784
+ # Corresponds to the JSON property `contextSize`
15785
+ # @return [Fixnum]
15786
+ attr_accessor :context_size
15787
+
15788
+ # Output only. Multiple reply options provided by Dialogflow assist service. The
15789
+ # order is based on the rank of the model prediction.
15790
+ # Corresponds to the JSON property `dialogflowAssistAnswers`
15791
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer>]
15792
+ attr_accessor :dialogflow_assist_answers
15793
+
15794
+ # The name of the latest conversation message used to suggest answer. Format: `
15795
+ # projects//locations//conversations//messages/`.
15796
+ # Corresponds to the JSON property `latestMessage`
15797
+ # @return [String]
15798
+ attr_accessor :latest_message
15799
+
15800
+ def initialize(**args)
15801
+ update!(**args)
15802
+ end
15803
+
15804
+ # Update properties of this object
15805
+ def update!(**args)
15806
+ @context_size = args[:context_size] if args.key?(:context_size)
15807
+ @dialogflow_assist_answers = args[:dialogflow_assist_answers] if args.key?(:dialogflow_assist_answers)
15808
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
15809
+ end
15810
+ end
15811
+
15627
15812
  # The request message for Participants.SuggestFaqAnswers.
15628
15813
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
15629
15814
  include Google::Apis::Core::Hashable
@@ -15715,6 +15900,11 @@ module Google
15715
15900
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse]
15716
15901
  attr_accessor :suggest_articles_response
15717
15902
 
15903
+ # The response message for Participants.SuggestDialogflowAssists.
15904
+ # Corresponds to the JSON property `suggestDialogflowAssistsResponse`
15905
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse]
15906
+ attr_accessor :suggest_dialogflow_assists_response
15907
+
15718
15908
  # The request message for Participants.SuggestFaqAnswers.
15719
15909
  # Corresponds to the JSON property `suggestFaqAnswersResponse`
15720
15910
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
@@ -15733,6 +15923,7 @@ module Google
15733
15923
  def update!(**args)
15734
15924
  @error = args[:error] if args.key?(:error)
15735
15925
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
15926
+ @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
15736
15927
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
15737
15928
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
15738
15929
  end
@@ -16065,6 +16256,18 @@ module Google
16065
16256
  attr_accessor :reached_end_page
16066
16257
  alias_method :reached_end_page?, :reached_end_page
16067
16258
 
16259
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
16260
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
16261
+ # Corresponds to the JSON property `sentimentMagnitude`
16262
+ # @return [Float]
16263
+ attr_accessor :sentiment_magnitude
16264
+
16265
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
16266
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
16267
+ # Corresponds to the JSON property `sentimentScore`
16268
+ # @return [Float]
16269
+ attr_accessor :sentiment_score
16270
+
16068
16271
  # Whether agent has triggered the event corresponding to user abandoning the
16069
16272
  # conversation.
16070
16273
  # Corresponds to the JSON property `triggeredAbandonmentEvent`
@@ -16095,6 +16298,8 @@ module Google
16095
16298
  @no_match = args[:no_match] if args.key?(:no_match)
16096
16299
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
16097
16300
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
16301
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
16302
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
16098
16303
  @triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
16099
16304
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
16100
16305
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.57.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 = "20230501"
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
 
@@ -4260,6 +4278,8 @@ module Google
4260
4278
  property :no_match, as: 'noMatch'
4261
4279
  property :no_user_input, as: 'noUserInput'
4262
4280
  property :reached_end_page, as: 'reachedEndPage'
4281
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
4282
+ property :sentiment_score, as: 'sentimentScore'
4263
4283
  property :user_escalated, as: 'userEscalated'
4264
4284
  collection :webhook_statuses, as: 'webhookStatuses'
4265
4285
  end
@@ -4364,10 +4384,14 @@ module Google
4364
4384
  # @private
4365
4385
  class Representation < Google::Apis::Core::JsonRepresentation
4366
4386
  collection :allowed_ca_certs, as: 'allowedCaCerts'
4387
+ property :http_method, as: 'httpMethod'
4388
+ hash :parameter_mapping, as: 'parameterMapping'
4367
4389
  property :password, as: 'password'
4390
+ property :request_body, as: 'requestBody'
4368
4391
  hash :request_headers, as: 'requestHeaders'
4369
4392
  property :uri, as: 'uri'
4370
4393
  property :username, as: 'username'
4394
+ property :webhook_type, as: 'webhookType'
4371
4395
  end
4372
4396
  end
4373
4397
 
@@ -5171,6 +5195,8 @@ module Google
5171
5195
  property :no_match, as: 'noMatch'
5172
5196
  property :no_user_input, as: 'noUserInput'
5173
5197
  property :reached_end_page, as: 'reachedEndPage'
5198
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
5199
+ property :sentiment_score, as: 'sentimentScore'
5174
5200
  property :user_escalated, as: 'userEscalated'
5175
5201
  collection :webhook_statuses, as: 'webhookStatuses'
5176
5202
  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::DialogflowV3::GoogleCloudDialogflowV2beta1IntentSuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentSuggestion::Representation
6220
+
6221
+ property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer, decorator: Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
6938
6998
 
6999
+ property :suggest_dialogflow_assists_response, as: 'suggestDialogflowAssistsResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse::Representation
7000
+
6939
7001
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
6940
7002
 
6941
7003
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::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_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.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-05-14 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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.58.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []