google-cloud-gemini_data_analytics-v1 0.a → 0.1.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/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/gemini_data_analytics/v1/bindings_override.rb +75 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/client.rb +1635 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/credentials.rb +47 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/operations.rb +841 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/paths.rb +90 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/client.rb +1523 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/operations.rb +925 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/service_stub.rb +758 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest.rb +54 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service.rb +56 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/client.rb +1063 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/credentials.rb +47 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/paths.rb +109 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/client.rb +988 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/service_stub.rb +443 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest.rb +55 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service.rb +57 -0
- data/lib/google/cloud/gemini_data_analytics/v1/rest.rb +39 -0
- data/lib/google/cloud/gemini_data_analytics/v1/version.rb +7 -2
- data/lib/google/cloud/gemini_data_analytics/v1.rb +46 -0
- data/lib/google/cloud/geminidataanalytics/v1/context_pb.rb +49 -0
- data/lib/google/cloud/geminidataanalytics/v1/conversation_pb.rb +31 -0
- data/lib/google/cloud/geminidataanalytics/v1/credentials_pb.rb +26 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_pb.rb +26 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_pb.rb +43 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_services_pb.rb +66 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_analytics_agent_pb.rb +24 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_pb.rb +64 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_services_pb.rb +59 -0
- data/lib/google/cloud/geminidataanalytics/v1/datasource_pb.rb +37 -0
- data/lib/google-cloud-gemini_data_analytics-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/context.rb +450 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/conversation.rb +167 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/credentials.rb +74 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent.rb +96 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent_service.rb +267 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_analytics_agent.rb +46 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_chat_service.rb +689 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/datasource.rb +304 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
- data/proto_docs/google/iam/v1/options.rb +50 -0
- data/proto_docs/google/iam/v1/policy.rb +426 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/protobuf/wrappers.rb +148 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +127 -9
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/context.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/geminidataanalytics/v1/datasource_pb'
|
|
10
|
+
require 'google/protobuf/wrappers_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n1google/cloud/geminidataanalytics/v1/context.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/geminidataanalytics/v1/datasource.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x90\t\n\x07\x43ontext\x12\x1f\n\x12system_instruction\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12]\n\x15\x64\x61tasource_references\x18\x07 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1.DatasourceReferencesB\x03\xe0\x41\x02\x12N\n\x07options\x18\x03 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1.ConversationOptionsB\x03\xe0\x41\x01\x12O\n\x0f\x65xample_queries\x18\x05 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x01\x12Z\n\x15looker_golden_queries\x18\x0b \x03(\x0b\x32\x36.google.cloud.geminidataanalytics.v1.LookerGoldenQueryB\x03\xe0\x41\x01\x12N\n\x0eglossary_terms\x18\x08 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.GlossaryTermB\x03\xe0\x41\x01\x12\x62\n\x14schema_relationships\x18\t \x03(\x0b\x32?.google.cloud.geminidataanalytics.v1.Context.SchemaRelationshipB\x03\xe0\x41\x01\x12O\n\x0euser_functions\x18\n \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.UserFunctionsB\x03\xe0\x41\x01\x1a\x82\x04\n\x12SchemaRelationship\x12\x66\n\x11left_schema_paths\x18\x01 \x01(\x0b\x32K.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths\x12g\n\x12right_schema_paths\x18\x02 \x01(\x0b\x32K.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths\x12\\\n\x07sources\x18\x03 \x03(\x0e\x32\x46.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SourceB\x03\xe0\x41\x01\x12\x1d\n\x10\x63onfidence_score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01\x1a/\n\x0bSchemaPaths\x12\x11\n\ttable_fqn\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\"m\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x42IGQUERY_JOB_HISTORY\x10\x01\x12\x11\n\rLLM_SUGGESTED\x10\x02\x12\x1e\n\x1a\x42IGQUERY_TABLE_CONSTRAINTS\x10\x03\"Z\n\rUserFunctions\x12I\n\x0b\x62q_routines\x18\x01 \x03(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.BigQueryRoutine\"\x80\x01\n\x0f\x42igQueryRoutine\x12X\n\x11routine_reference\x18\x01 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1.BigQueryRoutineReference\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"V\n\x18\x42igQueryRoutineReference\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x12\n\nroutine_id\x18\x03 \x01(\t\"\xa7\x01\n\x0c\x45xampleQuery\x12\x18\n\tsql_query\x18\x65 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x19natural_language_question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12L\n\nparameters\x18\x03 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.QueryParameterB\x03\xe0\x41\x01\x42\x07\n\x05query\"U\n\x0eQueryParameter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdata_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb3\x01\n\x0cMatchedQuery\x12H\n\rexample_query\x18\x01 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQuery\x12Y\n\x16query_parameter_values\x18\x02 \x03(\x0b\x32\x39.google.cloud.geminidataanalytics.v1.QueryParameterValues\"=\n\x14QueryParameterValues\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x89\x01\n\x11LookerGoldenQuery\x12\'\n\x1anatural_language_questions\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12K\n\x0clooker_query\x18\x05 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.LookerQueryB\x03\xe0\x41\x01\"\xe7\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\x12M\n\x07\x66ilters\x18\x04 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1.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\x12\x1a\n\x08query_id\x18\n \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x1b\n\tclient_id\x18\x0b \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x1a?\n\x06\x46ilter\x12\x12\n\x05\x66ield\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x08\n\x06_valueB\x08\n\x06_limitB\x0b\n\t_query_idB\x0c\n\n_client_id\"X\n\x0cGlossaryTerm\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06labels\x18\x03 \x03(\tB\x03\xe0\x41\x01\"\xcb\x02\n\x13\x43onversationOptions\x12K\n\x08\x61nalysis\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.AnalysisOptionsB\x03\xe0\x41\x01\x12O\n\ndatasource\x18\x03 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1.DatasourceOptionsB\x03\xe0\x41\x01\x12W\n\x05model\x18\x06 \x01(\x0e\x32>.google.cloud.geminidataanalytics.v1.ConversationOptions.ModelB\x03\xe0\x41\x01H\x00\x88\x01\x01\"3\n\x05Model\x12\x15\n\x11MODEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fLATEST_GA_MODEL\x10\x01\x42\x08\n\x06_model\"Y\n\x11\x44\x61tasourceOptions\x12\x44\n\x1a\x62ig_query_max_billed_bytes\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x01\"\x83\x01\n\x0f\x41nalysisOptions\x12P\n\x06python\x18\x01 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.AnalysisOptions.PythonB\x03\xe0\x41\x01\x1a\x1e\n\x06Python\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xa0\x01\n\x08\x43itation\x12I\n\x07sources\x18\x01 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.CitationSourceB\x03\xe0\x41\x03\x12I\n\x07\x61nchors\x18\x02 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.CitationAnchorB\x03\xe0\x41\x03\"\xfa\x01\n\x0e\x43itationSource\x12\x12\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12O\n\rexample_query\x18\x04 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x03H\x00\x12O\n\rglossary_term\x18\x05 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.GlossaryTermB\x03\xe0\x41\x03H\x00\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\r\n\x0bsource_type\"\xa2\x02\n\x0e\x43itationAnchor\x12q\n\x13text_message_anchor\x18\x01 \x01(\x0b\x32M.google.cloud.geminidataanalytics.v1.CitationAnchor.TextMessageCitationAnchorB\x03\xe0\x41\x03H\x00\x1a\x8d\x01\n\x19TextMessageCitationAnchor\x12\x17\n\npart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12start_offset_bytes\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1d\n\x10\x65nd_offset_bytes\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nsource_ids\x18\x04 \x03(\tB\x03\xe0\x41\x03\x42\r\n\x0b\x61nchor_typeB\x89\x02\n\'com.google.cloud.geminidataanalytics.v1B\x0c\x43ontextProtoP\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"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Cloud
|
|
20
|
+
module GeminiDataAnalytics
|
|
21
|
+
module V1
|
|
22
|
+
Context = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Context").msgclass
|
|
23
|
+
Context::SchemaRelationship = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Context.SchemaRelationship").msgclass
|
|
24
|
+
Context::SchemaRelationship::SchemaPaths = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths").msgclass
|
|
25
|
+
Context::SchemaRelationship::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source").enummodule
|
|
26
|
+
UserFunctions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.UserFunctions").msgclass
|
|
27
|
+
BigQueryRoutine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.BigQueryRoutine").msgclass
|
|
28
|
+
BigQueryRoutineReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.BigQueryRoutineReference").msgclass
|
|
29
|
+
ExampleQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ExampleQuery").msgclass
|
|
30
|
+
QueryParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.QueryParameter").msgclass
|
|
31
|
+
MatchedQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.MatchedQuery").msgclass
|
|
32
|
+
QueryParameterValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.QueryParameterValues").msgclass
|
|
33
|
+
LookerGoldenQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerGoldenQuery").msgclass
|
|
34
|
+
LookerQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerQuery").msgclass
|
|
35
|
+
LookerQuery::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerQuery.Filter").msgclass
|
|
36
|
+
GlossaryTerm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.GlossaryTerm").msgclass
|
|
37
|
+
ConversationOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ConversationOptions").msgclass
|
|
38
|
+
ConversationOptions::Model = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ConversationOptions.Model").enummodule
|
|
39
|
+
DatasourceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DatasourceOptions").msgclass
|
|
40
|
+
AnalysisOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.AnalysisOptions").msgclass
|
|
41
|
+
AnalysisOptions::Python = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.AnalysisOptions.Python").msgclass
|
|
42
|
+
Citation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Citation").msgclass
|
|
43
|
+
CitationSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.CitationSource").msgclass
|
|
44
|
+
CitationAnchor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.CitationAnchor").msgclass
|
|
45
|
+
CitationAnchor::TextMessageCitationAnchor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.CitationAnchor.TextMessageCitationAnchor").msgclass
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/conversation.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/field_info_pb'
|
|
9
|
+
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n6google/cloud/geminidataanalytics/v1/conversation.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x04\n\x0c\x43onversation\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x08\x12\x13\n\x06\x61gents\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x37\n\x0elast_used_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x06labels\x18\t \x03(\x0b\x32=.google.cloud.geminidataanalytics.v1.Conversation.LabelsEntryB\x03\xe0\x41\x01\x12?\n\x07kms_key\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\x00\x88\x01\x01\x12\x1f\n\rmemory_paused\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x98\x01\xea\x41\x94\x01\n/geminidataanalytics.googleapis.com/Conversation\x12\x44projects/{project}/locations/{location}/conversations/{conversation}*\rconversations2\x0c\x63onversationB\n\n\x08_kms_keyB\x10\n\x0e_memory_paused\"\xf1\x01\n\x19\x43reateConversationRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/geminidataanalytics.googleapis.com/Conversation\x12\x1c\n\x0f\x63onversation_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12L\n\x0c\x63onversation\x18\x03 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ConversationB\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\"_\n\x16GetConversationRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\"\xa9\x01\n\x18ListConversationsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/geminidataanalytics.googleapis.com/Conversation\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\"~\n\x19ListConversationsResponse\x12H\n\rconversations\x18\x01 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.Conversation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"b\n\x19\x44\x65leteConversationRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/ConversationB\xa1\x03\n\'com.google.cloud.geminidataanalytics.v1B\x11\x43onversationProtoP\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::V1\xea\x41\x8f\x01\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}*\ncryptoKeys2\tcryptoKeyb\x06proto3"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Cloud
|
|
20
|
+
module GeminiDataAnalytics
|
|
21
|
+
module V1
|
|
22
|
+
Conversation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Conversation").msgclass
|
|
23
|
+
CreateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.CreateConversationRequest").msgclass
|
|
24
|
+
GetConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.GetConversationRequest").msgclass
|
|
25
|
+
ListConversationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListConversationsRequest").msgclass
|
|
26
|
+
ListConversationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListConversationsResponse").msgclass
|
|
27
|
+
DeleteConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DeleteConversationRequest").msgclass
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/credentials.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n5google/cloud/geminidataanalytics/v1/credentials.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\"]\n\x0b\x43redentials\x12\x46\n\x05oauth\x18\x01 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1.OAuthCredentialsH\x00\x42\x06\n\x04kind\"\xae\x02\n\x10OAuthCredentials\x12S\n\x06secret\x18\x02 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1.OAuthCredentials.SecretBasedH\x00\x12Q\n\x05token\x18\x03 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1.OAuthCredentials.TokenBasedH\x00\x1a\x41\n\x0bSecretBased\x12\x16\n\tclient_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rclient_secret\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1a\'\n\nTokenBased\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x06\n\x04kindB\x8d\x02\n\'com.google.cloud.geminidataanalytics.v1B\x10\x43redentialsProtoP\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"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Cloud
|
|
17
|
+
module GeminiDataAnalytics
|
|
18
|
+
module V1
|
|
19
|
+
Credentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Credentials").msgclass
|
|
20
|
+
OAuthCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.OAuthCredentials").msgclass
|
|
21
|
+
OAuthCredentials::SecretBased = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.OAuthCredentials.SecretBased").msgclass
|
|
22
|
+
OAuthCredentials::TokenBased = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.OAuthCredentials.TokenBased").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/data_agent.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/geminidataanalytics/v1/data_analytics_agent_pb'
|
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n4google/cloud/geminidataanalytics/v1/data_agent.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/geminidataanalytics/v1/data_analytics_agent.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe8\x05\n\tDataAgent\x12W\n\x14\x64\x61ta_analytics_agent\x18\x65 \x01(\x0b\x32\x37.google.cloud.geminidataanalytics.v1.DataAnalyticsAgentH\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x05 \x03(\x0b\x32:.google.cloud.geminidataanalytics.v1.DataAgent.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\npurge_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x07kms_key\x18\x0e \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\x01\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8a\x01\xea\x41\x86\x01\n,geminidataanalytics.googleapis.com/DataAgent\x12?projects/{project}/locations/{location}/dataAgents/{data_agent}*\ndataAgents2\tdataAgentB\x06\n\x04typeB\n\n\x08_kms_keyB\x8b\x02\n\'com.google.cloud.geminidataanalytics.v1B\x0e\x44\x61taAgentProtoP\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"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Cloud
|
|
20
|
+
module GeminiDataAnalytics
|
|
21
|
+
module V1
|
|
22
|
+
DataAgent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataAgent").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/data_agent_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/field_info_pb'
|
|
11
|
+
require 'google/api/resource_pb'
|
|
12
|
+
require 'google/cloud/geminidataanalytics/v1/data_agent_pb'
|
|
13
|
+
require 'google/iam/v1/iam_policy_pb'
|
|
14
|
+
require 'google/iam/v1/policy_pb'
|
|
15
|
+
require 'google/longrunning/operations_pb'
|
|
16
|
+
require 'google/protobuf/empty_pb'
|
|
17
|
+
require 'google/protobuf/field_mask_pb'
|
|
18
|
+
require 'google/protobuf/timestamp_pb'
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
descriptor_data = "\n<google/cloud/geminidataanalytics/v1/data_agent_service.proto\x12#google.cloud.geminidataanalytics.v1\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\x34google/cloud/geminidataanalytics/v1/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\"\x90\x01\n\x16ListDataAgentsResponse\x12\x43\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32..google.cloud.geminidataanalytics.v1.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xb3\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\x12o\n\x0e\x63reator_filter\x18\x07 \x01(\x0e\x32R.google.cloud.geminidataanalytics.v1.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\"\x9a\x01\n ListAccessibleDataAgentsResponse\x12\x43\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32..google.cloud.geminidataanalytics.v1.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\"\xe4\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\x12G\n\ndata_agent\x18\x03 \x01(\x0b\x32..google.cloud.geminidataanalytics.v1.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\"\xb8\x01\n\x16UpdateDataAgentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12G\n\ndata_agent\x18\x02 \x01(\x0b\x32..google.cloud.geminidataanalytics.v1.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\xa4\x13\n\x10\x44\x61taAgentService\x12\xca\x01\n\x0eListDataAgents\x12:.google.cloud.geminidataanalytics.v1.ListDataAgentsRequest\x1a;.google.cloud.geminidataanalytics.v1.ListDataAgentsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/dataAgents\x12\xf7\x01\n\x18ListAccessibleDataAgents\x12\x44.google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsRequest\x1a\x45.google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/dataAgents:listAccessible\x12\xb7\x01\n\x0cGetDataAgent\x12\x38.google.cloud.geminidataanalytics.v1.GetDataAgentRequest\x1a..google.cloud.geminidataanalytics.v1.DataAgent\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/dataAgents/*}\x12\xf5\x01\n\x0f\x43reateDataAgent\x12;.google.cloud.geminidataanalytics.v1.CreateDataAgentRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1e\n\tDataAgent\x12\x11OperationMetadata\xda\x41\x1fparent,data_agent,data_agent_id\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/dataAgents:\ndata_agent\x12\xf3\x01\n\x13\x43reateDataAgentSync\x12;.google.cloud.geminidataanalytics.v1.CreateDataAgentRequest\x1a..google.cloud.geminidataanalytics.v1.DataAgent\"o\xda\x41\x1fparent,data_agent,data_agent_id\x82\xd3\xe4\x93\x02G\"9/v1/{parent=projects/*/locations/*}/dataAgents:createSync:\ndata_agent\x12\xf7\x01\n\x0fUpdateDataAgent\x12;.google.cloud.geminidataanalytics.v1.UpdateDataAgentRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1e\n\tDataAgent\x12\x11OperationMetadata\xda\x41\x16\x64\x61ta_agent,update_mask\x82\xd3\xe4\x93\x02G29/v1/{data_agent.name=projects/*/locations/*/dataAgents/*}:\ndata_agent\x12\xf5\x01\n\x13UpdateDataAgentSync\x12;.google.cloud.geminidataanalytics.v1.UpdateDataAgentRequest\x1a..google.cloud.geminidataanalytics.v1.DataAgent\"q\xda\x41\x16\x64\x61ta_agent,update_mask\x82\xd3\xe4\x93\x02R2D/v1/{data_agent.name=projects/*/locations/*/dataAgents/*}:updateSync:\ndata_agent\x12\xd9\x01\n\x0f\x44\x65leteDataAgent\x12;.google.cloud.geminidataanalytics.v1.DeleteDataAgentRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/dataAgents/*}\x12\xb4\x01\n\x13\x44\x65leteDataAgentSync\x12;.google.cloud.geminidataanalytics.v1.DeleteDataAgentRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/dataAgents/*}:deleteSync\x12\xa0\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"U\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x44\"?/v1/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy:\x01*\x12\xa0\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"U\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x44\"?/v1/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy:\x01*\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x92\x02\n\'com.google.cloud.geminidataanalytics.v1B\x15\x44\x61taAgentServiceProtoP\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"
|
|
22
|
+
|
|
23
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
24
|
+
pool.add_serialized_file(descriptor_data)
|
|
25
|
+
|
|
26
|
+
module Google
|
|
27
|
+
module Cloud
|
|
28
|
+
module GeminiDataAnalytics
|
|
29
|
+
module V1
|
|
30
|
+
ListDataAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListDataAgentsRequest").msgclass
|
|
31
|
+
ListDataAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListDataAgentsResponse").msgclass
|
|
32
|
+
ListAccessibleDataAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsRequest").msgclass
|
|
33
|
+
ListAccessibleDataAgentsRequest::CreatorFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsRequest.CreatorFilter").enummodule
|
|
34
|
+
ListAccessibleDataAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsResponse").msgclass
|
|
35
|
+
GetDataAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.GetDataAgentRequest").msgclass
|
|
36
|
+
CreateDataAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.CreateDataAgentRequest").msgclass
|
|
37
|
+
UpdateDataAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.UpdateDataAgentRequest").msgclass
|
|
38
|
+
DeleteDataAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DeleteDataAgentRequest").msgclass
|
|
39
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.OperationMetadata").msgclass
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/geminidataanalytics/v1/data_agent_service.proto for package 'Google.Cloud.GeminiDataAnalytics.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/cloud/geminidataanalytics/v1/data_agent_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module GeminiDataAnalytics
|
|
25
|
+
module V1
|
|
26
|
+
module DataAgentService
|
|
27
|
+
# Service describing handlers for resources.
|
|
28
|
+
class Service
|
|
29
|
+
|
|
30
|
+
include ::GRPC::GenericService
|
|
31
|
+
|
|
32
|
+
self.marshal_class_method = :encode
|
|
33
|
+
self.unmarshal_class_method = :decode
|
|
34
|
+
self.service_name = 'google.cloud.geminidataanalytics.v1.DataAgentService'
|
|
35
|
+
|
|
36
|
+
# Lists DataAgents in a given project and location.
|
|
37
|
+
rpc :ListDataAgents, ::Google::Cloud::GeminiDataAnalytics::V1::ListDataAgentsRequest, ::Google::Cloud::GeminiDataAnalytics::V1::ListDataAgentsResponse
|
|
38
|
+
# Lists DataAgents that are accessible to the caller in a given project and
|
|
39
|
+
# location.
|
|
40
|
+
rpc :ListAccessibleDataAgents, ::Google::Cloud::GeminiDataAnalytics::V1::ListAccessibleDataAgentsRequest, ::Google::Cloud::GeminiDataAnalytics::V1::ListAccessibleDataAgentsResponse
|
|
41
|
+
# Gets details of a single DataAgent.
|
|
42
|
+
rpc :GetDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1::GetDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1::DataAgent
|
|
43
|
+
# Creates a new DataAgent in a given project and location.
|
|
44
|
+
rpc :CreateDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1::CreateDataAgentRequest, ::Google::Longrunning::Operation
|
|
45
|
+
# Creates a new DataAgent in a given project and location synchronously.
|
|
46
|
+
rpc :CreateDataAgentSync, ::Google::Cloud::GeminiDataAnalytics::V1::CreateDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1::DataAgent
|
|
47
|
+
# Updates the parameters of a single DataAgent.
|
|
48
|
+
rpc :UpdateDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1::UpdateDataAgentRequest, ::Google::Longrunning::Operation
|
|
49
|
+
# Updates the parameters of a single DataAgent synchronously.
|
|
50
|
+
rpc :UpdateDataAgentSync, ::Google::Cloud::GeminiDataAnalytics::V1::UpdateDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1::DataAgent
|
|
51
|
+
# Deletes a single DataAgent.
|
|
52
|
+
rpc :DeleteDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1::DeleteDataAgentRequest, ::Google::Longrunning::Operation
|
|
53
|
+
# Deletes a single DataAgent synchronously.
|
|
54
|
+
rpc :DeleteDataAgentSync, ::Google::Cloud::GeminiDataAnalytics::V1::DeleteDataAgentRequest, ::Google::Protobuf::Empty
|
|
55
|
+
# Gets the IAM policy for DataAgent
|
|
56
|
+
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
57
|
+
# Sets the IAM policy for a DataAgent.
|
|
58
|
+
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
Stub = Service.rpc_stub_class
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/data_analytics_agent.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/cloud/geminidataanalytics/v1/context_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n>google/cloud/geminidataanalytics/v1/data_analytics_agent.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/geminidataanalytics/v1/context.proto\"\x81\x02\n\x12\x44\x61taAnalyticsAgent\x12J\n\x0fstaging_context\x18\x05 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x01\x12L\n\x11published_context\x18\x06 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x01\x12Q\n\x16last_published_context\x18\x07 \x01(\x0b\x32,.google.cloud.geminidataanalytics.v1.ContextB\x03\xe0\x41\x03\x42\x94\x02\n\'com.google.cloud.geminidataanalytics.v1B\x17\x44\x61taAnalyticsAgentProtoP\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
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Google
|
|
17
|
+
module Cloud
|
|
18
|
+
module GeminiDataAnalytics
|
|
19
|
+
module V1
|
|
20
|
+
DataAnalyticsAgent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataAnalyticsAgent").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/data_chat_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/resource_pb'
|
|
11
|
+
require 'google/cloud/geminidataanalytics/v1/context_pb'
|
|
12
|
+
require 'google/cloud/geminidataanalytics/v1/conversation_pb'
|
|
13
|
+
require 'google/cloud/geminidataanalytics/v1/credentials_pb'
|
|
14
|
+
require 'google/cloud/geminidataanalytics/v1/datasource_pb'
|
|
15
|
+
require 'google/protobuf/empty_pb'
|
|
16
|
+
require 'google/protobuf/struct_pb'
|
|
17
|
+
require 'google/protobuf/timestamp_pb'
|
|
18
|
+
|
|
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"
|
|
21
|
+
|
|
22
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
|
24
|
+
|
|
25
|
+
module Google
|
|
26
|
+
module Cloud
|
|
27
|
+
module GeminiDataAnalytics
|
|
28
|
+
module V1
|
|
29
|
+
ListMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListMessagesRequest").msgclass
|
|
30
|
+
ListMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListMessagesResponse").msgclass
|
|
31
|
+
StorageMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.StorageMessage").msgclass
|
|
32
|
+
ChatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ChatRequest").msgclass
|
|
33
|
+
ChatRequest::ThinkingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ChatRequest.ThinkingMode").enummodule
|
|
34
|
+
ChatRequest::Model = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ChatRequest.Model").enummodule
|
|
35
|
+
DataAgentContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataAgentContext").msgclass
|
|
36
|
+
DataAgentContext::ContextVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataAgentContext.ContextVersion").enummodule
|
|
37
|
+
ConversationReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ConversationReference").msgclass
|
|
38
|
+
ClientManagedResourceContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ClientManagedResourceContext").msgclass
|
|
39
|
+
Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Message").msgclass
|
|
40
|
+
LookerSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerSettings").msgclass
|
|
41
|
+
UserMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.UserMessage").msgclass
|
|
42
|
+
SystemMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SystemMessage").msgclass
|
|
43
|
+
TextMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.TextMessage").msgclass
|
|
44
|
+
TextMessage::TextType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.TextMessage.TextType").enummodule
|
|
45
|
+
SchemaMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SchemaMessage").msgclass
|
|
46
|
+
SchemaQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SchemaQuery").msgclass
|
|
47
|
+
SchemaResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SchemaResult").msgclass
|
|
48
|
+
DataMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataMessage").msgclass
|
|
49
|
+
DataQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataQuery").msgclass
|
|
50
|
+
DataResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataResult").msgclass
|
|
51
|
+
BigQueryJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.BigQueryJob").msgclass
|
|
52
|
+
AnalysisMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.AnalysisMessage").msgclass
|
|
53
|
+
AnalysisQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.AnalysisQuery").msgclass
|
|
54
|
+
AnalysisEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.AnalysisEvent").msgclass
|
|
55
|
+
ChartMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ChartMessage").msgclass
|
|
56
|
+
ChartQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ChartQuery").msgclass
|
|
57
|
+
ChartResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ChartResult").msgclass
|
|
58
|
+
ErrorMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ErrorMessage").msgclass
|
|
59
|
+
ExampleQueries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ExampleQueries").msgclass
|
|
60
|
+
Blob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Blob").msgclass
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/geminidataanalytics/v1/data_chat_service.proto for package 'Google.Cloud.GeminiDataAnalytics.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/cloud/geminidataanalytics/v1/data_chat_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module GeminiDataAnalytics
|
|
25
|
+
module V1
|
|
26
|
+
module DataChatService
|
|
27
|
+
# Service to ask a natural language question on top of BigQuery
|
|
28
|
+
# and Looker Studio datasources to get back streamed responses of various kinds
|
|
29
|
+
# to help provide a rich conversational answer.
|
|
30
|
+
class Service
|
|
31
|
+
|
|
32
|
+
include ::GRPC::GenericService
|
|
33
|
+
|
|
34
|
+
self.marshal_class_method = :encode
|
|
35
|
+
self.unmarshal_class_method = :decode
|
|
36
|
+
self.service_name = 'google.cloud.geminidataanalytics.v1.DataChatService'
|
|
37
|
+
|
|
38
|
+
# Answers a data question by generating a stream of
|
|
39
|
+
# [Message][google.cloud.geminidataanalytics.v1.Message] objects.
|
|
40
|
+
rpc :Chat, ::Google::Cloud::GeminiDataAnalytics::V1::ChatRequest, stream(::Google::Cloud::GeminiDataAnalytics::V1::Message)
|
|
41
|
+
# Creates a new conversation to persist the conversation history. Each
|
|
42
|
+
# conversation will have multiple messages associated with it.
|
|
43
|
+
rpc :CreateConversation, ::Google::Cloud::GeminiDataAnalytics::V1::CreateConversationRequest, ::Google::Cloud::GeminiDataAnalytics::V1::Conversation
|
|
44
|
+
# Deletes a conversation.
|
|
45
|
+
rpc :DeleteConversation, ::Google::Cloud::GeminiDataAnalytics::V1::DeleteConversationRequest, ::Google::Protobuf::Empty
|
|
46
|
+
# Gets details of a single conversation by using conversation id and parent.
|
|
47
|
+
rpc :GetConversation, ::Google::Cloud::GeminiDataAnalytics::V1::GetConversationRequest, ::Google::Cloud::GeminiDataAnalytics::V1::Conversation
|
|
48
|
+
# Lists all conversations for a given parent.
|
|
49
|
+
rpc :ListConversations, ::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsRequest, ::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsResponse
|
|
50
|
+
# Lists all messages for a given conversation.
|
|
51
|
+
rpc :ListMessages, ::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesRequest, ::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesResponse
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
Stub = Service.rpc_stub_class
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1/datasource.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/protobuf/struct_pb'
|
|
9
|
+
|
|
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\"u\n\x17\x42igQueryTableReferences\x12Z\n\x10table_references\x18\x01 \x03(\x0b\x32;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceB\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
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Google
|
|
17
|
+
module Cloud
|
|
18
|
+
module GeminiDataAnalytics
|
|
19
|
+
module V1
|
|
20
|
+
DatasourceReferences = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DatasourceReferences").msgclass
|
|
21
|
+
BigQueryTableReferences = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.BigQueryTableReferences").msgclass
|
|
22
|
+
BigQueryTableReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.BigQueryTableReference").msgclass
|
|
23
|
+
StudioDatasourceReferences = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.StudioDatasourceReferences").msgclass
|
|
24
|
+
StudioDatasourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.StudioDatasourceReference").msgclass
|
|
25
|
+
LookerExploreReferences = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerExploreReferences").msgclass
|
|
26
|
+
LookerExploreReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerExploreReference").msgclass
|
|
27
|
+
BigQueryPropertyGraphReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.BigQueryPropertyGraphReference").msgclass
|
|
28
|
+
PrivateLookerInstanceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.PrivateLookerInstanceInfo").msgclass
|
|
29
|
+
Datasource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Datasource").msgclass
|
|
30
|
+
Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Schema").msgclass
|
|
31
|
+
Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Field").msgclass
|
|
32
|
+
DataFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataFilter").msgclass
|
|
33
|
+
DataFilterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DataFilterType").enummodule
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
|
21
|
+
# require "google/cloud/gemini_data_analytics/v1"
|