google-cloud-alloy_db-v1alpha 0.11.1 → 0.13.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/README.md +1 -1
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/client.rb +249 -4
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/rest/client.rb +235 -4
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/rest/service_stub.rb +124 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/client.rb +519 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/credentials.rb +47 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/operations.rb +813 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/paths.rb +128 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest/client.rb +494 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest/operations.rb +914 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest/service_stub.rb +143 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest.rb +54 -0
- data/lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin.rb +56 -0
- data/lib/google/cloud/alloy_db/v1alpha/rest.rb +1 -0
- data/lib/google/cloud/alloy_db/v1alpha/version.rb +1 -1
- data/lib/google/cloud/alloy_db/v1alpha.rb +1 -0
- data/lib/google/cloud/alloydb/v1alpha/csql_service_pb.rb +53 -0
- data/lib/google/cloud/alloydb/v1alpha/csql_service_services_pb.rb +45 -0
- data/lib/google/cloud/alloydb/v1alpha/gemini_pb.rb +3 -1
- data/lib/google/cloud/alloydb/v1alpha/resources_pb.rb +3 -1
- data/lib/google/cloud/alloydb/v1alpha/service_pb.rb +10 -1
- data/lib/google/cloud/alloydb/v1alpha/service_services_pb.rb +6 -0
- data/proto_docs/google/cloud/alloydb/v1alpha/csql_service.rb +45 -0
- data/proto_docs/google/cloud/alloydb/v1alpha/gemini.rb +19 -0
- data/proto_docs/google/cloud/alloydb/v1alpha/resources.rb +83 -20
- data/proto_docs/google/cloud/alloydb/v1alpha/service.rb +184 -6
- metadata +27 -33
@@ -186,6 +186,179 @@ module Google
|
|
186
186
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
187
|
end
|
188
188
|
|
189
|
+
# Destination for Export. Export will be done to cloud storage.
|
190
|
+
# @!attribute [rw] uri
|
191
|
+
# @return [::String]
|
192
|
+
# Required. The path to the file in Google Cloud Storage where the export
|
193
|
+
# will be stored. The URI is in the form `gs://bucketName/fileName`.
|
194
|
+
class GcsDestination
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
end
|
198
|
+
|
199
|
+
# Export cluster request.
|
200
|
+
# @!attribute [rw] gcs_destination
|
201
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::GcsDestination]
|
202
|
+
# Required. Option to export data to cloud storage.
|
203
|
+
# @!attribute [rw] csv_export_options
|
204
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::ExportClusterRequest::CsvExportOptions]
|
205
|
+
# Options for exporting data in CSV format. Required field to be set for
|
206
|
+
# CSV file type.
|
207
|
+
#
|
208
|
+
# Note: The following fields are mutually exclusive: `csv_export_options`, `sql_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
209
|
+
# @!attribute [rw] sql_export_options
|
210
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::ExportClusterRequest::SqlExportOptions]
|
211
|
+
# Options for exporting data in SQL format. Required field to be set for
|
212
|
+
# SQL file type.
|
213
|
+
#
|
214
|
+
# Note: The following fields are mutually exclusive: `sql_export_options`, `csv_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
215
|
+
# @!attribute [rw] name
|
216
|
+
# @return [::String]
|
217
|
+
# Required. The resource name of the cluster.
|
218
|
+
# @!attribute [rw] database
|
219
|
+
# @return [::String]
|
220
|
+
# Required. Name of the database where the export command will be executed.
|
221
|
+
# Note - Value provided should be the same as expected from
|
222
|
+
# `SELECT current_database();` and NOT as a resource reference.
|
223
|
+
class ExportClusterRequest
|
224
|
+
include ::Google::Protobuf::MessageExts
|
225
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
226
|
+
|
227
|
+
# Options for exporting data in CSV format.
|
228
|
+
# @!attribute [rw] select_query
|
229
|
+
# @return [::String]
|
230
|
+
# Required. The SELECT query used to extract the data.
|
231
|
+
# @!attribute [rw] field_delimiter
|
232
|
+
# @return [::String]
|
233
|
+
# Optional. Specifies the character that separates columns within each row
|
234
|
+
# (line) of the file. The default is comma. The value of this argument has
|
235
|
+
# to be a character in Hex ASCII Code.
|
236
|
+
# @!attribute [rw] quote_character
|
237
|
+
# @return [::String]
|
238
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
239
|
+
# quoted. The default is double-quote. The value of this argument has to be
|
240
|
+
# a character in Hex ASCII Code.
|
241
|
+
# @!attribute [rw] escape_character
|
242
|
+
# @return [::String]
|
243
|
+
# Optional. Specifies the character that should appear before a data
|
244
|
+
# character that needs to be escaped. The default is the same as quote
|
245
|
+
# character. The value of this argument has to be a character in Hex ASCII
|
246
|
+
# Code.
|
247
|
+
class CsvExportOptions
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
251
|
+
|
252
|
+
# Options for exporting data in SQL format.
|
253
|
+
# @!attribute [rw] tables
|
254
|
+
# @return [::Array<::String>]
|
255
|
+
# Optional. Tables to export from.
|
256
|
+
# @!attribute [rw] schema_only
|
257
|
+
# @return [::Boolean]
|
258
|
+
# Optional. If true, only export the schema.
|
259
|
+
# @!attribute [rw] clean_target_objects
|
260
|
+
# @return [::Boolean]
|
261
|
+
# Optional. If true, output commands to DROP all the dumped database
|
262
|
+
# objects prior to outputting the commands for creating them.
|
263
|
+
# @!attribute [rw] if_exist_target_objects
|
264
|
+
# @return [::Boolean]
|
265
|
+
# Optional. If true, use DROP ... IF EXISTS commands to check for the
|
266
|
+
# object's existence before dropping it in clean_target_objects mode.
|
267
|
+
class SqlExportOptions
|
268
|
+
include ::Google::Protobuf::MessageExts
|
269
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
# Response of export cluster rpc.
|
274
|
+
# @!attribute [rw] gcs_destination
|
275
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::GcsDestination]
|
276
|
+
# Required. Option to export data to cloud storage.
|
277
|
+
class ExportClusterResponse
|
278
|
+
include ::Google::Protobuf::MessageExts
|
279
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
280
|
+
end
|
281
|
+
|
282
|
+
# Import cluster request.
|
283
|
+
# @!attribute [rw] sql_import_options
|
284
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::ImportClusterRequest::SqlImportOptions]
|
285
|
+
# Options for importing data in SQL format.
|
286
|
+
#
|
287
|
+
# Note: The following fields are mutually exclusive: `sql_import_options`, `csv_import_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
288
|
+
# @!attribute [rw] csv_import_options
|
289
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::ImportClusterRequest::CsvImportOptions]
|
290
|
+
# Options for importing data in CSV format.
|
291
|
+
#
|
292
|
+
# Note: The following fields are mutually exclusive: `csv_import_options`, `sql_import_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
293
|
+
# @!attribute [rw] name
|
294
|
+
# @return [::String]
|
295
|
+
# Required. The resource name of the cluster.
|
296
|
+
# @!attribute [rw] gcs_uri
|
297
|
+
# @return [::String]
|
298
|
+
# Required. The path to the file in Google Cloud Storage where the source
|
299
|
+
# file for import will be stored. The URI is in the form
|
300
|
+
# `gs://bucketName/fileName`.
|
301
|
+
# @!attribute [rw] database
|
302
|
+
# @return [::String]
|
303
|
+
# Optional. Name of the database to which the import will be done.
|
304
|
+
# For import from SQL file, this is required only if the file does not
|
305
|
+
# specify a database.
|
306
|
+
# Note - Value provided should be the same as expected from `SELECT
|
307
|
+
# current_database();` and NOT as a resource reference.
|
308
|
+
# @!attribute [rw] user
|
309
|
+
# @return [::String]
|
310
|
+
# Optional. Database user to be used for importing the data.
|
311
|
+
# Note - Value provided should be the same as expected from
|
312
|
+
# `SELECT current_user;` and NOT as a resource reference.
|
313
|
+
class ImportClusterRequest
|
314
|
+
include ::Google::Protobuf::MessageExts
|
315
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
316
|
+
|
317
|
+
# Options for importing data in SQL format.
|
318
|
+
class SqlImportOptions
|
319
|
+
include ::Google::Protobuf::MessageExts
|
320
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
321
|
+
end
|
322
|
+
|
323
|
+
# Options for importing data in CSV format.
|
324
|
+
# @!attribute [rw] table
|
325
|
+
# @return [::String]
|
326
|
+
# Required. The database table to import CSV file into.
|
327
|
+
# @!attribute [rw] columns
|
328
|
+
# @return [::Array<::String>]
|
329
|
+
# Optional. The columns to which CSV data is imported. If not specified,
|
330
|
+
# all columns of the database table are loaded with CSV data.
|
331
|
+
# @!attribute [rw] field_delimiter
|
332
|
+
# @return [::String]
|
333
|
+
# Optional. Specifies the character that separates columns within each row
|
334
|
+
# (line) of the file. The default is comma. The value of this argument has
|
335
|
+
# to be a character in Hex ASCII Code.
|
336
|
+
# @!attribute [rw] quote_character
|
337
|
+
# @return [::String]
|
338
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
339
|
+
# quoted. The default is double-quote. The value of this argument has to be
|
340
|
+
# a character in Hex ASCII Code.
|
341
|
+
# @!attribute [rw] escape_character
|
342
|
+
# @return [::String]
|
343
|
+
# Optional. Specifies the character that should appear before a data
|
344
|
+
# character that needs to be escaped. The default is same as quote
|
345
|
+
# character. The value of this argument has to be a character in Hex ASCII
|
346
|
+
# Code.
|
347
|
+
class CsvImportOptions
|
348
|
+
include ::Google::Protobuf::MessageExts
|
349
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# Response of import rpc.
|
354
|
+
# @!attribute [rw] bytes_downloaded
|
355
|
+
# @return [::Integer]
|
356
|
+
# Required. Size of the object downloaded from Google Cloud Storage in bytes.
|
357
|
+
class ImportClusterResponse
|
358
|
+
include ::Google::Protobuf::MessageExts
|
359
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
360
|
+
end
|
361
|
+
|
189
362
|
# Upgrades a cluster.
|
190
363
|
# @!attribute [rw] name
|
191
364
|
# @return [::String]
|
@@ -1211,6 +1384,10 @@ module Google
|
|
1211
1384
|
# @!attribute [rw] page_token
|
1212
1385
|
# @return [::String]
|
1213
1386
|
# A token identifying a page of results the server should return.
|
1387
|
+
# @!attribute [rw] scope
|
1388
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::SupportedDatabaseFlag::Scope]
|
1389
|
+
# Optional. The scope for which supported flags are requested. If not
|
1390
|
+
# specified, default is DATABASE.
|
1214
1391
|
class ListSupportedDatabaseFlagsRequest
|
1215
1392
|
include ::Google::Protobuf::MessageExts
|
1216
1393
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1266,9 +1443,9 @@ module Google
|
|
1266
1443
|
# Optional. The public key from the client.
|
1267
1444
|
# @!attribute [rw] use_metadata_exchange
|
1268
1445
|
# @return [::Boolean]
|
1269
|
-
# Optional. An optional hint to the endpoint to generate a client
|
1270
|
-
#
|
1271
|
-
#
|
1446
|
+
# Optional. An optional hint to the endpoint to generate a client certificate
|
1447
|
+
# that can be used by AlloyDB connectors to exchange additional metadata with
|
1448
|
+
# the server after TLS handshake.
|
1272
1449
|
class GenerateClientCertificateRequest
|
1273
1450
|
include ::Google::Protobuf::MessageExts
|
1274
1451
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1351,9 +1528,10 @@ module Google
|
|
1351
1528
|
# @return [::Boolean]
|
1352
1529
|
# Output only. Identifies whether the user has requested cancellation
|
1353
1530
|
# of the operation. Operations that have successfully been cancelled
|
1354
|
-
# have
|
1355
|
-
# {::Google::
|
1356
|
-
#
|
1531
|
+
# have
|
1532
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
1533
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
1534
|
+
# corresponding to `Code.CANCELLED`.
|
1357
1535
|
# @!attribute [r] api_version
|
1358
1536
|
# @return [::String]
|
1359
1537
|
# Output only. API version used to start the operation.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-alloy_db-v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -13,22 +13,16 @@ dependencies:
|
|
13
13
|
name: gapic-common
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: 0.25.0
|
19
|
-
- - "<"
|
16
|
+
- - "~>"
|
20
17
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
18
|
+
version: '1.0'
|
22
19
|
type: :runtime
|
23
20
|
prerelease: false
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
25
22
|
requirements:
|
26
|
-
- - "
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: 0.25.0
|
29
|
-
- - "<"
|
23
|
+
- - "~>"
|
30
24
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
25
|
+
version: '1.0'
|
32
26
|
- !ruby/object:Gem::Dependency
|
33
27
|
name: google-cloud-errors
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,42 +41,30 @@ dependencies:
|
|
47
41
|
name: google-cloud-location
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
49
43
|
requirements:
|
50
|
-
- - "
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '0.7'
|
53
|
-
- - "<"
|
44
|
+
- - "~>"
|
54
45
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
46
|
+
version: '1.0'
|
56
47
|
type: :runtime
|
57
48
|
prerelease: false
|
58
49
|
version_requirements: !ruby/object:Gem::Requirement
|
59
50
|
requirements:
|
60
|
-
- - "
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.7'
|
63
|
-
- - "<"
|
51
|
+
- - "~>"
|
64
52
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
53
|
+
version: '1.0'
|
66
54
|
- !ruby/object:Gem::Dependency
|
67
55
|
name: google-iam-v1
|
68
56
|
requirement: !ruby/object:Gem::Requirement
|
69
57
|
requirements:
|
70
|
-
- - "
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0.7'
|
73
|
-
- - "<"
|
58
|
+
- - "~>"
|
74
59
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
60
|
+
version: '1.3'
|
76
61
|
type: :runtime
|
77
62
|
prerelease: false
|
78
63
|
version_requirements: !ruby/object:Gem::Requirement
|
79
64
|
requirements:
|
80
|
-
- - "
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.7'
|
83
|
-
- - "<"
|
65
|
+
- - "~>"
|
84
66
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
67
|
+
version: '1.3'
|
86
68
|
description: AlloyDB for PostgreSQL is an open source-compatible database service
|
87
69
|
that provides a powerful option for migrating, modernizing, or building commercial-grade
|
88
70
|
applications. It offers full compatibility with standard PostgreSQL, and is more
|
@@ -115,10 +97,21 @@ files:
|
|
115
97
|
- lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/rest/client.rb
|
116
98
|
- lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/rest/operations.rb
|
117
99
|
- lib/google/cloud/alloy_db/v1alpha/alloy_db_admin/rest/service_stub.rb
|
100
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin.rb
|
101
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/client.rb
|
102
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/credentials.rb
|
103
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/operations.rb
|
104
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/paths.rb
|
105
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest.rb
|
106
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest/client.rb
|
107
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest/operations.rb
|
108
|
+
- lib/google/cloud/alloy_db/v1alpha/alloy_db_cloud_sql_admin/rest/service_stub.rb
|
118
109
|
- lib/google/cloud/alloy_db/v1alpha/bindings_override.rb
|
119
110
|
- lib/google/cloud/alloy_db/v1alpha/rest.rb
|
120
111
|
- lib/google/cloud/alloy_db/v1alpha/version.rb
|
121
112
|
- lib/google/cloud/alloydb/v1alpha/csql_resources_pb.rb
|
113
|
+
- lib/google/cloud/alloydb/v1alpha/csql_service_pb.rb
|
114
|
+
- lib/google/cloud/alloydb/v1alpha/csql_service_services_pb.rb
|
122
115
|
- lib/google/cloud/alloydb/v1alpha/data_model_pb.rb
|
123
116
|
- lib/google/cloud/alloydb/v1alpha/gemini_pb.rb
|
124
117
|
- lib/google/cloud/alloydb/v1alpha/resources_pb.rb
|
@@ -131,6 +124,7 @@ files:
|
|
131
124
|
- proto_docs/google/api/launch_stage.rb
|
132
125
|
- proto_docs/google/api/resource.rb
|
133
126
|
- proto_docs/google/cloud/alloydb/v1alpha/csql_resources.rb
|
127
|
+
- proto_docs/google/cloud/alloydb/v1alpha/csql_service.rb
|
134
128
|
- proto_docs/google/cloud/alloydb/v1alpha/data_model.rb
|
135
129
|
- proto_docs/google/cloud/alloydb/v1alpha/gemini.rb
|
136
130
|
- proto_docs/google/cloud/alloydb/v1alpha/resources.rb
|
@@ -157,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
151
|
requirements:
|
158
152
|
- - ">="
|
159
153
|
- !ruby/object:Gem::Version
|
160
|
-
version: '3.
|
154
|
+
version: '3.1'
|
161
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
156
|
requirements:
|
163
157
|
- - ">="
|
@@ -171,7 +165,7 @@ summary: AlloyDB for PostgreSQL is an open source-compatible database service th
|
|
171
165
|
applications. It offers full compatibility with standard PostgreSQL, and is more
|
172
166
|
than 4x faster for transactional workloads and up to 100x faster for analytical
|
173
167
|
queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL
|
174
|
-
offers a 99.99 percent availability SLA inclusive of maintenance.
|
168
|
+
offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
|
175
169
|
for the most demanding use cases, allowing you to build new applications that require
|
176
170
|
high transaction throughput, large database sizes, or multiple read resources; scale
|
177
171
|
existing PostgreSQL workloads with no application changes; and modernize legacy
|