google-apis-dialogflow_v3beta1 0.24.0 → 0.28.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: d9d045e8bf68970910854c4703625e8e574abd2b2f7a41c645a93ab1c1637839
4
- data.tar.gz: dbaad000dd6fc9ae59e30ffbce245d24ad3edd379e74fcebdd2d1b0d31e1f4a6
3
+ metadata.gz: b394627c735913ee4ed0580a5f66f41d52919ca54b09b2f1707b367a7085d3a2
4
+ data.tar.gz: 140e10fce61049a98365554f71e64d7c42b729a02cd0e3d1bcd740ffe8450abe
5
5
  SHA512:
6
- metadata.gz: b527068746118b517ac35bf62a4f193efe3ff0c99a0a928c25a6f21512f218a124b54915c11bda56eca120b283578765b05e714a2bf686f02bebe3f80ff58583
7
- data.tar.gz: 45f3461c2c99f27658fe8560bb54c9c765c2d88743b3642c257aa39332df1fe7d5dc7c6331eaffc546009bc9ea8b95dc78e8f05eda9b3636a26e9ed4da558c11
6
+ metadata.gz: 1a1cf2472fd1aec88b9a12d9cfad45241bc434631d1e54f5e40bfbae459b24c7928699db25dae1cca608e2bec28ea0bf9dbc377d23dd7b6a01637203e4fbdeca
7
+ data.tar.gz: 8a290c8dc1b30520197e8b74997112c21a699f04d72d826d3ec1c940d1927929ed5fe779eaf0580e4bd4e32d2d4b17fa8ed075ed60bd52a1d4fc9aa6c46a8b67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.28.0 (2022-01-21)
4
+
5
+ * Regenerated from discovery document revision 20220119
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.27.0 (2022-01-07)
9
+
10
+ * Regenerated from discovery document revision 20211231
11
+ * Unspecified changes
12
+
13
+ ### v0.26.0 (2021-12-04)
14
+
15
+ * Regenerated from discovery document revision 20211201
16
+
17
+ ### v0.25.0 (2021-10-28)
18
+
19
+ * Regenerated from discovery document revision 20211022
20
+
3
21
  ### v0.24.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_v3beta1"
51
51
  client = Google::Apis::DialogflowV3beta1::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.
@@ -476,7 +476,7 @@ module Google
476
476
  include Google::Apis::Core::Hashable
477
477
 
478
478
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
479
- # false. If set to ture, run once a day.
479
+ # false. If set to true, run once a day.
480
480
  # Corresponds to the JSON property `enableContinuousRun`
481
481
  # @return [Boolean]
482
482
  attr_accessor :enable_continuous_run
@@ -1526,6 +1526,12 @@ module Google
1526
1526
  # @return [String]
1527
1527
  attr_accessor :current_page
1528
1528
 
1529
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
1530
+ # name of the current page.
1531
+ # Corresponds to the JSON property `displayName`
1532
+ # @return [String]
1533
+ attr_accessor :display_name
1534
+
1529
1535
  # Represents form information.
1530
1536
  # Corresponds to the JSON property `formInfo`
1531
1537
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo]
@@ -1538,6 +1544,7 @@ module Google
1538
1544
  # Update properties of this object
1539
1545
  def update!(**args)
1540
1546
  @current_page = args[:current_page] if args.key?(:current_page)
1547
+ @display_name = args[:display_name] if args.key?(:display_name)
1541
1548
  @form_info = args[:form_info] if args.key?(:form_info)
1542
1549
  end
1543
1550
  end
@@ -1760,6 +1767,12 @@ module Google
1760
1767
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
1761
1768
  attr_accessor :play_audio
1762
1769
 
1770
+ # Represents the signal that telles the client to transfer the phone call
1771
+ # connected to the agent to a third-party endpoint.
1772
+ # Corresponds to the JSON property `telephonyTransferCall`
1773
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]
1774
+ attr_accessor :telephony_transfer_call
1775
+
1763
1776
  # The text response message.
1764
1777
  # Corresponds to the JSON property `text`
1765
1778
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
@@ -1778,6 +1791,7 @@ module Google
1778
1791
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
1779
1792
  @payload = args[:payload] if args.key?(:payload)
1780
1793
  @play_audio = args[:play_audio] if args.key?(:play_audio)
1794
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
1781
1795
  @text = args[:text] if args.key?(:text)
1782
1796
  end
1783
1797
  end
@@ -1970,6 +1984,27 @@ module Google
1970
1984
  end
1971
1985
  end
1972
1986
 
1987
+ # Represents the signal that telles the client to transfer the phone call
1988
+ # connected to the agent to a third-party endpoint.
1989
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
1990
+ include Google::Apis::Core::Hashable
1991
+
1992
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
1993
+ # wiki/E.164).
1994
+ # Corresponds to the JSON property `phoneNumber`
1995
+ # @return [String]
1996
+ attr_accessor :phone_number
1997
+
1998
+ def initialize(**args)
1999
+ update!(**args)
2000
+ end
2001
+
2002
+ # Update properties of this object
2003
+ def update!(**args)
2004
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
2005
+ end
2006
+ end
2007
+
1973
2008
  # The text response message.
1974
2009
  class GoogleCloudDialogflowCxV3ResponseMessageText
1975
2010
  include Google::Apis::Core::Hashable
@@ -3909,7 +3944,7 @@ module Google
3909
3944
  include Google::Apis::Core::Hashable
3910
3945
 
3911
3946
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
3912
- # false. If set to ture, run once a day.
3947
+ # false. If set to true, run once a day.
3913
3948
  # Corresponds to the JSON property `enableContinuousRun`
3914
3949
  # @return [Boolean]
3915
3950
  attr_accessor :enable_continuous_run
@@ -6063,7 +6098,8 @@ module Google
6063
6098
  # @return [Float]
6064
6099
  attr_accessor :confidence
6065
6100
 
6066
- # The event that matched the query. Only filled for `EVENT` match type.
6101
+ # The event that matched the query. Filled for `EVENT`, `NO_MATCH` and `NO_INPUT`
6102
+ # match types.
6067
6103
  # Corresponds to the JSON property `event`
6068
6104
  # @return [String]
6069
6105
  attr_accessor :event
@@ -6385,6 +6421,12 @@ module Google
6385
6421
  # @return [String]
6386
6422
  attr_accessor :current_page
6387
6423
 
6424
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
6425
+ # name of the current page.
6426
+ # Corresponds to the JSON property `displayName`
6427
+ # @return [String]
6428
+ attr_accessor :display_name
6429
+
6388
6430
  # Represents form information.
6389
6431
  # Corresponds to the JSON property `formInfo`
6390
6432
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
@@ -6397,6 +6439,7 @@ module Google
6397
6439
  # Update properties of this object
6398
6440
  def update!(**args)
6399
6441
  @current_page = args[:current_page] if args.key?(:current_page)
6442
+ @display_name = args[:display_name] if args.key?(:display_name)
6400
6443
  @form_info = args[:form_info] if args.key?(:form_info)
6401
6444
  end
6402
6445
  end
@@ -6906,6 +6949,12 @@ module Google
6906
6949
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
6907
6950
  attr_accessor :play_audio
6908
6951
 
6952
+ # Represents the signal that telles the client to transfer the phone call
6953
+ # connected to the agent to a third-party endpoint.
6954
+ # Corresponds to the JSON property `telephonyTransferCall`
6955
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]
6956
+ attr_accessor :telephony_transfer_call
6957
+
6909
6958
  # The text response message.
6910
6959
  # Corresponds to the JSON property `text`
6911
6960
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
@@ -6924,6 +6973,7 @@ module Google
6924
6973
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
6925
6974
  @payload = args[:payload] if args.key?(:payload)
6926
6975
  @play_audio = args[:play_audio] if args.key?(:play_audio)
6976
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
6927
6977
  @text = args[:text] if args.key?(:text)
6928
6978
  end
6929
6979
  end
@@ -7116,6 +7166,27 @@ module Google
7116
7166
  end
7117
7167
  end
7118
7168
 
7169
+ # Represents the signal that telles the client to transfer the phone call
7170
+ # connected to the agent to a third-party endpoint.
7171
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
7172
+ include Google::Apis::Core::Hashable
7173
+
7174
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
7175
+ # wiki/E.164).
7176
+ # Corresponds to the JSON property `phoneNumber`
7177
+ # @return [String]
7178
+ attr_accessor :phone_number
7179
+
7180
+ def initialize(**args)
7181
+ update!(**args)
7182
+ end
7183
+
7184
+ # Update properties of this object
7185
+ def update!(**args)
7186
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
7187
+ end
7188
+ end
7189
+
7119
7190
  # The text response message.
7120
7191
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
7121
7192
  include Google::Apis::Core::Hashable
@@ -7391,7 +7462,10 @@ module Google
7391
7462
  include Google::Apis::Core::Hashable
7392
7463
 
7393
7464
  # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
7394
- # template to define de-identification configuration for the content. If empty,
7465
+ # template to define de-identification configuration for the content. The `DLP
7466
+ # De-identify Templates Reader` role is needed on the Dialogflow service
7467
+ # identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-
7468
+ # dialogflow.iam.gserviceaccount.com`) for your agent's project. If empty,
7395
7469
  # Dialogflow replaces sensitive info with `[redacted]` text. The template name
7396
7470
  # will have one of the following formats: `projects//locations//
7397
7471
  # deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
@@ -7408,17 +7482,19 @@ module Google
7408
7482
  attr_accessor :display_name
7409
7483
 
7410
7484
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
7411
- # dialogflow/priv/docs/insights).
7485
+ # contact-center/insights/docs).
7412
7486
  # Corresponds to the JSON property `insightsExportSettings`
7413
7487
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]
7414
7488
  attr_accessor :insights_export_settings
7415
7489
 
7416
7490
  # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
7417
- # template to define inspect base settings. If empty, we use the default DLP
7418
- # inspect config. The template name will have one of the following formats: `
7419
- # projects//locations//inspectTemplates/` OR `organizations//locations//
7420
- # inspectTemplates/` Note: `inspect_template` must be located in the same region
7421
- # as the `SecuritySettings`.
7491
+ # template to define inspect base settings. The `DLP Inspect Templates Reader`
7492
+ # role is needed on the Dialogflow service identity service account (has the
7493
+ # form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for
7494
+ # your agent's project. If empty, we use the default DLP inspect config. The
7495
+ # template name will have one of the following formats: `projects//locations//
7496
+ # inspectTemplates/` OR `organizations//locations//inspectTemplates/` Note: `
7497
+ # inspect_template` must be located in the same region as the `SecuritySettings`.
7422
7498
  # Corresponds to the JSON property `inspectTemplate`
7423
7499
  # @return [String]
7424
7500
  attr_accessor :inspect_template
@@ -7449,10 +7525,11 @@ module Google
7449
7525
 
7450
7526
  # Retains data in interaction logging for the specified number of days. This
7451
7527
  # does not apply to Cloud logging, which is owned by the user - not Dialogflow.
7452
- # User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
7453
- # higher than that has no effect. A missing value or setting to 0 also means we
7454
- # use Dialogflow's default TTL. Note: Interaction logging is a limited access
7455
- # feature. Talk to your Google representative to check availability for you.
7528
+ # User must set a value lower than Dialogflow's default 365d TTL. Setting a
7529
+ # value higher than that has no effect. A missing value or setting to 0 also
7530
+ # means we use Dialogflow's default TTL. Note: Interaction logging is a limited
7531
+ # access feature. Talk to your Google representative to check availability for
7532
+ # you.
7456
7533
  # Corresponds to the JSON property `retentionWindowDays`
7457
7534
  # @return [Fixnum]
7458
7535
  attr_accessor :retention_window_days
@@ -7476,7 +7553,7 @@ module Google
7476
7553
  end
7477
7554
 
7478
7555
  # Settings for exporting conversations to [Insights](https://cloud.google.com/
7479
- # dialogflow/priv/docs/insights).
7556
+ # contact-center/insights/docs).
7480
7557
  class GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
7481
7558
  include Google::Apis::Core::Hashable
7482
7559
 
@@ -8626,6 +8703,18 @@ module Google
8626
8703
  class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
8627
8704
  include Google::Apis::Core::Hashable
8628
8705
 
8706
+ # Optional. Specifies a list of allowed custom CA certificates (in DER format)
8707
+ # for HTTPS verification. This overrides the default SSL trust store. If this is
8708
+ # empty or unspecified, Dialogflow will use Google's default trust store to
8709
+ # verify certificates. N.B. Make sure the HTTPS server certificates are signed
8710
+ # with "subject alt name". For instance a certificate can be self-signed using
8711
+ # the following command, openssl x509 -req -days 200 -in example.com.csr \ -
8712
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
8713
+ # nsubjectAltName='DNS:www.example.com'")
8714
+ # Corresponds to the JSON property `allowedCaCerts`
8715
+ # @return [Array<String>]
8716
+ attr_accessor :allowed_ca_certs
8717
+
8629
8718
  # The password for HTTP Basic authentication.
8630
8719
  # Corresponds to the JSON property `password`
8631
8720
  # @return [String]
@@ -8653,6 +8742,7 @@ module Google
8653
8742
 
8654
8743
  # Update properties of this object
8655
8744
  def update!(**args)
8745
+ @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
8656
8746
  @password = args[:password] if args.key?(:password)
8657
8747
  @request_headers = args[:request_headers] if args.key?(:request_headers)
8658
8748
  @uri = args[:uri] if args.key?(:uri)
@@ -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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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::DialogflowV3beta1::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 DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.28.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
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class GoogleCloudDialogflowCxV3ResponseMessageText
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -1198,6 +1204,12 @@ module Google
1198
1204
  include Google::Apis::Core::JsonObjectSupport
1199
1205
  end
1200
1206
 
1207
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1201
1213
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
1202
1214
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1215
 
@@ -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
 
@@ -2835,6 +2865,7 @@ module Google
2835
2865
  # @private
2836
2866
  class Representation < Google::Apis::Core::JsonRepresentation
2837
2867
  property :current_page, as: 'currentPage'
2868
+ property :display_name, as: 'displayName'
2838
2869
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
2839
2870
 
2840
2871
  end
@@ -2900,6 +2931,8 @@ module Google
2900
2931
  hash :payload, as: 'payload'
2901
2932
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
2902
2933
 
2934
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
2935
+
2903
2936
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
2904
2937
 
2905
2938
  end
@@ -2959,6 +2992,13 @@ module Google
2959
2992
  end
2960
2993
  end
2961
2994
 
2995
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
2996
+ # @private
2997
+ class Representation < Google::Apis::Core::JsonRepresentation
2998
+ property :phone_number, as: 'phoneNumber'
2999
+ end
3000
+ end
3001
+
2962
3002
  class GoogleCloudDialogflowCxV3ResponseMessageText
2963
3003
  # @private
2964
3004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4193,6 +4233,7 @@ module Google
4193
4233
  # @private
4194
4234
  class Representation < Google::Apis::Core::JsonRepresentation
4195
4235
  property :current_page, as: 'currentPage'
4236
+ property :display_name, as: 'displayName'
4196
4237
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
4197
4238
 
4198
4239
  end
@@ -4313,6 +4354,8 @@ module Google
4313
4354
  hash :payload, as: 'payload'
4314
4355
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
4315
4356
 
4357
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
4358
+
4316
4359
  property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4317
4360
 
4318
4361
  end
@@ -4372,6 +4415,13 @@ module Google
4372
4415
  end
4373
4416
  end
4374
4417
 
4418
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
4419
+ # @private
4420
+ class Representation < Google::Apis::Core::JsonRepresentation
4421
+ property :phone_number, as: 'phoneNumber'
4422
+ end
4423
+ end
4424
+
4375
4425
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
4376
4426
  # @private
4377
4427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4803,6 +4853,7 @@ module Google
4803
4853
  class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
4804
4854
  # @private
4805
4855
  class Representation < Google::Apis::Core::JsonRepresentation
4856
+ collection :allowed_ca_certs, as: 'allowedCaCerts'
4806
4857
  property :password, as: 'password'
4807
4858
  hash :request_headers, as: 'requestHeaders'
4808
4859
  property :uri, as: 'uri'
@@ -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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
5503
5585
 
5586
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3beta1::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
@@ -2571,7 +2571,7 @@ module Google
2571
2571
  # @param [String] base_version
2572
2572
  # Required. Name of the base flow version to compare with the target version.
2573
2573
  # Use version ID `0` to indicate the draft version of the specified flow. Format:
2574
- # `projects//locations//agents//flows//versions/`.
2574
+ # `projects//locations//agents/ /flows//versions/`.
2575
2575
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsRequest] google_cloud_dialogflow_cx_v3beta1_compare_versions_request_object
2576
2576
  # @param [String] fields
2577
2577
  # 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_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.28.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_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.28.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: []
@@ -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 V3beta1