google-apis-alloydb_v1 0.46.0 → 0.48.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: 90104fa18aabb04a7b09cd30f169c933765610e590e091cd827f6469e446ab2c
4
- data.tar.gz: 8ed2da03736df8a74a220c9d105cd2952c4fb916f502e94db7a224e65b83b82a
3
+ metadata.gz: c22b5427f7ed888870b1e7b8c8bd2eb2d21e766c3aecf4c301d378c2aa4c0f89
4
+ data.tar.gz: 14213029751584a95d7d4784b06f00cf4e6fdde42828438192310666ea18169b
5
5
  SHA512:
6
- metadata.gz: b17044bd8e4831d4f5509a876c508f822794f6a5fe8864fcb5f17bf17d91cdac130b90d3a6b3439bb669711dff9ca868c753da26f819c3fdb96e271c9e705543
7
- data.tar.gz: 1d25acca06c377c1e5b0d5398e6eaf8ab1409501ad80d9c43703dc82f2d5a00b199396393ceb2519c85f0565fcf32897814c88f25514d197ca24114f24f176bb
6
+ metadata.gz: 53b52c677e1e66a7b9ef2dad56474a130bceee7a1e47067ad4ce7ba012b9c31e771f9a880937624992e8a74c2d220b9dd81fab57c30ebc15383461ff96d2bb5d
7
+ data.tar.gz: 2c36e8b3bb0a26503d6b976d8e9757ca19221aec3d1bab14aaab98d369379c056ef1c526df982d69d3322d08096299b8101a44026c13422ebfc1213b40584cea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.48.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251001
6
+
7
+ ### v0.47.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250925
10
+
3
11
  ### v0.46.0 (2025-09-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20250910
@@ -304,6 +304,157 @@ module Google
304
304
  end
305
305
  end
306
306
 
307
+ # Message describing a BackupDrBackupSource.
308
+ class BackupDrBackupSource
309
+ include Google::Apis::Core::Hashable
310
+
311
+ # Required. The name of the backup resource with the format: * projects/`project`
312
+ # /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
313
+ # /backups/`backup_id`
314
+ # Corresponds to the JSON property `backup`
315
+ # @return [String]
316
+ attr_accessor :backup
317
+
318
+ def initialize(**args)
319
+ update!(**args)
320
+ end
321
+
322
+ # Update properties of this object
323
+ def update!(**args)
324
+ @backup = args[:backup] if args.key?(:backup)
325
+ end
326
+ end
327
+
328
+ # Information about a single window when BackupDR was enabled for this cluster.
329
+ class BackupDrEnabledWindow
330
+ include Google::Apis::Core::Hashable
331
+
332
+ # Whether automated backup was previously enabled prior to enabling BackupDR
333
+ # protection for this cluster.
334
+ # Corresponds to the JSON property `automatedBackupPreviouslyEnabled`
335
+ # @return [Boolean]
336
+ attr_accessor :automated_backup_previously_enabled
337
+ alias_method :automated_backup_previously_enabled?, :automated_backup_previously_enabled
338
+
339
+ # The BackupPlanAssociation resource that was used to enable BackupDR protection
340
+ # for this cluster.
341
+ # Corresponds to the JSON property `backupPlanAssociation`
342
+ # @return [String]
343
+ attr_accessor :backup_plan_association
344
+
345
+ # The retention set for the continuous backup that was previously enabled prior
346
+ # to enabling BackupDR protection for this cluster.
347
+ # Corresponds to the JSON property `continuousBackupPreviousRecoveryWindowDays`
348
+ # @return [Fixnum]
349
+ attr_accessor :continuous_backup_previous_recovery_window_days
350
+
351
+ # Whether continuous backup was previously enabled prior to enabling BackupDR
352
+ # protection for this cluster.
353
+ # Corresponds to the JSON property `continuousBackupPreviouslyEnabled`
354
+ # @return [Boolean]
355
+ attr_accessor :continuous_backup_previously_enabled
356
+ alias_method :continuous_backup_previously_enabled?, :continuous_backup_previously_enabled
357
+
358
+ # The time when continuous backup was previously enabled prior to enabling
359
+ # BackupDR protection for this cluster.
360
+ # Corresponds to the JSON property `continuousBackupPreviouslyEnabledTime`
361
+ # @return [String]
362
+ attr_accessor :continuous_backup_previously_enabled_time
363
+
364
+ # The DataSource resource that represents the cluster in BackupDR.
365
+ # Corresponds to the JSON property `dataSource`
366
+ # @return [String]
367
+ attr_accessor :data_source
368
+
369
+ # Time when the BackupDR protection for this cluster was disabled. This field
370
+ # will be empty if this BackupDR window is the `current_window`.
371
+ # Corresponds to the JSON property `disabledTime`
372
+ # @return [String]
373
+ attr_accessor :disabled_time
374
+
375
+ # Time when the BackupDR protection for this cluster was enabled.
376
+ # Corresponds to the JSON property `enabledTime`
377
+ # @return [String]
378
+ attr_accessor :enabled_time
379
+
380
+ # The retention period for logs generated by BackupDR for this cluster.
381
+ # Corresponds to the JSON property `logRetentionPeriod`
382
+ # @return [String]
383
+ attr_accessor :log_retention_period
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @automated_backup_previously_enabled = args[:automated_backup_previously_enabled] if args.key?(:automated_backup_previously_enabled)
392
+ @backup_plan_association = args[:backup_plan_association] if args.key?(:backup_plan_association)
393
+ @continuous_backup_previous_recovery_window_days = args[:continuous_backup_previous_recovery_window_days] if args.key?(:continuous_backup_previous_recovery_window_days)
394
+ @continuous_backup_previously_enabled = args[:continuous_backup_previously_enabled] if args.key?(:continuous_backup_previously_enabled)
395
+ @continuous_backup_previously_enabled_time = args[:continuous_backup_previously_enabled_time] if args.key?(:continuous_backup_previously_enabled_time)
396
+ @data_source = args[:data_source] if args.key?(:data_source)
397
+ @disabled_time = args[:disabled_time] if args.key?(:disabled_time)
398
+ @enabled_time = args[:enabled_time] if args.key?(:enabled_time)
399
+ @log_retention_period = args[:log_retention_period] if args.key?(:log_retention_period)
400
+ end
401
+ end
402
+
403
+ # Information about BackupDR protection for this cluster.
404
+ class BackupDrInfo
405
+ include Google::Apis::Core::Hashable
406
+
407
+ # Information about a single window when BackupDR was enabled for this cluster.
408
+ # Corresponds to the JSON property `currentWindow`
409
+ # @return [Google::Apis::AlloydbV1::BackupDrEnabledWindow]
410
+ attr_accessor :current_window
411
+
412
+ # Windows during which BackupDR was enabled for this cluster, along with
413
+ # associated configuration for that window. These are used to determine points-
414
+ # in-time for which restores can be performed. The windows are ordered with the
415
+ # most recent window last. Windows are mutally exclusive. Windows which closed
416
+ # more than 1 year ago will be removed from this list.
417
+ # Corresponds to the JSON property `previousWindows`
418
+ # @return [Array<Google::Apis::AlloydbV1::BackupDrEnabledWindow>]
419
+ attr_accessor :previous_windows
420
+
421
+ def initialize(**args)
422
+ update!(**args)
423
+ end
424
+
425
+ # Update properties of this object
426
+ def update!(**args)
427
+ @current_window = args[:current_window] if args.key?(:current_window)
428
+ @previous_windows = args[:previous_windows] if args.key?(:previous_windows)
429
+ end
430
+ end
431
+
432
+ # Message describing a BackupDrPitrSource.
433
+ class BackupDrPitrSource
434
+ include Google::Apis::Core::Hashable
435
+
436
+ # Required. The name of the backup resource with the format: * projects/`project`
437
+ # /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
438
+ # Corresponds to the JSON property `dataSource`
439
+ # @return [String]
440
+ attr_accessor :data_source
441
+
442
+ # Required. The point in time to restore to.
443
+ # Corresponds to the JSON property `pointInTime`
444
+ # @return [String]
445
+ attr_accessor :point_in_time
446
+
447
+ def initialize(**args)
448
+ update!(**args)
449
+ end
450
+
451
+ # Update properties of this object
452
+ def update!(**args)
453
+ @data_source = args[:data_source] if args.key?(:data_source)
454
+ @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
455
+ end
456
+ end
457
+
307
458
  # Message describing a BackupSource.
308
459
  class BackupSource
309
460
  include Google::Apis::Core::Hashable
@@ -454,6 +605,16 @@ module Google
454
605
  # @return [Google::Apis::AlloydbV1::BackupSource]
455
606
  attr_accessor :backup_source
456
607
 
608
+ # Message describing a BackupDrBackupSource.
609
+ # Corresponds to the JSON property `backupdrBackupSource`
610
+ # @return [Google::Apis::AlloydbV1::BackupDrBackupSource]
611
+ attr_accessor :backupdr_backup_source
612
+
613
+ # Information about BackupDR protection for this cluster.
614
+ # Corresponds to the JSON property `backupdrInfo`
615
+ # @return [Google::Apis::AlloydbV1::BackupDrInfo]
616
+ attr_accessor :backupdr_info
617
+
457
618
  # The source CloudSQL backup resource.
458
619
  # Corresponds to the JSON property `cloudsqlBackupRunSource`
459
620
  # @return [Google::Apis::AlloydbV1::CloudSqlBackupRunSource]
@@ -652,6 +813,8 @@ module Google
652
813
  @annotations = args[:annotations] if args.key?(:annotations)
653
814
  @automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
654
815
  @backup_source = args[:backup_source] if args.key?(:backup_source)
816
+ @backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
817
+ @backupdr_info = args[:backupdr_info] if args.key?(:backupdr_info)
655
818
  @cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
656
819
  @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
657
820
  @continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
@@ -1967,6 +2130,13 @@ module Google
1967
2130
  # @return [Array<Google::Apis::AlloydbV1::Operation>]
1968
2131
  attr_accessor :operations
1969
2132
 
2133
+ # Unordered list. Unreachable resources. Populated when the request sets `
2134
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
2135
+ # when attempting to list all resources across all supported locations.
2136
+ # Corresponds to the JSON property `unreachable`
2137
+ # @return [Array<String>]
2138
+ attr_accessor :unreachable
2139
+
1970
2140
  def initialize(**args)
1971
2141
  update!(**args)
1972
2142
  end
@@ -1975,6 +2145,7 @@ module Google
1975
2145
  def update!(**args)
1976
2146
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1977
2147
  @operations = args[:operations] if args.key?(:operations)
2148
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1978
2149
  end
1979
2150
  end
1980
2151
 
@@ -2866,6 +3037,16 @@ module Google
2866
3037
  # @return [Google::Apis::AlloydbV1::BackupSource]
2867
3038
  attr_accessor :backup_source
2868
3039
 
3040
+ # Message describing a BackupDrBackupSource.
3041
+ # Corresponds to the JSON property `backupdrBackupSource`
3042
+ # @return [Google::Apis::AlloydbV1::BackupDrBackupSource]
3043
+ attr_accessor :backupdr_backup_source
3044
+
3045
+ # Message describing a BackupDrPitrSource.
3046
+ # Corresponds to the JSON property `backupdrPitrSource`
3047
+ # @return [Google::Apis::AlloydbV1::BackupDrPitrSource]
3048
+ attr_accessor :backupdr_pitr_source
3049
+
2869
3050
  # A cluster is a collection of regional AlloyDB resources. It can include a
2870
3051
  # primary instance and one or more read pool instances. All cluster resources
2871
3052
  # share a storage layer, which scales as needed.
@@ -2912,6 +3093,8 @@ module Google
2912
3093
  # Update properties of this object
2913
3094
  def update!(**args)
2914
3095
  @backup_source = args[:backup_source] if args.key?(:backup_source)
3096
+ @backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
3097
+ @backupdr_pitr_source = args[:backupdr_pitr_source] if args.key?(:backupdr_pitr_source)
2915
3098
  @cluster = args[:cluster] if args.key?(:cluster)
2916
3099
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
2917
3100
  @continuous_backup_source = args[:continuous_backup_source] if args.key?(:continuous_backup_source)
@@ -3088,43 +3271,6 @@ module Google
3088
3271
  end
3089
3272
  end
3090
3273
 
3091
- # Timing information for the stage execution.
3092
- class StageSchedule
3093
- include Google::Apis::Core::Hashable
3094
-
3095
- # Actual end time of the stage. Set only if the stage has completed.
3096
- # Corresponds to the JSON property `actualEndTime`
3097
- # @return [String]
3098
- attr_accessor :actual_end_time
3099
-
3100
- # Actual start time of the stage. Set only if the stage has started.
3101
- # Corresponds to the JSON property `actualStartTime`
3102
- # @return [String]
3103
- attr_accessor :actual_start_time
3104
-
3105
- # When the stage is expected to end. Set only if the stage has not completed yet.
3106
- # Corresponds to the JSON property `estimatedEndTime`
3107
- # @return [String]
3108
- attr_accessor :estimated_end_time
3109
-
3110
- # When the stage is expected to start. Set only if the stage has not started yet.
3111
- # Corresponds to the JSON property `estimatedStartTime`
3112
- # @return [String]
3113
- attr_accessor :estimated_start_time
3114
-
3115
- def initialize(**args)
3116
- update!(**args)
3117
- end
3118
-
3119
- # Update properties of this object
3120
- def update!(**args)
3121
- @actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
3122
- @actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
3123
- @estimated_end_time = args[:estimated_end_time] if args.key?(:estimated_end_time)
3124
- @estimated_start_time = args[:estimated_start_time] if args.key?(:estimated_start_time)
3125
- end
3126
- end
3127
-
3128
3274
  # Status of an upgrade stage.
3129
3275
  class StageStatus
3130
3276
  include Google::Apis::Core::Hashable
@@ -3134,11 +3280,6 @@ module Google
3134
3280
  # @return [Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus]
3135
3281
  attr_accessor :read_pool_instances_upgrade
3136
3282
 
3137
- # Timing information for the stage execution.
3138
- # Corresponds to the JSON property `schedule`
3139
- # @return [Google::Apis::AlloydbV1::StageSchedule]
3140
- attr_accessor :schedule
3141
-
3142
3283
  # Upgrade stage.
3143
3284
  # Corresponds to the JSON property `stage`
3144
3285
  # @return [String]
@@ -3156,7 +3297,6 @@ module Google
3156
3297
  # Update properties of this object
3157
3298
  def update!(**args)
3158
3299
  @read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
3159
- @schedule = args[:schedule] if args.key?(:schedule)
3160
3300
  @stage = args[:stage] if args.key?(:stage)
3161
3301
  @state = args[:state] if args.key?(:state)
3162
3302
  end
@@ -3584,7 +3724,7 @@ module Google
3584
3724
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3585
3725
  attr_accessor :resource_id
3586
3726
 
3587
- # Common model for database resource instance metadata. Next ID: 27
3727
+ # Common model for database resource instance metadata. Next ID: 29
3588
3728
  # Corresponds to the JSON property `resourceMetadata`
3589
3729
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3590
3730
  attr_accessor :resource_metadata
@@ -3782,7 +3922,7 @@ module Google
3782
3922
  end
3783
3923
  end
3784
3924
 
3785
- # Common model for database resource instance metadata. Next ID: 27
3925
+ # Common model for database resource instance metadata. Next ID: 29
3786
3926
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3787
3927
  include Google::Apis::Core::Hashable
3788
3928
 
@@ -3870,6 +4010,11 @@ module Google
3870
4010
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
3871
4011
  attr_accessor :machine_configuration
3872
4012
 
4013
+ # MaintenanceInfo to capture the maintenance details of database resource.
4014
+ # Corresponds to the JSON property `maintenanceInfo`
4015
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo]
4016
+ attr_accessor :maintenance_info
4017
+
3873
4018
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
3874
4019
  # Corresponds to the JSON property `primaryResourceId`
3875
4020
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -3953,6 +4098,7 @@ module Google
3953
4098
  @instance_type = args[:instance_type] if args.key?(:instance_type)
3954
4099
  @location = args[:location] if args.key?(:location)
3955
4100
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
4101
+ @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
3956
4102
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
3957
4103
  @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
3958
4104
  @product = args[:product] if args.key?(:product)
@@ -4307,6 +4453,127 @@ module Google
4307
4453
  end
4308
4454
  end
4309
4455
 
4456
+ # Deny maintenance period for the database resource. It specifies the time range
4457
+ # during which the maintenance cannot start. This is configured by the customer.
4458
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
4459
+ include Google::Apis::Core::Hashable
4460
+
4461
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4462
+ # day and time zone are either specified elsewhere or are insignificant. The
4463
+ # date is relative to the Gregorian Calendar. This can represent one of the
4464
+ # following: * A full date, with non-zero year, month, and day values. * A month
4465
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4466
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4467
+ # example, a credit card expiration date). Related types: * google.type.
4468
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4469
+ # Corresponds to the JSON property `endDate`
4470
+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
4471
+ attr_accessor :end_date
4472
+
4473
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4474
+ # day and time zone are either specified elsewhere or are insignificant. The
4475
+ # date is relative to the Gregorian Calendar. This can represent one of the
4476
+ # following: * A full date, with non-zero year, month, and day values. * A month
4477
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4478
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4479
+ # example, a credit card expiration date). Related types: * google.type.
4480
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4481
+ # Corresponds to the JSON property `startDate`
4482
+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
4483
+ attr_accessor :start_date
4484
+
4485
+ # Represents a time of day. The date and time zone are either not significant or
4486
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4487
+ # types are google.type.Date and `google.protobuf.Timestamp`.
4488
+ # Corresponds to the JSON property `time`
4489
+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
4490
+ attr_accessor :time
4491
+
4492
+ def initialize(**args)
4493
+ update!(**args)
4494
+ end
4495
+
4496
+ # Update properties of this object
4497
+ def update!(**args)
4498
+ @end_date = args[:end_date] if args.key?(:end_date)
4499
+ @start_date = args[:start_date] if args.key?(:start_date)
4500
+ @time = args[:time] if args.key?(:time)
4501
+ end
4502
+ end
4503
+
4504
+ # MaintenanceInfo to capture the maintenance details of database resource.
4505
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
4506
+ include Google::Apis::Core::Hashable
4507
+
4508
+ # Optional. List of Deny maintenance period for the database resource.
4509
+ # Corresponds to the JSON property `denyMaintenanceSchedules`
4510
+ # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
4511
+ attr_accessor :deny_maintenance_schedules
4512
+
4513
+ # Maintenance window for the database resource. It specifies preferred time and
4514
+ # day of the week and phase in some cases, when the maintenance can start. This
4515
+ # is configured by the customer.
4516
+ # Corresponds to the JSON property `maintenanceSchedule`
4517
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule]
4518
+ attr_accessor :maintenance_schedule
4519
+
4520
+ # Optional. Current Maintenance version of the database resource. Example: "
4521
+ # MYSQL_8_0_41.R20250531.01_15"
4522
+ # Corresponds to the JSON property `maintenanceVersion`
4523
+ # @return [String]
4524
+ attr_accessor :maintenance_version
4525
+
4526
+ def initialize(**args)
4527
+ update!(**args)
4528
+ end
4529
+
4530
+ # Update properties of this object
4531
+ def update!(**args)
4532
+ @deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
4533
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
4534
+ @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
4535
+ end
4536
+ end
4537
+
4538
+ # Maintenance window for the database resource. It specifies preferred time and
4539
+ # day of the week and phase in some cases, when the maintenance can start. This
4540
+ # is configured by the customer.
4541
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
4542
+ include Google::Apis::Core::Hashable
4543
+
4544
+ # Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
4545
+ # Corresponds to the JSON property `day`
4546
+ # @return [String]
4547
+ attr_accessor :day
4548
+
4549
+ # Optional. Phase of the maintenance window. This is to capture order of
4550
+ # maintenance. For example, for Cloud SQL resources, this can be used to capture
4551
+ # if the maintenance window is in Week1, Week2, Week5, etc. Non production
4552
+ # resources are usually part of early phase. For more details, refer to Cloud
4553
+ # SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
4554
+ # Corresponds to the JSON property `phase`
4555
+ # @return [String]
4556
+ attr_accessor :phase
4557
+
4558
+ # Represents a time of day. The date and time zone are either not significant or
4559
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4560
+ # types are google.type.Date and `google.protobuf.Timestamp`.
4561
+ # Corresponds to the JSON property `time`
4562
+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
4563
+ attr_accessor :time
4564
+
4565
+ def initialize(**args)
4566
+ update!(**args)
4567
+ end
4568
+
4569
+ # Update properties of this object
4570
+ def update!(**args)
4571
+ @day = args[:day] if args.key?(:day)
4572
+ @phase = args[:phase] if args.key?(:phase)
4573
+ @time = args[:time] if args.key?(:time)
4574
+ end
4575
+ end
4576
+
4310
4577
  #
4311
4578
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
4312
4579
  include Google::Apis::Core::Hashable
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.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 = "20250910"
25
+ REVISION = "20251001"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,30 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class BackupDrBackupSource
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BackupDrEnabledWindow
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BackupDrInfo
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BackupDrPitrSource
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
43
67
  class BackupSource
44
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
69
 
@@ -448,12 +472,6 @@ module Google
448
472
  include Google::Apis::Core::JsonObjectSupport
449
473
  end
450
474
 
451
- class StageSchedule
452
- class Representation < Google::Apis::Core::JsonRepresentation; end
453
-
454
- include Google::Apis::Core::JsonObjectSupport
455
- end
456
-
457
475
  class StageStatus
458
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
477
 
@@ -592,6 +610,24 @@ module Google
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
595
631
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
596
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
633
 
@@ -746,6 +782,46 @@ module Google
746
782
  end
747
783
  end
748
784
 
785
+ class BackupDrBackupSource
786
+ # @private
787
+ class Representation < Google::Apis::Core::JsonRepresentation
788
+ property :backup, as: 'backup'
789
+ end
790
+ end
791
+
792
+ class BackupDrEnabledWindow
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ property :automated_backup_previously_enabled, as: 'automatedBackupPreviouslyEnabled'
796
+ property :backup_plan_association, as: 'backupPlanAssociation'
797
+ property :continuous_backup_previous_recovery_window_days, as: 'continuousBackupPreviousRecoveryWindowDays'
798
+ property :continuous_backup_previously_enabled, as: 'continuousBackupPreviouslyEnabled'
799
+ property :continuous_backup_previously_enabled_time, as: 'continuousBackupPreviouslyEnabledTime'
800
+ property :data_source, as: 'dataSource'
801
+ property :disabled_time, as: 'disabledTime'
802
+ property :enabled_time, as: 'enabledTime'
803
+ property :log_retention_period, as: 'logRetentionPeriod'
804
+ end
805
+ end
806
+
807
+ class BackupDrInfo
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :current_window, as: 'currentWindow', class: Google::Apis::AlloydbV1::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1::BackupDrEnabledWindow::Representation
811
+
812
+ collection :previous_windows, as: 'previousWindows', class: Google::Apis::AlloydbV1::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1::BackupDrEnabledWindow::Representation
813
+
814
+ end
815
+ end
816
+
817
+ class BackupDrPitrSource
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ property :data_source, as: 'dataSource'
821
+ property :point_in_time, as: 'pointInTime'
822
+ end
823
+ end
824
+
749
825
  class BackupSource
750
826
  # @private
751
827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -794,6 +870,10 @@ module Google
794
870
 
795
871
  property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
796
872
 
873
+ property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1::BackupDrBackupSource::Representation
874
+
875
+ property :backupdr_info, as: 'backupdrInfo', class: Google::Apis::AlloydbV1::BackupDrInfo, decorator: Google::Apis::AlloydbV1::BackupDrInfo::Representation
876
+
797
877
  property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
798
878
 
799
879
  property :cluster_type, as: 'clusterType'
@@ -1174,6 +1254,7 @@ module Google
1174
1254
  property :next_page_token, as: 'nextPageToken'
1175
1255
  collection :operations, as: 'operations', class: Google::Apis::AlloydbV1::Operation, decorator: Google::Apis::AlloydbV1::Operation::Representation
1176
1256
 
1257
+ collection :unreachable, as: 'unreachable'
1177
1258
  end
1178
1259
  end
1179
1260
 
@@ -1407,6 +1488,10 @@ module Google
1407
1488
  class Representation < Google::Apis::Core::JsonRepresentation
1408
1489
  property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
1409
1490
 
1491
+ property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1::BackupDrBackupSource::Representation
1492
+
1493
+ property :backupdr_pitr_source, as: 'backupdrPitrSource', class: Google::Apis::AlloydbV1::BackupDrPitrSource, decorator: Google::Apis::AlloydbV1::BackupDrPitrSource::Representation
1494
+
1410
1495
  property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1::Cluster, decorator: Google::Apis::AlloydbV1::Cluster::Representation
1411
1496
 
1412
1497
  property :cluster_id, as: 'clusterId'
@@ -1468,23 +1553,11 @@ module Google
1468
1553
  end
1469
1554
  end
1470
1555
 
1471
- class StageSchedule
1472
- # @private
1473
- class Representation < Google::Apis::Core::JsonRepresentation
1474
- property :actual_end_time, as: 'actualEndTime'
1475
- property :actual_start_time, as: 'actualStartTime'
1476
- property :estimated_end_time, as: 'estimatedEndTime'
1477
- property :estimated_start_time, as: 'estimatedStartTime'
1478
- end
1479
- end
1480
-
1481
1556
  class StageStatus
1482
1557
  # @private
1483
1558
  class Representation < Google::Apis::Core::JsonRepresentation
1484
1559
  property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus::Representation
1485
1560
 
1486
- property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1::StageSchedule, decorator: Google::Apis::AlloydbV1::StageSchedule::Representation
1487
-
1488
1561
  property :stage, as: 'stage'
1489
1562
  property :state, as: 'state'
1490
1563
  end
@@ -1676,6 +1749,8 @@ module Google
1676
1749
  property :location, as: 'location'
1677
1750
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1678
1751
 
1752
+ property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::Representation
1753
+
1679
1754
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1680
1755
 
1681
1756
  property :primary_resource_location, as: 'primaryResourceLocation'
@@ -1782,6 +1857,39 @@ module Google
1782
1857
  end
1783
1858
  end
1784
1859
 
1860
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
1861
+ # @private
1862
+ class Representation < Google::Apis::Core::JsonRepresentation
1863
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
1864
+
1865
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
1866
+
1867
+ property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
1868
+
1869
+ end
1870
+ end
1871
+
1872
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
1873
+ # @private
1874
+ class Representation < Google::Apis::Core::JsonRepresentation
1875
+ collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
1876
+
1877
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
1878
+
1879
+ property :maintenance_version, as: 'maintenanceVersion'
1880
+ end
1881
+ end
1882
+
1883
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
1884
+ # @private
1885
+ class Representation < Google::Apis::Core::JsonRepresentation
1886
+ property :day, as: 'day'
1887
+ property :phase, as: 'phase'
1888
+ property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
1889
+
1890
+ end
1891
+ end
1892
+
1785
1893
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
1786
1894
  # @private
1787
1895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1736,6 +1736,13 @@ module Google
1736
1736
  # The standard list page size.
1737
1737
  # @param [String] page_token
1738
1738
  # The standard list page token.
1739
+ # @param [Boolean] return_partial_success
1740
+ # When set to `true`, operations that are reachable are returned as normal, and
1741
+ # those that are unreachable are returned in the [ListOperationsResponse.
1742
+ # unreachable] field. This can only be `true` when reading across collections e.
1743
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1744
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1745
+ # explicitly documented otherwise in service or product specific documentation.
1739
1746
  # @param [String] fields
1740
1747
  # Selector specifying which fields to include in a partial response.
1741
1748
  # @param [String] quota_user
@@ -1753,7 +1760,7 @@ module Google
1753
1760
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1754
1761
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1755
1762
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1756
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1763
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1757
1764
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
1758
1765
  command.response_representation = Google::Apis::AlloydbV1::ListOperationsResponse::Representation
1759
1766
  command.response_class = Google::Apis::AlloydbV1::ListOperationsResponse
@@ -1761,6 +1768,7 @@ module Google
1761
1768
  command.query['filter'] = filter unless filter.nil?
1762
1769
  command.query['pageSize'] = page_size unless page_size.nil?
1763
1770
  command.query['pageToken'] = page_token unless page_token.nil?
1771
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1764
1772
  command.query['fields'] = fields unless fields.nil?
1765
1773
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1766
1774
  execute_or_queue_command(command, &block)
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.46.0
4
+ version: 0.48.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.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.48.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: