google-cloud-gemini_data_analytics-v1beta 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +5 -6
- data/lib/google/cloud/gemini_data_analytics/v1beta/bindings_override.rb +2 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/client.rb +697 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/credentials.rb +47 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest/client.rb +643 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest/service_stub.rb +283 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest.rb +53 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service.rb +55 -0
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/client.rb +237 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/credentials.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/operations.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/paths.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/client.rb +223 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/operations.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/service_stub.rb +124 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/client.rb +106 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/credentials.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/paths.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest/client.rb +99 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest/service_stub.rb +63 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/rest.rb +3 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/version.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta.rb +4 -3
- data/lib/google/cloud/geminidataanalytics/v1beta/context_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/conversation_pb.rb +3 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_a2a_service_pb.rb +64 -0
- data/lib/google/cloud/geminidataanalytics/v1beta/data_a2a_service_services_pb.rb +52 -0
- data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_pb.rb +6 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_services_pb.rb +7 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_chat_service_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/data_chat_service_services_pb.rb +3 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/datasource_pb.rb +5 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/usage_pb.rb +21 -0
- data/lib/google-cloud-gemini_data_analytics-v1beta.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/field_info.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/agent_context.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/context.rb +83 -2
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb +28 -4
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/credentials.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_a2a_service.rb +825 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_agent.rb +52 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_agent_service.rb +101 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_analytics_agent.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb +23 -4
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb +108 -18
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/usage.rb +38 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +1 -1
- data/proto_docs/google/iam/v1/options.rb +1 -1
- data/proto_docs/google/iam/v1/policy.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/protobuf/wrappers.rb +1 -1
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/expr.rb +1 -1
- metadata +20 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -502,6 +502,97 @@ module Google
|
|
|
502
502
|
raise ::Google::Cloud::Error.from_error(e)
|
|
503
503
|
end
|
|
504
504
|
|
|
505
|
+
##
|
|
506
|
+
# Updates a conversation.
|
|
507
|
+
#
|
|
508
|
+
# @overload update_conversation(request, options = nil)
|
|
509
|
+
# Pass arguments to `update_conversation` via a request object, either of type
|
|
510
|
+
# {::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateConversationRequest} or an equivalent Hash.
|
|
511
|
+
#
|
|
512
|
+
# @param request [::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateConversationRequest, ::Hash]
|
|
513
|
+
# A request object representing the call parameters. Required. To specify no
|
|
514
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
515
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
516
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
517
|
+
#
|
|
518
|
+
# @overload update_conversation(conversation: nil, update_mask: nil, request_id: nil)
|
|
519
|
+
# Pass arguments to `update_conversation` via keyword arguments. Note that at
|
|
520
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
521
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
522
|
+
#
|
|
523
|
+
# @param conversation [::Google::Cloud::GeminiDataAnalytics::V1beta::Conversation, ::Hash]
|
|
524
|
+
# Required. The resource being updated.
|
|
525
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
526
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
527
|
+
# Conversation resource by the update.
|
|
528
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
529
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
530
|
+
# user does not provide a mask then all fields with non-default values
|
|
531
|
+
# present in the request will be overwritten. If a wildcard mask is provided,
|
|
532
|
+
# all fields will be overwritten.
|
|
533
|
+
# @param request_id [::String]
|
|
534
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
535
|
+
# request ID so that if you must retry your request, the server will know to
|
|
536
|
+
# ignore the request if it has already been completed. The server will
|
|
537
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
538
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
539
|
+
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1beta::Conversation]
|
|
540
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
541
|
+
#
|
|
542
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Conversation]
|
|
543
|
+
#
|
|
544
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
545
|
+
#
|
|
546
|
+
# @example Basic example
|
|
547
|
+
# require "google/cloud/gemini_data_analytics/v1beta"
|
|
548
|
+
#
|
|
549
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
550
|
+
# client = Google::Cloud::GeminiDataAnalytics::V1beta::DataChatService::Rest::Client.new
|
|
551
|
+
#
|
|
552
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
553
|
+
# request = Google::Cloud::GeminiDataAnalytics::V1beta::UpdateConversationRequest.new
|
|
554
|
+
#
|
|
555
|
+
# # Call the update_conversation method.
|
|
556
|
+
# result = client.update_conversation request
|
|
557
|
+
#
|
|
558
|
+
# # The returned object is of type Google::Cloud::GeminiDataAnalytics::V1beta::Conversation.
|
|
559
|
+
# p result
|
|
560
|
+
#
|
|
561
|
+
def update_conversation request, options = nil
|
|
562
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
563
|
+
|
|
564
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateConversationRequest
|
|
565
|
+
|
|
566
|
+
# Converts hash and nil to an options object
|
|
567
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
568
|
+
|
|
569
|
+
# Customize the options with defaults
|
|
570
|
+
call_metadata = @config.rpcs.update_conversation.metadata.to_h
|
|
571
|
+
|
|
572
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
573
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
574
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
575
|
+
gapic_version: ::Google::Cloud::GeminiDataAnalytics::V1beta::VERSION,
|
|
576
|
+
transports_version_send: [:rest]
|
|
577
|
+
|
|
578
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
579
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
580
|
+
|
|
581
|
+
options.apply_defaults timeout: @config.rpcs.update_conversation.timeout,
|
|
582
|
+
metadata: call_metadata,
|
|
583
|
+
retry_policy: @config.rpcs.update_conversation.retry_policy
|
|
584
|
+
|
|
585
|
+
options.apply_defaults timeout: @config.timeout,
|
|
586
|
+
metadata: @config.metadata,
|
|
587
|
+
retry_policy: @config.retry_policy
|
|
588
|
+
|
|
589
|
+
@data_chat_service_stub.update_conversation request, options do |result, operation|
|
|
590
|
+
yield result, operation if block_given?
|
|
591
|
+
end
|
|
592
|
+
rescue ::Gapic::Rest::Error => e
|
|
593
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
594
|
+
end
|
|
595
|
+
|
|
505
596
|
##
|
|
506
597
|
# Gets details of a single conversation by using conversation id and parent.
|
|
507
598
|
#
|
|
@@ -1037,6 +1128,11 @@ module Google
|
|
|
1037
1128
|
#
|
|
1038
1129
|
attr_reader :delete_conversation
|
|
1039
1130
|
##
|
|
1131
|
+
# RPC-specific configuration for `update_conversation`
|
|
1132
|
+
# @return [::Gapic::Config::Method]
|
|
1133
|
+
#
|
|
1134
|
+
attr_reader :update_conversation
|
|
1135
|
+
##
|
|
1040
1136
|
# RPC-specific configuration for `get_conversation`
|
|
1041
1137
|
# @return [::Gapic::Config::Method]
|
|
1042
1138
|
#
|
|
@@ -1065,6 +1161,8 @@ module Google
|
|
|
1065
1161
|
@create_conversation = ::Gapic::Config::Method.new create_conversation_config
|
|
1066
1162
|
delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation
|
|
1067
1163
|
@delete_conversation = ::Gapic::Config::Method.new delete_conversation_config
|
|
1164
|
+
update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation
|
|
1165
|
+
@update_conversation = ::Gapic::Config::Method.new update_conversation_config
|
|
1068
1166
|
get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation
|
|
1069
1167
|
@get_conversation = ::Gapic::Config::Method.new get_conversation_config
|
|
1070
1168
|
list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -187,6 +187,46 @@ module Google
|
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
+
##
|
|
191
|
+
# Baseline implementation for the update_conversation REST call
|
|
192
|
+
#
|
|
193
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateConversationRequest]
|
|
194
|
+
# A request object representing the call parameters. Required.
|
|
195
|
+
# @param options [::Gapic::CallOptions]
|
|
196
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
197
|
+
#
|
|
198
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
199
|
+
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1beta::Conversation]
|
|
200
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
201
|
+
#
|
|
202
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Conversation]
|
|
203
|
+
# A result object deserialized from the server's reply
|
|
204
|
+
def update_conversation request_pb, options = nil
|
|
205
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
206
|
+
|
|
207
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_conversation_request request_pb
|
|
208
|
+
query_string_params = if query_string_params.any?
|
|
209
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
210
|
+
else
|
|
211
|
+
{}
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
response = @client_stub.make_http_request(
|
|
215
|
+
verb,
|
|
216
|
+
uri: uri,
|
|
217
|
+
body: body || "",
|
|
218
|
+
params: query_string_params,
|
|
219
|
+
method_name: "update_conversation",
|
|
220
|
+
options: options
|
|
221
|
+
)
|
|
222
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
223
|
+
result = ::Google::Cloud::GeminiDataAnalytics::V1beta::Conversation.decode_json response.body, ignore_unknown_fields: true
|
|
224
|
+
catch :response do
|
|
225
|
+
yield result, operation if block_given?
|
|
226
|
+
result
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
190
230
|
##
|
|
191
231
|
# Baseline implementation for the get_conversation REST call
|
|
192
232
|
#
|
|
@@ -412,6 +452,28 @@ module Google
|
|
|
412
452
|
transcoder.transcode request_pb
|
|
413
453
|
end
|
|
414
454
|
|
|
455
|
+
##
|
|
456
|
+
# @private
|
|
457
|
+
#
|
|
458
|
+
# GRPC transcoding helper method for the update_conversation REST call
|
|
459
|
+
#
|
|
460
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateConversationRequest]
|
|
461
|
+
# A request object representing the call parameters. Required.
|
|
462
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
463
|
+
# Uri, Body, Query string parameters
|
|
464
|
+
def self.transcode_update_conversation_request request_pb
|
|
465
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
466
|
+
.with_bindings(
|
|
467
|
+
uri_method: :patch,
|
|
468
|
+
uri_template: "/v1beta/{conversation.name}",
|
|
469
|
+
body: "conversation",
|
|
470
|
+
matches: [
|
|
471
|
+
["conversation.name", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
|
|
472
|
+
]
|
|
473
|
+
)
|
|
474
|
+
transcoder.transcode request_pb
|
|
475
|
+
end
|
|
476
|
+
|
|
415
477
|
##
|
|
416
478
|
# @private
|
|
417
479
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
18
|
|
|
19
|
+
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest"
|
|
19
20
|
require "google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest"
|
|
20
21
|
require "google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest"
|
|
21
22
|
require "google/cloud/gemini_data_analytics/v1beta/bindings_override"
|
|
@@ -30,7 +31,7 @@ module Google
|
|
|
30
31
|
# @example
|
|
31
32
|
#
|
|
32
33
|
# require "google/cloud/gemini_data_analytics/v1beta/rest"
|
|
33
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
34
|
+
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Rest::Client.new
|
|
34
35
|
#
|
|
35
36
|
module V1beta
|
|
36
37
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
18
|
|
|
19
|
+
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service"
|
|
19
20
|
require "google/cloud/gemini_data_analytics/v1beta/data_agent_service"
|
|
20
21
|
require "google/cloud/gemini_data_analytics/v1beta/data_chat_service"
|
|
21
22
|
require "google/cloud/gemini_data_analytics/v1beta/version"
|
|
@@ -29,12 +30,12 @@ module Google
|
|
|
29
30
|
# @example Load this package, including all its services, and instantiate a gRPC client
|
|
30
31
|
#
|
|
31
32
|
# require "google/cloud/gemini_data_analytics/v1beta"
|
|
32
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
33
|
+
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new
|
|
33
34
|
#
|
|
34
35
|
# @example Load this package, including all its services, and instantiate a REST client
|
|
35
36
|
#
|
|
36
37
|
# require "google/cloud/gemini_data_analytics/v1beta"
|
|
37
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
38
|
+
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Rest::Client.new
|
|
38
39
|
#
|
|
39
40
|
module V1beta
|
|
40
41
|
end
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/geminidataanalytics/v1beta/datasource_pb'
|
|
|
10
10
|
require 'google/protobuf/wrappers_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n5google/cloud/geminidataanalytics/v1beta/context.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/geminidataanalytics/v1beta/datasource.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xb8\t\n\x07\x43ontext\x12\x1f\n\x12system_instruction\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x61\n\x15\x64\x61tasource_references\x18\x07 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xe0\x41\x02\x12R\n\x07options\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1beta.ConversationOptionsB\x03\xe0\x41\x01\x12S\n\x0f\x65xample_queries\x18\x05 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xe0\x41\x01\x12^\n\x15looker_golden_queries\x18\x0b \x03(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\x03\xe0\x41\x01\x12R\n\x0eglossary_terms\x18\x08 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\x03\xe0\x41\x01\x12\x66\n\x14schema_relationships\x18\t \x03(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationshipB\x03\xe0\x41\x01\x12S\n\x0euser_functions\x18\n \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.UserFunctionsB\x03\xe0\x41\x01\x1a\x8e\x04\n\x12SchemaRelationship\x12j\n\x11left_schema_paths\x18\x01 \x01(\x0b\x32O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12k\n\x12right_schema_paths\x18\x02 \x01(\x0b\x32O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12`\n\x07sources\x18\x03 \x03(\x0e\x32J.google.cloud.geminidataanalytics.v1beta.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\"^\n\rUserFunctions\x12M\n\x0b\x62q_routines\x18\x01 \x03(\x0b\x32\x38.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine\"\x84\x01\n\x0f\x42igQueryRoutine\x12\\\n\x11routine_reference\x18\x01 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.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\"\xab\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\x12P\n\nparameters\x18\x03 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.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\"\xbb\x01\n\x0cMatchedQuery\x12L\n\rexample_query\x18\x01 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ExampleQuery\x12]\n\x16query_parameter_values\x18\x02 \x03(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.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\"\x8d\x01\n\x11LookerGoldenQuery\x12\'\n\x1anatural_language_questions\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12O\n\x0clooker_query\x18\x05 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x03\xe0\x41\x01\"\
|
|
13
|
+
descriptor_data = "\n5google/cloud/geminidataanalytics/v1beta/context.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/geminidataanalytics/v1beta/datasource.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xb8\t\n\x07\x43ontext\x12\x1f\n\x12system_instruction\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x61\n\x15\x64\x61tasource_references\x18\x07 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xe0\x41\x02\x12R\n\x07options\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1beta.ConversationOptionsB\x03\xe0\x41\x01\x12S\n\x0f\x65xample_queries\x18\x05 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xe0\x41\x01\x12^\n\x15looker_golden_queries\x18\x0b \x03(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\x03\xe0\x41\x01\x12R\n\x0eglossary_terms\x18\x08 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\x03\xe0\x41\x01\x12\x66\n\x14schema_relationships\x18\t \x03(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationshipB\x03\xe0\x41\x01\x12S\n\x0euser_functions\x18\n \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.UserFunctionsB\x03\xe0\x41\x01\x1a\x8e\x04\n\x12SchemaRelationship\x12j\n\x11left_schema_paths\x18\x01 \x01(\x0b\x32O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12k\n\x12right_schema_paths\x18\x02 \x01(\x0b\x32O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12`\n\x07sources\x18\x03 \x03(\x0e\x32J.google.cloud.geminidataanalytics.v1beta.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\"^\n\rUserFunctions\x12M\n\x0b\x62q_routines\x18\x01 \x03(\x0b\x32\x38.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine\"\x84\x01\n\x0f\x42igQueryRoutine\x12\\\n\x11routine_reference\x18\x01 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.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\"\xab\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\x12P\n\nparameters\x18\x03 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.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\"\xbb\x01\n\x0cMatchedQuery\x12L\n\rexample_query\x18\x01 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ExampleQuery\x12]\n\x16query_parameter_values\x18\x02 \x03(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.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\"\x8d\x01\n\x11LookerGoldenQuery\x12\'\n\x1anatural_language_questions\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12O\n\x0clooker_query\x18\x05 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x03\xe0\x41\x01\"\x99\x05\n\x0c\x44ynamicField\x12\x1a\n\x08\x63\x61tegory\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x16\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05label\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x1a\n\x08\x62\x61sed_on\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x16\n\x04type\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1d\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x1c\n\nexpression\x18\x07 \x01(\tB\x03\xe0\x41\x01H\x06\x88\x01\x01\x12#\n\x11\x66ilter_expression\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x07\x88\x01\x01\x12\x1e\n\x0cvalue_format\x18\t \x01(\tB\x03\xe0\x41\x01H\x08\x88\x01\x01\x12#\n\x11value_format_name\x18\n \x01(\tB\x03\xe0\x41\x01H\t\x88\x01\x01\x12\"\n\x10\x63\x61lculation_type\x18\x0b \x01(\tB\x03\xe0\x41\x01H\n\x88\x01\x01\x12\x11\n\x04\x61rgs\x18\x0c \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\tkind_hint\x18\r \x01(\tB\x03\xe0\x41\x01H\x0b\x88\x01\x01\x12\x1b\n\ttype_hint\x18\x0e \x01(\tB\x03\xe0\x41\x01H\x0c\x88\x01\x01\x12\x1d\n\x0bis_disabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01H\r\x88\x01\x01\x42\x0b\n\t_categoryB\x07\n\x05_nameB\x08\n\x06_labelB\x0b\n\t_based_onB\x07\n\x05_typeB\x0e\n\x0c_descriptionB\r\n\x0b_expressionB\x14\n\x12_filter_expressionB\x0f\n\r_value_formatB\x14\n\x12_value_format_nameB\x13\n\x11_calculation_typeB\x0c\n\n_kind_hintB\x0c\n\n_type_hintB\x0e\n\x0c_is_disabled\"\xbf\x03\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\x12R\n\x0e\x64ynamic_fields\x18\t \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.DynamicFieldB\x03\xe0\x41\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\"\xa2\x03\n\x13\x43onversationOptions\x12I\n\x05\x63hart\x18\x01 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ChartOptionsB\x03\xe0\x41\x01\x12O\n\x08\x61nalysis\x18\x02 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1beta.AnalysisOptionsB\x03\xe0\x41\x01\x12S\n\ndatasource\x18\x03 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsB\x03\xe0\x41\x01\x12[\n\x05model\x18\x06 \x01(\x0e\x32\x42.google.cloud.geminidataanalytics.v1beta.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\"\xd6\x02\n\x0c\x43hartOptions\x12V\n\x05image\x18\x01 \x01(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\x03\xe0\x41\x01\x1a\xed\x01\n\x0cImageOptions\x12^\n\x08no_image\x18\x01 \x01(\x0b\x32J.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\x00\x12\\\n\x03svg\x18\x02 \x01(\x0b\x32M.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\x00\x1a\t\n\x07NoImage\x1a\x0c\n\nSvgOptionsB\x06\n\x04kind\"\x87\x01\n\x0f\x41nalysisOptions\x12T\n\x06python\x18\x01 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.AnalysisOptions.PythonB\x03\xe0\x41\x01\x1a\x1e\n\x06Python\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x08\x43itation\x12M\n\x07sources\x18\x01 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.CitationSourceB\x03\xe0\x41\x03\x12M\n\x07\x61nchors\x18\x02 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.CitationAnchorB\x03\xe0\x41\x03\"\x82\x02\n\x0e\x43itationSource\x12\x12\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12S\n\rexample_query\x18\x04 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xe0\x41\x03H\x00\x12S\n\rglossary_term\x18\x05 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.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\"\xa6\x02\n\x0e\x43itationAnchor\x12u\n\x13text_message_anchor\x18\x01 \x01(\x0b\x32Q.google.cloud.geminidataanalytics.v1beta.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\x9d\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x0c\x43ontextProtoP\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
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -31,6 +31,7 @@ module Google
|
|
|
31
31
|
MatchedQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.MatchedQuery").msgclass
|
|
32
32
|
QueryParameterValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.QueryParameterValues").msgclass
|
|
33
33
|
LookerGoldenQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery").msgclass
|
|
34
|
+
DynamicField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.DynamicField").msgclass
|
|
34
35
|
LookerQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.LookerQuery").msgclass
|
|
35
36
|
LookerQuery::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter").msgclass
|
|
36
37
|
GlossaryTerm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.GlossaryTerm").msgclass
|
|
@@ -7,10 +7,11 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/field_info_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/protobuf/field_mask_pb'
|
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
descriptor_data = "\n:google/cloud/geminidataanalytics/v1beta/conversation.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n:google/cloud/geminidataanalytics/v1beta/conversation.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\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\x12V\n\x06labels\x18\t \x03(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.Conversation.LabelsEntryB\x03\xe0\x41\x01\x12\x12\n\x05title\x18\x06 \x01(\tB\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\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_key\"\xf5\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\x12P\n\x0c\x63onversation\x18\x03 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.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\"\xc4\x01\n\x19UpdateConversationRequest\x12P\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ConversationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x03 \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\"\x82\x01\n\x19ListConversationsResponse\x12L\n\rconversations\x18\x01 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.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\xb5\x03\n+com.google.cloud.geminidataanalytics.v1betaB\x11\x43onversationProtoP\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::V1beta\xea\x41\x8f\x01\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}*\ncryptoKeys2\tcryptoKeyb\x06proto3"
|
|
14
15
|
|
|
15
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -21,6 +22,7 @@ module Google
|
|
|
21
22
|
module V1beta
|
|
22
23
|
Conversation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.Conversation").msgclass
|
|
23
24
|
CreateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.CreateConversationRequest").msgclass
|
|
25
|
+
UpdateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.UpdateConversationRequest").msgclass
|
|
24
26
|
GetConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.GetConversationRequest").msgclass
|
|
25
27
|
ListConversationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ListConversationsRequest").msgclass
|
|
26
28
|
ListConversationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ListConversationsResponse").msgclass
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/geminidataanalytics/v1beta/data_a2a_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/protobuf/struct_pb'
|
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
descriptor_data = "\n>google/cloud/geminidataanalytics/v1beta/data_a2a_service.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\x01\n\x18SendMessageConfiguration\x12\"\n\x15\x61\x63\x63\x65pted_output_modes\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12_\n\x11push_notification\x18\x02 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.PushNotificationConfigB\x03\xe0\x41\x01\x12\x1b\n\x0ehistory_length\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08\x62locking\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xc6\x02\n\x07\x41\x32\x41Task\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ncontext_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x06status\x18\x03 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.TaskStatusB\x03\xe0\x41\x01\x12L\n\tartifacts\x18\x04 \x03(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.A2AArtifactB\x03\xe0\x41\x01\x12I\n\x07history\x18\x05 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageB\x03\xe0\x41\x01\x12.\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xdb\x01\n\nTaskStatus\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.geminidataanalytics.v1beta.TaskStateB\x03\xe0\x41\x03\x12Q\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageB\x03\xe0\x41\x01R\x07message\x12\x32\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xd4\x01\n\x04Part\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x41\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1beta.FilePartH\x00\x12\x41\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1beta.DataPartH\x00\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x42\x06\n\x04part\"q\n\x08\x46ilePart\x12\x17\n\rfile_with_uri\x18\x01 \x01(\tH\x00\x12\x19\n\x0f\x66ile_with_bytes\x18\x02 \x01(\x0cH\x00\x12\x16\n\tmime_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x04 \x01(\tB\x03\xe0\x41\x01\x42\x06\n\x04\x66ile\"6\n\x08\x44\x61taPart\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xa4\x02\n\nA2AMessage\x12\x17\n\nmessage_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ncontext_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07task_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12@\n\x04role\x18\x04 \x01(\x0e\x32-.google.cloud.geminidataanalytics.v1beta.RoleB\x03\xe0\x41\x01\x12\x43\n\x07\x63ontent\x18\x05 \x03(\x0b\x32-.google.cloud.geminidataanalytics.v1beta.PartB\x03\xe0\x41\x01\x12.\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x17\n\nextensions\x18\x07 \x03(\tB\x03\xe0\x41\x01\"\xe0\x01\n\x0b\x41\x32\x41\x41rtifact\x12\x18\n\x0b\x61rtifact_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x05parts\x18\x05 \x03(\x0b\x32-.google.cloud.geminidataanalytics.v1beta.PartB\x03\xe0\x41\x01\x12.\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x17\n\nextensions\x18\x07 \x03(\tB\x03\xe0\x41\x01\"\xd4\x01\n\x15TaskStatusUpdateEvent\x12\x14\n\x07task_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ncontext_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x06status\x18\x03 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.TaskStatusB\x03\xe0\x41\x01\x12\x12\n\x05\x66inal\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12.\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xf3\x01\n\x17TaskArtifactUpdateEvent\x12\x14\n\x07task_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ncontext_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\x08\x61rtifact\x18\x03 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.A2AArtifactB\x03\xe0\x41\x01\x12\x13\n\x06\x61ppend\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\nlast_chunk\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12.\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xa9\x01\n\x16PushNotificationConfig\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12X\n\x0e\x61uthentication\x18\x04 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1beta.AuthenticationInfoB\x03\xe0\x41\x01\"D\n\x12\x41uthenticationInfo\x12\x14\n\x07schemes\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x63redentials\x18\x02 \x01(\tB\x03\xe0\x41\x01\"O\n\x0e\x41gentInterface\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttransport\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06tenant\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8c\x08\n\tAgentCard\x12\x1d\n\x10protocol_version\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03url\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13preferred_transport\x18\x0e \x01(\tB\x03\xe0\x41\x01\x12[\n\x15\x61\x64\x64itional_interfaces\x18\x0f \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.AgentInterfaceB\x03\xe0\x41\x01\x12M\n\x08provider\x18\x04 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.AgentProviderB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x64ocumentation_url\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12U\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.AgentCapabilitiesB\x03\xe0\x41\x01\x12\x61\n\x10security_schemes\x18\x08 \x03(\x0b\x32G.google.cloud.geminidataanalytics.v1beta.AgentCard.SecuritySchemesEntry\x12\x43\n\x08security\x18\t \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1beta.Security\x12 \n\x13\x64\x65\x66\x61ult_input_modes\x18\n \x03(\tB\x03\xe0\x41\x01\x12!\n\x14\x64\x65\x66\x61ult_output_modes\x18\x0b \x03(\tB\x03\xe0\x41\x01\x12H\n\x06skills\x18\x0c \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.AgentSkillB\x03\xe0\x41\x01\x12\x31\n$supports_authenticated_extended_card\x18\r \x01(\x08\x42\x03\xe0\x41\x01\x12T\n\nsignatures\x18\x11 \x03(\x0b\x32;.google.cloud.geminidataanalytics.v1beta.AgentCardSignatureB\x03\xe0\x41\x01\x12\x15\n\x08icon_url\x18\x12 \x01(\tB\x03\xe0\x41\x01\x1ao\n\x14SecuritySchemesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.SecurityScheme:\x02\x38\x01\"<\n\rAgentProvider\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0corganization\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x11\x41gentCapabilities\x12\x16\n\tstreaming\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12push_notifications\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12P\n\nextensions\x18\x03 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.AgentExtensionB\x03\xe0\x41\x01\"\x81\x01\n\x0e\x41gentExtension\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08required\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x06params\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\xee\x01\n\nAgentSkill\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\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\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65xamples\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0binput_modes\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0coutput_modes\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x43\n\x08security\x18\x08 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1beta.Security\"r\n\x12\x41gentCardSignature\x12\x16\n\tprotected\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tsignature\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12,\n\x06header\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"\x1a\n\nStringList\x12\x0c\n\x04list\x18\x01 \x03(\t\"\xc0\x01\n\x08Security\x12O\n\x07schemes\x18\x01 \x03(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.Security.SchemesEntry\x1a\x63\n\x0cSchemesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.StringList:\x02\x38\x01\"\x96\x04\n\x0eSecurityScheme\x12`\n\x17\x61pi_key_security_scheme\x18\x01 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.APIKeySecuritySchemeH\x00\x12\x64\n\x19http_auth_security_scheme\x18\x02 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.HTTPAuthSecuritySchemeH\x00\x12_\n\x16oauth2_security_scheme\x18\x03 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.OAuth2SecuritySchemeH\x00\x12o\n\x1fopen_id_connect_security_scheme\x18\x04 \x01(\x0b\x32\x44.google.cloud.geminidataanalytics.v1beta.OpenIdConnectSecuritySchemeH\x00\x12`\n\x14mtls_security_scheme\x18\x05 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.MutualTlsSecuritySchemeH\x00\x42\x08\n\x06scheme\"Z\n\x14\x41PIKeySecurityScheme\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x01\"c\n\x16HTTPAuthSecurityScheme\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06scheme\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rbearer_format\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x14OAuth2SecurityScheme\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12G\n\x05\x66lows\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.OAuthFlowsB\x03\xe0\x41\x01\x12 \n\x13oauth2_metadata_url\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Y\n\x1bOpenIdConnectSecurityScheme\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13open_id_connect_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\"3\n\x17MutualTlsSecurityScheme\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xfa\x02\n\nOAuthFlows\x12\x61\n\x12\x61uthorization_code\x18\x01 \x01(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.AuthorizationCodeOAuthFlowH\x00\x12\x61\n\x12\x63lient_credentials\x18\x02 \x01(\x0b\x32\x43.google.cloud.geminidataanalytics.v1beta.ClientCredentialsOAuthFlowH\x00\x12N\n\x08implicit\x18\x03 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.ImplicitOAuthFlowH\x00\x12N\n\x08password\x18\x04 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.PasswordOAuthFlowH\x00\x42\x06\n\x04\x66low\"\xfe\x01\n\x1a\x41uthorizationCodeOAuthFlow\x12\x1e\n\x11\x61uthorization_url\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttoken_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0brefresh_url\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12_\n\x06scopes\x18\x04 \x03(\x0b\x32O.google.cloud.geminidataanalytics.v1beta.AuthorizationCodeOAuthFlow.ScopesEntry\x1a-\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xde\x01\n\x1a\x43lientCredentialsOAuthFlow\x12\x16\n\ttoken_url\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0brefresh_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12_\n\x06scopes\x18\x03 \x03(\x0b\x32O.google.cloud.geminidataanalytics.v1beta.ClientCredentialsOAuthFlow.ScopesEntry\x1a-\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x01\n\x11ImplicitOAuthFlow\x12\x1e\n\x11\x61uthorization_url\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0brefresh_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x06scopes\x18\x03 \x03(\x0b\x32\x46.google.cloud.geminidataanalytics.v1beta.ImplicitOAuthFlow.ScopesEntry\x1a-\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xcc\x01\n\x11PasswordOAuthFlow\x12\x16\n\ttoken_url\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0brefresh_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x06scopes\x18\x03 \x03(\x0b\x32\x46.google.cloud.geminidataanalytics.v1beta.PasswordOAuthFlow.ScopesEntry\x1a-\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x02\n\x12SendMessageRequest\x12I\n\x07message\x18\x01 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageB\x03\xe0\x41\x02\x12]\n\rconfiguration\x18\x02 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.SendMessageConfigurationB\x03\xe0\x41\x01\x12.\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x13\n\x06tenant\x18\x04 \x01(\tB\x03\xe0\x41\x01\"*\n\x13GetAgentCardRequest\x12\x13\n\x06tenant\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xaf\x01\n\x13SendMessageResponse\x12@\n\x04task\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.A2ATaskH\x00\x12K\n\x03msg\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageH\x00R\x07messageB\t\n\x07payload\"\xe0\x02\n\x0eStreamResponse\x12@\n\x04task\x18\x01 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1beta.A2ATaskH\x00\x12K\n\x03msg\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageH\x00R\x07message\x12W\n\rstatus_update\x18\x03 \x01(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.TaskStatusUpdateEventH\x00\x12[\n\x0f\x61rtifact_update\x18\x04 \x01(\x0b\x32@.google.cloud.geminidataanalytics.v1beta.TaskArtifactUpdateEventH\x00\x42\t\n\x07payload*\xfa\x01\n\tTaskState\x12\x1a\n\x16TASK_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14TASK_STATE_SUBMITTED\x10\x01\x12\x16\n\x12TASK_STATE_WORKING\x10\x02\x12\x18\n\x14TASK_STATE_COMPLETED\x10\x03\x12\x15\n\x11TASK_STATE_FAILED\x10\x04\x12\x18\n\x14TASK_STATE_CANCELLED\x10\x05\x12\x1d\n\x19TASK_STATE_INPUT_REQUIRED\x10\x06\x12\x17\n\x13TASK_STATE_REJECTED\x10\x07\x12\x1c\n\x18TASK_STATE_AUTH_REQUIRED\x10\x08*;\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x0e\n\nROLE_AGENT\x10\x02\x32\x86\x08\n\x0e\x44\x61taA2AService\x12\xbb\x02\n\x0bSendMessage\x12;.google.cloud.geminidataanalytics.v1beta.SendMessageRequest\x1a<.google.cloud.geminidataanalytics.v1beta.SendMessageResponse\"\xb0\x01\xda\x41\x0etenant,message\x82\xd3\xe4\x93\x02\x98\x01\"D/v1beta/a2a/{tenant=projects/*/locations/*/agents/*}/v1/message:send:\x01*ZM\"H/v1beta/a2a/{tenant=projects/*/locations/*/dataAgents/*}/v1/message:send:\x01*\x12\xc5\x02\n\x14SendStreamingMessage\x12;.google.cloud.geminidataanalytics.v1beta.SendMessageRequest\x1a\x37.google.cloud.geminidataanalytics.v1beta.StreamResponse\"\xb4\x01\xda\x41\x0etenant,message\x82\xd3\xe4\x93\x02\x9c\x01\"F/v1beta/a2a/{tenant=projects/*/locations/*/agents/*}/v1/message:stream:\x01*ZO\"J/v1beta/a2a/{tenant=projects/*/locations/*/dataAgents/*}/v1/message:stream:\x01*0\x01\x12\x95\x02\n\x0cGetAgentCard\x12<.google.cloud.geminidataanalytics.v1beta.GetAgentCardRequest\x1a\x32.google.cloud.geminidataanalytics.v1beta.AgentCard\"\x92\x01\xda\x41\x06tenant\x82\xd3\xe4\x93\x02\x82\x01\x12</v1beta/a2a/{tenant=projects/*/locations/*/agents/*}/v1/cardZB\x12@/v1beta/a2a/{tenant=projects/*/locations/*/dataAgents/*}/v1/card\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x13\x44\x61taA2AServiceProtoP\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"
|
|
15
|
+
|
|
16
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Cloud
|
|
21
|
+
module GeminiDataAnalytics
|
|
22
|
+
module V1beta
|
|
23
|
+
SendMessageConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.SendMessageConfiguration").msgclass
|
|
24
|
+
A2ATask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.A2ATask").msgclass
|
|
25
|
+
TaskStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.TaskStatus").msgclass
|
|
26
|
+
Part = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.Part").msgclass
|
|
27
|
+
FilePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.FilePart").msgclass
|
|
28
|
+
DataPart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.DataPart").msgclass
|
|
29
|
+
A2AMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.A2AMessage").msgclass
|
|
30
|
+
A2AArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.A2AArtifact").msgclass
|
|
31
|
+
TaskStatusUpdateEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.TaskStatusUpdateEvent").msgclass
|
|
32
|
+
TaskArtifactUpdateEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.TaskArtifactUpdateEvent").msgclass
|
|
33
|
+
PushNotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.PushNotificationConfig").msgclass
|
|
34
|
+
AuthenticationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AuthenticationInfo").msgclass
|
|
35
|
+
AgentInterface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentInterface").msgclass
|
|
36
|
+
AgentCard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentCard").msgclass
|
|
37
|
+
AgentProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentProvider").msgclass
|
|
38
|
+
AgentCapabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentCapabilities").msgclass
|
|
39
|
+
AgentExtension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentExtension").msgclass
|
|
40
|
+
AgentSkill = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentSkill").msgclass
|
|
41
|
+
AgentCardSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AgentCardSignature").msgclass
|
|
42
|
+
StringList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.StringList").msgclass
|
|
43
|
+
Security = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.Security").msgclass
|
|
44
|
+
SecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.SecurityScheme").msgclass
|
|
45
|
+
APIKeySecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.APIKeySecurityScheme").msgclass
|
|
46
|
+
HTTPAuthSecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.HTTPAuthSecurityScheme").msgclass
|
|
47
|
+
OAuth2SecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.OAuth2SecurityScheme").msgclass
|
|
48
|
+
OpenIdConnectSecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.OpenIdConnectSecurityScheme").msgclass
|
|
49
|
+
MutualTlsSecurityScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.MutualTlsSecurityScheme").msgclass
|
|
50
|
+
OAuthFlows = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.OAuthFlows").msgclass
|
|
51
|
+
AuthorizationCodeOAuthFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AuthorizationCodeOAuthFlow").msgclass
|
|
52
|
+
ClientCredentialsOAuthFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ClientCredentialsOAuthFlow").msgclass
|
|
53
|
+
ImplicitOAuthFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ImplicitOAuthFlow").msgclass
|
|
54
|
+
PasswordOAuthFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.PasswordOAuthFlow").msgclass
|
|
55
|
+
SendMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.SendMessageRequest").msgclass
|
|
56
|
+
GetAgentCardRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.GetAgentCardRequest").msgclass
|
|
57
|
+
SendMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.SendMessageResponse").msgclass
|
|
58
|
+
StreamResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.StreamResponse").msgclass
|
|
59
|
+
TaskState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.TaskState").enummodule
|
|
60
|
+
Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.Role").enummodule
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/geminidataanalytics/v1beta/data_a2a_service.proto for package 'Google.Cloud.GeminiDataAnalytics.V1beta'
|
|
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/v1beta/data_a2a_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module GeminiDataAnalytics
|
|
25
|
+
module V1beta
|
|
26
|
+
module DataA2AService
|
|
27
|
+
# DataA2AService defines the Agent-to-Agent (A2A) protocol service for Gemini
|
|
28
|
+
# Data Analytics.
|
|
29
|
+
class Service
|
|
30
|
+
|
|
31
|
+
include ::GRPC::GenericService
|
|
32
|
+
|
|
33
|
+
self.marshal_class_method = :encode
|
|
34
|
+
self.unmarshal_class_method = :decode
|
|
35
|
+
self.service_name = 'google.cloud.geminidataanalytics.v1beta.DataA2AService'
|
|
36
|
+
|
|
37
|
+
# Send a message to the agent. This is a blocking call that will return the
|
|
38
|
+
# task once it is completed.
|
|
39
|
+
rpc :SendMessage, ::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponse
|
|
40
|
+
# SendStreamingMessage is a streaming call that will return a stream of
|
|
41
|
+
# task update events until the Task is in an interrupted or terminal state.
|
|
42
|
+
rpc :SendStreamingMessage, ::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest, stream(::Google::Cloud::GeminiDataAnalytics::V1beta::StreamResponse)
|
|
43
|
+
# GetAgentCard returns the agent card for the agent.
|
|
44
|
+
rpc :GetAgentCard, ::Google::Cloud::GeminiDataAnalytics::V1beta::GetAgentCardRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCard
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
Stub = Service.rpc_stub_class
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -7,10 +7,11 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
require 'google/cloud/geminidataanalytics/v1beta/data_analytics_agent_pb'
|
|
10
|
+
require 'google/cloud/geminidataanalytics/v1beta/datasource_pb'
|
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
descriptor_data = "\n8google/cloud/geminidataanalytics/v1beta/data_agent.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x42google/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n8google/cloud/geminidataanalytics/v1beta/data_agent.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x42google/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto\x1a\x38google/cloud/geminidataanalytics/v1beta/datasource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x07\n\tDataAgent\x12[\n\x14\x64\x61ta_analytics_agent\x18\x65 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1beta.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\x12S\n\x06labels\x18\x05 \x03(\x0b\x32>.google.cloud.geminidataanalytics.v1beta.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\x12\x32\n bigquery_agent_analytics_enabled\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12l\n\x1e\x62igquery_agent_analytics_table\x18\x13 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xe0\x41\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#\n!_bigquery_agent_analytics_enabledB\x9f\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x0e\x44\x61taAgentProtoP\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
15
|
|
|
15
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
17
|
pool.add_serialized_file(descriptor_data)
|