google-apis-dialogflow_v3 0.22.0 → 0.26.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: 469e12231666a8ce341706fe722c8020ac3f68412f88965910773f1a6d47469e
4
- data.tar.gz: ef14b6b0d7ae23ce1c2d8bd09a3427f66c4e91328db13124895801b9e94e12a9
3
+ metadata.gz: ad92708ff8b2498e5b1122f89196d0592428339865c15efd675a364c3d500892
4
+ data.tar.gz: 7c1d5da94b3bd1da57227c050b745486f24b58cef0be36c5e0d4717659d8175f
5
5
  SHA512:
6
- metadata.gz: c88f4cef71651783b4cecfaff654b48fa4da93278b93d99917a14852a351c3e45918ad850af8f9f75e844f14d99ca84e8028b458fd61e667a90f1a31d7240055
7
- data.tar.gz: 1c7ac3de95c49dad5e044ea021060b80a97f8f379940042b3c2311a1a76d97554e8097e067272556b5a0c9760a22d3f2d29bbbe31223ccfe60d5fe3e2c156f3d
6
+ metadata.gz: 4c85fbf98f378b5f1953a7df8daa8418ae913d16ffa2606358fb34d11c9d5dc394a019f6f77951d5d54b85d70417c8702ed547f561da56b61b691331c35ec49f
7
+ data.tar.gz: aedc55c8d9268e04a23f46e8cfc816ac0c2bfba68f89e8878cc44557e91777e1df8e6f42f8b31b0582fb59fd9a9dc77d1308c56f25bf5f941284ade81f9791f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.26.0 (2022-01-21)
4
+
5
+ * Regenerated from discovery document revision 20220119
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.25.0 (2022-01-07)
9
+
10
+ * Regenerated from discovery document revision 20211231
11
+ * Unspecified changes
12
+
13
+ ### v0.24.0 (2021-12-04)
14
+
15
+ * Regenerated from discovery document revision 20211201
16
+
17
+ ### v0.23.0 (2021-10-28)
18
+
19
+ * Regenerated from discovery document revision 20211022
20
+
3
21
  ### v0.22.0 (2021-10-21)
4
22
 
5
23
  * Regenerated from discovery document revision 20211015
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dialogflow_v3"
51
51
  client = Google::Apis::DialogflowV3::DialogflowService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -1202,7 +1202,7 @@ module Google
1202
1202
  include Google::Apis::Core::Hashable
1203
1203
 
1204
1204
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
1205
- # false. If set to ture, run once a day.
1205
+ # false. If set to true, run once a day.
1206
1206
  # Corresponds to the JSON property `enableContinuousRun`
1207
1207
  # @return [Boolean]
1208
1208
  attr_accessor :enable_continuous_run
@@ -3356,7 +3356,8 @@ module Google
3356
3356
  # @return [Float]
3357
3357
  attr_accessor :confidence
3358
3358
 
3359
- # The event that matched the query. Only filled for `EVENT` match type.
3359
+ # The event that matched the query. Filled for `EVENT`, `NO_MATCH` and `NO_INPUT`
3360
+ # match types.
3360
3361
  # Corresponds to the JSON property `event`
3361
3362
  # @return [String]
3362
3363
  attr_accessor :event
@@ -3678,6 +3679,12 @@ module Google
3678
3679
  # @return [String]
3679
3680
  attr_accessor :current_page
3680
3681
 
3682
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
3683
+ # name of the current page.
3684
+ # Corresponds to the JSON property `displayName`
3685
+ # @return [String]
3686
+ attr_accessor :display_name
3687
+
3681
3688
  # Represents form information.
3682
3689
  # Corresponds to the JSON property `formInfo`
3683
3690
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo]
@@ -3690,6 +3697,7 @@ module Google
3690
3697
  # Update properties of this object
3691
3698
  def update!(**args)
3692
3699
  @current_page = args[:current_page] if args.key?(:current_page)
3700
+ @display_name = args[:display_name] if args.key?(:display_name)
3693
3701
  @form_info = args[:form_info] if args.key?(:form_info)
3694
3702
  end
3695
3703
  end
@@ -4199,6 +4207,12 @@ module Google
4199
4207
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
4200
4208
  attr_accessor :play_audio
4201
4209
 
4210
+ # Represents the signal that telles the client to transfer the phone call
4211
+ # connected to the agent to a third-party endpoint.
4212
+ # Corresponds to the JSON property `telephonyTransferCall`
4213
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]
4214
+ attr_accessor :telephony_transfer_call
4215
+
4202
4216
  # The text response message.
4203
4217
  # Corresponds to the JSON property `text`
4204
4218
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText]
@@ -4217,6 +4231,7 @@ module Google
4217
4231
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
4218
4232
  @payload = args[:payload] if args.key?(:payload)
4219
4233
  @play_audio = args[:play_audio] if args.key?(:play_audio)
4234
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
4220
4235
  @text = args[:text] if args.key?(:text)
4221
4236
  end
4222
4237
  end
@@ -4409,6 +4424,27 @@ module Google
4409
4424
  end
4410
4425
  end
4411
4426
 
4427
+ # Represents the signal that telles the client to transfer the phone call
4428
+ # connected to the agent to a third-party endpoint.
4429
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
4430
+ include Google::Apis::Core::Hashable
4431
+
4432
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
4433
+ # wiki/E.164).
4434
+ # Corresponds to the JSON property `phoneNumber`
4435
+ # @return [String]
4436
+ attr_accessor :phone_number
4437
+
4438
+ def initialize(**args)
4439
+ update!(**args)
4440
+ end
4441
+
4442
+ # Update properties of this object
4443
+ def update!(**args)
4444
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
4445
+ end
4446
+ end
4447
+
4412
4448
  # The text response message.
4413
4449
  class GoogleCloudDialogflowCxV3ResponseMessageText
4414
4450
  include Google::Apis::Core::Hashable
@@ -4684,7 +4720,10 @@ module Google
4684
4720
  include Google::Apis::Core::Hashable
4685
4721
 
4686
4722
  # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
4687
- # template to define de-identification configuration for the content. If empty,
4723
+ # template to define de-identification configuration for the content. The `DLP
4724
+ # De-identify Templates Reader` role is needed on the Dialogflow service
4725
+ # identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-
4726
+ # dialogflow.iam.gserviceaccount.com`) for your agent's project. If empty,
4688
4727
  # Dialogflow replaces sensitive info with `[redacted]` text. The template name
4689
4728
  # will have one of the following formats: `projects//locations//
4690
4729
  # deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
@@ -4701,17 +4740,19 @@ module Google
4701
4740
  attr_accessor :display_name
4702
4741
 
4703
4742
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
4704
- # dialogflow/priv/docs/insights).
4743
+ # contact-center/insights/docs).
4705
4744
  # Corresponds to the JSON property `insightsExportSettings`
4706
4745
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]
4707
4746
  attr_accessor :insights_export_settings
4708
4747
 
4709
4748
  # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
4710
- # template to define inspect base settings. If empty, we use the default DLP
4711
- # inspect config. The template name will have one of the following formats: `
4712
- # projects//locations//inspectTemplates/` OR `organizations//locations//
4713
- # inspectTemplates/` Note: `inspect_template` must be located in the same region
4714
- # as the `SecuritySettings`.
4749
+ # template to define inspect base settings. The `DLP Inspect Templates Reader`
4750
+ # role is needed on the Dialogflow service identity service account (has the
4751
+ # form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for
4752
+ # your agent's project. If empty, we use the default DLP inspect config. The
4753
+ # template name will have one of the following formats: `projects//locations//
4754
+ # inspectTemplates/` OR `organizations//locations//inspectTemplates/` Note: `
4755
+ # inspect_template` must be located in the same region as the `SecuritySettings`.
4715
4756
  # Corresponds to the JSON property `inspectTemplate`
4716
4757
  # @return [String]
4717
4758
  attr_accessor :inspect_template
@@ -4742,10 +4783,11 @@ module Google
4742
4783
 
4743
4784
  # Retains data in interaction logging for the specified number of days. This
4744
4785
  # does not apply to Cloud logging, which is owned by the user - not Dialogflow.
4745
- # User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
4746
- # higher than that has no effect. A missing value or setting to 0 also means we
4747
- # use Dialogflow's default TTL. Note: Interaction logging is a limited access
4748
- # feature. Talk to your Google representative to check availability for you.
4786
+ # User must set a value lower than Dialogflow's default 365d TTL. Setting a
4787
+ # value higher than that has no effect. A missing value or setting to 0 also
4788
+ # means we use Dialogflow's default TTL. Note: Interaction logging is a limited
4789
+ # access feature. Talk to your Google representative to check availability for
4790
+ # you.
4749
4791
  # Corresponds to the JSON property `retentionWindowDays`
4750
4792
  # @return [Fixnum]
4751
4793
  attr_accessor :retention_window_days
@@ -4769,7 +4811,7 @@ module Google
4769
4811
  end
4770
4812
 
4771
4813
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
4772
- # dialogflow/priv/docs/insights).
4814
+ # contact-center/insights/docs).
4773
4815
  class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
4774
4816
  include Google::Apis::Core::Hashable
4775
4817
 
@@ -5919,6 +5961,18 @@ module Google
5919
5961
  class GoogleCloudDialogflowCxV3WebhookGenericWebService
5920
5962
  include Google::Apis::Core::Hashable
5921
5963
 
5964
+ # Optional. Specifies a list of allowed custom CA certificates (in DER format)
5965
+ # for HTTPS verification. This overrides the default SSL trust store. If this is
5966
+ # empty or unspecified, Dialogflow will use Google's default trust store to
5967
+ # verify certificates. N.B. Make sure the HTTPS server certificates are signed
5968
+ # with "subject alt name". For instance a certificate can be self-signed using
5969
+ # the following command, openssl x509 -req -days 200 -in example.com.csr \ -
5970
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
5971
+ # nsubjectAltName='DNS:www.example.com'")
5972
+ # Corresponds to the JSON property `allowedCaCerts`
5973
+ # @return [Array<String>]
5974
+ attr_accessor :allowed_ca_certs
5975
+
5922
5976
  # The password for HTTP Basic authentication.
5923
5977
  # Corresponds to the JSON property `password`
5924
5978
  # @return [String]
@@ -5946,6 +6000,7 @@ module Google
5946
6000
 
5947
6001
  # Update properties of this object
5948
6002
  def update!(**args)
6003
+ @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
5949
6004
  @password = args[:password] if args.key?(:password)
5950
6005
  @request_headers = args[:request_headers] if args.key?(:request_headers)
5951
6006
  @uri = args[:uri] if args.key?(:uri)
@@ -6723,7 +6778,7 @@ module Google
6723
6778
  include Google::Apis::Core::Hashable
6724
6779
 
6725
6780
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
6726
- # false. If set to ture, run once a day.
6781
+ # false. If set to true, run once a day.
6727
6782
  # Corresponds to the JSON property `enableContinuousRun`
6728
6783
  # @return [Boolean]
6729
6784
  attr_accessor :enable_continuous_run
@@ -7773,6 +7828,12 @@ module Google
7773
7828
  # @return [String]
7774
7829
  attr_accessor :current_page
7775
7830
 
7831
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
7832
+ # name of the current page.
7833
+ # Corresponds to the JSON property `displayName`
7834
+ # @return [String]
7835
+ attr_accessor :display_name
7836
+
7776
7837
  # Represents form information.
7777
7838
  # Corresponds to the JSON property `formInfo`
7778
7839
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
@@ -7785,6 +7846,7 @@ module Google
7785
7846
  # Update properties of this object
7786
7847
  def update!(**args)
7787
7848
  @current_page = args[:current_page] if args.key?(:current_page)
7849
+ @display_name = args[:display_name] if args.key?(:display_name)
7788
7850
  @form_info = args[:form_info] if args.key?(:form_info)
7789
7851
  end
7790
7852
  end
@@ -8007,6 +8069,12 @@ module Google
8007
8069
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
8008
8070
  attr_accessor :play_audio
8009
8071
 
8072
+ # Represents the signal that telles the client to transfer the phone call
8073
+ # connected to the agent to a third-party endpoint.
8074
+ # Corresponds to the JSON property `telephonyTransferCall`
8075
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]
8076
+ attr_accessor :telephony_transfer_call
8077
+
8010
8078
  # The text response message.
8011
8079
  # Corresponds to the JSON property `text`
8012
8080
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
@@ -8025,6 +8093,7 @@ module Google
8025
8093
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
8026
8094
  @payload = args[:payload] if args.key?(:payload)
8027
8095
  @play_audio = args[:play_audio] if args.key?(:play_audio)
8096
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
8028
8097
  @text = args[:text] if args.key?(:text)
8029
8098
  end
8030
8099
  end
@@ -8217,6 +8286,27 @@ module Google
8217
8286
  end
8218
8287
  end
8219
8288
 
8289
+ # Represents the signal that telles the client to transfer the phone call
8290
+ # connected to the agent to a third-party endpoint.
8291
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
8292
+ include Google::Apis::Core::Hashable
8293
+
8294
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
8295
+ # wiki/E.164).
8296
+ # Corresponds to the JSON property `phoneNumber`
8297
+ # @return [String]
8298
+ attr_accessor :phone_number
8299
+
8300
+ def initialize(**args)
8301
+ update!(**args)
8302
+ end
8303
+
8304
+ # Update properties of this object
8305
+ def update!(**args)
8306
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
8307
+ end
8308
+ end
8309
+
8220
8310
  # The text response message.
8221
8311
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
8222
8312
  include Google::Apis::Core::Hashable
@@ -9462,6 +9552,25 @@ module Google
9462
9552
  end
9463
9553
  end
9464
9554
 
9555
+ # Response message for Documents.ImportDocuments.
9556
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
9557
+ include Google::Apis::Core::Hashable
9558
+
9559
+ # Includes details about skipped documents or any other warnings.
9560
+ # Corresponds to the JSON property `warnings`
9561
+ # @return [Array<Google::Apis::DialogflowV3::GoogleRpcStatus>]
9562
+ attr_accessor :warnings
9563
+
9564
+ def initialize(**args)
9565
+ update!(**args)
9566
+ end
9567
+
9568
+ # Update properties of this object
9569
+ def update!(**args)
9570
+ @warnings = args[:warnings] if args.key?(:warnings)
9571
+ end
9572
+ end
9573
+
9465
9574
  # An intent categorizes an end-user's intention for one conversation turn. For
9466
9575
  # each agent, you define many intents, where your combined intents can handle a
9467
9576
  # complete conversation. When an end-user writes or says something, referred to
@@ -10717,6 +10826,11 @@ module Google
10717
10826
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
10718
10827
  include Google::Apis::Core::Hashable
10719
10828
 
10829
+ # The name of the knowledge base interacted with during the operation.
10830
+ # Corresponds to the JSON property `knowledgeBase`
10831
+ # @return [String]
10832
+ attr_accessor :knowledge_base
10833
+
10720
10834
  # Output only. The current state of this operation.
10721
10835
  # Corresponds to the JSON property `state`
10722
10836
  # @return [String]
@@ -10728,6 +10842,7 @@ module Google
10728
10842
 
10729
10843
  # Update properties of this object
10730
10844
  def update!(**args)
10845
+ @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
10731
10846
  @state = args[:state] if args.key?(:state)
10732
10847
  end
10733
10848
  end
@@ -10741,7 +10856,7 @@ module Google
10741
10856
  # @return [String]
10742
10857
  attr_accessor :content
10743
10858
 
10744
- # Output only. The time when the message was created.
10859
+ # Output only. The time when the message was created in Contact Center AI.
10745
10860
  # Corresponds to the JSON property `createTime`
10746
10861
  # @return [String]
10747
10862
  attr_accessor :create_time
@@ -10757,7 +10872,7 @@ module Google
10757
10872
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2MessageAnnotation]
10758
10873
  attr_accessor :message_annotation
10759
10874
 
10760
- # The unique identifier of the message. Format: `projects//locations//
10875
+ # Optional. The unique identifier of the message. Format: `projects//locations//
10761
10876
  # conversations//messages/`.
10762
10877
  # Corresponds to the JSON property `name`
10763
10878
  # @return [String]
@@ -10773,6 +10888,23 @@ module Google
10773
10888
  # @return [String]
10774
10889
  attr_accessor :participant_role
10775
10890
 
10891
+ # Optional. The time when the message was sent.
10892
+ # Corresponds to the JSON property `sendTime`
10893
+ # @return [String]
10894
+ attr_accessor :send_time
10895
+
10896
+ # The result of sentiment analysis. Sentiment analysis inspects user input and
10897
+ # identifies the prevailing subjective opinion, especially to determine a user's
10898
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
10899
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
10900
+ # StreamingDetectIntent, it needs to be configured in
10901
+ # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
10902
+ # and Participants.StreamingAnalyzeContent, it needs to be configured in
10903
+ # ConversationProfile.human_agent_assistant_config
10904
+ # Corresponds to the JSON property `sentimentAnalysis`
10905
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SentimentAnalysisResult]
10906
+ attr_accessor :sentiment_analysis
10907
+
10776
10908
  def initialize(**args)
10777
10909
  update!(**args)
10778
10910
  end
@@ -10786,6 +10918,8 @@ module Google
10786
10918
  @name = args[:name] if args.key?(:name)
10787
10919
  @participant = args[:participant] if args.key?(:participant)
10788
10920
  @participant_role = args[:participant_role] if args.key?(:participant_role)
10921
+ @send_time = args[:send_time] if args.key?(:send_time)
10922
+ @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
10789
10923
  end
10790
10924
  end
10791
10925
 
@@ -11116,6 +11250,40 @@ module Google
11116
11250
  end
11117
11251
  end
11118
11252
 
11253
+ # Represents a smart reply answer.
11254
+ class GoogleCloudDialogflowV2SmartReplyAnswer
11255
+ include Google::Apis::Core::Hashable
11256
+
11257
+ # The name of answer record, in the format of "projects//locations//
11258
+ # answerRecords/"
11259
+ # Corresponds to the JSON property `answerRecord`
11260
+ # @return [String]
11261
+ attr_accessor :answer_record
11262
+
11263
+ # Smart reply confidence. The system's confidence score that this reply is a
11264
+ # good match for this conversation, as a value from 0.0 (completely uncertain)
11265
+ # to 1.0 (completely certain).
11266
+ # Corresponds to the JSON property `confidence`
11267
+ # @return [Float]
11268
+ attr_accessor :confidence
11269
+
11270
+ # The content of the reply.
11271
+ # Corresponds to the JSON property `reply`
11272
+ # @return [String]
11273
+ attr_accessor :reply
11274
+
11275
+ def initialize(**args)
11276
+ update!(**args)
11277
+ end
11278
+
11279
+ # Update properties of this object
11280
+ def update!(**args)
11281
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
11282
+ @confidence = args[:confidence] if args.key?(:confidence)
11283
+ @reply = args[:reply] if args.key?(:reply)
11284
+ end
11285
+ end
11286
+
11119
11287
  # The response message for Participants.SuggestArticles.
11120
11288
  class GoogleCloudDialogflowV2SuggestArticlesResponse
11121
11289
  include Google::Apis::Core::Hashable
@@ -11184,6 +11352,42 @@ module Google
11184
11352
  end
11185
11353
  end
11186
11354
 
11355
+ # The response message for Participants.SuggestSmartReplies.
11356
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
11357
+ include Google::Apis::Core::Hashable
11358
+
11359
+ # Number of messages prior to and including latest_message to compile the
11360
+ # suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size
11361
+ # field in the request if there aren't that many messages in the conversation.
11362
+ # Corresponds to the JSON property `contextSize`
11363
+ # @return [Fixnum]
11364
+ attr_accessor :context_size
11365
+
11366
+ # The name of the latest conversation message used to compile suggestion for.
11367
+ # Format: `projects//locations//conversations//messages/`.
11368
+ # Corresponds to the JSON property `latestMessage`
11369
+ # @return [String]
11370
+ attr_accessor :latest_message
11371
+
11372
+ # Output only. Multiple reply options provided by smart reply service. The order
11373
+ # is based on the rank of the model prediction. The maximum number of the
11374
+ # returned replies is set in SmartReplyConfig.
11375
+ # Corresponds to the JSON property `smartReplyAnswers`
11376
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyAnswer>]
11377
+ attr_accessor :smart_reply_answers
11378
+
11379
+ def initialize(**args)
11380
+ update!(**args)
11381
+ end
11382
+
11383
+ # Update properties of this object
11384
+ def update!(**args)
11385
+ @context_size = args[:context_size] if args.key?(:context_size)
11386
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
11387
+ @smart_reply_answers = args[:smart_reply_answers] if args.key?(:smart_reply_answers)
11388
+ end
11389
+ end
11390
+
11187
11391
  # One response of different type of suggestion response which is used in the
11188
11392
  # response of Participants.AnalyzeContent and Participants.AnalyzeContent, as
11189
11393
  # well as HumanAgentAssistantEvent.
@@ -11210,6 +11414,11 @@ module Google
11210
11414
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
11211
11415
  attr_accessor :suggest_faq_answers_response
11212
11416
 
11417
+ # The response message for Participants.SuggestSmartReplies.
11418
+ # Corresponds to the JSON property `suggestSmartRepliesResponse`
11419
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
11420
+ attr_accessor :suggest_smart_replies_response
11421
+
11213
11422
  def initialize(**args)
11214
11423
  update!(**args)
11215
11424
  end
@@ -11219,6 +11428,7 @@ module Google
11219
11428
  @error = args[:error] if args.key?(:error)
11220
11429
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
11221
11430
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
11431
+ @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
11222
11432
  end
11223
11433
  end
11224
11434
 
@@ -13653,6 +13863,11 @@ module Google
13653
13863
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
13654
13864
  include Google::Apis::Core::Hashable
13655
13865
 
13866
+ # The name of the knowledge base interacted with during the operation.
13867
+ # Corresponds to the JSON property `knowledgeBase`
13868
+ # @return [String]
13869
+ attr_accessor :knowledge_base
13870
+
13656
13871
  # Required. Output only. The current state of this operation.
13657
13872
  # Corresponds to the JSON property `state`
13658
13873
  # @return [String]
@@ -13664,6 +13879,7 @@ module Google
13664
13879
 
13665
13880
  # Update properties of this object
13666
13881
  def update!(**args)
13882
+ @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
13667
13883
  @state = args[:state] if args.key?(:state)
13668
13884
  end
13669
13885
  end
@@ -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.22.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211015"
25
+ REVISION = "20220119"
26
26
  end
27
27
  end
28
28
  end
@@ -730,6 +730,12 @@ module Google
730
730
  include Google::Apis::Core::JsonObjectSupport
731
731
  end
732
732
 
733
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
733
739
  class GoogleCloudDialogflowCxV3ResponseMessageText
734
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
741
 
@@ -1396,6 +1402,12 @@ module Google
1396
1402
  include Google::Apis::Core::JsonObjectSupport
1397
1403
  end
1398
1404
 
1405
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
1406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1407
+
1408
+ include Google::Apis::Core::JsonObjectSupport
1409
+ end
1410
+
1399
1411
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
1400
1412
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1413
 
@@ -1600,6 +1612,12 @@ module Google
1600
1612
  include Google::Apis::Core::JsonObjectSupport
1601
1613
  end
1602
1614
 
1615
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
1616
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1617
+
1618
+ include Google::Apis::Core::JsonObjectSupport
1619
+ end
1620
+
1603
1621
  class GoogleCloudDialogflowV2Intent
1604
1622
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1623
 
@@ -1846,6 +1864,12 @@ module Google
1846
1864
  include Google::Apis::Core::JsonObjectSupport
1847
1865
  end
1848
1866
 
1867
+ class GoogleCloudDialogflowV2SmartReplyAnswer
1868
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1869
+
1870
+ include Google::Apis::Core::JsonObjectSupport
1871
+ end
1872
+
1849
1873
  class GoogleCloudDialogflowV2SuggestArticlesResponse
1850
1874
  class Representation < Google::Apis::Core::JsonRepresentation; end
1851
1875
 
@@ -1858,6 +1882,12 @@ module Google
1858
1882
  include Google::Apis::Core::JsonObjectSupport
1859
1883
  end
1860
1884
 
1885
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
1886
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1887
+
1888
+ include Google::Apis::Core::JsonObjectSupport
1889
+ end
1890
+
1861
1891
  class GoogleCloudDialogflowV2SuggestionResult
1862
1892
  class Representation < Google::Apis::Core::JsonRepresentation; end
1863
1893
 
@@ -3434,6 +3464,7 @@ module Google
3434
3464
  # @private
3435
3465
  class Representation < Google::Apis::Core::JsonRepresentation
3436
3466
  property :current_page, as: 'currentPage'
3467
+ property :display_name, as: 'displayName'
3437
3468
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
3438
3469
 
3439
3470
  end
@@ -3554,6 +3585,8 @@ module Google
3554
3585
  hash :payload, as: 'payload'
3555
3586
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
3556
3587
 
3588
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
3589
+
3557
3590
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
3558
3591
 
3559
3592
  end
@@ -3613,6 +3646,13 @@ module Google
3613
3646
  end
3614
3647
  end
3615
3648
 
3649
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
3650
+ # @private
3651
+ class Representation < Google::Apis::Core::JsonRepresentation
3652
+ property :phone_number, as: 'phoneNumber'
3653
+ end
3654
+ end
3655
+
3616
3656
  class GoogleCloudDialogflowCxV3ResponseMessageText
3617
3657
  # @private
3618
3658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4044,6 +4084,7 @@ module Google
4044
4084
  class GoogleCloudDialogflowCxV3WebhookGenericWebService
4045
4085
  # @private
4046
4086
  class Representation < Google::Apis::Core::JsonRepresentation
4087
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
4047
4088
  property :password, as: 'password'
4048
4089
  hash :request_headers, as: 'requestHeaders'
4049
4090
  property :uri, as: 'uri'
@@ -4556,6 +4597,7 @@ module Google
4556
4597
  # @private
4557
4598
  class Representation < Google::Apis::Core::JsonRepresentation
4558
4599
  property :current_page, as: 'currentPage'
4600
+ property :display_name, as: 'displayName'
4559
4601
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
4560
4602
 
4561
4603
  end
@@ -4621,6 +4663,8 @@ module Google
4621
4663
  hash :payload, as: 'payload'
4622
4664
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
4623
4665
 
4666
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
4667
+
4624
4668
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4625
4669
 
4626
4670
  end
@@ -4680,6 +4724,13 @@ module Google
4680
4724
  end
4681
4725
  end
4682
4726
 
4727
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
4728
+ # @private
4729
+ class Representation < Google::Apis::Core::JsonRepresentation
4730
+ property :phone_number, as: 'phoneNumber'
4731
+ end
4732
+ end
4733
+
4683
4734
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
4684
4735
  # @private
4685
4736
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5020,6 +5071,14 @@ module Google
5020
5071
  end
5021
5072
  end
5022
5073
 
5074
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
5075
+ # @private
5076
+ class Representation < Google::Apis::Core::JsonRepresentation
5077
+ collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
5078
+
5079
+ end
5080
+ end
5081
+
5023
5082
  class GoogleCloudDialogflowV2Intent
5024
5083
  # @private
5025
5084
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5384,6 +5443,7 @@ module Google
5384
5443
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
5385
5444
  # @private
5386
5445
  class Representation < Google::Apis::Core::JsonRepresentation
5446
+ property :knowledge_base, as: 'knowledgeBase'
5387
5447
  property :state, as: 'state'
5388
5448
  end
5389
5449
  end
@@ -5399,6 +5459,9 @@ module Google
5399
5459
  property :name, as: 'name'
5400
5460
  property :participant, as: 'participant'
5401
5461
  property :participant_role, as: 'participantRole'
5462
+ property :send_time, as: 'sendTime'
5463
+ property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
5464
+
5402
5465
  end
5403
5466
  end
5404
5467
 
@@ -5472,6 +5535,15 @@ module Google
5472
5535
  end
5473
5536
  end
5474
5537
 
5538
+ class GoogleCloudDialogflowV2SmartReplyAnswer
5539
+ # @private
5540
+ class Representation < Google::Apis::Core::JsonRepresentation
5541
+ property :answer_record, as: 'answerRecord'
5542
+ property :confidence, as: 'confidence'
5543
+ property :reply, as: 'reply'
5544
+ end
5545
+ end
5546
+
5475
5547
  class GoogleCloudDialogflowV2SuggestArticlesResponse
5476
5548
  # @private
5477
5549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5492,6 +5564,16 @@ module Google
5492
5564
  end
5493
5565
  end
5494
5566
 
5567
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
5568
+ # @private
5569
+ class Representation < Google::Apis::Core::JsonRepresentation
5570
+ property :context_size, as: 'contextSize'
5571
+ property :latest_message, as: 'latestMessage'
5572
+ collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyAnswer::Representation
5573
+
5574
+ end
5575
+ end
5576
+
5495
5577
  class GoogleCloudDialogflowV2SuggestionResult
5496
5578
  # @private
5497
5579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5501,6 +5583,8 @@ module Google
5501
5583
 
5502
5584
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
5503
5585
 
5586
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
5587
+
5504
5588
  end
5505
5589
  end
5506
5590
 
@@ -6177,6 +6261,7 @@ module Google
6177
6261
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
6178
6262
  # @private
6179
6263
  class Representation < Google::Apis::Core::JsonRepresentation
6264
+ property :knowledge_base, as: 'knowledgeBase'
6180
6265
  property :state, as: 'state'
6181
6266
  end
6182
6267
  end
@@ -2579,7 +2579,7 @@ module Google
2579
2579
  # @param [String] base_version
2580
2580
  # Required. Name of the base flow version to compare with the target version.
2581
2581
  # Use version ID `0` to indicate the draft version of the specified flow. Format:
2582
- # `projects//locations//agents//flows//versions/`.
2582
+ # `projects//locations//agents/ /flows//versions/`.
2583
2583
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsRequest] google_cloud_dialogflow_cx_v3_compare_versions_request_object
2584
2584
  # @param [String] fields
2585
2585
  # Selector specifying which fields to include in a partial response.
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.22.0
4
+ version: 0.26.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-24 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.26.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: []
@@ -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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V3