google-apis-alloydb_v1 0.41.0 → 0.42.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41f6d3e80ebc13d02566ffba93f48eee8f87f55ae318ab781b5087c89bfb0771
4
- data.tar.gz: 0ef760d932fba02e78c23ffff370b9666111c6c1383c0bb1cc2fb0f68c8210f5
3
+ metadata.gz: 86bab82dc0242c3f9308151de65d87989ef30b2dd1832c22b41db533aab09036
4
+ data.tar.gz: d4504a9c2ddc80b5be24780a29b8d65f56ea96aa19390c4ba5af5b53587353a0
5
5
  SHA512:
6
- metadata.gz: 70e8b4c434d3e4ebe3abda81300a1d7b1f891be033fac85a6795b49f94b3d665e4082c7f08d5684983e825bee04105edab727aecfaabf28fd8784c92fe195e85
7
- data.tar.gz: 4f1c14b10602553d1d995a873ef95a4420fdafbfa73b952d4182b7661007bec21c59f0263ce6b3827290f0b8148262bf2dd50aa096efaf66cadc98805d5a512c
6
+ metadata.gz: 948940b49769c7166ca66afe047372ba62632c818016d9ba1562c2874d0f43a8196ddb82a9403aed411c5804770f8748a7b44453b97e8b5273bcc1b8d7effb58
7
+ data.tar.gz: ceb54dd539a2b1828fe86ff50636af2973ed1b6b710c5d18e2e7b569002bea094414d94c0b19e256a060df05b3ce95ab410df2283bbca100915238a39dd57bad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.42.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250723
6
+
3
7
  ### v0.41.0 (2025-06-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20250612
@@ -3050,6 +3050,43 @@ module Google
3050
3050
  end
3051
3051
  end
3052
3052
 
3053
+ # Timing information for the stage execution.
3054
+ class StageSchedule
3055
+ include Google::Apis::Core::Hashable
3056
+
3057
+ # Actual end time of the stage. Set only if the stage has completed.
3058
+ # Corresponds to the JSON property `actualEndTime`
3059
+ # @return [String]
3060
+ attr_accessor :actual_end_time
3061
+
3062
+ # Actual start time of the stage. Set only if the stage has started.
3063
+ # Corresponds to the JSON property `actualStartTime`
3064
+ # @return [String]
3065
+ attr_accessor :actual_start_time
3066
+
3067
+ # When the stage is expected to end. Set only if the stage has not completed yet.
3068
+ # Corresponds to the JSON property `estimatedEndTime`
3069
+ # @return [String]
3070
+ attr_accessor :estimated_end_time
3071
+
3072
+ # When the stage is expected to start. Set only if the stage has not started yet.
3073
+ # Corresponds to the JSON property `estimatedStartTime`
3074
+ # @return [String]
3075
+ attr_accessor :estimated_start_time
3076
+
3077
+ def initialize(**args)
3078
+ update!(**args)
3079
+ end
3080
+
3081
+ # Update properties of this object
3082
+ def update!(**args)
3083
+ @actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
3084
+ @actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
3085
+ @estimated_end_time = args[:estimated_end_time] if args.key?(:estimated_end_time)
3086
+ @estimated_start_time = args[:estimated_start_time] if args.key?(:estimated_start_time)
3087
+ end
3088
+ end
3089
+
3053
3090
  # Status of an upgrade stage.
3054
3091
  class StageStatus
3055
3092
  include Google::Apis::Core::Hashable
@@ -3059,6 +3096,11 @@ module Google
3059
3096
  # @return [Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus]
3060
3097
  attr_accessor :read_pool_instances_upgrade
3061
3098
 
3099
+ # Timing information for the stage execution.
3100
+ # Corresponds to the JSON property `schedule`
3101
+ # @return [Google::Apis::AlloydbV1::StageSchedule]
3102
+ attr_accessor :schedule
3103
+
3062
3104
  # Upgrade stage.
3063
3105
  # Corresponds to the JSON property `stage`
3064
3106
  # @return [String]
@@ -3076,6 +3118,7 @@ module Google
3076
3118
  # Update properties of this object
3077
3119
  def update!(**args)
3078
3120
  @read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
3121
+ @schedule = args[:schedule] if args.key?(:schedule)
3079
3122
  @stage = args[:stage] if args.key?(:stage)
3080
3123
  @state = args[:state] if args.key?(:state)
3081
3124
  end
@@ -3245,6 +3288,27 @@ module Google
3245
3288
  end
3246
3289
  end
3247
3290
 
3291
+ # BackupDRConfiguration to capture the backup and disaster recovery details of
3292
+ # database resource.
3293
+ class StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
3294
+ include Google::Apis::Core::Hashable
3295
+
3296
+ # Indicates if the resource is managed by BackupDR.
3297
+ # Corresponds to the JSON property `backupdrManaged`
3298
+ # @return [Boolean]
3299
+ attr_accessor :backupdr_managed
3300
+ alias_method :backupdr_managed?, :backupdr_managed
3301
+
3302
+ def initialize(**args)
3303
+ update!(**args)
3304
+ end
3305
+
3306
+ # Update properties of this object
3307
+ def update!(**args)
3308
+ @backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed)
3309
+ end
3310
+ end
3311
+
3248
3312
  # A backup run.
3249
3313
  class StorageDatabasecenterPartnerapiV1mainBackupRun
3250
3314
  include Google::Apis::Core::Hashable
@@ -3308,6 +3372,52 @@ module Google
3308
3372
  end
3309
3373
  end
3310
3374
 
3375
+ # Config based signal data. This is used to send signals to Condor which are
3376
+ # based on the DB level configurations. These will be used to send signals for
3377
+ # self managed databases.
3378
+ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData
3379
+ include Google::Apis::Core::Hashable
3380
+
3381
+ # Required. Full Resource name of the source resource.
3382
+ # Corresponds to the JSON property `fullResourceName`
3383
+ # @return [String]
3384
+ attr_accessor :full_resource_name
3385
+
3386
+ # Required. Last time signal was refreshed
3387
+ # Corresponds to the JSON property `lastRefreshTime`
3388
+ # @return [String]
3389
+ attr_accessor :last_refresh_time
3390
+
3391
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
3392
+ # Corresponds to the JSON property `resourceId`
3393
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3394
+ attr_accessor :resource_id
3395
+
3396
+ # Signal data for boolean signals.
3397
+ # Corresponds to the JSON property `signalBoolValue`
3398
+ # @return [Boolean]
3399
+ attr_accessor :signal_bool_value
3400
+ alias_method :signal_bool_value?, :signal_bool_value
3401
+
3402
+ # Required. Signal type of the signal
3403
+ # Corresponds to the JSON property `signalType`
3404
+ # @return [String]
3405
+ attr_accessor :signal_type
3406
+
3407
+ def initialize(**args)
3408
+ update!(**args)
3409
+ end
3410
+
3411
+ # Update properties of this object
3412
+ def update!(**args)
3413
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
3414
+ @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
3415
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
3416
+ @signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
3417
+ @signal_type = args[:signal_type] if args.key?(:signal_type)
3418
+ end
3419
+ end
3420
+
3311
3421
  # Any custom metadata associated with the resource. e.g. A spanner instance can
3312
3422
  # have multiple databases with its own unique metadata. Information for these
3313
3423
  # individual databases can be captured in custom metadata data
@@ -3331,10 +3441,17 @@ module Google
3331
3441
  end
3332
3442
 
3333
3443
  # DatabaseResourceFeed is the top level proto to be used to ingest different
3334
- # database resource level events into Condor platform. Next ID: 8
3444
+ # database resource level events into Condor platform. Next ID: 9
3335
3445
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
3336
3446
  include Google::Apis::Core::Hashable
3337
3447
 
3448
+ # Config based signal data. This is used to send signals to Condor which are
3449
+ # based on the DB level configurations. These will be used to send signals for
3450
+ # self managed databases.
3451
+ # Corresponds to the JSON property `configBasedSignalData`
3452
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
3453
+ attr_accessor :config_based_signal_data
3454
+
3338
3455
  # Required. Timestamp when feed is generated.
3339
3456
  # Corresponds to the JSON property `feedTimestamp`
3340
3457
  # @return [String]
@@ -3365,7 +3482,7 @@ module Google
3365
3482
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3366
3483
  attr_accessor :resource_id
3367
3484
 
3368
- # Common model for database resource instance metadata. Next ID: 25
3485
+ # Common model for database resource instance metadata. Next ID: 26
3369
3486
  # Corresponds to the JSON property `resourceMetadata`
3370
3487
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3371
3488
  attr_accessor :resource_metadata
@@ -3376,6 +3493,7 @@ module Google
3376
3493
 
3377
3494
  # Update properties of this object
3378
3495
  def update!(**args)
3496
+ @config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
3379
3497
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
3380
3498
  @feed_type = args[:feed_type] if args.key?(:feed_type)
3381
3499
  @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
@@ -3549,7 +3667,7 @@ module Google
3549
3667
  end
3550
3668
  end
3551
3669
 
3552
- # Common model for database resource instance metadata. Next ID: 25
3670
+ # Common model for database resource instance metadata. Next ID: 26
3553
3671
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3554
3672
  include Google::Apis::Core::Hashable
3555
3673
 
@@ -3568,6 +3686,12 @@ module Google
3568
3686
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
3569
3687
  attr_accessor :backup_run
3570
3688
 
3689
+ # BackupDRConfiguration to capture the backup and disaster recovery details of
3690
+ # database resource.
3691
+ # Corresponds to the JSON property `backupdrConfiguration`
3692
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration]
3693
+ attr_accessor :backupdr_configuration
3694
+
3571
3695
  # The creation time of the resource, i.e. the time when resource is created and
3572
3696
  # recorded in partner service.
3573
3697
  # Corresponds to the JSON property `creationTime`
@@ -3696,6 +3820,7 @@ module Google
3696
3820
  @availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration)
3697
3821
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
3698
3822
  @backup_run = args[:backup_run] if args.key?(:backup_run)
3823
+ @backupdr_configuration = args[:backupdr_configuration] if args.key?(:backupdr_configuration)
3699
3824
  @creation_time = args[:creation_time] if args.key?(:creation_time)
3700
3825
  @current_state = args[:current_state] if args.key?(:current_state)
3701
3826
  @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
@@ -4102,6 +4227,13 @@ module Google
4102
4227
  # @return [String]
4103
4228
  attr_accessor :engine
4104
4229
 
4230
+ # Minor version of the underlying database engine. Example values: For MySQL, it
4231
+ # could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc.
4232
+ # .
4233
+ # Corresponds to the JSON property `minorVersion`
4234
+ # @return [String]
4235
+ attr_accessor :minor_version
4236
+
4105
4237
  # Type of specific database product. It could be CloudSQL, AlloyDB etc..
4106
4238
  # Corresponds to the JSON property `type`
4107
4239
  # @return [String]
@@ -4120,6 +4252,7 @@ module Google
4120
4252
  # Update properties of this object
4121
4253
  def update!(**args)
4122
4254
  @engine = args[:engine] if args.key?(:engine)
4255
+ @minor_version = args[:minor_version] if args.key?(:minor_version)
4123
4256
  @type = args[:type] if args.key?(:type)
4124
4257
  @version = args[:version] if args.key?(:version)
4125
4258
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250612"
25
+ REVISION = "20250723"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class StageSchedule
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class StageStatus
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -472,6 +478,12 @@ module Google
472
478
  include Google::Apis::Core::JsonObjectSupport
473
479
  end
474
480
 
481
+ class StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
475
487
  class StorageDatabasecenterPartnerapiV1mainBackupRun
476
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
489
 
@@ -484,6 +496,12 @@ module Google
484
496
  include Google::Apis::Core::JsonObjectSupport
485
497
  end
486
498
 
499
+ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
487
505
  class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
488
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
507
 
@@ -1421,11 +1439,23 @@ module Google
1421
1439
  end
1422
1440
  end
1423
1441
 
1442
+ class StageSchedule
1443
+ # @private
1444
+ class Representation < Google::Apis::Core::JsonRepresentation
1445
+ property :actual_end_time, as: 'actualEndTime'
1446
+ property :actual_start_time, as: 'actualStartTime'
1447
+ property :estimated_end_time, as: 'estimatedEndTime'
1448
+ property :estimated_start_time, as: 'estimatedStartTime'
1449
+ end
1450
+ end
1451
+
1424
1452
  class StageStatus
1425
1453
  # @private
1426
1454
  class Representation < Google::Apis::Core::JsonRepresentation
1427
1455
  property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus::Representation
1428
1456
 
1457
+ property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1::StageSchedule, decorator: Google::Apis::AlloydbV1::StageSchedule::Representation
1458
+
1429
1459
  property :stage, as: 'stage'
1430
1460
  property :state, as: 'state'
1431
1461
  end
@@ -1471,6 +1501,13 @@ module Google
1471
1501
  end
1472
1502
  end
1473
1503
 
1504
+ class StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
1505
+ # @private
1506
+ class Representation < Google::Apis::Core::JsonRepresentation
1507
+ property :backupdr_managed, as: 'backupdrManaged'
1508
+ end
1509
+ end
1510
+
1474
1511
  class StorageDatabasecenterPartnerapiV1mainBackupRun
1475
1512
  # @private
1476
1513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1490,6 +1527,18 @@ module Google
1490
1527
  end
1491
1528
  end
1492
1529
 
1530
+ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData
1531
+ # @private
1532
+ class Representation < Google::Apis::Core::JsonRepresentation
1533
+ property :full_resource_name, as: 'fullResourceName'
1534
+ property :last_refresh_time, as: 'lastRefreshTime'
1535
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1536
+
1537
+ property :signal_bool_value, as: 'signalBoolValue'
1538
+ property :signal_type, as: 'signalType'
1539
+ end
1540
+ end
1541
+
1493
1542
  class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
1494
1543
  # @private
1495
1544
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1501,6 +1550,8 @@ module Google
1501
1550
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
1502
1551
  # @private
1503
1552
  class Representation < Google::Apis::Core::JsonRepresentation
1553
+ property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData::Representation
1554
+
1504
1555
  property :feed_timestamp, as: 'feedTimestamp'
1505
1556
  property :feed_type, as: 'feedType'
1506
1557
  property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
@@ -1557,6 +1608,8 @@ module Google
1557
1608
 
1558
1609
  property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1559
1610
 
1611
+ property :backupdr_configuration, as: 'backupdrConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration::Representation
1612
+
1560
1613
  property :creation_time, as: 'creationTime'
1561
1614
  property :current_state, as: 'currentState'
1562
1615
  property :custom_metadata, as: 'customMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData::Representation
@@ -1694,6 +1747,7 @@ module Google
1694
1747
  # @private
1695
1748
  class Representation < Google::Apis::Core::JsonRepresentation
1696
1749
  property :engine, as: 'engine'
1750
+ property :minor_version, as: 'minorVersion'
1697
1751
  property :type, as: 'type'
1698
1752
  property :version, as: 'version'
1699
1753
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.41.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.42.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
62
62
  rdoc_options: []
63
63
  require_paths: