google-cloud-ces-v1beta 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/lib/google/cloud/ces/v1beta/agent_card_pb.rb +3 -1
- data/lib/google/cloud/ces/v1beta/agent_pb.rb +3 -1
- data/lib/google/cloud/ces/v1beta/agent_service/client.rb +105 -1
- data/lib/google/cloud/ces/v1beta/agent_service/paths.rb +54 -11
- data/lib/google/cloud/ces/v1beta/agent_service/rest/client.rb +98 -1
- data/lib/google/cloud/ces/v1beta/agent_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/ces/v1beta/agent_service_pb.rb +3 -1
- data/lib/google/cloud/ces/v1beta/agent_service_services_pb.rb +2 -0
- data/lib/google/cloud/ces/v1beta/app_pb.rb +6 -1
- data/lib/google/cloud/ces/v1beta/app_version_pb.rb +1 -1
- data/lib/google/cloud/ces/v1beta/assistant_service/client.rb +1023 -0
- data/lib/google/cloud/ces/v1beta/assistant_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/assistant_service/paths.rb +73 -0
- data/lib/google/cloud/ces/v1beta/assistant_service/rest/client.rb +946 -0
- data/lib/google/cloud/ces/v1beta/assistant_service/rest/service_stub.rb +450 -0
- data/lib/google/cloud/ces/v1beta/assistant_service/rest.rb +55 -0
- data/lib/google/cloud/ces/v1beta/assistant_service.rb +57 -0
- data/lib/google/cloud/ces/v1beta/assistant_service_pb.rb +49 -0
- data/lib/google/cloud/ces/v1beta/assistant_service_services_pb.rb +57 -0
- data/lib/google/cloud/ces/v1beta/common_pb.rb +4 -1
- data/lib/google/cloud/ces/v1beta/conversation_pb.rb +1 -1
- data/lib/google/cloud/ces/v1beta/data_store_tool_pb.rb +2 -1
- data/lib/google/cloud/ces/v1beta/deployment_pb.rb +3 -1
- data/lib/google/cloud/ces/v1beta/evaluation_pb.rb +2 -1
- data/lib/google/cloud/ces/v1beta/evaluation_service/client.rb +2 -2
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/client.rb +2 -2
- data/lib/google/cloud/ces/v1beta/example_pb.rb +1 -1
- data/lib/google/cloud/ces/v1beta/guardrail_pb.rb +4 -1
- data/lib/google/cloud/ces/v1beta/rest.rb +1 -0
- data/lib/google/cloud/ces/v1beta/session_service/client.rb +333 -0
- data/lib/google/cloud/ces/v1beta/session_service/paths.rb +40 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest/client.rb +314 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest/service_stub.rb +180 -0
- data/lib/google/cloud/ces/v1beta/session_service_pb.rb +33 -1
- data/lib/google/cloud/ces/v1beta/session_service_services_pb.rb +14 -0
- data/lib/google/cloud/ces/v1beta/tool_pb.rb +1 -1
- data/lib/google/cloud/ces/v1beta/version.rb +1 -1
- data/lib/google/cloud/ces/v1beta.rb +1 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/ces/v1beta/agent.rb +18 -2
- data/proto_docs/google/cloud/ces/v1beta/agent_card.rb +91 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_service.rb +40 -0
- data/proto_docs/google/cloud/ces/v1beta/app.rb +113 -4
- data/proto_docs/google/cloud/ces/v1beta/app_version.rb +3 -0
- data/proto_docs/google/cloud/ces/v1beta/assistant_service.rb +452 -0
- data/proto_docs/google/cloud/ces/v1beta/common.rb +44 -0
- data/proto_docs/google/cloud/ces/v1beta/conversation.rb +4 -0
- data/proto_docs/google/cloud/ces/v1beta/data_store_tool.rb +16 -0
- data/proto_docs/google/cloud/ces/v1beta/deployment.rb +43 -2
- data/proto_docs/google/cloud/ces/v1beta/evaluation.rb +21 -5
- data/proto_docs/google/cloud/ces/v1beta/example.rb +23 -0
- data/proto_docs/google/cloud/ces/v1beta/guardrail.rb +88 -6
- data/proto_docs/google/cloud/ces/v1beta/session_service.rb +749 -11
- data/proto_docs/google/cloud/ces/v1beta/tool.rb +4 -0
- metadata +12 -1
|
@@ -7,6 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/annotations_pb'
|
|
8
8
|
require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/field_info_pb'
|
|
10
11
|
require 'google/api/resource_pb'
|
|
11
12
|
require 'google/api/routing_pb'
|
|
12
13
|
require 'google/cloud/ces/v1beta/common_pb'
|
|
@@ -15,9 +16,11 @@ require 'google/cloud/ces/v1beta/mocks_pb'
|
|
|
15
16
|
require 'google/cloud/ces/v1beta/search_suggestions_pb'
|
|
16
17
|
require 'google/protobuf/any_pb'
|
|
17
18
|
require 'google/protobuf/struct_pb'
|
|
19
|
+
require 'google/protobuf/timestamp_pb'
|
|
20
|
+
require 'google/rpc/status_pb'
|
|
18
21
|
|
|
19
22
|
|
|
20
|
-
descriptor_data = "\n-google/cloud/ces/v1beta/session_service.proto\x12\x17google.cloud.ces.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a$google/cloud/ces/v1beta/common.proto\x1a%google/cloud/ces/v1beta/example.proto\x1a#google/cloud/ces/v1beta/mocks.proto\x1a\x30google/cloud/ces/v1beta/search_suggestions.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa8\x02\n\nMockConfig\x12H\n\x11mocked_tool_calls\x18\x01 \x03(\x0b\x32\'.google.cloud.ces.v1beta.MockedToolCallB\x04\xe2\x41\x01\x01\x12i\n\x1cunmatched_tool_call_behavior\x18\x02 \x01(\x0e\x32=.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehaviorB\x04\xe2\x41\x01\x02\"e\n\x19UnmatchedToolCallBehavior\x12,\n(UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\x10\n\x0cPASS_THROUGH\x10\x02\"\xa0\x01\n\x10InputAudioConfig\x12\x44\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32&.google.cloud.ces.v1beta.AudioEncodingB\x04\xe2\x41\x01\x02\x12\x1f\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12%\n\x17noise_suppression_level\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\"z\n\x11OutputAudioConfig\x12\x44\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32&.google.cloud.ces.v1beta.AudioEncodingB\x04\xe2\x41\x01\x02\x12\x1f\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x02\"\x8e\x07\n\rSessionConfig\x12\x34\n\x07session\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Session\x12K\n\x12input_audio_config\x18\x02 \x01(\x0b\x32).google.cloud.ces.v1beta.InputAudioConfigB\x04\xe2\x41\x01\x01\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32*.google.cloud.ces.v1beta.OutputAudioConfigB\x04\xe2\x41\x01\x01\x12\x43\n\x13historical_contexts\x18\x05 \x03(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x04\xe2\x41\x01\x01\x12\x36\n\x0b\x65ntry_agent\x18\x0c \x01(\tB!\xe2\x41\x01\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x18\n\ndeployment\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\ttime_zone\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0euse_tool_fakes\x18\x0e \x01(\x08\x42\x04\xe2\x41\x01\x01\x12x\n\"remote_dialogflow_query_parameters\x18\x0f \x01(\x0b\x32\x46.google.cloud.ces.v1beta.SessionConfig.RemoteDialogflowQueryParametersB\x04\xe2\x41\x01\x01\x12#\n\x15\x65nable_text_streaming\x18\x12 \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a\xbd\x02\n\x1fRemoteDialogflowQueryParameters\x12y\n\x0fwebhook_headers\x18\x01 \x03(\x0b\x32Z.google.cloud.ces.v1beta.SessionConfig.RemoteDialogflowQueryParameters.WebhookHeadersEntryB\x04\xe2\x41\x01\x01\x12.\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x38\n\x11\x65nd_user_metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\tToolCalls\x12;\n\ntool_calls\x18\x01 \x03(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x04\xe2\x41\x01\x01\"T\n\rToolResponses\x12\x43\n\x0etool_responses\x18\x01 \x03(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x04\xe2\x41\x01\x01\"\xa6\x01\n\tCitations\x12\x43\n\x0c\x63ited_chunks\x18\x01 \x03(\x0b\x32-.google.cloud.ces.v1beta.Citations.CitedChunk\x1aT\n\nCitedChunk\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x1c\n\x14requires_attribution\x18\x04 \x01(\x08\"\x1c\n\x05\x45vent\x12\x13\n\x05\x65vent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\x9b\x03\n\x0cSessionInput\x12\x14\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x14\n\x04\x64tmf\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x15\n\x05\x61udio\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x01H\x00\x12\x46\n\x0etool_responses\x18\x03 \x01(\x0b\x32&.google.cloud.ces.v1beta.ToolResponsesB\x04\xe2\x41\x01\x01H\x00\x12\x35\n\x05image\x18\x04 \x01(\x0b\x32\x1e.google.cloud.ces.v1beta.ImageB\x04\xe2\x41\x01\x01H\x00\x12\x33\n\x04\x62lob\x18\x07 \x01(\x0b\x32\x1d.google.cloud.ces.v1beta.BlobB\x04\xe2\x41\x01\x01H\x00\x12\x32\n\tvariables\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01H\x00\x12\x35\n\x05\x65vent\x18\t \x01(\x0b\x32\x1e.google.cloud.ces.v1beta.EventB\x04\xe2\x41\x01\x01H\x00\x12\x1b\n\rwill_continue\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42\x0c\n\ninput_type\"\x92\x05\n\rSessionOutput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0f\n\x05\x61udio\x18\x02 \x01(\x0cH\x00\x12\x38\n\ntool_calls\x18\x03 \x01(\x0b\x32\".google.cloud.ces.v1beta.ToolCallsH\x00\x12\x37\n\tcitations\x18\x08 \x01(\x0b\x32\".google.cloud.ces.v1beta.CitationsH\x00\x12U\n\x19google_search_suggestions\x18\n \x01(\x0b\x32\x30.google.cloud.ces.v1beta.GoogleSearchSuggestionsH\x00\x12:\n\x0b\x65nd_session\x18\t \x01(\x0b\x32#.google.cloud.ces.v1beta.EndSessionH\x00\x12*\n\x07payload\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x12\n\nturn_index\x18\x06 \x01(\x05\x12\x16\n\x0eturn_completed\x18\x04 \x01(\x08\x12T\n\x0f\x64iagnostic_info\x18\x07 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.SessionOutput.DiagnosticInfoB\x04\xe2\x41\x01\x01\x12%\n\x07\x63ontext\x18\x0c \x03(\x0b\x32\x14.google.protobuf.Any\x1av\n\x0e\x44iagnosticInfo\x12\x32\n\x08messages\x18\x01 \x03(\x0b\x32 .google.cloud.ces.v1beta.Message\x12\x30\n\troot_span\x18\x03 \x01(\x0b\x32\x1d.google.cloud.ces.v1beta.SpanB\r\n\x0boutput_type\"-\n\x11RecognitionResult\x12\x18\n\ntranscript\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\"&\n\x12InterruptionSignal\x12\x10\n\x08\x62\x61rge_in\x18\x01 \x01(\x08\"=\n\nEndSession\x12/\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\x08\n\x06GoAway\"\x8e\x01\n\x11RunSessionRequest\x12<\n\x06\x63onfig\x18\x01 \x01(\x0b\x32&.google.cloud.ces.v1beta.SessionConfigB\x04\xe2\x41\x01\x02\x12;\n\x06inputs\x18\x03 \x03(\x0b\x32%.google.cloud.ces.v1beta.SessionInputB\x04\xe2\x41\x01\x02\"M\n\x12RunSessionResponse\x12\x37\n\x07outputs\x18\x01 \x03(\x0b\x32&.google.cloud.ces.v1beta.SessionOutput\"\xb1\x01\n\x18\x42idiSessionClientMessage\x12>\n\x06\x63onfig\x18\x01 \x01(\x0b\x32&.google.cloud.ces.v1beta.SessionConfigB\x04\xe2\x41\x01\x01H\x00\x12\x45\n\x0erealtime_input\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1beta.SessionInputB\x04\xe2\x41\x01\x01H\x00\x42\x0e\n\x0cmessage_type\"\x90\x03\n\x18\x42idiSessionServerMessage\x12\x46\n\x0esession_output\x18\x01 \x01(\x0b\x32&.google.cloud.ces.v1beta.SessionOutputB\x04\xe2\x41\x01\x01H\x00\x12N\n\x12recognition_result\x18\x02 \x01(\x0b\x32*.google.cloud.ces.v1beta.RecognitionResultB\x04\xe2\x41\x01\x01H\x00\x12P\n\x13interruption_signal\x18\x03 \x01(\x0b\x32+.google.cloud.ces.v1beta.InterruptionSignalB\x04\xe2\x41\x01\x01H\x00\x12@\n\x0b\x65nd_session\x18\x05 \x01(\x0b\x32#.google.cloud.ces.v1beta.EndSessionB\x04\xe2\x41\x01\x01H\x00\x12\x38\n\x07go_away\x18\x06 \x01(\x0b\x32\x1f.google.cloud.ces.v1beta.GoAwayB\x04\xe2\x41\x01\x01H\x00\x42\x0e\n\x0cmessage_type*R\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\t\n\x05MULAW\x10\x02\x12\x08\n\x04\x41LAW\x10\x03\x32\xd7\x05\n\x0eSessionService\x12\xbe\x01\n\nRunSession\x12*.google.cloud.ces.v1beta.RunSessionRequest\x1a+.google.cloud.ces.v1beta.RunSessionResponse\"W\x82\xd3\xe4\x93\x02Q\"L/v1beta/{config.session=projects/*/locations/*/apps/*/sessions/*}:runSession:\x01*\x12\xcc\x01\n\x10StreamRunSession\x12*.google.cloud.ces.v1beta.RunSessionRequest\x1a+.google.cloud.ces.v1beta.RunSessionResponse\"]\x82\xd3\xe4\x93\x02W\"R/v1beta/{config.session=projects/*/locations/*/apps/*/sessions/*}:streamRunSession:\x01*0\x01\x12\xc8\x01\n\x0e\x42idiRunSession\x12\x31.google.cloud.ces.v1beta.BidiSessionClientMessage\x1a\x31.google.cloud.ces.v1beta.BidiSessionServerMessage\"L\x8a\xd3\xe4\x93\x02\x46\x12\x44\n\x0e\x63onfig.session\x12\x32{session=projects/*/locations/*/apps/*/sessions/*}(\x01\x30\x01\x1aj\xca\x41\x12\x63\x65s.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1b\x63om.google.cloud.ces.v1betaB\x13SessionServiceProtoP\x01Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\xea\x41\x63\n\x1a\x63\x65s.googleapis.com/Session\x12\x45projects/{project}/locations/{location}/apps/{app}/sessions/{session}b\x06proto3"
|
|
23
|
+
descriptor_data = "\n-google/cloud/ces/v1beta/session_service.proto\x12\x17google.cloud.ces.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a$google/cloud/ces/v1beta/common.proto\x1a%google/cloud/ces/v1beta/example.proto\x1a#google/cloud/ces/v1beta/mocks.proto\x1a\x30google/cloud/ces/v1beta/search_suggestions.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa8\x02\n\nMockConfig\x12H\n\x11mocked_tool_calls\x18\x01 \x03(\x0b\x32\'.google.cloud.ces.v1beta.MockedToolCallB\x04\xe2\x41\x01\x01\x12i\n\x1cunmatched_tool_call_behavior\x18\x02 \x01(\x0e\x32=.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehaviorB\x04\xe2\x41\x01\x02\"e\n\x19UnmatchedToolCallBehavior\x12,\n(UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\x10\n\x0cPASS_THROUGH\x10\x02\"\xa0\x01\n\x10InputAudioConfig\x12\x44\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32&.google.cloud.ces.v1beta.AudioEncodingB\x04\xe2\x41\x01\x02\x12\x1f\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12%\n\x17noise_suppression_level\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\"z\n\x11OutputAudioConfig\x12\x44\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32&.google.cloud.ces.v1beta.AudioEncodingB\x04\xe2\x41\x01\x02\x12\x1f\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x02\"\x87\x08\n\rSessionConfig\x12\x34\n\x07session\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Session\x12K\n\x12input_audio_config\x18\x02 \x01(\x0b\x32).google.cloud.ces.v1beta.InputAudioConfigB\x04\xe2\x41\x01\x01\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32*.google.cloud.ces.v1beta.OutputAudioConfigB\x04\xe2\x41\x01\x01\x12\x43\n\x13historical_contexts\x18\x05 \x03(\x0b\x32 .google.cloud.ces.v1beta.MessageB\x04\xe2\x41\x01\x01\x12\x36\n\x0b\x65ntry_agent\x18\x0c \x01(\tB!\xe2\x41\x01\x01\xfa\x41\x1a\n\x18\x63\x65s.googleapis.com/Agent\x12\x18\n\ndeployment\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\ttime_zone\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0euse_tool_fakes\x18\x0e \x01(\x08\x42\x04\xe2\x41\x01\x01\x12x\n\"remote_dialogflow_query_parameters\x18\x0f \x01(\x0b\x32\x46.google.cloud.ces.v1beta.SessionConfig.RemoteDialogflowQueryParametersB\x04\xe2\x41\x01\x01\x12#\n\x15\x65nable_text_streaming\x18\x12 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12)\n\x1binclude_llm_thought_summary\x18\x15 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12%\n\x17\x65xclude_diagnostic_info\x18\x18 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12%\n\x17include_progress_update\x18\x1c \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a\xbd\x02\n\x1fRemoteDialogflowQueryParameters\x12y\n\x0fwebhook_headers\x18\x01 \x03(\x0b\x32Z.google.cloud.ces.v1beta.SessionConfig.RemoteDialogflowQueryParameters.WebhookHeadersEntryB\x04\xe2\x41\x01\x01\x12.\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x38\n\x11\x65nd_user_metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\tToolCalls\x12;\n\ntool_calls\x18\x01 \x03(\x0b\x32!.google.cloud.ces.v1beta.ToolCallB\x04\xe2\x41\x01\x01\"T\n\rToolResponses\x12\x43\n\x0etool_responses\x18\x01 \x03(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseB\x04\xe2\x41\x01\x01\"\xd0\x02\n\tCitations\x12\x43\n\x0c\x63ited_chunks\x18\x01 \x03(\x0b\x32-.google.cloud.ces.v1beta.Citations.CitedChunk\x12Q\n\x10inline_citations\x18\x02 \x03(\x0b\x32\x31.google.cloud.ces.v1beta.Citations.InlineCitationB\x04\xe2\x41\x01\x01\x1aT\n\nCitedChunk\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x1c\n\x14requires_attribution\x18\x04 \x01(\x08\x1aU\n\x0eInlineCitation\x12\x13\n\x0bstart_index\x18\x01 \x01(\x05\x12\x11\n\tend_index\x18\x02 \x01(\x05\x12\x1b\n\x13\x63ited_chunk_indices\x18\x03 \x03(\x05\"N\n\x05\x45vent\x12\x13\n\x05\x65vent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x30\n\tvariables\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\xda\x04\n\x0cSessionInput\x12\x14\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x14\n\x04\x64tmf\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x15\n\x05\x61udio\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x01H\x00\x12\x46\n\x0etool_responses\x18\x03 \x01(\x0b\x32&.google.cloud.ces.v1beta.ToolResponsesB\x04\xe2\x41\x01\x01H\x00\x12\x35\n\x05image\x18\x04 \x01(\x0b\x32\x1e.google.cloud.ces.v1beta.ImageB\x04\xe2\x41\x01\x01H\x00\x12\x33\n\x04\x62lob\x18\x07 \x01(\x0b\x32\x1d.google.cloud.ces.v1beta.BlobB\x04\xe2\x41\x01\x01H\x00\x12\x32\n\tvariables\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01H\x00\x12\x35\n\x05\x65vent\x18\t \x01(\x0b\x32\x1e.google.cloud.ces.v1beta.EventB\x04\xe2\x41\x01\x01H\x00\x12\x1b\n\rwill_continue\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12W\n\x11recording_control\x18\n \x01(\x0e\x32\x36.google.cloud.ces.v1beta.SessionInput.RecordingControlB\x04\xe2\x41\x01\x01\"d\n\x10RecordingControl\x12!\n\x1dRECORDING_CONTROL_UNSPECIFIED\x10\x00\x12\x15\n\x11RECORDING_ENABLED\x10\x01\x12\x16\n\x12RECORDING_DISABLED\x10\x02\x42\x0c\n\ninput_type\"\xd7\x05\n\rSessionOutput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0f\n\x05\x61udio\x18\x02 \x01(\x0cH\x00\x12\x38\n\ntool_calls\x18\x03 \x01(\x0b\x32\".google.cloud.ces.v1beta.ToolCallsH\x00\x12\x37\n\tcitations\x18\x08 \x01(\x0b\x32\".google.cloud.ces.v1beta.CitationsH\x00\x12U\n\x19google_search_suggestions\x18\n \x01(\x0b\x32\x30.google.cloud.ces.v1beta.GoogleSearchSuggestionsH\x00\x12:\n\x0b\x65nd_session\x18\t \x01(\x0b\x32#.google.cloud.ces.v1beta.EndSessionH\x00\x12*\n\x07payload\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12/\n\x05image\x18\r \x01(\x0b\x32\x1e.google.cloud.ces.v1beta.ImageH\x00\x12\x12\n\x08progress\x18\x0e \x01(\tH\x00\x12\x12\n\nturn_index\x18\x06 \x01(\x05\x12\x16\n\x0eturn_completed\x18\x04 \x01(\x08\x12T\n\x0f\x64iagnostic_info\x18\x07 \x01(\x0b\x32\x35.google.cloud.ces.v1beta.SessionOutput.DiagnosticInfoB\x04\xe2\x41\x01\x01\x12%\n\x07\x63ontext\x18\x0c \x03(\x0b\x32\x14.google.protobuf.Any\x1av\n\x0e\x44iagnosticInfo\x12\x32\n\x08messages\x18\x01 \x03(\x0b\x32 .google.cloud.ces.v1beta.Message\x12\x30\n\troot_span\x18\x03 \x01(\x0b\x32\x1d.google.cloud.ces.v1beta.SpanB\r\n\x0boutput_type\"-\n\x11RecognitionResult\x12\x18\n\ntranscript\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\"&\n\x12InterruptionSignal\x12\x10\n\x08\x62\x61rge_in\x18\x01 \x01(\x08\"=\n\nEndSession\x12/\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\x08\n\x06GoAway\"\x8e\x01\n\x11RunSessionRequest\x12<\n\x06\x63onfig\x18\x01 \x01(\x0b\x32&.google.cloud.ces.v1beta.SessionConfigB\x04\xe2\x41\x01\x02\x12;\n\x06inputs\x18\x03 \x03(\x0b\x32%.google.cloud.ces.v1beta.SessionInputB\x04\xe2\x41\x01\x02\"M\n\x12RunSessionResponse\x12\x37\n\x07outputs\x18\x01 \x03(\x0b\x32&.google.cloud.ces.v1beta.SessionOutput\"\xb1\x01\n\x18\x42idiSessionClientMessage\x12>\n\x06\x63onfig\x18\x01 \x01(\x0b\x32&.google.cloud.ces.v1beta.SessionConfigB\x04\xe2\x41\x01\x01H\x00\x12\x45\n\x0erealtime_input\x18\x02 \x01(\x0b\x32%.google.cloud.ces.v1beta.SessionInputB\x04\xe2\x41\x01\x01H\x00\x42\x0e\n\x0cmessage_type\"\x90\x03\n\x18\x42idiSessionServerMessage\x12\x46\n\x0esession_output\x18\x01 \x01(\x0b\x32&.google.cloud.ces.v1beta.SessionOutputB\x04\xe2\x41\x01\x01H\x00\x12N\n\x12recognition_result\x18\x02 \x01(\x0b\x32*.google.cloud.ces.v1beta.RecognitionResultB\x04\xe2\x41\x01\x01H\x00\x12P\n\x13interruption_signal\x18\x03 \x01(\x0b\x32+.google.cloud.ces.v1beta.InterruptionSignalB\x04\xe2\x41\x01\x01H\x00\x12@\n\x0b\x65nd_session\x18\x05 \x01(\x0b\x32#.google.cloud.ces.v1beta.EndSessionB\x04\xe2\x41\x01\x01H\x00\x12\x38\n\x07go_away\x18\x06 \x01(\x0b\x32\x1f.google.cloud.ces.v1beta.GoAwayB\x04\xe2\x41\x01\x01H\x00\x42\x0e\n\x0cmessage_type\"\xff\x04\n\x1cStreamChatAiAssistantRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#ces.googleapis.com/AssistantSession\x12\x15\n\x07message\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x61ttached_gcs_uris\x18\x05 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rcontext_token\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12[\n\x15\x63onfirmation_response\x18\x07 \x01(\x0b\x32\x36.google.cloud.ces.v1beta.AssistantConfirmationResponseB\x04\xe2\x41\x01\x01\x12i\n\x13\x63lient_capabilities\x18\x08 \x03(\x0e\x32\x46.google.cloud.ces.v1beta.StreamChatAiAssistantRequest.ClientCapabilityB\x04\xe2\x41\x01\x01\x12Y\n\x19operation_completed_event\x18\t \x01(\x0b\x32\x30.google.cloud.ces.v1beta.OperationCompletedEventB\x04\xe2\x41\x01\x01\x12)\n\x1bresume_from_sequence_number\x18\x0b \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x61ttach_only\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x01\"e\n\x10\x43lientCapability\x12!\n\x1d\x43LIENT_CAPABILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONFIRMATION_CARDS\x10\x01\x12\x16\n\x12\x43LIENT_MANAGED_LRO\x10\x02\"\xc5\x04\n\x13\x41ssistantSuggestion\x12\x15\n\x0bseed_prompt\x18\x05 \x01(\tH\x00\x12P\n\x0cload_session\x18\x06 \x01(\x0b\x32\x38.google.cloud.ces.v1beta.AssistantSuggestion.LoadSessionH\x00\x12\x16\n\x0csend_message\x18\x07 \x01(\tH\x00\x12\x15\n\rsuggestion_id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\trationale\x18\x03 \x01(\t\x12?\n\x04icon\x18\x04 \x01(\x0e\x32\x31.google.cloud.ces.v1beta.AssistantSuggestion.Icon\x12\x43\n\x06source\x18\x08 \x01(\x0e\x32\x33.google.cloud.ces.v1beta.AssistantSuggestion.Source\x12\x16\n\x0e\x63\x61ndidate_type\x18\t \x01(\t\x1a+\n\x0bLoadSession\x12\x1c\n\x14\x61ssistant_session_id\x18\x01 \x01(\t\"c\n\x04Icon\x12\x14\n\x10ICON_UNSPECIFIED\x10\x00\x12\n\n\x06RESUME\x10\x01\x12\t\n\x05\x42UILD\x10\x02\x12\x0c\n\x08\x45VALUATE\x10\x03\x12\n\n\x06\x44\x45PLOY\x10\x04\x12\x0b\n\x07\x45XPLORE\x10\x05\x12\x07\n\x03\x46IX\x10\x06\":\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x08\n\x04RULE\x10\x01\x12\x0e\n\nLLM_RANKED\x10\x02\x42\x08\n\x06\x61\x63tion\"t\n$GenerateOnboardingSuggestionsRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/App\x12\x1d\n\x0fmax_suggestions\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\"\xb7\x02\n%GenerateOnboardingSuggestionsResponse\x12`\n\x0cuser_profile\x18\x01 \x01(\x0e\x32J.google.cloud.ces.v1beta.GenerateOnboardingSuggestionsResponse.UserProfile\x12\x41\n\x0bsuggestions\x18\x02 \x03(\x0b\x32,.google.cloud.ces.v1beta.AssistantSuggestion\x12\x15\n\rcontext_token\x18\x03 \x01(\t\"R\n\x0bUserProfile\x12\x1c\n\x18USER_PROFILE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\r\n\tEXPLORING\x10\x02\x12\r\n\tRETURNING\x10\x03\"\x91\x02\n\rArtifactChunk\x12\x13\n\x0b\x61rtifact_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\tmime_type\x18\x03 \x01(\t\x12\x15\n\rcontent_delta\x18\x04 \x01(\t\x12\x0f\n\x07gcs_uri\x18\x05 \x01(\t\x12;\n\x05state\x18\x06 \x01(\x0e\x32,.google.cloud.ces.v1beta.ArtifactChunk.State\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x44\x45LTA\x10\x02\x12\r\n\tFINALIZED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\n\n\x06\x43LOSED\x10\x05\"\x85\x02\n\x14OptionQuestionsChunk\x12I\n\tquestions\x18\x01 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.OptionQuestionsChunk.Question\x1a=\n\x06Option\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\t\x12\x13\n\x0bsubmit_text\x18\x03 \x01(\t\x1a\x63\n\x08Question\x12\x10\n\x08question\x18\x01 \x01(\t\x12\x45\n\x07options\x18\x02 \x03(\x0b\x32\x34.google.cloud.ces.v1beta.OptionQuestionsChunk.Option\"\x96\x02\n\x1c\x41ssistantConfirmationRequest\x12\x17\n\x0f\x63onfirmation_id\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontext\x18\x02 \x01(\t\x12\x16\n\x0epositive_label\x18\x03 \x01(\t\x12\x16\n\x0enegative_label\x18\x04 \x01(\t\x12I\n\tquestions\x18\x05 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.OptionQuestionsChunk.Question\x12\x0c\n\x04tool\x18\x06 \x01(\t\x12\x12\n\nagent_name\x18\x07 \x01(\t\x12/\n\x0b\x65xpire_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"p\n\x1d\x41ssistantConfirmationResponse\x12\x13\n\tconfirmed\x18\x02 \x01(\x08H\x00\x12\x15\n\x0b\x61nswer_text\x18\x03 \x01(\tH\x00\x12\x17\n\x0f\x63onfirmation_id\x18\x01 \x01(\tB\n\n\x08response\"\xe2\x01\n\x17OperationCompletedEvent\x12\x16\n\x0eoperation_name\x18\x01 \x01(\t\x12\x1c\n\x14target_resource_name\x18\x02 \x01(\t\x12\x16\n\x0eoperation_type\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\x1b\n\x13\x64\x65\x64uplication_token\x18\x05 \x01(\t\x12!\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x12.google.rpc.Status\x12)\n\x08metadata\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa5\x02\n\x0cTurnMetadata\x12\x18\n\x10\x63ontract_related\x18\x01 \x01(\x08\x12\x1a\n\x12\x63ontract_finalized\x18\x03 \x01(\x08\x12^\n\x18\x63ontract_streaming_phase\x18\x04 \x01(\x0e\x32<.google.cloud.ces.v1beta.TurnMetadata.ContractStreamingPhase\x12\x1f\n\x17\x63ontract_draft_complete\x18\x05 \x01(\x08\"^\n\x16\x43ontractStreamingPhase\x12(\n$CONTRACT_STREAMING_PHASE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44RAFTING\x10\x01\x12\x0c\n\x08REVISING\x10\x02\"\xf5\x07\n\x1dStreamChatAiAssistantResponse\x12\x14\n\ntext_chunk\x18\x03 \x01(\tH\x00\x12$\n\x06status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12\x17\n\rthought_chunk\x18\x06 \x01(\tH\x00\x12\x36\n\ttool_call\x18\x07 \x01(\x0b\x32!.google.cloud.ces.v1beta.ToolCallH\x00\x12>\n\rtool_response\x18\x08 \x01(\x0b\x32%.google.cloud.ces.v1beta.ToolResponseH\x00\x12@\n\x0e\x61rtifact_chunk\x18\t \x01(\x0b\x32&.google.cloud.ces.v1beta.ArtifactChunkH\x00\x12O\n\x16option_questions_chunk\x18\n \x01(\x0b\x32-.google.cloud.ces.v1beta.OptionQuestionsChunkH\x00\x12U\n\x14\x63onfirmation_request\x18\x0c \x01(\x0b\x32\x35.google.cloud.ces.v1beta.AssistantConfirmationRequestH\x00\x12H\n\x12session_checkpoint\x18\r \x01(\x0b\x32*.google.cloud.ces.v1beta.SessionCheckpointH\x00\x12\x46\n\x0fresume_snapshot\x18\x11 \x01(\x0b\x32+.google.cloud.ces.v1beta.TurnResumeSnapshotH\x00\x12<\n\x07handoff\x18\x12 \x01(\x0b\x32).google.cloud.ces.v1beta.TurnHandoffEventH\x00\x12\x45\n\x0eturn_completed\x18\x13 \x01(\x0b\x32+.google.cloud.ces.v1beta.TurnCompletedEventH\x00\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\t\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x08ui_event\x18\x05 \x01(\x0b\x32 .google.cloud.ces.v1beta.UiEventB\x04\xe2\x41\x01\x01\x12\x42\n\rturn_metadata\x18\x0b \x01(\x0b\x32%.google.cloud.ces.v1beta.TurnMetadataB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fsequence_number\x18\x0f \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x1e\n\x10turn_in_progress\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42\x07\n\x05\x65vent\"G\n\x1a\x43\x61ncelAssistantTurnRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\x07turn_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"0\n\x1b\x43\x61ncelAssistantTurnResponse\x12\x11\n\tcancelled\x18\x01 \x01(\x08\"\xc9\x01\n\x12TurnResumeSnapshot\x12\x0f\n\x07turn_id\x18\x01 \x01(\t\x12 \n\x18resolved_sequence_number\x18\x02 \x01(\x03\x12\x46\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x36.google.cloud.ces.v1beta.StreamChatAiAssistantResponse\x12\x38\n\x14orphan_deadline_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9b\x01\n\x10TurnHandoffEvent\x12\x0f\n\x07turn_id\x18\x01 \x01(\t\x12@\n\x06reason\x18\x02 \x01(\x0e\x32\x30.google.cloud.ces.v1beta.TurnHandoffEvent.Reason\"4\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x12\n\x0eSERVER_RESTART\x10\x01\"\xe0\x01\n\x12TurnCompletedEvent\x12\x0f\n\x07turn_id\x18\x01 \x01(\t\x12\x42\n\x06reason\x18\x02 \x01(\x0e\x32\x32.google.cloud.ces.v1beta.TurnCompletedEvent.Reason\x12\x1d\n\x15\x66inal_sequence_number\x18\x03 \x01(\x03\"V\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\r\n\tABANDONED\x10\x02\x12\x16\n\x12RESUME_UNAVAILABLE\x10\x03*R\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\t\n\x05MULAW\x10\x02\x12\x08\n\x04\x41LAW\x10\x03\x32\xa1\x0b\n\x0eSessionService\x12\xbe\x01\n\nRunSession\x12*.google.cloud.ces.v1beta.RunSessionRequest\x1a+.google.cloud.ces.v1beta.RunSessionResponse\"W\x82\xd3\xe4\x93\x02Q\"L/v1beta/{config.session=projects/*/locations/*/apps/*/sessions/*}:runSession:\x01*\x12\xcc\x01\n\x10StreamRunSession\x12*.google.cloud.ces.v1beta.RunSessionRequest\x1a+.google.cloud.ces.v1beta.RunSessionResponse\"]\x82\xd3\xe4\x93\x02W\"R/v1beta/{config.session=projects/*/locations/*/apps/*/sessions/*}:streamRunSession:\x01*0\x01\x12\xc8\x01\n\x0e\x42idiRunSession\x12\x31.google.cloud.ces.v1beta.BidiSessionClientMessage\x1a\x31.google.cloud.ces.v1beta.BidiSessionServerMessage\"L\x8a\xd3\xe4\x93\x02\x46\x12\x44\n\x0e\x63onfig.session\x12\x32{session=projects/*/locations/*/apps/*/sessions/*}(\x01\x30\x01\x12\xeb\x01\n\x15StreamChatAiAssistant\x12\x35.google.cloud.ces.v1beta.StreamChatAiAssistantRequest\x1a\x36.google.cloud.ces.v1beta.StreamChatAiAssistantResponse\"a\x82\xd3\xe4\x93\x02[\"V/v1beta/{name=projects/*/locations/*/apps/*/assistantSessions/*}:streamChatAiAssistant:\x01*0\x01\x12\xe1\x01\n\x13\x43\x61ncelAssistantTurn\x12\x33.google.cloud.ces.v1beta.CancelAssistantTurnRequest\x1a\x34.google.cloud.ces.v1beta.CancelAssistantTurnResponse\"_\x82\xd3\xe4\x93\x02Y\"T/v1beta/{name=projects/*/locations/*/apps/*/assistantSessions/*}:cancelAssistantTurn:\x01*\x12\xf5\x01\n\x1dGenerateOnboardingSuggestions\x12=.google.cloud.ces.v1beta.GenerateOnboardingSuggestionsRequest\x1a>.google.cloud.ces.v1beta.GenerateOnboardingSuggestionsResponse\"U\x82\xd3\xe4\x93\x02O\"J/v1beta/{name=projects/*/locations/*/apps/*}:generateOnboardingSuggestions:\x01*\x1aj\xca\x41\x12\x63\x65s.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1b\x63om.google.cloud.ces.v1betaB\x13SessionServiceProtoP\x01Z-cloud.google.com/go/ces/apiv1beta/cespb;cespb\xea\x41\x63\n\x1a\x63\x65s.googleapis.com/Session\x12\x45projects/{project}/locations/{location}/apps/{app}/sessions/{session}b\x06proto3"
|
|
21
24
|
|
|
22
25
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
26
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -36,8 +39,10 @@ module Google
|
|
|
36
39
|
ToolResponses = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.ToolResponses").msgclass
|
|
37
40
|
Citations = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.Citations").msgclass
|
|
38
41
|
Citations::CitedChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.Citations.CitedChunk").msgclass
|
|
42
|
+
Citations::InlineCitation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.Citations.InlineCitation").msgclass
|
|
39
43
|
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.Event").msgclass
|
|
40
44
|
SessionInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.SessionInput").msgclass
|
|
45
|
+
SessionInput::RecordingControl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.SessionInput.RecordingControl").enummodule
|
|
41
46
|
SessionOutput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.SessionOutput").msgclass
|
|
42
47
|
SessionOutput::DiagnosticInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.SessionOutput.DiagnosticInfo").msgclass
|
|
43
48
|
RecognitionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.RecognitionResult").msgclass
|
|
@@ -48,6 +53,33 @@ module Google
|
|
|
48
53
|
RunSessionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.RunSessionResponse").msgclass
|
|
49
54
|
BidiSessionClientMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.BidiSessionClientMessage").msgclass
|
|
50
55
|
BidiSessionServerMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.BidiSessionServerMessage").msgclass
|
|
56
|
+
StreamChatAiAssistantRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.StreamChatAiAssistantRequest").msgclass
|
|
57
|
+
StreamChatAiAssistantRequest::ClientCapability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.StreamChatAiAssistantRequest.ClientCapability").enummodule
|
|
58
|
+
AssistantSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AssistantSuggestion").msgclass
|
|
59
|
+
AssistantSuggestion::LoadSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AssistantSuggestion.LoadSession").msgclass
|
|
60
|
+
AssistantSuggestion::Icon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AssistantSuggestion.Icon").enummodule
|
|
61
|
+
AssistantSuggestion::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AssistantSuggestion.Source").enummodule
|
|
62
|
+
GenerateOnboardingSuggestionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.GenerateOnboardingSuggestionsRequest").msgclass
|
|
63
|
+
GenerateOnboardingSuggestionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.GenerateOnboardingSuggestionsResponse").msgclass
|
|
64
|
+
GenerateOnboardingSuggestionsResponse::UserProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.GenerateOnboardingSuggestionsResponse.UserProfile").enummodule
|
|
65
|
+
ArtifactChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.ArtifactChunk").msgclass
|
|
66
|
+
ArtifactChunk::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.ArtifactChunk.State").enummodule
|
|
67
|
+
OptionQuestionsChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.OptionQuestionsChunk").msgclass
|
|
68
|
+
OptionQuestionsChunk::Option = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.OptionQuestionsChunk.Option").msgclass
|
|
69
|
+
OptionQuestionsChunk::Question = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.OptionQuestionsChunk.Question").msgclass
|
|
70
|
+
AssistantConfirmationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AssistantConfirmationRequest").msgclass
|
|
71
|
+
AssistantConfirmationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AssistantConfirmationResponse").msgclass
|
|
72
|
+
OperationCompletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.OperationCompletedEvent").msgclass
|
|
73
|
+
TurnMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnMetadata").msgclass
|
|
74
|
+
TurnMetadata::ContractStreamingPhase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnMetadata.ContractStreamingPhase").enummodule
|
|
75
|
+
StreamChatAiAssistantResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.StreamChatAiAssistantResponse").msgclass
|
|
76
|
+
CancelAssistantTurnRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.CancelAssistantTurnRequest").msgclass
|
|
77
|
+
CancelAssistantTurnResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.CancelAssistantTurnResponse").msgclass
|
|
78
|
+
TurnResumeSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnResumeSnapshot").msgclass
|
|
79
|
+
TurnHandoffEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnHandoffEvent").msgclass
|
|
80
|
+
TurnHandoffEvent::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnHandoffEvent.Reason").enummodule
|
|
81
|
+
TurnCompletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnCompletedEvent").msgclass
|
|
82
|
+
TurnCompletedEvent::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.TurnCompletedEvent.Reason").enummodule
|
|
51
83
|
AudioEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1beta.AudioEncoding").enummodule
|
|
52
84
|
end
|
|
53
85
|
end
|
|
@@ -110,6 +110,20 @@ module Google
|
|
|
110
110
|
# [InterruptionSignal][google.cloud.ces.v1beta.BidiSessionServerMessage.interruption_signal]
|
|
111
111
|
# is received (e.g., user barge-in or new agent response).
|
|
112
112
|
rpc :BidiRunSession, stream(::Google::Cloud::Ces::V1beta::BidiSessionClientMessage), stream(::Google::Cloud::Ces::V1beta::BidiSessionServerMessage)
|
|
113
|
+
# Runs Arc, the AI assistant, for the specified assistant session in a
|
|
114
|
+
# streaming fashion.
|
|
115
|
+
rpc :StreamChatAiAssistant, ::Google::Cloud::Ces::V1beta::StreamChatAiAssistantRequest, stream(::Google::Cloud::Ces::V1beta::StreamChatAiAssistantResponse)
|
|
116
|
+
# Cancels the assistant session's in-flight turn, if any: the explicit user
|
|
117
|
+
# stop for a turn running detached from any stream. A cancel landing on a
|
|
118
|
+
# task that does not host the turn preempts it through the session turn
|
|
119
|
+
# epoch instead, ending it within one lease renewal.
|
|
120
|
+
rpc :CancelAssistantTurn, ::Google::Cloud::Ces::V1beta::CancelAssistantTurnRequest, ::Google::Cloud::Ces::V1beta::CancelAssistantTurnResponse
|
|
121
|
+
# Generates personalized onboarding suggestions for the Arc
|
|
122
|
+
# zero state: classifies the requesting user (new / exploring / returning)
|
|
123
|
+
# from their assistant-session history in the app and returns suggestion
|
|
124
|
+
# chips (resume a session, continue work, or start something new) to render
|
|
125
|
+
# before any message is sent.
|
|
126
|
+
rpc :GenerateOnboardingSuggestions, ::Google::Cloud::Ces::V1beta::GenerateOnboardingSuggestionsRequest, ::Google::Cloud::Ces::V1beta::GenerateOnboardingSuggestionsResponse
|
|
113
127
|
end
|
|
114
128
|
|
|
115
129
|
Stub = Service.rpc_stub_class
|
|
@@ -24,7 +24,7 @@ require 'google/protobuf/duration_pb'
|
|
|
24
24
|
require 'google/protobuf/timestamp_pb'
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
descriptor_data = "\n\"google/cloud/ces/v1beta/tool.proto\x12\x17google.cloud.ces.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/ces/v1beta/agent_card.proto\x1a(google/cloud/ces/v1beta/agent_tool.proto\x1a-google/cloud/ces/v1beta/client_function.proto\x1a$google/cloud/ces/v1beta/common.proto\x1a,google/cloud/ces/v1beta/connector_tool.proto\x1a-google/cloud/ces/v1beta/data_store_tool.proto\x1a#google/cloud/ces/v1beta/fakes.proto\x1a.google/cloud/ces/v1beta/file_search_tool.proto\x1a\x30google/cloud/ces/v1beta/google_search_tool.proto\x1a&google/cloud/ces/v1beta/mcp_tool.proto\x1a+google/cloud/ces/v1beta/open_api_tool.proto\x1a-google/cloud/ces/v1beta/python_function.proto\x1a)google/cloud/ces/v1beta/system_tool.proto\x1a)google/cloud/ces/v1beta/widget_tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
27
|
+
descriptor_data = "\n\"google/cloud/ces/v1beta/tool.proto\x12\x17google.cloud.ces.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/ces/v1beta/agent_card.proto\x1a(google/cloud/ces/v1beta/agent_tool.proto\x1a-google/cloud/ces/v1beta/client_function.proto\x1a$google/cloud/ces/v1beta/common.proto\x1a,google/cloud/ces/v1beta/connector_tool.proto\x1a-google/cloud/ces/v1beta/data_store_tool.proto\x1a#google/cloud/ces/v1beta/fakes.proto\x1a.google/cloud/ces/v1beta/file_search_tool.proto\x1a\x30google/cloud/ces/v1beta/google_search_tool.proto\x1a&google/cloud/ces/v1beta/mcp_tool.proto\x1a+google/cloud/ces/v1beta/open_api_tool.proto\x1a-google/cloud/ces/v1beta/python_function.proto\x1a)google/cloud/ces/v1beta/system_tool.proto\x1a)google/cloud/ces/v1beta/widget_tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf7\n\n\x04Tool\x12H\n\x0f\x63lient_function\x18\x02 \x01(\x0b\x32\'.google.cloud.ces.v1beta.ClientFunctionB\x04\xe2\x41\x01\x01H\x00\x12\x43\n\ropen_api_tool\x18\x03 \x01(\x0b\x32$.google.cloud.ces.v1beta.OpenApiToolB\x04\xe2\x41\x01\x01H\x00\x12M\n\x12google_search_tool\x18\x05 \x01(\x0b\x32).google.cloud.ces.v1beta.GoogleSearchToolB\x04\xe2\x41\x01\x01H\x00\x12\x46\n\x0e\x63onnector_tool\x18\x08 \x01(\x0b\x32&.google.cloud.ces.v1beta.ConnectorToolB\x04\xe2\x41\x01\x01H\x00\x12G\n\x0f\x64\x61ta_store_tool\x18\n \x01(\x0b\x32&.google.cloud.ces.v1beta.DataStoreToolB\x04\xe2\x41\x01\x01H\x00\x12H\n\x0fpython_function\x18\x0b \x01(\x0b\x32\'.google.cloud.ces.v1beta.PythonFunctionB\x04\xe2\x41\x01\x01H\x00\x12:\n\x08mcp_tool\x18\x10 \x01(\x0b\x32 .google.cloud.ces.v1beta.McpToolB\x04\xe2\x41\x01\x01H\x00\x12I\n\x10\x66ile_search_tool\x18\x11 \x01(\x0b\x32\'.google.cloud.ces.v1beta.FileSearchToolB\x04\xe2\x41\x01\x01H\x00\x12@\n\x0bsystem_tool\x18\x12 \x01(\x0b\x32#.google.cloud.ces.v1beta.SystemToolB\x04\xe2\x41\x01\x01H\x00\x12>\n\nagent_tool\x18\x17 \x01(\x0b\x32\".google.cloud.ces.v1beta.AgentToolB\x04\xe2\x41\x01\x01H\x00\x12@\n\x0bwidget_tool\x18\x18 \x01(\x0b\x32#.google.cloud.ces.v1beta.WidgetToolB\x04\xe2\x41\x01\x01H\x00\x12K\n\x11remote_agent_tool\x18\x19 \x01(\x0b\x32(.google.cloud.ces.v1beta.RemoteAgentToolB\x04\xe2\x41\x01\x01H\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1a\n\x0c\x64isplay_name\x18\r \x01(\tB\x04\xe2\x41\x01\x03\x12\x44\n\x0e\x65xecution_type\x18\x0c \x01(\x0e\x32&.google.cloud.ces.v1beta.ExecutionTypeB\x04\xe2\x41\x01\x01\x12\x30\n\x07timeout\x18\x16 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x1f\n\x11generated_summary\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03\x12G\n\x10tool_fake_config\x18\x14 \x01(\x0b\x32\'.google.cloud.ces.v1beta.ToolFakeConfigB\x04\xe2\x41\x01\x01\x12\x17\n\tread_only\x18\x1d \x01(\x08\x42\x04\xe2\x41\x01\x03:j\xea\x41g\n\x17\x63\x65s.googleapis.com/Tool\x12?projects/{project}/locations/{location}/apps/{app}/tools/{tool}*\x05tools2\x04toolB\x0b\n\ttool_typeBY\n\x1b\x63om.google.cloud.ces.v1betaB\tToolProtoP\x01Z-cloud.google.com/go/ces/apiv1beta/cespb;cespbb\x06proto3"
|
|
28
28
|
|
|
29
29
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
30
30
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
require "google/cloud/ces/v1beta/session_service"
|
|
20
20
|
require "google/cloud/ces/v1beta/agent_service"
|
|
21
|
+
require "google/cloud/ces/v1beta/assistant_service"
|
|
21
22
|
require "google/cloud/ces/v1beta/evaluation_service"
|
|
22
23
|
require "google/cloud/ces/v1beta/tool_service"
|
|
23
24
|
require "google/cloud/ces/v1beta/widget_service"
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Api
|
|
22
|
+
# Rich semantic information of an API field beyond basic typing.
|
|
23
|
+
# @!attribute [rw] format
|
|
24
|
+
# @return [::Google::Api::FieldInfo::Format]
|
|
25
|
+
# The standard format of a field value. This does not explicitly configure
|
|
26
|
+
# any API consumer, just documents the API's format for the field it is
|
|
27
|
+
# applied to.
|
|
28
|
+
# @!attribute [rw] referenced_types
|
|
29
|
+
# @return [::Array<::Google::Api::TypeReference>]
|
|
30
|
+
# The type(s) that the annotated, generic field may represent.
|
|
31
|
+
#
|
|
32
|
+
# Currently, this must only be used on fields of type `google.protobuf.Any`.
|
|
33
|
+
# Supporting other generic types may be considered in the future.
|
|
34
|
+
class FieldInfo
|
|
35
|
+
include ::Google::Protobuf::MessageExts
|
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
37
|
+
|
|
38
|
+
# The standard format of a field value. The supported formats are all backed
|
|
39
|
+
# by either an RFC defined by the IETF or a Google-defined AIP.
|
|
40
|
+
module Format
|
|
41
|
+
# Default, unspecified value.
|
|
42
|
+
FORMAT_UNSPECIFIED = 0
|
|
43
|
+
|
|
44
|
+
# Universally Unique Identifier, version 4, value as defined by
|
|
45
|
+
# https://datatracker.ietf.org/doc/html/rfc4122. The value may be
|
|
46
|
+
# normalized to entirely lowercase letters. For example, the value
|
|
47
|
+
# `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
|
|
48
|
+
# `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
|
|
49
|
+
UUID4 = 1
|
|
50
|
+
|
|
51
|
+
# Internet Protocol v4 value as defined by [RFC
|
|
52
|
+
# 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
|
|
53
|
+
# condensed, with leading zeros in each octet stripped. For example,
|
|
54
|
+
# `001.022.233.040` would be condensed to `1.22.233.40`.
|
|
55
|
+
IPV4 = 2
|
|
56
|
+
|
|
57
|
+
# Internet Protocol v6 value as defined by [RFC
|
|
58
|
+
# 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
|
|
59
|
+
# normalized to entirely lowercase letters with zeros compressed, following
|
|
60
|
+
# [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
|
|
61
|
+
# the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
|
|
62
|
+
IPV6 = 3
|
|
63
|
+
|
|
64
|
+
# An IP address in either v4 or v6 format as described by the individual
|
|
65
|
+
# values defined herein. See the comments on the IPV4 and IPV6 types for
|
|
66
|
+
# allowed normalizations of each.
|
|
67
|
+
IPV4_OR_IPV6 = 4
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
|
|
72
|
+
# @!attribute [rw] type_name
|
|
73
|
+
# @return [::String]
|
|
74
|
+
# The name of the type that the annotated, generic field may represent.
|
|
75
|
+
# If the type is in the same protobuf package, the value can be the simple
|
|
76
|
+
# message name e.g., `"MyMessage"`. Otherwise, the value must be the
|
|
77
|
+
# fully-qualified message name e.g., `"google.library.v1.Book"`.
|
|
78
|
+
#
|
|
79
|
+
# If the type(s) are unknown to the service (e.g. the field accepts generic
|
|
80
|
+
# user input), use the wildcard `"*"` to denote this behavior.
|
|
81
|
+
#
|
|
82
|
+
# See [AIP-202](https://google.aip.dev/202#type-references) for more details.
|
|
83
|
+
class TypeReference
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @return [::Google::Cloud::Ces::V1beta::Agent::LlmAgent]
|
|
28
28
|
# Optional. The default agent type.
|
|
29
29
|
#
|
|
30
|
-
# Note: The following fields are mutually exclusive: `llm_agent`, `remote_dialogflow_agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
30
|
+
# Note: The following fields are mutually exclusive: `llm_agent`, `remote_dialogflow_agent`, `remote_a2a_agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
31
31
|
# @!attribute [rw] remote_dialogflow_agent
|
|
32
32
|
# @return [::Google::Cloud::Ces::V1beta::Agent::RemoteDialogflowAgent]
|
|
33
33
|
# Optional. The remote
|
|
@@ -39,7 +39,13 @@ module Google
|
|
|
39
39
|
# should grant `roles/dialogflow.client` to the CES service agent
|
|
40
40
|
# `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.
|
|
41
41
|
#
|
|
42
|
-
# Note: The following fields are mutually exclusive: `remote_dialogflow_agent`, `llm_agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
42
|
+
# Note: The following fields are mutually exclusive: `remote_dialogflow_agent`, `llm_agent`, `remote_a2a_agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
43
|
+
# @!attribute [rw] remote_a2a_agent
|
|
44
|
+
# @return [::Google::Cloud::Ces::V1beta::Agent::RemoteA2aAgent]
|
|
45
|
+
# Optional. The remote [A2A](https://github.com/a2aproject/A2A) agent to be
|
|
46
|
+
# used for the agent execution.
|
|
47
|
+
#
|
|
48
|
+
# Note: The following fields are mutually exclusive: `remote_a2a_agent`, `llm_agent`, `remote_dialogflow_agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
43
49
|
# @!attribute [rw] name
|
|
44
50
|
# @return [::String]
|
|
45
51
|
# Identifier. The unique identifier of the agent.
|
|
@@ -213,6 +219,16 @@ module Google
|
|
|
213
219
|
end
|
|
214
220
|
end
|
|
215
221
|
|
|
222
|
+
# The agent which will transfer execution to a remote
|
|
223
|
+
# [A2A](https://github.com/a2aproject/A2A) agent.
|
|
224
|
+
# @!attribute [rw] a2a_config
|
|
225
|
+
# @return [::Google::Cloud::Ces::V1beta::RemoteA2aConfig]
|
|
226
|
+
# Required. The A2A connection configuration.
|
|
227
|
+
class RemoteA2aAgent
|
|
228
|
+
include ::Google::Protobuf::MessageExts
|
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
230
|
+
end
|
|
231
|
+
|
|
216
232
|
# A toolset with a selection of its tools.
|
|
217
233
|
# @!attribute [rw] toolset
|
|
218
234
|
# @return [::String]
|
|
@@ -102,6 +102,62 @@ module Google
|
|
|
102
102
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
+
# Shared configuration for connecting to a remote
|
|
106
|
+
# [A2A](https://github.com/a2aproject/A2A) agent.
|
|
107
|
+
# @!attribute [rw] agent_card
|
|
108
|
+
# @return [::Google::Cloud::Ces::V1beta::AgentCard]
|
|
109
|
+
# Optional. The full agent card defined inline.
|
|
110
|
+
#
|
|
111
|
+
# Note: The following fields are mutually exclusive: `agent_card`, `agent_registry`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
112
|
+
# @!attribute [rw] agent_registry
|
|
113
|
+
# @return [::String]
|
|
114
|
+
# Optional. Reference to the agent in the Agent Registry.
|
|
115
|
+
# Format: `projects/{project}/locations/{location}/agents/{agent}`
|
|
116
|
+
#
|
|
117
|
+
# Note: The following fields are mutually exclusive: `agent_registry`, `agent_card`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
118
|
+
# @!attribute [rw] api_authentication
|
|
119
|
+
# @return [::Google::Cloud::Ces::V1beta::ApiAuthentication]
|
|
120
|
+
# Optional. Authentication configuration for calling the remote agent.
|
|
121
|
+
# Optional if the registry reference already handles authentication.
|
|
122
|
+
# @!attribute [rw] input_variable_mapping
|
|
123
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
124
|
+
# Optional. Mapping of input variable names of remote agent to GECX variable
|
|
125
|
+
# names.
|
|
126
|
+
# @!attribute [rw] output_variable_mapping
|
|
127
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
128
|
+
# Optional. Mapping of output variable names of remote agent to GECX variable
|
|
129
|
+
# names.
|
|
130
|
+
# @!attribute [rw] streaming_enabled
|
|
131
|
+
# @return [::Boolean]
|
|
132
|
+
# Optional. Whether streaming is enabled for the remote agent.
|
|
133
|
+
# @!attribute [rw] context_id
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# Optional. If not empty, interactions with the remote A2A agent will use
|
|
136
|
+
# this context ID. This context_id field can refer to a session variable like
|
|
137
|
+
# `$context.variables.order_agent_session_id`.
|
|
138
|
+
class RemoteA2aConfig
|
|
139
|
+
include ::Google::Protobuf::MessageExts
|
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
141
|
+
|
|
142
|
+
# @!attribute [rw] key
|
|
143
|
+
# @return [::String]
|
|
144
|
+
# @!attribute [rw] value
|
|
145
|
+
# @return [::String]
|
|
146
|
+
class InputVariableMappingEntry
|
|
147
|
+
include ::Google::Protobuf::MessageExts
|
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# @!attribute [rw] key
|
|
152
|
+
# @return [::String]
|
|
153
|
+
# @!attribute [rw] value
|
|
154
|
+
# @return [::String]
|
|
155
|
+
class OutputVariableMappingEntry
|
|
156
|
+
include ::Google::Protobuf::MessageExts
|
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
105
161
|
# Represents a tool that allows the agent to call another remote agent.
|
|
106
162
|
# @!attribute [rw] name
|
|
107
163
|
# @return [::String]
|
|
@@ -112,9 +168,44 @@ module Google
|
|
|
112
168
|
# @!attribute [rw] agent_card
|
|
113
169
|
# @return [::Google::Cloud::Ces::V1beta::AgentCard]
|
|
114
170
|
# Required. The agent card of the remote agent that this tool invokes.
|
|
171
|
+
# @!attribute [rw] api_authentication
|
|
172
|
+
# @return [::Google::Cloud::Ces::V1beta::ApiAuthentication]
|
|
173
|
+
# Optional. Authentication configuration for calling the remote agent.
|
|
174
|
+
# @!attribute [rw] stateful_agent
|
|
175
|
+
# @return [::Boolean]
|
|
176
|
+
# Optional. When enabled, the interaction between the CXAS app and the remote
|
|
177
|
+
# agent will share the same context. If the remote agent returns a
|
|
178
|
+
# context_id, it will be persisted for the entirety of the session for this
|
|
179
|
+
# remote agent tool.
|
|
180
|
+
# @!attribute [rw] input_variable_mapping
|
|
181
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
182
|
+
# Optional. Mapping of input variable names of remote agent to GECX variable
|
|
183
|
+
# names.
|
|
184
|
+
# @!attribute [rw] output_variable_mapping
|
|
185
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
186
|
+
# Optional. Mapping of output variable names of remote agent to GECX variable
|
|
187
|
+
# names.
|
|
115
188
|
class RemoteAgentTool
|
|
116
189
|
include ::Google::Protobuf::MessageExts
|
|
117
190
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
191
|
+
|
|
192
|
+
# @!attribute [rw] key
|
|
193
|
+
# @return [::String]
|
|
194
|
+
# @!attribute [rw] value
|
|
195
|
+
# @return [::String]
|
|
196
|
+
class InputVariableMappingEntry
|
|
197
|
+
include ::Google::Protobuf::MessageExts
|
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# @!attribute [rw] key
|
|
202
|
+
# @return [::String]
|
|
203
|
+
# @!attribute [rw] value
|
|
204
|
+
# @return [::String]
|
|
205
|
+
class OutputVariableMappingEntry
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
end
|
|
118
209
|
end
|
|
119
210
|
end
|
|
120
211
|
end
|
|
@@ -196,6 +196,17 @@ module Google
|
|
|
196
196
|
# structure.
|
|
197
197
|
#
|
|
198
198
|
# Note: The following fields are mutually exclusive: `app_content`, `gcs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
199
|
+
# @!attribute [rw] json_patch_content
|
|
200
|
+
# @return [::String]
|
|
201
|
+
# Optional. Patch content as a JSON string.
|
|
202
|
+
#
|
|
203
|
+
# Note: The following fields are mutually exclusive: `json_patch_content`, `json_patch_gcs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
204
|
+
# @!attribute [rw] json_patch_gcs_uri
|
|
205
|
+
# @return [::String]
|
|
206
|
+
# Optional. A Cloud Storage URI pointing to a JSON file containing the
|
|
207
|
+
# patches.
|
|
208
|
+
#
|
|
209
|
+
# Note: The following fields are mutually exclusive: `json_patch_gcs_uri`, `json_patch_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
199
210
|
# @!attribute [rw] parent
|
|
200
211
|
# @return [::String]
|
|
201
212
|
# Required. The parent resource name with the location of the app to import.
|
|
@@ -234,6 +245,11 @@ module Google
|
|
|
234
245
|
# @!attribute [rw] conflict_resolution_strategy
|
|
235
246
|
# @return [::Google::Cloud::Ces::V1beta::ImportAppRequest::ImportOptions::ConflictResolutionStrategy]
|
|
236
247
|
# Optional. The strategy to use when resolving conflicts during import.
|
|
248
|
+
# @!attribute [rw] validate_only
|
|
249
|
+
# @return [::Boolean]
|
|
250
|
+
# Optional. Flag for dry-running the import process.
|
|
251
|
+
# If set to true, the import process will only perform validations and will
|
|
252
|
+
# not make any changes to the existing app or create a new one.
|
|
237
253
|
class ImportOptions
|
|
238
254
|
include ::Google::Protobuf::MessageExts
|
|
239
255
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -930,6 +946,16 @@ module Google
|
|
|
930
946
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
931
947
|
end
|
|
932
948
|
|
|
949
|
+
# Response message for
|
|
950
|
+
# [AgentService.DeployChannel][google.cloud.ces.v1beta.AgentService.DeployChannel].
|
|
951
|
+
# @!attribute [rw] deployment
|
|
952
|
+
# @return [::Google::Cloud::Ces::V1beta::Deployment]
|
|
953
|
+
# The created deployment.
|
|
954
|
+
class DeployChannelResponse
|
|
955
|
+
include ::Google::Protobuf::MessageExts
|
|
956
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
957
|
+
end
|
|
958
|
+
|
|
933
959
|
# Request message for
|
|
934
960
|
# {::Google::Cloud::Ces::V1beta::AgentService::Client#update_deployment AgentService.UpdateDeployment}.
|
|
935
961
|
# @!attribute [rw] deployment
|
|
@@ -1161,6 +1187,20 @@ module Google
|
|
|
1161
1187
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1162
1188
|
end
|
|
1163
1189
|
|
|
1190
|
+
# Request message for
|
|
1191
|
+
# {::Google::Cloud::Ces::V1beta::AgentService::Client#update_app_version AgentService.UpdateAppVersion}.
|
|
1192
|
+
# @!attribute [rw] app_version
|
|
1193
|
+
# @return [::Google::Cloud::Ces::V1beta::AppVersion]
|
|
1194
|
+
# Required. The app version to update.
|
|
1195
|
+
# @!attribute [rw] update_mask
|
|
1196
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
1197
|
+
# Optional. The list of fields to update.
|
|
1198
|
+
# If empty, fields `display_name` and `description` will be updated.
|
|
1199
|
+
class UpdateAppVersionRequest
|
|
1200
|
+
include ::Google::Protobuf::MessageExts
|
|
1201
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1164
1204
|
# Request message for
|
|
1165
1205
|
# {::Google::Cloud::Ces::V1beta::AgentService::Client#restore_app_version AgentService.RestoreAppVersion}
|
|
1166
1206
|
# @!attribute [rw] name
|