google-apis-alloydb_v1alpha 0.37.0 → 0.38.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: 07f95eb874e59230af546e46bf6bdc005811f58dc21894aa89a476f88abc4494
4
- data.tar.gz: c301eac54ab7ae44643915e27fc01c24251f1cfe6f1c2cd16c7c6c6dfaf57723
3
+ metadata.gz: 20af0cdf3aeedab0d213afea95b843510a1d9c4e9a6165534d586fd887baaea4
4
+ data.tar.gz: 65c18c752b31771335732f9e861eafae8b9700a6d8e5b6463530d471c0edf59d
5
5
  SHA512:
6
- metadata.gz: eb18bbf219642f9cecac5a4d0a96a414c7fcde659f9a52dbc0e9209165b388bf3a4aba39f11b803ceb526f6df97984f722c13a8513922c5af53fb8b465b267b1
7
- data.tar.gz: 1b488f61dd96e3e7033421a5421a721b1b1f0ee1045b86cd3e76c948f78e660aedfb414216f69ff76663770871729a698283f2d58289f5bb4fc460fb8d41cb0f
6
+ metadata.gz: c5faa699698bc2e3869c458276a68c718e569ccd72d741d6302bba4998f1b3f2e96f75f82385be0f426b88189df81a9833a1d92066bb1c157ac9a546ebb5c3fb
7
+ data.tar.gz: 3cba8d42a69e1c07c3a613b055b21bae5863f2996f0d42b614b58aa424b73d6e7a0e24035410963984aafb2e6b267a2b27c495087b87f61e4f3e938bedade30d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.38.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250925
6
+
3
7
  ### v0.37.0 (2025-09-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20250910
@@ -41,6 +41,32 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Configuration for autoscaling.
45
+ class AutoScalingConfig
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # Policy for the autoscaler.
49
+ # Corresponds to the JSON property `policy`
50
+ # @return [Google::Apis::AlloydbV1alpha::Policy]
51
+ attr_accessor :policy
52
+
53
+ # Optional list of schedules for the MIG autoscaler. If not set, no schedules
54
+ # are created.
55
+ # Corresponds to the JSON property `schedules`
56
+ # @return [Array<Google::Apis::AlloydbV1alpha::Schedule>]
57
+ attr_accessor :schedules
58
+
59
+ def initialize(**args)
60
+ update!(**args)
61
+ end
62
+
63
+ # Update properties of this object
64
+ def update!(**args)
65
+ @policy = args[:policy] if args.key?(:policy)
66
+ @schedules = args[:schedules] if args.key?(:schedules)
67
+ end
68
+ end
69
+
44
70
  # Message describing the user-specified automated backup policy. All fields in
45
71
  # the automated backup policy are optional. Defaults for each field are provided
46
72
  # if they are not set.
@@ -311,6 +337,157 @@ module Google
311
337
  end
312
338
  end
313
339
 
340
+ # Message describing a BackupDrBackupSource.
341
+ class BackupDrBackupSource
342
+ include Google::Apis::Core::Hashable
343
+
344
+ # Required. The name of the backup resource with the format: * projects/`project`
345
+ # /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
346
+ # /backups/`backup_id`
347
+ # Corresponds to the JSON property `backup`
348
+ # @return [String]
349
+ attr_accessor :backup
350
+
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
354
+
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ @backup = args[:backup] if args.key?(:backup)
358
+ end
359
+ end
360
+
361
+ # Information about a single window when BackupDR was enabled for this cluster.
362
+ class BackupDrEnabledWindow
363
+ include Google::Apis::Core::Hashable
364
+
365
+ # Whether automated backup was previously enabled prior to enabling BackupDR
366
+ # protection for this cluster.
367
+ # Corresponds to the JSON property `automatedBackupPreviouslyEnabled`
368
+ # @return [Boolean]
369
+ attr_accessor :automated_backup_previously_enabled
370
+ alias_method :automated_backup_previously_enabled?, :automated_backup_previously_enabled
371
+
372
+ # The BackupPlanAssociation resource that was used to enable BackupDR protection
373
+ # for this cluster.
374
+ # Corresponds to the JSON property `backupPlanAssociation`
375
+ # @return [String]
376
+ attr_accessor :backup_plan_association
377
+
378
+ # The retention set for the continuous backup that was previously enabled prior
379
+ # to enabling BackupDR protection for this cluster.
380
+ # Corresponds to the JSON property `continuousBackupPreviousRecoveryWindowDays`
381
+ # @return [Fixnum]
382
+ attr_accessor :continuous_backup_previous_recovery_window_days
383
+
384
+ # Whether continuous backup was previously enabled prior to enabling BackupDR
385
+ # protection for this cluster.
386
+ # Corresponds to the JSON property `continuousBackupPreviouslyEnabled`
387
+ # @return [Boolean]
388
+ attr_accessor :continuous_backup_previously_enabled
389
+ alias_method :continuous_backup_previously_enabled?, :continuous_backup_previously_enabled
390
+
391
+ # The time when continuous backup was previously enabled prior to enabling
392
+ # BackupDR protection for this cluster.
393
+ # Corresponds to the JSON property `continuousBackupPreviouslyEnabledTime`
394
+ # @return [String]
395
+ attr_accessor :continuous_backup_previously_enabled_time
396
+
397
+ # The DataSource resource that represents the cluster in BackupDR.
398
+ # Corresponds to the JSON property `dataSource`
399
+ # @return [String]
400
+ attr_accessor :data_source
401
+
402
+ # Time when the BackupDR protection for this cluster was disabled. This field
403
+ # will be empty if this BackupDR window is the `current_window`.
404
+ # Corresponds to the JSON property `disabledTime`
405
+ # @return [String]
406
+ attr_accessor :disabled_time
407
+
408
+ # Time when the BackupDR protection for this cluster was enabled.
409
+ # Corresponds to the JSON property `enabledTime`
410
+ # @return [String]
411
+ attr_accessor :enabled_time
412
+
413
+ # The retention period for logs generated by BackupDR for this cluster.
414
+ # Corresponds to the JSON property `logRetentionPeriod`
415
+ # @return [String]
416
+ attr_accessor :log_retention_period
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @automated_backup_previously_enabled = args[:automated_backup_previously_enabled] if args.key?(:automated_backup_previously_enabled)
425
+ @backup_plan_association = args[:backup_plan_association] if args.key?(:backup_plan_association)
426
+ @continuous_backup_previous_recovery_window_days = args[:continuous_backup_previous_recovery_window_days] if args.key?(:continuous_backup_previous_recovery_window_days)
427
+ @continuous_backup_previously_enabled = args[:continuous_backup_previously_enabled] if args.key?(:continuous_backup_previously_enabled)
428
+ @continuous_backup_previously_enabled_time = args[:continuous_backup_previously_enabled_time] if args.key?(:continuous_backup_previously_enabled_time)
429
+ @data_source = args[:data_source] if args.key?(:data_source)
430
+ @disabled_time = args[:disabled_time] if args.key?(:disabled_time)
431
+ @enabled_time = args[:enabled_time] if args.key?(:enabled_time)
432
+ @log_retention_period = args[:log_retention_period] if args.key?(:log_retention_period)
433
+ end
434
+ end
435
+
436
+ # Information about BackupDR protection for this cluster.
437
+ class BackupDrInfo
438
+ include Google::Apis::Core::Hashable
439
+
440
+ # Information about a single window when BackupDR was enabled for this cluster.
441
+ # Corresponds to the JSON property `currentWindow`
442
+ # @return [Google::Apis::AlloydbV1alpha::BackupDrEnabledWindow]
443
+ attr_accessor :current_window
444
+
445
+ # Windows during which BackupDR was enabled for this cluster, along with
446
+ # associated configuration for that window. These are used to determine points-
447
+ # in-time for which restores can be performed. The windows are ordered with the
448
+ # most recent window last. Windows are mutally exclusive. Windows which closed
449
+ # more than 1 year ago will be removed from this list.
450
+ # Corresponds to the JSON property `previousWindows`
451
+ # @return [Array<Google::Apis::AlloydbV1alpha::BackupDrEnabledWindow>]
452
+ attr_accessor :previous_windows
453
+
454
+ def initialize(**args)
455
+ update!(**args)
456
+ end
457
+
458
+ # Update properties of this object
459
+ def update!(**args)
460
+ @current_window = args[:current_window] if args.key?(:current_window)
461
+ @previous_windows = args[:previous_windows] if args.key?(:previous_windows)
462
+ end
463
+ end
464
+
465
+ # Message describing a BackupDrPitrSource.
466
+ class BackupDrPitrSource
467
+ include Google::Apis::Core::Hashable
468
+
469
+ # Required. The name of the backup resource with the format: * projects/`project`
470
+ # /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
471
+ # Corresponds to the JSON property `dataSource`
472
+ # @return [String]
473
+ attr_accessor :data_source
474
+
475
+ # Required. The point in time to restore to.
476
+ # Corresponds to the JSON property `pointInTime`
477
+ # @return [String]
478
+ attr_accessor :point_in_time
479
+
480
+ def initialize(**args)
481
+ update!(**args)
482
+ end
483
+
484
+ # Update properties of this object
485
+ def update!(**args)
486
+ @data_source = args[:data_source] if args.key?(:data_source)
487
+ @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
488
+ end
489
+ end
490
+
314
491
  # Message describing a BackupSource.
315
492
  class BackupSource
316
493
  include Google::Apis::Core::Hashable
@@ -461,6 +638,16 @@ module Google
461
638
  # @return [Google::Apis::AlloydbV1alpha::BackupSource]
462
639
  attr_accessor :backup_source
463
640
 
641
+ # Message describing a BackupDrBackupSource.
642
+ # Corresponds to the JSON property `backupdrBackupSource`
643
+ # @return [Google::Apis::AlloydbV1alpha::BackupDrBackupSource]
644
+ attr_accessor :backupdr_backup_source
645
+
646
+ # Information about BackupDR protection for this cluster.
647
+ # Corresponds to the JSON property `backupdrInfo`
648
+ # @return [Google::Apis::AlloydbV1alpha::BackupDrInfo]
649
+ attr_accessor :backupdr_info
650
+
464
651
  # The source CloudSQL backup resource.
465
652
  # Corresponds to the JSON property `cloudsqlBackupRunSource`
466
653
  # @return [Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource]
@@ -677,6 +864,8 @@ module Google
677
864
  @annotations = args[:annotations] if args.key?(:annotations)
678
865
  @automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
679
866
  @backup_source = args[:backup_source] if args.key?(:backup_source)
867
+ @backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
868
+ @backupdr_info = args[:backupdr_info] if args.key?(:backupdr_info)
680
869
  @cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
681
870
  @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
682
871
  @continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
@@ -1048,6 +1237,25 @@ module Google
1048
1237
  end
1049
1238
  end
1050
1239
 
1240
+ # CPU utilization policy for the autoscaler.
1241
+ class CpuUtilization
1242
+ include Google::Apis::Core::Hashable
1243
+
1244
+ # Target CPU utilization as a float between 0 and 1.
1245
+ # Corresponds to the JSON property `utilizationTarget`
1246
+ # @return [Float]
1247
+ attr_accessor :utilization_target
1248
+
1249
+ def initialize(**args)
1250
+ update!(**args)
1251
+ end
1252
+
1253
+ # Update properties of this object
1254
+ def update!(**args)
1255
+ @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
1256
+ end
1257
+ end
1258
+
1051
1259
  # Options for exporting data in CSV format.
1052
1260
  class CsvExportOptions
1053
1261
  include Google::Apis::Core::Hashable
@@ -2143,6 +2351,13 @@ module Google
2143
2351
  # @return [Array<Google::Apis::AlloydbV1alpha::Operation>]
2144
2352
  attr_accessor :operations
2145
2353
 
2354
+ # Unordered list. Unreachable resources. Populated when the request sets `
2355
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
2356
+ # when attempting to list all resources across all supported locations.
2357
+ # Corresponds to the JSON property `unreachable`
2358
+ # @return [Array<String>]
2359
+ attr_accessor :unreachable
2360
+
2146
2361
  def initialize(**args)
2147
2362
  update!(**args)
2148
2363
  end
@@ -2151,6 +2366,7 @@ module Google
2151
2366
  def update!(**args)
2152
2367
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2153
2368
  @operations = args[:operations] if args.key?(:operations)
2369
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2154
2370
  end
2155
2371
  end
2156
2372
 
@@ -2638,6 +2854,47 @@ module Google
2638
2854
  end
2639
2855
  end
2640
2856
 
2857
+ # Policy for the autoscaler.
2858
+ class Policy
2859
+ include Google::Apis::Core::Hashable
2860
+
2861
+ # The period of time in seconds after a new node is created before the
2862
+ # autoscaler will incorporate its resource usage (e.g. CPU utilization) into the
2863
+ # autoscaling recommendation algorithm.
2864
+ # Corresponds to the JSON property `coolDownPeriodSec`
2865
+ # @return [Fixnum]
2866
+ attr_accessor :cool_down_period_sec
2867
+
2868
+ # CPU utilization policy for the autoscaler.
2869
+ # Corresponds to the JSON property `cpuUtilization`
2870
+ # @return [Google::Apis::AlloydbV1alpha::CpuUtilization]
2871
+ attr_accessor :cpu_utilization
2872
+
2873
+ # If true, autoscaling is enabled for the instance. If not set, the default
2874
+ # value is false.
2875
+ # Corresponds to the JSON property `enabled`
2876
+ # @return [Boolean]
2877
+ attr_accessor :enabled
2878
+ alias_method :enabled?, :enabled
2879
+
2880
+ # Maximum number of nodes for the autoscaler.
2881
+ # Corresponds to the JSON property `maxNodeCount`
2882
+ # @return [Fixnum]
2883
+ attr_accessor :max_node_count
2884
+
2885
+ def initialize(**args)
2886
+ update!(**args)
2887
+ end
2888
+
2889
+ # Update properties of this object
2890
+ def update!(**args)
2891
+ @cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
2892
+ @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
2893
+ @enabled = args[:enabled] if args.key?(:enabled)
2894
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
2895
+ end
2896
+ end
2897
+
2641
2898
  # Configuration for the primary cluster. It has the list of clusters that are
2642
2899
  # replicating from this cluster. This should be set if and only if the cluster
2643
2900
  # is of type PRIMARY.
@@ -2968,6 +3225,11 @@ module Google
2968
3225
  class ReadPoolConfig
2969
3226
  include Google::Apis::Core::Hashable
2970
3227
 
3228
+ # Configuration for autoscaling.
3229
+ # Corresponds to the JSON property `autoScalingConfig`
3230
+ # @return [Google::Apis::AlloydbV1alpha::AutoScalingConfig]
3231
+ attr_accessor :auto_scaling_config
3232
+
2971
3233
  # Read capacity, i.e. number of nodes in a read pool instance.
2972
3234
  # Corresponds to the JSON property `nodeCount`
2973
3235
  # @return [Fixnum]
@@ -2979,6 +3241,7 @@ module Google
2979
3241
 
2980
3242
  # Update properties of this object
2981
3243
  def update!(**args)
3244
+ @auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
2982
3245
  @node_count = args[:node_count] if args.key?(:node_count)
2983
3246
  end
2984
3247
  end
@@ -3056,6 +3319,16 @@ module Google
3056
3319
  # @return [Google::Apis::AlloydbV1alpha::BackupSource]
3057
3320
  attr_accessor :backup_source
3058
3321
 
3322
+ # Message describing a BackupDrBackupSource.
3323
+ # Corresponds to the JSON property `backupdrBackupSource`
3324
+ # @return [Google::Apis::AlloydbV1alpha::BackupDrBackupSource]
3325
+ attr_accessor :backupdr_backup_source
3326
+
3327
+ # Message describing a BackupDrPitrSource.
3328
+ # Corresponds to the JSON property `backupdrPitrSource`
3329
+ # @return [Google::Apis::AlloydbV1alpha::BackupDrPitrSource]
3330
+ attr_accessor :backupdr_pitr_source
3331
+
3059
3332
  # A cluster is a collection of regional AlloyDB resources. It can include a
3060
3333
  # primary instance and one or more read pool instances. All cluster resources
3061
3334
  # share a storage layer, which scales as needed.
@@ -3102,6 +3375,8 @@ module Google
3102
3375
  # Update properties of this object
3103
3376
  def update!(**args)
3104
3377
  @backup_source = args[:backup_source] if args.key?(:backup_source)
3378
+ @backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
3379
+ @backupdr_pitr_source = args[:backupdr_pitr_source] if args.key?(:backupdr_pitr_source)
3105
3380
  @cluster = args[:cluster] if args.key?(:cluster)
3106
3381
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
3107
3382
  @continuous_backup_source = args[:continuous_backup_source] if args.key?(:continuous_backup_source)
@@ -3143,6 +3418,64 @@ module Google
3143
3418
  end
3144
3419
  end
3145
3420
 
3421
+ # A schedule for the autoscaler.
3422
+ class Schedule
3423
+ include Google::Apis::Core::Hashable
3424
+
3425
+ # Cron expression for the triggering the schedule. See https://cloud.google.com/
3426
+ # compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
3427
+ # Corresponds to the JSON property `cronExpression`
3428
+ # @return [String]
3429
+ attr_accessor :cron_expression
3430
+
3431
+ # Description of the schedule.
3432
+ # Corresponds to the JSON property `description`
3433
+ # @return [String]
3434
+ attr_accessor :description
3435
+
3436
+ # If true, the schedule is disabled.
3437
+ # Corresponds to the JSON property `disabled`
3438
+ # @return [Boolean]
3439
+ attr_accessor :disabled
3440
+ alias_method :disabled?, :disabled
3441
+
3442
+ # Duration of the schedule.
3443
+ # Corresponds to the JSON property `durationSec`
3444
+ # @return [Fixnum]
3445
+ attr_accessor :duration_sec
3446
+
3447
+ # Minimum number of nodes in while the schedule is active.
3448
+ # Corresponds to the JSON property `minNodeCount`
3449
+ # @return [Fixnum]
3450
+ attr_accessor :min_node_count
3451
+
3452
+ # Name of the schedule.
3453
+ # Corresponds to the JSON property `name`
3454
+ # @return [String]
3455
+ attr_accessor :name
3456
+
3457
+ # The location-based IANA time zone for interpreting the schedule's start time.
3458
+ # If no time zone is provided, UTC is used by default.
3459
+ # Corresponds to the JSON property `timeZone`
3460
+ # @return [String]
3461
+ attr_accessor :time_zone
3462
+
3463
+ def initialize(**args)
3464
+ update!(**args)
3465
+ end
3466
+
3467
+ # Update properties of this object
3468
+ def update!(**args)
3469
+ @cron_expression = args[:cron_expression] if args.key?(:cron_expression)
3470
+ @description = args[:description] if args.key?(:description)
3471
+ @disabled = args[:disabled] if args.key?(:disabled)
3472
+ @duration_sec = args[:duration_sec] if args.key?(:duration_sec)
3473
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
3474
+ @name = args[:name] if args.key?(:name)
3475
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
3476
+ end
3477
+ end
3478
+
3146
3479
  # Configuration information for the secondary cluster. This should be set if and
3147
3480
  # only if the cluster is of type SECONDARY.
3148
3481
  class SecondaryConfig
@@ -3278,43 +3611,6 @@ module Google
3278
3611
  end
3279
3612
  end
3280
3613
 
3281
- # Timing information for the stage execution.
3282
- class StageSchedule
3283
- include Google::Apis::Core::Hashable
3284
-
3285
- # Actual end time of the stage. Set only if the stage has completed.
3286
- # Corresponds to the JSON property `actualEndTime`
3287
- # @return [String]
3288
- attr_accessor :actual_end_time
3289
-
3290
- # Actual start time of the stage. Set only if the stage has started.
3291
- # Corresponds to the JSON property `actualStartTime`
3292
- # @return [String]
3293
- attr_accessor :actual_start_time
3294
-
3295
- # When the stage is expected to end. Set only if the stage has not completed yet.
3296
- # Corresponds to the JSON property `estimatedEndTime`
3297
- # @return [String]
3298
- attr_accessor :estimated_end_time
3299
-
3300
- # When the stage is expected to start. Set only if the stage has not started yet.
3301
- # Corresponds to the JSON property `estimatedStartTime`
3302
- # @return [String]
3303
- attr_accessor :estimated_start_time
3304
-
3305
- def initialize(**args)
3306
- update!(**args)
3307
- end
3308
-
3309
- # Update properties of this object
3310
- def update!(**args)
3311
- @actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
3312
- @actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
3313
- @estimated_end_time = args[:estimated_end_time] if args.key?(:estimated_end_time)
3314
- @estimated_start_time = args[:estimated_start_time] if args.key?(:estimated_start_time)
3315
- end
3316
- end
3317
-
3318
3614
  # Status of an upgrade stage.
3319
3615
  class StageStatus
3320
3616
  include Google::Apis::Core::Hashable
@@ -3324,11 +3620,6 @@ module Google
3324
3620
  # @return [Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus]
3325
3621
  attr_accessor :read_pool_instances_upgrade
3326
3622
 
3327
- # Timing information for the stage execution.
3328
- # Corresponds to the JSON property `schedule`
3329
- # @return [Google::Apis::AlloydbV1alpha::StageSchedule]
3330
- attr_accessor :schedule
3331
-
3332
3623
  # Upgrade stage.
3333
3624
  # Corresponds to the JSON property `stage`
3334
3625
  # @return [String]
@@ -3346,7 +3637,6 @@ module Google
3346
3637
  # Update properties of this object
3347
3638
  def update!(**args)
3348
3639
  @read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
3349
- @schedule = args[:schedule] if args.key?(:schedule)
3350
3640
  @stage = args[:stage] if args.key?(:stage)
3351
3641
  @state = args[:state] if args.key?(:state)
3352
3642
  end
@@ -3774,7 +4064,7 @@ module Google
3774
4064
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3775
4065
  attr_accessor :resource_id
3776
4066
 
3777
- # Common model for database resource instance metadata. Next ID: 27
4067
+ # Common model for database resource instance metadata. Next ID: 29
3778
4068
  # Corresponds to the JSON property `resourceMetadata`
3779
4069
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3780
4070
  attr_accessor :resource_metadata
@@ -3972,7 +4262,7 @@ module Google
3972
4262
  end
3973
4263
  end
3974
4264
 
3975
- # Common model for database resource instance metadata. Next ID: 27
4265
+ # Common model for database resource instance metadata. Next ID: 29
3976
4266
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3977
4267
  include Google::Apis::Core::Hashable
3978
4268
 
@@ -4060,6 +4350,11 @@ module Google
4060
4350
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
4061
4351
  attr_accessor :machine_configuration
4062
4352
 
4353
+ # MaintenanceInfo to capture the maintenance details of database resource.
4354
+ # Corresponds to the JSON property `maintenanceInfo`
4355
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo]
4356
+ attr_accessor :maintenance_info
4357
+
4063
4358
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
4064
4359
  # Corresponds to the JSON property `primaryResourceId`
4065
4360
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -4143,6 +4438,7 @@ module Google
4143
4438
  @instance_type = args[:instance_type] if args.key?(:instance_type)
4144
4439
  @location = args[:location] if args.key?(:location)
4145
4440
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
4441
+ @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
4146
4442
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
4147
4443
  @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
4148
4444
  @product = args[:product] if args.key?(:product)
@@ -4497,6 +4793,127 @@ module Google
4497
4793
  end
4498
4794
  end
4499
4795
 
4796
+ # Deny maintenance period for the database resource. It specifies the time range
4797
+ # during which the maintenance cannot start. This is configured by the customer.
4798
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
4799
+ include Google::Apis::Core::Hashable
4800
+
4801
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4802
+ # day and time zone are either specified elsewhere or are insignificant. The
4803
+ # date is relative to the Gregorian Calendar. This can represent one of the
4804
+ # following: * A full date, with non-zero year, month, and day values. * A month
4805
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4806
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4807
+ # example, a credit card expiration date). Related types: * google.type.
4808
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4809
+ # Corresponds to the JSON property `endDate`
4810
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
4811
+ attr_accessor :end_date
4812
+
4813
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4814
+ # day and time zone are either specified elsewhere or are insignificant. The
4815
+ # date is relative to the Gregorian Calendar. This can represent one of the
4816
+ # following: * A full date, with non-zero year, month, and day values. * A month
4817
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4818
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4819
+ # example, a credit card expiration date). Related types: * google.type.
4820
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4821
+ # Corresponds to the JSON property `startDate`
4822
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
4823
+ attr_accessor :start_date
4824
+
4825
+ # Represents a time of day. The date and time zone are either not significant or
4826
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4827
+ # types are google.type.Date and `google.protobuf.Timestamp`.
4828
+ # Corresponds to the JSON property `time`
4829
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
4830
+ attr_accessor :time
4831
+
4832
+ def initialize(**args)
4833
+ update!(**args)
4834
+ end
4835
+
4836
+ # Update properties of this object
4837
+ def update!(**args)
4838
+ @end_date = args[:end_date] if args.key?(:end_date)
4839
+ @start_date = args[:start_date] if args.key?(:start_date)
4840
+ @time = args[:time] if args.key?(:time)
4841
+ end
4842
+ end
4843
+
4844
+ # MaintenanceInfo to capture the maintenance details of database resource.
4845
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
4846
+ include Google::Apis::Core::Hashable
4847
+
4848
+ # Optional. List of Deny maintenance period for the database resource.
4849
+ # Corresponds to the JSON property `denyMaintenanceSchedules`
4850
+ # @return [Array<Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
4851
+ attr_accessor :deny_maintenance_schedules
4852
+
4853
+ # Maintenance window for the database resource. It specifies preferred time and
4854
+ # day of the week and phase in some cases, when the maintenance can start. This
4855
+ # is configured by the customer.
4856
+ # Corresponds to the JSON property `maintenanceSchedule`
4857
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule]
4858
+ attr_accessor :maintenance_schedule
4859
+
4860
+ # Optional. Current Maintenance version of the database resource. Example: "
4861
+ # MYSQL_8_0_41.R20250531.01_15"
4862
+ # Corresponds to the JSON property `maintenanceVersion`
4863
+ # @return [String]
4864
+ attr_accessor :maintenance_version
4865
+
4866
+ def initialize(**args)
4867
+ update!(**args)
4868
+ end
4869
+
4870
+ # Update properties of this object
4871
+ def update!(**args)
4872
+ @deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
4873
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
4874
+ @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
4875
+ end
4876
+ end
4877
+
4878
+ # Maintenance window for the database resource. It specifies preferred time and
4879
+ # day of the week and phase in some cases, when the maintenance can start. This
4880
+ # is configured by the customer.
4881
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
4882
+ include Google::Apis::Core::Hashable
4883
+
4884
+ # Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
4885
+ # Corresponds to the JSON property `day`
4886
+ # @return [String]
4887
+ attr_accessor :day
4888
+
4889
+ # Optional. Phase of the maintenance window. This is to capture order of
4890
+ # maintenance. For example, for Cloud SQL resources, this can be used to capture
4891
+ # if the maintenance window is in Week1, Week2, Week5, etc. Non production
4892
+ # resources are usually part of early phase. For more details, refer to Cloud
4893
+ # SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
4894
+ # Corresponds to the JSON property `phase`
4895
+ # @return [String]
4896
+ attr_accessor :phase
4897
+
4898
+ # Represents a time of day. The date and time zone are either not significant or
4899
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4900
+ # types are google.type.Date and `google.protobuf.Timestamp`.
4901
+ # Corresponds to the JSON property `time`
4902
+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
4903
+ attr_accessor :time
4904
+
4905
+ def initialize(**args)
4906
+ update!(**args)
4907
+ end
4908
+
4909
+ # Update properties of this object
4910
+ def update!(**args)
4911
+ @day = args[:day] if args.key?(:day)
4912
+ @phase = args[:phase] if args.key?(:phase)
4913
+ @time = args[:time] if args.key?(:time)
4914
+ end
4915
+ end
4916
+
4500
4917
  #
4501
4918
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
4502
4919
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.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 = "20250925"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AutoScalingConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AutomatedBackupPolicy
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -40,6 +46,30 @@ module Google
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class BackupDrBackupSource
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BackupDrEnabledWindow
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BackupDrInfo
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BackupDrPitrSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
43
73
  class BackupSource
44
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
75
 
@@ -112,6 +142,12 @@ module Google
112
142
  include Google::Apis::Core::JsonObjectSupport
113
143
  end
114
144
 
145
+ class CpuUtilization
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
115
151
  class CsvExportOptions
116
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
153
 
@@ -340,6 +376,12 @@ module Google
340
376
  include Google::Apis::Core::JsonObjectSupport
341
377
  end
342
378
 
379
+ class Policy
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
343
385
  class PrimaryConfig
344
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
387
 
@@ -424,37 +466,37 @@ module Google
424
466
  include Google::Apis::Core::JsonObjectSupport
425
467
  end
426
468
 
427
- class SecondaryConfig
469
+ class Schedule
428
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
471
 
430
472
  include Google::Apis::Core::JsonObjectSupport
431
473
  end
432
474
 
433
- class SqlExportOptions
475
+ class SecondaryConfig
434
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
477
 
436
478
  include Google::Apis::Core::JsonObjectSupport
437
479
  end
438
480
 
439
- class SqlImportOptions
481
+ class SqlExportOptions
440
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
483
 
442
484
  include Google::Apis::Core::JsonObjectSupport
443
485
  end
444
486
 
445
- class SslConfig
487
+ class SqlImportOptions
446
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
489
 
448
490
  include Google::Apis::Core::JsonObjectSupport
449
491
  end
450
492
 
451
- class StageInfo
493
+ class SslConfig
452
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
495
 
454
496
  include Google::Apis::Core::JsonObjectSupport
455
497
  end
456
498
 
457
- class StageSchedule
499
+ class StageInfo
458
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
501
 
460
502
  include Google::Apis::Core::JsonObjectSupport
@@ -598,6 +640,24 @@ module Google
598
640
  include Google::Apis::Core::JsonObjectSupport
599
641
  end
600
642
 
643
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
601
661
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
602
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
663
 
@@ -707,6 +767,16 @@ module Google
707
767
  end
708
768
  end
709
769
 
770
+ class AutoScalingConfig
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :policy, as: 'policy', class: Google::Apis::AlloydbV1alpha::Policy, decorator: Google::Apis::AlloydbV1alpha::Policy::Representation
774
+
775
+ collection :schedules, as: 'schedules', class: Google::Apis::AlloydbV1alpha::Schedule, decorator: Google::Apis::AlloydbV1alpha::Schedule::Representation
776
+
777
+ end
778
+ end
779
+
710
780
  class AutomatedBackupPolicy
711
781
  # @private
712
782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -759,6 +829,46 @@ module Google
759
829
  end
760
830
  end
761
831
 
832
+ class BackupDrBackupSource
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ property :backup, as: 'backup'
836
+ end
837
+ end
838
+
839
+ class BackupDrEnabledWindow
840
+ # @private
841
+ class Representation < Google::Apis::Core::JsonRepresentation
842
+ property :automated_backup_previously_enabled, as: 'automatedBackupPreviouslyEnabled'
843
+ property :backup_plan_association, as: 'backupPlanAssociation'
844
+ property :continuous_backup_previous_recovery_window_days, as: 'continuousBackupPreviousRecoveryWindowDays'
845
+ property :continuous_backup_previously_enabled, as: 'continuousBackupPreviouslyEnabled'
846
+ property :continuous_backup_previously_enabled_time, as: 'continuousBackupPreviouslyEnabledTime'
847
+ property :data_source, as: 'dataSource'
848
+ property :disabled_time, as: 'disabledTime'
849
+ property :enabled_time, as: 'enabledTime'
850
+ property :log_retention_period, as: 'logRetentionPeriod'
851
+ end
852
+ end
853
+
854
+ class BackupDrInfo
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :current_window, as: 'currentWindow', class: Google::Apis::AlloydbV1alpha::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1alpha::BackupDrEnabledWindow::Representation
858
+
859
+ collection :previous_windows, as: 'previousWindows', class: Google::Apis::AlloydbV1alpha::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1alpha::BackupDrEnabledWindow::Representation
860
+
861
+ end
862
+ end
863
+
864
+ class BackupDrPitrSource
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :data_source, as: 'dataSource'
868
+ property :point_in_time, as: 'pointInTime'
869
+ end
870
+ end
871
+
762
872
  class BackupSource
763
873
  # @private
764
874
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -807,6 +917,10 @@ module Google
807
917
 
808
918
  property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1alpha::BackupSource, decorator: Google::Apis::AlloydbV1alpha::BackupSource::Representation
809
919
 
920
+ property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1alpha::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1alpha::BackupDrBackupSource::Representation
921
+
922
+ property :backupdr_info, as: 'backupdrInfo', class: Google::Apis::AlloydbV1alpha::BackupDrInfo, decorator: Google::Apis::AlloydbV1alpha::BackupDrInfo::Representation
923
+
810
924
  property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource::Representation
811
925
 
812
926
  property :cluster_type, as: 'clusterType'
@@ -934,6 +1048,13 @@ module Google
934
1048
  end
935
1049
  end
936
1050
 
1051
+ class CpuUtilization
1052
+ # @private
1053
+ class Representation < Google::Apis::Core::JsonRepresentation
1054
+ property :utilization_target, as: 'utilizationTarget'
1055
+ end
1056
+ end
1057
+
937
1058
  class CsvExportOptions
938
1059
  # @private
939
1060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1216,6 +1337,7 @@ module Google
1216
1337
  property :next_page_token, as: 'nextPageToken'
1217
1338
  collection :operations, as: 'operations', class: Google::Apis::AlloydbV1alpha::Operation, decorator: Google::Apis::AlloydbV1alpha::Operation::Representation
1218
1339
 
1340
+ collection :unreachable, as: 'unreachable'
1219
1341
  end
1220
1342
  end
1221
1343
 
@@ -1342,6 +1464,17 @@ module Google
1342
1464
  end
1343
1465
  end
1344
1466
 
1467
+ class Policy
1468
+ # @private
1469
+ class Representation < Google::Apis::Core::JsonRepresentation
1470
+ property :cool_down_period_sec, :numeric_string => true, as: 'coolDownPeriodSec'
1471
+ property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AlloydbV1alpha::CpuUtilization, decorator: Google::Apis::AlloydbV1alpha::CpuUtilization::Representation
1472
+
1473
+ property :enabled, as: 'enabled'
1474
+ property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
1475
+ end
1476
+ end
1477
+
1345
1478
  class PrimaryConfig
1346
1479
  # @private
1347
1480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1425,6 +1558,8 @@ module Google
1425
1558
  class ReadPoolConfig
1426
1559
  # @private
1427
1560
  class Representation < Google::Apis::Core::JsonRepresentation
1561
+ property :auto_scaling_config, as: 'autoScalingConfig', class: Google::Apis::AlloydbV1alpha::AutoScalingConfig, decorator: Google::Apis::AlloydbV1alpha::AutoScalingConfig::Representation
1562
+
1428
1563
  property :node_count, as: 'nodeCount'
1429
1564
  end
1430
1565
  end
@@ -1451,6 +1586,10 @@ module Google
1451
1586
  class Representation < Google::Apis::Core::JsonRepresentation
1452
1587
  property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1alpha::BackupSource, decorator: Google::Apis::AlloydbV1alpha::BackupSource::Representation
1453
1588
 
1589
+ property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1alpha::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1alpha::BackupDrBackupSource::Representation
1590
+
1591
+ property :backupdr_pitr_source, as: 'backupdrPitrSource', class: Google::Apis::AlloydbV1alpha::BackupDrPitrSource, decorator: Google::Apis::AlloydbV1alpha::BackupDrPitrSource::Representation
1592
+
1454
1593
  property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1alpha::Cluster, decorator: Google::Apis::AlloydbV1alpha::Cluster::Representation
1455
1594
 
1456
1595
  property :cluster_id, as: 'clusterId'
@@ -1472,6 +1611,19 @@ module Google
1472
1611
  end
1473
1612
  end
1474
1613
 
1614
+ class Schedule
1615
+ # @private
1616
+ class Representation < Google::Apis::Core::JsonRepresentation
1617
+ property :cron_expression, as: 'cronExpression'
1618
+ property :description, as: 'description'
1619
+ property :disabled, as: 'disabled'
1620
+ property :duration_sec, :numeric_string => true, as: 'durationSec'
1621
+ property :min_node_count, :numeric_string => true, as: 'minNodeCount'
1622
+ property :name, as: 'name'
1623
+ property :time_zone, as: 'timeZone'
1624
+ end
1625
+ end
1626
+
1475
1627
  class SecondaryConfig
1476
1628
  # @private
1477
1629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1512,23 +1664,11 @@ module Google
1512
1664
  end
1513
1665
  end
1514
1666
 
1515
- class StageSchedule
1516
- # @private
1517
- class Representation < Google::Apis::Core::JsonRepresentation
1518
- property :actual_end_time, as: 'actualEndTime'
1519
- property :actual_start_time, as: 'actualStartTime'
1520
- property :estimated_end_time, as: 'estimatedEndTime'
1521
- property :estimated_start_time, as: 'estimatedStartTime'
1522
- end
1523
- end
1524
-
1525
1667
  class StageStatus
1526
1668
  # @private
1527
1669
  class Representation < Google::Apis::Core::JsonRepresentation
1528
1670
  property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus::Representation
1529
1671
 
1530
- property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1alpha::StageSchedule, decorator: Google::Apis::AlloydbV1alpha::StageSchedule::Representation
1531
-
1532
1672
  property :stage, as: 'stage'
1533
1673
  property :state, as: 'state'
1534
1674
  end
@@ -1720,6 +1860,8 @@ module Google
1720
1860
  property :location, as: 'location'
1721
1861
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1722
1862
 
1863
+ property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::Representation
1864
+
1723
1865
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1724
1866
 
1725
1867
  property :primary_resource_location, as: 'primaryResourceLocation'
@@ -1826,6 +1968,39 @@ module Google
1826
1968
  end
1827
1969
  end
1828
1970
 
1971
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
1972
+ # @private
1973
+ class Representation < Google::Apis::Core::JsonRepresentation
1974
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
1975
+
1976
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1alpha::GoogleTypeDate, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeDate::Representation
1977
+
1978
+ property :time, as: 'time', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
1979
+
1980
+ end
1981
+ end
1982
+
1983
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
1984
+ # @private
1985
+ class Representation < Google::Apis::Core::JsonRepresentation
1986
+ collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
1987
+
1988
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
1989
+
1990
+ property :maintenance_version, as: 'maintenanceVersion'
1991
+ end
1992
+ end
1993
+
1994
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
1995
+ # @private
1996
+ class Representation < Google::Apis::Core::JsonRepresentation
1997
+ property :day, as: 'day'
1998
+ property :phase, as: 'phase'
1999
+ property :time, as: 'time', class: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay::Representation
2000
+
2001
+ end
2002
+ end
2003
+
1829
2004
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
1830
2005
  # @private
1831
2006
  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, 'v1alpha/{+name}/operations', options)
1758
1765
  command.response_representation = Google::Apis::AlloydbV1alpha::ListOperationsResponse::Representation
1759
1766
  command.response_class = Google::Apis::AlloydbV1alpha::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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.37.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.38.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: