google-cloud-gemini_data_analytics-v1beta 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/client.rb +332 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/client.rb +311 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/service_stub.rb +185 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/version.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/context_pb.rb +4 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_pb.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_services_pb.rb +6 -0
- data/lib/google/cloud/geminidataanalytics/v1beta/data_chat_service_pb.rb +1 -3
- data/lib/google/cloud/geminidataanalytics/v1beta/datasource_pb.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb +57 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb +0 -38
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb +13 -5
- metadata +1 -1
|
@@ -18,7 +18,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
18
18
|
require 'google/protobuf/timestamp_pb'
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
descriptor_data = "\n@google/cloud/geminidataanalytics/v1beta/data_agent_service.proto\x12\'google.cloud.geminidataanalytics.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\x38google/cloud/geminidataanalytics/v1beta/data_agent.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x01\n\x15ListDataAgentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n\x16ListDataAgentsResponse\x12G\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xb7\x03\n\x1fListAccessibleDataAgentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12s\n\x0e\x63reator_filter\x18\x07 \x01(\x0e\x32V.google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.CreatorFilterB\x03\xe0\x41\x01\"a\n\rCreatorFilter\x12\x1e\n\x1a\x43REATOR_FILTER_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0c\x43REATOR_ONLY\x10\x02\x12\x14\n\x10NOT_CREATOR_ONLY\x10\x03\"\x9e\x01\n ListAccessibleDataAgentsResponse\x12G\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"Y\n\x13GetDataAgentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\"\xe8\x01\n\x16\x43reateDataAgentRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x1a\n\rdata_agent_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\ndata_agent\x18\x03 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xbc\x01\n\x16UpdateDataAgentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12K\n\ndata_agent\x18\x02 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"}\n\x16\x44\x65leteDataAgentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\
|
|
21
|
+
descriptor_data = "\n@google/cloud/geminidataanalytics/v1beta/data_agent_service.proto\x12\'google.cloud.geminidataanalytics.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\x38google/cloud/geminidataanalytics/v1beta/data_agent.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x01\n\x15ListDataAgentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n\x16ListDataAgentsResponse\x12G\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xb7\x03\n\x1fListAccessibleDataAgentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12s\n\x0e\x63reator_filter\x18\x07 \x01(\x0e\x32V.google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest.CreatorFilterB\x03\xe0\x41\x01\"a\n\rCreatorFilter\x12\x1e\n\x1a\x43REATOR_FILTER_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0c\x43REATOR_ONLY\x10\x02\x12\x14\n\x10NOT_CREATOR_ONLY\x10\x03\"\x9e\x01\n ListAccessibleDataAgentsResponse\x12G\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"Y\n\x13GetDataAgentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\"\xe8\x01\n\x16\x43reateDataAgentRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x1a\n\rdata_agent_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\ndata_agent\x18\x03 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xbc\x01\n\x16UpdateDataAgentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12K\n\ndata_agent\x18\x02 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataAgentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"}\n\x16\x44\x65leteDataAgentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\x88\x14\n\x10\x44\x61taAgentService\x12\xd6\x01\n\x0eListDataAgents\x12>.google.cloud.geminidataanalytics.v1beta.ListDataAgentsRequest\x1a?.google.cloud.geminidataanalytics.v1beta.ListDataAgentsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{parent=projects/*/locations/*}/dataAgents\x12\x83\x02\n\x18ListAccessibleDataAgents\x12H.google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest\x1aI.google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1beta/{parent=projects/*/locations/*}/dataAgents:listAccessible\x12\xc3\x01\n\x0cGetDataAgent\x12<.google.cloud.geminidataanalytics.v1beta.GetDataAgentRequest\x1a\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{name=projects/*/locations/*/dataAgents/*}\x12\xfd\x01\n\x0f\x43reateDataAgent\x12?.google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1e\n\tDataAgent\x12\x11OperationMetadata\xda\x41\x1fparent,data_agent,data_agent_id\x82\xd3\xe4\x93\x02@\"2/v1beta/{parent=projects/*/locations/*}/dataAgents:\ndata_agent\x12\xff\x01\n\x13\x43reateDataAgentSync\x12?.google.cloud.geminidataanalytics.v1beta.CreateDataAgentRequest\x1a\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\"s\xda\x41\x1fparent,data_agent,data_agent_id\x82\xd3\xe4\x93\x02K\"=/v1beta/{parent=projects/*/locations/*}/dataAgents:createSync:\ndata_agent\x12\xff\x01\n\x0fUpdateDataAgent\x12?.google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41\x1e\n\tDataAgent\x12\x11OperationMetadata\xda\x41\x16\x64\x61ta_agent,update_mask\x82\xd3\xe4\x93\x02K2=/v1beta/{data_agent.name=projects/*/locations/*/dataAgents/*}:\ndata_agent\x12\x81\x02\n\x13UpdateDataAgentSync\x12?.google.cloud.geminidataanalytics.v1beta.UpdateDataAgentRequest\x1a\x32.google.cloud.geminidataanalytics.v1beta.DataAgent\"u\xda\x41\x16\x64\x61ta_agent,update_mask\x82\xd3\xe4\x93\x02V2H/v1beta/{data_agent.name=projects/*/locations/*/dataAgents/*}:updateSync:\ndata_agent\x12\xe1\x01\n\x0f\x44\x65leteDataAgent\x12?.google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1beta/{name=projects/*/locations/*/dataAgents/*}\x12\xbc\x01\n\x13\x44\x65leteDataAgentSync\x12?.google.cloud.geminidataanalytics.v1beta.DeleteDataAgentRequest\x1a\x16.google.protobuf.Empty\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v1beta/{name=projects/*/locations/*/dataAgents/*}:deleteSync\x12\xa4\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Y\xda\x41\x08resource\x82\xd3\xe4\x93\x02H\"C/v1beta/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy:\x01*\x12\xa4\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Y\xda\x41\x08resource\x82\xd3\xe4\x93\x02H\"C/v1beta/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy:\x01*\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa6\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x15\x44\x61taAgentServiceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xaa\x02\'Google.Cloud.GeminiDataAnalytics.V1Beta\xca\x02\'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xea\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
|
|
22
22
|
|
|
23
23
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
24
24
|
|
|
@@ -42,10 +42,16 @@ module Google
|
|
|
42
42
|
rpc :GetDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::GetDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent
|
|
43
43
|
# Creates a new DataAgent in a given project and location.
|
|
44
44
|
rpc :CreateDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::CreateDataAgentRequest, ::Google::Longrunning::Operation
|
|
45
|
+
# Creates a new DataAgent in a given project and location synchronously.
|
|
46
|
+
rpc :CreateDataAgentSync, ::Google::Cloud::GeminiDataAnalytics::V1beta::CreateDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent
|
|
45
47
|
# Updates the parameters of a single DataAgent.
|
|
46
48
|
rpc :UpdateDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateDataAgentRequest, ::Google::Longrunning::Operation
|
|
49
|
+
# Updates the parameters of a single DataAgent synchronously.
|
|
50
|
+
rpc :UpdateDataAgentSync, ::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent
|
|
47
51
|
# Deletes a single DataAgent.
|
|
48
52
|
rpc :DeleteDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::DeleteDataAgentRequest, ::Google::Longrunning::Operation
|
|
53
|
+
# Deletes a single DataAgent synchronously.
|
|
54
|
+
rpc :DeleteDataAgentSync, ::Google::Cloud::GeminiDataAnalytics::V1beta::DeleteDataAgentRequest, ::Google::Protobuf::Empty
|
|
49
55
|
# Gets the IAM policy for DataAgent
|
|
50
56
|
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
51
57
|
# Sets the IAM policy for a DataAgent.
|
|
@@ -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/v1beta/data_chat_service.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/geminidataanalytics/v1beta/context.proto\x1a:google/cloud/geminidataanalytics/v1beta/conversation.proto\x1a\x39google/cloud/geminidataanalytics/v1beta/credentials.proto\x1a\x38google/cloud/geminidataanalytics/v1beta/datasource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x02\n\x10QueryDataRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06prompt\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.QueryDataContextB\x03\xe0\x41\x02\x12[\n\x12generation_options\x18\x04 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.GenerationOptionsB\x03\xe0\x41\x01\"\xb8\x01\n\x11GenerationOptions\x12\"\n\x15generate_query_result\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12-\n generate_natural_language_answer\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14generate_explanation\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12-\n generate_disambiguation_question\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"u\n\x10QueryDataContext\x12\x61\n\x15\x64\x61tasource_references\x18\x01 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xe0\x41\x02\"\xde\x01\n\x11QueryDataResponse\x12\x17\n\x0fgenerated_query\x18\x01 \x01(\t\x12\x1a\n\x12intent_explanation\x18\x02 \x01(\t\x12R\n\x0cquery_result\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult\x12\x1f\n\x17natural_language_answer\x18\x04 \x01(\t\x12\x1f\n\x17\x64isambiguation_question\x18\x05 \x03(\t\"\xa4\x03\n\x13\x45xecutedQueryResult\x12T\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column\x12N\n\x04rows\x18\x02 \x03(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row\x12\x17\n\x0ftotal_row_count\x18\x03 \x01(\x03\x12\x16\n\x0epartial_result\x18\x04 \x01(\x08\x12\x1d\n\x15query_execution_error\x18\x05 \x01(\t\x1a$\n\x06\x43olumn\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x1a\x16\n\x05Value\x12\r\n\x05value\x18\x01 \x01(\t\x1aY\n\x03Row\x12R\n\x06values\x18\x01 \x03(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Value\"\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\"z\n\x14ListMessagesResponse\x12I\n\x08messages\x18\x01 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.StorageMessage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x0eStorageMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\t\x12\x41\n\x07message\x18\x02 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.Message\"\xd4\x04\n\x0b\x43hatRequest\x12O\n\x0einline_context\x18\x65 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.ContextB\x03\xe0\x41\x01H\x00\x12\x65\n\x16\x63onversation_reference\x18g \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.ConversationReferenceB\x03\xe0\x41\x01H\x00\x12\\\n\x12\x64\x61ta_agent_context\x18h \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xe0\x41\x01H\x00\x12u\n\x1f\x63lient_managed_resource_context\x18i \x01(\x0b\x32\x45.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextB\x03\xe0\x41\x01H\x00\x12\x46\n\x07project\x18\x01 \x01(\tB5\x18\x01\xe0\x41\x01\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12G\n\x08messages\x18\x02 \x03(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.MessageB\x03\xe0\x41\x02\x42\x12\n\x10\x63ontext_provider\"\xe3\x02\n\x10\x44\x61taAgentContext\x12H\n\ndata_agent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12N\n\x0b\x63redentials\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.CredentialsB\x03\xe0\x41\x01\x12\x66\n\x0f\x63ontext_version\x18\x03 \x01(\x0e\x32H.google.cloud.geminidataanalytics.v1beta.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\"\xc2\x01\n\x15\x43onversationReference\x12M\n\x0c\x63onversation\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\x12Z\n\x12\x64\x61ta_agent_context\x18\x03 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xe0\x41\x02\"\xa2\x01\n\x1c\x43lientManagedResourceContext\x12M\n\x0einline_context\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.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\"\xfe\x01\n\x07Message\x12L\n\x0cuser_message\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.UserMessageH\x00\x12P\n\x0esystem_message\x18\x03 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.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\x0bUserMessage\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x42\x06\n\x04kind\"\xc8\x04\n\rSystemMessage\x12\x44\n\x04text\x18\x01 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.TextMessageH\x00\x12H\n\x06schema\x18\x02 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.SchemaMessageH\x00\x12\x44\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.DataMessageH\x00\x12L\n\x08\x61nalysis\x18\x04 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1beta.AnalysisMessageH\x00\x12\x46\n\x05\x63hart\x18\x05 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ChartMessageH\x00\x12\x46\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ErrorMessageH\x00\x12W\n\x0f\x65xample_queries\x18\r \x01(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.ExampleQueriesB\x03\xe0\x41\x01H\x00\x12\x15\n\x08group_id\x18\x0c \x01(\x05H\x01\x88\x01\x01\x42\x06\n\x04kindB\x0b\n\t_group_id\"\xce\x01\n\x0bTextMessage\x12\x12\n\x05parts\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12U\n\ttext_type\x18\x02 \x01(\x0e\x32=.google.cloud.geminidataanalytics.v1beta.TextMessage.TextTypeB\x03\xe0\x41\x01\"T\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\"\xa7\x01\n\rSchemaMessage\x12\x45\n\x05query\x18\x01 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.SchemaQueryH\x00\x12G\n\x06result\x18\x02 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.SchemaResultH\x00\x42\x06\n\x04kind\"$\n\x0bSchemaQuery\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\"]\n\x0cSchemaResult\x12M\n\x0b\x64\x61tasources\x18\x01 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xe0\x41\x01\"\xe5\x02\n\x0b\x44\x61taMessage\x12\x43\n\x05query\x18\x01 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataQueryH\x00\x12\x17\n\rgenerated_sql\x18\x02 \x01(\tH\x00\x12\x45\n\x06result\x18\x03 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DataResultH\x00\x12Z\n\x16generated_looker_query\x18\x04 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x02\x18\x01H\x00\x12M\n\rbig_query_job\x18\x05 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.BigQueryJobH\x00\x42\x06\n\x04kind\"\x88\x02\n\x0bLookerQuery\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x65xplore\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ields\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12Q\n\x07\x66ilters\x18\x04 \x03(\x0b\x32;.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterB\x03\xe0\x41\x01\x12\x12\n\x05sorts\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x17\n\x05limit\x18\x06 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x1a\x30\n\x06\x46ilter\x12\x12\n\x05\x66ield\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x08\n\x06_limit\"\xdf\x01\n\tDataQuery\x12K\n\x06looker\x18\x04 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.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\x12M\n\x0b\x64\x61tasources\x18\x02 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xe0\x41\x01\x42\x0c\n\nquery_type\"\x91\x01\n\nDataResult\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x06schema\x18\x05 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xe0\x41\x01\x12*\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xf9\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.v1beta.BigQueryTableReferenceB\x03\xe0\x41\x01\x12\x44\n\x06schema\x18\x07 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xe0\x41\x01\"\xb4\x01\n\x0f\x41nalysisMessage\x12G\n\x05query\x18\x01 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.AnalysisQueryH\x00\x12P\n\x0eprogress_event\x18\x02 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.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\"\xa4\x01\n\x0c\x43hartMessage\x12\x44\n\x05query\x18\x01 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.ChartQueryH\x00\x12\x46\n\x06result\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.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\"\x83\x01\n\x0b\x43hartResult\x12\x31\n\x0bvega_config\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x41\n\x05image\x18\x03 \x01(\x0b\x32-.google.cloud.geminidataanalytics.v1beta.BlobB\x03\xe0\x41\x01\"!\n\x0c\x45rrorMessage\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x03\"e\n\x0e\x45xampleQueries\x12S\n\x0f\x65xample_queries\x18\x01 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.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\xae\x0c\n\x0f\x44\x61taChatService\x12\xa9\x01\n\x04\x43hat\x12\x34.google.cloud.geminidataanalytics.v1beta.ChatRequest\x1a\x30.google.cloud.geminidataanalytics.v1beta.Message\"7\x82\xd3\xe4\x93\x02\x31\",/v1beta/{parent=projects/*/locations/*}:chat:\x01*0\x01\x12\x82\x02\n\x12\x43reateConversation\x12\x42.google.cloud.geminidataanalytics.v1beta.CreateConversationRequest\x1a\x35.google.cloud.geminidataanalytics.v1beta.Conversation\"q\xda\x41#parent,conversation,conversation_id\x82\xd3\xe4\x93\x02\x45\"5/v1beta/{parent=projects/*/locations/*}/conversations:\x0c\x63onversation\x12\xb6\x01\n\x12\x44\x65leteConversation\x12\x42.google.cloud.geminidataanalytics.v1beta.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xcf\x01\n\x0fGetConversation\x12?.google.cloud.geminidataanalytics.v1beta.GetConversationRequest\x1a\x35.google.cloud.geminidataanalytics.v1beta.Conversation\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xe2\x01\n\x11ListConversations\x12\x41.google.cloud.geminidataanalytics.v1beta.ListConversationsRequest\x1a\x42.google.cloud.geminidataanalytics.v1beta.ListConversationsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta/{parent=projects/*/locations/*}/conversations\x12\xde\x01\n\x0cListMessages\x12<.google.cloud.geminidataanalytics.v1beta.ListMessagesRequest\x1a=.google.cloud.geminidataanalytics.v1beta.ListMessagesResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1beta/{parent=projects/*/locations/*/conversations/*}/messages\x12\xc0\x01\n\tQueryData\x12\x39.google.cloud.geminidataanalytics.v1beta.QueryDataRequest\x1a:.google.cloud.geminidataanalytics.v1beta.QueryDataResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1beta/{parent=projects/*/locations/*}:queryData:\x01*\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa5\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x14\x44\x61taChatServiceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xaa\x02\'Google.Cloud.GeminiDataAnalytics.V1Beta\xca\x02\'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xea\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
|
|
20
|
+
descriptor_data = "\n?google/cloud/geminidataanalytics/v1beta/data_chat_service.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/geminidataanalytics/v1beta/context.proto\x1a:google/cloud/geminidataanalytics/v1beta/conversation.proto\x1a\x39google/cloud/geminidataanalytics/v1beta/credentials.proto\x1a\x38google/cloud/geminidataanalytics/v1beta/datasource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x02\n\x10QueryDataRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06prompt\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.QueryDataContextB\x03\xe0\x41\x02\x12[\n\x12generation_options\x18\x04 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.GenerationOptionsB\x03\xe0\x41\x01\"\xb8\x01\n\x11GenerationOptions\x12\"\n\x15generate_query_result\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12-\n generate_natural_language_answer\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14generate_explanation\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12-\n generate_disambiguation_question\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"u\n\x10QueryDataContext\x12\x61\n\x15\x64\x61tasource_references\x18\x01 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xe0\x41\x02\"\xde\x01\n\x11QueryDataResponse\x12\x17\n\x0fgenerated_query\x18\x01 \x01(\t\x12\x1a\n\x12intent_explanation\x18\x02 \x01(\t\x12R\n\x0cquery_result\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult\x12\x1f\n\x17natural_language_answer\x18\x04 \x01(\t\x12\x1f\n\x17\x64isambiguation_question\x18\x05 \x03(\t\"\xa4\x03\n\x13\x45xecutedQueryResult\x12T\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column\x12N\n\x04rows\x18\x02 \x03(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row\x12\x17\n\x0ftotal_row_count\x18\x03 \x01(\x03\x12\x16\n\x0epartial_result\x18\x04 \x01(\x08\x12\x1d\n\x15query_execution_error\x18\x05 \x01(\t\x1a$\n\x06\x43olumn\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x1a\x16\n\x05Value\x12\r\n\x05value\x18\x01 \x01(\t\x1aY\n\x03Row\x12R\n\x06values\x18\x01 \x03(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Value\"\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\"z\n\x14ListMessagesResponse\x12I\n\x08messages\x18\x01 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.StorageMessage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x0eStorageMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\t\x12\x41\n\x07message\x18\x02 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.Message\"\xd4\x04\n\x0b\x43hatRequest\x12O\n\x0einline_context\x18\x65 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.ContextB\x03\xe0\x41\x01H\x00\x12\x65\n\x16\x63onversation_reference\x18g \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.ConversationReferenceB\x03\xe0\x41\x01H\x00\x12\\\n\x12\x64\x61ta_agent_context\x18h \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xe0\x41\x01H\x00\x12u\n\x1f\x63lient_managed_resource_context\x18i \x01(\x0b\x32\x45.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextB\x03\xe0\x41\x01H\x00\x12\x46\n\x07project\x18\x01 \x01(\tB5\x18\x01\xe0\x41\x01\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12G\n\x08messages\x18\x02 \x03(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.MessageB\x03\xe0\x41\x02\x42\x12\n\x10\x63ontext_provider\"\xe3\x02\n\x10\x44\x61taAgentContext\x12H\n\ndata_agent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12N\n\x0b\x63redentials\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.CredentialsB\x03\xe0\x41\x01\x12\x66\n\x0f\x63ontext_version\x18\x03 \x01(\x0e\x32H.google.cloud.geminidataanalytics.v1beta.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\"\xc2\x01\n\x15\x43onversationReference\x12M\n\x0c\x63onversation\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\x12Z\n\x12\x64\x61ta_agent_context\x18\x03 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xe0\x41\x02\"\xa2\x01\n\x1c\x43lientManagedResourceContext\x12M\n\x0einline_context\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.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\"\xfe\x01\n\x07Message\x12L\n\x0cuser_message\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.UserMessageH\x00\x12P\n\x0esystem_message\x18\x03 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.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\x0bUserMessage\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x42\x06\n\x04kind\"\xc8\x04\n\rSystemMessage\x12\x44\n\x04text\x18\x01 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.TextMessageH\x00\x12H\n\x06schema\x18\x02 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.SchemaMessageH\x00\x12\x44\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.DataMessageH\x00\x12L\n\x08\x61nalysis\x18\x04 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1beta.AnalysisMessageH\x00\x12\x46\n\x05\x63hart\x18\x05 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ChartMessageH\x00\x12\x46\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ErrorMessageH\x00\x12W\n\x0f\x65xample_queries\x18\r \x01(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.ExampleQueriesB\x03\xe0\x41\x01H\x00\x12\x15\n\x08group_id\x18\x0c \x01(\x05H\x01\x88\x01\x01\x42\x06\n\x04kindB\x0b\n\t_group_id\"\xce\x01\n\x0bTextMessage\x12\x12\n\x05parts\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12U\n\ttext_type\x18\x02 \x01(\x0e\x32=.google.cloud.geminidataanalytics.v1beta.TextMessage.TextTypeB\x03\xe0\x41\x01\"T\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\"\xa7\x01\n\rSchemaMessage\x12\x45\n\x05query\x18\x01 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.SchemaQueryH\x00\x12G\n\x06result\x18\x02 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.SchemaResultH\x00\x42\x06\n\x04kind\"$\n\x0bSchemaQuery\x12\x15\n\x08question\x18\x01 \x01(\tB\x03\xe0\x41\x01\"]\n\x0cSchemaResult\x12M\n\x0b\x64\x61tasources\x18\x01 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xe0\x41\x01\"\xe5\x02\n\x0b\x44\x61taMessage\x12\x43\n\x05query\x18\x01 \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1beta.DataQueryH\x00\x12\x17\n\rgenerated_sql\x18\x02 \x01(\tH\x00\x12\x45\n\x06result\x18\x03 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DataResultH\x00\x12Z\n\x16generated_looker_query\x18\x04 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x02\x18\x01H\x00\x12M\n\rbig_query_job\x18\x05 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.BigQueryJobH\x00\x42\x06\n\x04kind\"\xdf\x01\n\tDataQuery\x12K\n\x06looker\x18\x04 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.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\x12M\n\x0b\x64\x61tasources\x18\x02 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xe0\x41\x01\x42\x0c\n\nquery_type\"\x91\x01\n\nDataResult\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x06schema\x18\x05 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xe0\x41\x01\x12*\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xf9\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.v1beta.BigQueryTableReferenceB\x03\xe0\x41\x01\x12\x44\n\x06schema\x18\x07 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xe0\x41\x01\"\xb4\x01\n\x0f\x41nalysisMessage\x12G\n\x05query\x18\x01 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.AnalysisQueryH\x00\x12P\n\x0eprogress_event\x18\x02 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.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\"\xa4\x01\n\x0c\x43hartMessage\x12\x44\n\x05query\x18\x01 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.ChartQueryH\x00\x12\x46\n\x06result\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.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\"\x83\x01\n\x0b\x43hartResult\x12\x31\n\x0bvega_config\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x41\n\x05image\x18\x03 \x01(\x0b\x32-.google.cloud.geminidataanalytics.v1beta.BlobB\x03\xe0\x41\x01\"!\n\x0c\x45rrorMessage\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x03\"e\n\x0e\x45xampleQueries\x12S\n\x0f\x65xample_queries\x18\x01 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.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\xae\x0c\n\x0f\x44\x61taChatService\x12\xa9\x01\n\x04\x43hat\x12\x34.google.cloud.geminidataanalytics.v1beta.ChatRequest\x1a\x30.google.cloud.geminidataanalytics.v1beta.Message\"7\x82\xd3\xe4\x93\x02\x31\",/v1beta/{parent=projects/*/locations/*}:chat:\x01*0\x01\x12\x82\x02\n\x12\x43reateConversation\x12\x42.google.cloud.geminidataanalytics.v1beta.CreateConversationRequest\x1a\x35.google.cloud.geminidataanalytics.v1beta.Conversation\"q\xda\x41#parent,conversation,conversation_id\x82\xd3\xe4\x93\x02\x45\"5/v1beta/{parent=projects/*/locations/*}/conversations:\x0c\x63onversation\x12\xb6\x01\n\x12\x44\x65leteConversation\x12\x42.google.cloud.geminidataanalytics.v1beta.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xcf\x01\n\x0fGetConversation\x12?.google.cloud.geminidataanalytics.v1beta.GetConversationRequest\x1a\x35.google.cloud.geminidataanalytics.v1beta.Conversation\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xe2\x01\n\x11ListConversations\x12\x41.google.cloud.geminidataanalytics.v1beta.ListConversationsRequest\x1a\x42.google.cloud.geminidataanalytics.v1beta.ListConversationsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta/{parent=projects/*/locations/*}/conversations\x12\xde\x01\n\x0cListMessages\x12<.google.cloud.geminidataanalytics.v1beta.ListMessagesRequest\x1a=.google.cloud.geminidataanalytics.v1beta.ListMessagesResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1beta/{parent=projects/*/locations/*/conversations/*}/messages\x12\xc0\x01\n\tQueryData\x12\x39.google.cloud.geminidataanalytics.v1beta.QueryDataRequest\x1a:.google.cloud.geminidataanalytics.v1beta.QueryDataResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1beta/{parent=projects/*/locations/*}:queryData:\x01*\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa5\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x14\x44\x61taChatServiceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xaa\x02\'Google.Cloud.GeminiDataAnalytics.V1Beta\xca\x02\'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xea\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
|
|
21
21
|
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
23
23
|
|
|
@@ -77,8 +77,6 @@ module Google
|
|
|
77
77
|
SchemaQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.SchemaQuery").msgclass
|
|
78
78
|
SchemaResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.SchemaResult").msgclass
|
|
79
79
|
DataMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.DataMessage").msgclass
|
|
80
|
-
LookerQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.LookerQuery").msgclass
|
|
81
|
-
LookerQuery::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter").msgclass
|
|
82
80
|
DataQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.DataQuery").msgclass
|
|
83
81
|
DataResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.DataResult").msgclass
|
|
84
82
|
BigQueryJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.BigQueryJob").msgclass
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/geminidataanalytics/v1beta/credentials_pb'
|
|
|
10
10
|
require 'google/protobuf/struct_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n8google/cloud/geminidataanalytics/v1beta/datasource.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a;google/cloud/geminidataanalytics/v1beta/agent_context.proto\x1a\x39google/cloud/geminidataanalytics/v1beta/credentials.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa0\x04\n\x14\x44\x61tasourceReferences\x12N\n\x02\x62q\x18\x01 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferencesH\x00\x12U\n\x06studio\x18\x02 \x01(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferencesH\x00\x12R\n\x06looker\x18\x03 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.LookerExploreReferencesH\x00\x12L\n\x07\x61lloydb\x18\x08 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\n\x11spanner_reference\x18\t \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\n\x13\x63loud_sql_reference\x18\n \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00\x42\x0c\n\nreferences\"y\n\x17\x42igQueryTableReferences\x12^\n\x10table_references\x18\x01 \x03(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xe0\x41\
|
|
13
|
+
descriptor_data = "\n8google/cloud/geminidataanalytics/v1beta/datasource.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a;google/cloud/geminidataanalytics/v1beta/agent_context.proto\x1a\x39google/cloud/geminidataanalytics/v1beta/credentials.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa0\x04\n\x14\x44\x61tasourceReferences\x12N\n\x02\x62q\x18\x01 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferencesH\x00\x12U\n\x06studio\x18\x02 \x01(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferencesH\x00\x12R\n\x06looker\x18\x03 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.LookerExploreReferencesH\x00\x12L\n\x07\x61lloydb\x18\x08 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\n\x11spanner_reference\x18\t \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\n\x13\x63loud_sql_reference\x18\n \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00\x42\x0c\n\nreferences\"y\n\x17\x42igQueryTableReferences\x12^\n\x10table_references\x18\x01 \x03(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xe0\x41\x01\"\xa7\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\x44\n\x06schema\x18\x06 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xe0\x41\x01\"{\n\x1aStudioDatasourceReferences\x12]\n\x11studio_references\x18\x02 \x03(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference\"7\n\x19StudioDatasourceReference\x12\x1a\n\rdatasource_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xdc\x01\n\x10\x41lloyDbReference\x12\x62\n\x12\x64\x61tabase_reference\x18\x01 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReferenceB\x03\xe0\x41\x02\x12\x64\n\x17\x61gent_context_reference\x18\x03 \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xe0\x41\x01\"\xad\x01\n\x18\x41lloyDbDatabaseReference\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\ttable_ids\x18\x06 \x03(\tB\x03\xe0\x41\x01\"\xdc\x01\n\x10SpannerReference\x12\x62\n\x12\x64\x61tabase_reference\x18\x01 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReferenceB\x03\xe0\x41\x02\x12\x64\n\x17\x61gent_context_reference\x18\x02 \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xe0\x41\x01\"\xb5\x02\n\x18SpannerDatabaseReference\x12]\n\x06\x65ngine\x18\x06 \x01(\x0e\x32H.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference.EngineB\x03\xe0\x41\x02\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\ttable_ids\x18\x05 \x03(\tB\x03\xe0\x41\x01\"@\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\x0e\n\nGOOGLE_SQL\x10\x01\x12\x0e\n\nPOSTGRESQL\x10\x02\"\xde\x01\n\x11\x43loudSqlReference\x12\x63\n\x12\x64\x61tabase_reference\x18\x01 \x01(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReferenceB\x03\xe0\x41\x02\x12\x64\n\x17\x61gent_context_reference\x18\x02 \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xe0\x41\x01\"\xb2\x02\n\x19\x43loudSqlDatabaseReference\x12^\n\x06\x65ngine\x18\x01 \x01(\x0e\x32I.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference.EngineB\x03\xe0\x41\x02\x12\x17\n\nproject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\ttable_ids\x18\x07 \x03(\tB\x03\xe0\x41\x01\";\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\x0e\n\nPOSTGRESQL\x10\x01\x12\t\n\x05MYSQL\x10\x02\"\xcb\x01\n\x17LookerExploreReferences\x12`\n\x12\x65xplore_references\x18\x01 \x03(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceB\x03\xe0\x41\x02\x12N\n\x0b\x63redentials\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.CredentialsB\x03\xe0\x41\x01\"\xa6\x02\n\x16LookerExploreReference\x12\x1d\n\x13looker_instance_uri\x18\t \x01(\tH\x00\x12j\n\x1cprivate_looker_instance_info\x18\n \x01(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.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\x44\n\x06schema\x18\x08 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xe0\x41\x01\x42\n\n\x08instance\"W\n\x19PrivateLookerInstanceInfo\x12\x1a\n\x12looker_instance_id\x18\x01 \x01(\t\x12\x1e\n\x16service_directory_name\x18\x02 \x01(\t\"\x8a\x05\n\nDatasource\x12\x63\n\x18\x62igquery_table_reference\x18\x01 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceH\x00\x12\x1e\n\x14studio_datasource_id\x18\x02 \x01(\tH\x00\x12\x63\n\x18looker_explore_reference\x18\x04 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceH\x00\x12W\n\x12\x61lloy_db_reference\x18\x0c \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\n\x11spanner_reference\x18\r \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\n\x13\x63loud_sql_reference\x18\x0e \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00\x12\x44\n\x06schema\x18\x07 \x01(\x0b\x32/.google.cloud.geminidataanalytics.v1beta.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\"\xf7\x01\n\x06Schema\x12\x43\n\x06\x66ields\x18\x01 \x03(\x0b\x32..google.cloud.geminidataanalytics.v1beta.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\x12I\n\x07\x66ilters\x18\x06 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.DataFilterB\x03\xe0\x41\x01\"\x99\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\x46\n\tsubfields\x18\t \x03(\x0b\x32..google.cloud.geminidataanalytics.v1beta.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\"\x80\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\x12J\n\x04type\x18\x03 \x01(\x0e\x32\x37.google.cloud.geminidataanalytics.v1beta.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\xa0\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x0f\x44\x61tasourceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xaa\x02\'Google.Cloud.GeminiDataAnalytics.V1Beta\xca\x02\'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xea\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
|
@@ -41,6 +41,11 @@ module Google
|
|
|
41
41
|
# Optional. A list of example queries, providing examples of relevant and
|
|
42
42
|
# commonly used SQL queries and their corresponding natural language queries
|
|
43
43
|
# optionally present. Currently only used for BigQuery data sources.
|
|
44
|
+
# @!attribute [rw] looker_golden_queries
|
|
45
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::LookerGoldenQuery>]
|
|
46
|
+
# Optional. A list of golden queries, providing examples of relevant and
|
|
47
|
+
# commonly used Looker queries and their corresponding natural language
|
|
48
|
+
# queries optionally present.
|
|
44
49
|
# @!attribute [rw] glossary_terms
|
|
45
50
|
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::GlossaryTerm>]
|
|
46
51
|
# Optional. Term definitions (currently, only user authored)
|
|
@@ -126,6 +131,58 @@ module Google
|
|
|
126
131
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
127
132
|
end
|
|
128
133
|
|
|
134
|
+
# A golden query for Looker, including natural language questions and a
|
|
135
|
+
# corresponding Looker Query. Analogous to ExampleQuery.
|
|
136
|
+
# @!attribute [rw] natural_language_questions
|
|
137
|
+
# @return [::Array<::String>]
|
|
138
|
+
# Optional. Natural language questions that a user might ask.
|
|
139
|
+
# For example: "How many orders were placed last month?"
|
|
140
|
+
# @!attribute [rw] looker_query
|
|
141
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::LookerQuery]
|
|
142
|
+
# Optional. The Looker Query corresponding to the natural language questions.
|
|
143
|
+
class LookerGoldenQuery
|
|
144
|
+
include ::Google::Protobuf::MessageExts
|
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Looker Query Object
|
|
149
|
+
# [Looker API
|
|
150
|
+
# documentation](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
|
|
151
|
+
# @!attribute [rw] model
|
|
152
|
+
# @return [::String]
|
|
153
|
+
# Required. The LookML model used to generate the query.
|
|
154
|
+
# @!attribute [rw] explore
|
|
155
|
+
# @return [::String]
|
|
156
|
+
# Required. The LookML explore used to generate the query.
|
|
157
|
+
# @!attribute [rw] fields
|
|
158
|
+
# @return [::Array<::String>]
|
|
159
|
+
# Optional. The fields to retrieve from the explore.
|
|
160
|
+
# @!attribute [rw] filters
|
|
161
|
+
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::LookerQuery::Filter>]
|
|
162
|
+
# Optional. The filters to apply to the explore.
|
|
163
|
+
# @!attribute [rw] sorts
|
|
164
|
+
# @return [::Array<::String>]
|
|
165
|
+
# Optional. The sorts to apply to the explore.
|
|
166
|
+
# @!attribute [rw] limit
|
|
167
|
+
# @return [::String]
|
|
168
|
+
# Optional. Limit in the query.
|
|
169
|
+
class LookerQuery
|
|
170
|
+
include ::Google::Protobuf::MessageExts
|
|
171
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
172
|
+
|
|
173
|
+
# A Looker query filter.
|
|
174
|
+
# @!attribute [rw] field
|
|
175
|
+
# @return [::String]
|
|
176
|
+
# Required. The field to filter on.
|
|
177
|
+
# @!attribute [rw] value
|
|
178
|
+
# @return [::String]
|
|
179
|
+
# Required. The value for the field to filter on.
|
|
180
|
+
class Filter
|
|
181
|
+
include ::Google::Protobuf::MessageExts
|
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
129
186
|
# Definition of a term within a specific domain.
|
|
130
187
|
# @!attribute [rw] display_name
|
|
131
188
|
# @return [::String]
|
|
@@ -506,44 +506,6 @@ module Google
|
|
|
506
506
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
507
507
|
end
|
|
508
508
|
|
|
509
|
-
# A query for retrieving data from a Looker Explore. See
|
|
510
|
-
# [Run Inline
|
|
511
|
-
# Query](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
|
|
512
|
-
# @!attribute [rw] model
|
|
513
|
-
# @return [::String]
|
|
514
|
-
# Required. The LookML model used to generate the query.
|
|
515
|
-
# @!attribute [rw] explore
|
|
516
|
-
# @return [::String]
|
|
517
|
-
# Required. The LookML Explore used to generate the query.
|
|
518
|
-
# @!attribute [rw] fields
|
|
519
|
-
# @return [::Array<::String>]
|
|
520
|
-
# Optional. The fields to retrieve from the Explore.
|
|
521
|
-
# @!attribute [rw] filters
|
|
522
|
-
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::LookerQuery::Filter>]
|
|
523
|
-
# Optional. The filters to apply to the Explore.
|
|
524
|
-
# @!attribute [rw] sorts
|
|
525
|
-
# @return [::Array<::String>]
|
|
526
|
-
# Optional. The sorts to apply to the Explore.
|
|
527
|
-
# @!attribute [rw] limit
|
|
528
|
-
# @return [::String]
|
|
529
|
-
# Optional. Limit in the query.
|
|
530
|
-
class LookerQuery
|
|
531
|
-
include ::Google::Protobuf::MessageExts
|
|
532
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
533
|
-
|
|
534
|
-
# A Looker query filter.
|
|
535
|
-
# @!attribute [rw] field
|
|
536
|
-
# @return [::String]
|
|
537
|
-
# Required. The field to filter on.
|
|
538
|
-
# @!attribute [rw] value
|
|
539
|
-
# @return [::String]
|
|
540
|
-
# Required. The value f field to filter on.
|
|
541
|
-
class Filter
|
|
542
|
-
include ::Google::Protobuf::MessageExts
|
|
543
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
544
|
-
end
|
|
545
|
-
end
|
|
546
|
-
|
|
547
509
|
# A query for retrieving data.
|
|
548
510
|
# @!attribute [rw] looker
|
|
549
511
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::LookerQuery]
|
|
@@ -39,17 +39,20 @@ module Google
|
|
|
39
39
|
# Note: The following fields are mutually exclusive: `looker`, `bq`, `studio`, `alloydb`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
40
40
|
# @!attribute [rw] alloydb
|
|
41
41
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::AlloyDbReference]
|
|
42
|
-
# Reference to an AlloyDB database.
|
|
42
|
+
# Reference to an AlloyDB database. Only supported for the `QueryData`
|
|
43
|
+
# method.
|
|
43
44
|
#
|
|
44
45
|
# Note: The following fields are mutually exclusive: `alloydb`, `bq`, `studio`, `looker`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
45
46
|
# @!attribute [rw] spanner_reference
|
|
46
47
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerReference]
|
|
47
|
-
# Reference to a Spanner database.
|
|
48
|
+
# Reference to a Spanner database. Only supported for the `QueryData`
|
|
49
|
+
# method.
|
|
48
50
|
#
|
|
49
51
|
# Note: The following fields are mutually exclusive: `spanner_reference`, `bq`, `studio`, `looker`, `alloydb`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
50
52
|
# @!attribute [rw] cloud_sql_reference
|
|
51
53
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlReference]
|
|
52
|
-
# Reference to a CloudSql database.
|
|
54
|
+
# Reference to a CloudSql database. Only supported for the `QueryData`
|
|
55
|
+
# method.
|
|
53
56
|
#
|
|
54
57
|
# Note: The following fields are mutually exclusive: `cloud_sql_reference`, `bq`, `studio`, `looker`, `alloydb`, `spanner_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
55
58
|
class DatasourceReferences
|
|
@@ -57,10 +60,12 @@ module Google
|
|
|
57
60
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
58
61
|
end
|
|
59
62
|
|
|
60
|
-
# Message representing references to BigQuery tables.
|
|
63
|
+
# Message representing references to BigQuery tables and property graphs.
|
|
64
|
+
# At least one of `table_references` or `property_graph_references` must be
|
|
65
|
+
# populated.
|
|
61
66
|
# @!attribute [rw] table_references
|
|
62
67
|
# @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryTableReference>]
|
|
63
|
-
#
|
|
68
|
+
# Optional. References to BigQuery tables.
|
|
64
69
|
class BigQueryTableReferences
|
|
65
70
|
include ::Google::Protobuf::MessageExts
|
|
66
71
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -103,6 +108,7 @@ module Google
|
|
|
103
108
|
end
|
|
104
109
|
|
|
105
110
|
# Message representing reference to an AlloyDB database and agent context.
|
|
111
|
+
# Only supported for the `QueryData` method.
|
|
106
112
|
# @!attribute [rw] database_reference
|
|
107
113
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::AlloyDbDatabaseReference]
|
|
108
114
|
# Required. Singular proto that supports specifying which database and tables
|
|
@@ -140,6 +146,7 @@ module Google
|
|
|
140
146
|
end
|
|
141
147
|
|
|
142
148
|
# Message representing reference to a Spanner database and agent context.
|
|
149
|
+
# Only supported for the `QueryData` method.
|
|
143
150
|
# @!attribute [rw] database_reference
|
|
144
151
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerDatabaseReference]
|
|
145
152
|
# Required. Singular proto that supports specifying which database and tables
|
|
@@ -189,6 +196,7 @@ module Google
|
|
|
189
196
|
end
|
|
190
197
|
|
|
191
198
|
# Message representing reference to a CloudSQL database and agent context.
|
|
199
|
+
# Only supported for the `QueryData` method.
|
|
192
200
|
# @!attribute [rw] database_reference
|
|
193
201
|
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlDatabaseReference]
|
|
194
202
|
# Required. Singular proto that supports specifying which database and tables
|