google-apis-alloydb_v1 0.45.0 → 0.47.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: 45e9d24a9a0d84b01e3ca26e2150e5170f5908293416fb6cf84ea807db12f460
4
- data.tar.gz: 1495508ab9bf2749f3c2aceb8716d97003044b1349b507ff46265f802ac42789
3
+ metadata.gz: f56b61637329bc8231c9dbd1401b2c5107341fd8d0999cd916fbc7b5c736a94b
4
+ data.tar.gz: de5fe7cb2c86f4de2f059fc2beeda423e42bb7e40b56ebb2a34bd5a46f4ef60d
5
5
  SHA512:
6
- metadata.gz: a1ff763e1f95052f994599cf7ebee5d10846d3e636989cb107a155dc587320b0c0e667cf41e1ca3c9ea40ab9279a1a41491ce6ba5833aaa58a40777cd18e107c
7
- data.tar.gz: cfbcd31e908f4a51812db2855e54e3740391ce6404862ac42d170b58bbd95f08fdd334033f00000bb1282608c2be9d19c20b1d6a43cf5ef9a4974287420368be
6
+ metadata.gz: 5c47be7d3295d3f6dec6dc83ca632930c9d60ba6781aa3364257777d994be9c5ed78ded55bd38bdbb9e43431633b1f78b10ff0f0bec6e39681a0f59b896b082d
7
+ data.tar.gz: 44683f937a792ef632498501f0ad514cc2c30d23e9c416dd0e94c198a2a014713da0bbded1c34217f278d6d849e7f4af0513e219e6699e55ac9110b45553e54a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.47.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250925
6
+
7
+ ### v0.46.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250910
10
+
3
11
  ### v0.45.0 (2025-09-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20250904
@@ -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::AlloydbV1::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::AlloydbV1::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.
@@ -304,6 +330,157 @@ module Google
304
330
  end
305
331
  end
306
332
 
333
+ # Message describing a BackupDrBackupSource.
334
+ class BackupDrBackupSource
335
+ include Google::Apis::Core::Hashable
336
+
337
+ # Required. The name of the backup resource with the format: * projects/`project`
338
+ # /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
339
+ # /backups/`backup_id`
340
+ # Corresponds to the JSON property `backup`
341
+ # @return [String]
342
+ attr_accessor :backup
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @backup = args[:backup] if args.key?(:backup)
351
+ end
352
+ end
353
+
354
+ # Information about a single window when BackupDR was enabled for this cluster.
355
+ class BackupDrEnabledWindow
356
+ include Google::Apis::Core::Hashable
357
+
358
+ # Whether automated backup was previously enabled prior to enabling BackupDR
359
+ # protection for this cluster.
360
+ # Corresponds to the JSON property `automatedBackupPreviouslyEnabled`
361
+ # @return [Boolean]
362
+ attr_accessor :automated_backup_previously_enabled
363
+ alias_method :automated_backup_previously_enabled?, :automated_backup_previously_enabled
364
+
365
+ # The BackupPlanAssociation resource that was used to enable BackupDR protection
366
+ # for this cluster.
367
+ # Corresponds to the JSON property `backupPlanAssociation`
368
+ # @return [String]
369
+ attr_accessor :backup_plan_association
370
+
371
+ # The retention set for the continuous backup that was previously enabled prior
372
+ # to enabling BackupDR protection for this cluster.
373
+ # Corresponds to the JSON property `continuousBackupPreviousRecoveryWindowDays`
374
+ # @return [Fixnum]
375
+ attr_accessor :continuous_backup_previous_recovery_window_days
376
+
377
+ # Whether continuous backup was previously enabled prior to enabling BackupDR
378
+ # protection for this cluster.
379
+ # Corresponds to the JSON property `continuousBackupPreviouslyEnabled`
380
+ # @return [Boolean]
381
+ attr_accessor :continuous_backup_previously_enabled
382
+ alias_method :continuous_backup_previously_enabled?, :continuous_backup_previously_enabled
383
+
384
+ # The time when continuous backup was previously enabled prior to enabling
385
+ # BackupDR protection for this cluster.
386
+ # Corresponds to the JSON property `continuousBackupPreviouslyEnabledTime`
387
+ # @return [String]
388
+ attr_accessor :continuous_backup_previously_enabled_time
389
+
390
+ # The DataSource resource that represents the cluster in BackupDR.
391
+ # Corresponds to the JSON property `dataSource`
392
+ # @return [String]
393
+ attr_accessor :data_source
394
+
395
+ # Time when the BackupDR protection for this cluster was disabled. This field
396
+ # will be empty if this BackupDR window is the `current_window`.
397
+ # Corresponds to the JSON property `disabledTime`
398
+ # @return [String]
399
+ attr_accessor :disabled_time
400
+
401
+ # Time when the BackupDR protection for this cluster was enabled.
402
+ # Corresponds to the JSON property `enabledTime`
403
+ # @return [String]
404
+ attr_accessor :enabled_time
405
+
406
+ # The retention period for logs generated by BackupDR for this cluster.
407
+ # Corresponds to the JSON property `logRetentionPeriod`
408
+ # @return [String]
409
+ attr_accessor :log_retention_period
410
+
411
+ def initialize(**args)
412
+ update!(**args)
413
+ end
414
+
415
+ # Update properties of this object
416
+ def update!(**args)
417
+ @automated_backup_previously_enabled = args[:automated_backup_previously_enabled] if args.key?(:automated_backup_previously_enabled)
418
+ @backup_plan_association = args[:backup_plan_association] if args.key?(:backup_plan_association)
419
+ @continuous_backup_previous_recovery_window_days = args[:continuous_backup_previous_recovery_window_days] if args.key?(:continuous_backup_previous_recovery_window_days)
420
+ @continuous_backup_previously_enabled = args[:continuous_backup_previously_enabled] if args.key?(:continuous_backup_previously_enabled)
421
+ @continuous_backup_previously_enabled_time = args[:continuous_backup_previously_enabled_time] if args.key?(:continuous_backup_previously_enabled_time)
422
+ @data_source = args[:data_source] if args.key?(:data_source)
423
+ @disabled_time = args[:disabled_time] if args.key?(:disabled_time)
424
+ @enabled_time = args[:enabled_time] if args.key?(:enabled_time)
425
+ @log_retention_period = args[:log_retention_period] if args.key?(:log_retention_period)
426
+ end
427
+ end
428
+
429
+ # Information about BackupDR protection for this cluster.
430
+ class BackupDrInfo
431
+ include Google::Apis::Core::Hashable
432
+
433
+ # Information about a single window when BackupDR was enabled for this cluster.
434
+ # Corresponds to the JSON property `currentWindow`
435
+ # @return [Google::Apis::AlloydbV1::BackupDrEnabledWindow]
436
+ attr_accessor :current_window
437
+
438
+ # Windows during which BackupDR was enabled for this cluster, along with
439
+ # associated configuration for that window. These are used to determine points-
440
+ # in-time for which restores can be performed. The windows are ordered with the
441
+ # most recent window last. Windows are mutally exclusive. Windows which closed
442
+ # more than 1 year ago will be removed from this list.
443
+ # Corresponds to the JSON property `previousWindows`
444
+ # @return [Array<Google::Apis::AlloydbV1::BackupDrEnabledWindow>]
445
+ attr_accessor :previous_windows
446
+
447
+ def initialize(**args)
448
+ update!(**args)
449
+ end
450
+
451
+ # Update properties of this object
452
+ def update!(**args)
453
+ @current_window = args[:current_window] if args.key?(:current_window)
454
+ @previous_windows = args[:previous_windows] if args.key?(:previous_windows)
455
+ end
456
+ end
457
+
458
+ # Message describing a BackupDrPitrSource.
459
+ class BackupDrPitrSource
460
+ include Google::Apis::Core::Hashable
461
+
462
+ # Required. The name of the backup resource with the format: * projects/`project`
463
+ # /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
464
+ # Corresponds to the JSON property `dataSource`
465
+ # @return [String]
466
+ attr_accessor :data_source
467
+
468
+ # Required. The point in time to restore to.
469
+ # Corresponds to the JSON property `pointInTime`
470
+ # @return [String]
471
+ attr_accessor :point_in_time
472
+
473
+ def initialize(**args)
474
+ update!(**args)
475
+ end
476
+
477
+ # Update properties of this object
478
+ def update!(**args)
479
+ @data_source = args[:data_source] if args.key?(:data_source)
480
+ @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
481
+ end
482
+ end
483
+
307
484
  # Message describing a BackupSource.
308
485
  class BackupSource
309
486
  include Google::Apis::Core::Hashable
@@ -454,6 +631,16 @@ module Google
454
631
  # @return [Google::Apis::AlloydbV1::BackupSource]
455
632
  attr_accessor :backup_source
456
633
 
634
+ # Message describing a BackupDrBackupSource.
635
+ # Corresponds to the JSON property `backupdrBackupSource`
636
+ # @return [Google::Apis::AlloydbV1::BackupDrBackupSource]
637
+ attr_accessor :backupdr_backup_source
638
+
639
+ # Information about BackupDR protection for this cluster.
640
+ # Corresponds to the JSON property `backupdrInfo`
641
+ # @return [Google::Apis::AlloydbV1::BackupDrInfo]
642
+ attr_accessor :backupdr_info
643
+
457
644
  # The source CloudSQL backup resource.
458
645
  # Corresponds to the JSON property `cloudsqlBackupRunSource`
459
646
  # @return [Google::Apis::AlloydbV1::CloudSqlBackupRunSource]
@@ -652,6 +839,8 @@ module Google
652
839
  @annotations = args[:annotations] if args.key?(:annotations)
653
840
  @automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
654
841
  @backup_source = args[:backup_source] if args.key?(:backup_source)
842
+ @backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
843
+ @backupdr_info = args[:backupdr_info] if args.key?(:backupdr_info)
655
844
  @cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
656
845
  @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
657
846
  @continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
@@ -780,6 +969,38 @@ module Google
780
969
  end
781
970
  end
782
971
 
972
+ # Configuration for Managed Connection Pool (MCP).
973
+ class ConnectionPoolConfig
974
+ include Google::Apis::Core::Hashable
975
+
976
+ # Optional. Whether to enable Managed Connection Pool (MCP).
977
+ # Corresponds to the JSON property `enabled`
978
+ # @return [Boolean]
979
+ attr_accessor :enabled
980
+ alias_method :enabled?, :enabled
981
+
982
+ # Optional. Connection Pool flags, as a list of "key": "value" pairs.
983
+ # Corresponds to the JSON property `flags`
984
+ # @return [Hash<String,String>]
985
+ attr_accessor :flags
986
+
987
+ # Output only. The number of running poolers per instance.
988
+ # Corresponds to the JSON property `poolerCount`
989
+ # @return [Fixnum]
990
+ attr_accessor :pooler_count
991
+
992
+ def initialize(**args)
993
+ update!(**args)
994
+ end
995
+
996
+ # Update properties of this object
997
+ def update!(**args)
998
+ @enabled = args[:enabled] if args.key?(:enabled)
999
+ @flags = args[:flags] if args.key?(:flags)
1000
+ @pooler_count = args[:pooler_count] if args.key?(:pooler_count)
1001
+ end
1002
+ end
1003
+
783
1004
  # ContinuousBackupConfig describes the continuous backups recovery
784
1005
  # configurations of a cluster.
785
1006
  class ContinuousBackupConfig
@@ -890,6 +1111,25 @@ module Google
890
1111
  end
891
1112
  end
892
1113
 
1114
+ # CPU utilization policy for the autoscaler.
1115
+ class CpuUtilization
1116
+ include Google::Apis::Core::Hashable
1117
+
1118
+ # Target CPU utilization as a float between 0 and 1.
1119
+ # Corresponds to the JSON property `utilizationTarget`
1120
+ # @return [Float]
1121
+ attr_accessor :utilization_target
1122
+
1123
+ def initialize(**args)
1124
+ update!(**args)
1125
+ end
1126
+
1127
+ # Update properties of this object
1128
+ def update!(**args)
1129
+ @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
1130
+ end
1131
+ end
1132
+
893
1133
  # Options for exporting data in CSV format.
894
1134
  class CsvExportOptions
895
1135
  include Google::Apis::Core::Hashable
@@ -1515,6 +1755,11 @@ module Google
1515
1755
  # @return [Google::Apis::AlloydbV1::ClientConnectionConfig]
1516
1756
  attr_accessor :client_connection_config
1517
1757
 
1758
+ # Configuration for Managed Connection Pool (MCP).
1759
+ # Corresponds to the JSON property `connectionPoolConfig`
1760
+ # @return [Google::Apis::AlloydbV1::ConnectionPoolConfig]
1761
+ attr_accessor :connection_pool_config
1762
+
1518
1763
  # Output only. Create time stamp
1519
1764
  # Corresponds to the JSON property `createTime`
1520
1765
  # @return [String]
@@ -1684,6 +1929,7 @@ module Google
1684
1929
  @annotations = args[:annotations] if args.key?(:annotations)
1685
1930
  @availability_type = args[:availability_type] if args.key?(:availability_type)
1686
1931
  @client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
1932
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
1687
1933
  @create_time = args[:create_time] if args.key?(:create_time)
1688
1934
  @database_flags = args[:database_flags] if args.key?(:database_flags)
1689
1935
  @delete_time = args[:delete_time] if args.key?(:delete_time)
@@ -1929,6 +2175,13 @@ module Google
1929
2175
  # @return [Array<Google::Apis::AlloydbV1::Operation>]
1930
2176
  attr_accessor :operations
1931
2177
 
2178
+ # Unordered list. Unreachable resources. Populated when the request sets `
2179
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
2180
+ # when attempting to list all resources across all supported locations.
2181
+ # Corresponds to the JSON property `unreachable`
2182
+ # @return [Array<String>]
2183
+ attr_accessor :unreachable
2184
+
1932
2185
  def initialize(**args)
1933
2186
  update!(**args)
1934
2187
  end
@@ -1937,6 +2190,7 @@ module Google
1937
2190
  def update!(**args)
1938
2191
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1939
2192
  @operations = args[:operations] if args.key?(:operations)
2193
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1940
2194
  end
1941
2195
  end
1942
2196
 
@@ -2410,6 +2664,47 @@ module Google
2410
2664
  end
2411
2665
  end
2412
2666
 
2667
+ # Policy for the autoscaler.
2668
+ class Policy
2669
+ include Google::Apis::Core::Hashable
2670
+
2671
+ # The period of time in seconds after a new node is created before the
2672
+ # autoscaler will incorporate its resource usage (e.g. CPU utilization) into the
2673
+ # autoscaling recommendation algorithm.
2674
+ # Corresponds to the JSON property `coolDownPeriodSec`
2675
+ # @return [Fixnum]
2676
+ attr_accessor :cool_down_period_sec
2677
+
2678
+ # CPU utilization policy for the autoscaler.
2679
+ # Corresponds to the JSON property `cpuUtilization`
2680
+ # @return [Google::Apis::AlloydbV1::CpuUtilization]
2681
+ attr_accessor :cpu_utilization
2682
+
2683
+ # If true, autoscaling is enabled for the instance. If not set, the default
2684
+ # value is false.
2685
+ # Corresponds to the JSON property `enabled`
2686
+ # @return [Boolean]
2687
+ attr_accessor :enabled
2688
+ alias_method :enabled?, :enabled
2689
+
2690
+ # Maximum number of nodes for the autoscaler.
2691
+ # Corresponds to the JSON property `maxNodeCount`
2692
+ # @return [Fixnum]
2693
+ attr_accessor :max_node_count
2694
+
2695
+ def initialize(**args)
2696
+ update!(**args)
2697
+ end
2698
+
2699
+ # Update properties of this object
2700
+ def update!(**args)
2701
+ @cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
2702
+ @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
2703
+ @enabled = args[:enabled] if args.key?(:enabled)
2704
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
2705
+ end
2706
+ end
2707
+
2413
2708
  # Configuration for the primary cluster. It has the list of clusters that are
2414
2709
  # replicating from this cluster. This should be set if and only if the cluster
2415
2710
  # is of type PRIMARY.
@@ -2740,6 +3035,11 @@ module Google
2740
3035
  class ReadPoolConfig
2741
3036
  include Google::Apis::Core::Hashable
2742
3037
 
3038
+ # Configuration for autoscaling.
3039
+ # Corresponds to the JSON property `autoScalingConfig`
3040
+ # @return [Google::Apis::AlloydbV1::AutoScalingConfig]
3041
+ attr_accessor :auto_scaling_config
3042
+
2743
3043
  # Read capacity, i.e. number of nodes in a read pool instance.
2744
3044
  # Corresponds to the JSON property `nodeCount`
2745
3045
  # @return [Fixnum]
@@ -2751,6 +3051,7 @@ module Google
2751
3051
 
2752
3052
  # Update properties of this object
2753
3053
  def update!(**args)
3054
+ @auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
2754
3055
  @node_count = args[:node_count] if args.key?(:node_count)
2755
3056
  end
2756
3057
  end
@@ -2828,6 +3129,16 @@ module Google
2828
3129
  # @return [Google::Apis::AlloydbV1::BackupSource]
2829
3130
  attr_accessor :backup_source
2830
3131
 
3132
+ # Message describing a BackupDrBackupSource.
3133
+ # Corresponds to the JSON property `backupdrBackupSource`
3134
+ # @return [Google::Apis::AlloydbV1::BackupDrBackupSource]
3135
+ attr_accessor :backupdr_backup_source
3136
+
3137
+ # Message describing a BackupDrPitrSource.
3138
+ # Corresponds to the JSON property `backupdrPitrSource`
3139
+ # @return [Google::Apis::AlloydbV1::BackupDrPitrSource]
3140
+ attr_accessor :backupdr_pitr_source
3141
+
2831
3142
  # A cluster is a collection of regional AlloyDB resources. It can include a
2832
3143
  # primary instance and one or more read pool instances. All cluster resources
2833
3144
  # share a storage layer, which scales as needed.
@@ -2874,6 +3185,8 @@ module Google
2874
3185
  # Update properties of this object
2875
3186
  def update!(**args)
2876
3187
  @backup_source = args[:backup_source] if args.key?(:backup_source)
3188
+ @backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
3189
+ @backupdr_pitr_source = args[:backupdr_pitr_source] if args.key?(:backupdr_pitr_source)
2877
3190
  @cluster = args[:cluster] if args.key?(:cluster)
2878
3191
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
2879
3192
  @continuous_backup_source = args[:continuous_backup_source] if args.key?(:continuous_backup_source)
@@ -2915,6 +3228,64 @@ module Google
2915
3228
  end
2916
3229
  end
2917
3230
 
3231
+ # A schedule for the autoscaler.
3232
+ class Schedule
3233
+ include Google::Apis::Core::Hashable
3234
+
3235
+ # Cron expression for the triggering the schedule. See https://cloud.google.com/
3236
+ # compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
3237
+ # Corresponds to the JSON property `cronExpression`
3238
+ # @return [String]
3239
+ attr_accessor :cron_expression
3240
+
3241
+ # Description of the schedule.
3242
+ # Corresponds to the JSON property `description`
3243
+ # @return [String]
3244
+ attr_accessor :description
3245
+
3246
+ # If true, the schedule is disabled.
3247
+ # Corresponds to the JSON property `disabled`
3248
+ # @return [Boolean]
3249
+ attr_accessor :disabled
3250
+ alias_method :disabled?, :disabled
3251
+
3252
+ # Duration of the schedule.
3253
+ # Corresponds to the JSON property `durationSec`
3254
+ # @return [Fixnum]
3255
+ attr_accessor :duration_sec
3256
+
3257
+ # Minimum number of nodes in while the schedule is active.
3258
+ # Corresponds to the JSON property `minNodeCount`
3259
+ # @return [Fixnum]
3260
+ attr_accessor :min_node_count
3261
+
3262
+ # Name of the schedule.
3263
+ # Corresponds to the JSON property `name`
3264
+ # @return [String]
3265
+ attr_accessor :name
3266
+
3267
+ # The location-based IANA time zone for interpreting the schedule's start time.
3268
+ # If no time zone is provided, UTC is used by default.
3269
+ # Corresponds to the JSON property `timeZone`
3270
+ # @return [String]
3271
+ attr_accessor :time_zone
3272
+
3273
+ def initialize(**args)
3274
+ update!(**args)
3275
+ end
3276
+
3277
+ # Update properties of this object
3278
+ def update!(**args)
3279
+ @cron_expression = args[:cron_expression] if args.key?(:cron_expression)
3280
+ @description = args[:description] if args.key?(:description)
3281
+ @disabled = args[:disabled] if args.key?(:disabled)
3282
+ @duration_sec = args[:duration_sec] if args.key?(:duration_sec)
3283
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
3284
+ @name = args[:name] if args.key?(:name)
3285
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
3286
+ end
3287
+ end
3288
+
2918
3289
  # Configuration information for the secondary cluster. This should be set if and
2919
3290
  # only if the cluster is of type SECONDARY.
2920
3291
  class SecondaryConfig
@@ -3050,43 +3421,6 @@ module Google
3050
3421
  end
3051
3422
  end
3052
3423
 
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
-
3090
3424
  # Status of an upgrade stage.
3091
3425
  class StageStatus
3092
3426
  include Google::Apis::Core::Hashable
@@ -3096,11 +3430,6 @@ module Google
3096
3430
  # @return [Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus]
3097
3431
  attr_accessor :read_pool_instances_upgrade
3098
3432
 
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
-
3104
3433
  # Upgrade stage.
3105
3434
  # Corresponds to the JSON property `stage`
3106
3435
  # @return [String]
@@ -3118,7 +3447,6 @@ module Google
3118
3447
  # Update properties of this object
3119
3448
  def update!(**args)
3120
3449
  @read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
3121
- @schedule = args[:schedule] if args.key?(:schedule)
3122
3450
  @stage = args[:stage] if args.key?(:stage)
3123
3451
  @state = args[:state] if args.key?(:state)
3124
3452
  end
@@ -3492,7 +3820,7 @@ module Google
3492
3820
  end
3493
3821
 
3494
3822
  # DatabaseResourceFeed is the top level proto to be used to ingest different
3495
- # database resource level events into Condor platform. Next ID: 12
3823
+ # database resource level events into Condor platform. Next ID: 13
3496
3824
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
3497
3825
  include Google::Apis::Core::Hashable
3498
3826
 
@@ -3546,7 +3874,7 @@ module Google
3546
3874
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3547
3875
  attr_accessor :resource_id
3548
3876
 
3549
- # Common model for database resource instance metadata. Next ID: 27
3877
+ # Common model for database resource instance metadata. Next ID: 29
3550
3878
  # Corresponds to the JSON property `resourceMetadata`
3551
3879
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3552
3880
  attr_accessor :resource_metadata
@@ -3744,7 +4072,7 @@ module Google
3744
4072
  end
3745
4073
  end
3746
4074
 
3747
- # Common model for database resource instance metadata. Next ID: 27
4075
+ # Common model for database resource instance metadata. Next ID: 29
3748
4076
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3749
4077
  include Google::Apis::Core::Hashable
3750
4078
 
@@ -3832,6 +4160,11 @@ module Google
3832
4160
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
3833
4161
  attr_accessor :machine_configuration
3834
4162
 
4163
+ # MaintenanceInfo to capture the maintenance details of database resource.
4164
+ # Corresponds to the JSON property `maintenanceInfo`
4165
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo]
4166
+ attr_accessor :maintenance_info
4167
+
3835
4168
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
3836
4169
  # Corresponds to the JSON property `primaryResourceId`
3837
4170
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -3915,6 +4248,7 @@ module Google
3915
4248
  @instance_type = args[:instance_type] if args.key?(:instance_type)
3916
4249
  @location = args[:location] if args.key?(:location)
3917
4250
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
4251
+ @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
3918
4252
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
3919
4253
  @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
3920
4254
  @product = args[:product] if args.key?(:product)
@@ -4269,6 +4603,127 @@ module Google
4269
4603
  end
4270
4604
  end
4271
4605
 
4606
+ # Deny maintenance period for the database resource. It specifies the time range
4607
+ # during which the maintenance cannot start. This is configured by the customer.
4608
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
4609
+ include Google::Apis::Core::Hashable
4610
+
4611
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4612
+ # day and time zone are either specified elsewhere or are insignificant. The
4613
+ # date is relative to the Gregorian Calendar. This can represent one of the
4614
+ # following: * A full date, with non-zero year, month, and day values. * A month
4615
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4616
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4617
+ # example, a credit card expiration date). Related types: * google.type.
4618
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4619
+ # Corresponds to the JSON property `endDate`
4620
+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
4621
+ attr_accessor :end_date
4622
+
4623
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4624
+ # day and time zone are either specified elsewhere or are insignificant. The
4625
+ # date is relative to the Gregorian Calendar. This can represent one of the
4626
+ # following: * A full date, with non-zero year, month, and day values. * A month
4627
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
4628
+ # with a zero month and a zero day. * A year and month, with a zero day (for
4629
+ # example, a credit card expiration date). Related types: * google.type.
4630
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
4631
+ # Corresponds to the JSON property `startDate`
4632
+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
4633
+ attr_accessor :start_date
4634
+
4635
+ # Represents a time of day. The date and time zone are either not significant or
4636
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4637
+ # types are google.type.Date and `google.protobuf.Timestamp`.
4638
+ # Corresponds to the JSON property `time`
4639
+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
4640
+ attr_accessor :time
4641
+
4642
+ def initialize(**args)
4643
+ update!(**args)
4644
+ end
4645
+
4646
+ # Update properties of this object
4647
+ def update!(**args)
4648
+ @end_date = args[:end_date] if args.key?(:end_date)
4649
+ @start_date = args[:start_date] if args.key?(:start_date)
4650
+ @time = args[:time] if args.key?(:time)
4651
+ end
4652
+ end
4653
+
4654
+ # MaintenanceInfo to capture the maintenance details of database resource.
4655
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
4656
+ include Google::Apis::Core::Hashable
4657
+
4658
+ # Optional. List of Deny maintenance period for the database resource.
4659
+ # Corresponds to the JSON property `denyMaintenanceSchedules`
4660
+ # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
4661
+ attr_accessor :deny_maintenance_schedules
4662
+
4663
+ # Maintenance window for the database resource. It specifies preferred time and
4664
+ # day of the week and phase in some cases, when the maintenance can start. This
4665
+ # is configured by the customer.
4666
+ # Corresponds to the JSON property `maintenanceSchedule`
4667
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule]
4668
+ attr_accessor :maintenance_schedule
4669
+
4670
+ # Optional. Current Maintenance version of the database resource. Example: "
4671
+ # MYSQL_8_0_41.R20250531.01_15"
4672
+ # Corresponds to the JSON property `maintenanceVersion`
4673
+ # @return [String]
4674
+ attr_accessor :maintenance_version
4675
+
4676
+ def initialize(**args)
4677
+ update!(**args)
4678
+ end
4679
+
4680
+ # Update properties of this object
4681
+ def update!(**args)
4682
+ @deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
4683
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
4684
+ @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
4685
+ end
4686
+ end
4687
+
4688
+ # Maintenance window for the database resource. It specifies preferred time and
4689
+ # day of the week and phase in some cases, when the maintenance can start. This
4690
+ # is configured by the customer.
4691
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
4692
+ include Google::Apis::Core::Hashable
4693
+
4694
+ # Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
4695
+ # Corresponds to the JSON property `day`
4696
+ # @return [String]
4697
+ attr_accessor :day
4698
+
4699
+ # Optional. Phase of the maintenance window. This is to capture order of
4700
+ # maintenance. For example, for Cloud SQL resources, this can be used to capture
4701
+ # if the maintenance window is in Week1, Week2, Week5, etc. Non production
4702
+ # resources are usually part of early phase. For more details, refer to Cloud
4703
+ # SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
4704
+ # Corresponds to the JSON property `phase`
4705
+ # @return [String]
4706
+ attr_accessor :phase
4707
+
4708
+ # Represents a time of day. The date and time zone are either not significant or
4709
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4710
+ # types are google.type.Date and `google.protobuf.Timestamp`.
4711
+ # Corresponds to the JSON property `time`
4712
+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
4713
+ attr_accessor :time
4714
+
4715
+ def initialize(**args)
4716
+ update!(**args)
4717
+ end
4718
+
4719
+ # Update properties of this object
4720
+ def update!(**args)
4721
+ @day = args[:day] if args.key?(:day)
4722
+ @phase = args[:phase] if args.key?(:phase)
4723
+ @time = args[:time] if args.key?(:time)
4724
+ end
4725
+ end
4726
+
4272
4727
  #
4273
4728
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
4274
4729
  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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20250904"
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
 
@@ -88,6 +118,12 @@ module Google
88
118
  include Google::Apis::Core::JsonObjectSupport
89
119
  end
90
120
 
121
+ class ConnectionPoolConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
91
127
  class ContinuousBackupConfig
92
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
129
 
@@ -106,6 +142,12 @@ module Google
106
142
  include Google::Apis::Core::JsonObjectSupport
107
143
  end
108
144
 
145
+ class CpuUtilization
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
109
151
  class CsvExportOptions
110
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
153
 
@@ -328,6 +370,12 @@ module Google
328
370
  include Google::Apis::Core::JsonObjectSupport
329
371
  end
330
372
 
373
+ class Policy
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
331
379
  class PrimaryConfig
332
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
381
 
@@ -412,37 +460,37 @@ module Google
412
460
  include Google::Apis::Core::JsonObjectSupport
413
461
  end
414
462
 
415
- class SecondaryConfig
463
+ class Schedule
416
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
465
 
418
466
  include Google::Apis::Core::JsonObjectSupport
419
467
  end
420
468
 
421
- class SqlExportOptions
469
+ class SecondaryConfig
422
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
471
 
424
472
  include Google::Apis::Core::JsonObjectSupport
425
473
  end
426
474
 
427
- class SqlImportOptions
475
+ class SqlExportOptions
428
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
477
 
430
478
  include Google::Apis::Core::JsonObjectSupport
431
479
  end
432
480
 
433
- class SslConfig
481
+ class SqlImportOptions
434
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
483
 
436
484
  include Google::Apis::Core::JsonObjectSupport
437
485
  end
438
486
 
439
- class StageInfo
487
+ class SslConfig
440
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
489
 
442
490
  include Google::Apis::Core::JsonObjectSupport
443
491
  end
444
492
 
445
- class StageSchedule
493
+ class StageInfo
446
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
495
 
448
496
  include Google::Apis::Core::JsonObjectSupport
@@ -586,6 +634,24 @@ module Google
586
634
  include Google::Apis::Core::JsonObjectSupport
587
635
  end
588
636
 
637
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
589
655
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
590
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
657
 
@@ -689,6 +755,16 @@ module Google
689
755
  end
690
756
  end
691
757
 
758
+ class AutoScalingConfig
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :policy, as: 'policy', class: Google::Apis::AlloydbV1::Policy, decorator: Google::Apis::AlloydbV1::Policy::Representation
762
+
763
+ collection :schedules, as: 'schedules', class: Google::Apis::AlloydbV1::Schedule, decorator: Google::Apis::AlloydbV1::Schedule::Representation
764
+
765
+ end
766
+ end
767
+
692
768
  class AutomatedBackupPolicy
693
769
  # @private
694
770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -740,6 +816,46 @@ module Google
740
816
  end
741
817
  end
742
818
 
819
+ class BackupDrBackupSource
820
+ # @private
821
+ class Representation < Google::Apis::Core::JsonRepresentation
822
+ property :backup, as: 'backup'
823
+ end
824
+ end
825
+
826
+ class BackupDrEnabledWindow
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :automated_backup_previously_enabled, as: 'automatedBackupPreviouslyEnabled'
830
+ property :backup_plan_association, as: 'backupPlanAssociation'
831
+ property :continuous_backup_previous_recovery_window_days, as: 'continuousBackupPreviousRecoveryWindowDays'
832
+ property :continuous_backup_previously_enabled, as: 'continuousBackupPreviouslyEnabled'
833
+ property :continuous_backup_previously_enabled_time, as: 'continuousBackupPreviouslyEnabledTime'
834
+ property :data_source, as: 'dataSource'
835
+ property :disabled_time, as: 'disabledTime'
836
+ property :enabled_time, as: 'enabledTime'
837
+ property :log_retention_period, as: 'logRetentionPeriod'
838
+ end
839
+ end
840
+
841
+ class BackupDrInfo
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ property :current_window, as: 'currentWindow', class: Google::Apis::AlloydbV1::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1::BackupDrEnabledWindow::Representation
845
+
846
+ collection :previous_windows, as: 'previousWindows', class: Google::Apis::AlloydbV1::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1::BackupDrEnabledWindow::Representation
847
+
848
+ end
849
+ end
850
+
851
+ class BackupDrPitrSource
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :data_source, as: 'dataSource'
855
+ property :point_in_time, as: 'pointInTime'
856
+ end
857
+ end
858
+
743
859
  class BackupSource
744
860
  # @private
745
861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -788,6 +904,10 @@ module Google
788
904
 
789
905
  property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
790
906
 
907
+ property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1::BackupDrBackupSource::Representation
908
+
909
+ property :backupdr_info, as: 'backupdrInfo', class: Google::Apis::AlloydbV1::BackupDrInfo, decorator: Google::Apis::AlloydbV1::BackupDrInfo::Representation
910
+
791
911
  property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
792
912
 
793
913
  property :cluster_type, as: 'clusterType'
@@ -861,6 +981,15 @@ module Google
861
981
  end
862
982
  end
863
983
 
984
+ class ConnectionPoolConfig
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :enabled, as: 'enabled'
988
+ hash :flags, as: 'flags'
989
+ property :pooler_count, as: 'poolerCount'
990
+ end
991
+ end
992
+
864
993
  class ContinuousBackupConfig
865
994
  # @private
866
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -890,6 +1019,13 @@ module Google
890
1019
  end
891
1020
  end
892
1021
 
1022
+ class CpuUtilization
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :utilization_target, as: 'utilizationTarget'
1026
+ end
1027
+ end
1028
+
893
1029
  class CsvExportOptions
894
1030
  # @private
895
1031
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1192,8 @@ module Google
1056
1192
  property :availability_type, as: 'availabilityType'
1057
1193
  property :client_connection_config, as: 'clientConnectionConfig', class: Google::Apis::AlloydbV1::ClientConnectionConfig, decorator: Google::Apis::AlloydbV1::ClientConnectionConfig::Representation
1058
1194
 
1195
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::AlloydbV1::ConnectionPoolConfig, decorator: Google::Apis::AlloydbV1::ConnectionPoolConfig::Representation
1196
+
1059
1197
  property :create_time, as: 'createTime'
1060
1198
  hash :database_flags, as: 'databaseFlags'
1061
1199
  property :delete_time, as: 'deleteTime'
@@ -1157,6 +1295,7 @@ module Google
1157
1295
  property :next_page_token, as: 'nextPageToken'
1158
1296
  collection :operations, as: 'operations', class: Google::Apis::AlloydbV1::Operation, decorator: Google::Apis::AlloydbV1::Operation::Representation
1159
1297
 
1298
+ collection :unreachable, as: 'unreachable'
1160
1299
  end
1161
1300
  end
1162
1301
 
@@ -1281,6 +1420,17 @@ module Google
1281
1420
  end
1282
1421
  end
1283
1422
 
1423
+ class Policy
1424
+ # @private
1425
+ class Representation < Google::Apis::Core::JsonRepresentation
1426
+ property :cool_down_period_sec, :numeric_string => true, as: 'coolDownPeriodSec'
1427
+ property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AlloydbV1::CpuUtilization, decorator: Google::Apis::AlloydbV1::CpuUtilization::Representation
1428
+
1429
+ property :enabled, as: 'enabled'
1430
+ property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
1431
+ end
1432
+ end
1433
+
1284
1434
  class PrimaryConfig
1285
1435
  # @private
1286
1436
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1364,6 +1514,8 @@ module Google
1364
1514
  class ReadPoolConfig
1365
1515
  # @private
1366
1516
  class Representation < Google::Apis::Core::JsonRepresentation
1517
+ property :auto_scaling_config, as: 'autoScalingConfig', class: Google::Apis::AlloydbV1::AutoScalingConfig, decorator: Google::Apis::AlloydbV1::AutoScalingConfig::Representation
1518
+
1367
1519
  property :node_count, as: 'nodeCount'
1368
1520
  end
1369
1521
  end
@@ -1390,6 +1542,10 @@ module Google
1390
1542
  class Representation < Google::Apis::Core::JsonRepresentation
1391
1543
  property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
1392
1544
 
1545
+ property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1::BackupDrBackupSource::Representation
1546
+
1547
+ property :backupdr_pitr_source, as: 'backupdrPitrSource', class: Google::Apis::AlloydbV1::BackupDrPitrSource, decorator: Google::Apis::AlloydbV1::BackupDrPitrSource::Representation
1548
+
1393
1549
  property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1::Cluster, decorator: Google::Apis::AlloydbV1::Cluster::Representation
1394
1550
 
1395
1551
  property :cluster_id, as: 'clusterId'
@@ -1411,6 +1567,19 @@ module Google
1411
1567
  end
1412
1568
  end
1413
1569
 
1570
+ class Schedule
1571
+ # @private
1572
+ class Representation < Google::Apis::Core::JsonRepresentation
1573
+ property :cron_expression, as: 'cronExpression'
1574
+ property :description, as: 'description'
1575
+ property :disabled, as: 'disabled'
1576
+ property :duration_sec, :numeric_string => true, as: 'durationSec'
1577
+ property :min_node_count, :numeric_string => true, as: 'minNodeCount'
1578
+ property :name, as: 'name'
1579
+ property :time_zone, as: 'timeZone'
1580
+ end
1581
+ end
1582
+
1414
1583
  class SecondaryConfig
1415
1584
  # @private
1416
1585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1451,23 +1620,11 @@ module Google
1451
1620
  end
1452
1621
  end
1453
1622
 
1454
- class StageSchedule
1455
- # @private
1456
- class Representation < Google::Apis::Core::JsonRepresentation
1457
- property :actual_end_time, as: 'actualEndTime'
1458
- property :actual_start_time, as: 'actualStartTime'
1459
- property :estimated_end_time, as: 'estimatedEndTime'
1460
- property :estimated_start_time, as: 'estimatedStartTime'
1461
- end
1462
- end
1463
-
1464
1623
  class StageStatus
1465
1624
  # @private
1466
1625
  class Representation < Google::Apis::Core::JsonRepresentation
1467
1626
  property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus::Representation
1468
1627
 
1469
- property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1::StageSchedule, decorator: Google::Apis::AlloydbV1::StageSchedule::Representation
1470
-
1471
1628
  property :stage, as: 'stage'
1472
1629
  property :state, as: 'state'
1473
1630
  end
@@ -1659,6 +1816,8 @@ module Google
1659
1816
  property :location, as: 'location'
1660
1817
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1661
1818
 
1819
+ property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::Representation
1820
+
1662
1821
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1663
1822
 
1664
1823
  property :primary_resource_location, as: 'primaryResourceLocation'
@@ -1765,6 +1924,39 @@ module Google
1765
1924
  end
1766
1925
  end
1767
1926
 
1927
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
1928
+ # @private
1929
+ class Representation < Google::Apis::Core::JsonRepresentation
1930
+ property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
1931
+
1932
+ property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
1933
+
1934
+ property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
1935
+
1936
+ end
1937
+ end
1938
+
1939
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
1940
+ # @private
1941
+ class Representation < Google::Apis::Core::JsonRepresentation
1942
+ collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
1943
+
1944
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
1945
+
1946
+ property :maintenance_version, as: 'maintenanceVersion'
1947
+ end
1948
+ end
1949
+
1950
+ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
1951
+ # @private
1952
+ class Representation < Google::Apis::Core::JsonRepresentation
1953
+ property :day, as: 'day'
1954
+ property :phase, as: 'phase'
1955
+ property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
1956
+
1957
+ end
1958
+ end
1959
+
1768
1960
  class StorageDatabasecenterPartnerapiV1mainRetentionSettings
1769
1961
  # @private
1770
1962
  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.45.0
4
+ version: 0.47.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.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.47.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: