google-cloud-gemini_data_analytics-v1beta 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 (62) 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/v1beta/bindings_override.rb +75 -0
  6. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/client.rb +1286 -0
  7. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/credentials.rb +47 -0
  8. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/operations.rb +813 -0
  9. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/paths.rb +69 -0
  10. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/client.rb +1212 -0
  11. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/operations.rb +914 -0
  12. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest/service_stub.rb +573 -0
  13. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service/rest.rb +54 -0
  14. data/lib/google/cloud/gemini_data_analytics/v1beta/data_agent_service.rb +56 -0
  15. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/client.rb +928 -0
  16. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/credentials.rb +47 -0
  17. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/paths.rb +102 -0
  18. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest/client.rb +877 -0
  19. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest/service_stub.rb +382 -0
  20. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service/rest.rb +55 -0
  21. data/lib/google/cloud/gemini_data_analytics/v1beta/data_chat_service.rb +57 -0
  22. data/lib/google/cloud/gemini_data_analytics/v1beta/rest.rb +39 -0
  23. data/lib/google/cloud/gemini_data_analytics/v1beta/version.rb +7 -2
  24. data/lib/google/cloud/gemini_data_analytics/v1beta.rb +46 -0
  25. data/lib/google/cloud/geminidataanalytics/v1beta/context_pb.rb +54 -0
  26. data/lib/google/cloud/geminidataanalytics/v1beta/conversation_pb.rb +52 -0
  27. data/lib/google/cloud/geminidataanalytics/v1beta/credentials_pb.rb +47 -0
  28. data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_pb.rb +49 -0
  29. data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_pb.rb +67 -0
  30. data/lib/google/cloud/geminidataanalytics/v1beta/data_agent_service_services_pb.rb +60 -0
  31. data/lib/google/cloud/geminidataanalytics/v1beta/data_analytics_agent_pb.rb +46 -0
  32. data/lib/google/cloud/geminidataanalytics/v1beta/data_chat_service_pb.rb +85 -0
  33. data/lib/google/cloud/geminidataanalytics/v1beta/data_chat_service_services_pb.rb +57 -0
  34. data/lib/google/cloud/geminidataanalytics/v1beta/datasource_pb.rb +58 -0
  35. data/lib/google-cloud-gemini_data_analytics-v1beta.rb +21 -0
  36. data/proto_docs/README.md +4 -0
  37. data/proto_docs/google/api/client.rb +473 -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/v1beta/context.rb +136 -0
  43. data/proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb +144 -0
  44. data/proto_docs/google/cloud/geminidataanalytics/v1beta/credentials.rb +74 -0
  45. data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_agent.rb +90 -0
  46. data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_agent_service.rb +267 -0
  47. data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_analytics_agent.rb +46 -0
  48. data/proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb +576 -0
  49. data/proto_docs/google/cloud/geminidataanalytics/v1beta/datasource.rb +280 -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 +173 -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/rpc/status.rb +48 -0
  61. data/proto_docs/google/type/expr.rb +75 -0
  62. metadata +123 -9
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+
20
+ module Google
21
+ module Cloud
22
+ module GeminiDataAnalytics
23
+ module V1beta
24
+ # Message describing a DataAgent object.
25
+ # @!attribute [rw] data_analytics_agent
26
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::DataAnalyticsAgent]
27
+ # Data analytics agent.
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Optional. Identifier. The unique resource name of a DataAgent.
31
+ # Format:
32
+ # `projects/{project}/locations/{location}/dataAgents/{data_agent_id}`
33
+ # `{data_agent}` is the resource id and should be 63 characters or less and
34
+ # must match the format described in
35
+ # https://google.aip.dev/122#resource-id-segments
36
+ #
37
+ # Example: `projects/1234567890/locations/us-central1/dataAgents/my-agent`.
38
+ #
39
+ # It is recommended to skip setting this field during agent creation as it
40
+ # will be inferred automatically and overwritten with the
41
+ # \\{parent}/dataAgents/\\{data_agent_id}.
42
+ # @!attribute [rw] display_name
43
+ # @return [::String]
44
+ # Optional. User friendly display name.
45
+ #
46
+ # * Must be between 1-256 characters.
47
+ # @!attribute [rw] description
48
+ # @return [::String]
49
+ # Optional. Description of the agent.
50
+ #
51
+ # * Must be between 1-1024 characters.
52
+ # @!attribute [rw] labels
53
+ # @return [::Google::Protobuf::Map{::String => ::String}]
54
+ # Optional. Labels to help users filter related agents.
55
+ # For example, "sales", "business", "etl", and so on.
56
+ # Note labels are used only for filtering and not for policies.
57
+ # See the [labels
58
+ # documentation](https://cloud.google.com/resource-manager/docs/labels-overview)
59
+ # for more details on label usage.
60
+ # @!attribute [r] create_time
61
+ # @return [::Google::Protobuf::Timestamp]
62
+ # Output only. The time when the data agent was created.
63
+ # @!attribute [r] update_time
64
+ # @return [::Google::Protobuf::Timestamp]
65
+ # Output only. The time when the data agent was last updated.
66
+ # @!attribute [r] delete_time
67
+ # @return [::Google::Protobuf::Timestamp]
68
+ # Output only. [Output only] The time the data agent was soft deleted.
69
+ # @!attribute [r] purge_time
70
+ # @return [::Google::Protobuf::Timestamp]
71
+ # Output only. Timestamp in UTC of when this data agent is considered
72
+ # expired. This is *always* provided on output, regardless of what was sent
73
+ # on input.
74
+ class DataAgent
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+
78
+ # @!attribute [rw] key
79
+ # @return [::String]
80
+ # @!attribute [rw] value
81
+ # @return [::String]
82
+ class LabelsEntry
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+ end
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,267 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+
20
+ module Google
21
+ module Cloud
22
+ module GeminiDataAnalytics
23
+ module V1beta
24
+ # Message for requesting list of DataAgents.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Parent value for ListDataAgentsRequest.
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # Optional. Server may return fewer items than requested.
31
+ # If unspecified, server will pick an appropriate default.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # Optional. A page token, received from a previous `ListDataAgents` call.
35
+ # Provide this to retrieve the subsequent page.
36
+ #
37
+ # When paginating, all other parameters provided to `ListDataAgents` must
38
+ # match the call that provided the page token. The service may return fewer
39
+ # than this value.
40
+ # @!attribute [rw] filter
41
+ # @return [::String]
42
+ # Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
43
+ # syntax.
44
+ # @!attribute [rw] order_by
45
+ # @return [::String]
46
+ # Optional. User specification for how to order the results.
47
+ # @!attribute [rw] show_deleted
48
+ # @return [::Boolean]
49
+ # Optional. If true, the list results will include soft-deleted DataAgents.
50
+ # Defaults to false.
51
+ class ListDataAgentsRequest
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # Message for response to listing DataAgents.
57
+ # @!attribute [rw] data_agents
58
+ # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent>]
59
+ # The list of DataAgent.
60
+ # @!attribute [rw] next_page_token
61
+ # @return [::String]
62
+ # The next page token or empty if none.
63
+ # @!attribute [rw] unreachable
64
+ # @return [::Array<::String>]
65
+ # Unordered list. Locations that could not be reached.
66
+ class ListDataAgentsResponse
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Message for requesting list of accessible DataAgents.
72
+ # @!attribute [rw] parent
73
+ # @return [::String]
74
+ # Required. Parent value for ListAccessibleDataAgentsRequest.
75
+ # @!attribute [rw] page_size
76
+ # @return [::Integer]
77
+ # Optional. Server may return fewer items than requested.
78
+ # If unspecified, server will pick an appropriate default.
79
+ # @!attribute [rw] page_token
80
+ # @return [::String]
81
+ # Optional. A page token, received from a previous `ListAccessibleDataAgents`
82
+ # call. Provide this to retrieve the subsequent page.
83
+ #
84
+ # When paginating, all other parameters provided to
85
+ # `ListAccessibleDataAgents` must match the call that provided the page
86
+ # token. The service may return fewer than this value.
87
+ # @!attribute [rw] filter
88
+ # @return [::String]
89
+ # Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
90
+ # syntax.
91
+ # @!attribute [rw] order_by
92
+ # @return [::String]
93
+ # Optional. User specification for how to order the results.
94
+ # @!attribute [rw] show_deleted
95
+ # @return [::Boolean]
96
+ # Optional. If true, the list results will include soft-deleted DataAgents.
97
+ # Defaults to false.
98
+ # @!attribute [rw] creator_filter
99
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::ListAccessibleDataAgentsRequest::CreatorFilter]
100
+ # Optional. Filter for the creator of the agent.
101
+ class ListAccessibleDataAgentsRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+
105
+ # Filter for the creator of the agent.
106
+ module CreatorFilter
107
+ # Default value.
108
+ CREATOR_FILTER_UNSPECIFIED = 0
109
+
110
+ # No creator-specific filter will be applied. All agents will be returned.
111
+ NONE = 1
112
+
113
+ # Only agents created by the user calling the API will be returned.
114
+ CREATOR_ONLY = 2
115
+
116
+ # Only agents not created by the user calling the API will be returned.
117
+ NOT_CREATOR_ONLY = 3
118
+ end
119
+ end
120
+
121
+ # Message for response to listing accessible DataAgents.
122
+ # @!attribute [rw] data_agents
123
+ # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent>]
124
+ # The list of accessible DataAgent.
125
+ # @!attribute [rw] next_page_token
126
+ # @return [::String]
127
+ # The next page token or empty if none.
128
+ # @!attribute [rw] unreachable
129
+ # @return [::Array<::String>]
130
+ # Unordered list. Locations that could not be reached.
131
+ class ListAccessibleDataAgentsResponse
132
+ include ::Google::Protobuf::MessageExts
133
+ extend ::Google::Protobuf::MessageExts::ClassMethods
134
+ end
135
+
136
+ # Message for getting a DataAgent.
137
+ # @!attribute [rw] name
138
+ # @return [::String]
139
+ # Required. Name of the resource.
140
+ class GetDataAgentRequest
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
+ end
144
+
145
+ # Message for creating a DataAgent.
146
+ # @!attribute [rw] parent
147
+ # @return [::String]
148
+ # Required. Value for parent.
149
+ # @!attribute [rw] data_agent_id
150
+ # @return [::String]
151
+ # Optional. Id of the requesting object. Must be unique within the parent.
152
+ # The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
153
+ # If not provided, the server will auto-generate a value for the id.
154
+ # @!attribute [rw] data_agent
155
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent]
156
+ # Required. The resource being created.
157
+ # @!attribute [rw] request_id
158
+ # @return [::String]
159
+ # Optional. An optional request ID to identify requests. Specify a unique
160
+ # request ID so that if you must retry your request, the server will know to
161
+ # ignore the request if it has already been completed. The server will
162
+ # guarantee that for at least 60 minutes since the first request.
163
+ #
164
+ # For example, consider a situation where you make an initial request and the
165
+ # request times out. If you make the request again with the same request
166
+ # ID, the server can check if original operation with the same request ID
167
+ # was received, and if so, will ignore the second request. This prevents
168
+ # clients from accidentally creating duplicate commitments.
169
+ #
170
+ # The request ID must be a valid UUID with the exception that zero UUID is
171
+ # not supported (00000000-0000-0000-0000-000000000000).
172
+ class CreateDataAgentRequest
173
+ include ::Google::Protobuf::MessageExts
174
+ extend ::Google::Protobuf::MessageExts::ClassMethods
175
+ end
176
+
177
+ # Message for updating a DataAgent.
178
+ # @!attribute [rw] update_mask
179
+ # @return [::Google::Protobuf::FieldMask]
180
+ # Optional. Field mask is used to specify the fields to be overwritten in the
181
+ # DataAgent resource by the update.
182
+ # The fields specified in the update_mask are relative to the resource, not
183
+ # the full request. A field will be overwritten if it is in the mask. If the
184
+ # user does not provide a mask then all fields with non-default values
185
+ # present in the request will be overwritten. If a wildcard mask is provided,
186
+ # all fields will be overwritten.
187
+ # @!attribute [rw] data_agent
188
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent]
189
+ # Required. The resource being updated.
190
+ # @!attribute [rw] request_id
191
+ # @return [::String]
192
+ # Optional. An optional request ID to identify requests. Specify a unique
193
+ # request ID so that if you must retry your request, the server will know to
194
+ # ignore the request if it has already been completed. The server will
195
+ # guarantee that for at least 60 minutes since the first request.
196
+ #
197
+ # For example, consider a situation where you make an initial request and the
198
+ # request times out. If you make the request again with the same request
199
+ # ID, the server can check if original operation with the same request ID
200
+ # was received, and if so, will ignore the second request. This prevents
201
+ # clients from accidentally creating duplicate commitments.
202
+ #
203
+ # The request ID must be a valid UUID with the exception that zero UUID is
204
+ # not supported (00000000-0000-0000-0000-000000000000).
205
+ class UpdateDataAgentRequest
206
+ include ::Google::Protobuf::MessageExts
207
+ extend ::Google::Protobuf::MessageExts::ClassMethods
208
+ end
209
+
210
+ # Message for deleting a DataAgent.
211
+ # @!attribute [rw] name
212
+ # @return [::String]
213
+ # Required. Name of the resource.
214
+ # @!attribute [rw] request_id
215
+ # @return [::String]
216
+ # Optional. An optional request ID to identify requests. Specify a unique
217
+ # request ID so that if you must retry your request, the server will know to
218
+ # ignore the request if it has already been completed. The server will
219
+ # guarantee that for at least 60 minutes after the first request.
220
+ #
221
+ # For example, consider a situation where you make an initial request and the
222
+ # request times out. If you make the request again with the same request
223
+ # ID, the server can check if original operation with the same request ID
224
+ # was received, and if so, will ignore the second request. This prevents
225
+ # clients from accidentally creating duplicate commitments.
226
+ #
227
+ # The request ID must be a valid UUID with the exception that zero UUID is
228
+ # not supported (00000000-0000-0000-0000-000000000000).
229
+ class DeleteDataAgentRequest
230
+ include ::Google::Protobuf::MessageExts
231
+ extend ::Google::Protobuf::MessageExts::ClassMethods
232
+ end
233
+
234
+ # Represents the metadata of the long-running operation.
235
+ # @!attribute [r] create_time
236
+ # @return [::Google::Protobuf::Timestamp]
237
+ # Output only. The time the operation was created.
238
+ # @!attribute [r] end_time
239
+ # @return [::Google::Protobuf::Timestamp]
240
+ # Output only. The time the operation finished running.
241
+ # @!attribute [r] target
242
+ # @return [::String]
243
+ # Output only. Server-defined resource path for the target of the operation.
244
+ # @!attribute [r] verb
245
+ # @return [::String]
246
+ # Output only. Name of the verb executed by the operation.
247
+ # @!attribute [r] status_message
248
+ # @return [::String]
249
+ # Output only. Human-readable status of the operation, if any.
250
+ # @!attribute [r] requested_cancellation
251
+ # @return [::Boolean]
252
+ # Output only. Identifies whether the user has requested cancellation
253
+ # of the operation. Operations that have been cancelled successfully
254
+ # have [Operation.error][] value with a
255
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
256
+ # `Code.CANCELLED`.
257
+ # @!attribute [r] api_version
258
+ # @return [::String]
259
+ # Output only. API version used to start the operation.
260
+ class OperationMetadata
261
+ include ::Google::Protobuf::MessageExts
262
+ extend ::Google::Protobuf::MessageExts::ClassMethods
263
+ end
264
+ end
265
+ end
266
+ end
267
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+
20
+ module Google
21
+ module Cloud
22
+ module GeminiDataAnalytics
23
+ module V1beta
24
+ # Message describing a DataAnalyticsAgent object.
25
+ # @!attribute [rw] staging_context
26
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Context]
27
+ # Optional. The staging context for the agent.
28
+ # This context is used to test and validate changes before publishing.
29
+ # @!attribute [rw] published_context
30
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Context]
31
+ # Optional. The published context for the agent.
32
+ # This context is used by the Chat API in production.
33
+ # @!attribute [r] last_published_context
34
+ # @return [::Google::Cloud::GeminiDataAnalytics::V1beta::Context]
35
+ # Output only. The last published context for the agent.
36
+ # This is an output-only field populated by the system when the
37
+ # published context is updated. It is used to restore the agent to a
38
+ # previous state.
39
+ class DataAnalyticsAgent
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end