google-cloud-ces-v1 0.2.1 → 0.3.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/lib/google/cloud/ces/v1/agent_card_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/agent_pb.rb +1 -1
- data/lib/google/cloud/ces/v1/app_pb.rb +4 -1
- data/lib/google/cloud/ces/v1/common_pb.rb +3 -1
- data/lib/google/cloud/ces/v1/conversation_pb.rb +1 -1
- data/lib/google/cloud/ces/v1/deployment_pb.rb +7 -1
- data/lib/google/cloud/ces/v1/mcp_tool_pb.rb +2 -1
- data/lib/google/cloud/ces/v1/mcp_toolset_pb.rb +4 -1
- data/lib/google/cloud/ces/v1/mocks_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/python_function_pb.rb +2 -1
- data/lib/google/cloud/ces/v1/session_service_pb.rb +5 -1
- data/lib/google/cloud/ces/v1/tool_pb.rb +3 -1
- data/lib/google/cloud/ces/v1/tool_service/client.rb +10 -2
- data/lib/google/cloud/ces/v1/tool_service/rest/client.rb +10 -2
- data/lib/google/cloud/ces/v1/tool_service_pb.rb +3 -1
- data/lib/google/cloud/ces/v1/toolset_pb.rb +2 -1
- data/lib/google/cloud/ces/v1/version.rb +1 -1
- data/lib/google/cloud/ces/v1/widget_tool_pb.rb +3 -1
- data/proto_docs/google/cloud/ces/v1/agent.rb +9 -0
- data/proto_docs/google/cloud/ces/v1/agent_card.rb +122 -0
- data/proto_docs/google/cloud/ces/v1/app.rb +108 -7
- data/proto_docs/google/cloud/ces/v1/common.rb +57 -0
- data/proto_docs/google/cloud/ces/v1/conversation.rb +13 -6
- data/proto_docs/google/cloud/ces/v1/deployment.rb +105 -0
- data/proto_docs/google/cloud/ces/v1/mcp_tool.rb +25 -0
- data/proto_docs/google/cloud/ces/v1/mcp_toolset.rb +47 -0
- data/proto_docs/google/cloud/ces/v1/mocks.rb +60 -0
- data/proto_docs/google/cloud/ces/v1/python_function.rb +3 -0
- data/proto_docs/google/cloud/ces/v1/session_service.rb +32 -0
- data/proto_docs/google/cloud/ces/v1/tool.rb +21 -11
- data/proto_docs/google/cloud/ces/v1/tool_service.rb +17 -0
- data/proto_docs/google/cloud/ces/v1/toolset.rb +5 -0
- data/proto_docs/google/cloud/ces/v1/widget_tool.rb +36 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6090ad98f8ec34e2781253a89a2b4dfe6d8529cdf77acd47590446a7ae9ae899
|
|
4
|
+
data.tar.gz: ca7eba9ae69c7cbe0c8b3799da61b09f3f71b0b1b3ec5c834e0cf0c5eea75d31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab6085bf73f9fecc63be1f8ff520568c61fb49b1d1af694d447f6f39adb75cb804d7ab579a6a2257017641b70a47ee12c4095a4ad76e51ffa651eefe9cef2c51
|
|
7
|
+
data.tar.gz: 114819824bec7c030429fe93cef2c42528bf3ae2fa545cf50a387bc14264626e75dcc6a78f02de51a9fd0c8c7c82d9f4015e1e6f8f86ac7dfc0a0478242a75f7
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/ces/v1/agent_card.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n$google/cloud/ces/v1/agent_card.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xcc\x01\n\tAgentCard\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x14supported_interfaces\x18\x03 \x03(\x0b\x32#.google.cloud.ces.v1.AgentInterfaceB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x06skills\x18\x06 \x03(\x0b\x32\x1f.google.cloud.ces.v1.AgentSkillB\x03\xe0\x41\x02\"p\n\x0e\x41gentInterface\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10protocol_binding\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06tenant\x18\x03 \x01(\t\x12\x1d\n\x10protocol_version\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\nAgentSkill\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12\x10\n\x08\x65xamples\x18\x05 \x03(\t\x12\x13\n\x0binput_modes\x18\x06 \x03(\t\x12\x14\n\x0coutput_modes\x18\x07 \x03(\t\"w\n\x0fRemoteAgentTool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\nagent_card\x18\x03 \x01(\x0b\x32\x1e.google.cloud.ces.v1.AgentCardB\x03\xe0\x41\x02\x42V\n\x17\x63om.google.cloud.ces.v1B\x0e\x41gentCardProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Cloud
|
|
17
|
+
module Ces
|
|
18
|
+
module V1
|
|
19
|
+
AgentCard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.AgentCard").msgclass
|
|
20
|
+
AgentInterface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.AgentInterface").msgclass
|
|
21
|
+
AgentSkill = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.AgentSkill").msgclass
|
|
22
|
+
RemoteAgentTool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.RemoteAgentTool").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -11,7 +11,7 @@ require 'google/cloud/ces/v1/common_pb'
|
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n\x1fgoogle/cloud/ces/v1/agent.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/ces/v1/agent_transfers.proto\x1a google/cloud/ces/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n\x1fgoogle/cloud/ces/v1/agent.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/ces/v1/agent_transfers.proto\x1a google/cloud/ces/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe1\x0f\n\x05\x41gent\x12=\n\tllm_agent\x18\x1a \x01(\x0b\x32#.google.cloud.ces.v1.Agent.LlmAgentB\x03\xe0\x41\x01H\x00\x12X\n\x17remote_dialogflow_agent\x18\x1b \x01(\x0b\x32\x30.google.cloud.ces.v1.Agent.RemoteDialogflowAgentB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12?\n\x0emodel_settings\x18\x04 \x01(\x0b\x32\".google.cloud.ces.v1.ModelSettingsB\x03\xe0\x41\x01\x12\x18\n\x0binstruction\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12.\n\x05tools\x18\x07 \x03(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x36\n\x0c\x63hild_agents\x18\x08 \x03(\tB \xe0\x41\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x42\n\x16\x62\x65\x66ore_agent_callbacks\x18\x12 \x03(\x0b\x32\x1d.google.cloud.ces.v1.CallbackB\x03\xe0\x41\x01\x12\x41\n\x15\x61\x66ter_agent_callbacks\x18\x13 \x03(\x0b\x32\x1d.google.cloud.ces.v1.CallbackB\x03\xe0\x41\x01\x12\x42\n\x16\x62\x65\x66ore_model_callbacks\x18\x14 \x03(\x0b\x32\x1d.google.cloud.ces.v1.CallbackB\x03\xe0\x41\x01\x12\x41\n\x15\x61\x66ter_model_callbacks\x18\x15 \x03(\x0b\x32\x1d.google.cloud.ces.v1.CallbackB\x03\xe0\x41\x01\x12\x41\n\x15\x62\x65\x66ore_tool_callbacks\x18\x16 \x03(\x0b\x32\x1d.google.cloud.ces.v1.CallbackB\x03\xe0\x41\x01\x12@\n\x14\x61\x66ter_tool_callbacks\x18\x17 \x03(\x0b\x32\x1d.google.cloud.ces.v1.CallbackB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\nguardrails\x18\x11 \x03(\tB$\xe0\x41\x01\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Guardrail\x12\x0c\n\x04\x65tag\x18\x18 \x01(\t\x12>\n\x08toolsets\x18\x1c \x03(\x0b\x32\'.google.cloud.ces.v1.Agent.AgentToolsetB\x03\xe0\x41\x01\x12\x1e\n\x11generated_summary\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12>\n\x0etransfer_rules\x18\x1e \x03(\x0b\x32!.google.cloud.ces.v1.TransferRuleB\x03\xe0\x41\x01\x12\x1e\n\x11validation_errors\x18 \x03(\tB\x03\xe0\x41\x03\x1a\n\n\x08LlmAgent\x1a\xc5\x04\n\x15RemoteDialogflowAgent\x12@\n\x05\x61gent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)dialogflow.googleapis.com/DialogflowAgent\x12\x14\n\x07\x66low_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65nvironment_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12o\n\x16input_variable_mapping\x18\x04 \x03(\x0b\x32J.google.cloud.ces.v1.Agent.RemoteDialogflowAgent.InputVariableMappingEntryB\x03\xe0\x41\x01\x12q\n\x17output_variable_mapping\x18\x05 \x03(\x0b\x32K.google.cloud.ces.v1.Agent.RemoteDialogflowAgent.OutputVariableMappingEntryB\x03\xe0\x41\x01\x12\x33\n&respect_response_interruption_settings\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12#\n\x16language_code_variable\x18\x07 \x01(\tB\x03\xe0\x41\x01\x1a;\n\x19InputVariableMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1aOutputVariableMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aZ\n\x0c\x41gentToolset\x12\x33\n\x07toolset\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x15\n\x08tool_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01:o\xea\x41l\n\x18\x63\x65s.googleapis.com/Agent\x12\x41projects/{project}/locations/{location}/apps/{app}/agents/{agent}*\x06\x61gents2\x05\x61gentB\x0c\n\nagent_typeB\xb8\x01\n\x17\x63om.google.cloud.ces.v1B\nAgentProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespb\xea\x41\x63\n)dialogflow.googleapis.com/DialogflowAgent\x12\x36projects/{project}/locations/{location}/agents/{agent}b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/duration_pb'
|
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
descriptor_data = "\n\x1dgoogle/cloud/ces/v1/app.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/ces/v1/bigquery_export.proto\x1a google/cloud/ces/v1/common.proto\x1a google/cloud/ces/v1/schema.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc3\x0e\n\x03\x41pp\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06pinned\x18\x1f \x01(\x08\x42\x03\xe0\x41\x01\x12\x34\n\nroot_agent\x18\x04 \x01(\tB \xe0\x41\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x45\n\x11language_settings\x18\x12 \x01(\x0b\x32%.google.cloud.ces.v1.LanguageSettingsB\x03\xe0\x41\x01\x12\x46\n\x12time_zone_settings\x18\x1b \x01(\x0b\x32%.google.cloud.ces.v1.TimeZoneSettingsB\x03\xe0\x41\x01\x12P\n\x17\x61udio_processing_config\x18\x07 \x01(\x0b\x32*.google.cloud.ces.v1.AudioProcessingConfigB\x03\xe0\x41\x01\x12\x43\n\x10logging_settings\x18\x08 \x01(\x0b\x32$.google.cloud.ces.v1.LoggingSettingsB\x03\xe0\x41\x01\x12P\n\x17\x65rror_handling_settings\x18\" \x01(\x0b\x32*.google.cloud.ces.v1.ErrorHandlingSettingsB\x03\xe0\x41\x01\x12?\n\x0emodel_settings\x18\r \x01(\x0b\x32\".google.cloud.ces.v1.ModelSettingsB\x03\xe0\x41\x01\x12L\n\x13tool_execution_mode\x18 \x01(\x0e\x32*.google.cloud.ces.v1.App.ToolExecutionModeB\x03\xe0\x41\x01\x12\\\n\x1d\x65valuation_metrics_thresholds\x18\x18 \x01(\x0b\x32\x30.google.cloud.ces.v1.EvaluationMetricsThresholdsB\x03\xe0\x41\x01\x12P\n\x15variable_declarations\x18\x0e \x03(\x0b\x32,.google.cloud.ces.v1.App.VariableDeclarationB\x03\xe0\x41\x01\x12[\n predefined_variable_declarations\x18\x1c \x03(\x0b\x32,.google.cloud.ces.v1.App.VariableDeclarationB\x03\xe0\x41\x03\x12\x1f\n\x12global_instruction\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\nguardrails\x18\n \x03(\tB$\xe0\x41\x01\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Guardrail\x12H\n\x13\x64\x61ta_store_settings\x18\x0f \x01(\x0b\x32&.google.cloud.ces.v1.DataStoreSettingsB\x03\xe0\x41\x01\x12I\n\x17\x64\x65\x66\x61ult_channel_profile\x18\x16 \x01(\x0b\x32#.google.cloud.ces.v1.ChannelProfileB\x03\xe0\x41\x01\x12=\n\x08metadata\x18\x0b \x03(\x0b\x32&.google.cloud.ces.v1.App.MetadataEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x65ployment_count\x18\x17 \x01(\x05\x42\x03\xe0\x41\x03\x12X\n\x1b\x63lient_certificate_settings\x18\x19 \x01(\x0b\x32..google.cloud.ces.v1.ClientCertificateSettingsB\x03\xe0\x41\x01\x12\x13\n\x06locked\x18\x1d \x01(\x08\x42\x03\xe0\x41\x01\x1at\n\x13VariableDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x06schema\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x03\xe0\x41\x02\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\n\x11ToolExecutionMode\x12#\n\x1fTOOL_EXECUTION_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PARALLEL\x10\x01\x12\x0e\n\nSEQUENTIAL\x10\x02:Z\xea\x41W\n\x16\x63\x65s.googleapis.com/App\x12\x32projects/{project}/locations/{location}/apps/{app}*\x04\x61pps2\x03\x61pp\"*\n\x10TimeZoneSettings\x12\x16\n\ttime_zone\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x10LanguageSettings\x12\"\n\x15\x64\x65\x66\x61ult_language_code\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18supported_language_codes\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12(\n\x1b\x65nable_multilingual_support\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x0f\x66\x61llback_action\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x01\"\xbf\x03\n\x15\x41udioProcessingConfig\x12o\n\x19synthesize_speech_configs\x18\x01 \x03(\x0b\x32G.google.cloud.ces.v1.AudioProcessingConfig.SynthesizeSpeechConfigsEntryB\x03\xe0\x41\x01\x12@\n\x0f\x62\x61rge_in_config\x18\x03 \x01(\x0b\x32\".google.cloud.ces.v1.BargeInConfigB\x03\xe0\x41\x01\x12:\n\x12inactivity_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12J\n\x14\x61mbient_sound_config\x18\x05 \x01(\x0b\x32\'.google.cloud.ces.v1.AmbientSoundConfigB\x03\xe0\x41\x01\x1ak\n\x1cSynthesizeSpeechConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.ces.v1.SynthesizeSpeechConfig:\x02\x38\x01\"\xd5\x02\n\x12\x41mbientSoundConfig\x12\x65\n\x16prebuilt_ambient_noise\x18\x01 \x01(\x0e\x32<.google.cloud.ces.v1.AmbientSoundConfig.PrebuiltAmbientNoiseB\x05\x18\x01\xe0\x41\x01H\x00\x12\x16\n\x07gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12%\n\x16prebuilt_ambient_sound\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0evolume_gain_db\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01\"r\n\x14PrebuiltAmbientNoise\x12&\n\"PREBUILT_AMBIENT_NOISE_UNSPECIFIED\x10\x00\x12\x10\n\x0cRETAIL_STORE\x10\x01\x12\x13\n\x0f\x43ONVENTION_HALL\x10\x02\x12\x0b\n\x07OUTDOOR\x10\x03\x42\x08\n\x06source\"Q\n\rBargeInConfig\x12\x1f\n\x10\x64isable_barge_in\x18\x01 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x1f\n\x12\x62\x61rge_in_awareness\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"H\n\x16SynthesizeSpeechConfig\x12\x12\n\x05voice\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rspeaking_rate\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01\"<\n\x16MetricAnalysisSettings\x12\"\n\x15llm_metrics_opted_out\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xd7\x04\n\x0fLoggingSettings\x12\x43\n\x10redaction_config\x18\x01 \x01(\x0b\x32$.google.cloud.ces.v1.RedactionConfigB\x03\xe0\x41\x01\x12N\n\x16\x61udio_recording_config\x18\x02 \x01(\x0b\x32).google.cloud.ces.v1.AudioRecordingConfigB\x03\xe0\x41\x01\x12R\n\x18\x62igquery_export_settings\x18\x03 \x01(\x0b\x32+.google.cloud.ces.v1.BigQueryExportSettingsB\x03\xe0\x41\x01\x12N\n\x16\x63loud_logging_settings\x18\x04 \x01(\x0b\x32).google.cloud.ces.v1.CloudLoggingSettingsB\x03\xe0\x41\x01\x12\\\n\x1d\x63onversation_logging_settings\x18\x05 \x01(\x0b\x32\x30.google.cloud.ces.v1.ConversationLoggingSettingsB\x03\xe0\x41\x01\x12Y\n!evaluation_audio_recording_config\x18\x06 \x01(\x0b\x32).google.cloud.ces.v1.AudioRecordingConfigB\x03\xe0\x41\x01\x12R\n\x18metric_analysis_settings\x18\x07 \x01(\x0b\x32+.google.cloud.ces.v1.MetricAnalysisSettingsB\x03\xe0\x41\x01\"\xf3\x01\n\x15\x45rrorHandlingSettings\x12\x66\n\x17\x65rror_handling_strategy\x18\x01 \x01(\x0e\x32@.google.cloud.ces.v1.ErrorHandlingSettings.ErrorHandlingStrategyB\x03\xe0\x41\x01\"r\n\x15\x45rrorHandlingStrategy\x12\'\n#ERROR_HANDLING_STRATEGY_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x15\n\x11\x46\x41LLBACK_RESPONSE\x10\x02\x12\x0f\n\x0b\x45ND_SESSION\x10\x03\"\x83\x10\n\x1b\x45valuationMetricsThresholds\x12\x85\x01\n$golden_evaluation_metrics_thresholds\x18\x01 \x01(\x0b\x32R.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholdsB\x03\xe0\x41\x01\x12z\n\x1dhallucination_metric_behavior\x18\x03 \x01(\x0e\x32L.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x05\x18\x01\xe0\x41\x01\x12\x7f\n$golden_hallucination_metric_behavior\x18\x05 \x01(\x0e\x32L.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x03\xe0\x41\x01\x12\x81\x01\n&scenario_hallucination_metric_behavior\x18\x04 \x01(\x0e\x32L.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x03\xe0\x41\x01\x1a\xfb\x08\n!GoldenEvaluationMetricsThresholds\x12\x99\x01\n\x1dturn_level_metrics_thresholds\x18\x01 \x01(\x0b\x32m.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsB\x03\xe0\x41\x01\x12\xa7\x01\n$expectation_level_metrics_thresholds\x18\x02 \x01(\x0b\x32t.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholdsB\x03\xe0\x41\x01\x12j\n\x16tool_matching_settings\x18\x03 \x01(\x0b\x32\x45.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettingsB\x03\xe0\x41\x01\x1a\x86\x04\n\x1aTurnLevelMetricsThresholds\x12\x37\n%semantic_similarity_success_threshold\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12?\n-overall_tool_invocation_correctness_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\xb2\x01\n\x1bsemantic_similarity_channel\x18\x03 \x01(\x0e\x32\x87\x01.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannelB\x03\xe0\x41\x01\"]\n\x19SemanticSimilarityChannel\x12+\n\'SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x42(\n&_semantic_similarity_success_thresholdB0\n._overall_tool_invocation_correctness_threshold\x1a\x9a\x01\n!ExpectationLevelMetricsThresholds\x12\x41\n/tool_invocation_parameter_correctness_threshold\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x32\n0_tool_invocation_parameter_correctness_threshold\x1a\xf3\x01\n\x14ToolMatchingSettings\x12\x82\x01\n\x18\x65xtra_tool_call_behavior\x18\x01 \x01(\x0e\x32[.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehaviorB\x03\xe0\x41\x01\"V\n\x15\x45xtraToolCallBehavior\x12(\n$EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\t\n\x05\x41LLOW\x10\x02\"g\n\x1bHallucinationMetricBehavior\x12-\n)HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\"\x9b\x01\n\x19\x43lientCertificateSettings\x12\x1c\n\x0ftls_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0bprivate_key\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x17\n\npassphrase\x18\x03 \x01(\tB\x03\xe0\x41\x01\"H\n\x1b\x43onversationLoggingSettings\x12)\n\x1c\x64isable_conversation_logging\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"9\n\x14\x43loudLoggingSettings\x12!\n\x14\x65nable_cloud_logging\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x14\x41udioRecordingConfig\x12\x17\n\ngcs_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcs_path_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xc2\x01\n\x0fRedactionConfig\x12\x1d\n\x10\x65nable_redaction\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\x10inspect_template\x18\x02 \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"dlp.googleapis.com/InspectTemplate\x12J\n\x13\x64\x65identify_template\x18\x03 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate\"\xb3\x02\n\x11\x44\x61taStoreSettings\x12\x43\n\x07\x65ngines\x18\x03 \x03(\x0b\x32-.google.cloud.ces.v1.DataStoreSettings.EngineB\x03\xe0\x41\x03\x1a\xd8\x01\n\x06\x45ngine\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%discoveryengine.googleapis.com/Engine\x12\x45\n\x04type\x18\x02 \x01(\x0e\x32\x32.google.cloud.ces.v1.DataStoreSettings.Engine.TypeB\x03\xe0\x41\x03\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45NGINE_TYPE_SEARCH\x10\x01\x12\x14\n\x10\x45NGINE_TYPE_CHAT\x10\x02\x42\xf4\x04\n\x17\x63om.google.cloud.ces.v1B\x08\x41ppProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespb\xea\x41\xc8\x01\n\"dlp.googleapis.com/InspectTemplate\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}\xea\x41\xd7\x01\n%dlp.googleapis.com/DeidentifyTemplate\x12[organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}\x12Qprojects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}b\x06proto3"
|
|
16
|
+
descriptor_data = "\n\x1dgoogle/cloud/ces/v1/app.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/ces/v1/bigquery_export.proto\x1a google/cloud/ces/v1/common.proto\x1a google/cloud/ces/v1/schema.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x0f\n\x03\x41pp\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06pinned\x18\x1f \x01(\x08\x42\x03\xe0\x41\x01\x12\x34\n\nroot_agent\x18\x04 \x01(\tB \xe0\x41\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x45\n\x11language_settings\x18\x12 \x01(\x0b\x32%.google.cloud.ces.v1.LanguageSettingsB\x03\xe0\x41\x01\x12\x46\n\x12time_zone_settings\x18\x1b \x01(\x0b\x32%.google.cloud.ces.v1.TimeZoneSettingsB\x03\xe0\x41\x01\x12P\n\x17\x61udio_processing_config\x18\x07 \x01(\x0b\x32*.google.cloud.ces.v1.AudioProcessingConfigB\x03\xe0\x41\x01\x12\x43\n\x10logging_settings\x18\x08 \x01(\x0b\x32$.google.cloud.ces.v1.LoggingSettingsB\x03\xe0\x41\x01\x12P\n\x17\x65rror_handling_settings\x18\" \x01(\x0b\x32*.google.cloud.ces.v1.ErrorHandlingSettingsB\x03\xe0\x41\x01\x12?\n\x0emodel_settings\x18\r \x01(\x0b\x32\".google.cloud.ces.v1.ModelSettingsB\x03\xe0\x41\x01\x12L\n\x13tool_execution_mode\x18 \x01(\x0e\x32*.google.cloud.ces.v1.App.ToolExecutionModeB\x03\xe0\x41\x01\x12\\\n\x1d\x65valuation_metrics_thresholds\x18\x18 \x01(\x0b\x32\x30.google.cloud.ces.v1.EvaluationMetricsThresholdsB\x03\xe0\x41\x01\x12P\n\x15variable_declarations\x18\x0e \x03(\x0b\x32,.google.cloud.ces.v1.App.VariableDeclarationB\x03\xe0\x41\x01\x12[\n predefined_variable_declarations\x18\x1c \x03(\x0b\x32,.google.cloud.ces.v1.App.VariableDeclarationB\x03\xe0\x41\x03\x12\x1f\n\x12global_instruction\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\nguardrails\x18\n \x03(\tB$\xe0\x41\x01\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Guardrail\x12H\n\x13\x64\x61ta_store_settings\x18\x0f \x01(\x0b\x32&.google.cloud.ces.v1.DataStoreSettingsB\x03\xe0\x41\x01\x12I\n\x17\x64\x65\x66\x61ult_channel_profile\x18\x16 \x01(\x0b\x32#.google.cloud.ces.v1.ChannelProfileB\x03\xe0\x41\x01\x12=\n\x08metadata\x18\x0b \x03(\x0b\x32&.google.cloud.ces.v1.App.MetadataEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x65ployment_count\x18\x17 \x01(\x05\x42\x03\xe0\x41\x03\x12X\n\x1b\x63lient_certificate_settings\x18\x19 \x01(\x0b\x32..google.cloud.ces.v1.ClientCertificateSettingsB\x03\xe0\x41\x01\x12@\n\x0fvpc_sc_settings\x18\x1a \x01(\x0b\x32\".google.cloud.ces.v1.VpcScSettingsB\x03\xe0\x41\x01\x12\x13\n\x06locked\x18\x1d \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11validation_errors\x18\' \x03(\tB\x03\xe0\x41\x03\x1at\n\x13VariableDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x06schema\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x03\xe0\x41\x02\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\n\x11ToolExecutionMode\x12#\n\x1fTOOL_EXECUTION_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PARALLEL\x10\x01\x12\x0e\n\nSEQUENTIAL\x10\x02:Z\xea\x41W\n\x16\x63\x65s.googleapis.com/App\x12\x32projects/{project}/locations/{location}/apps/{app}*\x04\x61pps2\x03\x61pp\"*\n\x10TimeZoneSettings\x12\x16\n\ttime_zone\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x10LanguageSettings\x12\"\n\x15\x64\x65\x66\x61ult_language_code\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18supported_language_codes\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12(\n\x1b\x65nable_multilingual_support\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x0f\x66\x61llback_action\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x01\"\xbf\x03\n\x15\x41udioProcessingConfig\x12o\n\x19synthesize_speech_configs\x18\x01 \x03(\x0b\x32G.google.cloud.ces.v1.AudioProcessingConfig.SynthesizeSpeechConfigsEntryB\x03\xe0\x41\x01\x12@\n\x0f\x62\x61rge_in_config\x18\x03 \x01(\x0b\x32\".google.cloud.ces.v1.BargeInConfigB\x03\xe0\x41\x01\x12:\n\x12inactivity_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12J\n\x14\x61mbient_sound_config\x18\x05 \x01(\x0b\x32\'.google.cloud.ces.v1.AmbientSoundConfigB\x03\xe0\x41\x01\x1ak\n\x1cSynthesizeSpeechConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.ces.v1.SynthesizeSpeechConfig:\x02\x38\x01\"\xd5\x02\n\x12\x41mbientSoundConfig\x12\x65\n\x16prebuilt_ambient_noise\x18\x01 \x01(\x0e\x32<.google.cloud.ces.v1.AmbientSoundConfig.PrebuiltAmbientNoiseB\x05\x18\x01\xe0\x41\x01H\x00\x12\x16\n\x07gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12%\n\x16prebuilt_ambient_sound\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0evolume_gain_db\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01\"r\n\x14PrebuiltAmbientNoise\x12&\n\"PREBUILT_AMBIENT_NOISE_UNSPECIFIED\x10\x00\x12\x10\n\x0cRETAIL_STORE\x10\x01\x12\x13\n\x0f\x43ONVENTION_HALL\x10\x02\x12\x0b\n\x07OUTDOOR\x10\x03\x42\x08\n\x06source\"Q\n\rBargeInConfig\x12\x1f\n\x10\x64isable_barge_in\x18\x01 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x1f\n\x12\x62\x61rge_in_awareness\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x99\x01\n\x16SynthesizeSpeechConfig\x12\x12\n\x05voice\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14voice_sample_gcs_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rspeaking_rate\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01\x12\x12\n\x05model\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0binstruction\x18\x05 \x01(\tB\x03\xe0\x41\x01\"<\n\x16MetricAnalysisSettings\x12\"\n\x15llm_metrics_opted_out\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\x91\x06\n\x0fLoggingSettings\x12\x43\n\x10redaction_config\x18\x01 \x01(\x0b\x32$.google.cloud.ces.v1.RedactionConfigB\x03\xe0\x41\x01\x12N\n\x16\x61udio_recording_config\x18\x02 \x01(\x0b\x32).google.cloud.ces.v1.AudioRecordingConfigB\x03\xe0\x41\x01\x12Y\n!unredacted_audio_recording_config\x18\x08 \x01(\x0b\x32).google.cloud.ces.v1.AudioRecordingConfigB\x03\xe0\x41\x01\x12R\n\x18\x62igquery_export_settings\x18\x03 \x01(\x0b\x32+.google.cloud.ces.v1.BigQueryExportSettingsB\x03\xe0\x41\x01\x12]\n#unredacted_bigquery_export_settings\x18\t \x01(\x0b\x32+.google.cloud.ces.v1.BigQueryExportSettingsB\x03\xe0\x41\x01\x12N\n\x16\x63loud_logging_settings\x18\x04 \x01(\x0b\x32).google.cloud.ces.v1.CloudLoggingSettingsB\x03\xe0\x41\x01\x12\\\n\x1d\x63onversation_logging_settings\x18\x05 \x01(\x0b\x32\x30.google.cloud.ces.v1.ConversationLoggingSettingsB\x03\xe0\x41\x01\x12Y\n!evaluation_audio_recording_config\x18\x06 \x01(\x0b\x32).google.cloud.ces.v1.AudioRecordingConfigB\x03\xe0\x41\x01\x12R\n\x18metric_analysis_settings\x18\x07 \x01(\x0b\x32+.google.cloud.ces.v1.MetricAnalysisSettingsB\x03\xe0\x41\x01\"\x8d\x06\n\x15\x45rrorHandlingSettings\x12\x66\n\x17\x65rror_handling_strategy\x18\x01 \x01(\x0e\x32@.google.cloud.ces.v1.ErrorHandlingSettings.ErrorHandlingStrategyB\x03\xe0\x41\x01\x12h\n\x18\x66\x61llback_response_config\x18\x02 \x01(\x0b\x32\x41.google.cloud.ces.v1.ErrorHandlingSettings.FallbackResponseConfigB\x03\xe0\x41\x01\x12\\\n\x12\x65nd_session_config\x18\x03 \x01(\x0b\x32;.google.cloud.ces.v1.ErrorHandlingSettings.EndSessionConfigB\x03\xe0\x41\x01\x1a\x82\x02\n\x16\x46\x61llbackResponseConfig\x12\x84\x01\n\x18\x63ustom_fallback_messages\x18\x01 \x03(\x0b\x32].google.cloud.ces.v1.ErrorHandlingSettings.FallbackResponseConfig.CustomFallbackMessagesEntryB\x03\xe0\x41\x01\x12\"\n\x15max_fallback_attempts\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x1a=\n\x1b\x43ustomFallbackMessagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aK\n\x10\x45ndSessionConfig\x12\"\n\x10\x65scalate_session\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x13\n\x11_escalate_session\"r\n\x15\x45rrorHandlingStrategy\x12\'\n#ERROR_HANDLING_STRATEGY_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x15\n\x11\x46\x41LLBACK_RESPONSE\x10\x02\x12\x0f\n\x0b\x45ND_SESSION\x10\x03\"\x83\x10\n\x1b\x45valuationMetricsThresholds\x12\x85\x01\n$golden_evaluation_metrics_thresholds\x18\x01 \x01(\x0b\x32R.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholdsB\x03\xe0\x41\x01\x12z\n\x1dhallucination_metric_behavior\x18\x03 \x01(\x0e\x32L.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x05\x18\x01\xe0\x41\x01\x12\x7f\n$golden_hallucination_metric_behavior\x18\x05 \x01(\x0e\x32L.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x03\xe0\x41\x01\x12\x81\x01\n&scenario_hallucination_metric_behavior\x18\x04 \x01(\x0e\x32L.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x03\xe0\x41\x01\x1a\xfb\x08\n!GoldenEvaluationMetricsThresholds\x12\x99\x01\n\x1dturn_level_metrics_thresholds\x18\x01 \x01(\x0b\x32m.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsB\x03\xe0\x41\x01\x12\xa7\x01\n$expectation_level_metrics_thresholds\x18\x02 \x01(\x0b\x32t.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholdsB\x03\xe0\x41\x01\x12j\n\x16tool_matching_settings\x18\x03 \x01(\x0b\x32\x45.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettingsB\x03\xe0\x41\x01\x1a\x86\x04\n\x1aTurnLevelMetricsThresholds\x12\x37\n%semantic_similarity_success_threshold\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12?\n-overall_tool_invocation_correctness_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\xb2\x01\n\x1bsemantic_similarity_channel\x18\x03 \x01(\x0e\x32\x87\x01.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannelB\x03\xe0\x41\x01\"]\n\x19SemanticSimilarityChannel\x12+\n\'SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x42(\n&_semantic_similarity_success_thresholdB0\n._overall_tool_invocation_correctness_threshold\x1a\x9a\x01\n!ExpectationLevelMetricsThresholds\x12\x41\n/tool_invocation_parameter_correctness_threshold\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x32\n0_tool_invocation_parameter_correctness_threshold\x1a\xf3\x01\n\x14ToolMatchingSettings\x12\x82\x01\n\x18\x65xtra_tool_call_behavior\x18\x01 \x01(\x0e\x32[.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehaviorB\x03\xe0\x41\x01\"V\n\x15\x45xtraToolCallBehavior\x12(\n$EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\t\n\x05\x41LLOW\x10\x02\"g\n\x1bHallucinationMetricBehavior\x12-\n)HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\"\x9b\x01\n\x19\x43lientCertificateSettings\x12\x1c\n\x0ftls_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0bprivate_key\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x17\n\npassphrase\x18\x03 \x01(\tB\x03\xe0\x41\x01\"-\n\rVpcScSettings\x12\x1c\n\x0f\x61llowed_origins\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\x82\x01\n\x1b\x43onversationLoggingSettings\x12)\n\x1c\x64isable_conversation_logging\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x38\n\x10retention_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"9\n\x14\x43loudLoggingSettings\x12!\n\x14\x65nable_cloud_logging\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x14\x41udioRecordingConfig\x12\x17\n\ngcs_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcs_path_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xc2\x01\n\x0fRedactionConfig\x12\x1d\n\x10\x65nable_redaction\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\x10inspect_template\x18\x02 \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"dlp.googleapis.com/InspectTemplate\x12J\n\x13\x64\x65identify_template\x18\x03 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate\"\xb3\x02\n\x11\x44\x61taStoreSettings\x12\x43\n\x07\x65ngines\x18\x03 \x03(\x0b\x32-.google.cloud.ces.v1.DataStoreSettings.EngineB\x03\xe0\x41\x03\x1a\xd8\x01\n\x06\x45ngine\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%discoveryengine.googleapis.com/Engine\x12\x45\n\x04type\x18\x02 \x01(\x0e\x32\x32.google.cloud.ces.v1.DataStoreSettings.Engine.TypeB\x03\xe0\x41\x03\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45NGINE_TYPE_SEARCH\x10\x01\x12\x14\n\x10\x45NGINE_TYPE_CHAT\x10\x02\x42\xf4\x04\n\x17\x63om.google.cloud.ces.v1B\x08\x41ppProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespb\xea\x41\xc8\x01\n\"dlp.googleapis.com/InspectTemplate\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}\xea\x41\xd7\x01\n%dlp.googleapis.com/DeidentifyTemplate\x12[organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}\x12Qprojects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}b\x06proto3"
|
|
17
17
|
|
|
18
18
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
19
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -35,6 +35,8 @@ module Google
|
|
|
35
35
|
MetricAnalysisSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.MetricAnalysisSettings").msgclass
|
|
36
36
|
LoggingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.LoggingSettings").msgclass
|
|
37
37
|
ErrorHandlingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ErrorHandlingSettings").msgclass
|
|
38
|
+
ErrorHandlingSettings::FallbackResponseConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ErrorHandlingSettings.FallbackResponseConfig").msgclass
|
|
39
|
+
ErrorHandlingSettings::EndSessionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ErrorHandlingSettings.EndSessionConfig").msgclass
|
|
38
40
|
ErrorHandlingSettings::ErrorHandlingStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ErrorHandlingSettings.ErrorHandlingStrategy").enummodule
|
|
39
41
|
EvaluationMetricsThresholds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.EvaluationMetricsThresholds").msgclass
|
|
40
42
|
EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds").msgclass
|
|
@@ -45,6 +47,7 @@ module Google
|
|
|
45
47
|
EvaluationMetricsThresholds::ToolMatchingSettings::ExtraToolCallBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior").enummodule
|
|
46
48
|
EvaluationMetricsThresholds::HallucinationMetricBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior").enummodule
|
|
47
49
|
ClientCertificateSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ClientCertificateSettings").msgclass
|
|
50
|
+
VpcScSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.VpcScSettings").msgclass
|
|
48
51
|
ConversationLoggingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ConversationLoggingSettings").msgclass
|
|
49
52
|
CloudLoggingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.CloudLoggingSettings").msgclass
|
|
50
53
|
AudioRecordingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.AudioRecordingConfig").msgclass
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/struct_pb'
|
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n google/cloud/ces/v1/common.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8d\x01\n\x08\x43\x61llback\x12\x1a\n\x0bpython_code\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x64isabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1bproactive_execution_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x42\n\n\x08\x63\x61llback\"R\n\rModelSettings\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0e\n\x0c_temperature\"\x98\x04\n\rTriggerAction\x12Y\n\x13respond_immediately\x18\x01 \x01(\x0b\x32\x35.google.cloud.ces.v1.TriggerAction.RespondImmediatelyB\x03\xe0\x41\x01H\x00\x12O\n\x0etransfer_agent\x18\x02 \x01(\x0b\x32\x30.google.cloud.ces.v1.TriggerAction.TransferAgentB\x03\xe0\x41\x01H\x00\x12U\n\x11generative_answer\x18\x03 \x01(\x0b\x32\x33.google.cloud.ces.v1.TriggerAction.GenerativeAnswerB\x03\xe0\x41\x01H\x00\x1a\x34\n\x08Response\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x64isabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1aY\n\x12RespondImmediately\x12\x43\n\tresponses\x18\x01 \x03(\x0b\x32+.google.cloud.ces.v1.TriggerAction.ResponseB\x03\xe0\x41\x02\x1a\'\n\x10GenerativeAnswer\x12\x13\n\x06prompt\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a@\n\rTransferAgent\x12/\n\x05\x61gent\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/AgentB\x08\n\x06\x61\x63tion\"\x81\x01\n\tTlsConfig\x12<\n\x08\x63\x61_certs\x18\x01 \x03(\x0b\x32%.google.cloud.ces.v1.TlsConfig.CaCertB\x03\xe0\x41\x02\x1a\x36\n\x06\x43\x61\x43\x65rt\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x63\x65rt\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"Z\n\x16ServiceDirectoryConfig\x12@\n\x07service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\
|
|
14
|
+
descriptor_data = "\n google/cloud/ces/v1/common.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8d\x01\n\x08\x43\x61llback\x12\x1a\n\x0bpython_code\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x64isabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1bproactive_execution_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x42\n\n\x08\x63\x61llback\"R\n\rModelSettings\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0e\n\x0c_temperature\"\x98\x04\n\rTriggerAction\x12Y\n\x13respond_immediately\x18\x01 \x01(\x0b\x32\x35.google.cloud.ces.v1.TriggerAction.RespondImmediatelyB\x03\xe0\x41\x01H\x00\x12O\n\x0etransfer_agent\x18\x02 \x01(\x0b\x32\x30.google.cloud.ces.v1.TriggerAction.TransferAgentB\x03\xe0\x41\x01H\x00\x12U\n\x11generative_answer\x18\x03 \x01(\x0b\x32\x33.google.cloud.ces.v1.TriggerAction.GenerativeAnswerB\x03\xe0\x41\x01H\x00\x1a\x34\n\x08Response\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x64isabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1aY\n\x12RespondImmediately\x12\x43\n\tresponses\x18\x01 \x03(\x0b\x32+.google.cloud.ces.v1.TriggerAction.ResponseB\x03\xe0\x41\x02\x1a\'\n\x10GenerativeAnswer\x12\x13\n\x06prompt\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a@\n\rTransferAgent\x12/\n\x05\x61gent\x18\x01 \x01(\tB \xe0\x41\x02\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/AgentB\x08\n\x06\x61\x63tion\"\x81\x01\n\tTlsConfig\x12<\n\x08\x63\x61_certs\x18\x01 \x03(\x0b\x32%.google.cloud.ces.v1.TlsConfig.CaCertB\x03\xe0\x41\x02\x1a\x36\n\x06\x43\x61\x43\x65rt\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x63\x65rt\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"Z\n\x16ServiceDirectoryConfig\x12@\n\x07service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\xe7\x0e\n\x0e\x43hannelProfile\x12\x17\n\nprofile_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12J\n\x0c\x63hannel_type\x18\x03 \x01(\x0e\x32/.google.cloud.ces.v1.ChannelProfile.ChannelTypeB\x03\xe0\x41\x01\x12R\n\x10persona_property\x18\x02 \x01(\x0b\x32\x33.google.cloud.ces.v1.ChannelProfile.PersonaPropertyB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isable_dtmf\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12%\n\x18\x64isable_barge_in_control\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12S\n\x11web_widget_config\x18\x07 \x01(\x0b\x32\x33.google.cloud.ces.v1.ChannelProfile.WebWidgetConfigB\x03\xe0\x41\x01\x12$\n\x17noise_suppression_level\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12P\n\x0fwhatsapp_config\x18\t \x01(\x0b\x32\x32.google.cloud.ces.v1.ChannelProfile.WhatsAppConfigB\x03\xe0\x41\x01\x12R\n\x10instagram_config\x18\n \x01(\x0b\x32\x33.google.cloud.ces.v1.ChannelProfile.InstagramConfigB\x03\xe0\x41\x01\x1a\x95\x01\n\x0fPersonaProperty\x12Q\n\x07persona\x18\x01 \x01(\x0e\x32;.google.cloud.ces.v1.ChannelProfile.PersonaProperty.PersonaB\x03\xe0\x41\x01\"/\n\x07Persona\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x43ONCISE\x10\x01\x12\n\n\x06\x43HATTY\x10\x02\x1a\xf9\x04\n\x0fWebWidgetConfig\x12S\n\x08modality\x18\x01 \x01(\x0e\x32<.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.ModalityB\x03\xe0\x41\x01\x12M\n\x05theme\x18\x02 \x01(\x0e\x32\x39.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.ThemeB\x03\xe0\x41\x01\x12\x1d\n\x10web_widget_title\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x64\n\x11security_settings\x18\x04 \x01(\x0b\x32\x44.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettingsB\x03\xe0\x41\x01\x1a\x94\x01\n\x10SecuritySettings\x12!\n\x14\x65nable_public_access\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13\x65nable_origin_check\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0f\x61llowed_origins\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nable_recaptcha\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"q\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43HAT_AND_VOICE\x10\x01\x12\x0e\n\nVOICE_ONLY\x10\x02\x12\r\n\tCHAT_ONLY\x10\x03\x12\x18\n\x14\x43HAT_VOICE_AND_VIDEO\x10\x04\"3\n\x05Theme\x12\x15\n\x11THEME_UNSPECIFIED\x10\x00\x12\t\n\x05LIGHT\x10\x01\x12\x08\n\x04\x44\x41RK\x10\x02\x1a\xb0\x01\n\x0eWhatsAppConfig\x12\x14\n\x07waba_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fphone_number_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cphone_number\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rthumbnail_url\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\x1a\x85\x01\n\x0fInstagramConfig\x12!\n\x14instagram_account_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rthumbnail_url\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xe9\x01\n\x0b\x43hannelType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06WEB_UI\x10\x02\x12\x07\n\x03\x41PI\x10\x03\x12\n\n\x06TWILIO\x10\x04\x12\x1d\n\x19GOOGLE_TELEPHONY_PLATFORM\x10\x05\x12\x1f\n\x1b\x43ONTACT_CENTER_AS_A_SERVICE\x10\x06\x12$\n CONTACT_CENTER_AS_A_SERVICE_CHAT\x10\x0b\x12\t\n\x05\x46IVE9\x10\x07\x12\x1e\n\x1a\x43ONTACT_CENTER_INTEGRATION\x10\x08\x12\x0c\n\x08WHATSAPP\x10\t\x12\r\n\tINSTAGRAM\x10\n\"\x9a\x02\n\x04Span\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x30\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x30\n\nattributes\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\x12\x33\n\x0b\x63hild_spans\x18\x05 \x03(\x0b\x32\x19.google.cloud.ces.v1.SpanB\x03\xe0\x41\x03*R\n\rExecutionType\x12\x1e\n\x1a\x45XECUTION_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSYNCHRONOUS\x10\x01\x12\x10\n\x0c\x41SYNCHRONOUS\x10\x02\x42\xd2\x01\n\x17\x63om.google.cloud.ces.v1B\x0b\x43ommonProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespb\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -37,6 +37,8 @@ module Google
|
|
|
37
37
|
ChannelProfile::WebWidgetConfig::SecuritySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.SecuritySettings").msgclass
|
|
38
38
|
ChannelProfile::WebWidgetConfig::Modality = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Modality").enummodule
|
|
39
39
|
ChannelProfile::WebWidgetConfig::Theme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ChannelProfile.WebWidgetConfig.Theme").enummodule
|
|
40
|
+
ChannelProfile::WhatsAppConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ChannelProfile.WhatsAppConfig").msgclass
|
|
41
|
+
ChannelProfile::InstagramConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ChannelProfile.InstagramConfig").msgclass
|
|
40
42
|
ChannelProfile::ChannelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ChannelProfile.ChannelType").enummodule
|
|
41
43
|
Span = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.Span").msgclass
|
|
42
44
|
ExecutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExecutionType").enummodule
|
|
@@ -11,7 +11,7 @@ require 'google/cloud/ces/v1/example_pb'
|
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n&google/cloud/ces/v1/conversation.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a!google/cloud/ces/v1/example.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n&google/cloud/ces/v1/conversation.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a!google/cloud/ces/v1/example.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\n\n\x0c\x43onversation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x05turns\x18\x06 \x03(\x0b\x32&.google.cloud.ces.v1.Conversation.TurnB\x03\xe0\x41\x02\x12\x17\n\nturn_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03\x12G\n\x0c\x63hannel_type\x18\x08 \x01(\x0e\x32-.google.cloud.ces.v1.Conversation.ChannelTypeB\x02\x18\x01\x12=\n\x06source\x18\t \x01(\x0e\x32(.google.cloud.ces.v1.Conversation.SourceB\x03\xe0\x41\x03\x12\x45\n\x0binput_types\x18\n \x03(\x0e\x32+.google.cloud.ces.v1.Conversation.InputTypeB\x03\xe0\x41\x03\x12\x35\n\x0b\x65ntry_agent\x18\x0b \x01(\tB \xe0\x41\x03\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x39\n\ndeployment\x18\x0c \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Deployment\x12:\n\x0b\x61pp_version\x18\r \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12\x1a\n\rlanguage_code\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x32\n\x08messages\x18\x02 \x03(\x0b\x32\x1c.google.cloud.ces.v1.MessageB\x02\x18\x01\x1an\n\x04Turn\x12\x33\n\x08messages\x18\x01 \x03(\x0b\x32\x1c.google.cloud.ces.v1.MessageB\x03\xe0\x41\x01\x12\x31\n\troot_span\x18\x02 \x01(\x0b\x32\x19.google.cloud.ces.v1.SpanB\x03\xe0\x41\x01\"P\n\x0b\x43hannelType\x12\x1c\n\x18\x43HANNEL_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\x0e\n\nMULTIMODAL\x10\x03\"S\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x08\n\x04LIVE\x10\x01\x12\r\n\tSIMULATOR\x10\x02\x12\x08\n\x04\x45VAL\x10\x03\x12\x0e\n\nAGENT_TOOL\x10\x04\"\xcb\x01\n\tInputType\x12\x1a\n\x16INPUT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fINPUT_TYPE_TEXT\x10\x01\x12\x14\n\x10INPUT_TYPE_EVENT\x10\x07\x12\x14\n\x10INPUT_TYPE_AUDIO\x10\x02\x12\x14\n\x10INPUT_TYPE_IMAGE\x10\x03\x12\x13\n\x0fINPUT_TYPE_BLOB\x10\x04\x12\x1c\n\x18INPUT_TYPE_TOOL_RESPONSE\x10\x05\x12\x18\n\x14INPUT_TYPE_VARIABLES\x10\x06:\x93\x01\xea\x41\x8f\x01\n\x1f\x63\x65s.googleapis.com/Conversation\x12Oprojects/{project}/locations/{location}/apps/{app}/conversations/{conversation}*\rconversations2\x0c\x63onversationBY\n\x17\x63om.google.cloud.ces.v1B\x11\x43onversationProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/ces/v1/common_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n$google/cloud/ces/v1/deployment.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
13
|
+
descriptor_data = "\n$google/cloud/ces/v1/deployment.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x03\n\x10\x45xperimentConfig\x12R\n\x0fversion_release\x18\x01 \x01(\x0b\x32\x34.google.cloud.ces.v1.ExperimentConfig.VersionReleaseB\x03\xe0\x41\x01\x1a\xbf\x02\n\x0eVersionRelease\x12?\n\x05state\x18\x01 \x01(\x0e\x32+.google.cloud.ces.v1.ExperimentConfig.StateB\x03\xe0\x41\x01\x12h\n\x13traffic_allocations\x18\x02 \x03(\x0b\x32\x46.google.cloud.ces.v1.ExperimentConfig.VersionRelease.TrafficAllocationB\x03\xe0\x41\x01\x1a\x81\x01\n\x11TrafficAllocation\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12traffic_percentage\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12:\n\x0b\x61pp_version\x18\x03 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\"O\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\"\xad\x05\n\nDeployment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12:\n\x0b\x61pp_version\x18\x02 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12\x41\n\x0f\x63hannel_profile\x18\x03 \x01(\x0b\x32#.google.cloud.ces.v1.ChannelProfileB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x11\x65xperiment_config\x18\t \x01(\x0b\x32%.google.cloud.ces.v1.ExperimentConfigB\x03\xe0\x41\x01\x12N\n\x14whatsapp_credentials\x18\n \x01(\x0b\x32(.google.cloud.ces.v1.WhatsAppCredentialsB\x06\xe0\x41\x01\xe0\x41\x04\x12P\n\x15instagram_credentials\x18\x0b \x01(\x0b\x32).google.cloud.ces.v1.InstagramCredentialsB\x06\xe0\x41\x01\xe0\x41\x04:\x89\x01\xea\x41\x85\x01\n\x1d\x63\x65s.googleapis.com/Deployment\x12Kprojects/{project}/locations/{location}/apps/{app}/deployments/{deployment}*\x0b\x64\x65ployments2\ndeployment\"\xb8\x01\n\x13WhatsAppCredentials\x12\x16\n\tauth_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03pin\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cphone_number\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x62usiness_account_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07waba_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17\x63onversation_profile_id\x18\x06 \x01(\tB\x03\xe0\x41\x02\"T\n\x14InstagramCredentials\x12\x16\n\tauth_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17\x63onversation_profile_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42[\n\x17\x63om.google.cloud.ces.v1B\x13\x43hannelProfileProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -19,7 +19,13 @@ module Google
|
|
|
19
19
|
module Cloud
|
|
20
20
|
module Ces
|
|
21
21
|
module V1
|
|
22
|
+
ExperimentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExperimentConfig").msgclass
|
|
23
|
+
ExperimentConfig::VersionRelease = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExperimentConfig.VersionRelease").msgclass
|
|
24
|
+
ExperimentConfig::VersionRelease::TrafficAllocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExperimentConfig.VersionRelease.TrafficAllocation").msgclass
|
|
25
|
+
ExperimentConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExperimentConfig.State").enummodule
|
|
22
26
|
Deployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.Deployment").msgclass
|
|
27
|
+
WhatsAppCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.WhatsAppCredentials").msgclass
|
|
28
|
+
InstagramCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.InstagramCredentials").msgclass
|
|
23
29
|
end
|
|
24
30
|
end
|
|
25
31
|
end
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/ces/v1/common_pb'
|
|
|
10
10
|
require 'google/cloud/ces/v1/schema_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n\"google/cloud/ces/v1/mcp_tool.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/cloud/ces/v1/auth.proto\x1a google/cloud/ces/v1/common.proto\x1a google/cloud/ces/v1/schema.proto\"\
|
|
13
|
+
descriptor_data = "\n\"google/cloud/ces/v1/mcp_tool.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/cloud/ces/v1/auth.proto\x1a google/cloud/ces/v1/common.proto\x1a google/cloud/ces/v1/schema.proto\"\xb7\x05\n\x07McpTool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rname_override\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x36\n\x0cinput_schema\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x03\xe0\x41\x01\x12\x37\n\routput_schema\x18\x04 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x03\xe0\x41\x01\x12\x1b\n\x0eserver_address\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12G\n\x12\x61pi_authentication\x18\x06 \x01(\x0b\x32&.google.cloud.ces.v1.ApiAuthenticationB\x03\xe0\x41\x01\x12\x37\n\ntls_config\x18\x07 \x01(\x0b\x32\x1e.google.cloud.ces.v1.TlsConfigB\x03\xe0\x41\x01\x12R\n\x18service_directory_config\x18\x08 \x01(\x0b\x32+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xe0\x41\x01\x12L\n\x0e\x63ustom_headers\x18\t \x03(\x0b\x32/.google.cloud.ces.v1.McpTool.CustomHeadersEntryB\x03\xe0\x41\x01\x12\x36\n\x05state\x18\x0c \x01(\x0e\x32\".google.cloud.ces.v1.McpTool.StateB\x03\xe0\x41\x03\x1a\x34\n\x12\x43ustomHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x12\t\n\x05STALE\x10\x03\x42T\n\x17\x63om.google.cloud.ces.v1B\x0cMcpToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -20,6 +20,7 @@ module Google
|
|
|
20
20
|
module Ces
|
|
21
21
|
module V1
|
|
22
22
|
McpTool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.McpTool").msgclass
|
|
23
|
+
McpTool::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.McpTool.State").enummodule
|
|
23
24
|
end
|
|
24
25
|
end
|
|
25
26
|
end
|
|
@@ -7,9 +7,10 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/cloud/ces/v1/auth_pb'
|
|
9
9
|
require 'google/cloud/ces/v1/common_pb'
|
|
10
|
+
require 'google/cloud/ces/v1/schema_pb'
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
descriptor_data = "\n%google/cloud/ces/v1/mcp_toolset.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/cloud/ces/v1/auth.proto\x1a google/cloud/ces/v1/common.proto\"\
|
|
13
|
+
descriptor_data = "\n%google/cloud/ces/v1/mcp_toolset.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/cloud/ces/v1/auth.proto\x1a google/cloud/ces/v1/common.proto\x1a google/cloud/ces/v1/schema.proto\"\xc9\x03\n\nMcpToolset\x12\x1b\n\x0eserver_address\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x12\x61pi_authentication\x18\x02 \x01(\x0b\x32&.google.cloud.ces.v1.ApiAuthenticationB\x03\xe0\x41\x01\x12R\n\x18service_directory_config\x18\x03 \x01(\x0b\x32+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xe0\x41\x01\x12\x37\n\ntls_config\x18\x04 \x01(\x0b\x32\x1e.google.cloud.ces.v1.TlsConfigB\x03\xe0\x41\x01\x12O\n\x0e\x63ustom_headers\x18\x05 \x03(\x0b\x32\x32.google.cloud.ces.v1.McpToolset.CustomHeadersEntryB\x03\xe0\x41\x01\x12\x41\n\x0etool_overrides\x18\x06 \x03(\x0b\x32$.google.cloud.ces.v1.McpToolOverrideB\x03\xe0\x41\x01\x1a\x34\n\x12\x43ustomHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x0fMcpToolOverride\x12\x11\n\x04tool\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rname_override\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14\x64\x65scription_override\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12=\n\x08snapshot\x18\x04 \x01(\x0b\x32&.google.cloud.ces.v1.McpToolDefinitionB\x03\xe0\x41\x03\"\x9e\x01\n\x11McpToolDefinition\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\x0cinput_schema\x18\x02 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x03\xe0\x41\x03\x12\x37\n\routput_schema\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x03\xe0\x41\x03\x42W\n\x17\x63om.google.cloud.ces.v1B\x0fMcpToolsetProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
13
14
|
|
|
14
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -19,6 +20,8 @@ module Google
|
|
|
19
20
|
module Ces
|
|
20
21
|
module V1
|
|
21
22
|
McpToolset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.McpToolset").msgclass
|
|
23
|
+
McpToolOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.McpToolOverride").msgclass
|
|
24
|
+
McpToolDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.McpToolDefinition").msgclass
|
|
22
25
|
end
|
|
23
26
|
end
|
|
24
27
|
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/ces/v1/mocks.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/ces/v1/toolset_tool_pb'
|
|
10
|
+
require 'google/protobuf/struct_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n\x1fgoogle/cloud/ces/v1/mocks.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/ces/v1/toolset_tool.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb4\x02\n\x0eMockedToolCall\x12\x32\n\x07tool_id\x18\x04 \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x38\n\x07toolset\x18\x05 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolB\x03\xe0\x41\x01H\x00\x12/\n\x04tool\x18\x01 \x01(\tB!\x18\x01\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12;\n\x15\x65xpected_args_pattern\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\x12\x33\n\rmock_response\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x42\x11\n\x0ftool_identifierBR\n\x17\x63om.google.cloud.ces.v1B\nMocksProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Cloud
|
|
20
|
+
module Ces
|
|
21
|
+
module V1
|
|
22
|
+
MockedToolCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.MockedToolCall").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/cloud/ces/v1/common_pb'
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
descriptor_data = "\n)google/cloud/ces/v1/python_function.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\"
|
|
11
|
+
descriptor_data = "\n)google/cloud/ces/v1/python_function.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a google/cloud/ces/v1/common.proto\"\xab\x01\n\x0ePythonFunction\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bpython_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12R\n\x18service_directory_config\x18\x04 \x01(\x0b\x32+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xe0\x41\x01\x42[\n\x17\x63om.google.cloud.ces.v1B\x13PythonFunctionProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
11
12
|
|
|
12
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -11,11 +11,13 @@ require 'google/api/resource_pb'
|
|
|
11
11
|
require 'google/api/routing_pb'
|
|
12
12
|
require 'google/cloud/ces/v1/common_pb'
|
|
13
13
|
require 'google/cloud/ces/v1/example_pb'
|
|
14
|
+
require 'google/cloud/ces/v1/mocks_pb'
|
|
14
15
|
require 'google/cloud/ces/v1/search_suggestions_pb'
|
|
16
|
+
require 'google/protobuf/any_pb'
|
|
15
17
|
require 'google/protobuf/struct_pb'
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
descriptor_data = "\n)google/cloud/ces/v1/session_service.proto\x12\x13google.cloud.ces.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a google/cloud/ces/v1/common.proto\x1a!google/cloud/ces/v1/example.proto\x1a,google/cloud/ces/v1/search_suggestions.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x99\x01\n\x10InputAudioConfig\x12?\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\".google.cloud.ces.v1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12$\n\x17noise_suppression_level\x18\x06 \x01(\tB\x03\xe0\x41\x01\"t\n\x11OutputAudioConfig\x12?\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\".google.cloud.ces.v1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xed\x06\n\rSessionConfig\x12\x33\n\x07session\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Session\x12\x46\n\x12input_audio_config\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1.InputAudioConfigB\x03\xe0\x41\x01\x12H\n\x13output_audio_config\x18\x03 \x01(\x0b\x32&.google.cloud.ces.v1.OutputAudioConfigB\x03\xe0\x41\x01\x12>\n\x13historical_contexts\x18\x05 \x03(\x0b\x32\x1c.google.cloud.ces.v1.MessageB\x03\xe0\x41\x01\x12\x35\n\x0b\x65ntry_agent\x18\x0c \x01(\tB \xe0\x41\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x17\n\ndeployment\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0euse_tool_fakes\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12s\n\"remote_dialogflow_query_parameters\x18\x0f \x01(\x0b\x32\x42.google.cloud.ces.v1.SessionConfig.RemoteDialogflowQueryParametersB\x03\xe0\x41\x01\x12\"\n\x15\x65nable_text_streaming\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xb6\x02\n\x1fRemoteDialogflowQueryParameters\x12t\n\x0fwebhook_headers\x18\x01 \x03(\x0b\x32V.google.cloud.ces.v1.SessionConfig.RemoteDialogflowQueryParameters.WebhookHeadersEntryB\x03\xe0\x41\x01\x12-\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x37\n\x11\x65nd_user_metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\tToolCalls\x12\x36\n\ntool_calls\x18\x01 \x03(\x0b\x32\x1d.google.cloud.ces.v1.ToolCallB\x03\xe0\x41\x01\"O\n\rToolResponses\x12>\n\x0etool_responses\x18\x01 \x03(\x0b\x32!.google.cloud.ces.v1.ToolResponseB\x03\xe0\x41\x01\"\
|
|
20
|
+
descriptor_data = "\n)google/cloud/ces/v1/session_service.proto\x12\x13google.cloud.ces.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a google/cloud/ces/v1/common.proto\x1a!google/cloud/ces/v1/example.proto\x1a\x1fgoogle/cloud/ces/v1/mocks.proto\x1a,google/cloud/ces/v1/search_suggestions.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x9e\x02\n\nMockConfig\x12\x43\n\x11mocked_tool_calls\x18\x01 \x03(\x0b\x32#.google.cloud.ces.v1.MockedToolCallB\x03\xe0\x41\x01\x12\x64\n\x1cunmatched_tool_call_behavior\x18\x02 \x01(\x0e\x32\x39.google.cloud.ces.v1.MockConfig.UnmatchedToolCallBehaviorB\x03\xe0\x41\x02\"e\n\x19UnmatchedToolCallBehavior\x12,\n(UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\x10\n\x0cPASS_THROUGH\x10\x02\"\x99\x01\n\x10InputAudioConfig\x12?\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\".google.cloud.ces.v1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12$\n\x17noise_suppression_level\x18\x06 \x01(\tB\x03\xe0\x41\x01\"t\n\x11OutputAudioConfig\x12?\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\".google.cloud.ces.v1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xed\x06\n\rSessionConfig\x12\x33\n\x07session\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Session\x12\x46\n\x12input_audio_config\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1.InputAudioConfigB\x03\xe0\x41\x01\x12H\n\x13output_audio_config\x18\x03 \x01(\x0b\x32&.google.cloud.ces.v1.OutputAudioConfigB\x03\xe0\x41\x01\x12>\n\x13historical_contexts\x18\x05 \x03(\x0b\x32\x1c.google.cloud.ces.v1.MessageB\x03\xe0\x41\x01\x12\x35\n\x0b\x65ntry_agent\x18\x0c \x01(\tB \xe0\x41\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x17\n\ndeployment\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0euse_tool_fakes\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12s\n\"remote_dialogflow_query_parameters\x18\x0f \x01(\x0b\x32\x42.google.cloud.ces.v1.SessionConfig.RemoteDialogflowQueryParametersB\x03\xe0\x41\x01\x12\"\n\x15\x65nable_text_streaming\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xb6\x02\n\x1fRemoteDialogflowQueryParameters\x12t\n\x0fwebhook_headers\x18\x01 \x03(\x0b\x32V.google.cloud.ces.v1.SessionConfig.RemoteDialogflowQueryParameters.WebhookHeadersEntryB\x03\xe0\x41\x01\x12-\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x37\n\x11\x65nd_user_metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\tToolCalls\x12\x36\n\ntool_calls\x18\x01 \x03(\x0b\x32\x1d.google.cloud.ces.v1.ToolCallB\x03\xe0\x41\x01\"O\n\rToolResponses\x12>\n\x0etool_responses\x18\x01 \x03(\x0b\x32!.google.cloud.ces.v1.ToolResponseB\x03\xe0\x41\x01\"\xa2\x01\n\tCitations\x12?\n\x0c\x63ited_chunks\x18\x01 \x03(\x0b\x32).google.cloud.ces.v1.Citations.CitedChunk\x1aT\n\nCitedChunk\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x1c\n\x14requires_attribution\x18\x04 \x01(\x08\"\x1b\n\x05\x45vent\x12\x12\n\x05\x65vent\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x82\x03\n\x0cSessionInput\x12\x13\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x13\n\x04\x64tmf\x18\x06 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x14\n\x05\x61udio\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01H\x00\x12\x41\n\x0etool_responses\x18\x03 \x01(\x0b\x32\".google.cloud.ces.v1.ToolResponsesB\x03\xe0\x41\x01H\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1a.google.cloud.ces.v1.ImageB\x03\xe0\x41\x01H\x00\x12.\n\x04\x62lob\x18\x07 \x01(\x0b\x32\x19.google.cloud.ces.v1.BlobB\x03\xe0\x41\x01H\x00\x12\x31\n\tvariables\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x00\x12\x30\n\x05\x65vent\x18\t \x01(\x0b\x32\x1a.google.cloud.ces.v1.EventB\x03\xe0\x41\x01H\x00\x12\x1a\n\rwill_continue\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x42\x0c\n\ninput_type\"\xf5\x04\n\rSessionOutput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0f\n\x05\x61udio\x18\x02 \x01(\x0cH\x00\x12\x34\n\ntool_calls\x18\x03 \x01(\x0b\x32\x1e.google.cloud.ces.v1.ToolCallsH\x00\x12\x33\n\tcitations\x18\x08 \x01(\x0b\x32\x1e.google.cloud.ces.v1.CitationsH\x00\x12Q\n\x19google_search_suggestions\x18\n \x01(\x0b\x32,.google.cloud.ces.v1.GoogleSearchSuggestionsH\x00\x12\x36\n\x0b\x65nd_session\x18\t \x01(\x0b\x32\x1f.google.cloud.ces.v1.EndSessionH\x00\x12*\n\x07payload\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x12\n\nturn_index\x18\x06 \x01(\x05\x12\x16\n\x0eturn_completed\x18\x04 \x01(\x08\x12O\n\x0f\x64iagnostic_info\x18\x07 \x01(\x0b\x32\x31.google.cloud.ces.v1.SessionOutput.DiagnosticInfoB\x03\xe0\x41\x01\x12%\n\x07\x63ontext\x18\x0c \x03(\x0b\x32\x14.google.protobuf.Any\x1an\n\x0e\x44iagnosticInfo\x12.\n\x08messages\x18\x01 \x03(\x0b\x32\x1c.google.cloud.ces.v1.Message\x12,\n\troot_span\x18\x03 \x01(\x0b\x32\x19.google.cloud.ces.v1.SpanB\r\n\x0boutput_type\",\n\x11RecognitionResult\x12\x17\n\ntranscript\x18\x01 \x01(\tB\x03\xe0\x41\x01\"&\n\x12InterruptionSignal\x12\x10\n\x08\x62\x61rge_in\x18\x01 \x01(\x08\"<\n\nEndSession\x12.\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\x08\n\x06GoAway\"\x84\x01\n\x11RunSessionRequest\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".google.cloud.ces.v1.SessionConfigB\x03\xe0\x41\x02\x12\x36\n\x06inputs\x18\x03 \x03(\x0b\x32!.google.cloud.ces.v1.SessionInputB\x03\xe0\x41\x02\"I\n\x12RunSessionResponse\x12\x33\n\x07outputs\x18\x01 \x03(\x0b\x32\".google.cloud.ces.v1.SessionOutput\"\xa7\x01\n\x18\x42idiSessionClientMessage\x12\x39\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".google.cloud.ces.v1.SessionConfigB\x03\xe0\x41\x01H\x00\x12@\n\x0erealtime_input\x18\x02 \x01(\x0b\x32!.google.cloud.ces.v1.SessionInputB\x03\xe0\x41\x01H\x00\x42\x0e\n\x0cmessage_type\"\xf7\x02\n\x18\x42idiSessionServerMessage\x12\x41\n\x0esession_output\x18\x01 \x01(\x0b\x32\".google.cloud.ces.v1.SessionOutputB\x03\xe0\x41\x01H\x00\x12I\n\x12recognition_result\x18\x02 \x01(\x0b\x32&.google.cloud.ces.v1.RecognitionResultB\x03\xe0\x41\x01H\x00\x12K\n\x13interruption_signal\x18\x03 \x01(\x0b\x32\'.google.cloud.ces.v1.InterruptionSignalB\x03\xe0\x41\x01H\x00\x12;\n\x0b\x65nd_session\x18\x05 \x01(\x0b\x32\x1f.google.cloud.ces.v1.EndSessionB\x03\xe0\x41\x01H\x00\x12\x33\n\x07go_away\x18\x06 \x01(\x0b\x32\x1b.google.cloud.ces.v1.GoAwayB\x03\xe0\x41\x01H\x00\x42\x0e\n\x0cmessage_type*R\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\t\n\x05MULAW\x10\x02\x12\x08\n\x04\x41LAW\x10\x03\x32\xb7\x05\n\x0eSessionService\x12\xb2\x01\n\nRunSession\x12&.google.cloud.ces.v1.RunSessionRequest\x1a\'.google.cloud.ces.v1.RunSessionResponse\"S\x82\xd3\xe4\x93\x02M\"H/v1/{config.session=projects/*/locations/*/apps/*/sessions/*}:runSession:\x01*\x12\xc0\x01\n\x10StreamRunSession\x12&.google.cloud.ces.v1.RunSessionRequest\x1a\'.google.cloud.ces.v1.RunSessionResponse\"Y\x82\xd3\xe4\x93\x02S\"N/v1/{config.session=projects/*/locations/*/apps/*/sessions/*}:streamRunSession:\x01*0\x01\x12\xc0\x01\n\x0e\x42idiRunSession\x12-.google.cloud.ces.v1.BidiSessionClientMessage\x1a-.google.cloud.ces.v1.BidiSessionServerMessage\"L\x8a\xd3\xe4\x93\x02\x46\x12\x44\n\x0e\x63onfig.session\x12\x32{session=projects/*/locations/*/apps/*/sessions/*}(\x01\x30\x01\x1aj\xca\x41\x12\x63\x65s.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformB\xc1\x01\n\x17\x63om.google.cloud.ces.v1B\x13SessionServiceProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespb\xea\x41\x63\n\x1a\x63\x65s.googleapis.com/Session\x12\x45projects/{project}/locations/{location}/apps/{app}/sessions/{session}b\x06proto3"
|
|
19
21
|
|
|
20
22
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
23
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -24,6 +26,8 @@ module Google
|
|
|
24
26
|
module Cloud
|
|
25
27
|
module Ces
|
|
26
28
|
module V1
|
|
29
|
+
MockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.MockConfig").msgclass
|
|
30
|
+
MockConfig::UnmatchedToolCallBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.MockConfig.UnmatchedToolCallBehavior").enummodule
|
|
27
31
|
InputAudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.InputAudioConfig").msgclass
|
|
28
32
|
OutputAudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.OutputAudioConfig").msgclass
|
|
29
33
|
SessionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.SessionConfig").msgclass
|
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
|
6
6
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/ces/v1/agent_card_pb'
|
|
9
10
|
require 'google/cloud/ces/v1/agent_tool_pb'
|
|
10
11
|
require 'google/cloud/ces/v1/client_function_pb'
|
|
11
12
|
require 'google/cloud/ces/v1/common_pb'
|
|
@@ -19,10 +20,11 @@ require 'google/cloud/ces/v1/open_api_tool_pb'
|
|
|
19
20
|
require 'google/cloud/ces/v1/python_function_pb'
|
|
20
21
|
require 'google/cloud/ces/v1/system_tool_pb'
|
|
21
22
|
require 'google/cloud/ces/v1/widget_tool_pb'
|
|
23
|
+
require 'google/protobuf/duration_pb'
|
|
22
24
|
require 'google/protobuf/timestamp_pb'
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
descriptor_data = "\n\x1egoogle/cloud/ces/v1/tool.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/ces/v1/agent_tool.proto\x1a)google/cloud/ces/v1/client_function.proto\x1a google/cloud/ces/v1/common.proto\x1a(google/cloud/ces/v1/connector_tool.proto\x1a)google/cloud/ces/v1/data_store_tool.proto\x1a\x1fgoogle/cloud/ces/v1/fakes.proto\x1a*google/cloud/ces/v1/file_search_tool.proto\x1a,google/cloud/ces/v1/google_search_tool.proto\x1a\"google/cloud/ces/v1/mcp_tool.proto\x1a\'google/cloud/ces/v1/open_api_tool.proto\x1a)google/cloud/ces/v1/python_function.proto\x1a%google/cloud/ces/v1/system_tool.proto\x1a%google/cloud/ces/v1/widget_tool.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
27
|
+
descriptor_data = "\n\x1egoogle/cloud/ces/v1/tool.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/ces/v1/agent_card.proto\x1a$google/cloud/ces/v1/agent_tool.proto\x1a)google/cloud/ces/v1/client_function.proto\x1a google/cloud/ces/v1/common.proto\x1a(google/cloud/ces/v1/connector_tool.proto\x1a)google/cloud/ces/v1/data_store_tool.proto\x1a\x1fgoogle/cloud/ces/v1/fakes.proto\x1a*google/cloud/ces/v1/file_search_tool.proto\x1a,google/cloud/ces/v1/google_search_tool.proto\x1a\"google/cloud/ces/v1/mcp_tool.proto\x1a\'google/cloud/ces/v1/open_api_tool.proto\x1a)google/cloud/ces/v1/python_function.proto\x1a%google/cloud/ces/v1/system_tool.proto\x1a%google/cloud/ces/v1/widget_tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x92\n\n\x04Tool\x12\x43\n\x0f\x63lient_function\x18\x02 \x01(\x0b\x32#.google.cloud.ces.v1.ClientFunctionB\x03\xe0\x41\x01H\x00\x12>\n\ropen_api_tool\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1.OpenApiToolB\x03\xe0\x41\x01H\x00\x12H\n\x12google_search_tool\x18\x05 \x01(\x0b\x32%.google.cloud.ces.v1.GoogleSearchToolB\x03\xe0\x41\x01H\x00\x12\x41\n\x0e\x63onnector_tool\x18\x08 \x01(\x0b\x32\".google.cloud.ces.v1.ConnectorToolB\x03\xe0\x41\x01H\x00\x12\x42\n\x0f\x64\x61ta_store_tool\x18\n \x01(\x0b\x32\".google.cloud.ces.v1.DataStoreToolB\x03\xe0\x41\x01H\x00\x12\x43\n\x0fpython_function\x18\x0b \x01(\x0b\x32#.google.cloud.ces.v1.PythonFunctionB\x03\xe0\x41\x01H\x00\x12\x35\n\x08mcp_tool\x18\x10 \x01(\x0b\x32\x1c.google.cloud.ces.v1.McpToolB\x03\xe0\x41\x01H\x00\x12\x44\n\x10\x66ile_search_tool\x18\x11 \x01(\x0b\x32#.google.cloud.ces.v1.FileSearchToolB\x03\xe0\x41\x01H\x00\x12;\n\x0bsystem_tool\x18\x12 \x01(\x0b\x32\x1f.google.cloud.ces.v1.SystemToolB\x03\xe0\x41\x01H\x00\x12\x39\n\nagent_tool\x18\x17 \x01(\x0b\x32\x1e.google.cloud.ces.v1.AgentToolB\x03\xe0\x41\x01H\x00\x12;\n\x0bwidget_tool\x18\x18 \x01(\x0b\x32\x1f.google.cloud.ces.v1.WidgetToolB\x03\xe0\x41\x01H\x00\x12\x46\n\x11remote_agent_tool\x18\x19 \x01(\x0b\x32$.google.cloud.ces.v1.RemoteAgentToolB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\r \x01(\tB\x03\xe0\x41\x03\x12?\n\x0e\x65xecution_type\x18\x0c \x01(\x0e\x32\".google.cloud.ces.v1.ExecutionTypeB\x03\xe0\x41\x01\x12/\n\x07timeout\x18\x16 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x1e\n\x11generated_summary\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x10tool_fake_config\x18\x14 \x01(\x0b\x32#.google.cloud.ces.v1.ToolFakeConfigB\x03\xe0\x41\x01:j\xea\x41g\n\x17\x63\x65s.googleapis.com/Tool\x12?projects/{project}/locations/{location}/apps/{app}/tools/{tool}*\x05tools2\x04toolB\x0b\n\ttool_typeBQ\n\x17\x63om.google.cloud.ces.v1B\tToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
26
28
|
|
|
27
29
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
28
30
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -217,7 +217,7 @@ module Google
|
|
|
217
217
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
218
218
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
219
219
|
#
|
|
220
|
-
# @overload execute_tool(tool: nil, toolset_tool: nil, variables: nil, context: nil, parent: nil, args: nil)
|
|
220
|
+
# @overload execute_tool(tool: nil, toolset_tool: nil, variables: nil, context: nil, parent: nil, args: nil, mock_config: nil)
|
|
221
221
|
# Pass arguments to `execute_tool` via keyword arguments. Note that at
|
|
222
222
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
223
223
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -249,6 +249,10 @@ module Google
|
|
|
249
249
|
# @param args [::Google::Protobuf::Struct, ::Hash]
|
|
250
250
|
# Optional. The input parameters and values for the tool in JSON object
|
|
251
251
|
# format.
|
|
252
|
+
# @param mock_config [::Google::Cloud::Ces::V1::MockConfig, ::Hash]
|
|
253
|
+
# Optional. Mock configuration for the tool execution.
|
|
254
|
+
# If this field is set, tools that call other tools will be
|
|
255
|
+
# mocked based on the provided patterns and responses.
|
|
252
256
|
#
|
|
253
257
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
254
258
|
# @yieldparam response [::Google::Cloud::Ces::V1::ExecuteToolResponse]
|
|
@@ -426,7 +430,7 @@ module Google
|
|
|
426
430
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
427
431
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
428
432
|
#
|
|
429
|
-
# @overload retrieve_tools(toolset: nil, tool_ids: nil)
|
|
433
|
+
# @overload retrieve_tools(toolset: nil, tool_ids: nil, bypass_persistence_config: nil)
|
|
430
434
|
# Pass arguments to `retrieve_tools` via keyword arguments. Note that at
|
|
431
435
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
432
436
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -438,6 +442,10 @@ module Google
|
|
|
438
442
|
# @param tool_ids [::Array<::String>]
|
|
439
443
|
# Optional. The identifiers of the tools to retrieve from the toolset.
|
|
440
444
|
# If empty, all tools in the toolset will be returned.
|
|
445
|
+
# @param bypass_persistence_config [::Boolean]
|
|
446
|
+
# Optional. If true, the returned tools will contain raw descriptions and
|
|
447
|
+
# schemas directly from the server, bypassing any stored persistence
|
|
448
|
+
# configurations (overrides/snapshots).
|
|
441
449
|
#
|
|
442
450
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
443
451
|
# @yieldparam response [::Google::Cloud::Ces::V1::RetrieveToolsResponse]
|
|
@@ -211,7 +211,7 @@ module Google
|
|
|
211
211
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
212
212
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
213
213
|
#
|
|
214
|
-
# @overload execute_tool(tool: nil, toolset_tool: nil, variables: nil, context: nil, parent: nil, args: nil)
|
|
214
|
+
# @overload execute_tool(tool: nil, toolset_tool: nil, variables: nil, context: nil, parent: nil, args: nil, mock_config: nil)
|
|
215
215
|
# Pass arguments to `execute_tool` via keyword arguments. Note that at
|
|
216
216
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
217
217
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -243,6 +243,10 @@ module Google
|
|
|
243
243
|
# @param args [::Google::Protobuf::Struct, ::Hash]
|
|
244
244
|
# Optional. The input parameters and values for the tool in JSON object
|
|
245
245
|
# format.
|
|
246
|
+
# @param mock_config [::Google::Cloud::Ces::V1::MockConfig, ::Hash]
|
|
247
|
+
# Optional. Mock configuration for the tool execution.
|
|
248
|
+
# If this field is set, tools that call other tools will be
|
|
249
|
+
# mocked based on the provided patterns and responses.
|
|
246
250
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
247
251
|
# @yieldparam result [::Google::Cloud::Ces::V1::ExecuteToolResponse]
|
|
248
252
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -406,7 +410,7 @@ module Google
|
|
|
406
410
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
407
411
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
408
412
|
#
|
|
409
|
-
# @overload retrieve_tools(toolset: nil, tool_ids: nil)
|
|
413
|
+
# @overload retrieve_tools(toolset: nil, tool_ids: nil, bypass_persistence_config: nil)
|
|
410
414
|
# Pass arguments to `retrieve_tools` via keyword arguments. Note that at
|
|
411
415
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
412
416
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -418,6 +422,10 @@ module Google
|
|
|
418
422
|
# @param tool_ids [::Array<::String>]
|
|
419
423
|
# Optional. The identifiers of the tools to retrieve from the toolset.
|
|
420
424
|
# If empty, all tools in the toolset will be returned.
|
|
425
|
+
# @param bypass_persistence_config [::Boolean]
|
|
426
|
+
# Optional. If true, the returned tools will contain raw descriptions and
|
|
427
|
+
# schemas directly from the server, bypassing any stored persistence
|
|
428
|
+
# configurations (overrides/snapshots).
|
|
421
429
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
422
430
|
# @yieldparam result [::Google::Cloud::Ces::V1::RetrieveToolsResponse]
|
|
423
431
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -9,12 +9,14 @@ 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/ces/v1/schema_pb'
|
|
12
|
+
require 'google/cloud/ces/v1/search_suggestions_pb'
|
|
13
|
+
require 'google/cloud/ces/v1/session_service_pb'
|
|
12
14
|
require 'google/cloud/ces/v1/tool_pb'
|
|
13
15
|
require 'google/cloud/ces/v1/toolset_tool_pb'
|
|
14
16
|
require 'google/protobuf/struct_pb'
|
|
15
17
|
|
|
16
18
|
|
|
17
|
-
descriptor_data = "\n&google/cloud/ces/v1/tool_service.proto\x12\x13google.cloud.ces.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/schema.proto\x1a\x1egoogle/cloud/ces/v1/tool.proto\x1a&google/cloud/ces/v1/toolset_tool.proto\x1a\x1cgoogle/protobuf/struct.proto\"\
|
|
19
|
+
descriptor_data = "\n&google/cloud/ces/v1/tool_service.proto\x12\x13google.cloud.ces.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/schema.proto\x1a,google/cloud/ces/v1/search_suggestions.proto\x1a)google/cloud/ces/v1/session_service.proto\x1a\x1egoogle/cloud/ces/v1/tool.proto\x1a&google/cloud/ces/v1/toolset_tool.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xac\x03\n\x12\x45xecuteToolRequest\x12/\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12=\n\x0ctoolset_tool\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolB\x03\xe0\x41\x01H\x00\x12\x31\n\tvariables\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x01\x12/\n\x07\x63ontext\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x01\x12.\n\x06parent\x18\x04 \x01(\tB\x1e\xe0\x41\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/App\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x39\n\x0bmock_config\x18\x07 \x01(\x0b\x32\x1f.google.cloud.ces.v1.MockConfigB\x03\xe0\x41\x01\x42\x11\n\x0ftool_identifierB\x18\n\x16tool_execution_context\"\xeb\x02\n\x13\x45xecuteToolResponse\x12,\n\x04tool\x18\x01 \x01(\tB\x1c\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x38\n\x0ctoolset_tool\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolH\x00\x12)\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12*\n\tvariables\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x31\n\tcitations\x18\x05 \x01(\x0b\x32\x1e.google.cloud.ces.v1.Citations\x12O\n\x19google_search_suggestions\x18\x06 \x01(\x0b\x32,.google.cloud.ces.v1.GoogleSearchSuggestionsB\x11\n\x0ftool_identifier\"\xce\x01\n\x19RetrieveToolSchemaRequest\x12/\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12=\n\x0ctoolset_tool\x18\x02 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolB\x03\xe0\x41\x01H\x00\x12.\n\x06parent\x18\x03 \x01(\tB\x1e\xe0\x41\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/AppB\x11\n\x0ftool_identifier\"\xfe\x01\n\x1aRetrieveToolSchemaResponse\x12,\n\x04tool\x18\x01 \x01(\tB\x1c\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x38\n\x0ctoolset_tool\x18\x02 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolH\x00\x12\x31\n\x0cinput_schema\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ces.v1.Schema\x12\x32\n\routput_schema\x18\x04 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x11\n\x0ftool_identifier\"\x8a\x01\n\x14RetrieveToolsRequest\x12\x33\n\x07toolset\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x15\n\x08tool_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12&\n\x19\x62ypass_persistence_config\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"A\n\x15RetrieveToolsResponse\x12(\n\x05tools\x18\x01 \x03(\x0b\x32\x19.google.cloud.ces.v1.Tool2\x9b\x05\n\x0bToolService\x12\xa3\x01\n\x0b\x45xecuteTool\x12\'.google.cloud.ces.v1.ExecuteToolRequest\x1a(.google.cloud.ces.v1.ExecuteToolResponse\"A\x82\xd3\xe4\x93\x02;\"6/v1/{parent=projects/*/locations/*/apps/*}:executeTool:\x01*\x12\xbf\x01\n\x12RetrieveToolSchema\x12..google.cloud.ces.v1.RetrieveToolSchemaRequest\x1a/.google.cloud.ces.v1.RetrieveToolSchemaResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*/apps/*}:retrieveToolSchema:\x01*\x12\xb7\x01\n\rRetrieveTools\x12).google.cloud.ces.v1.RetrieveToolsRequest\x1a*.google.cloud.ces.v1.RetrieveToolsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{toolset=projects/*/locations/*/apps/*/toolsets/*}:retrieveTools:\x01*\x1aj\xca\x41\x12\x63\x65s.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformBX\n\x17\x63om.google.cloud.ces.v1B\x10ToolServiceProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
18
20
|
|
|
19
21
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
22
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -11,10 +11,11 @@ require 'google/cloud/ces/v1/connector_toolset_pb'
|
|
|
11
11
|
require 'google/cloud/ces/v1/fakes_pb'
|
|
12
12
|
require 'google/cloud/ces/v1/mcp_toolset_pb'
|
|
13
13
|
require 'google/cloud/ces/v1/open_api_toolset_pb'
|
|
14
|
+
require 'google/protobuf/duration_pb'
|
|
14
15
|
require 'google/protobuf/timestamp_pb'
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
descriptor_data = "\n!google/cloud/ces/v1/toolset.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a+google/cloud/ces/v1/connector_toolset.proto\x1a\x1fgoogle/cloud/ces/v1/fakes.proto\x1a%google/cloud/ces/v1/mcp_toolset.proto\x1a*google/cloud/ces/v1/open_api_toolset.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
18
|
+
descriptor_data = "\n!google/cloud/ces/v1/toolset.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a+google/cloud/ces/v1/connector_toolset.proto\x1a\x1fgoogle/cloud/ces/v1/fakes.proto\x1a%google/cloud/ces/v1/mcp_toolset.proto\x1a*google/cloud/ces/v1/open_api_toolset.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x05\n\x07Toolset\x12;\n\x0bmcp_toolset\x18\x06 \x01(\x0b\x32\x1f.google.cloud.ces.v1.McpToolsetB\x03\xe0\x41\x01H\x00\x12\x44\n\x10open_api_toolset\x18\x07 \x01(\x0b\x32#.google.cloud.ces.v1.OpenApiToolsetB\x03\xe0\x41\x01H\x00\x12G\n\x11\x63onnector_toolset\x18\x08 \x01(\x0b\x32%.google.cloud.ces.v1.ConnectorToolsetB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tB\x03\xe0\x41\x01\x12/\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x05 \x01(\t\x12?\n\x0e\x65xecution_type\x18\t \x01(\x0e\x32\".google.cloud.ces.v1.ExecutionTypeB\x03\xe0\x41\x01\x12\x42\n\x10tool_fake_config\x18\x0b \x01(\x0b\x32#.google.cloud.ces.v1.ToolFakeConfigB\x03\xe0\x41\x01:y\xea\x41v\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x45projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}*\x08toolsets2\x07toolsetB\x0e\n\x0ctoolset_typeBT\n\x17\x63om.google.cloud.ces.v1B\x0cToolsetProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
|
|
18
19
|
|
|
19
20
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
21
|
pool.add_serialized_file(descriptor_data)
|