google-cloud-dialogflow-v2 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/answer_records/paths.rb +70 -4
- data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/ces_app_pb.rb +25 -0
- data/lib/google/cloud/dialogflow/v2/ces_tool_pb.rb +25 -0
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +6 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +70 -4
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/paths.rb +70 -4
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/generator_pb.rb +4 -1
- data/lib/google/cloud/dialogflow/v2/generators/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/generators/paths.rb +70 -4
- data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +11 -1
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/rest.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/tool_call_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/tools/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/tools/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/toolset_pb.rb +25 -0
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +2 -0
- data/lib/google/cloud/dialogflow/v2.rb +1 -1
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/dialogflow/v2/ces_app.rb +39 -0
- data/proto_docs/google/cloud/dialogflow/v2/ces_tool.rb +39 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +106 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +24 -0
- data/proto_docs/google/cloud/dialogflow/v2/generator.rb +9 -0
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +271 -0
- data/proto_docs/google/cloud/dialogflow/v2/tool_call.rb +46 -0
- data/proto_docs/google/cloud/dialogflow/v2/toolset.rb +44 -0
- data/proto_docs/google/type/latlng.rb +3 -3
- metadata +9 -3
|
@@ -24,6 +24,25 @@ module Google
|
|
|
24
24
|
module GeneratorEvaluations
|
|
25
25
|
# Path helper methods for the GeneratorEvaluations API.
|
|
26
26
|
module Paths
|
|
27
|
+
##
|
|
28
|
+
# Create a fully-qualified App resource string.
|
|
29
|
+
#
|
|
30
|
+
# The resource will be in the following format:
|
|
31
|
+
#
|
|
32
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
33
|
+
#
|
|
34
|
+
# @param project [String]
|
|
35
|
+
# @param location [String]
|
|
36
|
+
# @param app [String]
|
|
37
|
+
#
|
|
38
|
+
# @return [::String]
|
|
39
|
+
def app_path project:, location:, app:
|
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
42
|
+
|
|
43
|
+
"projects/#{project}/locations/#{location}/apps/#{app}"
|
|
44
|
+
end
|
|
45
|
+
|
|
27
46
|
##
|
|
28
47
|
# Create a fully-qualified Generator resource string.
|
|
29
48
|
#
|
|
@@ -67,20 +86,67 @@ module Google
|
|
|
67
86
|
##
|
|
68
87
|
# Create a fully-qualified Tool resource string.
|
|
69
88
|
#
|
|
89
|
+
# @overload tool_path(project:, location:, tool:)
|
|
90
|
+
# The resource will be in the following format:
|
|
91
|
+
#
|
|
92
|
+
# `projects/{project}/locations/{location}/tools/{tool}`
|
|
93
|
+
#
|
|
94
|
+
# @param project [String]
|
|
95
|
+
# @param location [String]
|
|
96
|
+
# @param tool [String]
|
|
97
|
+
#
|
|
98
|
+
# @overload tool_path(project:, location:, app:, tool:)
|
|
99
|
+
# The resource will be in the following format:
|
|
100
|
+
#
|
|
101
|
+
# `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
|
|
102
|
+
#
|
|
103
|
+
# @param project [String]
|
|
104
|
+
# @param location [String]
|
|
105
|
+
# @param app [String]
|
|
106
|
+
# @param tool [String]
|
|
107
|
+
#
|
|
108
|
+
# @return [::String]
|
|
109
|
+
def tool_path **args
|
|
110
|
+
resources = {
|
|
111
|
+
"location:project:tool" => (proc do |project:, location:, tool:|
|
|
112
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
113
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
114
|
+
|
|
115
|
+
"projects/#{project}/locations/#{location}/tools/#{tool}"
|
|
116
|
+
end),
|
|
117
|
+
"app:location:project:tool" => (proc do |project:, location:, app:, tool:|
|
|
118
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
119
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
120
|
+
raise ::ArgumentError, "app cannot contain /" if app.to_s.include? "/"
|
|
121
|
+
|
|
122
|
+
"projects/#{project}/locations/#{location}/apps/#{app}/tools/#{tool}"
|
|
123
|
+
end)
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
resource = resources[args.keys.sort.join(":")]
|
|
127
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
|
128
|
+
resource.call(**args)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
##
|
|
132
|
+
# Create a fully-qualified Toolset resource string.
|
|
133
|
+
#
|
|
70
134
|
# The resource will be in the following format:
|
|
71
135
|
#
|
|
72
|
-
# `projects/{project}/locations/{location}/
|
|
136
|
+
# `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
|
|
73
137
|
#
|
|
74
138
|
# @param project [String]
|
|
75
139
|
# @param location [String]
|
|
76
|
-
# @param
|
|
140
|
+
# @param app [String]
|
|
141
|
+
# @param toolset [String]
|
|
77
142
|
#
|
|
78
143
|
# @return [::String]
|
|
79
|
-
def
|
|
144
|
+
def toolset_path project:, location:, app:, toolset:
|
|
80
145
|
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
81
146
|
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
147
|
+
raise ::ArgumentError, "app cannot contain /" if app.to_s.include? "/"
|
|
82
148
|
|
|
83
|
-
"projects/#{project}/locations/#{location}/
|
|
149
|
+
"projects/#{project}/locations/#{location}/apps/#{app}/toolsets/#{toolset}"
|
|
84
150
|
end
|
|
85
151
|
|
|
86
152
|
extend self
|
|
@@ -624,6 +624,7 @@ module Google
|
|
|
624
624
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
625
625
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
626
626
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
627
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
627
628
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
628
629
|
# trigger a retry.
|
|
629
630
|
# @return [::Hash]
|
|
@@ -703,6 +704,7 @@ module Google
|
|
|
703
704
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
705
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
706
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
707
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
708
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
709
|
# trigger a retry.
|
|
708
710
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -9,13 +9,16 @@ require 'google/api/client_pb'
|
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
|
11
11
|
require 'google/cloud/dialogflow/v2/agent_coaching_instruction_pb'
|
|
12
|
+
require 'google/cloud/dialogflow/v2/ces_app_pb'
|
|
13
|
+
require 'google/cloud/dialogflow/v2/ces_tool_pb'
|
|
12
14
|
require 'google/cloud/dialogflow/v2/tool_call_pb'
|
|
15
|
+
require 'google/cloud/dialogflow/v2/toolset_pb'
|
|
13
16
|
require 'google/protobuf/empty_pb'
|
|
14
17
|
require 'google/protobuf/field_mask_pb'
|
|
15
18
|
require 'google/protobuf/timestamp_pb'
|
|
16
19
|
|
|
17
20
|
|
|
18
|
-
descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/dialogflow/v2/agent_coaching_instruction.proto\x1a*google/cloud/dialogflow/v2/tool_call.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xc3\x01\n\x14\x41gentCoachingContext\x12!\n\x14overarching_guidance\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12O\n\x0cinstructions\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.v2.AgentCoachingInstructionB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\t \x01(\tB\x03\xe0\x41\x01\"\xdc\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xce\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\x12\x15\n\x11SITUATION_CONCISE\x10\t\x12\x12\n\x0e\x41\x43TION_CONCISE\x10\n\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"$\n\x0f\x46reeFormContext\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x86\x07\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x11\x66ree_form_context\x18\x0b \x01(\x0b\x32+.google.cloud.dialogflow.v2.FreeFormContextH\x00\x12R\n\x16\x61gent_coaching_context\x18\x0c \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.AgentCoachingContextH\x00\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x1e\n\x0fpublished_model\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x05tools\x18\x0e \x03(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Tool\x12]\n\x1asuggestion_deduping_config\x18\x17 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SuggestionDedupingConfigB\x03\xe0\x41\x01:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontextB\x12\n\x10\x66oundation_model\"+\n\x12\x46reeFormSuggestion\x12\x15\n\x08response\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc0\t\n\x17\x41gentCoachingSuggestion\x12Z\n\x17\x61pplicable_instructions\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.v2.AgentCoachingInstructionB\x03\xe0\x41\x01\x12p\n\x18\x61gent_action_suggestions\x18\x02 \x03(\x0b\x32I.google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestionB\x03\xe0\x41\x01\x12\x61\n\x10sample_responses\x18\x03 \x03(\x0b\x32\x42.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponseB\x03\xe0\x41\x01\x1a+\n\x07Sources\x12 \n\x13instruction_indexes\x18\x02 \x03(\x05\x42\x03\xe0\x41\x03\x1a\xde\x02\n\x14\x44uplicateCheckResult\x12\x80\x01\n\x15\x64uplicate_suggestions\x18\x01 \x03(\x0b\x32\\.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestionB\x03\xe0\x41\x03\x1a\xc2\x01\n\x13\x44uplicateSuggestion\x12\x1a\n\ranswer_record\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12\x1d\n\x10suggestion_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1d\n\x10similarity_score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x03\x1a\xf4\x01\n\x15\x41gentActionSuggestion\x12\x19\n\x0c\x61gent_action\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12m\n\x16\x64uplicate_check_result\x18\x03 \x01(\x0b\x32H.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResultB\x03\xe0\x41\x03\x1a\xee\x01\n\x0eSampleResponse\x12\x1a\n\rresponse_text\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12m\n\x16\x64uplicate_check_result\x18\x03 \x01(\x0b\x32H.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResultB\x03\xe0\x41\x03\"\x9e\x04\n\x13GeneratorSuggestion\x12S\n\x14\x66ree_form_suggestion\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.v2.FreeFormSuggestionB\x03\xe0\x41\x01H\x00\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x12]\n\x19\x61gent_coaching_suggestion\x18\x03 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.AgentCoachingSuggestionB\x03\xe0\x41\x01H\x00\x12Y\n\x0etool_call_info\x18\t \x03(\x0b\x32<.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfoB\x03\xe0\x41\x01\x1a\x97\x01\n\x0cToolCallInfo\x12<\n\ttool_call\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.ToolCallB\x03\xe0\x41\x02\x12I\n\x10tool_call_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.ToolCallResultB\x03\xe0\x41\x02\x42\x0c\n\nsuggestion\"[\n\x18SuggestionDedupingConfig\x12\x1c\n\x0f\x65nable_deduping\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14similarity_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\xb8\x04\n\x0bRaiSettings\x12W\n\x14rai_category_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig\x1a\xcf\x03\n\x11RaiCategoryConfig\x12\\\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.RaiCategoryB\x03\xe0\x41\x01\x12j\n\x11sensitivity_level\x18\x02 \x01(\x0e\x32J.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.SensitivityLevelB\x03\xe0\x41\x01\"z\n\x0bRaiCategory\x12\x1c\n\x18RAI_CATEGORY_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44\x41NGEROUS_CONTENT\x10\x01\x12\x15\n\x11SEXUALLY_EXPLICIT\x10\x02\x12\x0e\n\nHARASSMENT\x10\x03\x12\x0f\n\x0bHATE_SPEECH\x10\x04\"t\n\x10SensitivityLevel\x12!\n\x1dSENSITIVITY_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n\nBLOCK_MOST\x10\x01\x12\x0e\n\nBLOCK_SOME\x10\x02\x12\r\n\tBLOCK_FEW\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04*}\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x12\x14\n\x10\x43USTOMER_MESSAGE\x10\x03\x12\x11\n\rAGENT_MESSAGE\x10\x04\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x91\x02\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}b\x06proto3"
|
|
21
|
+
descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/dialogflow/v2/agent_coaching_instruction.proto\x1a(google/cloud/dialogflow/v2/ces_app.proto\x1a)google/cloud/dialogflow/v2/ces_tool.proto\x1a*google/cloud/dialogflow/v2/tool_call.proto\x1a(google/cloud/dialogflow/v2/toolset.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xc3\x01\n\x14\x41gentCoachingContext\x12!\n\x14overarching_guidance\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12O\n\x0cinstructions\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.v2.AgentCoachingInstructionB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\t \x01(\tB\x03\xe0\x41\x01\"\xdc\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xce\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\x12\x15\n\x11SITUATION_CONCISE\x10\t\x12\x12\n\x0e\x41\x43TION_CONCISE\x10\n\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"$\n\x0f\x46reeFormContext\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xd5\x08\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x11\x66ree_form_context\x18\x0b \x01(\x0b\x32+.google.cloud.dialogflow.v2.FreeFormContextH\x00\x12R\n\x16\x61gent_coaching_context\x18\x0c \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.AgentCoachingContextH\x00\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x1e\n\x0fpublished_model\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x05tools\x18\x0e \x03(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Tool\x12]\n\x1asuggestion_deduping_config\x18\x17 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SuggestionDedupingConfigB\x03\xe0\x41\x01\x12\x43\n\rtoolset_tools\x18\x1b \x03(\x0b\x32\'.google.cloud.dialogflow.v2.ToolsetToolB\x03\xe0\x41\x01\x12\x44\n\x0e\x63\x65s_tool_specs\x18\x1c \x03(\x0b\x32\'.google.cloud.dialogflow.v2.CesToolSpecB\x03\xe0\x41\x01\x12\x42\n\rces_app_specs\x18\x1d \x03(\x0b\x32&.google.cloud.dialogflow.v2.CesAppSpecB\x03\xe0\x41\x01:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontextB\x12\n\x10\x66oundation_model\"+\n\x12\x46reeFormSuggestion\x12\x15\n\x08response\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc0\t\n\x17\x41gentCoachingSuggestion\x12Z\n\x17\x61pplicable_instructions\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.v2.AgentCoachingInstructionB\x03\xe0\x41\x01\x12p\n\x18\x61gent_action_suggestions\x18\x02 \x03(\x0b\x32I.google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestionB\x03\xe0\x41\x01\x12\x61\n\x10sample_responses\x18\x03 \x03(\x0b\x32\x42.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponseB\x03\xe0\x41\x01\x1a+\n\x07Sources\x12 \n\x13instruction_indexes\x18\x02 \x03(\x05\x42\x03\xe0\x41\x03\x1a\xde\x02\n\x14\x44uplicateCheckResult\x12\x80\x01\n\x15\x64uplicate_suggestions\x18\x01 \x03(\x0b\x32\\.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestionB\x03\xe0\x41\x03\x1a\xc2\x01\n\x13\x44uplicateSuggestion\x12\x1a\n\ranswer_record\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12\x1d\n\x10suggestion_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1d\n\x10similarity_score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x03\x1a\xf4\x01\n\x15\x41gentActionSuggestion\x12\x19\n\x0c\x61gent_action\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12m\n\x16\x64uplicate_check_result\x18\x03 \x01(\x0b\x32H.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResultB\x03\xe0\x41\x03\x1a\xee\x01\n\x0eSampleResponse\x12\x1a\n\rresponse_text\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x07sources\x18\x02 \x01(\x0b\x32;.google.cloud.dialogflow.v2.AgentCoachingSuggestion.SourcesB\x03\xe0\x41\x03\x12m\n\x16\x64uplicate_check_result\x18\x03 \x01(\x0b\x32H.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResultB\x03\xe0\x41\x03\"\x9e\x04\n\x13GeneratorSuggestion\x12S\n\x14\x66ree_form_suggestion\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.v2.FreeFormSuggestionB\x03\xe0\x41\x01H\x00\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x12]\n\x19\x61gent_coaching_suggestion\x18\x03 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.AgentCoachingSuggestionB\x03\xe0\x41\x01H\x00\x12Y\n\x0etool_call_info\x18\t \x03(\x0b\x32<.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfoB\x03\xe0\x41\x01\x1a\x97\x01\n\x0cToolCallInfo\x12<\n\ttool_call\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.ToolCallB\x03\xe0\x41\x02\x12I\n\x10tool_call_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.ToolCallResultB\x03\xe0\x41\x02\x42\x0c\n\nsuggestion\"[\n\x18SuggestionDedupingConfig\x12\x1c\n\x0f\x65nable_deduping\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14similarity_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\xb8\x04\n\x0bRaiSettings\x12W\n\x14rai_category_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig\x1a\xcf\x03\n\x11RaiCategoryConfig\x12\\\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.RaiCategoryB\x03\xe0\x41\x01\x12j\n\x11sensitivity_level\x18\x02 \x01(\x0e\x32J.google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.SensitivityLevelB\x03\xe0\x41\x01\"z\n\x0bRaiCategory\x12\x1c\n\x18RAI_CATEGORY_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44\x41NGEROUS_CONTENT\x10\x01\x12\x15\n\x11SEXUALLY_EXPLICIT\x10\x02\x12\x0e\n\nHARASSMENT\x10\x03\x12\x0f\n\x0bHATE_SPEECH\x10\x04\"t\n\x10SensitivityLevel\x12!\n\x1dSENSITIVITY_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n\nBLOCK_MOST\x10\x01\x12\x0e\n\nBLOCK_SOME\x10\x02\x12\r\n\tBLOCK_FEW\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04*}\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x12\x14\n\x10\x43USTOMER_MESSAGE\x10\x03\x12\x11\n\rAGENT_MESSAGE\x10\x04\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x91\x02\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}b\x06proto3"
|
|
19
22
|
|
|
20
23
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
24
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -760,6 +760,7 @@ module Google
|
|
|
760
760
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
761
761
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
762
762
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
763
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
763
764
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
764
765
|
# trigger a retry.
|
|
765
766
|
# @return [::Hash]
|
|
@@ -843,6 +844,7 @@ module Google
|
|
|
843
844
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
844
845
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
845
846
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
847
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
846
848
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
847
849
|
# trigger a retry.
|
|
848
850
|
#
|
|
@@ -24,6 +24,25 @@ module Google
|
|
|
24
24
|
module Generators
|
|
25
25
|
# Path helper methods for the Generators API.
|
|
26
26
|
module Paths
|
|
27
|
+
##
|
|
28
|
+
# Create a fully-qualified App resource string.
|
|
29
|
+
#
|
|
30
|
+
# The resource will be in the following format:
|
|
31
|
+
#
|
|
32
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
33
|
+
#
|
|
34
|
+
# @param project [String]
|
|
35
|
+
# @param location [String]
|
|
36
|
+
# @param app [String]
|
|
37
|
+
#
|
|
38
|
+
# @return [::String]
|
|
39
|
+
def app_path project:, location:, app:
|
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
42
|
+
|
|
43
|
+
"projects/#{project}/locations/#{location}/apps/#{app}"
|
|
44
|
+
end
|
|
45
|
+
|
|
27
46
|
##
|
|
28
47
|
# Create a fully-qualified Generator resource string.
|
|
29
48
|
#
|
|
@@ -60,20 +79,67 @@ module Google
|
|
|
60
79
|
##
|
|
61
80
|
# Create a fully-qualified Tool resource string.
|
|
62
81
|
#
|
|
82
|
+
# @overload tool_path(project:, location:, tool:)
|
|
83
|
+
# The resource will be in the following format:
|
|
84
|
+
#
|
|
85
|
+
# `projects/{project}/locations/{location}/tools/{tool}`
|
|
86
|
+
#
|
|
87
|
+
# @param project [String]
|
|
88
|
+
# @param location [String]
|
|
89
|
+
# @param tool [String]
|
|
90
|
+
#
|
|
91
|
+
# @overload tool_path(project:, location:, app:, tool:)
|
|
92
|
+
# The resource will be in the following format:
|
|
93
|
+
#
|
|
94
|
+
# `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
|
|
95
|
+
#
|
|
96
|
+
# @param project [String]
|
|
97
|
+
# @param location [String]
|
|
98
|
+
# @param app [String]
|
|
99
|
+
# @param tool [String]
|
|
100
|
+
#
|
|
101
|
+
# @return [::String]
|
|
102
|
+
def tool_path **args
|
|
103
|
+
resources = {
|
|
104
|
+
"location:project:tool" => (proc do |project:, location:, tool:|
|
|
105
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
106
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
107
|
+
|
|
108
|
+
"projects/#{project}/locations/#{location}/tools/#{tool}"
|
|
109
|
+
end),
|
|
110
|
+
"app:location:project:tool" => (proc do |project:, location:, app:, tool:|
|
|
111
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
112
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
113
|
+
raise ::ArgumentError, "app cannot contain /" if app.to_s.include? "/"
|
|
114
|
+
|
|
115
|
+
"projects/#{project}/locations/#{location}/apps/#{app}/tools/#{tool}"
|
|
116
|
+
end)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
resource = resources[args.keys.sort.join(":")]
|
|
120
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
|
121
|
+
resource.call(**args)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
##
|
|
125
|
+
# Create a fully-qualified Toolset resource string.
|
|
126
|
+
#
|
|
63
127
|
# The resource will be in the following format:
|
|
64
128
|
#
|
|
65
|
-
# `projects/{project}/locations/{location}/
|
|
129
|
+
# `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
|
|
66
130
|
#
|
|
67
131
|
# @param project [String]
|
|
68
132
|
# @param location [String]
|
|
69
|
-
# @param
|
|
133
|
+
# @param app [String]
|
|
134
|
+
# @param toolset [String]
|
|
70
135
|
#
|
|
71
136
|
# @return [::String]
|
|
72
|
-
def
|
|
137
|
+
def toolset_path project:, location:, app:, toolset:
|
|
73
138
|
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
74
139
|
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
140
|
+
raise ::ArgumentError, "app cannot contain /" if app.to_s.include? "/"
|
|
75
141
|
|
|
76
|
-
"projects/#{project}/locations/#{location}/
|
|
142
|
+
"projects/#{project}/locations/#{location}/apps/#{app}/toolsets/#{toolset}"
|
|
77
143
|
end
|
|
78
144
|
|
|
79
145
|
extend self
|
|
@@ -693,6 +693,7 @@ module Google
|
|
|
693
693
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
694
694
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
695
695
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
696
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
696
697
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
697
698
|
# trigger a retry.
|
|
698
699
|
# @return [::Hash]
|
|
@@ -772,6 +773,7 @@ module Google
|
|
|
772
773
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
773
774
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
774
775
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
776
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
775
777
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
776
778
|
# trigger a retry.
|
|
777
779
|
#
|
|
@@ -1050,6 +1050,7 @@ module Google
|
|
|
1050
1050
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1051
1051
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1052
1052
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1053
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1053
1054
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1054
1055
|
# trigger a retry.
|
|
1055
1056
|
# @return [::Hash]
|
|
@@ -1133,6 +1134,7 @@ module Google
|
|
|
1133
1134
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1134
1135
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1135
1136
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1137
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1136
1138
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1137
1139
|
# trigger a retry.
|
|
1138
1140
|
#
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -969,6 +969,7 @@ module Google
|
|
|
969
969
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
970
970
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
971
971
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
972
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
972
973
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
973
974
|
# trigger a retry.
|
|
974
975
|
# @return [::Hash]
|
|
@@ -1048,6 +1049,7 @@ module Google
|
|
|
1048
1049
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1049
1050
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1050
1051
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1052
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1051
1053
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1052
1054
|
# trigger a retry.
|
|
1053
1055
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -779,6 +779,7 @@ module Google
|
|
|
779
779
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
780
780
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
781
781
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
782
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
782
783
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
783
784
|
# trigger a retry.
|
|
784
785
|
# @return [::Hash]
|
|
@@ -862,6 +863,7 @@ module Google
|
|
|
862
863
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
863
864
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
864
865
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
866
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
865
867
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
866
868
|
# trigger a retry.
|
|
867
869
|
#
|
|
@@ -712,6 +712,7 @@ module Google
|
|
|
712
712
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
713
713
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
714
714
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
715
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
715
716
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
716
717
|
# trigger a retry.
|
|
717
718
|
# @return [::Hash]
|
|
@@ -791,6 +792,7 @@ module Google
|
|
|
791
792
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
792
793
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
793
794
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
795
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
794
796
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
795
797
|
# trigger a retry.
|
|
796
798
|
#
|
|
@@ -17,7 +17,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
17
17
|
require 'google/rpc/status_pb'
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
descriptor_data = "\n,google/cloud/dialogflow/v2/participant.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/dialogflow/v2/audio_config.proto\x1a*google/cloud/dialogflow/v2/generator.proto\x1a(google/cloud/dialogflow/v2/session.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xf8\x06\n\x0bParticipant\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12?\n\x04role\x18\x02 \x01(\x0e\x32,.google.cloud.dialogflow.v2.Participant.RoleB\x03\xe0\x41\x05\x12&\n\x19sip_recording_media_label\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12(\n\x1bobfuscated_external_user_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12n\n\x1a\x64ocuments_metadata_filters\x18\x08 \x03(\x0b\x32\x45.google.cloud.dialogflow.v2.Participant.DocumentsMetadataFiltersEntryB\x03\xe0\x41\x01\x12]\n\x14\x61gent_desktop_source\x18\n \x01(\x0e\x32:.google.cloud.dialogflow.v2.Participant.AgentDesktopSourceB\x03\xe0\x41\x01\x1a?\n\x1d\x44ocumentsMetadataFiltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"\x85\x01\n\x12\x41gentDesktopSource\x12$\n AGENT_DESKTOP_SOURCE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bLIVE_PERSON\x10\x01\x12\x11\n\rGENESYS_CLOUD\x10\x02\x12\n\n\x06TWILIO\x10\x03\x12\x0e\n\nSALESFORCE\x10\x04\x12\t\n\x05OTHER\x10\x08:\xd8\x01\xea\x41\xd4\x01\n%dialogflow.googleapis.com/Participant\x12Jprojects/{project}/conversations/{conversation}/participants/{participant}\x12_projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}\"\x8c\x05\n\x07Message\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x63ontent\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bparticipant\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12K\n\x10participant_role\x18\x05 \x01(\x0e\x32,.google.cloud.dialogflow.v2.Participant.RoleB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x32\n\tsend_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12N\n\x12message_annotation\x18\x07 \x01(\x0b\x32-.google.cloud.dialogflow.v2.MessageAnnotationB\x03\xe0\x41\x03\x12T\n\x12sentiment_analysis\x18\x08 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.SentimentAnalysisResultB\x03\xe0\x41\x03:\xc4\x01\xea\x41\xc0\x01\n!dialogflow.googleapis.com/Message\x12\x42projects/{project}/conversations/{conversation}/messages/{message}\x12Wprojects/{project}/locations/{location}/conversations/{conversation}/messages/{message}\"\x9c\x01\n\x18\x43reateParticipantRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Participant\x12\x41\n\x0bparticipant\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.ParticipantB\x03\xe0\x41\x02\"T\n\x15GetParticipantRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\"\x89\x01\n\x17ListParticipantsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Participant\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"r\n\x18ListParticipantsResponse\x12=\n\x0cparticipants\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2.Participant\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x93\x01\n\x18UpdateParticipantRequest\x12\x41\n\x0bparticipant\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.ParticipantB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x8a\x05\n\x15\x41nalyzeContentRequest\x12\x42\n\x0bparticipant\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12;\n\ntext_input\x18\x06 \x01(\x0b\x32%.google.cloud.dialogflow.v2.TextInputH\x00\x12=\n\x0b\x61udio_input\x18\x07 \x01(\x0b\x32&.google.cloud.dialogflow.v2.AudioInputH\x00\x12=\n\x0b\x65vent_input\x18\x08 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EventInputH\x00\x12G\n\x10suggestion_input\x18\x0c \x01(\x0b\x32+.google.cloud.dialogflow.v2.SuggestionInputH\x00\x12I\n\x12reply_audio_config\x18\x05 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12\x41\n\x0cquery_params\x18\t \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParameters\x12N\n\x13\x61ssist_query_params\x18\x0e \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\x12.\n\rcx_parameters\x18\x12 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nrequest_id\x18\x0b \x01(\tB\x07\n\x05input\",\n\x0e\x44tmfParameters\x12\x1a\n\x12\x61\x63\x63\x65pts_dtmf_input\x18\x01 \x01(\x08\"\xde\x03\n\x16\x41nalyzeContentResponse\x12\x12\n\nreply_text\x18\x01 \x01(\t\x12<\n\x0breply_audio\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.OutputAudio\x12N\n\x15\x61utomated_agent_reply\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.AutomatedAgentReply\x12\x34\n\x07message\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.v2.Message\x12T\n\x1ehuman_agent_suggestion_results\x18\x06 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12Q\n\x1b\x65nd_user_suggestion_results\x18\x07 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12\x43\n\x0f\x64tmf_parameters\x18\t \x01(\x0b\x32*.google.cloud.dialogflow.v2.DtmfParameters\"\xfd\x05\n\x1eStreamingAnalyzeContentRequest\x12\x42\n\x0bparticipant\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x44\n\x0c\x61udio_config\x18\x02 \x01(\x0b\x32,.google.cloud.dialogflow.v2.InputAudioConfigH\x00\x12\x42\n\x0btext_config\x18\x03 \x01(\x0b\x32+.google.cloud.dialogflow.v2.InputTextConfigH\x00\x12I\n\x12reply_audio_config\x18\x04 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12\x15\n\x0binput_audio\x18\x05 \x01(\x0cH\x01\x12\x14\n\ninput_text\x18\x06 \x01(\tH\x01\x12\x45\n\ninput_dtmf\x18\t \x01(\x0b\x32/.google.cloud.dialogflow.v2.TelephonyDtmfEventsH\x01\x12\x41\n\x0cquery_params\x18\x07 \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParameters\x12N\n\x13\x61ssist_query_params\x18\x08 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\x12.\n\rcx_parameters\x18\r \x01(\x0b\x32\x17.google.protobuf.Struct\x12&\n\x19\x65nable_extended_streaming\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x31\n$enable_partial_automated_agent_reply\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x15\x65nable_debugging_info\x18\x13 \x01(\x08\x42\x08\n\x06\x63onfigB\x07\n\x05input\"\xa5\x05\n\x1fStreamingAnalyzeContentResponse\x12R\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x36.google.cloud.dialogflow.v2.StreamingRecognitionResult\x12\x12\n\nreply_text\x18\x02 \x01(\t\x12<\n\x0breply_audio\x18\x03 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.OutputAudio\x12N\n\x15\x61utomated_agent_reply\x18\x04 \x01(\x0b\x32/.google.cloud.dialogflow.v2.AutomatedAgentReply\x12\x34\n\x07message\x18\x06 \x01(\x0b\x32#.google.cloud.dialogflow.v2.Message\x12T\n\x1ehuman_agent_suggestion_results\x18\x07 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12Q\n\x1b\x65nd_user_suggestion_results\x18\x08 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12\x43\n\x0f\x64tmf_parameters\x18\n \x01(\x0b\x32*.google.cloud.dialogflow.v2.DtmfParameters\x12R\n\x0e\x64\x65\x62ugging_info\x18\x0b \x01(\x0b\x32:.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo\x12\x14\n\x0cspeech_model\x18\r \x01(\t\"\x85\x02\n\x16SuggestArticlesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x0elatest_message\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x19\n\x0c\x63ontext_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12N\n\x13\x61ssist_query_params\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\"\x8b\x01\n\x17SuggestArticlesResponse\x12\x42\n\x0f\x61rticle_answers\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.v2.ArticleAnswer\x12\x16\n\x0elatest_message\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\x87\x02\n\x18SuggestFaqAnswersRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x0elatest_message\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x19\n\x0c\x63ontext_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12N\n\x13\x61ssist_query_params\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\"\x85\x01\n\x19SuggestFaqAnswersResponse\x12:\n\x0b\x66\x61q_answers\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.FaqAnswer\x12\x16\n\x0elatest_message\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\xa1\x03\n\x1bGenerateSuggestionsResponse\x12w\n\x1cgenerator_suggestion_answers\x18\x01 \x03(\x0b\x32Q.google.cloud.dialogflow.v2.GenerateSuggestionsResponse.GeneratorSuggestionAnswer\x12>\n\x0elatest_message\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Message\x1a\xc8\x01\n\x19GeneratorSuggestionAnswer\x12M\n\x14generator_suggestion\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestion\x12\x18\n\x10source_generator\x18\x02 \x01(\t\x12\x42\n\ranswer_record\x18\x03 \x01(\tB+\xfa\x41(\n&dialogflow.googleapis.com/AnswerRecord\"\xf4\x01\n\x1aSuggestSmartRepliesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x12\x63urrent_text_input\x18\x04 \x01(\x0b\x32%.google.cloud.dialogflow.v2.TextInput\x12>\n\x0elatest_message\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\xc3\x01\n\x1bSuggestSmartRepliesResponse\x12N\n\x13smart_reply_answers\x18\x01 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SmartReplyAnswerB\x03\xe0\x41\x03\x12>\n\x0elatest_message\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"c\n\nAudioInput\x12\x41\n\x06\x63onfig\x18\x01 \x01(\x0b\x32,.google.cloud.dialogflow.v2.InputAudioConfigB\x03\xe0\x41\x02\x12\x12\n\x05\x61udio\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"[\n\x0bOutputAudio\x12=\n\x06\x63onfig\x18\x01 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\xe8\x02\n\x13\x41utomatedAgentReply\x12P\n\x16\x64\x65tect_intent_response\x18\x01 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.DetectIntentResponse\x12k\n\x1a\x61utomated_agent_reply_type\x18\x07 \x01(\x0e\x32G.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType\x12\x1a\n\x12\x61llow_cancellation\x18\x08 \x01(\x08\x12\x17\n\x0f\x63x_current_page\x18\x0b \x01(\t\"]\n\x17\x41utomatedAgentReplyType\x12*\n&AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xe4\x01\n\rArticleAnswer\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x10\n\x08snippets\x18\x03 \x03(\t\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12I\n\x08metadata\x18\x05 \x03(\x0b\x32\x37.google.cloud.dialogflow.v2.ArticleAnswer.MetadataEntry\x12\x15\n\ranswer_record\x18\x06 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe0\x01\n\tFaqAnswer\x12\x0e\n\x06\x61nswer\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12\x10\n\x08question\x18\x03 \x01(\t\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x45\n\x08metadata\x18\x05 \x03(\x0b\x32\x33.google.cloud.dialogflow.v2.FaqAnswer.MetadataEntry\x12\x15\n\ranswer_record\x18\x06 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x10SmartReplyAnswer\x12\r\n\x05reply\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12\x42\n\ranswer_record\x18\x03 \x01(\tB+\xfa\x41(\n&dialogflow.googleapis.com/AnswerRecord\"\\\n\x10IntentSuggestion\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\tintent_v2\x18\x02 \x01(\tH\x00\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x08\n\x06intent\"\xc5\x01\n\x16\x44ialogflowAssistAnswer\x12?\n\x0cquery_result\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResultH\x00\x12I\n\x11intent_suggestion\x18\x05 \x01(\x0b\x32,.google.cloud.dialogflow.v2.IntentSuggestionH\x00\x12\x15\n\ranswer_record\x18\x02 \x01(\tB\x08\n\x06result\"\xb5\x04\n\x10SuggestionResult\x12#\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12X\n\x19suggest_articles_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.SuggestArticlesResponseH\x00\x12g\n!suggest_knowledge_assist_response\x18\x08 \x01(\x0b\x32:.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponseH\x00\x12]\n\x1csuggest_faq_answers_response\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2.SuggestFaqAnswersResponseH\x00\x12\x61\n\x1esuggest_smart_replies_response\x18\x04 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.SuggestSmartRepliesResponseH\x00\x12`\n\x1dgenerate_suggestions_response\x18\t \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.GenerateSuggestionsResponseH\x00\x42\x15\n\x13suggestion_response\"-\n\x0fInputTextConfig\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\"j\n\x14\x41nnotatedMessagePart\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x13\n\x0b\x65ntity_type\x18\x02 \x01(\t\x12/\n\x0f\x66ormatted_value\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\"n\n\x11MessageAnnotation\x12?\n\x05parts\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.AnnotatedMessagePart\x12\x18\n\x10\x63ontain_entities\x18\x02 \x01(\x08\"\xa3\x02\n\x0fSuggestionInput\x12\x1a\n\ranswer_record\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\nparameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12G\n\x06\x61\x63tion\x18\x05 \x01(\x0e\x32\x32.google.cloud.dialogflow.v2.SuggestionInput.ActionB\x03\xe0\x41\x01\x12\x32\n\tsend_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"E\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NCEL\x10\x01\x12\n\n\x06REVISE\x10\x02\x12\x0b\n\x07\x43ONFIRM\x10\x03\"\xcd\x01\n\x15\x41ssistQueryParameters\x12s\n\x1a\x64ocuments_metadata_filters\x18\x01 \x03(\x0b\x32O.google.cloud.dialogflow.v2.AssistQueryParameters.DocumentsMetadataFiltersEntry\x1a?\n\x1d\x44ocumentsMetadataFiltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe3\x01\n\x1dSuggestKnowledgeAssistRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x0elatest_message\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x19\n\x0c\x63ontext_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12%\n\x18previous_suggested_query\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x1eSuggestKnowledgeAssistResponse\x12W\n\x17knowledge_assist_answer\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.KnowledgeAssistAnswerB\x03\xe0\x41\x03\x12\x16\n\x0elatest_message\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\x9b\x06\n\x15KnowledgeAssistAnswer\x12Y\n\x0fsuggested_query\x18\x01 \x01(\x0b\x32@.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.SuggestedQuery\x12\x61\n\x16suggested_query_answer\x18\x02 \x01(\x0b\x32\x41.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer\x12\x15\n\ranswer_record\x18\x03 \x01(\t\x1a$\n\x0eSuggestedQuery\x12\x12\n\nquery_text\x18\x01 \x01(\t\x1a\x86\x04\n\x0fKnowledgeAnswer\x12\x13\n\x0b\x61nswer_text\x18\x01 \x01(\t\x12\x61\n\nfaq_source\x18\x03 \x01(\x0b\x32K.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSourceH\x00\x12o\n\x11generative_source\x18\x04 \x01(\x0b\x32R.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceH\x00\x1a\x1d\n\tFaqSource\x12\x10\n\x08question\x18\x02 \x01(\t\x1a\xe0\x01\n\x10GenerativeSource\x12l\n\x08snippets\x18\x01 \x03(\x0b\x32Z.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet\x1a^\n\x07Snippet\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12)\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x08\n\x06source2\xfa\x18\n\x0cParticipants\x12\xa5\x02\n\x11\x43reateParticipant\x12\x34.google.cloud.dialogflow.v2.CreateParticipantRequest\x1a\'.google.cloud.dialogflow.v2.Participant\"\xb0\x01\xda\x41\x12parent,participant\x82\xd3\xe4\x93\x02\x94\x01\"4/v2/{parent=projects/*/conversations/*}/participants:\x0bparticipantZO\"@/v2/{parent=projects/*/locations/*/conversations/*}/participants:\x0bparticipant\x12\xf6\x01\n\x0eGetParticipant\x12\x31.google.cloud.dialogflow.v2.GetParticipantRequest\x1a\'.google.cloud.dialogflow.v2.Participant\"\x87\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02z\x12\x34/v2/{name=projects/*/conversations/*/participants/*}ZB\x12@/v2/{name=projects/*/locations/*/conversations/*/participants/*}\x12\x89\x02\n\x10ListParticipants\x12\x33.google.cloud.dialogflow.v2.ListParticipantsRequest\x1a\x34.google.cloud.dialogflow.v2.ListParticipantsResponse\"\x89\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02z\x12\x34/v2/{parent=projects/*/conversations/*}/participantsZB\x12@/v2/{parent=projects/*/locations/*/conversations/*}/participants\x12\xc2\x02\n\x11UpdateParticipant\x12\x34.google.cloud.dialogflow.v2.UpdateParticipantRequest\x1a\'.google.cloud.dialogflow.v2.Participant\"\xcd\x01\xda\x41\x17participant,update_mask\x82\xd3\xe4\x93\x02\xac\x01\x32@/v2/{participant.name=projects/*/conversations/*/participants/*}:\x0bparticipantZ[2L/v2/{participant.name=projects/*/locations/*/conversations/*/participants/*}:\x0bparticipant\x12\xfa\x02\n\x0e\x41nalyzeContent\x12\x31.google.cloud.dialogflow.v2.AnalyzeContentRequest\x1a\x32.google.cloud.dialogflow.v2.AnalyzeContentResponse\"\x80\x02\xda\x41\x16participant,text_input\xda\x41\x17participant,event_input\xda\x41\x17participant,audio_input\x82\xd3\xe4\x93\x02\xac\x01\"J/v2/{participant=projects/*/conversations/*/participants/*}:analyzeContent:\x01*Z[\"V/v2/{participant=projects/*/locations/*/conversations/*/participants/*}:analyzeContent:\x01*\x12\x98\x01\n\x17StreamingAnalyzeContent\x12:.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest\x1a;.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse\"\x00(\x01\x30\x01\x12\xc9\x02\n\x0fSuggestArticles\x12\x32.google.cloud.dialogflow.v2.SuggestArticlesRequest\x1a\x33.google.cloud.dialogflow.v2.SuggestArticlesResponse\"\xcc\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbc\x01\"R/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestArticles:\x01*Zc\"^/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestArticles:\x01*\x12\xd3\x02\n\x11SuggestFaqAnswers\x12\x34.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest\x1a\x35.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse\"\xd0\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc0\x01\"T/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers:\x01*Ze\"`/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers:\x01*\x12\xdd\x02\n\x13SuggestSmartReplies\x12\x36.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest\x1a\x37.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse\"\xd4\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc4\x01\"V/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestSmartReplies:\x01*Zg\"b/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestSmartReplies:\x01*\x12\xe3\x02\n\x16SuggestKnowledgeAssist\x12\x39.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest\x1a:.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse\"\xd1\x01\x82\xd3\xe4\x93\x02\xca\x01\"Y/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssist:\x01*Zj\"e/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssist:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x96\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x10ParticipantProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
|
|
20
|
+
descriptor_data = "\n,google/cloud/dialogflow/v2/participant.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/dialogflow/v2/audio_config.proto\x1a*google/cloud/dialogflow/v2/generator.proto\x1a(google/cloud/dialogflow/v2/session.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xf8\x06\n\x0bParticipant\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12?\n\x04role\x18\x02 \x01(\x0e\x32,.google.cloud.dialogflow.v2.Participant.RoleB\x03\xe0\x41\x05\x12&\n\x19sip_recording_media_label\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12(\n\x1bobfuscated_external_user_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12n\n\x1a\x64ocuments_metadata_filters\x18\x08 \x03(\x0b\x32\x45.google.cloud.dialogflow.v2.Participant.DocumentsMetadataFiltersEntryB\x03\xe0\x41\x01\x12]\n\x14\x61gent_desktop_source\x18\n \x01(\x0e\x32:.google.cloud.dialogflow.v2.Participant.AgentDesktopSourceB\x03\xe0\x41\x01\x1a?\n\x1d\x44ocumentsMetadataFiltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"\x85\x01\n\x12\x41gentDesktopSource\x12$\n AGENT_DESKTOP_SOURCE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bLIVE_PERSON\x10\x01\x12\x11\n\rGENESYS_CLOUD\x10\x02\x12\n\n\x06TWILIO\x10\x03\x12\x0e\n\nSALESFORCE\x10\x04\x12\t\n\x05OTHER\x10\x08:\xd8\x01\xea\x41\xd4\x01\n%dialogflow.googleapis.com/Participant\x12Jprojects/{project}/conversations/{conversation}/participants/{participant}\x12_projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}\"\x8c\x05\n\x07Message\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x63ontent\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bparticipant\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12K\n\x10participant_role\x18\x05 \x01(\x0e\x32,.google.cloud.dialogflow.v2.Participant.RoleB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x32\n\tsend_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12N\n\x12message_annotation\x18\x07 \x01(\x0b\x32-.google.cloud.dialogflow.v2.MessageAnnotationB\x03\xe0\x41\x03\x12T\n\x12sentiment_analysis\x18\x08 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.SentimentAnalysisResultB\x03\xe0\x41\x03:\xc4\x01\xea\x41\xc0\x01\n!dialogflow.googleapis.com/Message\x12\x42projects/{project}/conversations/{conversation}/messages/{message}\x12Wprojects/{project}/locations/{location}/conversations/{conversation}/messages/{message}\"\x9c\x01\n\x18\x43reateParticipantRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Participant\x12\x41\n\x0bparticipant\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.ParticipantB\x03\xe0\x41\x02\"T\n\x15GetParticipantRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\"\x89\x01\n\x17ListParticipantsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dialogflow.googleapis.com/Participant\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"r\n\x18ListParticipantsResponse\x12=\n\x0cparticipants\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2.Participant\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x93\x01\n\x18UpdateParticipantRequest\x12\x41\n\x0bparticipant\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.ParticipantB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x8a\x05\n\x15\x41nalyzeContentRequest\x12\x42\n\x0bparticipant\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12;\n\ntext_input\x18\x06 \x01(\x0b\x32%.google.cloud.dialogflow.v2.TextInputH\x00\x12=\n\x0b\x61udio_input\x18\x07 \x01(\x0b\x32&.google.cloud.dialogflow.v2.AudioInputH\x00\x12=\n\x0b\x65vent_input\x18\x08 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EventInputH\x00\x12G\n\x10suggestion_input\x18\x0c \x01(\x0b\x32+.google.cloud.dialogflow.v2.SuggestionInputH\x00\x12I\n\x12reply_audio_config\x18\x05 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12\x41\n\x0cquery_params\x18\t \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParameters\x12N\n\x13\x61ssist_query_params\x18\x0e \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\x12.\n\rcx_parameters\x18\x12 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nrequest_id\x18\x0b \x01(\tB\x07\n\x05input\",\n\x0e\x44tmfParameters\x12\x1a\n\x12\x61\x63\x63\x65pts_dtmf_input\x18\x01 \x01(\x08\"\xde\x03\n\x16\x41nalyzeContentResponse\x12\x12\n\nreply_text\x18\x01 \x01(\t\x12<\n\x0breply_audio\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.OutputAudio\x12N\n\x15\x61utomated_agent_reply\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.AutomatedAgentReply\x12\x34\n\x07message\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.v2.Message\x12T\n\x1ehuman_agent_suggestion_results\x18\x06 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12Q\n\x1b\x65nd_user_suggestion_results\x18\x07 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12\x43\n\x0f\x64tmf_parameters\x18\t \x01(\x0b\x32*.google.cloud.dialogflow.v2.DtmfParameters\"\xa6\x06\n\x1eStreamingAnalyzeContentRequest\x12\x42\n\x0bparticipant\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x44\n\x0c\x61udio_config\x18\x02 \x01(\x0b\x32,.google.cloud.dialogflow.v2.InputAudioConfigH\x00\x12\x42\n\x0btext_config\x18\x03 \x01(\x0b\x32+.google.cloud.dialogflow.v2.InputTextConfigH\x00\x12I\n\x12reply_audio_config\x18\x04 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12\x15\n\x0binput_audio\x18\x05 \x01(\x0cH\x01\x12\x14\n\ninput_text\x18\x06 \x01(\tH\x01\x12\x45\n\ninput_dtmf\x18\t \x01(\x0b\x32/.google.cloud.dialogflow.v2.TelephonyDtmfEventsH\x01\x12\x41\n\x0cquery_params\x18\x07 \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParameters\x12N\n\x13\x61ssist_query_params\x18\x08 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\x12.\n\rcx_parameters\x18\r \x01(\x0b\x32\x17.google.protobuf.Struct\x12&\n\x19\x65nable_extended_streaming\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x31\n$enable_partial_automated_agent_reply\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\'\n\x1aoutput_multiple_utterances\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x15\x65nable_debugging_info\x18\x13 \x01(\x08\x42\x08\n\x06\x63onfigB\x07\n\x05input\"\xa5\x05\n\x1fStreamingAnalyzeContentResponse\x12R\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x36.google.cloud.dialogflow.v2.StreamingRecognitionResult\x12\x12\n\nreply_text\x18\x02 \x01(\t\x12<\n\x0breply_audio\x18\x03 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.OutputAudio\x12N\n\x15\x61utomated_agent_reply\x18\x04 \x01(\x0b\x32/.google.cloud.dialogflow.v2.AutomatedAgentReply\x12\x34\n\x07message\x18\x06 \x01(\x0b\x32#.google.cloud.dialogflow.v2.Message\x12T\n\x1ehuman_agent_suggestion_results\x18\x07 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12Q\n\x1b\x65nd_user_suggestion_results\x18\x08 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SuggestionResult\x12\x43\n\x0f\x64tmf_parameters\x18\n \x01(\x0b\x32*.google.cloud.dialogflow.v2.DtmfParameters\x12R\n\x0e\x64\x65\x62ugging_info\x18\x0b \x01(\x0b\x32:.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo\x12\x14\n\x0cspeech_model\x18\r \x01(\t\"\x85\x02\n\x16SuggestArticlesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x0elatest_message\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x19\n\x0c\x63ontext_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12N\n\x13\x61ssist_query_params\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\"\x8b\x01\n\x17SuggestArticlesResponse\x12\x42\n\x0f\x61rticle_answers\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.v2.ArticleAnswer\x12\x16\n\x0elatest_message\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\x87\x02\n\x18SuggestFaqAnswersRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x0elatest_message\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x19\n\x0c\x63ontext_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12N\n\x13\x61ssist_query_params\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.AssistQueryParameters\"\x85\x01\n\x19SuggestFaqAnswersResponse\x12:\n\x0b\x66\x61q_answers\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.FaqAnswer\x12\x16\n\x0elatest_message\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\xa1\x03\n\x1bGenerateSuggestionsResponse\x12w\n\x1cgenerator_suggestion_answers\x18\x01 \x03(\x0b\x32Q.google.cloud.dialogflow.v2.GenerateSuggestionsResponse.GeneratorSuggestionAnswer\x12>\n\x0elatest_message\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Message\x1a\xc8\x01\n\x19GeneratorSuggestionAnswer\x12M\n\x14generator_suggestion\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestion\x12\x18\n\x10source_generator\x18\x02 \x01(\t\x12\x42\n\ranswer_record\x18\x03 \x01(\tB+\xfa\x41(\n&dialogflow.googleapis.com/AnswerRecord\"\xf4\x01\n\x1aSuggestSmartRepliesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x12\x63urrent_text_input\x18\x04 \x01(\x0b\x32%.google.cloud.dialogflow.v2.TextInput\x12>\n\x0elatest_message\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\xc3\x01\n\x1bSuggestSmartRepliesResponse\x12N\n\x13smart_reply_answers\x18\x01 \x03(\x0b\x32,.google.cloud.dialogflow.v2.SmartReplyAnswerB\x03\xe0\x41\x03\x12>\n\x0elatest_message\x18\x02 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"c\n\nAudioInput\x12\x41\n\x06\x63onfig\x18\x01 \x01(\x0b\x32,.google.cloud.dialogflow.v2.InputAudioConfigB\x03\xe0\x41\x02\x12\x12\n\x05\x61udio\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"[\n\x0bOutputAudio\x12=\n\x06\x63onfig\x18\x01 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\xe8\x02\n\x13\x41utomatedAgentReply\x12P\n\x16\x64\x65tect_intent_response\x18\x01 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.DetectIntentResponse\x12k\n\x1a\x61utomated_agent_reply_type\x18\x07 \x01(\x0e\x32G.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType\x12\x1a\n\x12\x61llow_cancellation\x18\x08 \x01(\x08\x12\x17\n\x0f\x63x_current_page\x18\x0b \x01(\t\"]\n\x17\x41utomatedAgentReplyType\x12*\n&AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xe4\x01\n\rArticleAnswer\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x10\n\x08snippets\x18\x03 \x03(\t\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12I\n\x08metadata\x18\x05 \x03(\x0b\x32\x37.google.cloud.dialogflow.v2.ArticleAnswer.MetadataEntry\x12\x15\n\ranswer_record\x18\x06 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe0\x01\n\tFaqAnswer\x12\x0e\n\x06\x61nswer\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12\x10\n\x08question\x18\x03 \x01(\t\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x45\n\x08metadata\x18\x05 \x03(\x0b\x32\x33.google.cloud.dialogflow.v2.FaqAnswer.MetadataEntry\x12\x15\n\ranswer_record\x18\x06 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x10SmartReplyAnswer\x12\r\n\x05reply\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12\x42\n\ranswer_record\x18\x03 \x01(\tB+\xfa\x41(\n&dialogflow.googleapis.com/AnswerRecord\"\\\n\x10IntentSuggestion\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\tintent_v2\x18\x02 \x01(\tH\x00\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x08\n\x06intent\"\xc5\x01\n\x16\x44ialogflowAssistAnswer\x12?\n\x0cquery_result\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResultH\x00\x12I\n\x11intent_suggestion\x18\x05 \x01(\x0b\x32,.google.cloud.dialogflow.v2.IntentSuggestionH\x00\x12\x15\n\ranswer_record\x18\x02 \x01(\tB\x08\n\x06result\"\xb5\x04\n\x10SuggestionResult\x12#\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12X\n\x19suggest_articles_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.SuggestArticlesResponseH\x00\x12g\n!suggest_knowledge_assist_response\x18\x08 \x01(\x0b\x32:.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponseH\x00\x12]\n\x1csuggest_faq_answers_response\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2.SuggestFaqAnswersResponseH\x00\x12\x61\n\x1esuggest_smart_replies_response\x18\x04 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.SuggestSmartRepliesResponseH\x00\x12`\n\x1dgenerate_suggestions_response\x18\t \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.GenerateSuggestionsResponseH\x00\x42\x15\n\x13suggestion_response\"-\n\x0fInputTextConfig\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\"j\n\x14\x41nnotatedMessagePart\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x13\n\x0b\x65ntity_type\x18\x02 \x01(\t\x12/\n\x0f\x66ormatted_value\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\"n\n\x11MessageAnnotation\x12?\n\x05parts\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.AnnotatedMessagePart\x12\x18\n\x10\x63ontain_entities\x18\x02 \x01(\x08\"\xa3\x02\n\x0fSuggestionInput\x12\x1a\n\ranswer_record\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\nparameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12G\n\x06\x61\x63tion\x18\x05 \x01(\x0e\x32\x32.google.cloud.dialogflow.v2.SuggestionInput.ActionB\x03\xe0\x41\x01\x12\x32\n\tsend_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"E\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NCEL\x10\x01\x12\n\n\x06REVISE\x10\x02\x12\x0b\n\x07\x43ONFIRM\x10\x03\"\xcd\x01\n\x15\x41ssistQueryParameters\x12s\n\x1a\x64ocuments_metadata_filters\x18\x01 \x03(\x0b\x32O.google.cloud.dialogflow.v2.AssistQueryParameters.DocumentsMetadataFiltersEntry\x1a?\n\x1d\x44ocumentsMetadataFiltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe3\x01\n\x1dSuggestKnowledgeAssistRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dialogflow.googleapis.com/Participant\x12\x41\n\x0elatest_message\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!dialogflow.googleapis.com/Message\x12\x19\n\x0c\x63ontext_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12%\n\x18previous_suggested_query\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x1eSuggestKnowledgeAssistResponse\x12W\n\x17knowledge_assist_answer\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.KnowledgeAssistAnswerB\x03\xe0\x41\x03\x12\x16\n\x0elatest_message\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontext_size\x18\x03 \x01(\x05\"\xb9\x05\n!IngestedContextReferenceDebugInfo\x12\x1f\n\x17project_not_allowlisted\x18\x01 \x01(\x08\x12#\n\x1b\x63ontext_reference_retrieved\x18\x02 \x01(\x08\x12\x80\x01\n\x1eingested_parameters_debug_info\x18\x03 \x03(\x0b\x32X.google.cloud.dialogflow.v2.IngestedContextReferenceDebugInfo.IngestedParameterDebugInfo\x1a\xca\x03\n\x1aIngestedParameterDebugInfo\x12\x11\n\tparameter\x18\x01 \x01(\t\x12\x82\x01\n\x10ingestion_status\x18\x02 \x01(\x0e\x32h.google.cloud.dialogflow.v2.IngestedContextReferenceDebugInfo.IngestedParameterDebugInfo.IngestionStatus\"\x93\x02\n\x0fIngestionStatus\x12 \n\x1cINGESTION_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n\x1aINGESTION_STATUS_SUCCEEDED\x10\x01\x12*\n&INGESTION_STATUS_CONTEXT_NOT_AVAILABLE\x10\x02\x12!\n\x1dINGESTION_STATUS_PARSE_FAILED\x10\x03\x12\"\n\x1eINGESTION_STATUS_INVALID_ENTRY\x10\x04\x12#\n\x1fINGESTION_STATUS_INVALID_FORMAT\x10\x05\x12&\n\"INGESTION_STATUS_LANGUAGE_MISMATCH\x10\x06\"\x97\x02\n\x0eServiceLatency\x12\x65\n\x1ainternal_service_latencies\x18\x01 \x03(\x0b\x32\x41.google.cloud.dialogflow.v2.ServiceLatency.InternalServiceLatency\x1a\x9d\x01\n\x16InternalServiceLatency\x12\x0c\n\x04step\x18\x01 \x01(\t\x12\x12\n\nlatency_ms\x18\x02 \x01(\x02\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rcomplete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xf4\x0f\n\x18KnowledgeAssistDebugInfo\x12z\n\x1fquery_generation_failure_reason\x18\x01 \x01(\x0e\x32Q.google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationFailureReason\x12\x82\x01\n#query_categorization_failure_reason\x18\x02 \x01(\x0e\x32U.google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryCategorizationFailureReason\x12V\n\x19\x64\x61tastore_response_reason\x18\x03 \x01(\x0e\x32\x33.google.cloud.dialogflow.v2.DatastoreResponseReason\x12o\n\x19knowledge_assist_behavior\x18\x04 \x01(\x0b\x32L.google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.KnowledgeAssistBehavior\x12l\n%ingested_context_reference_debug_info\x18\x05 \x01(\x0b\x32=.google.cloud.dialogflow.v2.IngestedContextReferenceDebugInfo\x12\x43\n\x0fservice_latency\x18\x06 \x01(\x0b\x32*.google.cloud.dialogflow.v2.ServiceLatency\x1a\xb9\x05\n\x17KnowledgeAssistBehavior\x12%\n\x1d\x61nswer_generation_rewriter_on\x18\x01 \x01(\x08\x12\"\n\x1a\x65nd_user_metadata_included\x18\x02 \x01(\x08\x12\x19\n\x11return_query_only\x18\x04 \x01(\x08\x12\x1b\n\x13use_pubsub_delivery\x18\x05 \x01(\x08\x12\x1d\n\x15\x64isable_sync_delivery\x18\x06 \x01(\x08\x12!\n\x19previous_queries_included\x18\x07 \x01(\x08\x12\x1e\n\x16use_translated_message\x18\x08 \x01(\x08\x12&\n\x1euse_custom_safety_filter_level\x18\t \x01(\x08\x12\x33\n+conversation_transcript_has_mixed_languages\x18\n \x01(\x08\x12\x30\n(query_generation_agent_language_mismatch\x18\x0b \x01(\x08\x12\x33\n+query_generation_end_user_language_mismatch\x18\x0c \x01(\x08\x12%\n\x1dthird_party_connector_allowed\x18\r \x01(\x08\x12\"\n\x1amultiple_queries_generated\x18\x0e \x01(\x08\x12&\n\x1equery_contained_search_context\x18\x0f \x01(\x08\x12.\n&invalid_items_query_suggestion_skipped\x18\x10 \x01(\x08\x12+\n#primary_query_redacted_and_replaced\x18\x11 \x01(\x08\x12%\n\x1d\x61ppended_search_context_count\x18\x12 \x01(\x05\"\xcf\x03\n\x1cQueryGenerationFailureReason\x12/\n+QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED\x10\x00\x12!\n\x1dQUERY_GENERATION_OUT_OF_QUOTA\x10\x01\x12\x1b\n\x17QUERY_GENERATION_FAILED\x10\x02\x12\'\n#QUERY_GENERATION_NO_QUERY_GENERATED\x10\x03\x12\x1f\n\x1bQUERY_GENERATION_RAI_FAILED\x10\x04\x12\x14\n\x10NOT_IN_ALLOWLIST\x10\x05\x12#\n\x1fQUERY_GENERATION_QUERY_REDACTED\x10\x06\x12.\n*QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED\x10\n\x12\'\n#QUERY_GENERATION_EMPTY_CONVERSATION\x10\x0b\x12\'\n#QUERY_GENERATION_EMPTY_LAST_MESSAGE\x10\x0c\x12\x37\n3QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET\x10\r\"\xcc\x01\n QueryCategorizationFailureReason\x12\x33\n/QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED\x10\x00\x12\'\n#QUERY_CATEGORIZATION_INVALID_CONFIG\x10\x01\x12)\n%QUERY_CATEGORIZATION_RESULT_NOT_FOUND\x10\x02\x12\x1f\n\x1bQUERY_CATEGORIZATION_FAILED\x10\x03\"\xf6\x06\n\x15KnowledgeAssistAnswer\x12Y\n\x0fsuggested_query\x18\x01 \x01(\x0b\x32@.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.SuggestedQuery\x12\x61\n\x16suggested_query_answer\x18\x02 \x01(\x0b\x32\x41.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer\x12\x15\n\ranswer_record\x18\x03 \x01(\t\x12Y\n\x1bknowledge_assist_debug_info\x18\x07 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo\x1a$\n\x0eSuggestedQuery\x12\x12\n\nquery_text\x18\x01 \x01(\t\x1a\x86\x04\n\x0fKnowledgeAnswer\x12\x13\n\x0b\x61nswer_text\x18\x01 \x01(\t\x12\x61\n\nfaq_source\x18\x03 \x01(\x0b\x32K.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSourceH\x00\x12o\n\x11generative_source\x18\x04 \x01(\x0b\x32R.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceH\x00\x1a\x1d\n\tFaqSource\x12\x10\n\x08question\x18\x02 \x01(\t\x1a\xe0\x01\n\x10GenerativeSource\x12l\n\x08snippets\x18\x01 \x03(\x0b\x32Z.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet\x1a^\n\x07Snippet\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12)\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x08\n\x06source*\xd6\x02\n\x17\x44\x61tastoreResponseReason\x12)\n%DATASTORE_RESPONSE_REASON_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x17\n\x13SEARCH_OUT_OF_QUOTA\x10\x02\x12\x18\n\x14SEARCH_EMPTY_RESULTS\x10\x03\x12%\n!ANSWER_GENERATION_GEN_AI_DISABLED\x10\x04\x12\"\n\x1e\x41NSWER_GENERATION_OUT_OF_QUOTA\x10\x05\x12\x1b\n\x17\x41NSWER_GENERATION_ERROR\x10\x06\x12%\n!ANSWER_GENERATION_NOT_ENOUGH_INFO\x10\x07\x12 \n\x1c\x41NSWER_GENERATION_RAI_FAILED\x10\x08\x12\"\n\x1e\x41NSWER_GENERATION_NOT_GROUNDED\x10\t2\xfa\x18\n\x0cParticipants\x12\xa5\x02\n\x11\x43reateParticipant\x12\x34.google.cloud.dialogflow.v2.CreateParticipantRequest\x1a\'.google.cloud.dialogflow.v2.Participant\"\xb0\x01\xda\x41\x12parent,participant\x82\xd3\xe4\x93\x02\x94\x01\"4/v2/{parent=projects/*/conversations/*}/participants:\x0bparticipantZO\"@/v2/{parent=projects/*/locations/*/conversations/*}/participants:\x0bparticipant\x12\xf6\x01\n\x0eGetParticipant\x12\x31.google.cloud.dialogflow.v2.GetParticipantRequest\x1a\'.google.cloud.dialogflow.v2.Participant\"\x87\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02z\x12\x34/v2/{name=projects/*/conversations/*/participants/*}ZB\x12@/v2/{name=projects/*/locations/*/conversations/*/participants/*}\x12\x89\x02\n\x10ListParticipants\x12\x33.google.cloud.dialogflow.v2.ListParticipantsRequest\x1a\x34.google.cloud.dialogflow.v2.ListParticipantsResponse\"\x89\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02z\x12\x34/v2/{parent=projects/*/conversations/*}/participantsZB\x12@/v2/{parent=projects/*/locations/*/conversations/*}/participants\x12\xc2\x02\n\x11UpdateParticipant\x12\x34.google.cloud.dialogflow.v2.UpdateParticipantRequest\x1a\'.google.cloud.dialogflow.v2.Participant\"\xcd\x01\xda\x41\x17participant,update_mask\x82\xd3\xe4\x93\x02\xac\x01\x32@/v2/{participant.name=projects/*/conversations/*/participants/*}:\x0bparticipantZ[2L/v2/{participant.name=projects/*/locations/*/conversations/*/participants/*}:\x0bparticipant\x12\xfa\x02\n\x0e\x41nalyzeContent\x12\x31.google.cloud.dialogflow.v2.AnalyzeContentRequest\x1a\x32.google.cloud.dialogflow.v2.AnalyzeContentResponse\"\x80\x02\xda\x41\x16participant,text_input\xda\x41\x17participant,event_input\xda\x41\x17participant,audio_input\x82\xd3\xe4\x93\x02\xac\x01\"J/v2/{participant=projects/*/conversations/*/participants/*}:analyzeContent:\x01*Z[\"V/v2/{participant=projects/*/locations/*/conversations/*/participants/*}:analyzeContent:\x01*\x12\x98\x01\n\x17StreamingAnalyzeContent\x12:.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest\x1a;.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse\"\x00(\x01\x30\x01\x12\xc9\x02\n\x0fSuggestArticles\x12\x32.google.cloud.dialogflow.v2.SuggestArticlesRequest\x1a\x33.google.cloud.dialogflow.v2.SuggestArticlesResponse\"\xcc\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbc\x01\"R/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestArticles:\x01*Zc\"^/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestArticles:\x01*\x12\xd3\x02\n\x11SuggestFaqAnswers\x12\x34.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest\x1a\x35.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse\"\xd0\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc0\x01\"T/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers:\x01*Ze\"`/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers:\x01*\x12\xdd\x02\n\x13SuggestSmartReplies\x12\x36.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest\x1a\x37.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse\"\xd4\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc4\x01\"V/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestSmartReplies:\x01*Zg\"b/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestSmartReplies:\x01*\x12\xe3\x02\n\x16SuggestKnowledgeAssist\x12\x39.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest\x1a:.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse\"\xd1\x01\x82\xd3\xe4\x93\x02\xca\x01\"Y/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssist:\x01*Zj\"e/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssist:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x96\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x10ParticipantProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
|
|
21
21
|
|
|
22
22
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
23
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -66,12 +66,22 @@ module Google
|
|
|
66
66
|
AssistQueryParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AssistQueryParameters").msgclass
|
|
67
67
|
SuggestKnowledgeAssistRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest").msgclass
|
|
68
68
|
SuggestKnowledgeAssistResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse").msgclass
|
|
69
|
+
IngestedContextReferenceDebugInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.IngestedContextReferenceDebugInfo").msgclass
|
|
70
|
+
IngestedContextReferenceDebugInfo::IngestedParameterDebugInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.IngestedContextReferenceDebugInfo.IngestedParameterDebugInfo").msgclass
|
|
71
|
+
IngestedContextReferenceDebugInfo::IngestedParameterDebugInfo::IngestionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.IngestedContextReferenceDebugInfo.IngestedParameterDebugInfo.IngestionStatus").enummodule
|
|
72
|
+
ServiceLatency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ServiceLatency").msgclass
|
|
73
|
+
ServiceLatency::InternalServiceLatency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ServiceLatency.InternalServiceLatency").msgclass
|
|
74
|
+
KnowledgeAssistDebugInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo").msgclass
|
|
75
|
+
KnowledgeAssistDebugInfo::KnowledgeAssistBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.KnowledgeAssistBehavior").msgclass
|
|
76
|
+
KnowledgeAssistDebugInfo::QueryGenerationFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationFailureReason").enummodule
|
|
77
|
+
KnowledgeAssistDebugInfo::QueryCategorizationFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryCategorizationFailureReason").enummodule
|
|
69
78
|
KnowledgeAssistAnswer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistAnswer").msgclass
|
|
70
79
|
KnowledgeAssistAnswer::SuggestedQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistAnswer.SuggestedQuery").msgclass
|
|
71
80
|
KnowledgeAssistAnswer::KnowledgeAnswer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer").msgclass
|
|
72
81
|
KnowledgeAssistAnswer::KnowledgeAnswer::FaqSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.FaqSource").msgclass
|
|
73
82
|
KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource").msgclass
|
|
74
83
|
KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet").msgclass
|
|
84
|
+
DatastoreResponseReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.DatastoreResponseReason").enummodule
|
|
75
85
|
end
|
|
76
86
|
end
|
|
77
87
|
end
|
|
@@ -1294,6 +1294,7 @@ module Google
|
|
|
1294
1294
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1295
1295
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1296
1296
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1297
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1297
1298
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1298
1299
|
# trigger a retry.
|
|
1299
1300
|
# @return [::Hash]
|
|
@@ -1377,6 +1378,7 @@ module Google
|
|
|
1377
1378
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1378
1379
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1379
1380
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1381
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1380
1382
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1381
1383
|
# trigger a retry.
|
|
1382
1384
|
#
|
|
@@ -1105,6 +1105,7 @@ module Google
|
|
|
1105
1105
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1106
1106
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1107
1107
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1108
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1108
1109
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1109
1110
|
# trigger a retry.
|
|
1110
1111
|
# @return [::Hash]
|
|
@@ -1184,6 +1185,7 @@ module Google
|
|
|
1184
1185
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1185
1186
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1186
1187
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1188
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1187
1189
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1188
1190
|
# trigger a retry.
|
|
1189
1191
|
#
|