google-apis-dialogflow_v2 0.25.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: 5556c2b0406910bc328d73b7a9899aabc5bced8f7164621831cb8a565e3409f1
4
- data.tar.gz: cab4a40bd29bbcfbeb70bd92ebe5f2436d7fca0b3ac2b9906c189c3937f5e946
3
+ metadata.gz: 1e2f7a2edb4cf44e98b6ed7976f000efaa939c417b3facaf0441cc43a749ba41
4
+ data.tar.gz: e75642a734d56da7501164838874daf5e5c2d453d340359350eab8402e273f32
5
5
  SHA512:
6
- metadata.gz: 68e2d56d988940f7e4b898f13d3f927691938af1e647af8c225cfcbde447127733ab82ca737f43b5299bae00cd43b0896e2cd20481514d591714ec9641d0c398
7
- data.tar.gz: 84e1f4eb2ef0937b5577d84f01c5ca309a57a8bcb2cc1b96cfeb369dc0fb922a4858ab2d4886f7673e6f1992093cc7062df294924acae49eb37f9b3721cecfc1
6
+ metadata.gz: f02a6594278d6f1a96783de084ba38cbe0adc2bd1a43161f36deb57172844745a536dce4c9fb2fa55c0f30437c45c51ec11a70b635eded1d2395032b4dc5b903
7
+ data.tar.gz: a639f3a59737773894d2b39e475496baa6f2b28bb2be03f57bf951c5be4e4cc54afa732ced609dfe6f4a262fae1af9777badff2b8212320ea1c80a7c874eb221
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.26.0 (2021-12-04)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
3
7
  ### v0.25.0 (2021-11-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20211105
@@ -1760,6 +1760,12 @@ module Google
1760
1760
  # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
@@ -5614,6 +5670,11 @@ module Google
5614
5670
  class GoogleCloudDialogflowV2AnalyzeContentRequest
5615
5671
  include Google::Apis::Core::Hashable
5616
5672
 
5673
+ # Represents the parameters of human assist query.
5674
+ # Corresponds to the JSON property `assistQueryParams`
5675
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters]
5676
+ attr_accessor :assist_query_params
5677
+
5617
5678
  # Events allow for matching intents by event name instead of the natural
5618
5679
  # language input. For instance, input `` can trigger a personalized welcome
5619
5680
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -5652,6 +5713,7 @@ module Google
5652
5713
 
5653
5714
  # Update properties of this object
5654
5715
  def update!(**args)
5716
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
5655
5717
  @event_input = args[:event_input] if args.key?(:event_input)
5656
5718
  @query_params = args[:query_params] if args.key?(:query_params)
5657
5719
  @reply_audio_config = args[:reply_audio_config] if args.key?(:reply_audio_config)
@@ -5909,6 +5971,31 @@ module Google
5909
5971
  end
5910
5972
  end
5911
5973
 
5974
+ # Represents the parameters of human assist query.
5975
+ class GoogleCloudDialogflowV2AssistQueryParameters
5976
+ include Google::Apis::Core::Hashable
5977
+
5978
+ # Key-value filters on the metadata of documents returned by article suggestion.
5979
+ # If specified, article suggestion only returns suggested documents that match
5980
+ # all filters in their Document.metadata. Multiple values for a metadata key
5981
+ # should be concatenated by comma. For example, filters to match all documents
5982
+ # that have 'US' or 'CA' in their market metadata values and 'agent' in their
5983
+ # user metadata values will be ``` documents_metadata_filters ` key: "market"
5984
+ # value: "US,CA" ` documents_metadata_filters ` key: "user" value: "agent" ` ```
5985
+ # Corresponds to the JSON property `documentsMetadataFilters`
5986
+ # @return [Hash<String,String>]
5987
+ attr_accessor :documents_metadata_filters
5988
+
5989
+ def initialize(**args)
5990
+ update!(**args)
5991
+ end
5992
+
5993
+ # Update properties of this object
5994
+ def update!(**args)
5995
+ @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
5996
+ end
5997
+ end
5998
+
5912
5999
  # Defines the Automated Agent to connect to a conversation.
5913
6000
  class GoogleCloudDialogflowV2AutomatedAgentConfig
5914
6001
  include Google::Apis::Core::Hashable
@@ -9877,6 +9964,18 @@ module Google
9877
9964
  class GoogleCloudDialogflowV2Participant
9878
9965
  include Google::Apis::Core::Hashable
9879
9966
 
9967
+ # Optional. Key-value filters on the metadata of documents returned by article
9968
+ # suggestion. If specified, article suggestion only returns suggested documents
9969
+ # that match all filters in their Document.metadata. Multiple values for a
9970
+ # metadata key should be concatenated by comma. For example, filters to match
9971
+ # all documents that have 'US' or 'CA' in their market metadata values and '
9972
+ # agent' in their user metadata values will be ``` documents_metadata_filters `
9973
+ # key: "market" value: "US,CA" ` documents_metadata_filters ` key: "user" value:
9974
+ # "agent" ` ```
9975
+ # Corresponds to the JSON property `documentsMetadataFilters`
9976
+ # @return [Hash<String,String>]
9977
+ attr_accessor :documents_metadata_filters
9978
+
9880
9979
  # Optional. The unique identifier of this participant. Format: `projects//
9881
9980
  # locations//conversations//participants/`.
9882
9981
  # Corresponds to the JSON property `name`
@@ -9902,6 +10001,7 @@ module Google
9902
10001
 
9903
10002
  # Update properties of this object
9904
10003
  def update!(**args)
10004
+ @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
9905
10005
  @name = args[:name] if args.key?(:name)
9906
10006
  @role = args[:role] if args.key?(:role)
9907
10007
  @sip_recording_media_label = args[:sip_recording_media_label] if args.key?(:sip_recording_media_label)
@@ -10442,6 +10542,11 @@ module Google
10442
10542
  class GoogleCloudDialogflowV2SuggestArticlesRequest
10443
10543
  include Google::Apis::Core::Hashable
10444
10544
 
10545
+ # Represents the parameters of human assist query.
10546
+ # Corresponds to the JSON property `assistQueryParams`
10547
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters]
10548
+ attr_accessor :assist_query_params
10549
+
10445
10550
  # Max number of messages prior to and including latest_message to use as context
10446
10551
  # when compiling the suggestion. By default 20 and at most 50.
10447
10552
  # Corresponds to the JSON property `contextSize`
@@ -10461,6 +10566,7 @@ module Google
10461
10566
 
10462
10567
  # Update properties of this object
10463
10568
  def update!(**args)
10569
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
10464
10570
  @context_size = args[:context_size] if args.key?(:context_size)
10465
10571
  @latest_message = args[:latest_message] if args.key?(:latest_message)
10466
10572
  end
@@ -10504,6 +10610,11 @@ module Google
10504
10610
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
10505
10611
  include Google::Apis::Core::Hashable
10506
10612
 
10613
+ # Represents the parameters of human assist query.
10614
+ # Corresponds to the JSON property `assistQueryParams`
10615
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters]
10616
+ attr_accessor :assist_query_params
10617
+
10507
10618
  # Max number of messages prior to and including [latest_message] to use as
10508
10619
  # context when compiling the suggestion. By default 20 and at most 50.
10509
10620
  # Corresponds to the JSON property `contextSize`
@@ -10523,6 +10634,7 @@ module Google
10523
10634
 
10524
10635
  # Update properties of this object
10525
10636
  def update!(**args)
10637
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
10526
10638
  @context_size = args[:context_size] if args.key?(:context_size)
10527
10639
  @latest_message = args[:latest_message] if args.key?(:latest_message)
10528
10640
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.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 = "20211105"
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
 
@@ -1012,6 +1024,12 @@ module Google
1012
1024
  include Google::Apis::Core::JsonObjectSupport
1013
1025
  end
1014
1026
 
1027
+ class GoogleCloudDialogflowV2AssistQueryParameters
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
1015
1033
  class GoogleCloudDialogflowV2AutomatedAgentConfig
1016
1034
  class Representation < Google::Apis::Core::JsonRepresentation; end
1017
1035
 
@@ -2858,6 +2876,8 @@ module Google
2858
2876
  hash :payload, as: 'payload'
2859
2877
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
2860
2878
 
2879
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
2880
+
2861
2881
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
2862
2882
 
2863
2883
  end
@@ -2917,6 +2937,13 @@ module Google
2917
2937
  end
2918
2938
  end
2919
2939
 
2940
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
2941
+ # @private
2942
+ class Representation < Google::Apis::Core::JsonRepresentation
2943
+ property :phone_number, as: 'phoneNumber'
2944
+ end
2945
+ end
2946
+
2920
2947
  class GoogleCloudDialogflowCxV3ResponseMessageText
2921
2948
  # @private
2922
2949
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3617,6 +3644,8 @@ module Google
3617
3644
  hash :payload, as: 'payload'
3618
3645
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
3619
3646
 
3647
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
3648
+
3620
3649
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
3621
3650
 
3622
3651
  end
@@ -3676,6 +3705,13 @@ module Google
3676
3705
  end
3677
3706
  end
3678
3707
 
3708
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
3709
+ # @private
3710
+ class Representation < Google::Apis::Core::JsonRepresentation
3711
+ property :phone_number, as: 'phoneNumber'
3712
+ end
3713
+ end
3714
+
3679
3715
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
3680
3716
  # @private
3681
3717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3938,6 +3974,8 @@ module Google
3938
3974
  class GoogleCloudDialogflowV2AnalyzeContentRequest
3939
3975
  # @private
3940
3976
  class Representation < Google::Apis::Core::JsonRepresentation
3977
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
3978
+
3941
3979
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput::Representation
3942
3980
 
3943
3981
  property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters::Representation
@@ -4014,6 +4052,13 @@ module Google
4014
4052
  end
4015
4053
  end
4016
4054
 
4055
+ class GoogleCloudDialogflowV2AssistQueryParameters
4056
+ # @private
4057
+ class Representation < Google::Apis::Core::JsonRepresentation
4058
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
4059
+ end
4060
+ end
4061
+
4017
4062
  class GoogleCloudDialogflowV2AutomatedAgentConfig
4018
4063
  # @private
4019
4064
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5117,6 +5162,7 @@ module Google
5117
5162
  class GoogleCloudDialogflowV2Participant
5118
5163
  # @private
5119
5164
  class Representation < Google::Apis::Core::JsonRepresentation
5165
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
5120
5166
  property :name, as: 'name'
5121
5167
  property :role, as: 'role'
5122
5168
  property :sip_recording_media_label, as: 'sipRecordingMediaLabel'
@@ -5254,6 +5300,8 @@ module Google
5254
5300
  class GoogleCloudDialogflowV2SuggestArticlesRequest
5255
5301
  # @private
5256
5302
  class Representation < Google::Apis::Core::JsonRepresentation
5303
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
5304
+
5257
5305
  property :context_size, as: 'contextSize'
5258
5306
  property :latest_message, as: 'latestMessage'
5259
5307
  end
@@ -5272,6 +5320,8 @@ module Google
5272
5320
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
5273
5321
  # @private
5274
5322
  class Representation < Google::Apis::Core::JsonRepresentation
5323
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
5324
+
5275
5325
  property :context_size, as: 'contextSize'
5276
5326
  property :latest_message, as: 'latestMessage'
5277
5327
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.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-11-15 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []