google-apis-dialogflow_v3beta1 0.84.0 → 0.86.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +508 -0
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +181 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +109 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7f11602909aa53343b2658e94b2c80b0f0e90318992d6608c4fd41c2c35a4df
|
4
|
+
data.tar.gz: 4101f90b2ee220c95d821792907ca2455ba642a5725d071ed8afbbef616047ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 309e38dbe75024f62e1882472551e7f134909ed7dfb23b4aeeb289d3118fb47fdf638ab23b17030b9056cf1b9c694ba6ea37998cd4bbe9bb567343863f391d0a
|
7
|
+
data.tar.gz: 95338e58c35279fc59b0828b69b1850b78eb7edcdf33d090969ac6c39b03843e2157ac80477f74c68c2b15dd0c15ab91b6ac1518be8c6234a670de7d1b162f8b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
+
### v0.86.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240507
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.85.0 (2024-04-21)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240417
|
11
|
+
|
3
12
|
### v0.84.0 (2024-04-07)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240326
|
@@ -81,11 +81,21 @@ module Google
|
|
81
81
|
attr_accessor :enabled
|
82
82
|
alias_method :enabled?, :enabled
|
83
83
|
|
84
|
+
# Endpoint timeout setting for matching dtmf input to regex.
|
85
|
+
# Corresponds to the JSON property `endpointingTimeoutDuration`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :endpointing_timeout_duration
|
88
|
+
|
84
89
|
# The digit that terminates a DTMF digit sequence.
|
85
90
|
# Corresponds to the JSON property `finishDigit`
|
86
91
|
# @return [String]
|
87
92
|
attr_accessor :finish_digit
|
88
93
|
|
94
|
+
# Interdigit timeout setting for matching dtmf input to regex.
|
95
|
+
# Corresponds to the JSON property `interdigitTimeoutDuration`
|
96
|
+
# @return [String]
|
97
|
+
attr_accessor :interdigit_timeout_duration
|
98
|
+
|
89
99
|
# Max length of DTMF digits.
|
90
100
|
# Corresponds to the JSON property `maxDigits`
|
91
101
|
# @return [Fixnum]
|
@@ -98,7 +108,9 @@ module Google
|
|
98
108
|
# Update properties of this object
|
99
109
|
def update!(**args)
|
100
110
|
@enabled = args[:enabled] if args.key?(:enabled)
|
111
|
+
@endpointing_timeout_duration = args[:endpointing_timeout_duration] if args.key?(:endpointing_timeout_duration)
|
101
112
|
@finish_digit = args[:finish_digit] if args.key?(:finish_digit)
|
113
|
+
@interdigit_timeout_duration = args[:interdigit_timeout_duration] if args.key?(:interdigit_timeout_duration)
|
102
114
|
@max_digits = args[:max_digits] if args.key?(:max_digits)
|
103
115
|
end
|
104
116
|
end
|
@@ -2074,6 +2086,37 @@ module Google
|
|
2074
2086
|
end
|
2075
2087
|
end
|
2076
2088
|
|
2089
|
+
# Represents the language information of the request.
|
2090
|
+
class GoogleCloudDialogflowCxV3LanguageInfo
|
2091
|
+
include Google::Apis::Core::Hashable
|
2092
|
+
|
2093
|
+
# The confidence score of the detected language between 0 and 1.
|
2094
|
+
# Corresponds to the JSON property `confidenceScore`
|
2095
|
+
# @return [Float]
|
2096
|
+
attr_accessor :confidence_score
|
2097
|
+
|
2098
|
+
# The language code specified in the original request.
|
2099
|
+
# Corresponds to the JSON property `inputLanguageCode`
|
2100
|
+
# @return [String]
|
2101
|
+
attr_accessor :input_language_code
|
2102
|
+
|
2103
|
+
# The language code detected for this request based on the user conversation.
|
2104
|
+
# Corresponds to the JSON property `resolvedLanguageCode`
|
2105
|
+
# @return [String]
|
2106
|
+
attr_accessor :resolved_language_code
|
2107
|
+
|
2108
|
+
def initialize(**args)
|
2109
|
+
update!(**args)
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
# Update properties of this object
|
2113
|
+
def update!(**args)
|
2114
|
+
@confidence_score = args[:confidence_score] if args.key?(:confidence_score)
|
2115
|
+
@input_language_code = args[:input_language_code] if args.key?(:input_language_code)
|
2116
|
+
@resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
|
2117
|
+
end
|
2118
|
+
end
|
2119
|
+
|
2077
2120
|
# A Dialogflow CX conversation (session) can be described and visualized as a
|
2078
2121
|
# state machine. The states of a CX session are represented by pages. For each
|
2079
2122
|
# flow, you define many pages, where your combined pages can handle a complete
|
@@ -3525,6 +3568,11 @@ module Google
|
|
3525
3568
|
# @return [String]
|
3526
3569
|
attr_accessor :language_code
|
3527
3570
|
|
3571
|
+
# Represents the language information of the request.
|
3572
|
+
# Corresponds to the JSON property `languageInfo`
|
3573
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3LanguageInfo]
|
3574
|
+
attr_accessor :language_info
|
3575
|
+
|
3528
3576
|
# The list of rich message responses to present to the user. Webhook can choose
|
3529
3577
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
3530
3578
|
# Corresponds to the JSON property `messages`
|
@@ -3586,6 +3634,7 @@ module Google
|
|
3586
3634
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
3587
3635
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
3588
3636
|
@language_code = args[:language_code] if args.key?(:language_code)
|
3637
|
+
@language_info = args[:language_info] if args.key?(:language_info)
|
3589
3638
|
@messages = args[:messages] if args.key?(:messages)
|
3590
3639
|
@page_info = args[:page_info] if args.key?(:page_info)
|
3591
3640
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -3878,11 +3927,21 @@ module Google
|
|
3878
3927
|
attr_accessor :enabled
|
3879
3928
|
alias_method :enabled?, :enabled
|
3880
3929
|
|
3930
|
+
# Endpoint timeout setting for matching dtmf input to regex.
|
3931
|
+
# Corresponds to the JSON property `endpointingTimeoutDuration`
|
3932
|
+
# @return [String]
|
3933
|
+
attr_accessor :endpointing_timeout_duration
|
3934
|
+
|
3881
3935
|
# The digit that terminates a DTMF digit sequence.
|
3882
3936
|
# Corresponds to the JSON property `finishDigit`
|
3883
3937
|
# @return [String]
|
3884
3938
|
attr_accessor :finish_digit
|
3885
3939
|
|
3940
|
+
# Interdigit timeout setting for matching dtmf input to regex.
|
3941
|
+
# Corresponds to the JSON property `interdigitTimeoutDuration`
|
3942
|
+
# @return [String]
|
3943
|
+
attr_accessor :interdigit_timeout_duration
|
3944
|
+
|
3886
3945
|
# Max length of DTMF digits.
|
3887
3946
|
# Corresponds to the JSON property `maxDigits`
|
3888
3947
|
# @return [Fixnum]
|
@@ -3895,7 +3954,9 @@ module Google
|
|
3895
3954
|
# Update properties of this object
|
3896
3955
|
def update!(**args)
|
3897
3956
|
@enabled = args[:enabled] if args.key?(:enabled)
|
3957
|
+
@endpointing_timeout_duration = args[:endpointing_timeout_duration] if args.key?(:endpointing_timeout_duration)
|
3898
3958
|
@finish_digit = args[:finish_digit] if args.key?(:finish_digit)
|
3959
|
+
@interdigit_timeout_duration = args[:interdigit_timeout_duration] if args.key?(:interdigit_timeout_duration)
|
3899
3960
|
@max_digits = args[:max_digits] if args.key?(:max_digits)
|
3900
3961
|
end
|
3901
3962
|
end
|
@@ -4800,6 +4861,365 @@ module Google
|
|
4800
4861
|
end
|
4801
4862
|
end
|
4802
4863
|
|
4864
|
+
# Represents a conversation.
|
4865
|
+
class GoogleCloudDialogflowCxV3beta1Conversation
|
4866
|
+
include Google::Apis::Core::Hashable
|
4867
|
+
|
4868
|
+
# Duration of the conversation.
|
4869
|
+
# Corresponds to the JSON property `duration`
|
4870
|
+
# @return [String]
|
4871
|
+
attr_accessor :duration
|
4872
|
+
|
4873
|
+
# Represents an environment for an agent. You can create multiple versions of
|
4874
|
+
# your agent and publish them to separate environments. When you edit an agent,
|
4875
|
+
# you are editing the draft agent. At any point, you can save the draft agent as
|
4876
|
+
# an agent version, which is an immutable snapshot of your agent. When you save
|
4877
|
+
# the draft agent, it is published to the default environment. When you create
|
4878
|
+
# agent versions, you can publish them to custom environments. You can create a
|
4879
|
+
# variety of custom environments for testing, development, production, etc.
|
4880
|
+
# Corresponds to the JSON property `environment`
|
4881
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment]
|
4882
|
+
attr_accessor :environment
|
4883
|
+
|
4884
|
+
# Flow versions used in the conversation.
|
4885
|
+
# Corresponds to the JSON property `flowVersions`
|
4886
|
+
# @return [Hash<String,Fixnum>]
|
4887
|
+
attr_accessor :flow_versions
|
4888
|
+
|
4889
|
+
# All the Flow the conversation has went through. Only `name` and `display_name`
|
4890
|
+
# are filled in this message.
|
4891
|
+
# Corresponds to the JSON property `flows`
|
4892
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow>]
|
4893
|
+
attr_accessor :flows
|
4894
|
+
|
4895
|
+
# All the matched Intent in the conversation. Only `name` and `display_name` are
|
4896
|
+
# filled in this message.
|
4897
|
+
# Corresponds to the JSON property `intents`
|
4898
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent>]
|
4899
|
+
attr_accessor :intents
|
4900
|
+
|
4901
|
+
# Interactions of the conversation. Only populated for `GetConversation` and
|
4902
|
+
# empty for `ListConversations`.
|
4903
|
+
# Corresponds to the JSON property `interactions`
|
4904
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction>]
|
4905
|
+
attr_accessor :interactions
|
4906
|
+
|
4907
|
+
# The language of the conversation, which is the language of the first request
|
4908
|
+
# in the conversation.
|
4909
|
+
# Corresponds to the JSON property `languageCode`
|
4910
|
+
# @return [String]
|
4911
|
+
attr_accessor :language_code
|
4912
|
+
|
4913
|
+
# Represents metrics for the conversation.
|
4914
|
+
# Corresponds to the JSON property `metrics`
|
4915
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics]
|
4916
|
+
attr_accessor :metrics
|
4917
|
+
|
4918
|
+
# Identifier. The identifier of the conversation. If conversation ID is reused,
|
4919
|
+
# interactions happened later than 48 hours of the conversation's create time
|
4920
|
+
# will be ignored. Format: `projects//locations//agents//conversations/`
|
4921
|
+
# Corresponds to the JSON property `name`
|
4922
|
+
# @return [String]
|
4923
|
+
attr_accessor :name
|
4924
|
+
|
4925
|
+
# All the Page the conversation has went through. Only `name` and `display_name`
|
4926
|
+
# are filled in this message.
|
4927
|
+
# Corresponds to the JSON property `pages`
|
4928
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page>]
|
4929
|
+
attr_accessor :pages
|
4930
|
+
|
4931
|
+
# Start time of the conversation, which is the time of the first request of the
|
4932
|
+
# conversation.
|
4933
|
+
# Corresponds to the JSON property `startTime`
|
4934
|
+
# @return [String]
|
4935
|
+
attr_accessor :start_time
|
4936
|
+
|
4937
|
+
# The type of the conversation.
|
4938
|
+
# Corresponds to the JSON property `type`
|
4939
|
+
# @return [String]
|
4940
|
+
attr_accessor :type
|
4941
|
+
|
4942
|
+
def initialize(**args)
|
4943
|
+
update!(**args)
|
4944
|
+
end
|
4945
|
+
|
4946
|
+
# Update properties of this object
|
4947
|
+
def update!(**args)
|
4948
|
+
@duration = args[:duration] if args.key?(:duration)
|
4949
|
+
@environment = args[:environment] if args.key?(:environment)
|
4950
|
+
@flow_versions = args[:flow_versions] if args.key?(:flow_versions)
|
4951
|
+
@flows = args[:flows] if args.key?(:flows)
|
4952
|
+
@intents = args[:intents] if args.key?(:intents)
|
4953
|
+
@interactions = args[:interactions] if args.key?(:interactions)
|
4954
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
4955
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
4956
|
+
@name = args[:name] if args.key?(:name)
|
4957
|
+
@pages = args[:pages] if args.key?(:pages)
|
4958
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
4959
|
+
@type = args[:type] if args.key?(:type)
|
4960
|
+
end
|
4961
|
+
end
|
4962
|
+
|
4963
|
+
# Represents an interaction between an end user and a Dialogflow CX agent using
|
4964
|
+
# V3 (Streaming)DetectIntent API, or an interaction between an end user and a
|
4965
|
+
# Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.
|
4966
|
+
class GoogleCloudDialogflowCxV3beta1ConversationInteraction
|
4967
|
+
include Google::Apis::Core::Hashable
|
4968
|
+
|
4969
|
+
# The time that the interaction was created.
|
4970
|
+
# Corresponds to the JSON property `createTime`
|
4971
|
+
# @return [String]
|
4972
|
+
attr_accessor :create_time
|
4973
|
+
|
4974
|
+
# Information collected for DF CX agents in case NLU predicted an intent that
|
4975
|
+
# was filtered out as being inactive which may indicate a missing transition and/
|
4976
|
+
# or absent functionality.
|
4977
|
+
# Corresponds to the JSON property `missingTransition`
|
4978
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition]
|
4979
|
+
attr_accessor :missing_transition
|
4980
|
+
|
4981
|
+
# The partial responses of the interaction. Empty if there is no partial
|
4982
|
+
# response in the interaction. See the partial response documentation.
|
4983
|
+
# Corresponds to the JSON property `partialResponses`
|
4984
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse>]
|
4985
|
+
attr_accessor :partial_responses
|
4986
|
+
|
4987
|
+
# The request to detect user's intent.
|
4988
|
+
# Corresponds to the JSON property `request`
|
4989
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest]
|
4990
|
+
attr_accessor :request
|
4991
|
+
|
4992
|
+
# The input text or the transcript of the input audio in the request.
|
4993
|
+
# Corresponds to the JSON property `requestUtterances`
|
4994
|
+
# @return [String]
|
4995
|
+
attr_accessor :request_utterances
|
4996
|
+
|
4997
|
+
# The message returned from the DetectIntent method.
|
4998
|
+
# Corresponds to the JSON property `response`
|
4999
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse]
|
5000
|
+
attr_accessor :response
|
5001
|
+
|
5002
|
+
# The output text or the transcript of the output audio in the responses. If
|
5003
|
+
# multiple output messages are returned, they will be concatenated into one.
|
5004
|
+
# Corresponds to the JSON property `responseUtterances`
|
5005
|
+
# @return [String]
|
5006
|
+
attr_accessor :response_utterances
|
5007
|
+
|
5008
|
+
def initialize(**args)
|
5009
|
+
update!(**args)
|
5010
|
+
end
|
5011
|
+
|
5012
|
+
# Update properties of this object
|
5013
|
+
def update!(**args)
|
5014
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5015
|
+
@missing_transition = args[:missing_transition] if args.key?(:missing_transition)
|
5016
|
+
@partial_responses = args[:partial_responses] if args.key?(:partial_responses)
|
5017
|
+
@request = args[:request] if args.key?(:request)
|
5018
|
+
@request_utterances = args[:request_utterances] if args.key?(:request_utterances)
|
5019
|
+
@response = args[:response] if args.key?(:response)
|
5020
|
+
@response_utterances = args[:response_utterances] if args.key?(:response_utterances)
|
5021
|
+
end
|
5022
|
+
end
|
5023
|
+
|
5024
|
+
# Information collected for DF CX agents in case NLU predicted an intent that
|
5025
|
+
# was filtered out as being inactive which may indicate a missing transition and/
|
5026
|
+
# or absent functionality.
|
5027
|
+
class GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition
|
5028
|
+
include Google::Apis::Core::Hashable
|
5029
|
+
|
5030
|
+
# Name of the intent that could have triggered.
|
5031
|
+
# Corresponds to the JSON property `intentDisplayName`
|
5032
|
+
# @return [String]
|
5033
|
+
attr_accessor :intent_display_name
|
5034
|
+
|
5035
|
+
# Score of the above intent. The higher it is the more likely a transition was
|
5036
|
+
# missed on a given page.
|
5037
|
+
# Corresponds to the JSON property `score`
|
5038
|
+
# @return [Float]
|
5039
|
+
attr_accessor :score
|
5040
|
+
|
5041
|
+
def initialize(**args)
|
5042
|
+
update!(**args)
|
5043
|
+
end
|
5044
|
+
|
5045
|
+
# Update properties of this object
|
5046
|
+
def update!(**args)
|
5047
|
+
@intent_display_name = args[:intent_display_name] if args.key?(:intent_display_name)
|
5048
|
+
@score = args[:score] if args.key?(:score)
|
5049
|
+
end
|
5050
|
+
end
|
5051
|
+
|
5052
|
+
# Represents metrics for the conversation.
|
5053
|
+
class GoogleCloudDialogflowCxV3beta1ConversationMetrics
|
5054
|
+
include Google::Apis::Core::Hashable
|
5055
|
+
|
5056
|
+
# The average confidence all of the Match in the conversation. Values range from
|
5057
|
+
# 0.0 (completely uncertain) to 1.0 (completely certain).
|
5058
|
+
# Corresponds to the JSON property `averageMatchConfidence`
|
5059
|
+
# @return [Float]
|
5060
|
+
attr_accessor :average_match_confidence
|
5061
|
+
|
5062
|
+
# A signal that indicates the interaction with the Dialogflow agent has ended.
|
5063
|
+
# If any response has the ResponseMessage.end_interaction signal, this is set to
|
5064
|
+
# true.
|
5065
|
+
# Corresponds to the JSON property `hasEndInteraction`
|
5066
|
+
# @return [Boolean]
|
5067
|
+
attr_accessor :has_end_interaction
|
5068
|
+
alias_method :has_end_interaction?, :has_end_interaction
|
5069
|
+
|
5070
|
+
# Hands off conversation to a human agent. If any response has the
|
5071
|
+
# ResponseMessage.live_agent_handoffsignal, this is set to true.
|
5072
|
+
# Corresponds to the JSON property `hasLiveAgentHandoff`
|
5073
|
+
# @return [Boolean]
|
5074
|
+
attr_accessor :has_live_agent_handoff
|
5075
|
+
alias_method :has_live_agent_handoff?, :has_live_agent_handoff
|
5076
|
+
|
5077
|
+
# Duration of all the input's audio in the conversation.
|
5078
|
+
# Corresponds to the JSON property `inputAudioDuration`
|
5079
|
+
# @return [String]
|
5080
|
+
attr_accessor :input_audio_duration
|
5081
|
+
|
5082
|
+
# The number of interactions in the conversation.
|
5083
|
+
# Corresponds to the JSON property `interactionCount`
|
5084
|
+
# @return [Fixnum]
|
5085
|
+
attr_accessor :interaction_count
|
5086
|
+
|
5087
|
+
# Count by Match.MatchType of the matches in the conversation.
|
5088
|
+
# Corresponds to the JSON property `matchTypeCount`
|
5089
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount]
|
5090
|
+
attr_accessor :match_type_count
|
5091
|
+
|
5092
|
+
# Maximum latency of the Webhook calls in the conversation.
|
5093
|
+
# Corresponds to the JSON property `maxWebhookLatency`
|
5094
|
+
# @return [String]
|
5095
|
+
attr_accessor :max_webhook_latency
|
5096
|
+
|
5097
|
+
# Duration of all the output's audio in the conversation.
|
5098
|
+
# Corresponds to the JSON property `outputAudioDuration`
|
5099
|
+
# @return [String]
|
5100
|
+
attr_accessor :output_audio_duration
|
5101
|
+
|
5102
|
+
# Count by types of QueryInput of the requests in the conversation.
|
5103
|
+
# Corresponds to the JSON property `queryInputCount`
|
5104
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount]
|
5105
|
+
attr_accessor :query_input_count
|
5106
|
+
|
5107
|
+
def initialize(**args)
|
5108
|
+
update!(**args)
|
5109
|
+
end
|
5110
|
+
|
5111
|
+
# Update properties of this object
|
5112
|
+
def update!(**args)
|
5113
|
+
@average_match_confidence = args[:average_match_confidence] if args.key?(:average_match_confidence)
|
5114
|
+
@has_end_interaction = args[:has_end_interaction] if args.key?(:has_end_interaction)
|
5115
|
+
@has_live_agent_handoff = args[:has_live_agent_handoff] if args.key?(:has_live_agent_handoff)
|
5116
|
+
@input_audio_duration = args[:input_audio_duration] if args.key?(:input_audio_duration)
|
5117
|
+
@interaction_count = args[:interaction_count] if args.key?(:interaction_count)
|
5118
|
+
@match_type_count = args[:match_type_count] if args.key?(:match_type_count)
|
5119
|
+
@max_webhook_latency = args[:max_webhook_latency] if args.key?(:max_webhook_latency)
|
5120
|
+
@output_audio_duration = args[:output_audio_duration] if args.key?(:output_audio_duration)
|
5121
|
+
@query_input_count = args[:query_input_count] if args.key?(:query_input_count)
|
5122
|
+
end
|
5123
|
+
end
|
5124
|
+
|
5125
|
+
# Count by Match.MatchType of the matches in the conversation.
|
5126
|
+
class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
|
5127
|
+
include Google::Apis::Core::Hashable
|
5128
|
+
|
5129
|
+
# The number of matches with type Match.MatchType.DIRECT_INTENT.
|
5130
|
+
# Corresponds to the JSON property `directIntentCount`
|
5131
|
+
# @return [Fixnum]
|
5132
|
+
attr_accessor :direct_intent_count
|
5133
|
+
|
5134
|
+
# The number of matches with type Match.MatchType.EVENT.
|
5135
|
+
# Corresponds to the JSON property `eventCount`
|
5136
|
+
# @return [Fixnum]
|
5137
|
+
attr_accessor :event_count
|
5138
|
+
|
5139
|
+
# The number of matches with type Match.MatchType.INTENT.
|
5140
|
+
# Corresponds to the JSON property `intentCount`
|
5141
|
+
# @return [Fixnum]
|
5142
|
+
attr_accessor :intent_count
|
5143
|
+
|
5144
|
+
# The number of matches with type Match.MatchType.NO_INPUT.
|
5145
|
+
# Corresponds to the JSON property `noInputCount`
|
5146
|
+
# @return [Fixnum]
|
5147
|
+
attr_accessor :no_input_count
|
5148
|
+
|
5149
|
+
# The number of matches with type Match.MatchType.NO_MATCH.
|
5150
|
+
# Corresponds to the JSON property `noMatchCount`
|
5151
|
+
# @return [Fixnum]
|
5152
|
+
attr_accessor :no_match_count
|
5153
|
+
|
5154
|
+
# The number of matches with type Match.MatchType.PARAMETER_FILLING.
|
5155
|
+
# Corresponds to the JSON property `parameterFillingCount`
|
5156
|
+
# @return [Fixnum]
|
5157
|
+
attr_accessor :parameter_filling_count
|
5158
|
+
|
5159
|
+
# The number of matches with type Match.MatchType.MATCH_TYPE_UNSPECIFIED.
|
5160
|
+
# Corresponds to the JSON property `unspecifiedCount`
|
5161
|
+
# @return [Fixnum]
|
5162
|
+
attr_accessor :unspecified_count
|
5163
|
+
|
5164
|
+
def initialize(**args)
|
5165
|
+
update!(**args)
|
5166
|
+
end
|
5167
|
+
|
5168
|
+
# Update properties of this object
|
5169
|
+
def update!(**args)
|
5170
|
+
@direct_intent_count = args[:direct_intent_count] if args.key?(:direct_intent_count)
|
5171
|
+
@event_count = args[:event_count] if args.key?(:event_count)
|
5172
|
+
@intent_count = args[:intent_count] if args.key?(:intent_count)
|
5173
|
+
@no_input_count = args[:no_input_count] if args.key?(:no_input_count)
|
5174
|
+
@no_match_count = args[:no_match_count] if args.key?(:no_match_count)
|
5175
|
+
@parameter_filling_count = args[:parameter_filling_count] if args.key?(:parameter_filling_count)
|
5176
|
+
@unspecified_count = args[:unspecified_count] if args.key?(:unspecified_count)
|
5177
|
+
end
|
5178
|
+
end
|
5179
|
+
|
5180
|
+
# Count by types of QueryInput of the requests in the conversation.
|
5181
|
+
class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
|
5182
|
+
include Google::Apis::Core::Hashable
|
5183
|
+
|
5184
|
+
# The number of AudioInput in the conversation.
|
5185
|
+
# Corresponds to the JSON property `audioCount`
|
5186
|
+
# @return [Fixnum]
|
5187
|
+
attr_accessor :audio_count
|
5188
|
+
|
5189
|
+
# The number of DtmfInput in the conversation.
|
5190
|
+
# Corresponds to the JSON property `dtmfCount`
|
5191
|
+
# @return [Fixnum]
|
5192
|
+
attr_accessor :dtmf_count
|
5193
|
+
|
5194
|
+
# The number of EventInput in the conversation.
|
5195
|
+
# Corresponds to the JSON property `eventCount`
|
5196
|
+
# @return [Fixnum]
|
5197
|
+
attr_accessor :event_count
|
5198
|
+
|
5199
|
+
# The number of IntentInput in the conversation.
|
5200
|
+
# Corresponds to the JSON property `intentCount`
|
5201
|
+
# @return [Fixnum]
|
5202
|
+
attr_accessor :intent_count
|
5203
|
+
|
5204
|
+
# The number of TextInput in the conversation.
|
5205
|
+
# Corresponds to the JSON property `textCount`
|
5206
|
+
# @return [Fixnum]
|
5207
|
+
attr_accessor :text_count
|
5208
|
+
|
5209
|
+
def initialize(**args)
|
5210
|
+
update!(**args)
|
5211
|
+
end
|
5212
|
+
|
5213
|
+
# Update properties of this object
|
5214
|
+
def update!(**args)
|
5215
|
+
@audio_count = args[:audio_count] if args.key?(:audio_count)
|
5216
|
+
@dtmf_count = args[:dtmf_count] if args.key?(:dtmf_count)
|
5217
|
+
@event_count = args[:event_count] if args.key?(:event_count)
|
5218
|
+
@intent_count = args[:intent_count] if args.key?(:intent_count)
|
5219
|
+
@text_count = args[:text_count] if args.key?(:text_count)
|
5220
|
+
end
|
5221
|
+
end
|
5222
|
+
|
4803
5223
|
# This message is used to hold all the Conversation Signals data, which will be
|
4804
5224
|
# converted to JSON and exported to BigQuery.
|
4805
5225
|
class GoogleCloudDialogflowCxV3beta1ConversationSignals
|
@@ -5488,6 +5908,20 @@ module Google
|
|
5488
5908
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters]
|
5489
5909
|
attr_accessor :query_params
|
5490
5910
|
|
5911
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
5912
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
5913
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
5914
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
5915
|
+
# It can be a random number or some type of session identifiers (preferably
|
5916
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters. For
|
5917
|
+
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
|
5918
|
+
# cx/docs/concept/session). Note: Always use agent versions for production
|
5919
|
+
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
5920
|
+
# cx/docs/concept/version).
|
5921
|
+
# Corresponds to the JSON property `session`
|
5922
|
+
# @return [String]
|
5923
|
+
attr_accessor :session
|
5924
|
+
|
5491
5925
|
def initialize(**args)
|
5492
5926
|
update!(**args)
|
5493
5927
|
end
|
@@ -5497,6 +5931,7 @@ module Google
|
|
5497
5931
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
5498
5932
|
@query_input = args[:query_input] if args.key?(:query_input)
|
5499
5933
|
@query_params = args[:query_params] if args.key?(:query_params)
|
5934
|
+
@session = args[:session] if args.key?(:session)
|
5500
5935
|
end
|
5501
5936
|
end
|
5502
5937
|
|
@@ -8451,6 +8886,37 @@ module Google
|
|
8451
8886
|
end
|
8452
8887
|
end
|
8453
8888
|
|
8889
|
+
# Represents the language information of the request.
|
8890
|
+
class GoogleCloudDialogflowCxV3beta1LanguageInfo
|
8891
|
+
include Google::Apis::Core::Hashable
|
8892
|
+
|
8893
|
+
# The confidence score of the detected language between 0 and 1.
|
8894
|
+
# Corresponds to the JSON property `confidenceScore`
|
8895
|
+
# @return [Float]
|
8896
|
+
attr_accessor :confidence_score
|
8897
|
+
|
8898
|
+
# The language code specified in the original request.
|
8899
|
+
# Corresponds to the JSON property `inputLanguageCode`
|
8900
|
+
# @return [String]
|
8901
|
+
attr_accessor :input_language_code
|
8902
|
+
|
8903
|
+
# The language code detected for this request based on the user conversation.
|
8904
|
+
# Corresponds to the JSON property `resolvedLanguageCode`
|
8905
|
+
# @return [String]
|
8906
|
+
attr_accessor :resolved_language_code
|
8907
|
+
|
8908
|
+
def initialize(**args)
|
8909
|
+
update!(**args)
|
8910
|
+
end
|
8911
|
+
|
8912
|
+
# Update properties of this object
|
8913
|
+
def update!(**args)
|
8914
|
+
@confidence_score = args[:confidence_score] if args.key?(:confidence_score)
|
8915
|
+
@input_language_code = args[:input_language_code] if args.key?(:input_language_code)
|
8916
|
+
@resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
|
8917
|
+
end
|
8918
|
+
end
|
8919
|
+
|
8454
8920
|
# The response message for Agents.ListAgents.
|
8455
8921
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
8456
8922
|
include Google::Apis::Core::Hashable
|
@@ -8532,6 +8998,34 @@ module Google
|
|
8532
8998
|
end
|
8533
8999
|
end
|
8534
9000
|
|
9001
|
+
# The response message for Conversations.ListConversations.
|
9002
|
+
class GoogleCloudDialogflowCxV3beta1ListConversationsResponse
|
9003
|
+
include Google::Apis::Core::Hashable
|
9004
|
+
|
9005
|
+
# The list of conversations. There will be a maximum number of items returned
|
9006
|
+
# based on the page_size field. The returned conversations will be sorted by
|
9007
|
+
# start_time in descending order (newest conversation first).
|
9008
|
+
# Corresponds to the JSON property `conversations`
|
9009
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation>]
|
9010
|
+
attr_accessor :conversations
|
9011
|
+
|
9012
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
9013
|
+
# results in the list.
|
9014
|
+
# Corresponds to the JSON property `nextPageToken`
|
9015
|
+
# @return [String]
|
9016
|
+
attr_accessor :next_page_token
|
9017
|
+
|
9018
|
+
def initialize(**args)
|
9019
|
+
update!(**args)
|
9020
|
+
end
|
9021
|
+
|
9022
|
+
# Update properties of this object
|
9023
|
+
def update!(**args)
|
9024
|
+
@conversations = args[:conversations] if args.key?(:conversations)
|
9025
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9026
|
+
end
|
9027
|
+
end
|
9028
|
+
|
8535
9029
|
# The response message for Deployments.ListDeployments.
|
8536
9030
|
class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
8537
9031
|
include Google::Apis::Core::Hashable
|
@@ -10798,6 +11292,13 @@ module Google
|
|
10798
11292
|
# @return [String]
|
10799
11293
|
attr_accessor :gcs_bucket
|
10800
11294
|
|
11295
|
+
# Whether to store TTS audio. By default, TTS audio from the virtual agent is
|
11296
|
+
# not exported.
|
11297
|
+
# Corresponds to the JSON property `storeTtsAudio`
|
11298
|
+
# @return [Boolean]
|
11299
|
+
attr_accessor :store_tts_audio
|
11300
|
+
alias_method :store_tts_audio?, :store_tts_audio
|
11301
|
+
|
10801
11302
|
def initialize(**args)
|
10802
11303
|
update!(**args)
|
10803
11304
|
end
|
@@ -10808,6 +11309,7 @@ module Google
|
|
10808
11309
|
@audio_format = args[:audio_format] if args.key?(:audio_format)
|
10809
11310
|
@enable_audio_redaction = args[:enable_audio_redaction] if args.key?(:enable_audio_redaction)
|
10810
11311
|
@gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
|
11312
|
+
@store_tts_audio = args[:store_tts_audio] if args.key?(:store_tts_audio)
|
10811
11313
|
end
|
10812
11314
|
end
|
10813
11315
|
|
@@ -12284,6 +12786,11 @@ module Google
|
|
12284
12786
|
# @return [String]
|
12285
12787
|
attr_accessor :language_code
|
12286
12788
|
|
12789
|
+
# Represents the language information of the request.
|
12790
|
+
# Corresponds to the JSON property `languageInfo`
|
12791
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo]
|
12792
|
+
attr_accessor :language_info
|
12793
|
+
|
12287
12794
|
# The list of rich message responses to present to the user. Webhook can choose
|
12288
12795
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
12289
12796
|
# Corresponds to the JSON property `messages`
|
@@ -12345,6 +12852,7 @@ module Google
|
|
12345
12852
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
12346
12853
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
12347
12854
|
@language_code = args[:language_code] if args.key?(:language_code)
|
12855
|
+
@language_info = args[:language_info] if args.key?(:language_info)
|
12348
12856
|
@messages = args[:messages] if args.key?(:messages)
|
12349
12857
|
@page_info = args[:page_info] if args.key?(:page_info)
|
12350
12858
|
@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.
|
19
|
+
GEM_VERSION = "0.86.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240507"
|
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
|
|
@@ -3172,7 +3226,9 @@ module Google
|
|
3172
3226
|
# @private
|
3173
3227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3174
3228
|
property :enabled, as: 'enabled'
|
3229
|
+
property :endpointing_timeout_duration, as: 'endpointingTimeoutDuration'
|
3175
3230
|
property :finish_digit, as: 'finishDigit'
|
3231
|
+
property :interdigit_timeout_duration, as: 'interdigitTimeoutDuration'
|
3176
3232
|
property :max_digits, as: 'maxDigits'
|
3177
3233
|
end
|
3178
3234
|
end
|
@@ -3733,6 +3789,15 @@ module Google
|
|
3733
3789
|
end
|
3734
3790
|
end
|
3735
3791
|
|
3792
|
+
class GoogleCloudDialogflowCxV3LanguageInfo
|
3793
|
+
# @private
|
3794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3795
|
+
property :confidence_score, as: 'confidenceScore'
|
3796
|
+
property :input_language_code, as: 'inputLanguageCode'
|
3797
|
+
property :resolved_language_code, as: 'resolvedLanguageCode'
|
3798
|
+
end
|
3799
|
+
end
|
3800
|
+
|
3736
3801
|
class GoogleCloudDialogflowCxV3Page
|
3737
3802
|
# @private
|
3738
3803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4112,6 +4177,8 @@ module Google
|
|
4112
4177
|
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
|
4113
4178
|
|
4114
4179
|
property :language_code, as: 'languageCode'
|
4180
|
+
property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3LanguageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3LanguageInfo::Representation
|
4181
|
+
|
4115
4182
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
4116
4183
|
|
4117
4184
|
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
|
@@ -4213,7 +4280,9 @@ module Google
|
|
4213
4280
|
# @private
|
4214
4281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4215
4282
|
property :enabled, as: 'enabled'
|
4283
|
+
property :endpointing_timeout_duration, as: 'endpointingTimeoutDuration'
|
4216
4284
|
property :finish_digit, as: 'finishDigit'
|
4285
|
+
property :interdigit_timeout_duration, as: 'interdigitTimeoutDuration'
|
4217
4286
|
property :max_digits, as: 'maxDigits'
|
4218
4287
|
end
|
4219
4288
|
end
|
@@ -4463,6 +4532,96 @@ module Google
|
|
4463
4532
|
end
|
4464
4533
|
end
|
4465
4534
|
|
4535
|
+
class GoogleCloudDialogflowCxV3beta1Conversation
|
4536
|
+
# @private
|
4537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4538
|
+
property :duration, as: 'duration'
|
4539
|
+
property :environment, as: 'environment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
4540
|
+
|
4541
|
+
hash :flow_versions, as: 'flowVersions'
|
4542
|
+
collection :flows, as: 'flows', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
|
4543
|
+
|
4544
|
+
collection :intents, as: 'intents', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
4545
|
+
|
4546
|
+
collection :interactions, as: 'interactions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction::Representation
|
4547
|
+
|
4548
|
+
property :language_code, as: 'languageCode'
|
4549
|
+
property :metrics, as: 'metrics', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics::Representation
|
4550
|
+
|
4551
|
+
property :name, as: 'name'
|
4552
|
+
collection :pages, as: 'pages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
4553
|
+
|
4554
|
+
property :start_time, as: 'startTime'
|
4555
|
+
property :type, as: 'type'
|
4556
|
+
end
|
4557
|
+
end
|
4558
|
+
|
4559
|
+
class GoogleCloudDialogflowCxV3beta1ConversationInteraction
|
4560
|
+
# @private
|
4561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4562
|
+
property :create_time, as: 'createTime'
|
4563
|
+
property :missing_transition, as: 'missingTransition', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition::Representation
|
4564
|
+
|
4565
|
+
collection :partial_responses, as: 'partialResponses', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
|
4566
|
+
|
4567
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation
|
4568
|
+
|
4569
|
+
property :request_utterances, as: 'requestUtterances'
|
4570
|
+
property :response, as: 'response', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
|
4571
|
+
|
4572
|
+
property :response_utterances, as: 'responseUtterances'
|
4573
|
+
end
|
4574
|
+
end
|
4575
|
+
|
4576
|
+
class GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition
|
4577
|
+
# @private
|
4578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4579
|
+
property :intent_display_name, as: 'intentDisplayName'
|
4580
|
+
property :score, as: 'score'
|
4581
|
+
end
|
4582
|
+
end
|
4583
|
+
|
4584
|
+
class GoogleCloudDialogflowCxV3beta1ConversationMetrics
|
4585
|
+
# @private
|
4586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4587
|
+
property :average_match_confidence, as: 'averageMatchConfidence'
|
4588
|
+
property :has_end_interaction, as: 'hasEndInteraction'
|
4589
|
+
property :has_live_agent_handoff, as: 'hasLiveAgentHandoff'
|
4590
|
+
property :input_audio_duration, as: 'inputAudioDuration'
|
4591
|
+
property :interaction_count, as: 'interactionCount'
|
4592
|
+
property :match_type_count, as: 'matchTypeCount', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount::Representation
|
4593
|
+
|
4594
|
+
property :max_webhook_latency, as: 'maxWebhookLatency'
|
4595
|
+
property :output_audio_duration, as: 'outputAudioDuration'
|
4596
|
+
property :query_input_count, as: 'queryInputCount', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount::Representation
|
4597
|
+
|
4598
|
+
end
|
4599
|
+
end
|
4600
|
+
|
4601
|
+
class GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount
|
4602
|
+
# @private
|
4603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4604
|
+
property :direct_intent_count, as: 'directIntentCount'
|
4605
|
+
property :event_count, as: 'eventCount'
|
4606
|
+
property :intent_count, as: 'intentCount'
|
4607
|
+
property :no_input_count, as: 'noInputCount'
|
4608
|
+
property :no_match_count, as: 'noMatchCount'
|
4609
|
+
property :parameter_filling_count, as: 'parameterFillingCount'
|
4610
|
+
property :unspecified_count, as: 'unspecifiedCount'
|
4611
|
+
end
|
4612
|
+
end
|
4613
|
+
|
4614
|
+
class GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount
|
4615
|
+
# @private
|
4616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4617
|
+
property :audio_count, as: 'audioCount'
|
4618
|
+
property :dtmf_count, as: 'dtmfCount'
|
4619
|
+
property :event_count, as: 'eventCount'
|
4620
|
+
property :intent_count, as: 'intentCount'
|
4621
|
+
property :text_count, as: 'textCount'
|
4622
|
+
end
|
4623
|
+
end
|
4624
|
+
|
4466
4625
|
class GoogleCloudDialogflowCxV3beta1ConversationSignals
|
4467
4626
|
# @private
|
4468
4627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4676,6 +4835,7 @@ module Google
|
|
4676
4835
|
|
4677
4836
|
property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters::Representation
|
4678
4837
|
|
4838
|
+
property :session, as: 'session'
|
4679
4839
|
end
|
4680
4840
|
end
|
4681
4841
|
|
@@ -5465,6 +5625,15 @@ module Google
|
|
5465
5625
|
end
|
5466
5626
|
end
|
5467
5627
|
|
5628
|
+
class GoogleCloudDialogflowCxV3beta1LanguageInfo
|
5629
|
+
# @private
|
5630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5631
|
+
property :confidence_score, as: 'confidenceScore'
|
5632
|
+
property :input_language_code, as: 'inputLanguageCode'
|
5633
|
+
property :resolved_language_code, as: 'resolvedLanguageCode'
|
5634
|
+
end
|
5635
|
+
end
|
5636
|
+
|
5468
5637
|
class GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
5469
5638
|
# @private
|
5470
5639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5492,6 +5661,15 @@ module Google
|
|
5492
5661
|
end
|
5493
5662
|
end
|
5494
5663
|
|
5664
|
+
class GoogleCloudDialogflowCxV3beta1ListConversationsResponse
|
5665
|
+
# @private
|
5666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5667
|
+
collection :conversations, as: 'conversations', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation::Representation
|
5668
|
+
|
5669
|
+
property :next_page_token, as: 'nextPageToken'
|
5670
|
+
end
|
5671
|
+
end
|
5672
|
+
|
5495
5673
|
class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
|
5496
5674
|
# @private
|
5497
5675
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6095,6 +6273,7 @@ module Google
|
|
6095
6273
|
property :audio_format, as: 'audioFormat'
|
6096
6274
|
property :enable_audio_redaction, as: 'enableAudioRedaction'
|
6097
6275
|
property :gcs_bucket, as: 'gcsBucket'
|
6276
|
+
property :store_tts_audio, as: 'storeTtsAudio'
|
6098
6277
|
end
|
6099
6278
|
end
|
6100
6279
|
|
@@ -6496,6 +6675,8 @@ module Google
|
|
6496
6675
|
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
|
6497
6676
|
|
6498
6677
|
property :language_code, as: 'languageCode'
|
6678
|
+
property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo::Representation
|
6679
|
+
|
6499
6680
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
6500
6681
|
|
6501
6682
|
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.
|
4
|
+
version: 0.86.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-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.86.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: []
|