google-cloud-gemini_data_analytics-v1 0.a → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/gemini_data_analytics/v1/bindings_override.rb +75 -0
  6. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/client.rb +1635 -0
  7. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/credentials.rb +47 -0
  8. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/operations.rb +841 -0
  9. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/paths.rb +90 -0
  10. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/client.rb +1523 -0
  11. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/operations.rb +925 -0
  12. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/service_stub.rb +758 -0
  13. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest.rb +54 -0
  14. data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service.rb +56 -0
  15. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/client.rb +1063 -0
  16. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/credentials.rb +47 -0
  17. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/paths.rb +109 -0
  18. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/client.rb +988 -0
  19. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/service_stub.rb +443 -0
  20. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest.rb +55 -0
  21. data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service.rb +57 -0
  22. data/lib/google/cloud/gemini_data_analytics/v1/rest.rb +39 -0
  23. data/lib/google/cloud/gemini_data_analytics/v1/version.rb +7 -2
  24. data/lib/google/cloud/gemini_data_analytics/v1.rb +46 -0
  25. data/lib/google/cloud/geminidataanalytics/v1/context_pb.rb +49 -0
  26. data/lib/google/cloud/geminidataanalytics/v1/conversation_pb.rb +31 -0
  27. data/lib/google/cloud/geminidataanalytics/v1/credentials_pb.rb +26 -0
  28. data/lib/google/cloud/geminidataanalytics/v1/data_agent_pb.rb +26 -0
  29. data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_pb.rb +43 -0
  30. data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_services_pb.rb +66 -0
  31. data/lib/google/cloud/geminidataanalytics/v1/data_analytics_agent_pb.rb +24 -0
  32. data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_pb.rb +64 -0
  33. data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_services_pb.rb +59 -0
  34. data/lib/google/cloud/geminidataanalytics/v1/datasource_pb.rb +37 -0
  35. data/lib/google-cloud-gemini_data_analytics-v1.rb +21 -0
  36. data/proto_docs/README.md +4 -0
  37. data/proto_docs/google/api/client.rb +593 -0
  38. data/proto_docs/google/api/field_behavior.rb +85 -0
  39. data/proto_docs/google/api/field_info.rb +88 -0
  40. data/proto_docs/google/api/launch_stage.rb +71 -0
  41. data/proto_docs/google/api/resource.rb +227 -0
  42. data/proto_docs/google/cloud/geminidataanalytics/v1/context.rb +450 -0
  43. data/proto_docs/google/cloud/geminidataanalytics/v1/conversation.rb +167 -0
  44. data/proto_docs/google/cloud/geminidataanalytics/v1/credentials.rb +74 -0
  45. data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent.rb +96 -0
  46. data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent_service.rb +267 -0
  47. data/proto_docs/google/cloud/geminidataanalytics/v1/data_analytics_agent.rb +46 -0
  48. data/proto_docs/google/cloud/geminidataanalytics/v1/data_chat_service.rb +689 -0
  49. data/proto_docs/google/cloud/geminidataanalytics/v1/datasource.rb +304 -0
  50. data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
  51. data/proto_docs/google/iam/v1/options.rb +50 -0
  52. data/proto_docs/google/iam/v1/policy.rb +426 -0
  53. data/proto_docs/google/longrunning/operations.rb +191 -0
  54. data/proto_docs/google/protobuf/any.rb +145 -0
  55. data/proto_docs/google/protobuf/duration.rb +98 -0
  56. data/proto_docs/google/protobuf/empty.rb +34 -0
  57. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  58. data/proto_docs/google/protobuf/struct.rb +108 -0
  59. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  60. data/proto_docs/google/protobuf/wrappers.rb +148 -0
  61. data/proto_docs/google/rpc/status.rb +48 -0
  62. data/proto_docs/google/type/expr.rb +75 -0
  63. metadata +127 -9
@@ -0,0 +1,443 @@
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/v1/data_chat_service_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module GeminiDataAnalytics
24
+ module V1
25
+ module DataChatService
26
+ module Rest
27
+ ##
28
+ # REST service stub for the DataChatService 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 chat REST call
78
+ #
79
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::ChatRequest]
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
+ # @yieldparam chunk [::String] The chunk of data received during server streaming.
85
+ #
86
+ # @return [::Gapic::Rest::TransportOperation]
87
+ def chat(request_pb, options = nil, &)
88
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
89
+
90
+ verb, uri, query_string_params, body = ServiceStub.transcode_chat_request request_pb
91
+ query_string_params = if query_string_params.any?
92
+ query_string_params.to_h { |p| p.split "=", 2 }
93
+ else
94
+ {}
95
+ end
96
+
97
+ response = @client_stub.make_http_request(
98
+ verb,
99
+ uri: uri,
100
+ body: body || "",
101
+ params: query_string_params,
102
+ method_name: "chat",
103
+ options: options,
104
+ is_server_streaming: true,
105
+ &
106
+ )
107
+ ::Gapic::Rest::TransportOperation.new response
108
+ end
109
+
110
+ ##
111
+ # Baseline implementation for the create_conversation REST call
112
+ #
113
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::CreateConversationRequest]
114
+ # A request object representing the call parameters. Required.
115
+ # @param options [::Gapic::CallOptions]
116
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
117
+ #
118
+ # @yield [result, operation] Access the result along with the TransportOperation object
119
+ # @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
120
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
121
+ #
122
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
123
+ # A result object deserialized from the server's reply
124
+ def create_conversation request_pb, options = nil
125
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
126
+
127
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_conversation_request request_pb
128
+ query_string_params = if query_string_params.any?
129
+ query_string_params.to_h { |p| p.split "=", 2 }
130
+ else
131
+ {}
132
+ end
133
+
134
+ response = @client_stub.make_http_request(
135
+ verb,
136
+ uri: uri,
137
+ body: body || "",
138
+ params: query_string_params,
139
+ method_name: "create_conversation",
140
+ options: options
141
+ )
142
+ operation = ::Gapic::Rest::TransportOperation.new response
143
+ result = ::Google::Cloud::GeminiDataAnalytics::V1::Conversation.decode_json response.body, ignore_unknown_fields: true
144
+ catch :response do
145
+ yield result, operation if block_given?
146
+ result
147
+ end
148
+ end
149
+
150
+ ##
151
+ # Baseline implementation for the delete_conversation REST call
152
+ #
153
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::DeleteConversationRequest]
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::Protobuf::Empty]
160
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
161
+ #
162
+ # @return [::Google::Protobuf::Empty]
163
+ # A result object deserialized from the server's reply
164
+ def delete_conversation 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_delete_conversation_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: "delete_conversation",
180
+ options: options
181
+ )
182
+ operation = ::Gapic::Rest::TransportOperation.new response
183
+ result = ::Google::Protobuf::Empty.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
+ # Baseline implementation for the get_conversation REST call
192
+ #
193
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::GetConversationRequest]
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::V1::Conversation]
200
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
201
+ #
202
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
203
+ # A result object deserialized from the server's reply
204
+ def get_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_get_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: "get_conversation",
220
+ options: options
221
+ )
222
+ operation = ::Gapic::Rest::TransportOperation.new response
223
+ result = ::Google::Cloud::GeminiDataAnalytics::V1::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
+
230
+ ##
231
+ # Baseline implementation for the list_conversations REST call
232
+ #
233
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsRequest]
234
+ # A request object representing the call parameters. Required.
235
+ # @param options [::Gapic::CallOptions]
236
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
237
+ #
238
+ # @yield [result, operation] Access the result along with the TransportOperation object
239
+ # @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsResponse]
240
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
241
+ #
242
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsResponse]
243
+ # A result object deserialized from the server's reply
244
+ def list_conversations request_pb, options = nil
245
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
246
+
247
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_conversations_request request_pb
248
+ query_string_params = if query_string_params.any?
249
+ query_string_params.to_h { |p| p.split "=", 2 }
250
+ else
251
+ {}
252
+ end
253
+
254
+ response = @client_stub.make_http_request(
255
+ verb,
256
+ uri: uri,
257
+ body: body || "",
258
+ params: query_string_params,
259
+ method_name: "list_conversations",
260
+ options: options
261
+ )
262
+ operation = ::Gapic::Rest::TransportOperation.new response
263
+ result = ::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsResponse.decode_json response.body, ignore_unknown_fields: true
264
+ catch :response do
265
+ yield result, operation if block_given?
266
+ result
267
+ end
268
+ end
269
+
270
+ ##
271
+ # Baseline implementation for the list_messages REST call
272
+ #
273
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesRequest]
274
+ # A request object representing the call parameters. Required.
275
+ # @param options [::Gapic::CallOptions]
276
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
277
+ #
278
+ # @yield [result, operation] Access the result along with the TransportOperation object
279
+ # @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesResponse]
280
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
281
+ #
282
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesResponse]
283
+ # A result object deserialized from the server's reply
284
+ def list_messages request_pb, options = nil
285
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
286
+
287
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_messages_request request_pb
288
+ query_string_params = if query_string_params.any?
289
+ query_string_params.to_h { |p| p.split "=", 2 }
290
+ else
291
+ {}
292
+ end
293
+
294
+ response = @client_stub.make_http_request(
295
+ verb,
296
+ uri: uri,
297
+ body: body || "",
298
+ params: query_string_params,
299
+ method_name: "list_messages",
300
+ options: options
301
+ )
302
+ operation = ::Gapic::Rest::TransportOperation.new response
303
+ result = ::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesResponse.decode_json response.body, ignore_unknown_fields: true
304
+ catch :response do
305
+ yield result, operation if block_given?
306
+ result
307
+ end
308
+ end
309
+
310
+ ##
311
+ # @private
312
+ #
313
+ # GRPC transcoding helper method for the chat REST call
314
+ #
315
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::ChatRequest]
316
+ # A request object representing the call parameters. Required.
317
+ # @return [Array(String, [String, nil], Hash{String => String})]
318
+ # Uri, Body, Query string parameters
319
+ def self.transcode_chat_request request_pb
320
+ transcoder = Gapic::Rest::GrpcTranscoder.new
321
+ .with_bindings(
322
+ uri_method: :post,
323
+ uri_template: "/v1/{parent}:chat",
324
+ body: "*",
325
+ matches: [
326
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
327
+ ]
328
+ )
329
+ transcoder.transcode request_pb
330
+ end
331
+
332
+ ##
333
+ # @private
334
+ #
335
+ # GRPC transcoding helper method for the create_conversation REST call
336
+ #
337
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::CreateConversationRequest]
338
+ # A request object representing the call parameters. Required.
339
+ # @return [Array(String, [String, nil], Hash{String => String})]
340
+ # Uri, Body, Query string parameters
341
+ def self.transcode_create_conversation_request request_pb
342
+ transcoder = Gapic::Rest::GrpcTranscoder.new
343
+ .with_bindings(
344
+ uri_method: :post,
345
+ uri_template: "/v1/{parent}/conversations",
346
+ body: "conversation",
347
+ matches: [
348
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
349
+ ]
350
+ )
351
+ transcoder.transcode request_pb
352
+ end
353
+
354
+ ##
355
+ # @private
356
+ #
357
+ # GRPC transcoding helper method for the delete_conversation REST call
358
+ #
359
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::DeleteConversationRequest]
360
+ # A request object representing the call parameters. Required.
361
+ # @return [Array(String, [String, nil], Hash{String => String})]
362
+ # Uri, Body, Query string parameters
363
+ def self.transcode_delete_conversation_request request_pb
364
+ transcoder = Gapic::Rest::GrpcTranscoder.new
365
+ .with_bindings(
366
+ uri_method: :delete,
367
+ uri_template: "/v1/{name}",
368
+ matches: [
369
+ ["name", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
370
+ ]
371
+ )
372
+ transcoder.transcode request_pb
373
+ end
374
+
375
+ ##
376
+ # @private
377
+ #
378
+ # GRPC transcoding helper method for the get_conversation REST call
379
+ #
380
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::GetConversationRequest]
381
+ # A request object representing the call parameters. Required.
382
+ # @return [Array(String, [String, nil], Hash{String => String})]
383
+ # Uri, Body, Query string parameters
384
+ def self.transcode_get_conversation_request request_pb
385
+ transcoder = Gapic::Rest::GrpcTranscoder.new
386
+ .with_bindings(
387
+ uri_method: :get,
388
+ uri_template: "/v1/{name}",
389
+ matches: [
390
+ ["name", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
391
+ ]
392
+ )
393
+ transcoder.transcode request_pb
394
+ end
395
+
396
+ ##
397
+ # @private
398
+ #
399
+ # GRPC transcoding helper method for the list_conversations REST call
400
+ #
401
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::ListConversationsRequest]
402
+ # A request object representing the call parameters. Required.
403
+ # @return [Array(String, [String, nil], Hash{String => String})]
404
+ # Uri, Body, Query string parameters
405
+ def self.transcode_list_conversations_request request_pb
406
+ transcoder = Gapic::Rest::GrpcTranscoder.new
407
+ .with_bindings(
408
+ uri_method: :get,
409
+ uri_template: "/v1/{parent}/conversations",
410
+ matches: [
411
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
412
+ ]
413
+ )
414
+ transcoder.transcode request_pb
415
+ end
416
+
417
+ ##
418
+ # @private
419
+ #
420
+ # GRPC transcoding helper method for the list_messages REST call
421
+ #
422
+ # @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::ListMessagesRequest]
423
+ # A request object representing the call parameters. Required.
424
+ # @return [Array(String, [String, nil], Hash{String => String})]
425
+ # Uri, Body, Query string parameters
426
+ def self.transcode_list_messages_request request_pb
427
+ transcoder = Gapic::Rest::GrpcTranscoder.new
428
+ .with_bindings(
429
+ uri_method: :get,
430
+ uri_template: "/v1/{parent}/messages",
431
+ matches: [
432
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
433
+ ]
434
+ )
435
+ transcoder.transcode request_pb
436
+ end
437
+ end
438
+ end
439
+ end
440
+ end
441
+ end
442
+ end
443
+ end
@@ -0,0 +1,55 @@
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/v1/version"
24
+ require "google/cloud/gemini_data_analytics/v1/bindings_override"
25
+
26
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/credentials"
27
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/paths"
28
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module GeminiDataAnalytics
33
+ module V1
34
+ ##
35
+ # Service to ask a natural language question on top of BigQuery
36
+ # and Looker Studio datasources to get back streamed responses of various kinds
37
+ # to help provide a rich conversational answer.
38
+ #
39
+ # To load this service and instantiate a REST client:
40
+ #
41
+ # require "google/cloud/gemini_data_analytics/v1/data_chat_service/rest"
42
+ # client = ::Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Rest::Client.new
43
+ #
44
+ module DataChatService
45
+ # Client for the REST transport
46
+ module Rest
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
55
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,57 @@
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/v1/version"
24
+
25
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/credentials"
26
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/paths"
27
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/client"
28
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module GeminiDataAnalytics
33
+ module V1
34
+ ##
35
+ # Service to ask a natural language question on top of BigQuery
36
+ # and Looker Studio datasources to get back streamed responses of various kinds
37
+ # to help provide a rich conversational answer.
38
+ #
39
+ # @example Load this service and instantiate a gRPC client
40
+ #
41
+ # require "google/cloud/gemini_data_analytics/v1/data_chat_service"
42
+ # client = ::Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Client.new
43
+ #
44
+ # @example Load this service and instantiate a REST client
45
+ #
46
+ # require "google/cloud/gemini_data_analytics/v1/data_chat_service/rest"
47
+ # client = ::Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Rest::Client.new
48
+ #
49
+ module DataChatService
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+
56
+ helper_path = ::File.join __dir__, "data_chat_service", "helpers.rb"
57
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,39 @@
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/gemini_data_analytics/v1/data_agent_service/rest"
20
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service/rest"
21
+ require "google/cloud/gemini_data_analytics/v1/bindings_override"
22
+ require "google/cloud/gemini_data_analytics/v1/version"
23
+
24
+ module Google
25
+ module Cloud
26
+ module GeminiDataAnalytics
27
+ ##
28
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
29
+ #
30
+ # @example
31
+ #
32
+ # require "google/cloud/gemini_data_analytics/v1/rest"
33
+ # client = ::Google::Cloud::GeminiDataAnalytics::V1::DataAgentService::Rest::Client.new
34
+ #
35
+ module V1
36
+ end
37
+ end
38
+ end
39
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2026 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module GeminiDataAnalytics
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,46 @@
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/gemini_data_analytics/v1/data_agent_service"
20
+ require "google/cloud/gemini_data_analytics/v1/data_chat_service"
21
+ require "google/cloud/gemini_data_analytics/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module GeminiDataAnalytics
26
+ ##
27
+ # API client module.
28
+ #
29
+ # @example Load this package, including all its services, and instantiate a gRPC client
30
+ #
31
+ # require "google/cloud/gemini_data_analytics/v1"
32
+ # client = ::Google::Cloud::GeminiDataAnalytics::V1::DataAgentService::Client.new
33
+ #
34
+ # @example Load this package, including all its services, and instantiate a REST client
35
+ #
36
+ # require "google/cloud/gemini_data_analytics/v1"
37
+ # client = ::Google::Cloud::GeminiDataAnalytics::V1::DataAgentService::Rest::Client.new
38
+ #
39
+ module V1
40
+ end
41
+ end
42
+ end
43
+ end
44
+
45
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
46
+ require "google/cloud/gemini_data_analytics/v1/_helpers" if ::File.file? helper_path