google-cloud-gemini_data_analytics-v1 1.0.0 → 1.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.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/client.rb +236 -1
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/client.rb +222 -1
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/service_stub.rb +123 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/client.rb +105 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/client.rb +98 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/gemini_data_analytics/v1/version.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1/context_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1/conversation_pb.rb +3 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_pb.rb +6 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_services_pb.rb +6 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_pb.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_services_pb.rb +2 -0
- data/lib/google/cloud/geminidataanalytics/v1/datasource_pb.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1/context.rb +85 -7
- data/proto_docs/google/cloud/geminidataanalytics/v1/conversation.rb +27 -3
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent.rb +51 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent_service.rb +100 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_chat_service.rb +6 -8
- data/proto_docs/google/cloud/geminidataanalytics/v1/datasource.rb +7 -0
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +1 -1
|
@@ -56,6 +56,12 @@ module Google
|
|
|
56
56
|
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
57
57
|
# Sets the IAM policy for a DataAgent.
|
|
58
58
|
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
59
|
+
# Enables/Disables required GCP services and configures AgentOps
|
|
60
|
+
# observability settings calling the Admin Settings executable node to
|
|
61
|
+
# update the AgentOps Observability feature.
|
|
62
|
+
rpc :SetAgentOpsObservability, ::Google::Cloud::GeminiDataAnalytics::V1::SetAgentOpsObservabilityRequest, ::Google::Longrunning::Operation
|
|
63
|
+
# Gets AgentOps observability settings and status of required services.
|
|
64
|
+
rpc :RetrieveAgentOpsObservability, ::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityRequest, ::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityResponse
|
|
59
65
|
end
|
|
60
66
|
|
|
61
67
|
Stub = Service.rpc_stub_class
|
|
@@ -17,7 +17,7 @@ require 'google/protobuf/struct_pb'
|
|
|
17
17
|
require 'google/protobuf/timestamp_pb'
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
descriptor_data = "\n;google/cloud/geminidataanalytics/v1/data_chat_service.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/geminidataanalytics/v1/context.proto\x1a\x36google/cloud/geminidataanalytics/v1/conversation.proto\x1a\x35google/cloud/geminidataanalytics/v1/credentials.proto\x1a\x34google/cloud/geminidataanalytics/v1/datasource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa4\x01\n\x13ListMessagesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"v\n\x14ListMessagesResponse\x12\x45\n\x08messages\x18\x01 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.StorageMessage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x0eStorageMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\t\x12=\n\x07message\x18\x02 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.Message\"\xd3\x07\n\x0b\x43hatRequest\x12K\n\x0einline_context\x18\x65 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x01H\x00\x12\x61\n\x16\x63onversation_reference\x18g \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1.ConversationReferenceB\x03\xe0\x41\x01H\x00\x12X\n\x12\x64\x61ta_agent_context\x18h \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1.DataAgentContextB\x03\xe0\x41\x01H\x00\x12q\n\x1f\x63lient_managed_resource_context\x18i \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1.ClientManagedResourceContextB\x03\xe0\x41\x01H\x00\x12S\n\x0flooker_settings\x18\r \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.LookerSettingsB\x03\xe0\x41\x01H\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x08messages\x18\x02 \x03(\x0b\x32,.google.cloud.geminidataanalytics.v1.MessageB\x03\xe0\x41\x02\x12J\n\x0b\x63redentials\x18\x07 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.CredentialsB\x03\xe0\x41\x01\x12Y\n\rthinking_mode\x18\t \x01(\x0e\x32=.google.cloud.geminidataanalytics.v1.ChatRequest.ThinkingModeB\x03\xe0\x41\x01\x12J\n\x05model\x18\x0b \x01(\x0e\x32\x36.google.cloud.geminidataanalytics.v1.ChatRequest.ModelB\x03\xe0\x41\x01\"E\n\x0cThinkingMode\x12\x1d\n\x19THINKING_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41ST\x10\x01\x12\x0c\n\x08THINKING\x10\x02\"3\n\x05Model\x12\x15\n\x11MODEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fLATEST_GA_MODEL\x10\x01\x42\x12\n\x10\x63ontext_providerB\x15\n\x13\x64\x61tasource_settings\"\x8f\x02\n\x10\x44\x61taAgentContext\x12H\n\ndata_agent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12\x62\n\x0f\x63ontext_version\x18\x03 \x01(\x0e\x32\x44.google.cloud.geminidataanalytics.v1.DataAgentContext.ContextVersionB\x03\xe0\x41\x01\"M\n\x0e\x43ontextVersion\x12\x1f\n\x1b\x43ONTEXT_VERSION_UNSPECIFIED\x10\x00\x12\x0b\n\x07STAGING\x10\x01\x12\r\n\tPUBLISHED\x10\x02\"\xbe\x01\n\x15\x43onversationReference\x12M\n\x0c\x63onversation\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\x12V\n\x12\x64\x61ta_agent_context\x18\x03 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1.DataAgentContextB\x03\xe0\x41\x02\"\x9e\x01\n\x1c\x43lientManagedResourceContext\x12I\n\x0einline_context\x18\x01 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x02\x12\x1c\n\x0f\x63onversation_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61gent_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xf6\x01\n\x07Message\x12H\n\x0cuser_message\x18\x02 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.UserMessageH\x00\x12L\n\x0esystem_message\x18\x03 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.SystemMessageH\x00\x12\x32\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nmessage_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x42\x06\n\x04kind\".\n\x0eLookerSettings\x12\x1c\n\x0f\x65nable_dev_mode\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"%\n\x0bUserMessage\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x42\x06\n\x04kind\"\xf2\x04\n\rSystemMessage\x12@\n\x04text\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.TextMessageH\x00\x12\x44\n\x06schema\x18\x02 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.SchemaMessageH\x00\x12@\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.DataMessageH\x00\x12H\n\x08\x61nalysis\x18\x04 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.AnalysisMessageH\x00\x12\x42\n\x05\x63hart\x18\x05 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ChartMessageH\x00\x12\x42\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ErrorMessageH\x00\x12S\n\x0f\x65xample_queries\x18\r \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.ExampleQueriesB\x03\xe0\x41\x01H\x00\x12\x15\n\x08group_id\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12\x44\n\x08\x63itation\x18\x0f \x01(\x0b\x32-.google.cloud.geminidataanalytics.v1.CitationB\x03\xe0\x41\x03\x42\x06\n\x04kindB\x0b\n\t_group_id\"\x82\x02\n\x0bTextMessage\x12\x12\n\x05parts\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12Q\n\ttext_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.geminidataanalytics.v1.TextMessage.TextTypeB\x03\xe0\x41\x01\x12\x1e\n\x11thought_signature\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"l\n\x08TextType\x12\x19\n\x15TEXT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x46INAL_RESPONSE\x10\x01\x12\x0b\n\x07THOUGHT\x10\x02\x12\x0c\n\x08PROGRESS\x10\x03\x12\x16\n\x12\x46OLLOWUP_QUESTIONS\x10\x04\"\x9f\x01\n\rSchemaMessage\x12\x41\n\x05query\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.SchemaQueryH\x00\x12\x43\n\x06result\x18\x02 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.SchemaResultH\x00\x42\x06\n\x04kind\"$\n\x0bSchemaQuery\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\"Y\n\x0cSchemaResult\x12I\n\x0b\x64\x61tasources\x18\x01 \x03(\x0b\x32/.google.cloud.geminidataanalytics.v1.DatasourceB\x03\xe0\x41\x01\"\xc9\x02\n\x0b\x44\x61taMessage\x12?\n\x05query\x18\x01 \x01(\x0b\x32..google.cloud.geminidataanalytics.v1.DataQueryH\x00\x12\x17\n\rgenerated_sql\x18\x02 \x01(\tH\x00\x12\x41\n\x06result\x18\x03 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1.DataResultH\x00\x12I\n\rbig_query_job\x18\x05 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.BigQueryJobH\x00\x12J\n\rmatched_query\x18\x06 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.MatchedQueryH\x00\x42\x06\n\x04kind\"\xd7\x01\n\tDataQuery\x12G\n\x06looker\x18\x04 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.LookerQueryB\x03\xe0\x41\x01H\x00\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12I\n\x0b\x64\x61tasources\x18\x02 \x03(\x0b\x32/.google.cloud.geminidataanalytics.v1.DatasourceB\x03\xe0\x41\x01\x42\x0c\n\nquery_type\"\xc3\x01\n\nDataResult\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12@\n\x06schema\x18\x05 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\x12*\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x34\n\x0e\x66ormatted_data\x18\x06 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xf1\x01\n\x0b\x42igQueryJob\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06job_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12[\n\x11\x64\x65stination_table\x18\x03 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceB\x03\xe0\x41\x01\x12@\n\x06schema\x18\x07 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\"\xac\x01\n\x0f\x41nalysisMessage\x12\x43\n\x05query\x18\x01 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.AnalysisQueryH\x00\x12L\n\x0eprogress_event\x18\x02 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.AnalysisEventH\x00\x42\x06\n\x04kind\"F\n\rAnalysisQuery\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x64\x61ta_result_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\xaa\x02\n\rAnalysisEvent\x12\x1b\n\x11planner_reasoning\x18\x02 \x01(\tH\x00\x12\x1b\n\x11\x63oder_instruction\x18\x03 \x01(\tH\x00\x12\x0e\n\x04\x63ode\x18\x04 \x01(\tH\x00\x12\x1a\n\x10\x65xecution_output\x18\x05 \x01(\tH\x00\x12\x19\n\x0f\x65xecution_error\x18\x06 \x01(\tH\x00\x12 \n\x16result_vega_chart_json\x18\x07 \x01(\tH\x00\x12!\n\x17result_natural_language\x18\x08 \x01(\tH\x00\x12\x19\n\x0fresult_csv_data\x18\t \x01(\tH\x00\x12\x1f\n\x15result_reference_data\x18\n \x01(\tH\x00\x12\x0f\n\x05\x65rror\x18\x0b \x01(\tH\x00\x42\x06\n\x04kind\"\x9c\x01\n\x0c\x43hartMessage\x12@\n\x05query\x18\x01 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1.ChartQueryH\x00\x12\x42\n\x06result\x18\x02 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.ChartResultH\x00\x42\x06\n\x04kind\"F\n\nChartQuery\x12\x19\n\x0cinstructions\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x61ta_result_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x0b\x43hartResult\x12\x31\n\x0bvega_config\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12=\n\x05image\x18\x03 \x01(\x0b\x32).google.cloud.geminidataanalytics.v1.BlobB\x03\xe0\x41\x01\"!\n\x0c\x45rrorMessage\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x03\"a\n\x0e\x45xampleQueries\x12O\n\x0f\x65xample_queries\x18\x01 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x01\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\x32\xa7\n\n\x0f\x44\x61taChatService\x12\x9d\x01\n\x04\x43hat\x12\x30.google.cloud.geminidataanalytics.v1.ChatRequest\x1a,.google.cloud.geminidataanalytics.v1.Message\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=projects/*/locations/*}:chat:\x01*0\x01\x12\xf6\x01\n\x12\x43reateConversation\x12>.google.cloud.geminidataanalytics.v1.CreateConversationRequest\x1a\x31.google.cloud.geminidataanalytics.v1.Conversation\"m\xda\x41#parent,conversation,conversation_id\x82\xd3\xe4\x93\x02\x41\"1/v1/{parent=projects/*/locations/*}/conversations:\x0c\x63onversation\x12\xae\x01\n\x12\x44\x65leteConversation\x12>.google.cloud.geminidataanalytics.v1.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/conversations/*}\x12\xc3\x01\n\x0fGetConversation\x12;.google.cloud.geminidataanalytics.v1.GetConversationRequest\x1a\x31.google.cloud.geminidataanalytics.v1.Conversation\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/conversations/*}\x12\xd6\x01\n\x11ListConversations\x12=.google.cloud.geminidataanalytics.v1.ListConversationsRequest\x1a>.google.cloud.geminidataanalytics.v1.ListConversationsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/conversations\x12\xd2\x01\n\x0cListMessages\x12\x38.google.cloud.geminidataanalytics.v1.ListMessagesRequest\x1a\x39.google.cloud.geminidataanalytics.v1.ListMessagesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/conversations/*}/messages\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x02\n\'com.google.cloud.geminidataanalytics.v1B\x14\x44\x61taChatServiceProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1b\x06proto3"
|
|
20
|
+
descriptor_data = "\n;google/cloud/geminidataanalytics/v1/data_chat_service.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/geminidataanalytics/v1/context.proto\x1a\x36google/cloud/geminidataanalytics/v1/conversation.proto\x1a\x35google/cloud/geminidataanalytics/v1/credentials.proto\x1a\x34google/cloud/geminidataanalytics/v1/datasource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa4\x01\n\x13ListMessagesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"v\n\x14ListMessagesResponse\x12\x45\n\x08messages\x18\x01 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.StorageMessage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x0eStorageMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\t\x12=\n\x07message\x18\x02 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.Message\"\xd3\x07\n\x0b\x43hatRequest\x12K\n\x0einline_context\x18\x65 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x01H\x00\x12\x61\n\x16\x63onversation_reference\x18g \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1.ConversationReferenceB\x03\xe0\x41\x01H\x00\x12X\n\x12\x64\x61ta_agent_context\x18h \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1.DataAgentContextB\x03\xe0\x41\x01H\x00\x12q\n\x1f\x63lient_managed_resource_context\x18i \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1.ClientManagedResourceContextB\x03\xe0\x41\x01H\x00\x12S\n\x0flooker_settings\x18\r \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.LookerSettingsB\x03\xe0\x41\x01H\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x08messages\x18\x02 \x03(\x0b\x32,.google.cloud.geminidataanalytics.v1.MessageB\x03\xe0\x41\x02\x12J\n\x0b\x63redentials\x18\x07 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.CredentialsB\x03\xe0\x41\x01\x12Y\n\rthinking_mode\x18\t \x01(\x0e\x32=.google.cloud.geminidataanalytics.v1.ChatRequest.ThinkingModeB\x03\xe0\x41\x01\x12J\n\x05model\x18\x0b \x01(\x0e\x32\x36.google.cloud.geminidataanalytics.v1.ChatRequest.ModelB\x03\xe0\x41\x01\"E\n\x0cThinkingMode\x12\x1d\n\x19THINKING_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46\x41ST\x10\x01\x12\x0c\n\x08THINKING\x10\x02\"3\n\x05Model\x12\x15\n\x11MODEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fLATEST_GA_MODEL\x10\x01\x42\x12\n\x10\x63ontext_providerB\x15\n\x13\x64\x61tasource_settings\"\x8f\x02\n\x10\x44\x61taAgentContext\x12H\n\ndata_agent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12\x62\n\x0f\x63ontext_version\x18\x03 \x01(\x0e\x32\x44.google.cloud.geminidataanalytics.v1.DataAgentContext.ContextVersionB\x03\xe0\x41\x01\"M\n\x0e\x43ontextVersion\x12\x1f\n\x1b\x43ONTEXT_VERSION_UNSPECIFIED\x10\x00\x12\x0b\n\x07STAGING\x10\x01\x12\r\n\tPUBLISHED\x10\x02\"\xbe\x01\n\x15\x43onversationReference\x12M\n\x0c\x63onversation\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\x12V\n\x12\x64\x61ta_agent_context\x18\x03 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1.DataAgentContextB\x03\xe0\x41\x02\"\x9e\x01\n\x1c\x43lientManagedResourceContext\x12I\n\x0einline_context\x18\x01 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x02\x12\x1c\n\x0f\x63onversation_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61gent_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xf6\x01\n\x07Message\x12H\n\x0cuser_message\x18\x02 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.UserMessageH\x00\x12L\n\x0esystem_message\x18\x03 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.SystemMessageH\x00\x12\x32\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nmessage_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x42\x06\n\x04kind\".\n\x0eLookerSettings\x12\x1c\n\x0f\x65nable_dev_mode\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"%\n\x0bUserMessage\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x42\x06\n\x04kind\"\xf2\x04\n\rSystemMessage\x12@\n\x04text\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.TextMessageH\x00\x12\x44\n\x06schema\x18\x02 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.SchemaMessageH\x00\x12@\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.DataMessageH\x00\x12H\n\x08\x61nalysis\x18\x04 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.AnalysisMessageH\x00\x12\x42\n\x05\x63hart\x18\x05 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ChartMessageH\x00\x12\x42\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ErrorMessageH\x00\x12S\n\x0f\x65xample_queries\x18\r \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.ExampleQueriesB\x03\xe0\x41\x01H\x00\x12\x15\n\x08group_id\x18\x0c \x01(\x05H\x01\x88\x01\x01\x12\x44\n\x08\x63itation\x18\x0f \x01(\x0b\x32-.google.cloud.geminidataanalytics.v1.CitationB\x03\xe0\x41\x03\x42\x06\n\x04kindB\x0b\n\t_group_id\"\x82\x02\n\x0bTextMessage\x12\x12\n\x05parts\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12Q\n\ttext_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.geminidataanalytics.v1.TextMessage.TextTypeB\x03\xe0\x41\x01\x12\x1e\n\x11thought_signature\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"l\n\x08TextType\x12\x19\n\x15TEXT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x46INAL_RESPONSE\x10\x01\x12\x0b\n\x07THOUGHT\x10\x02\x12\x0c\n\x08PROGRESS\x10\x03\x12\x16\n\x12\x46OLLOWUP_QUESTIONS\x10\x04\"\x9f\x01\n\rSchemaMessage\x12\x41\n\x05query\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.SchemaQueryH\x00\x12\x43\n\x06result\x18\x02 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.SchemaResultH\x00\x42\x06\n\x04kind\"$\n\x0bSchemaQuery\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\"Y\n\x0cSchemaResult\x12I\n\x0b\x64\x61tasources\x18\x01 \x03(\x0b\x32/.google.cloud.geminidataanalytics.v1.DatasourceB\x03\xe0\x41\x01\"\xc9\x02\n\x0b\x44\x61taMessage\x12?\n\x05query\x18\x01 \x01(\x0b\x32..google.cloud.geminidataanalytics.v1.DataQueryH\x00\x12\x17\n\rgenerated_sql\x18\x02 \x01(\tH\x00\x12\x41\n\x06result\x18\x03 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1.DataResultH\x00\x12I\n\rbig_query_job\x18\x05 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.BigQueryJobH\x00\x12J\n\rmatched_query\x18\x06 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.MatchedQueryH\x00\x42\x06\n\x04kind\"\xd7\x01\n\tDataQuery\x12G\n\x06looker\x18\x04 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.LookerQueryB\x03\xe0\x41\x01H\x00\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12I\n\x0b\x64\x61tasources\x18\x02 \x03(\x0b\x32/.google.cloud.geminidataanalytics.v1.DatasourceB\x03\xe0\x41\x01\x42\x0c\n\nquery_type\"\xc3\x01\n\nDataResult\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12@\n\x06schema\x18\x05 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\x12*\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x34\n\x0e\x66ormatted_data\x18\x06 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xf1\x01\n\x0b\x42igQueryJob\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06job_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12[\n\x11\x64\x65stination_table\x18\x03 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceB\x03\xe0\x41\x01\x12@\n\x06schema\x18\x07 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\"\xac\x01\n\x0f\x41nalysisMessage\x12\x43\n\x05query\x18\x01 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.AnalysisQueryH\x00\x12L\n\x0eprogress_event\x18\x02 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.AnalysisEventH\x00\x42\x06\n\x04kind\"F\n\rAnalysisQuery\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x64\x61ta_result_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\xaa\x02\n\rAnalysisEvent\x12\x1b\n\x11planner_reasoning\x18\x02 \x01(\tH\x00\x12\x1b\n\x11\x63oder_instruction\x18\x03 \x01(\tH\x00\x12\x0e\n\x04\x63ode\x18\x04 \x01(\tH\x00\x12\x1a\n\x10\x65xecution_output\x18\x05 \x01(\tH\x00\x12\x19\n\x0f\x65xecution_error\x18\x06 \x01(\tH\x00\x12 \n\x16result_vega_chart_json\x18\x07 \x01(\tH\x00\x12!\n\x17result_natural_language\x18\x08 \x01(\tH\x00\x12\x19\n\x0fresult_csv_data\x18\t \x01(\tH\x00\x12\x1f\n\x15result_reference_data\x18\n \x01(\tH\x00\x12\x0f\n\x05\x65rror\x18\x0b \x01(\tH\x00\x42\x06\n\x04kind\"\x9c\x01\n\x0c\x43hartMessage\x12@\n\x05query\x18\x01 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1.ChartQueryH\x00\x12\x42\n\x06result\x18\x02 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.ChartResultH\x00\x42\x06\n\x04kind\"F\n\nChartQuery\x12\x19\n\x0cinstructions\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x61ta_result_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x0b\x43hartResult\x12\x31\n\x0bvega_config\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12=\n\x05image\x18\x03 \x01(\x0b\x32).google.cloud.geminidataanalytics.v1.BlobB\x03\xe0\x41\x01\"!\n\x0c\x45rrorMessage\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x03\"a\n\x0e\x45xampleQueries\x12O\n\x0f\x65xample_queries\x18\x01 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x01\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\x32\xa2\x0c\n\x0f\x44\x61taChatService\x12\x9d\x01\n\x04\x43hat\x12\x30.google.cloud.geminidataanalytics.v1.ChatRequest\x1a,.google.cloud.geminidataanalytics.v1.Message\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=projects/*/locations/*}:chat:\x01*0\x01\x12\xf6\x01\n\x12\x43reateConversation\x12>.google.cloud.geminidataanalytics.v1.CreateConversationRequest\x1a\x31.google.cloud.geminidataanalytics.v1.Conversation\"m\xda\x41#parent,conversation,conversation_id\x82\xd3\xe4\x93\x02\x41\"1/v1/{parent=projects/*/locations/*}/conversations:\x0c\x63onversation\x12\xae\x01\n\x12\x44\x65leteConversation\x12>.google.cloud.geminidataanalytics.v1.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/conversations/*}\x12\xf8\x01\n\x12UpdateConversation\x12>.google.cloud.geminidataanalytics.v1.UpdateConversationRequest\x1a\x31.google.cloud.geminidataanalytics.v1.Conversation\"o\xda\x41\x18\x63onversation,update_mask\x82\xd3\xe4\x93\x02N2>/v1/{conversation.name=projects/*/locations/*/conversations/*}:\x0c\x63onversation\x12\xc3\x01\n\x0fGetConversation\x12;.google.cloud.geminidataanalytics.v1.GetConversationRequest\x1a\x31.google.cloud.geminidataanalytics.v1.Conversation\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/conversations/*}\x12\xd6\x01\n\x11ListConversations\x12=.google.cloud.geminidataanalytics.v1.ListConversationsRequest\x1a>.google.cloud.geminidataanalytics.v1.ListConversationsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/conversations\x12\xd2\x01\n\x0cListMessages\x12\x38.google.cloud.geminidataanalytics.v1.ListMessagesRequest\x1a\x39.google.cloud.geminidataanalytics.v1.ListMessagesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/conversations/*}/messages\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x02\n\'com.google.cloud.geminidataanalytics.v1B\x14\x44\x61taChatServiceProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1b\x06proto3"
|
|
21
21
|
|
|
22
22
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
23
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -43,6 +43,8 @@ module Google
|
|
|
43
43
|
rpc :CreateConversation, ::Google::Cloud::GeminiDataAnalytics::V1::CreateConversationRequest, ::Google::Cloud::GeminiDataAnalytics::V1::Conversation
|
|
44
44
|
# Deletes a conversation.
|
|
45
45
|
rpc :DeleteConversation, ::Google::Cloud::GeminiDataAnalytics::V1::DeleteConversationRequest, ::Google::Protobuf::Empty
|
|
46
|
+
# Updates a conversation.
|
|
47
|
+
rpc :UpdateConversation, ::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest, ::Google::Cloud::GeminiDataAnalytics::V1::Conversation
|
|
46
48
|
# Gets details of a single conversation by using conversation id and parent.
|
|
47
49
|
rpc :GetConversation, ::Google::Cloud::GeminiDataAnalytics::V1::GetConversationRequest, ::Google::Cloud::GeminiDataAnalytics::V1::Conversation
|
|
48
50
|
# Lists all conversations for a given parent.
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/protobuf/struct_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n4google/cloud/geminidataanalytics/v1/datasource.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x93\x02\n\x14\x44\x61tasourceReferences\x12J\n\x02\x62q\x18\x01 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1.BigQueryTableReferencesH\x00\x12Q\n\x06studio\x18\x02 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1.StudioDatasourceReferencesH\x00\x12N\n\x06looker\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1.LookerExploreReferencesH\x00\x42\x0c\n\nreferences\"
|
|
11
|
+
descriptor_data = "\n4google/cloud/geminidataanalytics/v1/datasource.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x93\x02\n\x14\x44\x61tasourceReferences\x12J\n\x02\x62q\x18\x01 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1.BigQueryTableReferencesH\x00\x12Q\n\x06studio\x18\x02 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1.StudioDatasourceReferencesH\x00\x12N\n\x06looker\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1.LookerExploreReferencesH\x00\x42\x0c\n\nreferences\"\xe2\x01\n\x17\x42igQueryTableReferences\x12Z\n\x10table_references\x18\x01 \x03(\x0b\x32;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceB\x03\xe0\x41\x01\x12k\n\x19property_graph_references\x18\x02 \x03(\x0b\x32\x43.google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceB\x03\xe0\x41\x01\"\xa3\x01\n\x16\x42igQueryTableReference\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ndataset_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12@\n\x06schema\x18\x06 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\"|\n\x1aStudioDatasourceReferences\x12^\n\x11studio_references\x18\x02 \x03(\x0b\x32>.google.cloud.geminidataanalytics.v1.StudioDatasourceReferenceB\x03\xe0\x41\x01\"7\n\x19StudioDatasourceReference\x12\x1a\n\rdatasource_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"w\n\x17LookerExploreReferences\x12\\\n\x12\x65xplore_references\x18\x01 \x03(\x0b\x32;.google.cloud.geminidataanalytics.v1.LookerExploreReferenceB\x03\xe0\x41\x02\"\x9e\x02\n\x16LookerExploreReference\x12\x1d\n\x13looker_instance_uri\x18\t \x01(\tH\x00\x12\x66\n\x1cprivate_looker_instance_info\x18\n \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1.PrivateLookerInstanceInfoH\x00\x12\x19\n\x0clookml_model\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x65xplore\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12@\n\x06schema\x18\x08 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\x42\n\n\x08instance\"r\n\x1e\x42igQueryPropertyGraphReference\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11property_graph_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"W\n\x19PrivateLookerInstanceInfo\x12\x1a\n\x12looker_instance_id\x18\x01 \x01(\t\x12\x1e\n\x16service_directory_name\x18\x02 \x01(\t\"\xe4\x03\n\nDatasource\x12_\n\x18\x62igquery_table_reference\x18\x01 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceH\x00\x12\x1e\n\x14studio_datasource_id\x18\x02 \x01(\tH\x00\x12_\n\x18looker_explore_reference\x18\x04 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.LookerExploreReferenceH\x00\x12p\n!bigquery_property_graph_reference\x18\x10 \x01(\x0b\x32\x43.google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReferenceH\x00\x12@\n\x06schema\x18\x07 \x01(\x0b\x32+.google.cloud.geminidataanalytics.v1.SchemaB\x03\xe0\x41\x01\x12\x33\n\rstruct_schema\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x42\x0b\n\treference\"\xef\x01\n\x06Schema\x12?\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.google.cloud.geminidataanalytics.v1.FieldB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08synonyms\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x07\x66ilters\x18\x06 \x03(\x0b\x32/.google.cloud.geminidataanalytics.v1.DataFilterB\x03\xe0\x41\x01\"\x95\x02\n\x05\x46ield\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04mode\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08synonyms\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x42\n\tsubfields\x18\t \x03(\x0b\x32*.google.cloud.geminidataanalytics.v1.FieldB\x03\xe0\x41\x01\x12\x15\n\x08\x63\x61tegory\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cvalue_format\x18\x0b \x01(\tB\x03\xe0\x41\x01\"|\n\nDataFilter\x12\x12\n\x05\x66ield\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\x04type\x18\x03 \x01(\x0e\x32\x33.google.cloud.geminidataanalytics.v1.DataFilterTypeB\x03\xe0\x41\x01*E\n\x0e\x44\x61taFilterType\x12 \n\x1c\x44\x41TA_FILTER_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rALWAYS_FILTER\x10\x01\x42\x8c\x02\n\'com.google.cloud.geminidataanalytics.v1B\x0f\x44\x61tasourceProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age
|
|
31
31
|
# is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate)
|
|
32
32
|
# can help the model understand the business context around a user question.
|
|
33
|
+
#
|
|
34
|
+
# Must be at most 250,000 bytes (approx. 250,000 characters for English
|
|
35
|
+
# text).
|
|
33
36
|
# @!attribute [rw] datasource_references
|
|
34
37
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1::DatasourceReferences]
|
|
35
38
|
# Required. Data sources that are available for answering the question.
|
|
@@ -164,15 +167,19 @@ module Google
|
|
|
164
167
|
# Optional. The SQL query that should be generated to answer the natural
|
|
165
168
|
# language question. For example: "SELECT COUNT(*) FROM orders WHERE
|
|
166
169
|
# order_date BETWEEN '2024-01-01' AND '2024-01-31'"
|
|
170
|
+
#
|
|
171
|
+
# Must be at most 50,000 bytes (approx. 50,000 characters).
|
|
167
172
|
# @!attribute [rw] natural_language_question
|
|
168
173
|
# @return [::String]
|
|
169
174
|
# Optional. A natural language question that a user might ask.
|
|
170
175
|
# For example: "How many orders were placed last month?"
|
|
176
|
+
#
|
|
177
|
+
# Must be at most 2,000 bytes (approx. 2,000 characters).
|
|
171
178
|
# @!attribute [rw] parameters
|
|
172
179
|
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::QueryParameter>]
|
|
173
180
|
# Optional. The list of query parameters.
|
|
174
181
|
# Example: The parameterized SQL query
|
|
175
|
-
# "SELECT * FROM my_table WHERE id =
|
|
182
|
+
# "SELECT * FROM my_table WHERE id = `@id`" can be matched with any value of
|
|
176
183
|
# id.
|
|
177
184
|
class ExampleQuery
|
|
178
185
|
include ::Google::Protobuf::MessageExts
|
|
@@ -234,6 +241,8 @@ module Google
|
|
|
234
241
|
# @return [::Array<::String>]
|
|
235
242
|
# Optional. Natural language questions that a user might ask.
|
|
236
243
|
# For example: "How many orders were placed last month?"
|
|
244
|
+
#
|
|
245
|
+
# Must be at most 2,000 bytes per question (approx. 2,000 characters).
|
|
237
246
|
# @!attribute [rw] looker_query
|
|
238
247
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1::LookerQuery]
|
|
239
248
|
# Optional. The Looker Query corresponding to the natural language questions.
|
|
@@ -242,6 +251,71 @@ module Google
|
|
|
242
251
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
243
252
|
end
|
|
244
253
|
|
|
254
|
+
# A dynamic field in Looker (Custom Dimension, Custom Measure, or Table
|
|
255
|
+
# Calculation).
|
|
256
|
+
# @!attribute [rw] category
|
|
257
|
+
# @return [::String]
|
|
258
|
+
# Optional. The type of dynamic field: dimension, measure, table_calculation.
|
|
259
|
+
# Looker can use the category type to specify the name of the dynamic field.
|
|
260
|
+
# However, Looker Conversational Analytics keeps the category separate from
|
|
261
|
+
# the name of the dynamic field. For more details, see
|
|
262
|
+
# https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
|
|
263
|
+
# @!attribute [rw] name
|
|
264
|
+
# @return [::String]
|
|
265
|
+
# Optional. The name of the dynamic field in LookML.
|
|
266
|
+
# @!attribute [rw] label
|
|
267
|
+
# @return [::String]
|
|
268
|
+
# Optional. The label defines the display name of the dynamic field.
|
|
269
|
+
# @!attribute [rw] based_on
|
|
270
|
+
# @return [::String]
|
|
271
|
+
# Optional. For custom measures, this identifies the measure the field is
|
|
272
|
+
# based on.
|
|
273
|
+
# @!attribute [rw] type
|
|
274
|
+
# @return [::String]
|
|
275
|
+
# Optional. For custom measures, this identifies the type of aggregation
|
|
276
|
+
# (e.g. sum).
|
|
277
|
+
# @!attribute [rw] description
|
|
278
|
+
# @return [::String]
|
|
279
|
+
# Optional. Description of the dynamic field.
|
|
280
|
+
# @!attribute [rw] expression
|
|
281
|
+
# @return [::String]
|
|
282
|
+
# Optional. Looker expression to create a table calculation.
|
|
283
|
+
# @!attribute [rw] filter_expression
|
|
284
|
+
# @return [::String]
|
|
285
|
+
# Optional. Looker expression to filter a base measure.
|
|
286
|
+
# @!attribute [rw] value_format
|
|
287
|
+
# @return [::String]
|
|
288
|
+
# Optional. Value format for the dynamic field.
|
|
289
|
+
# @!attribute [rw] value_format_name
|
|
290
|
+
# @return [::String]
|
|
291
|
+
# Optional. Value format name for the dynamic field if using a default named
|
|
292
|
+
# format.
|
|
293
|
+
# @!attribute [rw] calculation_type
|
|
294
|
+
# @return [::String]
|
|
295
|
+
# Optional. Calculation type for table calculations. Refer to
|
|
296
|
+
# https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
|
|
297
|
+
# for all possible values depending on the `category` of dynamic field.
|
|
298
|
+
# @!attribute [rw] args
|
|
299
|
+
# @return [::Array<::String>]
|
|
300
|
+
# Optional. Arguments for custom groups, custom bins, or shortcut
|
|
301
|
+
# calculations. For more details, refer to
|
|
302
|
+
# https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
|
|
303
|
+
# @!attribute [rw] kind_hint
|
|
304
|
+
# @return [::String]
|
|
305
|
+
# Optional. Identifies whether the dynamic field returns a dimension or
|
|
306
|
+
# measure.
|
|
307
|
+
# @!attribute [rw] type_hint
|
|
308
|
+
# @return [::String]
|
|
309
|
+
# Optional. Identifies the data type the dynamic field's expression should
|
|
310
|
+
# produce.
|
|
311
|
+
# @!attribute [rw] is_disabled
|
|
312
|
+
# @return [::Boolean]
|
|
313
|
+
# Optional. Whether the dynamic field is disabled.
|
|
314
|
+
class DynamicField
|
|
315
|
+
include ::Google::Protobuf::MessageExts
|
|
316
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
317
|
+
end
|
|
318
|
+
|
|
245
319
|
# Looker Query Object
|
|
246
320
|
# [Looker API
|
|
247
321
|
# documentation](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
|
|
@@ -263,6 +337,9 @@ module Google
|
|
|
263
337
|
# @!attribute [rw] limit
|
|
264
338
|
# @return [::String]
|
|
265
339
|
# Optional. Limit in the query.
|
|
340
|
+
# @!attribute [rw] dynamic_fields
|
|
341
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::DynamicField>]
|
|
342
|
+
# Optional. The dynamic fields used in the query.
|
|
266
343
|
# @!attribute [rw] query_id
|
|
267
344
|
# @return [::String]
|
|
268
345
|
# Optional. The primary identifier for the query resource in Looker, used for
|
|
@@ -297,11 +374,15 @@ module Google
|
|
|
297
374
|
# @return [::String]
|
|
298
375
|
# Required. User friendly display name of the glossary term being defined.
|
|
299
376
|
# For example: "CTR", "conversion rate", "pending"
|
|
377
|
+
#
|
|
378
|
+
# Must be at most 256 bytes.
|
|
300
379
|
# @!attribute [rw] description
|
|
301
380
|
# @return [::String]
|
|
302
381
|
# Required. The description or meaning of the term.
|
|
303
382
|
# For example: "Click-through rate", "The percentage of users who complete a
|
|
304
383
|
# desired action", "An order that is waiting to be processed."
|
|
384
|
+
#
|
|
385
|
+
# Must be at most 5,000 bytes (approx. 5,000 characters).
|
|
305
386
|
# @!attribute [rw] labels
|
|
306
387
|
# @return [::Array<::String>]
|
|
307
388
|
# Optional. A list of general purpose labels associated to this term.
|
|
@@ -328,14 +409,11 @@ module Google
|
|
|
328
409
|
# Allowed models for the agent/conversation.
|
|
329
410
|
module Model
|
|
330
411
|
# No model specified. The model may be set on the chat request, or the
|
|
331
|
-
# default model will be used.
|
|
332
|
-
# `gemini-3.0-flash-preview`.
|
|
412
|
+
# default model will be used.
|
|
333
413
|
MODEL_UNSPECIFIED = 0
|
|
334
414
|
|
|
335
|
-
# Use the most up-to-date non-preview model.
|
|
336
|
-
#
|
|
337
|
-
# default will change to `gemini-2.5-flash`, and setting `thinking_mode`
|
|
338
|
-
# will not be supported.
|
|
415
|
+
# Use the most up-to-date non-preview model. This may constrain certain
|
|
416
|
+
# request level settings.
|
|
339
417
|
LATEST_GA_MODEL = 1
|
|
340
418
|
end
|
|
341
419
|
end
|
|
@@ -53,6 +53,9 @@ module Google
|
|
|
53
53
|
# Optional. Open-ended and user-defined labels that can be set by the client
|
|
54
54
|
# to tag a conversation (e.g. to filter conversations for specific
|
|
55
55
|
# surfaces/products).
|
|
56
|
+
# @!attribute [rw] title
|
|
57
|
+
# @return [::String]
|
|
58
|
+
# Optional. The display name for the conversation (max 63 chars).
|
|
56
59
|
# @!attribute [rw] kms_key
|
|
57
60
|
# @return [::String]
|
|
58
61
|
# Optional. Customer managed encryption key (CMEK) to use for encrypting the
|
|
@@ -61,9 +64,6 @@ module Google
|
|
|
61
64
|
#
|
|
62
65
|
# Format:
|
|
63
66
|
# projects/\\{project_id}/locations/\\{location}/keyRings/\\{key_ring_name}/cryptoKeys/\\{key_name}.
|
|
64
|
-
# @!attribute [rw] memory_paused
|
|
65
|
-
# @return [::Boolean]
|
|
66
|
-
# Optional. Whether memory is paused for this conversation.
|
|
67
67
|
class Conversation
|
|
68
68
|
include ::Google::Protobuf::MessageExts
|
|
69
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -103,6 +103,30 @@ module Google
|
|
|
103
103
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
+
# Request for updating a conversation.
|
|
107
|
+
# @!attribute [rw] conversation
|
|
108
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
109
|
+
# Required. The resource being updated.
|
|
110
|
+
# @!attribute [rw] update_mask
|
|
111
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
112
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
113
|
+
# Conversation resource by the update.
|
|
114
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
115
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
116
|
+
# user does not provide a mask then all fields with non-default values
|
|
117
|
+
# present in the request will be overwritten. If a wildcard mask is provided,
|
|
118
|
+
# all fields will be overwritten.
|
|
119
|
+
# @!attribute [rw] request_id
|
|
120
|
+
# @return [::String]
|
|
121
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
122
|
+
# request ID so that if you must retry your request, the server will know to
|
|
123
|
+
# ignore the request if it has already been completed. The server will
|
|
124
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
125
|
+
class UpdateConversationRequest
|
|
126
|
+
include ::Google::Protobuf::MessageExts
|
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
128
|
+
end
|
|
129
|
+
|
|
106
130
|
# Request for getting a conversation based on parent and conversation id.
|
|
107
131
|
# @!attribute [rw] name
|
|
108
132
|
# @return [::String]
|
|
@@ -77,6 +77,57 @@ module Google
|
|
|
77
77
|
# DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
|
|
78
78
|
# as the DataAgent. The expected format is
|
|
79
79
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
80
|
+
# @!attribute [rw] bigquery_agent_analytics_enabled
|
|
81
|
+
# @return [::Boolean]
|
|
82
|
+
# Optional. Controls whether BigQuery Agent Analytics trace logging is
|
|
83
|
+
# enabled for the agent.
|
|
84
|
+
#
|
|
85
|
+
# BigQuery Agent Analytics is in Preview and is delivered to enrolled
|
|
86
|
+
# projects only. In a project that is not enrolled this field is accepted
|
|
87
|
+
# and stored, but no trace rows are written and no error is returned.
|
|
88
|
+
#
|
|
89
|
+
# Trace logging is additionally suppressed for the entire turn, without
|
|
90
|
+
# error, when any table in the agent's datasource carries row-level
|
|
91
|
+
# security, column-level security or policy tags. It is also suppressed
|
|
92
|
+
# when that determination cannot be made, for example when the caller
|
|
93
|
+
# lacks permission to list a table's row access policies.
|
|
94
|
+
#
|
|
95
|
+
# Trace rows are written only when this is `true` and
|
|
96
|
+
# `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
|
|
97
|
+
# this without a table has no effect: no table is created for the agent
|
|
98
|
+
# and no rows are written. On an agent whose datasource is not BigQuery,
|
|
99
|
+
# `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
|
|
100
|
+
#
|
|
101
|
+
# This setting is independent of the project-level BigQuery Agent Analytics
|
|
102
|
+
# setting configured through `SetAgentOpsObservability`. An agent does not
|
|
103
|
+
# inherit that setting.
|
|
104
|
+
# @!attribute [rw] bigquery_agent_analytics_table
|
|
105
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference]
|
|
106
|
+
# Optional. The BigQuery table that BigQuery Agent Analytics trace rows are
|
|
107
|
+
# written to. Has no effect unless `bigquery_agent_analytics_enabled` is
|
|
108
|
+
# `true`. The Preview enrollment described on that field applies here too.
|
|
109
|
+
#
|
|
110
|
+
# The trace table is validated when it is set on `CreateDataAgent`, or when
|
|
111
|
+
# it is included in the `update_mask` of an `UpdateDataAgent` call. The
|
|
112
|
+
# following are rejected with `INVALID_ARGUMENT`:
|
|
113
|
+
#
|
|
114
|
+
# * The table must belong to the same project as the agent.
|
|
115
|
+
# * The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
|
|
116
|
+
# supported for Looker, Looker Studio or AlloyDB agents.
|
|
117
|
+
#
|
|
118
|
+
# These are validated against the agent as sent in the request. An agent
|
|
119
|
+
# that carries no datasource is not validated, and an agent switched to a
|
|
120
|
+
# non-BigQuery datasource is not re-validated; in the latter case no trace
|
|
121
|
+
# rows are written.
|
|
122
|
+
#
|
|
123
|
+
# The destination dataset must already exist and must grant write access to
|
|
124
|
+
# the project's Gemini Data Analytics service agent, whose address is
|
|
125
|
+
# `service-PROJECT_NUMBER@gcp-sa-geminidataanalytics.iam.gserviceaccount.com`
|
|
126
|
+
# (that grant is not performed on your behalf). Without it the agent answers
|
|
127
|
+
# normally and no trace rows are written.
|
|
128
|
+
#
|
|
129
|
+
# Changing the table on an existing agent affects subsequent turns only. Rows
|
|
130
|
+
# already written to the previous table are left in place.
|
|
80
131
|
class DataAgent
|
|
81
132
|
include ::Google::Protobuf::MessageExts
|
|
82
133
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -48,6 +48,9 @@ module Google
|
|
|
48
48
|
# @return [::Boolean]
|
|
49
49
|
# Optional. If true, the list results will include soft-deleted DataAgents.
|
|
50
50
|
# Defaults to false.
|
|
51
|
+
# @!attribute [rw] creator_filter
|
|
52
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::ListAccessibleDataAgentsRequest::CreatorFilter]
|
|
53
|
+
# Optional. Filter for the creator of the agent.
|
|
51
54
|
class ListDataAgentsRequest
|
|
52
55
|
include ::Google::Protobuf::MessageExts
|
|
53
56
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -261,6 +264,103 @@ module Google
|
|
|
261
264
|
include ::Google::Protobuf::MessageExts
|
|
262
265
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
263
266
|
end
|
|
267
|
+
|
|
268
|
+
# Request for SetAgentOpsObservability.
|
|
269
|
+
# @!attribute [rw] parent
|
|
270
|
+
# @return [::String]
|
|
271
|
+
# Required. Parent value for SetAgentOpsObservabilityRequest.
|
|
272
|
+
# Format: projects/\\{project}/locations/\\{location}
|
|
273
|
+
# @!attribute [rw] telemetry_enabled
|
|
274
|
+
# @return [::Boolean]
|
|
275
|
+
# Optional. Whether to enable or disable AgentOps observability.
|
|
276
|
+
# When update_mask is provided, this field is ignored unless specified in the
|
|
277
|
+
# mask.
|
|
278
|
+
# @!attribute [rw] data_source_type
|
|
279
|
+
# @return [::String]
|
|
280
|
+
# Required. The data source type for which to set observability settings.
|
|
281
|
+
# Examples: "bigquery", "looker"
|
|
282
|
+
# @!attribute [rw] bqaa_enabled
|
|
283
|
+
# @return [::Boolean]
|
|
284
|
+
# Optional. Whether BigQuery Agent Analytics is enabled.
|
|
285
|
+
# Note: An explicit `update_mask` containing "bqaa_enabled" is required to
|
|
286
|
+
# modify this field. If `update_mask` is omitted, this field is ignored and
|
|
287
|
+
# an existing enabled setting cannot be disabled.
|
|
288
|
+
#
|
|
289
|
+
# This is a project-level setting and does not by itself enable trace
|
|
290
|
+
# logging for any individual agent. Per-agent trace logging is controlled
|
|
291
|
+
# by `DataAgent.bigquery_agent_analytics_enabled` together with
|
|
292
|
+
# `DataAgent.bigquery_agent_analytics_table`; an agent does not inherit
|
|
293
|
+
# this setting.
|
|
294
|
+
# @!attribute [rw] update_mask
|
|
295
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
296
|
+
# Optional. Field mask is used to specify the fields to be overwritten by the
|
|
297
|
+
# update. The fields specified in the update_mask are relative to the
|
|
298
|
+
# resource. A field will be overwritten if it is in the mask.
|
|
299
|
+
#
|
|
300
|
+
# If the user does not provide a mask, only `telemetry_enabled` will be
|
|
301
|
+
# updated (for backward compatibility with legacy callers). Note that
|
|
302
|
+
# disabling BigQuery Agent Analytics (`bqaa_enabled = false`) requires
|
|
303
|
+
# providing an explicit `update_mask` containing "bqaa_enabled".
|
|
304
|
+
#
|
|
305
|
+
# Per AIP-161:
|
|
306
|
+
# - The special wildcard value '*' is supported to update all fields.
|
|
307
|
+
# - Field paths should use snake_case, though camelCase equivalents
|
|
308
|
+
# (`telemetryEnabled`, `bqaaEnabled`) are accepted for REST/JSON
|
|
309
|
+
# transcoding compatibility.
|
|
310
|
+
class SetAgentOpsObservabilityRequest
|
|
311
|
+
include ::Google::Protobuf::MessageExts
|
|
312
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
# Response for SetAgentOpsObservability.
|
|
316
|
+
class SetAgentOpsObservabilityResponse
|
|
317
|
+
include ::Google::Protobuf::MessageExts
|
|
318
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
# Metadata for SetAgentOpsObservability.
|
|
322
|
+
class SetAgentOpsObservabilityMetadata
|
|
323
|
+
include ::Google::Protobuf::MessageExts
|
|
324
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# Request for RetrieveAgentOpsObservability.
|
|
328
|
+
# @!attribute [rw] parent
|
|
329
|
+
# @return [::String]
|
|
330
|
+
# Required. Parent value for RetrieveAgentOpsObservabilityRequest.
|
|
331
|
+
# Format: projects/\\{project}/locations/\\{location}
|
|
332
|
+
# @!attribute [rw] data_source_type
|
|
333
|
+
# @return [::String]
|
|
334
|
+
# Required. The data source type for which to retrieve observability
|
|
335
|
+
# settings. Examples: "bigquery", "looker"
|
|
336
|
+
class RetrieveAgentOpsObservabilityRequest
|
|
337
|
+
include ::Google::Protobuf::MessageExts
|
|
338
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
# Response for RetrieveAgentOpsObservability.
|
|
342
|
+
# @!attribute [r] telemetry_enabled
|
|
343
|
+
# @return [::Boolean]
|
|
344
|
+
# Output only. Whether AgentOps observability telemetry is enabled.
|
|
345
|
+
# @!attribute [r] bigquery_enabled
|
|
346
|
+
# @return [::Boolean]
|
|
347
|
+
# Output only. Whether BigQuery API is enabled.
|
|
348
|
+
# @!attribute [r] cloud_trace_enabled
|
|
349
|
+
# @return [::Boolean]
|
|
350
|
+
# Output only. Whether Cloud Trace API is enabled.
|
|
351
|
+
# @!attribute [r] cloud_monitoring_enabled
|
|
352
|
+
# @return [::Boolean]
|
|
353
|
+
# Output only. Whether Cloud Monitoring API is enabled.
|
|
354
|
+
# @!attribute [r] cloud_logging_enabled
|
|
355
|
+
# @return [::Boolean]
|
|
356
|
+
# Output only. Whether Cloud Logging API is enabled.
|
|
357
|
+
# @!attribute [r] bqaa_enabled
|
|
358
|
+
# @return [::Boolean]
|
|
359
|
+
# Output only. Whether BigQuery Agent Analytics is enabled.
|
|
360
|
+
class RetrieveAgentOpsObservabilityResponse
|
|
361
|
+
include ::Google::Protobuf::MessageExts
|
|
362
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
363
|
+
end
|
|
264
364
|
end
|
|
265
365
|
end
|
|
266
366
|
end
|
|
@@ -135,7 +135,8 @@ module Google
|
|
|
135
135
|
|
|
136
136
|
# Mode of thinking for the agent.
|
|
137
137
|
module ThinkingMode
|
|
138
|
-
# Unspecified thinking mode, agent will use THINKING mode by default
|
|
138
|
+
# Unspecified thinking mode, agent will use THINKING mode by default except
|
|
139
|
+
# for BigQuery user defaulting to FAST mode by default.
|
|
139
140
|
THINKING_MODE_UNSPECIFIED = 0
|
|
140
141
|
|
|
141
142
|
# Fast mode, answers quickly.
|
|
@@ -145,16 +146,13 @@ module Google
|
|
|
145
146
|
THINKING = 2
|
|
146
147
|
end
|
|
147
148
|
|
|
148
|
-
# Model selection for the agent.
|
|
149
|
+
# Model selection for the agent for BigQuery users.
|
|
149
150
|
module Model
|
|
150
|
-
# No model specified.
|
|
151
|
-
# `gemini-3.0-flash-preview`.
|
|
151
|
+
# No model specified. Either preview or non preview model can be used.
|
|
152
152
|
MODEL_UNSPECIFIED = 0
|
|
153
153
|
|
|
154
|
-
# Use the most up-to-date non-preview model.
|
|
155
|
-
#
|
|
156
|
-
# default will change to `gemini-2.5-flash`, and setting `thinking_mode`
|
|
157
|
-
# will not be supported.
|
|
154
|
+
# Use the most up-to-date non-preview model. This may constrain certain
|
|
155
|
+
# request level settings.
|
|
158
156
|
LATEST_GA_MODEL = 1
|
|
159
157
|
end
|
|
160
158
|
end
|
|
@@ -48,6 +48,13 @@ module Google
|
|
|
48
48
|
# @!attribute [rw] table_references
|
|
49
49
|
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::BigQueryTableReference>]
|
|
50
50
|
# Optional. References to BigQuery tables.
|
|
51
|
+
# @!attribute [rw] property_graph_references
|
|
52
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1::BigQueryPropertyGraphReference>]
|
|
53
|
+
# Optional. References to BigQuery graphs.
|
|
54
|
+
#
|
|
55
|
+
# Note: "property graph" is the former name for BigQuery Graph. The field and
|
|
56
|
+
# message names retain the original term for backward compatibility; both
|
|
57
|
+
# refer to the same resource.
|
|
51
58
|
class BigQueryTableReferences
|
|
52
59
|
include ::Google::Protobuf::MessageExts
|
|
53
60
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|