google-cloud-gemini_data_analytics-v1beta 0.9.1 → 0.10.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.
@@ -61,11 +61,17 @@ module Google
61
61
  end
62
62
 
63
63
  # Message representing references to BigQuery tables and property graphs.
64
- # At least one of `table_references` or `property_graph_references` must be
65
- # populated.
64
+ # At least one of `table_references`, `property_graph_references`, or
65
+ # `search_scope` must be populated.
66
66
  # @!attribute [rw] table_references
67
67
  # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryTableReference>]
68
68
  # Optional. References to BigQuery tables.
69
+ # @!attribute [rw] property_graph_references
70
+ # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryPropertyGraphReference>]
71
+ # Optional. Preview feature. References to BigQuery property graphs.
72
+ # Note: Data sources must exclusively use either tables or property graphs,
73
+ # not both. When using property graphs, a maximum of one graph reference is
74
+ # supported.
69
75
  class BigQueryTableReferences
70
76
  include ::Google::Protobuf::MessageExts
71
77
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -92,7 +98,7 @@ module Google
92
98
  # Message representing references to Looker Studio datasources.
93
99
  # @!attribute [rw] studio_references
94
100
  # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::StudioDatasourceReference>]
95
- # The references to the studio datasources.
101
+ # Optional. The references to the studio datasources.
96
102
  class StudioDatasourceReferences
97
103
  include ::Google::Protobuf::MessageExts
98
104
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -121,6 +127,43 @@ module Google
121
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
122
128
  end
123
129
 
130
+ # Message representing a table including its schema.
131
+ # @!attribute [rw] table_id
132
+ # @return [::String]
133
+ # Required. The name of the table as defined in the database.
134
+ #
135
+ # Note: The precise rules for table naming, including valid characters,
136
+ # length limits, and case sensitivity, are determined by the specific
137
+ # database system.
138
+ #
139
+ # Requirements:
140
+ # - Exact Match: The provided name must be identical to the name stored
141
+ # in the database.
142
+ # - Case Sensitivity: Respect the case sensitivity rules of the specific
143
+ # database system and how the table was created. For example, "Orders"
144
+ # and "orders" may be distinct table names.
145
+ # - Special Characters/Keywords: If the table name includes spaces, special
146
+ # characters, or is a database reserved keyword, provide the literal name
147
+ # as it is stored. Do not add any database-specific identifier quoting
148
+ # characters (e.g., ", `, []).
149
+ #
150
+ # Examples:
151
+ # - Simple name: "orders", "UserActivity"
152
+ # - Case sensitive: "MyTable"
153
+ # - Name with spaces: "Order Details"
154
+ # - Name with other special characters: "user/data", "order-items"
155
+ # - Name that is a keyword: "Group", "Order"
156
+ #
157
+ # Permissions: The caller's credentials must have the necessary database
158
+ # permissions to access the table's schema and data.
159
+ # @!attribute [rw] schema
160
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Schema]
161
+ # Optional. The schema of the table.
162
+ class DatabaseTableReference
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
124
167
  # Message representing a reference to a single AlloyDB database.
125
168
  # @!attribute [rw] project_id
126
169
  # @return [::String]
@@ -140,6 +183,11 @@ module Google
140
183
  # @!attribute [rw] table_ids
141
184
  # @return [::Array<::String>]
142
185
  # Optional. The table ids. Denotes all tables if unset.
186
+ # @!attribute [rw] database_table_references
187
+ # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>]
188
+ # Optional. References to tables within the database. Each reference
189
+ # specifies a table and can optionally include the table's schema to provide
190
+ # context for the query.
143
191
  class AlloyDbDatabaseReference
144
192
  include ::Google::Protobuf::MessageExts
145
193
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -166,9 +214,6 @@ module Google
166
214
  # @!attribute [rw] project_id
167
215
  # @return [::String]
168
216
  # Required. The project the instance belongs to.
169
- # @!attribute [rw] region
170
- # @return [::String]
171
- # Required. The region of the instance.
172
217
  # @!attribute [rw] instance_id
173
218
  # @return [::String]
174
219
  # Required. The instance id.
@@ -178,6 +223,22 @@ module Google
178
223
  # @!attribute [rw] table_ids
179
224
  # @return [::Array<::String>]
180
225
  # Optional. The table ids. Denotes all tables if unset.
226
+ # @!attribute [rw] database_table_references
227
+ # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>]
228
+ # Optional. References to tables within the database. Each reference
229
+ # specifies a table and can optionally include the table's schema to provide
230
+ # context for the query.
231
+ # @!attribute [rw] priority
232
+ # @return [::String]
233
+ # Optional. Priority for the queries to Spanner. Should be a value supported
234
+ # by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be
235
+ # ignored. See
236
+ # https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority
237
+ # for complete list.
238
+ # @!attribute [rw] request_tag
239
+ # @return [::String]
240
+ # Tag to be attached to all queries to Spanner. Allows to identify and
241
+ # monitor queries sent to Spanner by the GDA service.
181
242
  class SpannerDatabaseReference
182
243
  include ::Google::Protobuf::MessageExts
183
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -228,6 +289,11 @@ module Google
228
289
  # @!attribute [rw] table_ids
229
290
  # @return [::Array<::String>]
230
291
  # Optional. The table ids. Denotes all tables if unset.
292
+ # @!attribute [rw] database_table_references
293
+ # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DatabaseTableReference>]
294
+ # Optional. References to tables within the database. Each reference
295
+ # specifies a table and can optionally include the table's schema to provide
296
+ # context for the query.
231
297
  class CloudSqlDatabaseReference
232
298
  include ::Google::Protobuf::MessageExts
233
299
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -250,8 +316,10 @@ module Google
250
316
  # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::LookerExploreReference>]
251
317
  # Required. References to Looker explores.
252
318
  # @!attribute [rw] credentials
319
+ # @deprecated This field is deprecated and may be removed in the next major version update.
253
320
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Credentials]
254
- # Optional. The credentials to use when calling the Looker API.
321
+ # Optional. Deprecated: Use credentials in ChatRequest.
322
+ # The credentials to use when calling the Looker API.
255
323
  #
256
324
  # Currently supports both OAuth token and API key-based credentials, as
257
325
  # described in
@@ -293,6 +361,21 @@ module Google
293
361
  extend ::Google::Protobuf::MessageExts::ClassMethods
294
362
  end
295
363
 
364
+ # Message representing a reference to a single BigQuery property graph.
365
+ # @!attribute [rw] project_id
366
+ # @return [::String]
367
+ # Required. The project that the property graph belongs to.
368
+ # @!attribute [rw] dataset_id
369
+ # @return [::String]
370
+ # Required. The dataset that the property graph belongs to.
371
+ # @!attribute [rw] property_graph_id
372
+ # @return [::String]
373
+ # Required. The property graph id.
374
+ class BigQueryPropertyGraphReference
375
+ include ::Google::Protobuf::MessageExts
376
+ extend ::Google::Protobuf::MessageExts::ClassMethods
377
+ end
378
+
296
379
  # Message representing a private Looker instance info required if the Looker
297
380
  # instance is behind a private network.
298
381
  # @!attribute [rw] looker_instance_id
@@ -311,32 +394,37 @@ module Google
311
394
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryTableReference]
312
395
  # A reference to a BigQuery table.
313
396
  #
314
- # Note: The following fields are mutually exclusive: `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
397
+ # Note: The following fields are mutually exclusive: `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
315
398
  # @!attribute [rw] studio_datasource_id
316
399
  # @return [::String]
317
400
  # A reference to a Looker Studio datasource.
318
401
  #
319
- # Note: The following fields are mutually exclusive: `studio_datasource_id`, `bigquery_table_reference`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
402
+ # Note: The following fields are mutually exclusive: `studio_datasource_id`, `bigquery_table_reference`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
320
403
  # @!attribute [rw] looker_explore_reference
321
404
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::LookerExploreReference]
322
405
  # A reference to a Looker explore.
323
406
  #
324
- # Note: The following fields are mutually exclusive: `looker_explore_reference`, `bigquery_table_reference`, `studio_datasource_id`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
407
+ # Note: The following fields are mutually exclusive: `looker_explore_reference`, `bigquery_table_reference`, `studio_datasource_id`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
325
408
  # @!attribute [rw] alloy_db_reference
326
409
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::AlloyDbReference]
327
410
  # A reference to an AlloyDB database.
328
411
  #
329
- # Note: The following fields are mutually exclusive: `alloy_db_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
412
+ # Note: The following fields are mutually exclusive: `alloy_db_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `spanner_reference`, `cloud_sql_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
330
413
  # @!attribute [rw] spanner_reference
331
414
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::SpannerReference]
332
415
  # A reference to a Spanner database.
333
416
  #
334
- # Note: The following fields are mutually exclusive: `spanner_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
417
+ # Note: The following fields are mutually exclusive: `spanner_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `cloud_sql_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
335
418
  # @!attribute [rw] cloud_sql_reference
336
419
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::CloudSqlReference]
337
420
  # A reference to a CloudSQL database.
338
421
  #
339
- # Note: The following fields are mutually exclusive: `cloud_sql_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
422
+ # Note: The following fields are mutually exclusive: `cloud_sql_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`, `bigquery_property_graph_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
423
+ # @!attribute [rw] bigquery_property_graph_reference
424
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::BigQueryPropertyGraphReference]
425
+ # A reference to a BigQuery property graph.
426
+ #
427
+ # Note: The following fields are mutually exclusive: `bigquery_property_graph_reference`, `bigquery_table_reference`, `studio_datasource_id`, `looker_explore_reference`, `alloy_db_reference`, `spanner_reference`, `cloud_sql_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
340
428
  # @!attribute [rw] schema
341
429
  # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Schema]
342
430
  # Optional. The schema of the datasource.
@@ -418,8 +506,6 @@ module Google
418
506
  # @!attribute [rw] category
419
507
  # @return [::String]
420
508
  # Optional. Field category, not required, currently only useful for Looker.
421
- # We are using a string to avoid depending on an external package and keep
422
- # this package self-contained.
423
509
  # @!attribute [rw] value_format
424
510
  # @return [::String]
425
511
  # Optional. Looker only. Value format of the field.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gemini_data_analytics-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -65,8 +65,9 @@ dependencies:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.11'
68
- description: google-cloud-gemini_data_analytics-v1beta is the official client library
69
- for the Data Analytics API with Gemini V1BETA API. Note that google-cloud-gemini_data_analytics-v1beta
68
+ description: The Gemini Data Analytics API enables developers to build intelligent
69
+ data analytics applications. Leverage AI-powered chat interfaces to allow users
70
+ to interact with and analyze structured data using natural language. Note that google-cloud-gemini_data_analytics-v1beta
70
71
  is a version-specific client library. For most uses, we recommend installing the
71
72
  main client library google-cloud-gemini_data_analytics instead. See the readme for
72
73
  more details.
@@ -159,5 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
160
  requirements: []
160
161
  rubygems_version: 3.6.9
161
162
  specification_version: 4
162
- summary: API Client library for the Data Analytics API with Gemini V1BETA API
163
+ summary: The Gemini Data Analytics API enables developers to build intelligent data
164
+ analytics applications. Leverage AI-powered chat interfaces to allow users to interact
165
+ with and analyze structured data using natural language.
163
166
  test_files: []