google-cloud-gemini_data_analytics-v1beta 0.11.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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4dd72d0a17d6eb1521f28afc8a7af5384605aebb3dd21780112ab98eb7cc0e4
|
|
4
|
+
data.tar.gz: 1be8dd8fe4baa424f7d4d69b8192acd9f307c161ac988aa28c4e375211aa9380
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4622d9b674a5d77a1309e20a022f277d636bc0613da6ebc37fdeb51e30ed75f6a8937e78e7e4bc1028b3b8c6fbf7d33ed24afb759f482482aa59e0625536a663
|
|
7
|
+
data.tar.gz: 385b01d5a40401c8e632b4627af27d5e5944d9606043dc5aa63b0e16f14393beb654d40a89b9062ecd124f2ab2571dcc5a518903039c581a561bf1f2bdae1cd7
|
data/AUTHENTICATION.md
CHANGED
|
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
|
|
|
56
56
|
```ruby
|
|
57
57
|
require "google/cloud/gemini_data_analytics/v1beta"
|
|
58
58
|
|
|
59
|
-
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
59
|
+
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new do |config|
|
|
60
60
|
config.credentials = "path/to/credentialfile.json"
|
|
61
61
|
end
|
|
62
62
|
```
|
|
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
|
|
|
66
66
|
```ruby
|
|
67
67
|
require "google/cloud/gemini_data_analytics/v1beta"
|
|
68
68
|
|
|
69
|
-
::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
69
|
+
::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.configure do |config|
|
|
70
70
|
config.credentials = "path/to/credentialfile.json"
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
73
|
+
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
### Environment Variables
|
|
@@ -100,7 +100,7 @@ require "google/cloud/gemini_data_analytics/v1beta"
|
|
|
100
100
|
|
|
101
101
|
ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
|
|
102
102
|
|
|
103
|
-
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
103
|
+
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
### Local ADC file
|
data/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Ruby Client for the Data Analytics API with Gemini V1BETA API
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Developers can use the Conversational Analytics API, accessed through geminidataanalytics.googleapis.com, to build an artificial intelligence (AI)-powered chat interface, or data agent, that answers questions about structured data in BigQuery, Looker, and Looker Studio using natural language.
|
|
4
4
|
|
|
5
|
-
The Gemini Data Analytics API enables developers to build intelligent data analytics applications. Leverage AI-powered chat interfaces to allow users to interact with and analyze structured data using natural language.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -32,9 +31,9 @@ In order to use this library, you first need to go through the following steps:
|
|
|
32
31
|
```ruby
|
|
33
32
|
require "google/cloud/gemini_data_analytics/v1beta"
|
|
34
33
|
|
|
35
|
-
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
36
|
-
request = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
37
|
-
response = client.
|
|
34
|
+
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new
|
|
35
|
+
request = ::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest.new # (request fields as keyword arguments...)
|
|
36
|
+
response = client.send_message request
|
|
38
37
|
```
|
|
39
38
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest)
|
|
@@ -75,7 +74,7 @@ constructing a client object. For example:
|
|
|
75
74
|
require "google/cloud/gemini_data_analytics/v1beta"
|
|
76
75
|
require "logger"
|
|
77
76
|
|
|
78
|
-
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
77
|
+
client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Client.new do |config|
|
|
79
78
|
config.logger = Logger.new "my-app.log"
|
|
80
79
|
end
|
|
81
80
|
```
|
|
@@ -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.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @example Loading just the REST part of this package, including all its services, and instantiating a REST client
|
|
26
26
|
#
|
|
27
27
|
# require "google/cloud/gemini_data_analytics/v1beta/rest"
|
|
28
|
-
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::
|
|
28
|
+
# client = ::Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Rest::Client.new
|
|
29
29
|
#
|
|
30
30
|
module V1beta
|
|
31
31
|
##
|