google-apis-dialogflow_v3beta1 0.84.0 → 0.85.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: 41770737a53560463941a89ea831d0856dcb05b37f0a9b9046d5827482844f7d
4
- data.tar.gz: badcf8a37dfc9b8df15cb61af256bf6979eb350b1582488d90f681684938ae8b
3
+ metadata.gz: 6b3831ab72f767e519c495c304caa6ca83d0e38aa62d1ca4e9b952920c2e77fa
4
+ data.tar.gz: 411962c3d9516a8d7455af742ba9b76185c2da644688dba252b4fe13c1453e45
5
5
  SHA512:
6
- metadata.gz: cca0e20d5199ad5b8ad9807aa6488c70e9063ba9d204ee49e2c0155ea0e6628210c13664f4456b3943832f037c454cc23de2d01d97bb0e01abed21725c6aabd5
7
- data.tar.gz: a9d23538dd9bd776393d66f60c021798cc496e07dba93b4c6bb2354eec7eba7bbd7464873b24fec92651651b433634e5f782ae67a35a978891d1e778f4b62d55
6
+ metadata.gz: bd63f2425f792d483b35de8304908bc6767da4aad3bde24440a1fcc15e3a51d6035ffc8854e54347859da855cfb556ddb31791ef9605638e9e8654d62e61fb90
7
+ data.tar.gz: 4d9c0c7e9c7606c3a7ec05e2cc01c6fd3c6770755a98b5895e7faecb5704ec873448dde6316c2cd377df4b4919dcc5d9d8890e36ff49f757513814e805ccd183
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.85.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
3
7
  ### v0.84.0 (2024-04-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20240326
@@ -2074,6 +2074,37 @@ module Google
2074
2074
  end
2075
2075
  end
2076
2076
 
2077
+ # Represents the language information of the request.
2078
+ class GoogleCloudDialogflowCxV3LanguageInfo
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # The confidence score of the detected language between 0 and 1.
2082
+ # Corresponds to the JSON property `confidenceScore`
2083
+ # @return [Float]
2084
+ attr_accessor :confidence_score
2085
+
2086
+ # The language code specified in the original request.
2087
+ # Corresponds to the JSON property `inputLanguageCode`
2088
+ # @return [String]
2089
+ attr_accessor :input_language_code
2090
+
2091
+ # The language code detected for this request based on the user conversation.
2092
+ # Corresponds to the JSON property `resolvedLanguageCode`
2093
+ # @return [String]
2094
+ attr_accessor :resolved_language_code
2095
+
2096
+ def initialize(**args)
2097
+ update!(**args)
2098
+ end
2099
+
2100
+ # Update properties of this object
2101
+ def update!(**args)
2102
+ @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
2103
+ @input_language_code = args[:input_language_code] if args.key?(:input_language_code)
2104
+ @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
2105
+ end
2106
+ end
2107
+
2077
2108
  # A Dialogflow CX conversation (session) can be described and visualized as a
2078
2109
  # state machine. The states of a CX session are represented by pages. For each
2079
2110
  # flow, you define many pages, where your combined pages can handle a complete
@@ -3525,6 +3556,11 @@ module Google
3525
3556
  # @return [String]
3526
3557
  attr_accessor :language_code
3527
3558
 
3559
+ # Represents the language information of the request.
3560
+ # Corresponds to the JSON property `languageInfo`
3561
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3LanguageInfo]
3562
+ attr_accessor :language_info
3563
+
3528
3564
  # The list of rich message responses to present to the user. Webhook can choose
3529
3565
  # to append or replace this list in WebhookResponse.fulfillment_response;
3530
3566
  # Corresponds to the JSON property `messages`
@@ -3586,6 +3622,7 @@ module Google
3586
3622
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
3587
3623
  @intent_info = args[:intent_info] if args.key?(:intent_info)
3588
3624
  @language_code = args[:language_code] if args.key?(:language_code)
3625
+ @language_info = args[:language_info] if args.key?(:language_info)
3589
3626
  @messages = args[:messages] if args.key?(:messages)
3590
3627
  @page_info = args[:page_info] if args.key?(:page_info)
3591
3628
  @payload = args[:payload] if args.key?(:payload)
@@ -4800,6 +4837,365 @@ module Google
4800
4837
  end
4801
4838
  end
4802
4839
 
4840
+ # Represents a conversation.
4841
+ class GoogleCloudDialogflowCxV3beta1Conversation
4842
+ include Google::Apis::Core::Hashable
4843
+
4844
+ # Duration of the conversation.
4845
+ # Corresponds to the JSON property `duration`
4846
+ # @return [String]
4847
+ attr_accessor :duration
4848
+
4849
+ # Represents an environment for an agent. You can create multiple versions of
4850
+ # your agent and publish them to separate environments. When you edit an agent,
4851
+ # you are editing the draft agent. At any point, you can save the draft agent as
4852
+ # an agent version, which is an immutable snapshot of your agent. When you save
4853
+ # the draft agent, it is published to the default environment. When you create
4854
+ # agent versions, you can publish them to custom environments. You can create a
4855
+ # variety of custom environments for testing, development, production, etc.
4856
+ # Corresponds to the JSON property `environment`
4857
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment]
4858
+ attr_accessor :environment
4859
+
4860
+ # Flow versions used in the conversation.
4861
+ # Corresponds to the JSON property `flowVersions`
4862
+ # @return [Hash<String,Fixnum>]
4863
+ attr_accessor :flow_versions
4864
+
4865
+ # All the Flow the conversation has went through. Only `name` and `display_name`
4866
+ # are filled in this message.
4867
+ # Corresponds to the JSON property `flows`
4868
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow>]
4869
+ attr_accessor :flows
4870
+
4871
+ # All the matched Intent in the conversation. Only `name` and `display_name` are
4872
+ # filled in this message.
4873
+ # Corresponds to the JSON property `intents`
4874
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent>]
4875
+ attr_accessor :intents
4876
+
4877
+ # Interactions of the conversation. Only populated for `GetConversation` and
4878
+ # empty for `ListConversations`.
4879
+ # Corresponds to the JSON property `interactions`
4880
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction>]
4881
+ attr_accessor :interactions
4882
+
4883
+ # The language of the conversation, which is the language of the first request
4884
+ # in the conversation.
4885
+ # Corresponds to the JSON property `languageCode`
4886
+ # @return [String]
4887
+ attr_accessor :language_code
4888
+
4889
+ # Represents metrics for the conversation.
4890
+ # Corresponds to the JSON property `metrics`
4891
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics]
4892
+ attr_accessor :metrics
4893
+
4894
+ # Identifier. The identifier of the conversation. If conversation ID is reused,
4895
+ # interactions happened later than 48 hours of the conversation's create time
4896
+ # will be ignored. Format: `projects//locations//agents//conversations/`
4897
+ # Corresponds to the JSON property `name`
4898
+ # @return [String]
4899
+ attr_accessor :name
4900
+
4901
+ # All the Page the conversation has went through. Only `name` and `display_name`
4902
+ # are filled in this message.
4903
+ # Corresponds to the JSON property `pages`
4904
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page>]
4905
+ attr_accessor :pages
4906
+
4907
+ # Start time of the conversation, which is the time of the first request of the
4908
+ # conversation.
4909
+ # Corresponds to the JSON property `startTime`
4910
+ # @return [String]
4911
+ attr_accessor :start_time
4912
+
4913
+ # The type of the conversation.
4914
+ # Corresponds to the JSON property `type`
4915
+ # @return [String]
4916
+ attr_accessor :type
4917
+
4918
+ def initialize(**args)
4919
+ update!(**args)
4920
+ end
4921
+
4922
+ # Update properties of this object
4923
+ def update!(**args)
4924
+ @duration = args[:duration] if args.key?(:duration)
4925
+ @environment = args[:environment] if args.key?(:environment)
4926
+ @flow_versions = args[:flow_versions] if args.key?(:flow_versions)
4927
+ @flows = args[:flows] if args.key?(:flows)
4928
+ @intents = args[:intents] if args.key?(:intents)
4929
+ @interactions = args[:interactions] if args.key?(:interactions)
4930
+ @language_code = args[:language_code] if args.key?(:language_code)
4931
+ @metrics = args[:metrics] if args.key?(:metrics)
4932
+ @name = args[:name] if args.key?(:name)
4933
+ @pages = args[:pages] if args.key?(:pages)
4934
+ @start_time = args[:start_time] if args.key?(:start_time)
4935
+ @type = args[:type] if args.key?(:type)
4936
+ end
4937
+ end
4938
+
4939
+ # Represents an interaction between an end user and a Dialogflow CX agent using
4940
+ # V3 (Streaming)DetectIntent API, or an interaction between an end user and a
4941
+ # Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.
4942
+ class GoogleCloudDialogflowCxV3beta1ConversationInteraction
4943
+ include Google::Apis::Core::Hashable
4944
+
4945
+ # The time that the interaction was created.
4946
+ # Corresponds to the JSON property `createTime`
4947
+ # @return [String]
4948
+ attr_accessor :create_time
4949
+
4950
+ # Information collected for DF CX agents in case NLU predicted an intent that
4951
+ # was filtered out as being inactive which may indicate a missing transition and/
4952
+ # or absent functionality.
4953
+ # Corresponds to the JSON property `missingTransition`
4954
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition]
4955
+ attr_accessor :missing_transition
4956
+
4957
+ # The partial responses of the interaction. Empty if there is no partial
4958
+ # response in the interaction. See the partial response documentation.
4959
+ # Corresponds to the JSON property `partialResponses`
4960
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse>]
4961
+ attr_accessor :partial_responses
4962
+
4963
+ # The request to detect user's intent.
4964
+ # Corresponds to the JSON property `request`
4965
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest]
4966
+ attr_accessor :request
4967
+
4968
+ # The input text or the transcript of the input audio in the request.
4969
+ # Corresponds to the JSON property `requestUtterances`
4970
+ # @return [String]
4971
+ attr_accessor :request_utterances
4972
+
4973
+ # The message returned from the DetectIntent method.
4974
+ # Corresponds to the JSON property `response`
4975
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse]
4976
+ attr_accessor :response
4977
+
4978
+ # The output text or the transcript of the output audio in the responses. If
4979
+ # multiple output messages are returned, they will be concatenated into one.
4980
+ # Corresponds to the JSON property `responseUtterances`
4981
+ # @return [String]
4982
+ attr_accessor :response_utterances
4983
+
4984
+ def initialize(**args)
4985
+ update!(**args)
4986
+ end
4987
+
4988
+ # Update properties of this object
4989
+ def update!(**args)
4990
+ @create_time = args[:create_time] if args.key?(:create_time)
4991
+ @missing_transition = args[:missing_transition] if args.key?(:missing_transition)
4992
+ @partial_responses = args[:partial_responses] if args.key?(:partial_responses)
4993
+ @request = args[:request] if args.key?(:request)
4994
+ @request_utterances = args[:request_utterances] if args.key?(:request_utterances)
4995
+ @response = args[:response] if args.key?(:response)
4996
+ @response_utterances = args[:response_utterances] if args.key?(:response_utterances)
4997
+ end
4998
+ end
4999
+
5000
+ # Information collected for DF CX agents in case NLU predicted an intent that
5001
+ # was filtered out as being inactive which may indicate a missing transition and/
5002
+ # or absent functionality.
5003
+ class GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition
5004
+ include Google::Apis::Core::Hashable
5005
+
5006
+ # Name of the intent that could have triggered.
5007
+ # Corresponds to the JSON property `intentDisplayName`
5008
+ # @return [String]
5009
+ attr_accessor :intent_display_name
5010
+
5011
+ # Score of the above intent. The higher it is the more likely a transition was
5012
+ # missed on a given page.
5013
+ # Corresponds to the JSON property `score`
5014
+ # @return [Float]
5015
+ attr_accessor :score
5016
+
5017
+ def initialize(**args)
5018
+ update!(**args)
5019
+ end
5020
+
5021
+ # Update properties of this object
5022
+ def update!(**args)
5023
+ @intent_display_name = args[:intent_display_name] if args.key?(:intent_display_name)
5024
+ @score = args[:score] if args.key?(:score)
5025
+ end
5026
+ end
5027
+
5028
+ # Represents metrics for the conversation.
5029
+ class GoogleCloudDialogflowCxV3beta1ConversationMetrics
5030
+ include Google::Apis::Core::Hashable
5031
+
5032
+ # The average confidence all of the Match in the conversation. Values range from
5033
+ # 0.0 (completely uncertain) to 1.0 (completely certain).
5034
+ # Corresponds to the JSON property `averageMatchConfidence`
5035
+ # @return [Float]
5036
+ attr_accessor :average_match_confidence
5037
+
5038
+ # A signal that indicates the interaction with the Dialogflow agent has ended.
5039
+ # If any response has the ResponseMessage.end_interaction signal, this is set to
5040
+ # true.
5041
+ # Corresponds to the JSON property `hasEndInteraction`
5042
+ # @return [Boolean]
5043
+ attr_accessor :has_end_interaction
5044
+ alias_method :has_end_interaction?, :has_end_interaction
5045
+
5046
+ # Hands off conversation to a human agent. If any response has the
5047
+ # ResponseMessage.live_agent_handoffsignal, this is set to true.
5048
+ # Corresponds to the JSON property `hasLiveAgentHandoff`
5049
+ # @return [Boolean]
5050
+ attr_accessor :has_live_agent_handoff
5051
+ alias_method :has_live_agent_handoff?, :has_live_agent_handoff
5052
+
5053
+ # Duration of all the input's audio in the conversation.
5054
+ # Corresponds to the JSON property `inputAudioDuration`
5055
+ # @return [String]
5056
+ attr_accessor :input_audio_duration
5057
+
5058
+ # The number of interactions in the conversation.
5059
+ # Corresponds to the JSON property `interactionCount`
5060
+ # @return [Fixnum]
5061
+ attr_accessor :interaction_count
5062
+
5063
+ # Count by Match.MatchType of the matches in the conversation.
5064
+ # Corresponds to the JSON property `matchTypeCount`
5065
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount]
5066
+ attr_accessor :match_type_count
5067
+
5068
+ # Maximum latency of the Webhook calls in the conversation.
5069
+ # Corresponds to the JSON property `maxWebhookLatency`
5070
+ # @return [String]
5071
+ attr_accessor :max_webhook_latency
5072
+
5073
+ # Duration of all the output's audio in the conversation.
5074
+ # Corresponds to the JSON property `outputAudioDuration`
5075
+ # @return [String]
5076
+ attr_accessor :output_audio_duration
5077
+
5078
+ # Count by types of QueryInput of the requests in the conversation.
5079
+ # Corresponds to the JSON property `queryInputCount`
5080
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount]
5081
+ attr_accessor :query_input_count
5082
+
5083
+ def initialize(**args)
5084
+ update!(**args)
5085
+ end
5086
+
5087
+ # Update properties of this object
5088
+ def update!(**args)
5089
+ @average_match_confidence = args[:average_match_confidence] if args.key?(:average_match_confidence)
5090
+ @has_end_interaction = args[:has_end_interaction] if args.key?(:has_end_interaction)
5091
+ @has_live_agent_handoff = args[:has_live_agent_handoff] if args.key?(:has_live_agent_handoff)
5092
+ @input_audio_duration = args[:input_audio_duration] if args.key?(:input_audio_duration)
5093
+ @interaction_count = args[:interaction_count] if args.key?(:interaction_count)
5094
+ @match_type_count = args[:match_type_count] if args.key?(:match_type_count)
5095
+ @max_webhook_latency = args[:max_webhook_latency] if args.key?(:max_webhook_latency)
5096
+ @output_audio_duration = args[:output_audio_duration] if args.key?(:output_audio_duration)
5097
+ @query_input_count = args[:query_input_count] if args.key?(:query_input_count)
5098
+ end
5099
+ end
5100
+
5101
+ # Count by Match.MatchType of the matches in the conversation.
5102
+ class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
5103
+ include Google::Apis::Core::Hashable
5104
+
5105
+ # The number of matches with type Match.MatchType.DIRECT_INTENT.
5106
+ # Corresponds to the JSON property `directIntentCount`
5107
+ # @return [Fixnum]
5108
+ attr_accessor :direct_intent_count
5109
+
5110
+ # The number of matches with type Match.MatchType.EVENT.
5111
+ # Corresponds to the JSON property `eventCount`
5112
+ # @return [Fixnum]
5113
+ attr_accessor :event_count
5114
+
5115
+ # The number of matches with type Match.MatchType.INTENT.
5116
+ # Corresponds to the JSON property `intentCount`
5117
+ # @return [Fixnum]
5118
+ attr_accessor :intent_count
5119
+
5120
+ # The number of matches with type Match.MatchType.NO_INPUT.
5121
+ # Corresponds to the JSON property `noInputCount`
5122
+ # @return [Fixnum]
5123
+ attr_accessor :no_input_count
5124
+
5125
+ # The number of matches with type Match.MatchType.NO_MATCH.
5126
+ # Corresponds to the JSON property `noMatchCount`
5127
+ # @return [Fixnum]
5128
+ attr_accessor :no_match_count
5129
+
5130
+ # The number of matches with type Match.MatchType.PARAMETER_FILLING.
5131
+ # Corresponds to the JSON property `parameterFillingCount`
5132
+ # @return [Fixnum]
5133
+ attr_accessor :parameter_filling_count
5134
+
5135
+ # The number of matches with type Match.MatchType.MATCH_TYPE_UNSPECIFIED.
5136
+ # Corresponds to the JSON property `unspecifiedCount`
5137
+ # @return [Fixnum]
5138
+ attr_accessor :unspecified_count
5139
+
5140
+ def initialize(**args)
5141
+ update!(**args)
5142
+ end
5143
+
5144
+ # Update properties of this object
5145
+ def update!(**args)
5146
+ @direct_intent_count = args[:direct_intent_count] if args.key?(:direct_intent_count)
5147
+ @event_count = args[:event_count] if args.key?(:event_count)
5148
+ @intent_count = args[:intent_count] if args.key?(:intent_count)
5149
+ @no_input_count = args[:no_input_count] if args.key?(:no_input_count)
5150
+ @no_match_count = args[:no_match_count] if args.key?(:no_match_count)
5151
+ @parameter_filling_count = args[:parameter_filling_count] if args.key?(:parameter_filling_count)
5152
+ @unspecified_count = args[:unspecified_count] if args.key?(:unspecified_count)
5153
+ end
5154
+ end
5155
+
5156
+ # Count by types of QueryInput of the requests in the conversation.
5157
+ class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
5158
+ include Google::Apis::Core::Hashable
5159
+
5160
+ # The number of AudioInput in the conversation.
5161
+ # Corresponds to the JSON property `audioCount`
5162
+ # @return [Fixnum]
5163
+ attr_accessor :audio_count
5164
+
5165
+ # The number of DtmfInput in the conversation.
5166
+ # Corresponds to the JSON property `dtmfCount`
5167
+ # @return [Fixnum]
5168
+ attr_accessor :dtmf_count
5169
+
5170
+ # The number of EventInput in the conversation.
5171
+ # Corresponds to the JSON property `eventCount`
5172
+ # @return [Fixnum]
5173
+ attr_accessor :event_count
5174
+
5175
+ # The number of IntentInput in the conversation.
5176
+ # Corresponds to the JSON property `intentCount`
5177
+ # @return [Fixnum]
5178
+ attr_accessor :intent_count
5179
+
5180
+ # The number of TextInput in the conversation.
5181
+ # Corresponds to the JSON property `textCount`
5182
+ # @return [Fixnum]
5183
+ attr_accessor :text_count
5184
+
5185
+ def initialize(**args)
5186
+ update!(**args)
5187
+ end
5188
+
5189
+ # Update properties of this object
5190
+ def update!(**args)
5191
+ @audio_count = args[:audio_count] if args.key?(:audio_count)
5192
+ @dtmf_count = args[:dtmf_count] if args.key?(:dtmf_count)
5193
+ @event_count = args[:event_count] if args.key?(:event_count)
5194
+ @intent_count = args[:intent_count] if args.key?(:intent_count)
5195
+ @text_count = args[:text_count] if args.key?(:text_count)
5196
+ end
5197
+ end
5198
+
4803
5199
  # This message is used to hold all the Conversation Signals data, which will be
4804
5200
  # converted to JSON and exported to BigQuery.
4805
5201
  class GoogleCloudDialogflowCxV3beta1ConversationSignals
@@ -5488,6 +5884,20 @@ module Google
5488
5884
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters]
5489
5885
  attr_accessor :query_params
5490
5886
 
5887
+ # Required. The name of the session this query is sent to. Format: `projects//
5888
+ # locations//agents//sessions/` or `projects//locations//agents//environments//
5889
+ # sessions/`. If `Environment ID` is not specified, we assume default 'draft'
5890
+ # environment. It's up to the API caller to choose an appropriate `Session ID`.
5891
+ # It can be a random number or some type of session identifiers (preferably
5892
+ # hashed). The length of the `Session ID` must not exceed 36 characters. For
5893
+ # more information, see the [sessions guide](https://cloud.google.com/dialogflow/
5894
+ # cx/docs/concept/session). Note: Always use agent versions for production
5895
+ # traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
5896
+ # cx/docs/concept/version).
5897
+ # Corresponds to the JSON property `session`
5898
+ # @return [String]
5899
+ attr_accessor :session
5900
+
5491
5901
  def initialize(**args)
5492
5902
  update!(**args)
5493
5903
  end
@@ -5497,6 +5907,7 @@ module Google
5497
5907
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
5498
5908
  @query_input = args[:query_input] if args.key?(:query_input)
5499
5909
  @query_params = args[:query_params] if args.key?(:query_params)
5910
+ @session = args[:session] if args.key?(:session)
5500
5911
  end
5501
5912
  end
5502
5913
 
@@ -8451,6 +8862,37 @@ module Google
8451
8862
  end
8452
8863
  end
8453
8864
 
8865
+ # Represents the language information of the request.
8866
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
8867
+ include Google::Apis::Core::Hashable
8868
+
8869
+ # The confidence score of the detected language between 0 and 1.
8870
+ # Corresponds to the JSON property `confidenceScore`
8871
+ # @return [Float]
8872
+ attr_accessor :confidence_score
8873
+
8874
+ # The language code specified in the original request.
8875
+ # Corresponds to the JSON property `inputLanguageCode`
8876
+ # @return [String]
8877
+ attr_accessor :input_language_code
8878
+
8879
+ # The language code detected for this request based on the user conversation.
8880
+ # Corresponds to the JSON property `resolvedLanguageCode`
8881
+ # @return [String]
8882
+ attr_accessor :resolved_language_code
8883
+
8884
+ def initialize(**args)
8885
+ update!(**args)
8886
+ end
8887
+
8888
+ # Update properties of this object
8889
+ def update!(**args)
8890
+ @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
8891
+ @input_language_code = args[:input_language_code] if args.key?(:input_language_code)
8892
+ @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
8893
+ end
8894
+ end
8895
+
8454
8896
  # The response message for Agents.ListAgents.
8455
8897
  class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
8456
8898
  include Google::Apis::Core::Hashable
@@ -8532,6 +8974,34 @@ module Google
8532
8974
  end
8533
8975
  end
8534
8976
 
8977
+ # The response message for Conversations.ListConversations.
8978
+ class GoogleCloudDialogflowCxV3beta1ListConversationsResponse
8979
+ include Google::Apis::Core::Hashable
8980
+
8981
+ # The list of conversations. There will be a maximum number of items returned
8982
+ # based on the page_size field. The returned conversations will be sorted by
8983
+ # start_time in descending order (newest conversation first).
8984
+ # Corresponds to the JSON property `conversations`
8985
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation>]
8986
+ attr_accessor :conversations
8987
+
8988
+ # Token to retrieve the next page of results, or empty if there are no more
8989
+ # results in the list.
8990
+ # Corresponds to the JSON property `nextPageToken`
8991
+ # @return [String]
8992
+ attr_accessor :next_page_token
8993
+
8994
+ def initialize(**args)
8995
+ update!(**args)
8996
+ end
8997
+
8998
+ # Update properties of this object
8999
+ def update!(**args)
9000
+ @conversations = args[:conversations] if args.key?(:conversations)
9001
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9002
+ end
9003
+ end
9004
+
8535
9005
  # The response message for Deployments.ListDeployments.
8536
9006
  class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
8537
9007
  include Google::Apis::Core::Hashable
@@ -12284,6 +12754,11 @@ module Google
12284
12754
  # @return [String]
12285
12755
  attr_accessor :language_code
12286
12756
 
12757
+ # Represents the language information of the request.
12758
+ # Corresponds to the JSON property `languageInfo`
12759
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo]
12760
+ attr_accessor :language_info
12761
+
12287
12762
  # The list of rich message responses to present to the user. Webhook can choose
12288
12763
  # to append or replace this list in WebhookResponse.fulfillment_response;
12289
12764
  # Corresponds to the JSON property `messages`
@@ -12345,6 +12820,7 @@ module Google
12345
12820
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
12346
12821
  @intent_info = args[:intent_info] if args.key?(:intent_info)
12347
12822
  @language_code = args[:language_code] if args.key?(:language_code)
12823
+ @language_info = args[:language_info] if args.key?(:language_info)
12348
12824
  @messages = args[:messages] if args.key?(:messages)
12349
12825
  @page_info = args[:page_info] if args.key?(:page_info)
12350
12826
  @payload = args[:payload] if args.key?(:payload)
@@ -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.84.0"
19
+ GEM_VERSION = "0.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240326"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -400,6 +400,12 @@ module Google
400
400
  include Google::Apis::Core::JsonObjectSupport
401
401
  end
402
402
 
403
+ class GoogleCloudDialogflowCxV3LanguageInfo
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
403
409
  class GoogleCloudDialogflowCxV3Page
404
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
411
 
@@ -820,6 +826,42 @@ module Google
820
826
  include Google::Apis::Core::JsonObjectSupport
821
827
  end
822
828
 
829
+ class GoogleCloudDialogflowCxV3beta1Conversation
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
835
+ class GoogleCloudDialogflowCxV3beta1ConversationInteraction
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
847
+ class GoogleCloudDialogflowCxV3beta1ConversationMetrics
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
853
+ class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
823
865
  class GoogleCloudDialogflowCxV3beta1ConversationSignals
824
866
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
867
 
@@ -1432,6 +1474,12 @@ module Google
1432
1474
  include Google::Apis::Core::JsonObjectSupport
1433
1475
  end
1434
1476
 
1477
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
1478
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1479
+
1480
+ include Google::Apis::Core::JsonObjectSupport
1481
+ end
1482
+
1435
1483
  class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
1436
1484
  class Representation < Google::Apis::Core::JsonRepresentation; end
1437
1485
 
@@ -1450,6 +1498,12 @@ module Google
1450
1498
  include Google::Apis::Core::JsonObjectSupport
1451
1499
  end
1452
1500
 
1501
+ class GoogleCloudDialogflowCxV3beta1ListConversationsResponse
1502
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1503
+
1504
+ include Google::Apis::Core::JsonObjectSupport
1505
+ end
1506
+
1453
1507
  class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
1454
1508
  class Representation < Google::Apis::Core::JsonRepresentation; end
1455
1509
 
@@ -3733,6 +3787,15 @@ module Google
3733
3787
  end
3734
3788
  end
3735
3789
 
3790
+ class GoogleCloudDialogflowCxV3LanguageInfo
3791
+ # @private
3792
+ class Representation < Google::Apis::Core::JsonRepresentation
3793
+ property :confidence_score, as: 'confidenceScore'
3794
+ property :input_language_code, as: 'inputLanguageCode'
3795
+ property :resolved_language_code, as: 'resolvedLanguageCode'
3796
+ end
3797
+ end
3798
+
3736
3799
  class GoogleCloudDialogflowCxV3Page
3737
3800
  # @private
3738
3801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4112,6 +4175,8 @@ module Google
4112
4175
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
4113
4176
 
4114
4177
  property :language_code, as: 'languageCode'
4178
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3LanguageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3LanguageInfo::Representation
4179
+
4115
4180
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
4116
4181
 
4117
4182
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -4463,6 +4528,96 @@ module Google
4463
4528
  end
4464
4529
  end
4465
4530
 
4531
+ class GoogleCloudDialogflowCxV3beta1Conversation
4532
+ # @private
4533
+ class Representation < Google::Apis::Core::JsonRepresentation
4534
+ property :duration, as: 'duration'
4535
+ property :environment, as: 'environment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
4536
+
4537
+ hash :flow_versions, as: 'flowVersions'
4538
+ collection :flows, as: 'flows', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
4539
+
4540
+ collection :intents, as: 'intents', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
4541
+
4542
+ collection :interactions, as: 'interactions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction::Representation
4543
+
4544
+ property :language_code, as: 'languageCode'
4545
+ property :metrics, as: 'metrics', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics::Representation
4546
+
4547
+ property :name, as: 'name'
4548
+ collection :pages, as: 'pages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
4549
+
4550
+ property :start_time, as: 'startTime'
4551
+ property :type, as: 'type'
4552
+ end
4553
+ end
4554
+
4555
+ class GoogleCloudDialogflowCxV3beta1ConversationInteraction
4556
+ # @private
4557
+ class Representation < Google::Apis::Core::JsonRepresentation
4558
+ property :create_time, as: 'createTime'
4559
+ property :missing_transition, as: 'missingTransition', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition::Representation
4560
+
4561
+ collection :partial_responses, as: 'partialResponses', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
4562
+
4563
+ property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation
4564
+
4565
+ property :request_utterances, as: 'requestUtterances'
4566
+ property :response, as: 'response', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
4567
+
4568
+ property :response_utterances, as: 'responseUtterances'
4569
+ end
4570
+ end
4571
+
4572
+ class GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition
4573
+ # @private
4574
+ class Representation < Google::Apis::Core::JsonRepresentation
4575
+ property :intent_display_name, as: 'intentDisplayName'
4576
+ property :score, as: 'score'
4577
+ end
4578
+ end
4579
+
4580
+ class GoogleCloudDialogflowCxV3beta1ConversationMetrics
4581
+ # @private
4582
+ class Representation < Google::Apis::Core::JsonRepresentation
4583
+ property :average_match_confidence, as: 'averageMatchConfidence'
4584
+ property :has_end_interaction, as: 'hasEndInteraction'
4585
+ property :has_live_agent_handoff, as: 'hasLiveAgentHandoff'
4586
+ property :input_audio_duration, as: 'inputAudioDuration'
4587
+ property :interaction_count, as: 'interactionCount'
4588
+ property :match_type_count, as: 'matchTypeCount', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount::Representation
4589
+
4590
+ property :max_webhook_latency, as: 'maxWebhookLatency'
4591
+ property :output_audio_duration, as: 'outputAudioDuration'
4592
+ property :query_input_count, as: 'queryInputCount', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount::Representation
4593
+
4594
+ end
4595
+ end
4596
+
4597
+ class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
4598
+ # @private
4599
+ class Representation < Google::Apis::Core::JsonRepresentation
4600
+ property :direct_intent_count, as: 'directIntentCount'
4601
+ property :event_count, as: 'eventCount'
4602
+ property :intent_count, as: 'intentCount'
4603
+ property :no_input_count, as: 'noInputCount'
4604
+ property :no_match_count, as: 'noMatchCount'
4605
+ property :parameter_filling_count, as: 'parameterFillingCount'
4606
+ property :unspecified_count, as: 'unspecifiedCount'
4607
+ end
4608
+ end
4609
+
4610
+ class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
4611
+ # @private
4612
+ class Representation < Google::Apis::Core::JsonRepresentation
4613
+ property :audio_count, as: 'audioCount'
4614
+ property :dtmf_count, as: 'dtmfCount'
4615
+ property :event_count, as: 'eventCount'
4616
+ property :intent_count, as: 'intentCount'
4617
+ property :text_count, as: 'textCount'
4618
+ end
4619
+ end
4620
+
4466
4621
  class GoogleCloudDialogflowCxV3beta1ConversationSignals
4467
4622
  # @private
4468
4623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4676,6 +4831,7 @@ module Google
4676
4831
 
4677
4832
  property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters::Representation
4678
4833
 
4834
+ property :session, as: 'session'
4679
4835
  end
4680
4836
  end
4681
4837
 
@@ -5465,6 +5621,15 @@ module Google
5465
5621
  end
5466
5622
  end
5467
5623
 
5624
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
5625
+ # @private
5626
+ class Representation < Google::Apis::Core::JsonRepresentation
5627
+ property :confidence_score, as: 'confidenceScore'
5628
+ property :input_language_code, as: 'inputLanguageCode'
5629
+ property :resolved_language_code, as: 'resolvedLanguageCode'
5630
+ end
5631
+ end
5632
+
5468
5633
  class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
5469
5634
  # @private
5470
5635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5492,6 +5657,15 @@ module Google
5492
5657
  end
5493
5658
  end
5494
5659
 
5660
+ class GoogleCloudDialogflowCxV3beta1ListConversationsResponse
5661
+ # @private
5662
+ class Representation < Google::Apis::Core::JsonRepresentation
5663
+ collection :conversations, as: 'conversations', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation::Representation
5664
+
5665
+ property :next_page_token, as: 'nextPageToken'
5666
+ end
5667
+ end
5668
+
5495
5669
  class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
5496
5670
  # @private
5497
5671
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6496,6 +6670,8 @@ module Google
6496
6670
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
6497
6671
 
6498
6672
  property :language_code, as: 'languageCode'
6673
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo::Representation
6674
+
6499
6675
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
6500
6676
 
6501
6677
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
@@ -603,6 +603,115 @@ module Google
603
603
  execute_or_queue_command(command, &block)
604
604
  end
605
605
 
606
+ # Deletes the specified conversation.
607
+ # @param [String] name
608
+ # Required. The name of the conversation. Format: `projects//locations//agents//
609
+ # conversations/`.
610
+ # @param [String] fields
611
+ # Selector specifying which fields to include in a partial response.
612
+ # @param [String] quota_user
613
+ # Available to use for quota purposes for server-side applications. Can be any
614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
615
+ # @param [Google::Apis::RequestOptions] options
616
+ # Request-specific options
617
+ #
618
+ # @yield [result, err] Result & error if block supplied
619
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
620
+ # @yieldparam err [StandardError] error object if request failed
621
+ #
622
+ # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
623
+ #
624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
627
+ def delete_project_location_agent_conversation(name, fields: nil, quota_user: nil, options: nil, &block)
628
+ command = make_simple_command(:delete, 'v3beta1/{+name}', options)
629
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
630
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
631
+ command.params['name'] = name unless name.nil?
632
+ command.query['fields'] = fields unless fields.nil?
633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
634
+ execute_or_queue_command(command, &block)
635
+ end
636
+
637
+ # Retrieves the specified conversation.
638
+ # @param [String] name
639
+ # Required. The name of the conversation. Format: `projects//locations//agents//
640
+ # conversations/`.
641
+ # @param [String] fields
642
+ # Selector specifying which fields to include in a partial response.
643
+ # @param [String] quota_user
644
+ # Available to use for quota purposes for server-side applications. Can be any
645
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
646
+ # @param [Google::Apis::RequestOptions] options
647
+ # Request-specific options
648
+ #
649
+ # @yield [result, err] Result & error if block supplied
650
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation] parsed result object
651
+ # @yieldparam err [StandardError] error object if request failed
652
+ #
653
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation]
654
+ #
655
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
656
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
657
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
658
+ def get_project_location_agent_conversation(name, fields: nil, quota_user: nil, options: nil, &block)
659
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
660
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation::Representation
661
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation
662
+ command.params['name'] = name unless name.nil?
663
+ command.query['fields'] = fields unless fields.nil?
664
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
665
+ execute_or_queue_command(command, &block)
666
+ end
667
+
668
+ # Returns the list of all conversations.
669
+ # @param [String] parent
670
+ # Required. The agent to list all conversations for. Format: `projects//
671
+ # locations//agents/`.
672
+ # @param [String] filter
673
+ # Optional. The filter string. Supports filter by create_time, metrics.
674
+ # has_end_interaction, metrics.has_live_agent_handoff, intents.display_name,
675
+ # pages.display_name and flows.display_name. Timestamps expect an RFC-3339
676
+ # formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are supported.
677
+ # Some examples: 1. By create time: create_time > "2022-04-21T11:30:00-04:00" 2.
678
+ # By intent display name: intents.display_name : "billing" 3. By end interaction
679
+ # signal: metrics.has_end_interaction = true
680
+ # @param [Fixnum] page_size
681
+ # Optional. The maximum number of items to return in a single page. By default
682
+ # 100 and at most 1000.
683
+ # @param [String] page_token
684
+ # Optional. The next_page_token value returned from a previous list request.
685
+ # @param [String] fields
686
+ # Selector specifying which fields to include in a partial response.
687
+ # @param [String] quota_user
688
+ # Available to use for quota purposes for server-side applications. Can be any
689
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
690
+ # @param [Google::Apis::RequestOptions] options
691
+ # Request-specific options
692
+ #
693
+ # @yield [result, err] Result & error if block supplied
694
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListConversationsResponse] parsed result object
695
+ # @yieldparam err [StandardError] error object if request failed
696
+ #
697
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListConversationsResponse]
698
+ #
699
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
700
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
701
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
702
+ def list_project_location_agent_conversations(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
703
+ command = make_simple_command(:get, 'v3beta1/{+parent}/conversations', options)
704
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListConversationsResponse::Representation
705
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListConversationsResponse
706
+ command.params['parent'] = parent unless parent.nil?
707
+ command.query['filter'] = filter unless filter.nil?
708
+ command.query['pageSize'] = page_size unless page_size.nil?
709
+ command.query['pageToken'] = page_token unless page_token.nil?
710
+ command.query['fields'] = fields unless fields.nil?
711
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
712
+ execute_or_queue_command(command, &block)
713
+ end
714
+
606
715
  # Creates an entity type in the specified agent.
607
716
  # @param [String] parent
608
717
  # Required. The agent to create a entity type for. Format: `projects//locations//
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.84.0
4
+ version: 0.85.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: 2024-04-07 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.85.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: []