google-cloud-alloy_db-v1 1.1.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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/alloy_db/v1/alloy_db_admin/client.rb +375 -4
  4. data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb +354 -4
  5. data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/service_stub.rb +186 -0
  6. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/client.rb +519 -0
  7. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/credentials.rb +47 -0
  8. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/operations.rb +813 -0
  9. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/paths.rb +128 -0
  10. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/client.rb +494 -0
  11. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/operations.rb +914 -0
  12. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/service_stub.rb +143 -0
  13. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest.rb +54 -0
  14. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin.rb +56 -0
  15. data/lib/google/cloud/alloy_db/v1/rest.rb +1 -0
  16. data/lib/google/cloud/alloy_db/v1/version.rb +1 -1
  17. data/lib/google/cloud/alloy_db/v1.rb +1 -0
  18. data/lib/google/cloud/alloydb/v1/csql_resources_pb.rb +44 -0
  19. data/lib/google/cloud/alloydb/v1/csql_service_pb.rb +53 -0
  20. data/lib/google/cloud/alloydb/v1/csql_service_services_pb.rb +45 -0
  21. data/lib/google/cloud/alloydb/v1/resources_pb.rb +7 -1
  22. data/lib/google/cloud/alloydb/v1/service_pb.rb +21 -1
  23. data/lib/google/cloud/alloydb/v1/service_services_pb.rb +9 -0
  24. data/proto_docs/google/cloud/alloydb/v1/csql_resources.rb +42 -0
  25. data/proto_docs/google/cloud/alloydb/v1/csql_service.rb +45 -0
  26. data/proto_docs/google/cloud/alloydb/v1/resources.rb +153 -21
  27. data/proto_docs/google/cloud/alloydb/v1/service.rb +420 -6
  28. metadata +16 -2
@@ -186,6 +186,345 @@ 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::V1::GcsDestination]
202
+ # Required. Option to export data to cloud storage.
203
+ # @!attribute [rw] csv_export_options
204
+ # @return [::Google::Cloud::AlloyDB::V1::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::V1::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::V1::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::V1::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::V1::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
+
362
+ # Upgrades a cluster.
363
+ # @!attribute [rw] name
364
+ # @return [::String]
365
+ # Required. The resource name of the cluster.
366
+ # @!attribute [rw] version
367
+ # @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
368
+ # Required. The version the cluster is going to be upgraded to.
369
+ # @!attribute [rw] request_id
370
+ # @return [::String]
371
+ # Optional. An optional request ID to identify requests. Specify a unique
372
+ # request ID so that if you must retry your request, the server ignores the
373
+ # request if it has already been completed. The server guarantees that for at
374
+ # least 60 minutes since the first request.
375
+ #
376
+ # For example, consider a situation where you make an initial request and
377
+ # the request times out. If you make the request again with the same request
378
+ # ID, the server can check if the original operation with the same request ID
379
+ # was received, and if so, ignores the second request. This prevents
380
+ # clients from accidentally creating duplicate commitments.
381
+ #
382
+ # The request ID must be a valid UUID with the exception that zero UUID is
383
+ # not supported (00000000-0000-0000-0000-000000000000).
384
+ # @!attribute [rw] validate_only
385
+ # @return [::Boolean]
386
+ # Optional. If set, performs request validation, for example, permission
387
+ # checks and any other type of validation, but does not actually execute the
388
+ # create request.
389
+ # @!attribute [rw] etag
390
+ # @return [::String]
391
+ # Optional. The current etag of the Cluster.
392
+ # If an etag is provided and does not match the current etag of the Cluster,
393
+ # upgrade will be blocked and an ABORTED error will be returned.
394
+ class UpgradeClusterRequest
395
+ include ::Google::Protobuf::MessageExts
396
+ extend ::Google::Protobuf::MessageExts::ClassMethods
397
+ end
398
+
399
+ # UpgradeClusterResponse contains the response for upgrade cluster operation.
400
+ # @!attribute [rw] status
401
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
402
+ # Status of upgrade operation.
403
+ # @!attribute [rw] message
404
+ # @return [::String]
405
+ # A user friendly message summarising the upgrade operation details and the
406
+ # next steps for the user if there is any.
407
+ # @!attribute [rw] cluster_upgrade_details
408
+ # @return [::Array<::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::ClusterUpgradeDetails>]
409
+ # Array of upgrade details for the current cluster and all the secondary
410
+ # clusters associated with this cluster.
411
+ class UpgradeClusterResponse
412
+ include ::Google::Protobuf::MessageExts
413
+ extend ::Google::Protobuf::MessageExts::ClassMethods
414
+
415
+ # Stage information for different stages in the upgrade process.
416
+ # @!attribute [rw] stage
417
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
418
+ # The stage.
419
+ # @!attribute [rw] status
420
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
421
+ # Status of the stage.
422
+ # @!attribute [rw] logs_url
423
+ # @return [::String]
424
+ # logs_url is the URL for the logs associated with a stage if that stage
425
+ # has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK,
426
+ # PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
427
+ class StageInfo
428
+ include ::Google::Protobuf::MessageExts
429
+ extend ::Google::Protobuf::MessageExts::ClassMethods
430
+ end
431
+
432
+ # Details regarding the upgrade of instaces associated with a cluster.
433
+ # @!attribute [rw] name
434
+ # @return [::String]
435
+ # Normalized name of the instance.
436
+ # @!attribute [rw] upgrade_status
437
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
438
+ # Upgrade status of the instance.
439
+ # @!attribute [rw] instance_type
440
+ # @return [::Google::Cloud::AlloyDB::V1::Instance::InstanceType]
441
+ # Instance type.
442
+ class InstanceUpgradeDetails
443
+ include ::Google::Protobuf::MessageExts
444
+ extend ::Google::Protobuf::MessageExts::ClassMethods
445
+ end
446
+
447
+ # Upgrade details of a cluster. This cluster can be primary or secondary.
448
+ # @!attribute [rw] name
449
+ # @return [::String]
450
+ # Normalized name of the cluster
451
+ # @!attribute [rw] upgrade_status
452
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
453
+ # Upgrade status of the cluster.
454
+ # @!attribute [rw] cluster_type
455
+ # @return [::Google::Cloud::AlloyDB::V1::Cluster::ClusterType]
456
+ # Cluster type which can either be primary or secondary.
457
+ # @!attribute [rw] database_version
458
+ # @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
459
+ # Database version of the cluster after the upgrade operation. This will be
460
+ # the target version if the upgrade was successful otherwise it remains the
461
+ # same as that before the upgrade operation.
462
+ # @!attribute [rw] stage_info
463
+ # @return [::Array<::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::StageInfo>]
464
+ # Array containing stage info associated with this cluster.
465
+ # @!attribute [rw] instance_upgrade_details
466
+ # @return [::Array<::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::InstanceUpgradeDetails>]
467
+ # Upgrade details of the instances directly associated with this cluster.
468
+ class ClusterUpgradeDetails
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # Status of upgrade operation.
474
+ module Status
475
+ # Unspecified status.
476
+ STATUS_UNSPECIFIED = 0
477
+
478
+ # Not started.
479
+ NOT_STARTED = 4
480
+
481
+ # In progress.
482
+ IN_PROGRESS = 5
483
+
484
+ # Operation succeeded.
485
+ SUCCESS = 1
486
+
487
+ # Operation failed.
488
+ FAILED = 2
489
+
490
+ # Operation partially succeeded.
491
+ PARTIAL_SUCCESS = 3
492
+
493
+ # Cancel is in progress.
494
+ CANCEL_IN_PROGRESS = 6
495
+
496
+ # Cancellation complete.
497
+ CANCELLED = 7
498
+ end
499
+
500
+ # Stage in the upgrade.
501
+ module Stage
502
+ # Unspecified stage.
503
+ STAGE_UNSPECIFIED = 0
504
+
505
+ # Pre-upgrade custom checks, not covered by pg_upgrade.
506
+ ALLOYDB_PRECHECK = 1
507
+
508
+ # Pre-upgrade pg_upgrade checks.
509
+ PG_UPGRADE_CHECK = 2
510
+
511
+ # Clone the original cluster.
512
+ PREPARE_FOR_UPGRADE = 5
513
+
514
+ # Upgrade the primary instance(downtime).
515
+ PRIMARY_INSTANCE_UPGRADE = 3
516
+
517
+ # This stage is read pool upgrade.
518
+ READ_POOL_INSTANCES_UPGRADE = 4
519
+
520
+ # Rollback in case of critical failures.
521
+ ROLLBACK = 6
522
+
523
+ # Cleanup.
524
+ CLEANUP = 7
525
+ end
526
+ end
527
+
189
528
  # Message for deleting a Cluster
190
529
  # @!attribute [rw] name
191
530
  # @return [::String]
@@ -1045,6 +1384,10 @@ module Google
1045
1384
  # @!attribute [rw] page_token
1046
1385
  # @return [::String]
1047
1386
  # A token identifying a page of results the server should return.
1387
+ # @!attribute [rw] scope
1388
+ # @return [::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::Scope]
1389
+ # Optional. The scope for which supported flags are requested. If not
1390
+ # specified, default is DATABASE.
1048
1391
  class ListSupportedDatabaseFlagsRequest
1049
1392
  include ::Google::Protobuf::MessageExts
1050
1393
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1095,9 +1438,9 @@ module Google
1095
1438
  # Optional. The public key from the client.
1096
1439
  # @!attribute [rw] use_metadata_exchange
1097
1440
  # @return [::Boolean]
1098
- # Optional. An optional hint to the endpoint to generate a client
1099
- # ceritificate that can be used by AlloyDB connectors to exchange additional
1100
- # metadata with the server after TLS handshake.
1441
+ # Optional. An optional hint to the endpoint to generate a client certificate
1442
+ # that can be used by AlloyDB connectors to exchange additional metadata with
1443
+ # the server after TLS handshake.
1101
1444
  class GenerateClientCertificateRequest
1102
1445
  include ::Google::Protobuf::MessageExts
1103
1446
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1145,6 +1488,13 @@ module Google
1145
1488
  # @!attribute [r] batch_create_instances_metadata
1146
1489
  # @return [::Google::Cloud::AlloyDB::V1::BatchCreateInstancesMetadata]
1147
1490
  # Output only. BatchCreateInstances related metadata.
1491
+ #
1492
+ # Note: The following fields are mutually exclusive: `batch_create_instances_metadata`, `upgrade_cluster_status`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1493
+ # @!attribute [r] upgrade_cluster_status
1494
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterStatus]
1495
+ # Output only. UpgradeClusterStatus related metadata.
1496
+ #
1497
+ # Note: The following fields are mutually exclusive: `upgrade_cluster_status`, `batch_create_instances_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1148
1498
  # @!attribute [r] create_time
1149
1499
  # @return [::Google::Protobuf::Timestamp]
1150
1500
  # Output only. The time the operation was created.
@@ -1164,9 +1514,10 @@ module Google
1164
1514
  # @return [::Boolean]
1165
1515
  # Output only. Identifies whether the user has requested cancellation
1166
1516
  # of the operation. Operations that have successfully been cancelled
1167
- # have [Operation.error][] value with a
1168
- # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
1169
- # `Code.CANCELLED`.
1517
+ # have
1518
+ # {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
1519
+ # value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
1520
+ # corresponding to `Code.CANCELLED`.
1170
1521
  # @!attribute [r] api_version
1171
1522
  # @return [::String]
1172
1523
  # Output only. API version used to start the operation.
@@ -1175,6 +1526,69 @@ module Google
1175
1526
  extend ::Google::Protobuf::MessageExts::ClassMethods
1176
1527
  end
1177
1528
 
1529
+ # Message for current status of the Major Version Upgrade operation.
1530
+ # @!attribute [rw] state
1531
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
1532
+ # Cluster Major Version Upgrade state.
1533
+ # @!attribute [rw] cancellable
1534
+ # @return [::Boolean]
1535
+ # Whether the operation is cancellable.
1536
+ # @!attribute [rw] source_version
1537
+ # @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
1538
+ # Source database major version.
1539
+ # @!attribute [rw] target_version
1540
+ # @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
1541
+ # Target database major version.
1542
+ # @!attribute [rw] stages
1543
+ # @return [::Array<::Google::Cloud::AlloyDB::V1::UpgradeClusterStatus::StageStatus>]
1544
+ # Status of all upgrade stages.
1545
+ class UpgradeClusterStatus
1546
+ include ::Google::Protobuf::MessageExts
1547
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1548
+
1549
+ # Status of an upgrade stage.
1550
+ # @!attribute [rw] read_pool_instances_upgrade
1551
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
1552
+ # Read pool instances upgrade metadata.
1553
+ # @!attribute [rw] stage
1554
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
1555
+ # Upgrade stage.
1556
+ # @!attribute [rw] state
1557
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
1558
+ # State of this stage.
1559
+ class StageStatus
1560
+ include ::Google::Protobuf::MessageExts
1561
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1562
+ end
1563
+
1564
+ # Read pool instances upgrade specific status.
1565
+ # @!attribute [rw] upgrade_stats
1566
+ # @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats]
1567
+ # Read pool instances upgrade statistics.
1568
+ class ReadPoolInstancesUpgradeStageStatus
1569
+ include ::Google::Protobuf::MessageExts
1570
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1571
+
1572
+ # Upgrade stats for read pool instances.
1573
+ # @!attribute [rw] not_started
1574
+ # @return [::Integer]
1575
+ # Number of read pool instances for which upgrade has not started.
1576
+ # @!attribute [rw] ongoing
1577
+ # @return [::Integer]
1578
+ # Number of read pool instances undergoing upgrade.
1579
+ # @!attribute [rw] success
1580
+ # @return [::Integer]
1581
+ # Number of read pool instances successfully upgraded.
1582
+ # @!attribute [rw] failed
1583
+ # @return [::Integer]
1584
+ # Number of read pool instances which failed to upgrade.
1585
+ class Stats
1586
+ include ::Google::Protobuf::MessageExts
1587
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1588
+ end
1589
+ end
1590
+ end
1591
+
1178
1592
  # Message for requesting list of Users
1179
1593
  # @!attribute [rw] parent
1180
1594
  # @return [::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-alloy_db-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -97,9 +97,21 @@ files:
97
97
  - lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb
98
98
  - lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/operations.rb
99
99
  - lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/service_stub.rb
100
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin.rb
101
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/client.rb
102
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/credentials.rb
103
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/operations.rb
104
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/paths.rb
105
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest.rb
106
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/client.rb
107
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/operations.rb
108
+ - lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/service_stub.rb
100
109
  - lib/google/cloud/alloy_db/v1/bindings_override.rb
101
110
  - lib/google/cloud/alloy_db/v1/rest.rb
102
111
  - lib/google/cloud/alloy_db/v1/version.rb
112
+ - lib/google/cloud/alloydb/v1/csql_resources_pb.rb
113
+ - lib/google/cloud/alloydb/v1/csql_service_pb.rb
114
+ - lib/google/cloud/alloydb/v1/csql_service_services_pb.rb
103
115
  - lib/google/cloud/alloydb/v1/data_model_pb.rb
104
116
  - lib/google/cloud/alloydb/v1/resources_pb.rb
105
117
  - lib/google/cloud/alloydb/v1/service_pb.rb
@@ -110,6 +122,8 @@ files:
110
122
  - proto_docs/google/api/field_info.rb
111
123
  - proto_docs/google/api/launch_stage.rb
112
124
  - proto_docs/google/api/resource.rb
125
+ - proto_docs/google/cloud/alloydb/v1/csql_resources.rb
126
+ - proto_docs/google/cloud/alloydb/v1/csql_service.rb
113
127
  - proto_docs/google/cloud/alloydb/v1/data_model.rb
114
128
  - proto_docs/google/cloud/alloydb/v1/resources.rb
115
129
  - proto_docs/google/cloud/alloydb/v1/service.rb
@@ -149,7 +163,7 @@ summary: AlloyDB for PostgreSQL is an open source-compatible database service th
149
163
  applications. It offers full compatibility with standard PostgreSQL, and is more
150
164
  than 4x faster for transactional workloads and up to 100x faster for analytical
151
165
  queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL
152
- offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
166
+ offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
153
167
  for the most demanding use cases, allowing you to build new applications that require
154
168
  high transaction throughput, large database sizes, or multiple read resources; scale
155
169
  existing PostgreSQL workloads with no application changes; and modernize legacy