google-cloud-ces-v1beta 0.1.0 → 0.2.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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/ces/v1beta/agent_card_pb.rb +26 -0
  4. data/lib/google/cloud/ces/v1beta/agent_pb.rb +1 -1
  5. data/lib/google/cloud/ces/v1beta/agent_service/client.rb +10 -4
  6. data/lib/google/cloud/ces/v1beta/agent_service/operations.rb +2 -0
  7. data/lib/google/cloud/ces/v1beta/agent_service/rest/client.rb +10 -4
  8. data/lib/google/cloud/ces/v1beta/agent_service/rest/operations.rb +2 -0
  9. data/lib/google/cloud/ces/v1beta/agent_service_pb.rb +2 -1
  10. data/lib/google/cloud/ces/v1beta/app_pb.rb +4 -1
  11. data/lib/google/cloud/ces/v1beta/conversation_pb.rb +1 -1
  12. data/lib/google/cloud/ces/v1beta/deployment_pb.rb +5 -1
  13. data/lib/google/cloud/ces/v1beta/evaluation_metrics_config_pb.rb +31 -0
  14. data/lib/google/cloud/ces/v1beta/evaluation_pb.rb +2 -1
  15. data/lib/google/cloud/ces/v1beta/evaluation_service/client.rb +318 -0
  16. data/lib/google/cloud/ces/v1beta/evaluation_service/operations.rb +2 -0
  17. data/lib/google/cloud/ces/v1beta/evaluation_service/rest/client.rb +297 -0
  18. data/lib/google/cloud/ces/v1beta/evaluation_service/rest/operations.rb +2 -0
  19. data/lib/google/cloud/ces/v1beta/evaluation_service/rest/service_stub.rb +186 -0
  20. data/lib/google/cloud/ces/v1beta/evaluation_service_pb.rb +8 -1
  21. data/lib/google/cloud/ces/v1beta/evaluation_service_services_pb.rb +6 -0
  22. data/lib/google/cloud/ces/v1beta/mcp_tool_pb.rb +2 -1
  23. data/lib/google/cloud/ces/v1beta/mcp_toolset_pb.rb +4 -1
  24. data/lib/google/cloud/ces/v1beta/python_function_pb.rb +2 -1
  25. data/lib/google/cloud/ces/v1beta/session_service/client.rb +2 -0
  26. data/lib/google/cloud/ces/v1beta/session_service/rest/client.rb +2 -0
  27. data/lib/google/cloud/ces/v1beta/session_service_pb.rb +2 -1
  28. data/lib/google/cloud/ces/v1beta/tool_pb.rb +3 -1
  29. data/lib/google/cloud/ces/v1beta/tool_service/client.rb +7 -1
  30. data/lib/google/cloud/ces/v1beta/tool_service/rest/client.rb +7 -1
  31. data/lib/google/cloud/ces/v1beta/tool_service_pb.rb +2 -1
  32. data/lib/google/cloud/ces/v1beta/version.rb +1 -1
  33. data/lib/google/cloud/ces/v1beta/widget_service/client.rb +2 -0
  34. data/lib/google/cloud/ces/v1beta/widget_service/rest/client.rb +2 -0
  35. data/lib/google/cloud/ces/v1beta/widget_tool_pb.rb +3 -1
  36. data/proto_docs/google/cloud/ces/v1beta/agent.rb +9 -0
  37. data/proto_docs/google/cloud/ces/v1beta/agent_card.rb +122 -0
  38. data/proto_docs/google/cloud/ces/v1beta/agent_service.rb +24 -3
  39. data/proto_docs/google/cloud/ces/v1beta/app.rb +50 -3
  40. data/proto_docs/google/cloud/ces/v1beta/conversation.rb +9 -6
  41. data/proto_docs/google/cloud/ces/v1beta/deployment.rb +61 -0
  42. data/proto_docs/google/cloud/ces/v1beta/evaluation.rb +82 -13
  43. data/proto_docs/google/cloud/ces/v1beta/evaluation_metrics_config.rb +151 -0
  44. data/proto_docs/google/cloud/ces/v1beta/evaluation_service.rb +80 -2
  45. data/proto_docs/google/cloud/ces/v1beta/mcp_tool.rb +25 -0
  46. data/proto_docs/google/cloud/ces/v1beta/mcp_toolset.rb +47 -0
  47. data/proto_docs/google/cloud/ces/v1beta/python_function.rb +3 -0
  48. data/proto_docs/google/cloud/ces/v1beta/session_service.rb +3 -0
  49. data/proto_docs/google/cloud/ces/v1beta/tool.rb +21 -11
  50. data/proto_docs/google/cloud/ces/v1beta/tool_service.rb +12 -0
  51. data/proto_docs/google/cloud/ces/v1beta/widget_tool.rb +36 -0
  52. metadata +7 -3
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/ces/v1beta/evaluation_metrics_config.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n7google/cloud/ces/v1beta/evaluation_metrics_config.proto\x12\x17google.cloud.ces.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\x80\x0b\n\x17\x45valuationMetricsConfig\x12h\n\x15golden_metrics_config\x18\x01 \x01(\x0b\x32\x44.google.cloud.ces.v1beta.EvaluationMetricsConfig.GoldenMetricsConfigB\x03\xe0\x41\x01\x12l\n\x17scenario_metrics_config\x18\x02 \x01(\x0b\x32\x46.google.cloud.ces.v1beta.EvaluationMetricsConfig.ScenarioMetricsConfigB\x03\xe0\x41\x01\x1aR\n\x1fSemanticSimilarityMetricsConfig\x12/\n\"enable_semantic_similarity_metrics\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1aL\n\x1cToolCorrectnessMetricsConfig\x12,\n\x1f\x65nable_tool_correctness_metrics\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1aG\n\x1aHallucinationMetricsConfig\x12)\n\x1c\x65nable_hallucination_metrics\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x45\n\x18UserGoalMetMetricsConfig\x12)\n\x1c\x65nable_user_goal_met_metrics\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1aL\n\x1c\x45xpectationsMetMetricsConfig\x12,\n\x1f\x65nable_expectations_met_metrics\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x99\x03\n\x13GoldenMetricsConfig\x12\x81\x01\n\"semantic_similarity_metrics_config\x18\x01 \x01(\x0b\x32P.google.cloud.ces.v1beta.EvaluationMetricsConfig.SemanticSimilarityMetricsConfigB\x03\xe0\x41\x01\x12{\n\x1ftool_correctness_metrics_config\x18\x02 \x01(\x0b\x32M.google.cloud.ces.v1beta.EvaluationMetricsConfig.ToolCorrectnessMetricsConfigB\x03\xe0\x41\x01\x12\x80\x01\n$step_tool_correctness_metrics_config\x18\x06 \x01(\x0b\x32M.google.cloud.ces.v1beta.EvaluationMetricsConfig.ToolCorrectnessMetricsConfigB\x03\xe0\x41\x01\x1a\x8a\x02\n\x15ScenarioMetricsConfig\x12t\n\x1cuser_goal_met_metrics_config\x18\x02 \x01(\x0b\x32I.google.cloud.ces.v1beta.EvaluationMetricsConfig.UserGoalMetMetricsConfigB\x03\xe0\x41\x01\x12{\n\x1f\x65xpectations_met_metrics_config\x18\x03 \x01(\x0b\x32M.google.cloud.ces.v1beta.EvaluationMetricsConfig.ExpectationsMetMetricsConfigB\x03\xe0\x41\x01\"d\n\x0e\x43omparisonType\x12\x1f\n\x1b\x43OMPARISON_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45QUALS\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x12\x17\n\x13SEMANTIC_SIMILARITY\x10\x03\x42l\n\x1b\x63om.google.cloud.ces.v1betaB\x1c\x45valuationMetricsConfigProtoP\x01Z-cloud.google.com/go/ces/apiv1beta/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 V1beta
19
+ EvaluationMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig").msgclass
20
+ EvaluationMetricsConfig::SemanticSimilarityMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.SemanticSimilarityMetricsConfig").msgclass
21
+ EvaluationMetricsConfig::ToolCorrectnessMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.ToolCorrectnessMetricsConfig").msgclass
22
+ EvaluationMetricsConfig::HallucinationMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.HallucinationMetricsConfig").msgclass
23
+ EvaluationMetricsConfig::UserGoalMetMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.UserGoalMetMetricsConfig").msgclass
24
+ EvaluationMetricsConfig::ExpectationsMetMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.ExpectationsMetMetricsConfig").msgclass
25
+ EvaluationMetricsConfig::GoldenMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.GoldenMetricsConfig").msgclass
26
+ EvaluationMetricsConfig::ScenarioMetricsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.ScenarioMetricsConfig").msgclass
27
+ EvaluationMetricsConfig::ComparisonType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.EvaluationMetricsConfig.ComparisonType").enummodule
28
+ end
29
+ end
30
+ end
31
+ end
@@ -8,6 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/cloud/ces/v1beta/app_pb'
10
10
  require 'google/cloud/ces/v1beta/common_pb'
11
+ require 'google/cloud/ces/v1beta/evaluation_metrics_config_pb'
11
12
  require 'google/cloud/ces/v1beta/example_pb'
12
13
  require 'google/cloud/ces/v1beta/fakes_pb'
13
14
  require 'google/cloud/ces/v1beta/golden_run_pb'
@@ -19,7 +20,7 @@ require 'google/protobuf/timestamp_pb'
19
20
  require 'google/rpc/status_pb'
20
21
 
21
22
 
22
- descriptor_data = "\n(google/cloud/ces/v1beta/evaluation.proto\x12\x17google.cloud.ces.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/ces/v1beta/app.proto\x1a$google/cloud/ces/v1beta/common.proto\x1a%google/cloud/ces/v1beta/example.proto\x1a#google/cloud/ces/v1beta/fakes.proto\x1a(google/cloud/ces/v1beta/golden_run.proto\x1a-google/cloud/ces/v1beta/session_service.proto\x1a*google/cloud/ces/v1beta/toolset_tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xeb\r\n\x11\x41ggregatedMetrics\x12\x63\n\x16metrics_by_app_version\x18\x03 \x03(\x0b\x32>.google.cloud.ces.v1beta.AggregatedMetrics.MetricsByAppVersionB\x03\xe0\x41\x03\x1an\n\x0bToolMetrics\x12-\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x17\n\npass_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nfail_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x1aM\n\x12TurnLatencyMetrics\x12\x37\n\x0f\x61verage_latency\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x1a\x80\x01\n\x16ToolCallLatencyMetrics\x12-\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x37\n\x0f\x61verage_latency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x1a/\n\x19SemanticSimilarityMetrics\x12\x12\n\x05score\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03\x1a*\n\x14HallucinationMetrics\x12\x12\n\x05score\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03\x1a\xb1\x05\n\x13MetricsByAppVersion\x12\x1b\n\x0e\x61pp_version_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x0ctool_metrics\x18\x02 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetricsB\x03\xe0\x41\x03\x12n\n\x1bsemantic_similarity_metrics\x18\x03 \x03(\x0b\x32\x44.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetricsB\x03\xe0\x41\x03\x12\x63\n\x15hallucination_metrics\x18\x05 \x03(\x0b\x32?.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetricsB\x03\xe0\x41\x03\x12i\n\x19tool_call_latency_metrics\x18\x06 \x03(\x0b\x32\x41.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetricsB\x03\xe0\x41\x03\x12`\n\x14turn_latency_metrics\x18\x07 \x03(\x0b\x32=.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetricsB\x03\xe0\x41\x03\x12\x17\n\npass_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nfail_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12V\n\x0fmetrics_by_turn\x18\x04 \x03(\x0b\x32\x38.google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurnB\x03\xe0\x41\x03\x1a\x9d\x04\n\rMetricsByTurn\x12\x17\n\nturn_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12Q\n\x0ctool_metrics\x18\x02 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetricsB\x03\xe0\x41\x03\x12n\n\x1bsemantic_similarity_metrics\x18\x03 \x03(\x0b\x32\x44.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetricsB\x03\xe0\x41\x03\x12\x63\n\x15hallucination_metrics\x18\x04 \x03(\x0b\x32?.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetricsB\x03\xe0\x41\x03\x12i\n\x19tool_call_latency_metrics\x18\x05 \x03(\x0b\x32\x41.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetricsB\x03\xe0\x41\x03\x12`\n\x14turn_latency_metrics\x18\x06 \x03(\x0b\x32=.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetricsB\x03\xe0\x41\x03\"\x85\x19\n\nEvaluation\x12\x41\n\x06golden\x18\x0b \x01(\x0b\x32*.google.cloud.ces.v1beta.Evaluation.GoldenB\x03\xe0\x41\x01H\x00\x12\x45\n\x08scenario\x18\x0c \x01(\x0b\x32,.google.cloud.ces.v1beta.Evaluation.ScenarioB\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\x11\n\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12I\n\x13\x65valuation_datasets\x18\x05 \x03(\tB,\xe0\x41\x03\xfa\x41&\n$ces.googleapis.com/EvaluationDataset\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\ncreated_by\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0flast_updated_by\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x0f\x65valuation_runs\x18\x0f \x03(\tB(\xe0\x41\x03\xfa\x41\"\n ces.googleapis.com/EvaluationRun\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12K\n\x12\x61ggregated_metrics\x18\x10 \x01(\x0b\x32*.google.cloud.ces.v1beta.AggregatedMetricsB\x03\xe0\x41\x03\x12M\n\x15last_completed_result\x18\x11 \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationResultB\x03\xe0\x41\x03\x12\x14\n\x07invalid\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12H\n\x10last_ten_results\x18\x13 \x03(\x0b\x32).google.cloud.ces.v1beta.EvaluationResultB\x03\xe0\x41\x03\x1a\xc2\x03\n\x11GoldenExpectation\x12;\n\ttool_call\x18\x02 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x01H\x00\x12\x43\n\rtool_response\x18\x03 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x01H\x00\x12?\n\x0e\x61gent_response\x18\x04 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x01H\x00\x12\x45\n\x0e\x61gent_transfer\x18\x05 \x01(\x0b\x32&.google.cloud.ces.v1beta.AgentTransferB\x03\xe0\x41\x01H\x00\x12\x39\n\x11updated_variables\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x00\x12H\n\x12mock_tool_response\x18\x07 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x01H\x00\x12\x11\n\x04note\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x0b\n\tcondition\x1a\xea\x01\n\x04Step\x12@\n\nuser_input\x18\x01 \x01(\x0b\x32%.google.cloud.ces.v1beta.SessionInputB\x03\xe0\x41\x01H\x00\x12\x45\n\x0e\x61gent_transfer\x18\x02 \x01(\x0b\x32&.google.cloud.ces.v1beta.AgentTransferB\x03\xe0\x41\x01H\x00\x12Q\n\x0b\x65xpectation\x18\x03 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.GoldenExpectationB\x03\xe0\x41\x01H\x00\x42\x06\n\x04step\x1a\x81\x01\n\nGoldenTurn\x12<\n\x05steps\x18\x01 \x03(\x0b\x32(.google.cloud.ces.v1beta.Evaluation.StepB\x03\xe0\x41\x02\x12\x35\n\troot_span\x18\x02 \x01(\x0b\x32\x1d.google.cloud.ces.v1beta.SpanB\x03\xe0\x41\x01\x1a\x9f\x01\n\x06Golden\x12\x42\n\x05turns\x18\x02 \x03(\x0b\x32..google.cloud.ces.v1beta.Evaluation.GoldenTurnB\x03\xe0\x41\x02\x12Q\n\x17\x65valuation_expectations\x18\x03 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(ces.googleapis.com/EvaluationExpectation\x1a\xef\x02\n\x13ScenarioExpectation\x12h\n\x10tool_expectation\x18\x01 \x01(\x0b\x32G.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation.ToolExpectationB\x03\xe0\x41\x01H\x00\x12?\n\x0e\x61gent_response\x18\x02 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x01H\x00\x1a\x9d\x01\n\x0fToolExpectation\x12\x42\n\x12\x65xpected_tool_call\x18\x01 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x02\x12\x46\n\x12mock_tool_response\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x02\x42\r\n\x0b\x65xpectation\x1a\xf1\x06\n\x08Scenario\x12\x11\n\x04task\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12N\n\nuser_facts\x18\x04 \x03(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.Scenario.UserFactB\x03\xe0\x41\x01\x12\x16\n\tmax_turns\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07rubrics\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12[\n\x15scenario_expectations\x18\x03 \x03(\x0b\x32\x37.google.cloud.ces.v1beta.Evaluation.ScenarioExpectationB\x03\xe0\x41\x02\x12\x38\n\x12variable_overrides\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12l\n\x18task_completion_behavior\x18\x07 \x01(\x0e\x32\x43.google.cloud.ces.v1beta.Evaluation.Scenario.TaskCompletionBehaviorB\x05\x18\x01\xe0\x41\x01\x12^\n\x12user_goal_behavior\x18\x08 \x01(\x0e\x32=.google.cloud.ces.v1beta.Evaluation.Scenario.UserGoalBehaviorB\x03\xe0\x41\x01\x12Q\n\x17\x65valuation_expectations\x18\n \x03(\tB0\xe0\x41\x01\xfa\x41*\n(ces.googleapis.com/EvaluationExpectation\x1a\x31\n\x08UserFact\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"i\n\x16TaskCompletionBehavior\x12(\n$TASK_COMPLETION_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x12\n\x0eTASK_SATISFIED\x10\x01\x12\x11\n\rTASK_REJECTED\x10\x02\"~\n\x10UserGoalBehavior\x12\"\n\x1eUSER_GOAL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x17\n\x13USER_GOAL_SATISFIED\x10\x01\x12\x16\n\x12USER_GOAL_REJECTED\x10\x02\x12\x15\n\x11USER_GOAL_IGNORED\x10\x03:\x89\x01\xea\x41\x85\x01\n\x1d\x63\x65s.googleapis.com/Evaluation\x12Kprojects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}*\x0b\x65valuations2\nevaluationB\x08\n\x06inputs\"\xb0\x04\n\x11\x45valuationDataset\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:\n\x0b\x65valuations\x18\x03 \x03(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Evaluation\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\x06 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ncreated_by\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0flast_updated_by\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12K\n\x12\x61ggregated_metrics\x18\t \x01(\x0b\x32*.google.cloud.ces.v1beta.AggregatedMetricsB\x03\xe0\x41\x03:\xad\x01\xea\x41\xa9\x01\n$ces.googleapis.com/EvaluationDataset\x12Zprojects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluation_dataset}*\x12\x65valuationDatasets2\x11\x65valuationDataset\"\xc0\x37\n\x10\x45valuationResult\x12T\n\rgolden_result\x18\x07 \x01(\x0b\x32\x36.google.cloud.ces.v1beta.EvaluationResult.GoldenResultB\x03\xe0\x41\x03H\x00\x12X\n\x0fscenario_result\x18\x08 \x01(\x0b\x32\x38.google.cloud.ces.v1beta.EvaluationResult.ScenarioResultB\x03\xe0\x41\x03H\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\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x11\x65valuation_status\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12@\n\x0e\x65valuation_run\x18\x06 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n ces.googleapis.com/EvaluationRun\x12@\n\x07persona\x18\x11 \x01(\x0b\x32*.google.cloud.ces.v1beta.EvaluationPersonaB\x03\xe0\x41\x03\x12\x45\n\nerror_info\x18\x0f \x01(\x0b\x32,.google.cloud.ces.v1beta.EvaluationErrorInfoB\x03\xe0\x41\x03\x12(\n\x05\x65rror\x18\x0e \x01(\x0b\x32\x12.google.rpc.StatusB\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0cinitiated_by\x18\t \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x61pp_version\x18\n \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12%\n\x18\x61pp_version_display_name\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x37\n\tchangelog\x18\x15 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Changelog\x12>\n\x15\x63hangelog_create_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12V\n\x0f\x65xecution_state\x18\x0b \x01(\x0e\x32\x38.google.cloud.ces.v1beta.EvaluationResult.ExecutionStateB\x03\xe0\x41\x03\x12`\n\x1d\x65valuation_metrics_thresholds\x18\x0c \x01(\x0b\x32\x34.google.cloud.ces.v1beta.EvaluationMetricsThresholdsB\x03\xe0\x41\x03\x12>\n\x06\x63onfig\x18\x12 \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationConfigB\x03\xe0\x41\x03\x12H\n\x11golden_run_method\x18\x13 \x01(\x0e\x32(.google.cloud.ces.v1beta.GoldenRunMethodB\x03\xe0\x41\x03\x1a\xa4\x07\n\x18GoldenExpectationOutcome\x12\x44\n\x12observed_tool_call\x18\x02 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x03H\x00\x12L\n\x16observed_tool_response\x18\x03 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x03H\x00\x12H\n\x17observed_agent_response\x18\x04 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x03H\x00\x12N\n\x17observed_agent_transfer\x18\x05 \x01(\x0b\x32&.google.cloud.ces.v1beta.AgentTransferB\x03\xe0\x41\x03H\x00\x12O\n\x0b\x65xpectation\x18\x01 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.GoldenExpectationB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x06 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12m\n\x1asemantic_similarity_result\x18\x07 \x01(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResultB\x05\x18\x01\xe0\x41\x03\x12|\n\x16tool_invocation_result\x18\x08 \x01(\x0b\x32W.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.ToolInvocationResultB\x03\xe0\x41\x03\x1a\xc8\x01\n\x14ToolInvocationResult\x12-\n\x1bparameter_correctness_score\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12G\n\x07outcome\x18\x02 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x1e\n\x1c_parameter_correctness_scoreB\x08\n\x06result\x1a\xe7\x01\n\x1b\x45valuationExpectationResult\x12P\n\x16\x65valuation_expectation\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(ces.googleapis.com/EvaluationExpectation\x12\x13\n\x06prompt\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x03 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x04 \x01(\tB\x03\xe0\x41\x03\x1a\x91\t\n\x0cGoldenResult\x12i\n\x13turn_replay_results\x18\x01 \x03(\x0b\x32G.google.cloud.ces.v1beta.EvaluationResult.GoldenResult.TurnReplayResultB\x03\xe0\x41\x03\x12r\n\x1e\x65valuation_expectation_results\x18\x02 \x03(\x0b\x32\x45.google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResultB\x03\xe0\x41\x03\x1a\xa1\x07\n\x10TurnReplayResult\x12=\n\x0c\x63onversation\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x63\x65s.googleapis.com/Conversation\x12\x64\n\x13\x65xpectation_outcome\x18\x02 \x03(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcomeB\x03\xe0\x41\x03\x12`\n\x14hallucination_result\x18\x03 \x01(\x0b\x32=.google.cloud.ces.v1beta.EvaluationResult.HallucinationResultB\x03\xe0\x41\x03\x12$\n\x15tool_invocation_score\x18\x04 \x01(\x02\x42\x05\x18\x01\xe0\x41\x03\x12/\n\x1dtool_ordered_invocation_score\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x34\n\x0cturn_latency\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12[\n\x13tool_call_latencies\x18\x07 \x03(\x0b\x32\x39.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatencyB\x03\xe0\x41\x03\x12k\n\x1asemantic_similarity_result\x18\x08 \x01(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResultB\x03\xe0\x41\x03\x12r\n\x1eoverall_tool_invocation_result\x18\t \x01(\x0b\x32\x45.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResultB\x03\xe0\x41\x03\x12\x45\n\nerror_info\x18\n \x01(\x0b\x32,.google.cloud.ces.v1beta.EvaluationErrorInfoB\x03\xe0\x41\x03\x12R\n\x0espan_latencies\x18\x0b \x03(\x0b\x32\x35.google.cloud.ces.v1beta.EvaluationResult.SpanLatencyB\x03\xe0\x41\x03\x42 \n\x1e_tool_ordered_invocation_score\x1ao\n\x15ScenarioRubricOutcome\x12\x13\n\x06rubric\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\x05score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1e\n\x11score_explanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1a\x99\x04\n\x1aScenarioExpectationOutcome\x12x\n\x12observed_tool_call\x18\x02 \x01(\x0b\x32U.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallB\x03\xe0\x41\x03H\x00\x12H\n\x17observed_agent_response\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x03H\x00\x12Q\n\x0b\x65xpectation\x18\x01 \x01(\x0b\x32\x37.google.cloud.ces.v1beta.Evaluation.ScenarioExpectationB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x1a\x90\x01\n\x10ObservedToolCall\x12\x39\n\ttool_call\x18\x01 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x03\x12\x41\n\rtool_response\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x03\x42\x08\n\x06result\x1a\xdc\x08\n\x0eScenarioResult\x12=\n\x0c\x63onversation\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x63\x65s.googleapis.com/Conversation\x12\x11\n\x04task\x18\n \x01(\tB\x03\xe0\x41\x03\x12N\n\nuser_facts\x18\x0b \x03(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.Scenario.UserFactB\x03\xe0\x41\x03\x12g\n\x14\x65xpectation_outcomes\x18\x02 \x03(\x0b\x32\x44.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcomeB\x03\xe0\x41\x03\x12]\n\x0frubric_outcomes\x18\x03 \x03(\x0b\x32?.google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcomeB\x03\xe0\x41\x03\x12`\n\x14hallucination_result\x18\x04 \x03(\x0b\x32=.google.cloud.ces.v1beta.EvaluationResult.HallucinationResultB\x03\xe0\x41\x03\x12\x65\n\x16task_completion_result\x18\x05 \x01(\x0b\x32>.google.cloud.ces.v1beta.EvaluationResult.TaskCompletionResultB\x05\x18\x01\xe0\x41\x03\x12[\n\x13tool_call_latencies\x18\x06 \x03(\x0b\x32\x39.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatencyB\x03\xe0\x41\x03\x12p\n\x1duser_goal_satisfaction_result\x18\x07 \x01(\x0b\x32\x44.google.cloud.ces.v1beta.EvaluationResult.UserGoalSatisfactionResultB\x03\xe0\x41\x03\x12,\n\x1a\x61ll_expectations_satisfied\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12 \n\x0etask_completed\x18\t \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12R\n\x0espan_latencies\x18\x0c \x03(\x0b\x32\x35.google.cloud.ces.v1beta.EvaluationResult.SpanLatencyB\x03\xe0\x41\x03\x12r\n\x1e\x65valuation_expectation_results\x18\r \x03(\x0b\x32\x45.google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResultB\x03\xe0\x41\x03\x42\x1d\n\x1b_all_expectations_satisfiedB\x11\n\x0f_task_completed\x1a\x81\x04\n\x0bSpanLatency\x12\x17\n\x08resource\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x00\x12<\n\x07toolset\x18\x03 \x01(\x0b\x32$.google.cloud.ces.v1beta.ToolsetToolB\x03\xe0\x41\x03H\x00\x12\x14\n\x05model\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x17\n\x08\x63\x61llback\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x12M\n\x04type\x18\x01 \x01(\x0e\x32:.google.cloud.ces.v1beta.EvaluationResult.SpanLatency.TypeB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x11\x65xecution_latency\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\"Q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04TOOL\x10\x01\x12\x11\n\rUSER_CALLBACK\x10\x02\x12\r\n\tGUARDRAIL\x10\x03\x12\x07\n\x03LLM\x10\x04\x42\x0c\n\nidentifier\x1a\xfe\x01\n\x0fToolCallLatency\x12-\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\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\x39\n\x11\x65xecution_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x1a\x66\n\x13HallucinationResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1am\n\x1aUserGoalSatisfactionResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1a\xb4\x01\n\x18SemanticSimilarityResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1a\xa4\x01\n\x1bOverallToolInvocationResult\x12\"\n\x15tool_invocation_score\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12G\n\x07outcome\x18\x02 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x42\x18\n\x16_tool_invocation_score\x1ag\n\x14TaskCompletionResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\"C\n\x07Outcome\x12\x17\n\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x08\n\x04PASS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\"X\n\x0e\x45xecutionState\x12\x1f\n\x1b\x45XECUTION_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\t\n\x05\x45RROR\x10\x03:\xb7\x01\xea\x41\xb3\x01\n#ces.googleapis.com/EvaluationResult\x12gprojects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{evaluation_result}*\x11\x65valuationResults2\x10\x65valuationResultB\x08\n\x06result\"\xa9\x11\n\rEvaluationRun\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\x12G\n\x12\x65valuation_results\x18\x03 \x03(\tB+\xe0\x41\x03\xfa\x41%\n#ces.googleapis.com/EvaluationResult\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0cinitiated_by\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x61pp_version\x18\x06 \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12%\n\x18\x61pp_version_display_name\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x37\n\tchangelog\x18\x16 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Changelog\x12>\n\x15\x63hangelog_create_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x0b\x65valuations\x18\x07 \x03(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Evaluation\x12H\n\x12\x65valuation_dataset\x18\x08 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$ces.googleapis.com/EvaluationDataset\x12S\n\x0f\x65valuation_type\x18\t \x01(\x0e\x32\x35.google.cloud.ces.v1beta.EvaluationRun.EvaluationTypeB\x03\xe0\x41\x03\x12M\n\x05state\x18\n \x01(\x0e\x32\x39.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunStateB\x03\xe0\x41\x03\x12\x46\n\x08progress\x18\x0b \x01(\x0b\x32/.google.cloud.ces.v1beta.EvaluationRun.ProgressB\x03\xe0\x41\x03\x12>\n\x06\x63onfig\x18\x0c \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationConfigB\x03\xe0\x41\x03\x12(\n\x05\x65rror\x18\x0e \x01(\x0b\x32\x12.google.rpc.StatusB\x05\x18\x01\xe0\x41\x03\x12\x45\n\nerror_info\x18\x11 \x01(\x0b\x32,.google.cloud.ces.v1beta.EvaluationErrorInfoB\x03\xe0\x41\x03\x12i\n\x18\x65valuation_run_summaries\x18\x0f \x03(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummariesEntryB\x03\xe0\x41\x03\x12\x43\n\x0elatency_report\x18\x19 \x01(\x0b\x32&.google.cloud.ces.v1beta.LatencyReportB\x03\xe0\x41\x03\x12\x16\n\trun_count\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12K\n\x13persona_run_configs\x18\x12 \x03(\x0b\x32).google.cloud.ces.v1beta.PersonaRunConfigB\x03\xe0\x41\x03\x12M\n\x13optimization_config\x18\x13 \x01(\x0b\x32+.google.cloud.ces.v1beta.OptimizationConfigB\x03\xe0\x41\x01\x12S\n\x18scheduled_evaluation_run\x18\x14 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)ces.googleapis.com/ScheduledEvaluationRun\x12H\n\x11golden_run_method\x18\x15 \x01(\x0e\x32(.google.cloud.ces.v1beta.GoldenRunMethodB\x03\xe0\x41\x03\x1a\x92\x01\n\x08Progress\x12\x18\n\x0btotal_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61iled_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x65rror_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x63ompleted_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cpassed_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\x66\n\x14\x45valuationRunSummary\x12\x19\n\x0cpassed_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61iled_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x65rror_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x1az\n\x1b\x45valuationRunSummariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummary:\x02\x38\x01\"V\n\x0e\x45valuationType\x12\x1f\n\x1b\x45VALUATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GOLDEN\x10\x01\x12\x0c\n\x08SCENARIO\x10\x02\x12\t\n\x05MIXED\x10\x03\"a\n\x12\x45valuationRunState\x12$\n EVALUATION_RUN_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\t\n\x05\x45RROR\x10\x03:\x99\x01\xea\x41\x95\x01\n ces.googleapis.com/EvaluationRun\x12Rprojects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}*\x0e\x65valuationRuns2\revaluationRun\"\xaa\n\n\rLatencyReport\x12R\n\x0etool_latencies\x18\x01 \x03(\x0b\x32\x32.google.cloud.ces.v1beta.LatencyReport.ToolLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12Z\n\x12\x63\x61llback_latencies\x18\x02 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.LatencyReport.CallbackLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12\\\n\x13guardrail_latencies\x18\x03 \x03(\x0b\x32\x37.google.cloud.ces.v1beta.LatencyReport.GuardrailLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12Y\n\x12llm_call_latencies\x18\x04 \x03(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LlmCallLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12\x1a\n\rsession_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\xc8\x01\n\x0eLatencyMetrics\x12\x33\n\x0bp50_latency\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x33\n\x0bp90_latency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x33\n\x0bp99_latency\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x17\n\ncall_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x1a\x89\x02\n\x0bToolLatency\x12/\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x41\n\x0ctoolset_tool\x18\x02 \x01(\x0b\x32$.google.cloud.ces.v1beta.ToolsetToolB\x03\xe0\x41\x03H\x00\x12\x1e\n\x11tool_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x04 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\x42\x11\n\x0ftool_identifier\x1az\n\x0f\x43\x61llbackLatency\x12\x12\n\x05stage\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x02 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\x1a\xc5\x01\n\x10GuardrailLatency\x12\x37\n\tguardrail\x18\x01 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Guardrail\x12#\n\x16guardrail_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x03 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\x1ay\n\x0eLlmCallLatency\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x02 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\"\xa4\x04\n\x15\x45valuationExpectation\x12W\n\x0cllm_criteria\x18\x03 \x01(\x0b\x32:.google.cloud.ces.v1beta.EvaluationExpectation.LlmCriteriaB\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\x11\n\x04tags\x18\x08 \x03(\tB\x03\xe0\x41\x01\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\x06 \x01(\tB\x03\xe0\x41\x03\x1a\"\n\x0bLlmCriteria\x12\x13\n\x06prompt\x18\x01 \x01(\tB\x03\xe0\x41\x02:\xc1\x01\xea\x41\xbd\x01\n(ces.googleapis.com/EvaluationExpectation\x12\x62projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}*\x16\x65valuationExpectations2\x15\x65valuationExpectationB\n\n\x08\x63riteria\"\xb4\x03\n\x10\x45valuationConfig\x12L\n\x12input_audio_config\x18\x01 \x01(\x0b\x32).google.cloud.ces.v1beta.InputAudioConfigB\x05\x18\x01\xe0\x41\x01\x12N\n\x13output_audio_config\x18\x02 \x01(\x0b\x32*.google.cloud.ces.v1beta.OutputAudioConfigB\x05\x18\x01\xe0\x41\x01\x12\\\n\x12\x65valuation_channel\x18\x03 \x01(\x0e\x32;.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannelB\x03\xe0\x41\x01\x12V\n\x13tool_call_behaviour\x18\x04 \x01(\x0e\x32\x34.google.cloud.ces.v1beta.EvaluationToolCallBehaviourB\x03\xe0\x41\x01\"L\n\x11\x45valuationChannel\x12\"\n\x1e\x45VALUATION_CHANNEL_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\"\xef\x02\n\x13\x45valuationErrorInfo\x12O\n\nerror_type\x18\x01 \x01(\x0e\x32\x36.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorTypeB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsession_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xd1\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fRUNTIME_FAILURE\x10\x01\x12\"\n\x1e\x43ONVERSATION_RETRIEVAL_FAILURE\x10\x02\x12\x1e\n\x1aMETRIC_CALCULATION_FAILURE\x10\x03\x12\x1d\n\x19\x45VALUATION_UPDATE_FAILURE\x10\x04\x12\x13\n\x0fQUOTA_EXHAUSTED\x10\x05\x12\x1b\n\x17USER_SIMULATION_FAILURE\x10\x06\"\xec\x05\n\x14RunEvaluationRequest\x12+\n\x03\x61pp\x18\x01 \x01(\tB\x1e\xe0\x41\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/App\x12:\n\x0b\x65valuations\x18\x02 \x03(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Evaluation\x12H\n\x12\x65valuation_dataset\x18\x03 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$ces.googleapis.com/EvaluationDataset\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12:\n\x0b\x61pp_version\x18\x06 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12>\n\x06\x63onfig\x18\x08 \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationConfigB\x03\xe0\x41\x01\x12\x1b\n\trun_count\x18\t \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12K\n\x13persona_run_configs\x18\n \x03(\x0b\x32).google.cloud.ces.v1beta.PersonaRunConfigB\x03\xe0\x41\x01\x12M\n\x13optimization_config\x18\x0b \x01(\x0b\x32+.google.cloud.ces.v1beta.OptimizationConfigB\x03\xe0\x41\x01\x12S\n\x18scheduled_evaluation_run\x18\x0c \x01(\tB1\xe0\x41\x01\xfa\x41+\n)ces.googleapis.com/ScheduledEvaluationRun\x12H\n\x11golden_run_method\x18\r \x01(\x0e\x32(.google.cloud.ces.v1beta.GoldenRunMethodB\x03\xe0\x41\x01\x12$\n\x17generate_latency_report\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x42\x0c\n\n_run_count\"\xe9\x08\n\x16ScheduledEvaluationRun\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\x43\n\x07request\x18\x03 \x01(\x0b\x32-.google.cloud.ces.v1beta.RunEvaluationRequestB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12`\n\x11scheduling_config\x18\x05 \x01(\x0b\x32@.google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfigB\x03\xe0\x41\x02\x12\x13\n\x06\x61\x63tive\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\x12last_completed_run\x18\x07 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n ces.googleapis.com/EvaluationRun\x12\x1d\n\x10total_executions\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12\x46\n\x1dnext_scheduled_execution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\ncreated_by\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0flast_updated_by\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x0e \x01(\tB\x03\xe0\x41\x03\x1a\x9d\x02\n\x10SchedulingConfig\x12\x62\n\tfrequency\x18\x01 \x01(\x0e\x32J.google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfig.FrequencyB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x19\n\x0c\x64\x61ys_of_week\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\"U\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0c\n\x08\x42IWEEKLY\x10\x04:\xc7\x01\xea\x41\xc3\x01\n)ces.googleapis.com/ScheduledEvaluationRun\x12\x65projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}*\x17scheduledEvaluationRuns2\x16scheduledEvaluationRun\"A\n\x10PersonaRunConfig\x12\x14\n\x07persona\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ntask_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"\x9b\x03\n\x12OptimizationConfig\x12!\n\x14generate_loss_report\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x61ssistant_session\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ereport_summary\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12should_suggest_fix\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12S\n\x06status\x18\x04 \x01(\x0e\x32>.google.cloud.ces.v1beta.OptimizationConfig.OptimizationStatusB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x31\n\x0bloss_report\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\"`\n\x12OptimizationStatus\x12#\n\x1fOPTIMIZATION_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x42_\n\x1b\x63om.google.cloud.ces.v1betaB\x0f\x45valuationProtoP\x01Z-cloud.google.com/go/ces/apiv1beta/cespb;cespbb\x06proto3"
23
+ descriptor_data = "\n(google/cloud/ces/v1beta/evaluation.proto\x12\x17google.cloud.ces.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/ces/v1beta/app.proto\x1a$google/cloud/ces/v1beta/common.proto\x1a\x37google/cloud/ces/v1beta/evaluation_metrics_config.proto\x1a%google/cloud/ces/v1beta/example.proto\x1a#google/cloud/ces/v1beta/fakes.proto\x1a(google/cloud/ces/v1beta/golden_run.proto\x1a-google/cloud/ces/v1beta/session_service.proto\x1a*google/cloud/ces/v1beta/toolset_tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xeb\r\n\x11\x41ggregatedMetrics\x12\x63\n\x16metrics_by_app_version\x18\x03 \x03(\x0b\x32>.google.cloud.ces.v1beta.AggregatedMetrics.MetricsByAppVersionB\x03\xe0\x41\x03\x1an\n\x0bToolMetrics\x12-\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x17\n\npass_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nfail_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x1aM\n\x12TurnLatencyMetrics\x12\x37\n\x0f\x61verage_latency\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x1a\x80\x01\n\x16ToolCallLatencyMetrics\x12-\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x37\n\x0f\x61verage_latency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x1a/\n\x19SemanticSimilarityMetrics\x12\x12\n\x05score\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03\x1a*\n\x14HallucinationMetrics\x12\x12\n\x05score\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03\x1a\xb1\x05\n\x13MetricsByAppVersion\x12\x1b\n\x0e\x61pp_version_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x0ctool_metrics\x18\x02 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetricsB\x03\xe0\x41\x03\x12n\n\x1bsemantic_similarity_metrics\x18\x03 \x03(\x0b\x32\x44.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetricsB\x03\xe0\x41\x03\x12\x63\n\x15hallucination_metrics\x18\x05 \x03(\x0b\x32?.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetricsB\x03\xe0\x41\x03\x12i\n\x19tool_call_latency_metrics\x18\x06 \x03(\x0b\x32\x41.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetricsB\x03\xe0\x41\x03\x12`\n\x14turn_latency_metrics\x18\x07 \x03(\x0b\x32=.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetricsB\x03\xe0\x41\x03\x12\x17\n\npass_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nfail_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12V\n\x0fmetrics_by_turn\x18\x04 \x03(\x0b\x32\x38.google.cloud.ces.v1beta.AggregatedMetrics.MetricsByTurnB\x03\xe0\x41\x03\x1a\x9d\x04\n\rMetricsByTurn\x12\x17\n\nturn_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12Q\n\x0ctool_metrics\x18\x02 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.AggregatedMetrics.ToolMetricsB\x03\xe0\x41\x03\x12n\n\x1bsemantic_similarity_metrics\x18\x03 \x03(\x0b\x32\x44.google.cloud.ces.v1beta.AggregatedMetrics.SemanticSimilarityMetricsB\x03\xe0\x41\x03\x12\x63\n\x15hallucination_metrics\x18\x04 \x03(\x0b\x32?.google.cloud.ces.v1beta.AggregatedMetrics.HallucinationMetricsB\x03\xe0\x41\x03\x12i\n\x19tool_call_latency_metrics\x18\x05 \x03(\x0b\x32\x41.google.cloud.ces.v1beta.AggregatedMetrics.ToolCallLatencyMetricsB\x03\xe0\x41\x03\x12`\n\x14turn_latency_metrics\x18\x06 \x03(\x0b\x32=.google.cloud.ces.v1beta.AggregatedMetrics.TurnLatencyMetricsB\x03\xe0\x41\x03\"\xeb\"\n\nEvaluation\x12\x41\n\x06golden\x18\x0b \x01(\x0b\x32*.google.cloud.ces.v1beta.Evaluation.GoldenB\x03\xe0\x41\x01H\x00\x12\x45\n\x08scenario\x18\x0c \x01(\x0b\x32,.google.cloud.ces.v1beta.Evaluation.ScenarioB\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\x11\n\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12I\n\x13\x65valuation_datasets\x18\x05 \x03(\tB,\xe0\x41\x03\xfa\x41&\n$ces.googleapis.com/EvaluationDataset\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\ncreated_by\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0flast_updated_by\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x0f\x65valuation_runs\x18\x0f \x03(\tB(\xe0\x41\x03\xfa\x41\"\n ces.googleapis.com/EvaluationRun\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12K\n\x12\x61ggregated_metrics\x18\x10 \x01(\x0b\x32*.google.cloud.ces.v1beta.AggregatedMetricsB\x03\xe0\x41\x03\x12M\n\x15last_completed_result\x18\x11 \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationResultB\x03\xe0\x41\x03\x12\x14\n\x07invalid\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12H\n\x10last_ten_results\x18\x13 \x03(\x0b\x32).google.cloud.ces.v1beta.EvaluationResultB\x03\xe0\x41\x03\x12h\n%evaluation_metrics_threshold_override\x18\x14 \x01(\x0b\x32\x34.google.cloud.ces.v1beta.EvaluationMetricsThresholdsB\x03\xe0\x41\x01\x12\x61\n\"evaluation_metrics_config_override\x18\x15 \x01(\x0b\x32\x30.google.cloud.ces.v1beta.EvaluationMetricsConfigB\x03\xe0\x41\x01\x1a\xc1\x08\n\x11GoldenExpectation\x12;\n\ttool_call\x18\x02 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x01H\x00\x12\x43\n\rtool_response\x18\x03 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x01H\x00\x12?\n\x0e\x61gent_response\x18\x04 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x01H\x00\x12\x45\n\x0e\x61gent_transfer\x18\x05 \x01(\x0b\x32&.google.cloud.ces.v1beta.AgentTransferB\x03\xe0\x41\x01H\x00\x12\x39\n\x11updated_variables\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x00\x12H\n\x12mock_tool_response\x18\x07 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x01H\x00\x12\x1c\n\rno_tool_calls\x18\r \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\x11\n\x04note\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fskip_evaluation\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12\xb4\x01\n-expectation_level_metrics_thresholds_override\x18\t \x01(\x0b\x32x.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholdsB\x03\xe0\x41\x01\x12\x99\x01\n:agent_response_semantic_similarity_metrics_config_override\x18\n \x01(\x0b\x32P.google.cloud.ces.v1beta.EvaluationMetricsConfig.SemanticSimilarityMetricsConfigB\x03\xe0\x41\x01\x12\x8e\x01\n4agent_response_hallucination_metrics_config_override\x18\x0b \x01(\x0b\x32K.google.cloud.ces.v1beta.EvaluationMetricsConfig.HallucinationMetricsConfigB\x03\xe0\x41\x01\x12]\n\x0f\x63omparison_type\x18\x0c \x01(\x0e\x32?.google.cloud.ces.v1beta.EvaluationMetricsConfig.ComparisonTypeB\x03\xe0\x41\x01\x42\x0b\n\tcondition\x1a\xea\x01\n\x04Step\x12@\n\nuser_input\x18\x01 \x01(\x0b\x32%.google.cloud.ces.v1beta.SessionInputB\x03\xe0\x41\x01H\x00\x12\x45\n\x0e\x61gent_transfer\x18\x02 \x01(\x0b\x32&.google.cloud.ces.v1beta.AgentTransferB\x03\xe0\x41\x01H\x00\x12Q\n\x0b\x65xpectation\x18\x03 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.GoldenExpectationB\x03\xe0\x41\x01H\x00\x42\x06\n\x04step\x1a\xb2\x03\n\nGoldenTurn\x12<\n\x05steps\x18\x01 \x03(\x0b\x32(.google.cloud.ces.v1beta.Evaluation.StepB\x03\xe0\x41\x02\x12\x35\n\troot_span\x18\x02 \x01(\x0b\x32\x1d.google.cloud.ces.v1beta.SpanB\x03\xe0\x41\x01\x12\xa6\x01\n&turn_level_metrics_thresholds_override\x18\x03 \x01(\x0b\x32q.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsB\x03\xe0\x41\x01\x12\x85\x01\n&hallucination_metric_behavior_override\x18\x04 \x01(\x0e\x32P.google.cloud.ces.v1beta.EvaluationMetricsThresholds.HallucinationMetricBehaviorB\x03\xe0\x41\x01\x1a\x9f\x01\n\x06Golden\x12\x42\n\x05turns\x18\x02 \x03(\x0b\x32..google.cloud.ces.v1beta.Evaluation.GoldenTurnB\x03\xe0\x41\x02\x12Q\n\x17\x65valuation_expectations\x18\x03 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(ces.googleapis.com/EvaluationExpectation\x1a\xef\x02\n\x13ScenarioExpectation\x12h\n\x10tool_expectation\x18\x01 \x01(\x0b\x32G.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation.ToolExpectationB\x03\xe0\x41\x01H\x00\x12?\n\x0e\x61gent_response\x18\x02 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x01H\x00\x1a\x9d\x01\n\x0fToolExpectation\x12\x42\n\x12\x65xpected_tool_call\x18\x01 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x02\x12\x46\n\x12mock_tool_response\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x02\x42\r\n\x0b\x65xpectation\x1a\xda\x07\n\x08Scenario\x12\x11\n\x04task\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12N\n\nuser_facts\x18\x04 \x03(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.Scenario.UserFactB\x03\xe0\x41\x01\x12\x16\n\tmax_turns\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07rubrics\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12[\n\x15scenario_expectations\x18\x03 \x03(\x0b\x32\x37.google.cloud.ces.v1beta.Evaluation.ScenarioExpectationB\x03\xe0\x41\x02\x12\x38\n\x12variable_overrides\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12l\n\x18task_completion_behavior\x18\x07 \x01(\x0e\x32\x43.google.cloud.ces.v1beta.Evaluation.Scenario.TaskCompletionBehaviorB\x05\x18\x01\xe0\x41\x01\x12^\n\x12user_goal_behavior\x18\x08 \x01(\x0e\x32=.google.cloud.ces.v1beta.Evaluation.Scenario.UserGoalBehaviorB\x03\xe0\x41\x01\x12Q\n\x17\x65valuation_expectations\x18\n \x03(\tB0\xe0\x41\x01\xfa\x41*\n(ces.googleapis.com/EvaluationExpectation\x12g\n\x17scenario_execution_mode\x18\x0c \x01(\x0e\x32\x41.google.cloud.ces.v1beta.EvaluationSettings.ScenarioExecutionModeB\x03\xe0\x41\x01\x1a\x31\n\x08UserFact\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"i\n\x16TaskCompletionBehavior\x12(\n$TASK_COMPLETION_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x12\n\x0eTASK_SATISFIED\x10\x01\x12\x11\n\rTASK_REJECTED\x10\x02\"~\n\x10UserGoalBehavior\x12\"\n\x1eUSER_GOAL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x17\n\x13USER_GOAL_SATISFIED\x10\x01\x12\x16\n\x12USER_GOAL_REJECTED\x10\x02\x12\x15\n\x11USER_GOAL_IGNORED\x10\x03:\x89\x01\xea\x41\x85\x01\n\x1d\x63\x65s.googleapis.com/Evaluation\x12Kprojects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}*\x0b\x65valuations2\nevaluationB\x08\n\x06inputs\"\xb0\x04\n\x11\x45valuationDataset\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:\n\x0b\x65valuations\x18\x03 \x03(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Evaluation\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\x06 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ncreated_by\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0flast_updated_by\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12K\n\x12\x61ggregated_metrics\x18\t \x01(\x0b\x32*.google.cloud.ces.v1beta.AggregatedMetricsB\x03\xe0\x41\x03:\xad\x01\xea\x41\xa9\x01\n$ces.googleapis.com/EvaluationDataset\x12Zprojects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluation_dataset}*\x12\x65valuationDatasets2\x11\x65valuationDataset\"\x95\x38\n\x10\x45valuationResult\x12T\n\rgolden_result\x18\x07 \x01(\x0b\x32\x36.google.cloud.ces.v1beta.EvaluationResult.GoldenResultB\x03\xe0\x41\x03H\x00\x12X\n\x0fscenario_result\x18\x08 \x01(\x0b\x32\x38.google.cloud.ces.v1beta.EvaluationResult.ScenarioResultB\x03\xe0\x41\x03H\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\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x11\x65valuation_status\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12@\n\x0e\x65valuation_run\x18\x06 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n ces.googleapis.com/EvaluationRun\x12@\n\x07persona\x18\x11 \x01(\x0b\x32*.google.cloud.ces.v1beta.EvaluationPersonaB\x03\xe0\x41\x03\x12\x45\n\nerror_info\x18\x0f \x01(\x0b\x32,.google.cloud.ces.v1beta.EvaluationErrorInfoB\x03\xe0\x41\x03\x12(\n\x05\x65rror\x18\x0e \x01(\x0b\x32\x12.google.rpc.StatusB\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0cinitiated_by\x18\t \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x61pp_version\x18\n \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12%\n\x18\x61pp_version_display_name\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x37\n\tchangelog\x18\x15 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Changelog\x12>\n\x15\x63hangelog_create_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12V\n\x0f\x65xecution_state\x18\x0b \x01(\x0e\x32\x38.google.cloud.ces.v1beta.EvaluationResult.ExecutionStateB\x03\xe0\x41\x03\x12`\n\x1d\x65valuation_metrics_thresholds\x18\x0c \x01(\x0b\x32\x34.google.cloud.ces.v1beta.EvaluationMetricsThresholdsB\x03\xe0\x41\x03\x12>\n\x06\x63onfig\x18\x12 \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationConfigB\x03\xe0\x41\x03\x12H\n\x11golden_run_method\x18\x13 \x01(\x0e\x32(.google.cloud.ces.v1beta.GoldenRunMethodB\x03\xe0\x41\x03\x1a\xde\x07\n\x18GoldenExpectationOutcome\x12\x44\n\x12observed_tool_call\x18\x02 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x03H\x00\x12L\n\x16observed_tool_response\x18\x03 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x03H\x00\x12H\n\x17observed_agent_response\x18\x04 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x03H\x00\x12N\n\x17observed_agent_transfer\x18\x05 \x01(\x0b\x32&.google.cloud.ces.v1beta.AgentTransferB\x03\xe0\x41\x03H\x00\x12\x38\n\x10observed_payload\x18\t \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03H\x00\x12O\n\x0b\x65xpectation\x18\x01 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.GoldenExpectationB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x06 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12m\n\x1asemantic_similarity_result\x18\x07 \x01(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResultB\x05\x18\x01\xe0\x41\x03\x12|\n\x16tool_invocation_result\x18\x08 \x01(\x0b\x32W.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome.ToolInvocationResultB\x03\xe0\x41\x03\x1a\xc8\x01\n\x14ToolInvocationResult\x12-\n\x1bparameter_correctness_score\x18\x01 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12G\n\x07outcome\x18\x02 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x1e\n\x1c_parameter_correctness_scoreB\x08\n\x06result\x1a\xe7\x01\n\x1b\x45valuationExpectationResult\x12P\n\x16\x65valuation_expectation\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(ces.googleapis.com/EvaluationExpectation\x12\x13\n\x06prompt\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x03 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x04 \x01(\tB\x03\xe0\x41\x03\x1a\x91\t\n\x0cGoldenResult\x12i\n\x13turn_replay_results\x18\x01 \x03(\x0b\x32G.google.cloud.ces.v1beta.EvaluationResult.GoldenResult.TurnReplayResultB\x03\xe0\x41\x03\x12r\n\x1e\x65valuation_expectation_results\x18\x02 \x03(\x0b\x32\x45.google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResultB\x03\xe0\x41\x03\x1a\xa1\x07\n\x10TurnReplayResult\x12=\n\x0c\x63onversation\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x63\x65s.googleapis.com/Conversation\x12\x64\n\x13\x65xpectation_outcome\x18\x02 \x03(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcomeB\x03\xe0\x41\x03\x12`\n\x14hallucination_result\x18\x03 \x01(\x0b\x32=.google.cloud.ces.v1beta.EvaluationResult.HallucinationResultB\x03\xe0\x41\x03\x12$\n\x15tool_invocation_score\x18\x04 \x01(\x02\x42\x05\x18\x01\xe0\x41\x03\x12/\n\x1dtool_ordered_invocation_score\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x34\n\x0cturn_latency\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12[\n\x13tool_call_latencies\x18\x07 \x03(\x0b\x32\x39.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatencyB\x03\xe0\x41\x03\x12k\n\x1asemantic_similarity_result\x18\x08 \x01(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResultB\x03\xe0\x41\x03\x12r\n\x1eoverall_tool_invocation_result\x18\t \x01(\x0b\x32\x45.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResultB\x03\xe0\x41\x03\x12\x45\n\nerror_info\x18\n \x01(\x0b\x32,.google.cloud.ces.v1beta.EvaluationErrorInfoB\x03\xe0\x41\x03\x12R\n\x0espan_latencies\x18\x0b \x03(\x0b\x32\x35.google.cloud.ces.v1beta.EvaluationResult.SpanLatencyB\x03\xe0\x41\x03\x42 \n\x1e_tool_ordered_invocation_score\x1ao\n\x15ScenarioRubricOutcome\x12\x13\n\x06rubric\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\x05score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1e\n\x11score_explanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1a\x99\x04\n\x1aScenarioExpectationOutcome\x12x\n\x12observed_tool_call\x18\x02 \x01(\x0b\x32U.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallB\x03\xe0\x41\x03H\x00\x12H\n\x17observed_agent_response\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x03\xe0\x41\x03H\x00\x12Q\n\x0b\x65xpectation\x18\x01 \x01(\x0b\x32\x37.google.cloud.ces.v1beta.Evaluation.ScenarioExpectationB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x1a\x90\x01\n\x10ObservedToolCall\x12\x39\n\ttool_call\x18\x01 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x03\xe0\x41\x03\x12\x41\n\rtool_response\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x03\xe0\x41\x03\x42\x08\n\x06result\x1a\xdc\x08\n\x0eScenarioResult\x12=\n\x0c\x63onversation\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x63\x65s.googleapis.com/Conversation\x12\x11\n\x04task\x18\n \x01(\tB\x03\xe0\x41\x03\x12N\n\nuser_facts\x18\x0b \x03(\x0b\x32\x35.google.cloud.ces.v1beta.Evaluation.Scenario.UserFactB\x03\xe0\x41\x03\x12g\n\x14\x65xpectation_outcomes\x18\x02 \x03(\x0b\x32\x44.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcomeB\x03\xe0\x41\x03\x12]\n\x0frubric_outcomes\x18\x03 \x03(\x0b\x32?.google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcomeB\x03\xe0\x41\x03\x12`\n\x14hallucination_result\x18\x04 \x03(\x0b\x32=.google.cloud.ces.v1beta.EvaluationResult.HallucinationResultB\x03\xe0\x41\x03\x12\x65\n\x16task_completion_result\x18\x05 \x01(\x0b\x32>.google.cloud.ces.v1beta.EvaluationResult.TaskCompletionResultB\x05\x18\x01\xe0\x41\x03\x12[\n\x13tool_call_latencies\x18\x06 \x03(\x0b\x32\x39.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatencyB\x03\xe0\x41\x03\x12p\n\x1duser_goal_satisfaction_result\x18\x07 \x01(\x0b\x32\x44.google.cloud.ces.v1beta.EvaluationResult.UserGoalSatisfactionResultB\x03\xe0\x41\x03\x12,\n\x1a\x61ll_expectations_satisfied\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12 \n\x0etask_completed\x18\t \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12R\n\x0espan_latencies\x18\x0c \x03(\x0b\x32\x35.google.cloud.ces.v1beta.EvaluationResult.SpanLatencyB\x03\xe0\x41\x03\x12r\n\x1e\x65valuation_expectation_results\x18\r \x03(\x0b\x32\x45.google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResultB\x03\xe0\x41\x03\x42\x1d\n\x1b_all_expectations_satisfiedB\x11\n\x0f_task_completed\x1a\x81\x04\n\x0bSpanLatency\x12\x17\n\x08resource\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x00\x12<\n\x07toolset\x18\x03 \x01(\x0b\x32$.google.cloud.ces.v1beta.ToolsetToolB\x03\xe0\x41\x03H\x00\x12\x14\n\x05model\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x17\n\x08\x63\x61llback\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x12M\n\x04type\x18\x01 \x01(\x0e\x32:.google.cloud.ces.v1beta.EvaluationResult.SpanLatency.TypeB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x11\x65xecution_latency\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\"Q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04TOOL\x10\x01\x12\x11\n\rUSER_CALLBACK\x10\x02\x12\r\n\tGUARDRAIL\x10\x03\x12\x07\n\x03LLM\x10\x04\x42\x0c\n\nidentifier\x1a\xfe\x01\n\x0fToolCallLatency\x12-\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/Tool\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\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\x39\n\x11\x65xecution_latency\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x1a\x66\n\x13HallucinationResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1am\n\x1aUserGoalSatisfactionResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1a\xb4\x01\n\x18SemanticSimilarityResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12G\n\x07outcome\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x42\x08\n\x06_score\x1a\xa4\x01\n\x1bOverallToolInvocationResult\x12\"\n\x15tool_invocation_score\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12G\n\x07outcome\x18\x02 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.EvaluationResult.OutcomeB\x03\xe0\x41\x03\x42\x18\n\x16_tool_invocation_score\x1ag\n\x14TaskCompletionResult\x12\x17\n\x05score\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x12\n\x05label\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xplanation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x08\n\x06_score\"C\n\x07Outcome\x12\x17\n\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x08\n\x04PASS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\"s\n\x0e\x45xecutionState\x12\x1f\n\x1b\x45XECUTION_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x05\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\r\n\tCANCELLED\x10\x04:\xb7\x01\xea\x41\xb3\x01\n#ces.googleapis.com/EvaluationResult\x12gprojects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{evaluation_result}*\x11\x65valuationResults2\x10\x65valuationResultB\x08\n\x06result\"\xfa\x11\n\rEvaluationRun\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\x12G\n\x12\x65valuation_results\x18\x03 \x03(\tB+\xe0\x41\x03\xfa\x41%\n#ces.googleapis.com/EvaluationResult\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0cinitiated_by\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x61pp_version\x18\x06 \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12%\n\x18\x61pp_version_display_name\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x37\n\tchangelog\x18\x16 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Changelog\x12>\n\x15\x63hangelog_create_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x0b\x65valuations\x18\x07 \x03(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Evaluation\x12H\n\x12\x65valuation_dataset\x18\x08 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$ces.googleapis.com/EvaluationDataset\x12S\n\x0f\x65valuation_type\x18\t \x01(\x0e\x32\x35.google.cloud.ces.v1beta.EvaluationRun.EvaluationTypeB\x03\xe0\x41\x03\x12M\n\x05state\x18\n \x01(\x0e\x32\x39.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunStateB\x03\xe0\x41\x03\x12\x46\n\x08progress\x18\x0b \x01(\x0b\x32/.google.cloud.ces.v1beta.EvaluationRun.ProgressB\x03\xe0\x41\x03\x12>\n\x06\x63onfig\x18\x0c \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationConfigB\x03\xe0\x41\x03\x12(\n\x05\x65rror\x18\x0e \x01(\x0b\x32\x12.google.rpc.StatusB\x05\x18\x01\xe0\x41\x03\x12\x45\n\nerror_info\x18\x11 \x01(\x0b\x32,.google.cloud.ces.v1beta.EvaluationErrorInfoB\x03\xe0\x41\x03\x12i\n\x18\x65valuation_run_summaries\x18\x0f \x03(\x0b\x32\x42.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummariesEntryB\x03\xe0\x41\x03\x12\x43\n\x0elatency_report\x18\x19 \x01(\x0b\x32&.google.cloud.ces.v1beta.LatencyReportB\x03\xe0\x41\x03\x12\x16\n\trun_count\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12K\n\x13persona_run_configs\x18\x12 \x03(\x0b\x32).google.cloud.ces.v1beta.PersonaRunConfigB\x03\xe0\x41\x03\x12M\n\x13optimization_config\x18\x13 \x01(\x0b\x32+.google.cloud.ces.v1beta.OptimizationConfigB\x03\xe0\x41\x01\x12S\n\x18scheduled_evaluation_run\x18\x14 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)ces.googleapis.com/ScheduledEvaluationRun\x12H\n\x11golden_run_method\x18\x15 \x01(\x0e\x32(.google.cloud.ces.v1beta.GoldenRunMethodB\x03\xe0\x41\x03\x12\x16\n\toperation\x18\x1a \x01(\tB\x03\xe0\x41\x03\x1a\xb0\x01\n\x08Progress\x12\x18\n\x0btotal_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61iled_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x65rror_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x63ompleted_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cpassed_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x63\x61ncelled_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\x1a\x66\n\x14\x45valuationRunSummary\x12\x19\n\x0cpassed_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61iled_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x65rror_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x1az\n\x1b\x45valuationRunSummariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummary:\x02\x38\x01\"V\n\x0e\x45valuationType\x12\x1f\n\x1b\x45VALUATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GOLDEN\x10\x01\x12\x0c\n\x08SCENARIO\x10\x02\x12\t\n\x05MIXED\x10\x03\"|\n\x12\x45valuationRunState\x12$\n EVALUATION_RUN_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x05\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\r\n\tCANCELLED\x10\x04:\x99\x01\xea\x41\x95\x01\n ces.googleapis.com/EvaluationRun\x12Rprojects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}*\x0e\x65valuationRuns2\revaluationRun\"\xaa\n\n\rLatencyReport\x12R\n\x0etool_latencies\x18\x01 \x03(\x0b\x32\x32.google.cloud.ces.v1beta.LatencyReport.ToolLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12Z\n\x12\x63\x61llback_latencies\x18\x02 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.LatencyReport.CallbackLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12\\\n\x13guardrail_latencies\x18\x03 \x03(\x0b\x32\x37.google.cloud.ces.v1beta.LatencyReport.GuardrailLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12Y\n\x12llm_call_latencies\x18\x04 \x03(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LlmCallLatencyB\x06\xe0\x41\x03\xe0\x41\x06\x12\x1a\n\rsession_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\xc8\x01\n\x0eLatencyMetrics\x12\x33\n\x0bp50_latency\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x33\n\x0bp90_latency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x33\n\x0bp99_latency\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x17\n\ncall_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x1a\x89\x02\n\x0bToolLatency\x12/\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x03\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x41\n\x0ctoolset_tool\x18\x02 \x01(\x0b\x32$.google.cloud.ces.v1beta.ToolsetToolB\x03\xe0\x41\x03H\x00\x12\x1e\n\x11tool_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x04 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\x42\x11\n\x0ftool_identifier\x1az\n\x0f\x43\x61llbackLatency\x12\x12\n\x05stage\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x02 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\x1a\xc5\x01\n\x10GuardrailLatency\x12\x37\n\tguardrail\x18\x01 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1c\x63\x65s.googleapis.com/Guardrail\x12#\n\x16guardrail_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x03 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\x1ay\n\x0eLlmCallLatency\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0flatency_metrics\x18\x02 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.LatencyReport.LatencyMetricsB\x03\xe0\x41\x03\"\xa4\x04\n\x15\x45valuationExpectation\x12W\n\x0cllm_criteria\x18\x03 \x01(\x0b\x32:.google.cloud.ces.v1beta.EvaluationExpectation.LlmCriteriaB\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\x11\n\x04tags\x18\x08 \x03(\tB\x03\xe0\x41\x01\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\x06 \x01(\tB\x03\xe0\x41\x03\x1a\"\n\x0bLlmCriteria\x12\x13\n\x06prompt\x18\x01 \x01(\tB\x03\xe0\x41\x02:\xc1\x01\xea\x41\xbd\x01\n(ces.googleapis.com/EvaluationExpectation\x12\x62projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}*\x16\x65valuationExpectations2\x15\x65valuationExpectationB\n\n\x08\x63riteria\"\xb4\x03\n\x10\x45valuationConfig\x12L\n\x12input_audio_config\x18\x01 \x01(\x0b\x32).google.cloud.ces.v1beta.InputAudioConfigB\x05\x18\x01\xe0\x41\x01\x12N\n\x13output_audio_config\x18\x02 \x01(\x0b\x32*.google.cloud.ces.v1beta.OutputAudioConfigB\x05\x18\x01\xe0\x41\x01\x12\\\n\x12\x65valuation_channel\x18\x03 \x01(\x0e\x32;.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannelB\x03\xe0\x41\x01\x12V\n\x13tool_call_behaviour\x18\x04 \x01(\x0e\x32\x34.google.cloud.ces.v1beta.EvaluationToolCallBehaviourB\x03\xe0\x41\x01\"L\n\x11\x45valuationChannel\x12\"\n\x1e\x45VALUATION_CHANNEL_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\"\x97\x03\n\x13\x45valuationErrorInfo\x12O\n\nerror_type\x18\x01 \x01(\x0e\x32\x36.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorTypeB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsession_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19user_facing_error_message\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\xd1\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fRUNTIME_FAILURE\x10\x01\x12\"\n\x1e\x43ONVERSATION_RETRIEVAL_FAILURE\x10\x02\x12\x1e\n\x1aMETRIC_CALCULATION_FAILURE\x10\x03\x12\x1d\n\x19\x45VALUATION_UPDATE_FAILURE\x10\x04\x12\x13\n\x0fQUOTA_EXHAUSTED\x10\x05\x12\x1b\n\x17USER_SIMULATION_FAILURE\x10\x06\"\xec\x05\n\x14RunEvaluationRequest\x12+\n\x03\x61pp\x18\x01 \x01(\tB\x1e\xe0\x41\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/App\x12:\n\x0b\x65valuations\x18\x02 \x03(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/Evaluation\x12H\n\x12\x65valuation_dataset\x18\x03 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$ces.googleapis.com/EvaluationDataset\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12:\n\x0b\x61pp_version\x18\x06 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63\x65s.googleapis.com/AppVersion\x12>\n\x06\x63onfig\x18\x08 \x01(\x0b\x32).google.cloud.ces.v1beta.EvaluationConfigB\x03\xe0\x41\x01\x12\x1b\n\trun_count\x18\t \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12K\n\x13persona_run_configs\x18\n \x03(\x0b\x32).google.cloud.ces.v1beta.PersonaRunConfigB\x03\xe0\x41\x01\x12M\n\x13optimization_config\x18\x0b \x01(\x0b\x32+.google.cloud.ces.v1beta.OptimizationConfigB\x03\xe0\x41\x01\x12S\n\x18scheduled_evaluation_run\x18\x0c \x01(\tB1\xe0\x41\x01\xfa\x41+\n)ces.googleapis.com/ScheduledEvaluationRun\x12H\n\x11golden_run_method\x18\r \x01(\x0e\x32(.google.cloud.ces.v1beta.GoldenRunMethodB\x03\xe0\x41\x01\x12$\n\x17generate_latency_report\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x42\x0c\n\n_run_count\"\xe9\x08\n\x16ScheduledEvaluationRun\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\x43\n\x07request\x18\x03 \x01(\x0b\x32-.google.cloud.ces.v1beta.RunEvaluationRequestB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12`\n\x11scheduling_config\x18\x05 \x01(\x0b\x32@.google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfigB\x03\xe0\x41\x02\x12\x13\n\x06\x61\x63tive\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\x12last_completed_run\x18\x07 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n ces.googleapis.com/EvaluationRun\x12\x1d\n\x10total_executions\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12\x46\n\x1dnext_scheduled_execution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\ncreated_by\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0flast_updated_by\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x0e \x01(\tB\x03\xe0\x41\x03\x1a\x9d\x02\n\x10SchedulingConfig\x12\x62\n\tfrequency\x18\x01 \x01(\x0e\x32J.google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfig.FrequencyB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x19\n\x0c\x64\x61ys_of_week\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\"U\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0c\n\x08\x42IWEEKLY\x10\x04:\xc7\x01\xea\x41\xc3\x01\n)ces.googleapis.com/ScheduledEvaluationRun\x12\x65projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}*\x17scheduledEvaluationRuns2\x16scheduledEvaluationRun\"A\n\x10PersonaRunConfig\x12\x14\n\x07persona\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ntask_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"\x9b\x03\n\x12OptimizationConfig\x12!\n\x14generate_loss_report\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x61ssistant_session\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ereport_summary\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12should_suggest_fix\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12S\n\x06status\x18\x04 \x01(\x0e\x32>.google.cloud.ces.v1beta.OptimizationConfig.OptimizationStatusB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x31\n\x0bloss_report\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\"`\n\x12OptimizationStatus\x12#\n\x1fOPTIMIZATION_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x42_\n\x1b\x63om.google.cloud.ces.v1betaB\x0f\x45valuationProtoP\x01Z-cloud.google.com/go/ces/apiv1beta/cespb;cespbb\x06proto3"
23
24
 
24
25
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
25
26
  pool.add_serialized_file(descriptor_data)
@@ -3309,6 +3309,301 @@ module Google
3309
3309
  raise ::Google::Cloud::Error.from_error(e)
3310
3310
  end
3311
3311
 
3312
+ ##
3313
+ # Exports evaluations runs.
3314
+ #
3315
+ # @overload export_evaluation_runs(request, options = nil)
3316
+ # Pass arguments to `export_evaluation_runs` via a request object, either of type
3317
+ # {::Google::Cloud::Ces::V1beta::ExportEvaluationRunsRequest} or an equivalent Hash.
3318
+ #
3319
+ # @param request [::Google::Cloud::Ces::V1beta::ExportEvaluationRunsRequest, ::Hash]
3320
+ # A request object representing the call parameters. Required. To specify no
3321
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3322
+ # @param options [::Gapic::CallOptions, ::Hash]
3323
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3324
+ #
3325
+ # @overload export_evaluation_runs(parent: nil, names: nil, export_options: nil)
3326
+ # Pass arguments to `export_evaluation_runs` via keyword arguments. Note that at
3327
+ # least one keyword argument is required. To specify no parameters, or to keep all
3328
+ # the default parameter values, pass an empty Hash as a request object (see above).
3329
+ #
3330
+ # @param parent [::String]
3331
+ # Required. The resource name of the app to export evaluation runs from.
3332
+ # Format: `projects/{project}/locations/{location}/apps/{app}`
3333
+ # @param names [::Array<::String>]
3334
+ # Required. The resource names of the evaluation runs to export.
3335
+ # @param export_options [::Google::Cloud::Ces::V1beta::ExportOptions, ::Hash]
3336
+ # Optional. The export options for the evaluation runs.
3337
+ #
3338
+ # @yield [response, operation] Access the result along with the RPC operation
3339
+ # @yieldparam response [::Gapic::Operation]
3340
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3341
+ #
3342
+ # @return [::Gapic::Operation]
3343
+ #
3344
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3345
+ #
3346
+ # @example Basic example
3347
+ # require "google/cloud/ces/v1beta"
3348
+ #
3349
+ # # Create a client object. The client can be reused for multiple calls.
3350
+ # client = Google::Cloud::Ces::V1beta::EvaluationService::Client.new
3351
+ #
3352
+ # # Create a request. To set request fields, pass in keyword arguments.
3353
+ # request = Google::Cloud::Ces::V1beta::ExportEvaluationRunsRequest.new
3354
+ #
3355
+ # # Call the export_evaluation_runs method.
3356
+ # result = client.export_evaluation_runs request
3357
+ #
3358
+ # # The returned object is of type Gapic::Operation. You can use it to
3359
+ # # check the status of an operation, cancel it, or wait for results.
3360
+ # # Here is how to wait for a response.
3361
+ # result.wait_until_done! timeout: 60
3362
+ # if result.response?
3363
+ # p result.response
3364
+ # else
3365
+ # puts "No response received."
3366
+ # end
3367
+ #
3368
+ def export_evaluation_runs request, options = nil
3369
+ raise ::ArgumentError, "request must be provided" if request.nil?
3370
+
3371
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Ces::V1beta::ExportEvaluationRunsRequest
3372
+
3373
+ # Converts hash and nil to an options object
3374
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3375
+
3376
+ # Customize the options with defaults
3377
+ metadata = @config.rpcs.export_evaluation_runs.metadata.to_h
3378
+
3379
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3380
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3381
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3382
+ gapic_version: ::Google::Cloud::Ces::V1beta::VERSION
3383
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3384
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3385
+
3386
+ header_params = {}
3387
+ if request.parent
3388
+ header_params["parent"] = request.parent
3389
+ end
3390
+
3391
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3392
+ metadata[:"x-goog-request-params"] ||= request_params_header
3393
+
3394
+ options.apply_defaults timeout: @config.rpcs.export_evaluation_runs.timeout,
3395
+ metadata: metadata,
3396
+ retry_policy: @config.rpcs.export_evaluation_runs.retry_policy
3397
+
3398
+ options.apply_defaults timeout: @config.timeout,
3399
+ metadata: @config.metadata,
3400
+ retry_policy: @config.retry_policy
3401
+
3402
+ @evaluation_service_stub.call_rpc :export_evaluation_runs, request, options: options do |response, operation|
3403
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3404
+ yield response, operation if block_given?
3405
+ throw :response, response
3406
+ end
3407
+ rescue ::GRPC::BadStatus => e
3408
+ raise ::Google::Cloud::Error.from_error(e)
3409
+ end
3410
+
3411
+ ##
3412
+ # Exports evaluations results.
3413
+ #
3414
+ # @overload export_evaluation_results(request, options = nil)
3415
+ # Pass arguments to `export_evaluation_results` via a request object, either of type
3416
+ # {::Google::Cloud::Ces::V1beta::ExportEvaluationResultsRequest} or an equivalent Hash.
3417
+ #
3418
+ # @param request [::Google::Cloud::Ces::V1beta::ExportEvaluationResultsRequest, ::Hash]
3419
+ # A request object representing the call parameters. Required. To specify no
3420
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3421
+ # @param options [::Gapic::CallOptions, ::Hash]
3422
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3423
+ #
3424
+ # @overload export_evaluation_results(parent: nil, names: nil, export_options: nil)
3425
+ # Pass arguments to `export_evaluation_results` via keyword arguments. Note that at
3426
+ # least one keyword argument is required. To specify no parameters, or to keep all
3427
+ # the default parameter values, pass an empty Hash as a request object (see above).
3428
+ #
3429
+ # @param parent [::String]
3430
+ # Required. The resource name of the evaluation to export evaluation results
3431
+ # from. Format:
3432
+ # `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
3433
+ # @param names [::Array<::String>]
3434
+ # Required. The resource names of the evaluation results to export.
3435
+ # @param export_options [::Google::Cloud::Ces::V1beta::ExportOptions, ::Hash]
3436
+ # Optional. The export options for the evaluation results.
3437
+ #
3438
+ # @yield [response, operation] Access the result along with the RPC operation
3439
+ # @yieldparam response [::Gapic::Operation]
3440
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3441
+ #
3442
+ # @return [::Gapic::Operation]
3443
+ #
3444
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3445
+ #
3446
+ # @example Basic example
3447
+ # require "google/cloud/ces/v1beta"
3448
+ #
3449
+ # # Create a client object. The client can be reused for multiple calls.
3450
+ # client = Google::Cloud::Ces::V1beta::EvaluationService::Client.new
3451
+ #
3452
+ # # Create a request. To set request fields, pass in keyword arguments.
3453
+ # request = Google::Cloud::Ces::V1beta::ExportEvaluationResultsRequest.new
3454
+ #
3455
+ # # Call the export_evaluation_results method.
3456
+ # result = client.export_evaluation_results request
3457
+ #
3458
+ # # The returned object is of type Gapic::Operation. You can use it to
3459
+ # # check the status of an operation, cancel it, or wait for results.
3460
+ # # Here is how to wait for a response.
3461
+ # result.wait_until_done! timeout: 60
3462
+ # if result.response?
3463
+ # p result.response
3464
+ # else
3465
+ # puts "No response received."
3466
+ # end
3467
+ #
3468
+ def export_evaluation_results request, options = nil
3469
+ raise ::ArgumentError, "request must be provided" if request.nil?
3470
+
3471
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Ces::V1beta::ExportEvaluationResultsRequest
3472
+
3473
+ # Converts hash and nil to an options object
3474
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3475
+
3476
+ # Customize the options with defaults
3477
+ metadata = @config.rpcs.export_evaluation_results.metadata.to_h
3478
+
3479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3480
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3481
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3482
+ gapic_version: ::Google::Cloud::Ces::V1beta::VERSION
3483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3484
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3485
+
3486
+ header_params = {}
3487
+ if request.parent
3488
+ header_params["parent"] = request.parent
3489
+ end
3490
+
3491
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3492
+ metadata[:"x-goog-request-params"] ||= request_params_header
3493
+
3494
+ options.apply_defaults timeout: @config.rpcs.export_evaluation_results.timeout,
3495
+ metadata: metadata,
3496
+ retry_policy: @config.rpcs.export_evaluation_results.retry_policy
3497
+
3498
+ options.apply_defaults timeout: @config.timeout,
3499
+ metadata: @config.metadata,
3500
+ retry_policy: @config.retry_policy
3501
+
3502
+ @evaluation_service_stub.call_rpc :export_evaluation_results, request, options: options do |response, operation|
3503
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3504
+ yield response, operation if block_given?
3505
+ throw :response, response
3506
+ end
3507
+ rescue ::GRPC::BadStatus => e
3508
+ raise ::Google::Cloud::Error.from_error(e)
3509
+ end
3510
+
3511
+ ##
3512
+ # Runs metrics on an existing evaluation result.
3513
+ #
3514
+ # @overload run_evaluation_result_metrics(request, options = nil)
3515
+ # Pass arguments to `run_evaluation_result_metrics` via a request object, either of type
3516
+ # {::Google::Cloud::Ces::V1beta::RunEvaluationResultMetricsRequest} or an equivalent Hash.
3517
+ #
3518
+ # @param request [::Google::Cloud::Ces::V1beta::RunEvaluationResultMetricsRequest, ::Hash]
3519
+ # A request object representing the call parameters. Required. To specify no
3520
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3521
+ # @param options [::Gapic::CallOptions, ::Hash]
3522
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3523
+ #
3524
+ # @overload run_evaluation_result_metrics(evaluation_result_id: nil)
3525
+ # Pass arguments to `run_evaluation_result_metrics` via keyword arguments. Note that at
3526
+ # least one keyword argument is required. To specify no parameters, or to keep all
3527
+ # the default parameter values, pass an empty Hash as a request object (see above).
3528
+ #
3529
+ # @param evaluation_result_id [::String]
3530
+ # Required. The evaluation result to run metrics for.
3531
+ # Format:
3532
+ # `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{evaluation_result_id}`
3533
+ #
3534
+ # @yield [response, operation] Access the result along with the RPC operation
3535
+ # @yieldparam response [::Gapic::Operation]
3536
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3537
+ #
3538
+ # @return [::Gapic::Operation]
3539
+ #
3540
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3541
+ #
3542
+ # @example Basic example
3543
+ # require "google/cloud/ces/v1beta"
3544
+ #
3545
+ # # Create a client object. The client can be reused for multiple calls.
3546
+ # client = Google::Cloud::Ces::V1beta::EvaluationService::Client.new
3547
+ #
3548
+ # # Create a request. To set request fields, pass in keyword arguments.
3549
+ # request = Google::Cloud::Ces::V1beta::RunEvaluationResultMetricsRequest.new
3550
+ #
3551
+ # # Call the run_evaluation_result_metrics method.
3552
+ # result = client.run_evaluation_result_metrics request
3553
+ #
3554
+ # # The returned object is of type Gapic::Operation. You can use it to
3555
+ # # check the status of an operation, cancel it, or wait for results.
3556
+ # # Here is how to wait for a response.
3557
+ # result.wait_until_done! timeout: 60
3558
+ # if result.response?
3559
+ # p result.response
3560
+ # else
3561
+ # puts "No response received."
3562
+ # end
3563
+ #
3564
+ def run_evaluation_result_metrics request, options = nil
3565
+ raise ::ArgumentError, "request must be provided" if request.nil?
3566
+
3567
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Ces::V1beta::RunEvaluationResultMetricsRequest
3568
+
3569
+ # Converts hash and nil to an options object
3570
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3571
+
3572
+ # Customize the options with defaults
3573
+ metadata = @config.rpcs.run_evaluation_result_metrics.metadata.to_h
3574
+
3575
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3576
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3577
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3578
+ gapic_version: ::Google::Cloud::Ces::V1beta::VERSION
3579
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3580
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3581
+
3582
+ header_params = {}
3583
+ if request.evaluation_result_id
3584
+ header_params["evaluation_result_id"] = request.evaluation_result_id
3585
+ end
3586
+
3587
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3588
+ metadata[:"x-goog-request-params"] ||= request_params_header
3589
+
3590
+ options.apply_defaults timeout: @config.rpcs.run_evaluation_result_metrics.timeout,
3591
+ metadata: metadata,
3592
+ retry_policy: @config.rpcs.run_evaluation_result_metrics.retry_policy
3593
+
3594
+ options.apply_defaults timeout: @config.timeout,
3595
+ metadata: @config.metadata,
3596
+ retry_policy: @config.retry_policy
3597
+
3598
+ @evaluation_service_stub.call_rpc :run_evaluation_result_metrics, request, options: options do |response, operation|
3599
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3600
+ yield response, operation if block_given?
3601
+ throw :response, response
3602
+ end
3603
+ rescue ::GRPC::BadStatus => e
3604
+ raise ::Google::Cloud::Error.from_error(e)
3605
+ end
3606
+
3312
3607
  ##
3313
3608
  # Configuration class for the EvaluationService API.
3314
3609
  #
@@ -3405,6 +3700,7 @@ module Google
3405
3700
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
3406
3701
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
3407
3702
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
3703
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
3408
3704
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
3409
3705
  # trigger a retry.
3410
3706
  # @return [::Hash]
@@ -3488,6 +3784,7 @@ module Google
3488
3784
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
3489
3785
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
3490
3786
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
3787
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
3491
3788
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
3492
3789
  # trigger a retry.
3493
3790
  #
@@ -3652,6 +3949,21 @@ module Google
3652
3949
  # @return [::Gapic::Config::Method]
3653
3950
  #
3654
3951
  attr_reader :export_evaluations
3952
+ ##
3953
+ # RPC-specific configuration for `export_evaluation_runs`
3954
+ # @return [::Gapic::Config::Method]
3955
+ #
3956
+ attr_reader :export_evaluation_runs
3957
+ ##
3958
+ # RPC-specific configuration for `export_evaluation_results`
3959
+ # @return [::Gapic::Config::Method]
3960
+ #
3961
+ attr_reader :export_evaluation_results
3962
+ ##
3963
+ # RPC-specific configuration for `run_evaluation_result_metrics`
3964
+ # @return [::Gapic::Config::Method]
3965
+ #
3966
+ attr_reader :run_evaluation_result_metrics
3655
3967
 
3656
3968
  # @private
3657
3969
  def initialize parent_rpcs = nil
@@ -3719,6 +4031,12 @@ module Google
3719
4031
  @test_persona_voice = ::Gapic::Config::Method.new test_persona_voice_config
3720
4032
  export_evaluations_config = parent_rpcs.export_evaluations if parent_rpcs.respond_to? :export_evaluations
3721
4033
  @export_evaluations = ::Gapic::Config::Method.new export_evaluations_config
4034
+ export_evaluation_runs_config = parent_rpcs.export_evaluation_runs if parent_rpcs.respond_to? :export_evaluation_runs
4035
+ @export_evaluation_runs = ::Gapic::Config::Method.new export_evaluation_runs_config
4036
+ export_evaluation_results_config = parent_rpcs.export_evaluation_results if parent_rpcs.respond_to? :export_evaluation_results
4037
+ @export_evaluation_results = ::Gapic::Config::Method.new export_evaluation_results_config
4038
+ run_evaluation_result_metrics_config = parent_rpcs.run_evaluation_result_metrics if parent_rpcs.respond_to? :run_evaluation_result_metrics
4039
+ @run_evaluation_result_metrics = ::Gapic::Config::Method.new run_evaluation_result_metrics_config
3722
4040
 
3723
4041
  yield self if block_given?
3724
4042
  end
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #