google-apis-dialogflow_v2beta1 0.23.0 → 0.24.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: e862dcb1cc408f71feca448745bc95d16323ae9ee6000f49c0883ff2074dd4d6
4
- data.tar.gz: 201d4fca607640e188e069edf063e4e7b4f0554a304c9ef9968b1f5c7beac32d
3
+ metadata.gz: 17f17433c1a203e5888b913c660699f61dd6e83ac34709ea4a443d1e408df690
4
+ data.tar.gz: 92b6062e79b03134f85c2d33d67ec9ac55a7ba119aff69d9986016b2abc47aed
5
5
  SHA512:
6
- metadata.gz: ab2308ae4779b74f661c44f05533358fa19307ca8c183fde51f8c0372ea0e103a4fb5c90862329e37335f2f2bbcc050fc9577c70e311156d43a516c81e9adb9f
7
- data.tar.gz: 1a6be3682b3ade071a7acb60d1894ecce27d44bfcecaaac517c106b65f0b798fb7e401c35a8a5b88381483d9db6137da8bd2e078c5196e6bf077e9317d5b6d62
6
+ metadata.gz: 9a6d099cd69cbf8f7772c2889f585d6b60e68c9597489b9110eac7b8187e56d1d81dc44bfa968336552f32d54e8de02279f46f059e998a04893a24f502aaaabb
7
+ data.tar.gz: 62f1e8eef778f75b66de013ff680b06ffcd287c1ad1a15b4f496b7e46c342d44a40b46d55a562d68f65574aed1332ba1b0530de3b302519a8b4bc7c80ae55027
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.24.0 (2021-12-04)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
3
7
  ### v0.23.0 (2021-10-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20211022
@@ -1760,6 +1760,12 @@ module Google
1760
1760
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
1761
1761
  attr_accessor :play_audio
1762
1762
 
1763
+ # Represents the signal that telles the client to transfer the phone call
1764
+ # connected to the agent to a third-party endpoint.
1765
+ # Corresponds to the JSON property `telephonyTransferCall`
1766
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]
1767
+ attr_accessor :telephony_transfer_call
1768
+
1763
1769
  # The text response message.
1764
1770
  # Corresponds to the JSON property `text`
1765
1771
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
@@ -1778,6 +1784,7 @@ module Google
1778
1784
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
1779
1785
  @payload = args[:payload] if args.key?(:payload)
1780
1786
  @play_audio = args[:play_audio] if args.key?(:play_audio)
1787
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
1781
1788
  @text = args[:text] if args.key?(:text)
1782
1789
  end
1783
1790
  end
@@ -1970,6 +1977,27 @@ module Google
1970
1977
  end
1971
1978
  end
1972
1979
 
1980
+ # Represents the signal that telles the client to transfer the phone call
1981
+ # connected to the agent to a third-party endpoint.
1982
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
1983
+ include Google::Apis::Core::Hashable
1984
+
1985
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
1986
+ # wiki/E.164).
1987
+ # Corresponds to the JSON property `phoneNumber`
1988
+ # @return [String]
1989
+ attr_accessor :phone_number
1990
+
1991
+ def initialize(**args)
1992
+ update!(**args)
1993
+ end
1994
+
1995
+ # Update properties of this object
1996
+ def update!(**args)
1997
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1998
+ end
1999
+ end
2000
+
1973
2001
  # The text response message.
1974
2002
  class GoogleCloudDialogflowCxV3ResponseMessageText
1975
2003
  include Google::Apis::Core::Hashable
@@ -4467,6 +4495,12 @@ module Google
4467
4495
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
4468
4496
  attr_accessor :play_audio
4469
4497
 
4498
+ # Represents the signal that telles the client to transfer the phone call
4499
+ # connected to the agent to a third-party endpoint.
4500
+ # Corresponds to the JSON property `telephonyTransferCall`
4501
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]
4502
+ attr_accessor :telephony_transfer_call
4503
+
4470
4504
  # The text response message.
4471
4505
  # Corresponds to the JSON property `text`
4472
4506
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
@@ -4485,6 +4519,7 @@ module Google
4485
4519
  @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
4486
4520
  @payload = args[:payload] if args.key?(:payload)
4487
4521
  @play_audio = args[:play_audio] if args.key?(:play_audio)
4522
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
4488
4523
  @text = args[:text] if args.key?(:text)
4489
4524
  end
4490
4525
  end
@@ -4677,6 +4712,27 @@ module Google
4677
4712
  end
4678
4713
  end
4679
4714
 
4715
+ # Represents the signal that telles the client to transfer the phone call
4716
+ # connected to the agent to a third-party endpoint.
4717
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
4718
+ include Google::Apis::Core::Hashable
4719
+
4720
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
4721
+ # wiki/E.164).
4722
+ # Corresponds to the JSON property `phoneNumber`
4723
+ # @return [String]
4724
+ attr_accessor :phone_number
4725
+
4726
+ def initialize(**args)
4727
+ update!(**args)
4728
+ end
4729
+
4730
+ # Update properties of this object
4731
+ def update!(**args)
4732
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
4733
+ end
4734
+ end
4735
+
4680
4736
  # The text response message.
4681
4737
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
4682
4738
  include Google::Apis::Core::Hashable
@@ -8024,6 +8080,11 @@ module Google
8024
8080
  class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
8025
8081
  include Google::Apis::Core::Hashable
8026
8082
 
8083
+ # Represents the parameters of human assist query.
8084
+ # Corresponds to the JSON property `assistQueryParams`
8085
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
8086
+ attr_accessor :assist_query_params
8087
+
8027
8088
  # Events allow for matching intents by event name instead of the natural
8028
8089
  # language input. For instance, input `` can trigger a personalized welcome
8029
8090
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -8075,6 +8136,7 @@ module Google
8075
8136
 
8076
8137
  # Update properties of this object
8077
8138
  def update!(**args)
8139
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
8078
8140
  @event_input = args[:event_input] if args.key?(:event_input)
8079
8141
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
8080
8142
  @query_params = args[:query_params] if args.key?(:query_params)
@@ -8325,6 +8387,31 @@ module Google
8325
8387
  end
8326
8388
  end
8327
8389
 
8390
+ # Represents the parameters of human assist query.
8391
+ class GoogleCloudDialogflowV2beta1AssistQueryParameters
8392
+ include Google::Apis::Core::Hashable
8393
+
8394
+ # Key-value filters on the metadata of documents returned by article suggestion.
8395
+ # If specified, article suggestion only returns suggested documents that match
8396
+ # all filters in their Document.metadata. Multiple values for a metadata key
8397
+ # should be concatenated by comma. For example, filters to match all documents
8398
+ # that have 'US' or 'CA' in their market metadata values and 'agent' in their
8399
+ # user metadata values will be ``` documents_metadata_filters ` key: "market"
8400
+ # value: "US,CA" ` documents_metadata_filters ` key: "user" value: "agent" ` ```
8401
+ # Corresponds to the JSON property `documentsMetadataFilters`
8402
+ # @return [Hash<String,String>]
8403
+ attr_accessor :documents_metadata_filters
8404
+
8405
+ def initialize(**args)
8406
+ update!(**args)
8407
+ end
8408
+
8409
+ # Update properties of this object
8410
+ def update!(**args)
8411
+ @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
8412
+ end
8413
+ end
8414
+
8328
8415
  # Defines the Automated Agent to connect to a conversation.
8329
8416
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
8330
8417
  include Google::Apis::Core::Hashable
@@ -13213,6 +13300,18 @@ module Google
13213
13300
  class GoogleCloudDialogflowV2beta1Participant
13214
13301
  include Google::Apis::Core::Hashable
13215
13302
 
13303
+ # Optional. Key-value filters on the metadata of documents returned by article
13304
+ # suggestion. If specified, article suggestion only returns suggested documents
13305
+ # that match all filters in their Document.metadata. Multiple values for a
13306
+ # metadata key should be concatenated by comma. For example, filters to match
13307
+ # all documents that have 'US' or 'CA' in their market metadata values and '
13308
+ # agent' in their user metadata values will be ``` documents_metadata_filters `
13309
+ # key: "market" value: "US,CA" ` documents_metadata_filters ` key: "user" value:
13310
+ # "agent" ` ```
13311
+ # Corresponds to the JSON property `documentsMetadataFilters`
13312
+ # @return [Hash<String,String>]
13313
+ attr_accessor :documents_metadata_filters
13314
+
13216
13315
  # Optional. The unique identifier of this participant. Format: `projects//
13217
13316
  # locations//conversations//participants/`.
13218
13317
  # Corresponds to the JSON property `name`
@@ -13249,6 +13348,7 @@ module Google
13249
13348
 
13250
13349
  # Update properties of this object
13251
13350
  def update!(**args)
13351
+ @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
13252
13352
  @name = args[:name] if args.key?(:name)
13253
13353
  @obfuscated_external_user_id = args[:obfuscated_external_user_id] if args.key?(:obfuscated_external_user_id)
13254
13354
  @role = args[:role] if args.key?(:role)
@@ -14024,6 +14124,11 @@ module Google
14024
14124
  class GoogleCloudDialogflowV2beta1SuggestArticlesRequest
14025
14125
  include Google::Apis::Core::Hashable
14026
14126
 
14127
+ # Represents the parameters of human assist query.
14128
+ # Corresponds to the JSON property `assistQueryParams`
14129
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
14130
+ attr_accessor :assist_query_params
14131
+
14027
14132
  # Optional. Max number of messages prior to and including latest_message to use
14028
14133
  # as context when compiling the suggestion. By default 20 and at most 50.
14029
14134
  # Corresponds to the JSON property `contextSize`
@@ -14043,6 +14148,7 @@ module Google
14043
14148
 
14044
14149
  # Update properties of this object
14045
14150
  def update!(**args)
14151
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
14046
14152
  @context_size = args[:context_size] if args.key?(:context_size)
14047
14153
  @latest_message = args[:latest_message] if args.key?(:latest_message)
14048
14154
  end
@@ -14086,6 +14192,11 @@ module Google
14086
14192
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
14087
14193
  include Google::Apis::Core::Hashable
14088
14194
 
14195
+ # Represents the parameters of human assist query.
14196
+ # Corresponds to the JSON property `assistQueryParams`
14197
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
14198
+ attr_accessor :assist_query_params
14199
+
14089
14200
  # Optional. Max number of messages prior to and including [latest_message] to
14090
14201
  # use as context when compiling the suggestion. By default 20 and at most 50.
14091
14202
  # Corresponds to the JSON property `contextSize`
@@ -14105,6 +14216,7 @@ module Google
14105
14216
 
14106
14217
  # Update properties of this object
14107
14218
  def update!(**args)
14219
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
14108
14220
  @context_size = args[:context_size] if args.key?(:context_size)
14109
14221
  @latest_message = args[:latest_message] if args.key?(:latest_message)
14110
14222
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211022"
25
+ REVISION = "20211201"
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
 
@@ -826,6 +832,12 @@ module Google
826
832
  include Google::Apis::Core::JsonObjectSupport
827
833
  end
828
834
 
835
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
829
841
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
830
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
843
 
@@ -1366,6 +1378,12 @@ module Google
1366
1378
  include Google::Apis::Core::JsonObjectSupport
1367
1379
  end
1368
1380
 
1381
+ class GoogleCloudDialogflowV2beta1AssistQueryParameters
1382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1383
+
1384
+ include Google::Apis::Core::JsonObjectSupport
1385
+ end
1386
+
1369
1387
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
1370
1388
  class Representation < Google::Apis::Core::JsonRepresentation; end
1371
1389
 
@@ -2990,6 +3008,8 @@ module Google
2990
3008
  hash :payload, as: 'payload'
2991
3009
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
2992
3010
 
3011
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
3012
+
2993
3013
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
2994
3014
 
2995
3015
  end
@@ -3049,6 +3069,13 @@ module Google
3049
3069
  end
3050
3070
  end
3051
3071
 
3072
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
3073
+ # @private
3074
+ class Representation < Google::Apis::Core::JsonRepresentation
3075
+ property :phone_number, as: 'phoneNumber'
3076
+ end
3077
+ end
3078
+
3052
3079
  class GoogleCloudDialogflowCxV3ResponseMessageText
3053
3080
  # @private
3054
3081
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3749,6 +3776,8 @@ module Google
3749
3776
  hash :payload, as: 'payload'
3750
3777
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
3751
3778
 
3779
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
3780
+
3752
3781
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
3753
3782
 
3754
3783
  end
@@ -3808,6 +3837,13 @@ module Google
3808
3837
  end
3809
3838
  end
3810
3839
 
3840
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
3841
+ # @private
3842
+ class Representation < Google::Apis::Core::JsonRepresentation
3843
+ property :phone_number, as: 'phoneNumber'
3844
+ end
3845
+ end
3846
+
3811
3847
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
3812
3848
  # @private
3813
3849
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4712,6 +4748,8 @@ module Google
4712
4748
  class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
4713
4749
  # @private
4714
4750
  class Representation < Google::Apis::Core::JsonRepresentation
4751
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
4752
+
4715
4753
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
4716
4754
 
4717
4755
  property :message_send_time, as: 'messageSendTime'
@@ -4788,6 +4826,13 @@ module Google
4788
4826
  end
4789
4827
  end
4790
4828
 
4829
+ class GoogleCloudDialogflowV2beta1AssistQueryParameters
4830
+ # @private
4831
+ class Representation < Google::Apis::Core::JsonRepresentation
4832
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
4833
+ end
4834
+ end
4835
+
4791
4836
  class GoogleCloudDialogflowV2beta1AutomatedAgentConfig
4792
4837
  # @private
4793
4838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6153,6 +6198,7 @@ module Google
6153
6198
  class GoogleCloudDialogflowV2beta1Participant
6154
6199
  # @private
6155
6200
  class Representation < Google::Apis::Core::JsonRepresentation
6201
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
6156
6202
  property :name, as: 'name'
6157
6203
  property :obfuscated_external_user_id, as: 'obfuscatedExternalUserId'
6158
6204
  property :role, as: 'role'
@@ -6359,6 +6405,8 @@ module Google
6359
6405
  class GoogleCloudDialogflowV2beta1SuggestArticlesRequest
6360
6406
  # @private
6361
6407
  class Representation < Google::Apis::Core::JsonRepresentation
6408
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
6409
+
6362
6410
  property :context_size, as: 'contextSize'
6363
6411
  property :latest_message, as: 'latestMessage'
6364
6412
  end
@@ -6377,6 +6425,8 @@ module Google
6377
6425
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
6378
6426
  # @private
6379
6427
  class Representation < Google::Apis::Core::JsonRepresentation
6428
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
6429
+
6380
6430
  property :context_size, as: 'contextSize'
6381
6431
  property :latest_message, as: 'latestMessage'
6382
6432
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.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-11-01 00:00:00.000000000 Z
11
+ date: 2021-12-06 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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []