google-cloud-gemini_data_analytics-v1beta 1.3.0 → 1.4.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 +4 -4
- data/lib/google/cloud/gemini_data_analytics/v1beta/bindings_override.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/client.rb +2 -3
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/client.rb +2 -3
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/client.rb +2 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest/client.rb +2 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/rest.rb +1 -2
- data/lib/google/cloud/gemini_data_analytics/v1beta/version.rb +1 -1
- data/lib/google/cloud/gemini_data_analytics/v1beta.rb +2 -3
- data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_services_pb.rb +1 -2
- data/lib/google/cloud/geminidataanalytics/v1beta/data_chat_service_services_pb.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1beta/datasource_pb.rb +3 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_agent.rb +18 -6
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb +2 -2
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb +49 -0
- metadata +1 -10
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/client.rb +0 -697
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/credentials.rb +0 -47
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest/client.rb +0 -643
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest/service_stub.rb +0 -283
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest.rb +0 -53
- data/lib/google/cloud/gemini_data_analytics/v1beta/data_a2_a_service.rb +0 -55
- data/lib/google/cloud/geminidataanalytics/v1beta/data_a2a_service_pb.rb +0 -64
- data/lib/google/cloud/geminidataanalytics/v1beta/data_a2a_service_services_pb.rb +0 -52
- data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_a2a_service.rb +0 -825
|
@@ -1,283 +0,0 @@
|
|
|
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
|
-
require "google/cloud/geminidataanalytics/v1beta/data_a2a_service_pb"
|
|
20
|
-
|
|
21
|
-
module Google
|
|
22
|
-
module Cloud
|
|
23
|
-
module GeminiDataAnalytics
|
|
24
|
-
module V1beta
|
|
25
|
-
module DataA2AService
|
|
26
|
-
module Rest
|
|
27
|
-
##
|
|
28
|
-
# REST service stub for the DataA2AService service.
|
|
29
|
-
# Service stub contains baseline method implementations
|
|
30
|
-
# including transcoding, making the REST call, and deserialing the response.
|
|
31
|
-
#
|
|
32
|
-
class ServiceStub
|
|
33
|
-
# @private
|
|
34
|
-
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
|
35
|
-
# These require statements are intentionally placed here to initialize
|
|
36
|
-
# the REST modules only when it's required.
|
|
37
|
-
require "gapic/rest"
|
|
38
|
-
|
|
39
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
|
40
|
-
endpoint_template: endpoint_template,
|
|
41
|
-
universe_domain: universe_domain,
|
|
42
|
-
credentials: credentials,
|
|
43
|
-
numeric_enums: true,
|
|
44
|
-
service_name: self.class,
|
|
45
|
-
raise_faraday_errors: false,
|
|
46
|
-
logger: logger
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
##
|
|
50
|
-
# The effective universe domain
|
|
51
|
-
#
|
|
52
|
-
# @return [String]
|
|
53
|
-
#
|
|
54
|
-
def universe_domain
|
|
55
|
-
@client_stub.universe_domain
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
##
|
|
59
|
-
# The effective endpoint
|
|
60
|
-
#
|
|
61
|
-
# @return [String]
|
|
62
|
-
#
|
|
63
|
-
def endpoint
|
|
64
|
-
@client_stub.endpoint
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
##
|
|
68
|
-
# The logger used for request/response debug logging.
|
|
69
|
-
#
|
|
70
|
-
# @return [Logger]
|
|
71
|
-
#
|
|
72
|
-
def logger stub: false
|
|
73
|
-
stub ? @client_stub.stub_logger : @client_stub.logger
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
##
|
|
77
|
-
# Baseline implementation for the send_message REST call
|
|
78
|
-
#
|
|
79
|
-
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest]
|
|
80
|
-
# A request object representing the call parameters. Required.
|
|
81
|
-
# @param options [::Gapic::CallOptions]
|
|
82
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
83
|
-
#
|
|
84
|
-
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
85
|
-
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponse]
|
|
86
|
-
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
-
#
|
|
88
|
-
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponse]
|
|
89
|
-
# A result object deserialized from the server's reply
|
|
90
|
-
def send_message request_pb, options = nil
|
|
91
|
-
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
92
|
-
|
|
93
|
-
verb, uri, query_string_params, body = ServiceStub.transcode_send_message_request request_pb
|
|
94
|
-
query_string_params = if query_string_params.any?
|
|
95
|
-
query_string_params.to_h { |p| p.split "=", 2 }
|
|
96
|
-
else
|
|
97
|
-
{}
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
response = @client_stub.make_http_request(
|
|
101
|
-
verb,
|
|
102
|
-
uri: uri,
|
|
103
|
-
body: body || "",
|
|
104
|
-
params: query_string_params,
|
|
105
|
-
method_name: "send_message",
|
|
106
|
-
options: options
|
|
107
|
-
)
|
|
108
|
-
operation = ::Gapic::Rest::TransportOperation.new response
|
|
109
|
-
result = ::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponse.decode_json response.body, ignore_unknown_fields: true
|
|
110
|
-
catch :response do
|
|
111
|
-
yield result, operation if block_given?
|
|
112
|
-
result
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
##
|
|
117
|
-
# Baseline implementation for the send_streaming_message REST call
|
|
118
|
-
#
|
|
119
|
-
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest]
|
|
120
|
-
# A request object representing the call parameters. Required.
|
|
121
|
-
# @param options [::Gapic::CallOptions]
|
|
122
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
123
|
-
#
|
|
124
|
-
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
|
125
|
-
#
|
|
126
|
-
# @return [::Gapic::Rest::TransportOperation]
|
|
127
|
-
def send_streaming_message(request_pb, options = nil, &)
|
|
128
|
-
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
129
|
-
|
|
130
|
-
verb, uri, query_string_params, body = ServiceStub.transcode_send_streaming_message_request request_pb
|
|
131
|
-
query_string_params = if query_string_params.any?
|
|
132
|
-
query_string_params.to_h { |p| p.split "=", 2 }
|
|
133
|
-
else
|
|
134
|
-
{}
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
response = @client_stub.make_http_request(
|
|
138
|
-
verb,
|
|
139
|
-
uri: uri,
|
|
140
|
-
body: body || "",
|
|
141
|
-
params: query_string_params,
|
|
142
|
-
method_name: "send_streaming_message",
|
|
143
|
-
options: options,
|
|
144
|
-
is_server_streaming: true,
|
|
145
|
-
&
|
|
146
|
-
)
|
|
147
|
-
::Gapic::Rest::TransportOperation.new response
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
##
|
|
151
|
-
# Baseline implementation for the get_agent_card REST call
|
|
152
|
-
#
|
|
153
|
-
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::GetAgentCardRequest]
|
|
154
|
-
# A request object representing the call parameters. Required.
|
|
155
|
-
# @param options [::Gapic::CallOptions]
|
|
156
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
157
|
-
#
|
|
158
|
-
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
159
|
-
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCard]
|
|
160
|
-
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
161
|
-
#
|
|
162
|
-
# @return [::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCard]
|
|
163
|
-
# A result object deserialized from the server's reply
|
|
164
|
-
def get_agent_card request_pb, options = nil
|
|
165
|
-
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
166
|
-
|
|
167
|
-
verb, uri, query_string_params, body = ServiceStub.transcode_get_agent_card_request request_pb
|
|
168
|
-
query_string_params = if query_string_params.any?
|
|
169
|
-
query_string_params.to_h { |p| p.split "=", 2 }
|
|
170
|
-
else
|
|
171
|
-
{}
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
response = @client_stub.make_http_request(
|
|
175
|
-
verb,
|
|
176
|
-
uri: uri,
|
|
177
|
-
body: body || "",
|
|
178
|
-
params: query_string_params,
|
|
179
|
-
method_name: "get_agent_card",
|
|
180
|
-
options: options
|
|
181
|
-
)
|
|
182
|
-
operation = ::Gapic::Rest::TransportOperation.new response
|
|
183
|
-
result = ::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCard.decode_json response.body, ignore_unknown_fields: true
|
|
184
|
-
catch :response do
|
|
185
|
-
yield result, operation if block_given?
|
|
186
|
-
result
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
##
|
|
191
|
-
# @private
|
|
192
|
-
#
|
|
193
|
-
# GRPC transcoding helper method for the send_message REST call
|
|
194
|
-
#
|
|
195
|
-
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest]
|
|
196
|
-
# A request object representing the call parameters. Required.
|
|
197
|
-
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
198
|
-
# Uri, Body, Query string parameters
|
|
199
|
-
def self.transcode_send_message_request request_pb
|
|
200
|
-
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
201
|
-
.with_bindings(
|
|
202
|
-
uri_method: :post,
|
|
203
|
-
uri_template: "/v1beta/a2a/{tenant}/v1/message:send",
|
|
204
|
-
body: "*",
|
|
205
|
-
matches: [
|
|
206
|
-
["tenant", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
|
|
207
|
-
]
|
|
208
|
-
)
|
|
209
|
-
.with_bindings(
|
|
210
|
-
uri_method: :post,
|
|
211
|
-
uri_template: "/v1beta/a2a/{tenant}/v1/message:send",
|
|
212
|
-
body: "*",
|
|
213
|
-
matches: [
|
|
214
|
-
["tenant", %r{^projects/[^/]+/locations/[^/]+/dataAgents/[^/]+/?$}, false]
|
|
215
|
-
]
|
|
216
|
-
)
|
|
217
|
-
transcoder.transcode request_pb
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
##
|
|
221
|
-
# @private
|
|
222
|
-
#
|
|
223
|
-
# GRPC transcoding helper method for the send_streaming_message REST call
|
|
224
|
-
#
|
|
225
|
-
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest]
|
|
226
|
-
# A request object representing the call parameters. Required.
|
|
227
|
-
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
228
|
-
# Uri, Body, Query string parameters
|
|
229
|
-
def self.transcode_send_streaming_message_request request_pb
|
|
230
|
-
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
231
|
-
.with_bindings(
|
|
232
|
-
uri_method: :post,
|
|
233
|
-
uri_template: "/v1beta/a2a/{tenant}/v1/message:stream",
|
|
234
|
-
body: "*",
|
|
235
|
-
matches: [
|
|
236
|
-
["tenant", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
|
|
237
|
-
]
|
|
238
|
-
)
|
|
239
|
-
.with_bindings(
|
|
240
|
-
uri_method: :post,
|
|
241
|
-
uri_template: "/v1beta/a2a/{tenant}/v1/message:stream",
|
|
242
|
-
body: "*",
|
|
243
|
-
matches: [
|
|
244
|
-
["tenant", %r{^projects/[^/]+/locations/[^/]+/dataAgents/[^/]+/?$}, false]
|
|
245
|
-
]
|
|
246
|
-
)
|
|
247
|
-
transcoder.transcode request_pb
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
##
|
|
251
|
-
# @private
|
|
252
|
-
#
|
|
253
|
-
# GRPC transcoding helper method for the get_agent_card REST call
|
|
254
|
-
#
|
|
255
|
-
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1beta::GetAgentCardRequest]
|
|
256
|
-
# A request object representing the call parameters. Required.
|
|
257
|
-
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
258
|
-
# Uri, Body, Query string parameters
|
|
259
|
-
def self.transcode_get_agent_card_request request_pb
|
|
260
|
-
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
261
|
-
.with_bindings(
|
|
262
|
-
uri_method: :get,
|
|
263
|
-
uri_template: "/v1beta/a2a/{tenant}/v1/card",
|
|
264
|
-
matches: [
|
|
265
|
-
["tenant", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
|
|
266
|
-
]
|
|
267
|
-
)
|
|
268
|
-
.with_bindings(
|
|
269
|
-
uri_method: :get,
|
|
270
|
-
uri_template: "/v1beta/a2a/{tenant}/v1/card",
|
|
271
|
-
matches: [
|
|
272
|
-
["tenant", %r{^projects/[^/]+/locations/[^/]+/dataAgents/[^/]+/?$}, false]
|
|
273
|
-
]
|
|
274
|
-
)
|
|
275
|
-
transcoder.transcode request_pb
|
|
276
|
-
end
|
|
277
|
-
end
|
|
278
|
-
end
|
|
279
|
-
end
|
|
280
|
-
end
|
|
281
|
-
end
|
|
282
|
-
end
|
|
283
|
-
end
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
require "gapic/rest"
|
|
20
|
-
require "gapic/config"
|
|
21
|
-
require "gapic/config/method"
|
|
22
|
-
|
|
23
|
-
require "google/cloud/gemini_data_analytics/v1beta/version"
|
|
24
|
-
require "google/cloud/gemini_data_analytics/v1beta/bindings_override"
|
|
25
|
-
|
|
26
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/credentials"
|
|
27
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest/client"
|
|
28
|
-
|
|
29
|
-
module Google
|
|
30
|
-
module Cloud
|
|
31
|
-
module GeminiDataAnalytics
|
|
32
|
-
module V1beta
|
|
33
|
-
##
|
|
34
|
-
# DataA2AService defines the Agent-to-Agent (A2A) protocol service for Gemini
|
|
35
|
-
# Data Analytics.
|
|
36
|
-
#
|
|
37
|
-
# To load this service and instantiate a REST client:
|
|
38
|
-
#
|
|
39
|
-
# require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest"
|
|
40
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Rest::Client.new
|
|
41
|
-
#
|
|
42
|
-
module DataA2AService
|
|
43
|
-
# Client for the REST transport
|
|
44
|
-
module Rest
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
53
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest/helpers" if ::File.file? helper_path
|
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
require "gapic/common"
|
|
20
|
-
require "gapic/config"
|
|
21
|
-
require "gapic/config/method"
|
|
22
|
-
|
|
23
|
-
require "google/cloud/gemini_data_analytics/v1beta/version"
|
|
24
|
-
|
|
25
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/credentials"
|
|
26
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/client"
|
|
27
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest"
|
|
28
|
-
|
|
29
|
-
module Google
|
|
30
|
-
module Cloud
|
|
31
|
-
module GeminiDataAnalytics
|
|
32
|
-
module V1beta
|
|
33
|
-
##
|
|
34
|
-
# DataA2AService defines the Agent-to-Agent (A2A) protocol service for Gemini
|
|
35
|
-
# Data Analytics.
|
|
36
|
-
#
|
|
37
|
-
# @example Load this service and instantiate a gRPC client
|
|
38
|
-
#
|
|
39
|
-
# require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service"
|
|
40
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new
|
|
41
|
-
#
|
|
42
|
-
# @example Load this service and instantiate a REST client
|
|
43
|
-
#
|
|
44
|
-
# require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/rest"
|
|
45
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Rest::Client.new
|
|
46
|
-
#
|
|
47
|
-
module DataA2AService
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
helper_path = ::File.join __dir__, "data_a2_a_service", "helpers.rb"
|
|
55
|
-
require "google/cloud/gemini_data_analytics/v1beta/data_a2_a_service/helpers" if ::File.file? helper_path
|
|
@@ -1,64 +0,0 @@
|
|
|
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\"\xd7\x01\n\x18SendMessageConfiguration\x12#\n\x15\x61\x63\x63\x65pted_output_modes\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12`\n\x11push_notification\x18\x02 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.PushNotificationConfigB\x04\xe2\x41\x01\x01\x12\x1c\n\x0ehistory_length\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x16\n\x08\x62locking\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xcc\x02\n\x07\x41\x32\x41Task\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\ncontext_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12I\n\x06status\x18\x03 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.TaskStatusB\x04\xe2\x41\x01\x01\x12M\n\tartifacts\x18\x04 \x03(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.A2AArtifactB\x04\xe2\x41\x01\x01\x12J\n\x07history\x18\x05 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageB\x04\xe2\x41\x01\x01\x12/\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\xde\x01\n\nTaskStatus\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.geminidataanalytics.v1beta.TaskStateB\x04\xe2\x41\x01\x03\x12R\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageB\x04\xe2\x41\x01\x01R\x07message\x12\x33\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\xd5\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\x04\xe2\x41\x01\x01\x42\x06\n\x04part\"s\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\x17\n\tmime_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04name\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x42\x06\n\x04\x66ile\"7\n\x08\x44\x61taPart\x12+\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\xab\x02\n\nA2AMessage\x12\x18\n\nmessage_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\ncontext_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x15\n\x07task_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x41\n\x04role\x18\x04 \x01(\x0e\x32-.google.cloud.geminidataanalytics.v1beta.RoleB\x04\xe2\x41\x01\x01\x12\x44\n\x07\x63ontent\x18\x05 \x03(\x0b\x32-.google.cloud.geminidataanalytics.v1beta.PartB\x04\xe2\x41\x01\x01\x12/\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x18\n\nextensions\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\"\xe6\x01\n\x0b\x41\x32\x41\x41rtifact\x12\x19\n\x0b\x61rtifact_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x42\n\x05parts\x18\x05 \x03(\x0b\x32-.google.cloud.geminidataanalytics.v1beta.PartB\x04\xe2\x41\x01\x01\x12/\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x18\n\nextensions\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\"\xd9\x01\n\x15TaskStatusUpdateEvent\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\ncontext_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12I\n\x06status\x18\x03 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.TaskStatusB\x04\xe2\x41\x01\x01\x12\x13\n\x05\x66inal\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12/\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\xf9\x01\n\x17TaskArtifactUpdateEvent\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\ncontext_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x08\x61rtifact\x18\x03 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1beta.A2AArtifactB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x61ppend\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x18\n\nlast_chunk\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12/\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\xad\x01\n\x16PushNotificationConfig\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x11\n\x03url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12Y\n\x0e\x61uthentication\x18\x04 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1beta.AuthenticationInfoB\x04\xe2\x41\x01\x01\"F\n\x12\x41uthenticationInfo\x12\x15\n\x07schemes\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x63redentials\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"R\n\x0e\x41gentInterface\x12\x11\n\x03url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\ttransport\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06tenant\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x9c\x08\n\tAgentCard\x12\x1e\n\x10protocol_version\x18\x10 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x11\n\x03url\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12!\n\x13preferred_transport\x18\x0e \x01(\tB\x04\xe2\x41\x01\x01\x12\\\n\x15\x61\x64\x64itional_interfaces\x18\x0f \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.AgentInterfaceB\x04\xe2\x41\x01\x01\x12N\n\x08provider\x18\x04 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1beta.AgentProviderB\x04\xe2\x41\x01\x01\x12\x15\n\x07version\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x64ocumentation_url\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12V\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32:.google.cloud.geminidataanalytics.v1beta.AgentCapabilitiesB\x04\xe2\x41\x01\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\x04\xe2\x41\x01\x01\x12\"\n\x14\x64\x65\x66\x61ult_output_modes\x18\x0b \x03(\tB\x04\xe2\x41\x01\x01\x12I\n\x06skills\x18\x0c \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.AgentSkillB\x04\xe2\x41\x01\x01\x12\x32\n$supports_authenticated_extended_card\x18\r \x01(\x08\x42\x04\xe2\x41\x01\x01\x12U\n\nsignatures\x18\x11 \x03(\x0b\x32;.google.cloud.geminidataanalytics.v1beta.AgentCardSignatureB\x04\xe2\x41\x01\x01\x12\x16\n\x08icon_url\x18\x12 \x01(\tB\x04\xe2\x41\x01\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\x11\n\x03url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0corganization\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xa1\x01\n\x11\x41gentCapabilities\x12\x17\n\tstreaming\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12 \n\x12push_notifications\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12Q\n\nextensions\x18\x03 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1beta.AgentExtensionB\x04\xe2\x41\x01\x01\"\x85\x01\n\x0e\x41gentExtension\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08required\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12-\n\x06params\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\"\xf5\x01\n\nAgentSkill\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04tags\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08\x65xamples\x18\x05 \x03(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0binput_modes\x18\x06 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0coutput_modes\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\x12\x43\n\x08security\x18\x08 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1beta.Security\"u\n\x12\x41gentCardSignature\x12\x17\n\tprotected\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x17\n\tsignature\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12-\n\x06header\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\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\"]\n\x14\x41PIKeySecurityScheme\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"f\n\x16HTTPAuthSecurityScheme\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06scheme\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rbearer_format\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x9e\x01\n\x14OAuth2SecurityScheme\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12H\n\x05\x66lows\x18\x02 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.OAuthFlowsB\x04\xe2\x41\x01\x01\x12!\n\x13oauth2_metadata_url\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"[\n\x1bOpenIdConnectSecurityScheme\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12!\n\x13open_id_connect_url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"4\n\x17MutualTlsSecurityScheme\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\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\"\x81\x02\n\x1a\x41uthorizationCodeOAuthFlow\x12\x1f\n\x11\x61uthorization_url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\ttoken_url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0brefresh_url\x18\x03 \x01(\tB\x04\xe2\x41\x01\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\"\xe0\x01\n\x1a\x43lientCredentialsOAuthFlow\x12\x17\n\ttoken_url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0brefresh_url\x18\x02 \x01(\tB\x04\xe2\x41\x01\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\"\xd6\x01\n\x11ImplicitOAuthFlow\x12\x1f\n\x11\x61uthorization_url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0brefresh_url\x18\x02 \x01(\tB\x04\xe2\x41\x01\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\"\xce\x01\n\x11PasswordOAuthFlow\x12\x17\n\ttoken_url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0brefresh_url\x18\x02 \x01(\tB\x04\xe2\x41\x01\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\"\x87\x02\n\x12SendMessageRequest\x12J\n\x07message\x18\x01 \x01(\x0b\x32\x33.google.cloud.geminidataanalytics.v1beta.A2AMessageB\x04\xe2\x41\x01\x02\x12^\n\rconfiguration\x18\x02 \x01(\x0b\x32\x41.google.cloud.geminidataanalytics.v1beta.SendMessageConfigurationB\x04\xe2\x41\x01\x01\x12/\n\x08metadata\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x14\n\x06tenant\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"+\n\x13GetAgentCardRequest\x12\x14\n\x06tenant\x18\x01 \x01(\tB\x04\xe2\x41\x01\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
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|