google-apis-dialogflow_v2 0.22.0 → 0.26.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: e0b969793db9e6b6ba6e603a0a48f471a898782b85c8bb990b7825796057bd32
4
- data.tar.gz: e6c2c66ad20c1bf892559a3109a08bfb9ddbdc633dc31ed2ac1c77f55ec085b8
3
+ metadata.gz: 1e2f7a2edb4cf44e98b6ed7976f000efaa939c417b3facaf0441cc43a749ba41
4
+ data.tar.gz: e75642a734d56da7501164838874daf5e5c2d453d340359350eab8402e273f32
5
5
  SHA512:
6
- metadata.gz: fa69536f3b96cb7b502372e1563e56a1eae7a10e7f00f11b143e18b27a23430a332b8012b53c3f042249316094a6778036a87cf59c9ce170c0bfa0bbcd33c510
7
- data.tar.gz: 2996bee333e85a9464add50b77e486b31e16349967e810179560b235a2c7878717f7a6eaec8fdedcc2fb1983a7ccec48d83d52afc528be3fb94ebf335c90b55f
6
+ metadata.gz: f02a6594278d6f1a96783de084ba38cbe0adc2bd1a43161f36deb57172844745a536dce4c9fb2fa55c0f30437c45c51ec11a70b635eded1d2395032b4dc5b903
7
+ data.tar.gz: a639f3a59737773894d2b39e475496baa6f2b28bb2be03f57bf951c5be4e4cc54afa732ced609dfe6f4a262fae1af9777badff2b8212320ea1c80a7c874eb221
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
7
+ ### v0.25.0 (2021-11-11)
8
+
9
+ * Regenerated from discovery document revision 20211105
10
+
11
+ ### v0.24.0 (2021-10-28)
12
+
13
+ * Regenerated from discovery document revision 20211022
14
+
15
+ ### v0.23.0 (2021-10-21)
16
+
17
+ * Regenerated from discovery document revision 20211015
18
+
3
19
  ### v0.22.0 (2021-09-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210918
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dialogflow service in particular.)
67
67
 
@@ -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
@@ -3183,7 +3211,7 @@ module Google
3183
3211
  include Google::Apis::Core::Hashable
3184
3212
 
3185
3213
  # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
3186
- # false. If set to ture, run once a day.
3214
+ # false. If set to true, run once a day.
3187
3215
  # Corresponds to the JSON property `enableContinuousRun`
3188
3216
  # @return [Boolean]
3189
3217
  attr_accessor :enable_continuous_run
@@ -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
@@ -5916,10 +6003,13 @@ module Google
5916
6003
  # Required. ID of the Dialogflow agent environment to use. This project needs to
5917
6004
  # either be the same project as the conversation or you need to grant `service-@
5918
6005
  # gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent`
5919
- # role in this project. Format: `projects//locations//agent/environments/`. If
5920
- # environment is not specified, the default `draft` environment is used. Refer
5921
- # to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.
5922
- # dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest) for more details.
6006
+ # role in this project. - For ES agents, use format: `projects//locations//agent/
6007
+ # environments/`. If environment is not specified, the default `draft`
6008
+ # environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/
6009
+ # rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
6010
+ # for more details. - For CX agents, use format `projects//locations//agents//
6011
+ # environments/`. If environment is not specified, the default `draft`
6012
+ # environment is used.
5923
6013
  # Corresponds to the JSON property `agent`
5924
6014
  # @return [String]
5925
6015
  attr_accessor :agent
@@ -6465,9 +6555,10 @@ module Google
6465
6555
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig]
6466
6556
  attr_accessor :human_agent_handoff_config
6467
6557
 
6468
- # Language which represents the conversationProfile. If unspecified, the default
6469
- # language code en-us applies. Users need to create a ConversationProfile for
6470
- # each language they want to support.
6558
+ # Language code for the conversation profile. If not specified, the language is
6559
+ # en-US. Language at ConversationProfile should be set for all non en-US
6560
+ # languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.
6561
+ # txt) language tag. Example: "en-US".
6471
6562
  # Corresponds to the JSON property `languageCode`
6472
6563
  # @return [String]
6473
6564
  attr_accessor :language_code
@@ -6493,11 +6584,24 @@ module Google
6493
6584
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig]
6494
6585
  attr_accessor :notification_config
6495
6586
 
6587
+ # Name of the CX SecuritySettings reference for the agent. Format: `projects//
6588
+ # locations//securitySettings/`.
6589
+ # Corresponds to the JSON property `securitySettings`
6590
+ # @return [String]
6591
+ attr_accessor :security_settings
6592
+
6496
6593
  # Configures speech transcription for ConversationProfile.
6497
6594
  # Corresponds to the JSON property `sttConfig`
6498
6595
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig]
6499
6596
  attr_accessor :stt_config
6500
6597
 
6598
+ # The time zone of this conversational profile from the [time zone database](
6599
+ # https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
6600
+ # Defaults to America/New_York.
6601
+ # Corresponds to the JSON property `timeZone`
6602
+ # @return [String]
6603
+ attr_accessor :time_zone
6604
+
6501
6605
  # Output only. Update time of the conversation profile.
6502
6606
  # Corresponds to the JSON property `updateTime`
6503
6607
  # @return [String]
@@ -6519,7 +6623,9 @@ module Google
6519
6623
  @name = args[:name] if args.key?(:name)
6520
6624
  @new_message_event_notification_config = args[:new_message_event_notification_config] if args.key?(:new_message_event_notification_config)
6521
6625
  @notification_config = args[:notification_config] if args.key?(:notification_config)
6626
+ @security_settings = args[:security_settings] if args.key?(:security_settings)
6522
6627
  @stt_config = args[:stt_config] if args.key?(:stt_config)
6628
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
6523
6629
  @update_time = args[:update_time] if args.key?(:update_time)
6524
6630
  end
6525
6631
  end
@@ -7504,7 +7610,8 @@ module Google
7504
7610
  # custom model, there is no recommended value. Tune this value by starting from
7505
7611
  # a very low value and slowly increasing until you have desired results. If this
7506
7612
  # field is not set, it defaults to 0.0, which means that all suggestions are
7507
- # returned. Supported features: ARTICLE_SUGGESTION.
7613
+ # returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY,
7614
+ # SMART_COMPOSE.
7508
7615
  # Corresponds to the JSON property `confidenceThreshold`
7509
7616
  # @return [Float]
7510
7617
  attr_accessor :confidence_threshold
@@ -9857,6 +9964,18 @@ module Google
9857
9964
  class GoogleCloudDialogflowV2Participant
9858
9965
  include Google::Apis::Core::Hashable
9859
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
+
9860
9979
  # Optional. The unique identifier of this participant. Format: `projects//
9861
9980
  # locations//conversations//participants/`.
9862
9981
  # Corresponds to the JSON property `name`
@@ -9882,6 +10001,7 @@ module Google
9882
10001
 
9883
10002
  # Update properties of this object
9884
10003
  def update!(**args)
10004
+ @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
9885
10005
  @name = args[:name] if args.key?(:name)
9886
10006
  @role = args[:role] if args.key?(:role)
9887
10007
  @sip_recording_media_label = args[:sip_recording_media_label] if args.key?(:sip_recording_media_label)
@@ -10422,6 +10542,11 @@ module Google
10422
10542
  class GoogleCloudDialogflowV2SuggestArticlesRequest
10423
10543
  include Google::Apis::Core::Hashable
10424
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
+
10425
10550
  # Max number of messages prior to and including latest_message to use as context
10426
10551
  # when compiling the suggestion. By default 20 and at most 50.
10427
10552
  # Corresponds to the JSON property `contextSize`
@@ -10441,6 +10566,7 @@ module Google
10441
10566
 
10442
10567
  # Update properties of this object
10443
10568
  def update!(**args)
10569
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
10444
10570
  @context_size = args[:context_size] if args.key?(:context_size)
10445
10571
  @latest_message = args[:latest_message] if args.key?(:latest_message)
10446
10572
  end
@@ -10484,6 +10610,11 @@ module Google
10484
10610
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
10485
10611
  include Google::Apis::Core::Hashable
10486
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
+
10487
10618
  # Max number of messages prior to and including [latest_message] to use as
10488
10619
  # context when compiling the suggestion. By default 20 and at most 50.
10489
10620
  # Corresponds to the JSON property `contextSize`
@@ -10503,6 +10634,7 @@ module Google
10503
10634
 
10504
10635
  # Update properties of this object
10505
10636
  def update!(**args)
10637
+ @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
10506
10638
  @context_size = args[:context_size] if args.key?(:context_size)
10507
10639
  @latest_message = args[:latest_message] if args.key?(:latest_message)
10508
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.22.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 = "20210918"
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
@@ -4179,8 +4224,10 @@ module Google
4179
4224
 
4180
4225
  property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
4181
4226
 
4227
+ property :security_settings, as: 'securitySettings'
4182
4228
  property :stt_config, as: 'sttConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig::Representation
4183
4229
 
4230
+ property :time_zone, as: 'timeZone'
4184
4231
  property :update_time, as: 'updateTime'
4185
4232
  end
4186
4233
  end
@@ -5115,6 +5162,7 @@ module Google
5115
5162
  class GoogleCloudDialogflowV2Participant
5116
5163
  # @private
5117
5164
  class Representation < Google::Apis::Core::JsonRepresentation
5165
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
5118
5166
  property :name, as: 'name'
5119
5167
  property :role, as: 'role'
5120
5168
  property :sip_recording_media_label, as: 'sipRecordingMediaLabel'
@@ -5252,6 +5300,8 @@ module Google
5252
5300
  class GoogleCloudDialogflowV2SuggestArticlesRequest
5253
5301
  # @private
5254
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
+
5255
5305
  property :context_size, as: 'contextSize'
5256
5306
  property :latest_message, as: 'latestMessage'
5257
5307
  end
@@ -5270,6 +5320,8 @@ module Google
5270
5320
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
5271
5321
  # @private
5272
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
+
5273
5325
  property :context_size, as: 'contextSize'
5274
5326
  property :latest_message, as: 'latestMessage'
5275
5327
  end
@@ -1200,9 +1200,12 @@ module Google
1200
1200
  # Processes a natural language query and returns structured, actionable data as
1201
1201
  # a result. This method is not idempotent, because it may cause contexts and
1202
1202
  # session entity types to be updated, which in turn might affect results of
1203
- # future queries. Note: Always use agent versions for production traffic. See [
1204
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
1205
- # versions).
1203
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
1204
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
1205
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
1206
+ # additional functionality for Agent Assist and other CCAI products. Note:
1207
+ # Always use agent versions for production traffic. See [Versions and
1208
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
1206
1209
  # @param [String] session
1207
1210
  # Required. The name of the session this query is sent to. Format: `projects//
1208
1211
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
@@ -2364,9 +2367,12 @@ module Google
2364
2367
  # Processes a natural language query and returns structured, actionable data as
2365
2368
  # a result. This method is not idempotent, because it may cause contexts and
2366
2369
  # session entity types to be updated, which in turn might affect results of
2367
- # future queries. Note: Always use agent versions for production traffic. See [
2368
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
2369
- # versions).
2370
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
2371
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
2372
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
2373
+ # additional functionality for Agent Assist and other CCAI products. Note:
2374
+ # Always use agent versions for production traffic. See [Versions and
2375
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
2370
2376
  # @param [String] session
2371
2377
  # Required. The name of the session this query is sent to. Format: `projects//
2372
2378
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
@@ -5312,9 +5318,12 @@ module Google
5312
5318
  # Processes a natural language query and returns structured, actionable data as
5313
5319
  # a result. This method is not idempotent, because it may cause contexts and
5314
5320
  # session entity types to be updated, which in turn might affect results of
5315
- # future queries. Note: Always use agent versions for production traffic. See [
5316
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
5317
- # versions).
5321
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
5322
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
5323
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
5324
+ # additional functionality for Agent Assist and other CCAI products. Note:
5325
+ # Always use agent versions for production traffic. See [Versions and
5326
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
5318
5327
  # @param [String] session
5319
5328
  # Required. The name of the session this query is sent to. Format: `projects//
5320
5329
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
@@ -6074,9 +6083,12 @@ module Google
6074
6083
  # Processes a natural language query and returns structured, actionable data as
6075
6084
  # a result. This method is not idempotent, because it may cause contexts and
6076
6085
  # session entity types to be updated, which in turn might affect results of
6077
- # future queries. Note: Always use agent versions for production traffic. See [
6078
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
6079
- # versions).
6086
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
6087
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
6088
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
6089
+ # additional functionality for Agent Assist and other CCAI products. Note:
6090
+ # Always use agent versions for production traffic. See [Versions and
6091
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
6080
6092
  # @param [String] session
6081
6093
  # Required. The name of the session this query is sent to. Format: `projects//
6082
6094
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
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.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-09-27 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
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.22.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
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.26.0
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: []
65
65
  require_paths: