google-apis-alloydb_v1beta 0.37.0 → 0.39.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa7627775da8c96292804b740119b83aa56185b9f691b5193ea3910339ae13a9
|
|
4
|
+
data.tar.gz: 3bf1b3d5571f48e4c7c9a3d113708ae7134c3b63a2edab1ba69b4e34bf15b080
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b6a0b1106d29afe49e5730291ad177e6b0a4e09083cefa7d0d25bd1757ebb1dba67f3dfbca07d83be1af3fce8ae7ce4b7d6ce14393324acf5f68a8242aa5b8d
|
|
7
|
+
data.tar.gz: cc55ab1e6e0516e52cb277ca4fb5eabf44bf6128c18a32f6d81127d1ab628b54f4481c7f907823d7ab3e2fd810632d49f3ff558d5b1f8f2d5748955529b4328f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-alloydb_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.39.0 (2025-10-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251009
|
|
6
|
+
|
|
7
|
+
### v0.38.0 (2025-10-05)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250925
|
|
10
|
+
|
|
3
11
|
### v0.37.0 (2025-09-28)
|
|
4
12
|
|
|
5
13
|
* 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::AlloydbV1beta::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::AlloydbV1beta::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::AlloydbV1beta::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::AlloydbV1beta::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
|
|
@@ -441,6 +618,16 @@ module Google
|
|
|
441
618
|
# @return [Google::Apis::AlloydbV1beta::BackupSource]
|
|
442
619
|
attr_accessor :backup_source
|
|
443
620
|
|
|
621
|
+
# Message describing a BackupDrBackupSource.
|
|
622
|
+
# Corresponds to the JSON property `backupdrBackupSource`
|
|
623
|
+
# @return [Google::Apis::AlloydbV1beta::BackupDrBackupSource]
|
|
624
|
+
attr_accessor :backupdr_backup_source
|
|
625
|
+
|
|
626
|
+
# Information about BackupDR protection for this cluster.
|
|
627
|
+
# Corresponds to the JSON property `backupdrInfo`
|
|
628
|
+
# @return [Google::Apis::AlloydbV1beta::BackupDrInfo]
|
|
629
|
+
attr_accessor :backupdr_info
|
|
630
|
+
|
|
444
631
|
# The source CloudSQL backup resource.
|
|
445
632
|
# Corresponds to the JSON property `cloudsqlBackupRunSource`
|
|
446
633
|
# @return [Google::Apis::AlloydbV1beta::CloudSqlBackupRunSource]
|
|
@@ -534,6 +721,12 @@ module Google
|
|
|
534
721
|
# @return [Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy]
|
|
535
722
|
attr_accessor :maintenance_update_policy
|
|
536
723
|
|
|
724
|
+
# Input only. Policy to use to automatically select the maintenance version to
|
|
725
|
+
# which to update the cluster's instances.
|
|
726
|
+
# Corresponds to the JSON property `maintenanceVersionSelectionPolicy`
|
|
727
|
+
# @return [String]
|
|
728
|
+
attr_accessor :maintenance_version_selection_policy
|
|
729
|
+
|
|
537
730
|
# Subset of the source instance configuration that is available when reading the
|
|
538
731
|
# cluster resource.
|
|
539
732
|
# Corresponds to the JSON property `migrationSource`
|
|
@@ -651,6 +844,8 @@ module Google
|
|
|
651
844
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
652
845
|
@automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
|
|
653
846
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
|
847
|
+
@backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
|
|
848
|
+
@backupdr_info = args[:backupdr_info] if args.key?(:backupdr_info)
|
|
654
849
|
@cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
|
|
655
850
|
@cluster_type = args[:cluster_type] if args.key?(:cluster_type)
|
|
656
851
|
@continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
|
|
@@ -667,6 +862,7 @@ module Google
|
|
|
667
862
|
@labels = args[:labels] if args.key?(:labels)
|
|
668
863
|
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
|
669
864
|
@maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
|
|
865
|
+
@maintenance_version_selection_policy = args[:maintenance_version_selection_policy] if args.key?(:maintenance_version_selection_policy)
|
|
670
866
|
@migration_source = args[:migration_source] if args.key?(:migration_source)
|
|
671
867
|
@name = args[:name] if args.key?(:name)
|
|
672
868
|
@network = args[:network] if args.key?(:network)
|
|
@@ -1021,6 +1217,25 @@ module Google
|
|
|
1021
1217
|
end
|
|
1022
1218
|
end
|
|
1023
1219
|
|
|
1220
|
+
# CPU utilization policy for the autoscaler.
|
|
1221
|
+
class CpuUtilization
|
|
1222
|
+
include Google::Apis::Core::Hashable
|
|
1223
|
+
|
|
1224
|
+
# Target CPU utilization as a float between 0 and 1.
|
|
1225
|
+
# Corresponds to the JSON property `utilizationTarget`
|
|
1226
|
+
# @return [Float]
|
|
1227
|
+
attr_accessor :utilization_target
|
|
1228
|
+
|
|
1229
|
+
def initialize(**args)
|
|
1230
|
+
update!(**args)
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# Update properties of this object
|
|
1234
|
+
def update!(**args)
|
|
1235
|
+
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
|
1236
|
+
end
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1024
1239
|
# Options for exporting data in CSV format.
|
|
1025
1240
|
class CsvExportOptions
|
|
1026
1241
|
include Google::Apis::Core::Hashable
|
|
@@ -2109,6 +2324,13 @@ module Google
|
|
|
2109
2324
|
# @return [Array<Google::Apis::AlloydbV1beta::Operation>]
|
|
2110
2325
|
attr_accessor :operations
|
|
2111
2326
|
|
|
2327
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
2328
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
2329
|
+
# when attempting to list all resources across all supported locations.
|
|
2330
|
+
# Corresponds to the JSON property `unreachable`
|
|
2331
|
+
# @return [Array<String>]
|
|
2332
|
+
attr_accessor :unreachable
|
|
2333
|
+
|
|
2112
2334
|
def initialize(**args)
|
|
2113
2335
|
update!(**args)
|
|
2114
2336
|
end
|
|
@@ -2117,6 +2339,7 @@ module Google
|
|
|
2117
2339
|
def update!(**args)
|
|
2118
2340
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2119
2341
|
@operations = args[:operations] if args.key?(:operations)
|
|
2342
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2120
2343
|
end
|
|
2121
2344
|
end
|
|
2122
2345
|
|
|
@@ -2604,6 +2827,47 @@ module Google
|
|
|
2604
2827
|
end
|
|
2605
2828
|
end
|
|
2606
2829
|
|
|
2830
|
+
# Policy for the autoscaler.
|
|
2831
|
+
class Policy
|
|
2832
|
+
include Google::Apis::Core::Hashable
|
|
2833
|
+
|
|
2834
|
+
# The period of time in seconds after a new node is created before the
|
|
2835
|
+
# autoscaler will incorporate its resource usage (e.g. CPU utilization) into the
|
|
2836
|
+
# autoscaling recommendation algorithm.
|
|
2837
|
+
# Corresponds to the JSON property `coolDownPeriodSec`
|
|
2838
|
+
# @return [Fixnum]
|
|
2839
|
+
attr_accessor :cool_down_period_sec
|
|
2840
|
+
|
|
2841
|
+
# CPU utilization policy for the autoscaler.
|
|
2842
|
+
# Corresponds to the JSON property `cpuUtilization`
|
|
2843
|
+
# @return [Google::Apis::AlloydbV1beta::CpuUtilization]
|
|
2844
|
+
attr_accessor :cpu_utilization
|
|
2845
|
+
|
|
2846
|
+
# If true, autoscaling is enabled for the instance. If not set, the default
|
|
2847
|
+
# value is false.
|
|
2848
|
+
# Corresponds to the JSON property `enabled`
|
|
2849
|
+
# @return [Boolean]
|
|
2850
|
+
attr_accessor :enabled
|
|
2851
|
+
alias_method :enabled?, :enabled
|
|
2852
|
+
|
|
2853
|
+
# Maximum number of nodes for the autoscaler.
|
|
2854
|
+
# Corresponds to the JSON property `maxNodeCount`
|
|
2855
|
+
# @return [Fixnum]
|
|
2856
|
+
attr_accessor :max_node_count
|
|
2857
|
+
|
|
2858
|
+
def initialize(**args)
|
|
2859
|
+
update!(**args)
|
|
2860
|
+
end
|
|
2861
|
+
|
|
2862
|
+
# Update properties of this object
|
|
2863
|
+
def update!(**args)
|
|
2864
|
+
@cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
|
|
2865
|
+
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
|
2866
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
2867
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
|
2868
|
+
end
|
|
2869
|
+
end
|
|
2870
|
+
|
|
2607
2871
|
# Configuration for the primary cluster. It has the list of clusters that are
|
|
2608
2872
|
# replicating from this cluster. This should be set if and only if the cluster
|
|
2609
2873
|
# is of type PRIMARY.
|
|
@@ -2934,6 +3198,11 @@ module Google
|
|
|
2934
3198
|
class ReadPoolConfig
|
|
2935
3199
|
include Google::Apis::Core::Hashable
|
|
2936
3200
|
|
|
3201
|
+
# Configuration for autoscaling.
|
|
3202
|
+
# Corresponds to the JSON property `autoScalingConfig`
|
|
3203
|
+
# @return [Google::Apis::AlloydbV1beta::AutoScalingConfig]
|
|
3204
|
+
attr_accessor :auto_scaling_config
|
|
3205
|
+
|
|
2937
3206
|
# Read capacity, i.e. number of nodes in a read pool instance.
|
|
2938
3207
|
# Corresponds to the JSON property `nodeCount`
|
|
2939
3208
|
# @return [Fixnum]
|
|
@@ -2945,6 +3214,7 @@ module Google
|
|
|
2945
3214
|
|
|
2946
3215
|
# Update properties of this object
|
|
2947
3216
|
def update!(**args)
|
|
3217
|
+
@auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
|
|
2948
3218
|
@node_count = args[:node_count] if args.key?(:node_count)
|
|
2949
3219
|
end
|
|
2950
3220
|
end
|
|
@@ -3022,6 +3292,16 @@ module Google
|
|
|
3022
3292
|
# @return [Google::Apis::AlloydbV1beta::BackupSource]
|
|
3023
3293
|
attr_accessor :backup_source
|
|
3024
3294
|
|
|
3295
|
+
# Message describing a BackupDrBackupSource.
|
|
3296
|
+
# Corresponds to the JSON property `backupdrBackupSource`
|
|
3297
|
+
# @return [Google::Apis::AlloydbV1beta::BackupDrBackupSource]
|
|
3298
|
+
attr_accessor :backupdr_backup_source
|
|
3299
|
+
|
|
3300
|
+
# Message describing a BackupDrPitrSource.
|
|
3301
|
+
# Corresponds to the JSON property `backupdrPitrSource`
|
|
3302
|
+
# @return [Google::Apis::AlloydbV1beta::BackupDrPitrSource]
|
|
3303
|
+
attr_accessor :backupdr_pitr_source
|
|
3304
|
+
|
|
3025
3305
|
# A cluster is a collection of regional AlloyDB resources. It can include a
|
|
3026
3306
|
# primary instance and one or more read pool instances. All cluster resources
|
|
3027
3307
|
# share a storage layer, which scales as needed.
|
|
@@ -3068,6 +3348,8 @@ module Google
|
|
|
3068
3348
|
# Update properties of this object
|
|
3069
3349
|
def update!(**args)
|
|
3070
3350
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
|
3351
|
+
@backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
|
|
3352
|
+
@backupdr_pitr_source = args[:backupdr_pitr_source] if args.key?(:backupdr_pitr_source)
|
|
3071
3353
|
@cluster = args[:cluster] if args.key?(:cluster)
|
|
3072
3354
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
|
3073
3355
|
@continuous_backup_source = args[:continuous_backup_source] if args.key?(:continuous_backup_source)
|
|
@@ -3109,6 +3391,64 @@ module Google
|
|
|
3109
3391
|
end
|
|
3110
3392
|
end
|
|
3111
3393
|
|
|
3394
|
+
# A schedule for the autoscaler.
|
|
3395
|
+
class Schedule
|
|
3396
|
+
include Google::Apis::Core::Hashable
|
|
3397
|
+
|
|
3398
|
+
# Cron expression for the triggering the schedule. See https://cloud.google.com/
|
|
3399
|
+
# compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
|
|
3400
|
+
# Corresponds to the JSON property `cronExpression`
|
|
3401
|
+
# @return [String]
|
|
3402
|
+
attr_accessor :cron_expression
|
|
3403
|
+
|
|
3404
|
+
# Description of the schedule.
|
|
3405
|
+
# Corresponds to the JSON property `description`
|
|
3406
|
+
# @return [String]
|
|
3407
|
+
attr_accessor :description
|
|
3408
|
+
|
|
3409
|
+
# If true, the schedule is disabled.
|
|
3410
|
+
# Corresponds to the JSON property `disabled`
|
|
3411
|
+
# @return [Boolean]
|
|
3412
|
+
attr_accessor :disabled
|
|
3413
|
+
alias_method :disabled?, :disabled
|
|
3414
|
+
|
|
3415
|
+
# Duration of the schedule.
|
|
3416
|
+
# Corresponds to the JSON property `durationSec`
|
|
3417
|
+
# @return [Fixnum]
|
|
3418
|
+
attr_accessor :duration_sec
|
|
3419
|
+
|
|
3420
|
+
# Minimum number of nodes in while the schedule is active.
|
|
3421
|
+
# Corresponds to the JSON property `minNodeCount`
|
|
3422
|
+
# @return [Fixnum]
|
|
3423
|
+
attr_accessor :min_node_count
|
|
3424
|
+
|
|
3425
|
+
# Name of the schedule.
|
|
3426
|
+
# Corresponds to the JSON property `name`
|
|
3427
|
+
# @return [String]
|
|
3428
|
+
attr_accessor :name
|
|
3429
|
+
|
|
3430
|
+
# The location-based IANA time zone for interpreting the schedule's start time.
|
|
3431
|
+
# If no time zone is provided, UTC is used by default.
|
|
3432
|
+
# Corresponds to the JSON property `timeZone`
|
|
3433
|
+
# @return [String]
|
|
3434
|
+
attr_accessor :time_zone
|
|
3435
|
+
|
|
3436
|
+
def initialize(**args)
|
|
3437
|
+
update!(**args)
|
|
3438
|
+
end
|
|
3439
|
+
|
|
3440
|
+
# Update properties of this object
|
|
3441
|
+
def update!(**args)
|
|
3442
|
+
@cron_expression = args[:cron_expression] if args.key?(:cron_expression)
|
|
3443
|
+
@description = args[:description] if args.key?(:description)
|
|
3444
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
3445
|
+
@duration_sec = args[:duration_sec] if args.key?(:duration_sec)
|
|
3446
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
|
3447
|
+
@name = args[:name] if args.key?(:name)
|
|
3448
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
3449
|
+
end
|
|
3450
|
+
end
|
|
3451
|
+
|
|
3112
3452
|
# Configuration information for the secondary cluster. This should be set if and
|
|
3113
3453
|
# only if the cluster is of type SECONDARY.
|
|
3114
3454
|
class SecondaryConfig
|
|
@@ -3244,43 +3584,6 @@ module Google
|
|
|
3244
3584
|
end
|
|
3245
3585
|
end
|
|
3246
3586
|
|
|
3247
|
-
# Timing information for the stage execution.
|
|
3248
|
-
class StageSchedule
|
|
3249
|
-
include Google::Apis::Core::Hashable
|
|
3250
|
-
|
|
3251
|
-
# Actual end time of the stage. Set only if the stage has completed.
|
|
3252
|
-
# Corresponds to the JSON property `actualEndTime`
|
|
3253
|
-
# @return [String]
|
|
3254
|
-
attr_accessor :actual_end_time
|
|
3255
|
-
|
|
3256
|
-
# Actual start time of the stage. Set only if the stage has started.
|
|
3257
|
-
# Corresponds to the JSON property `actualStartTime`
|
|
3258
|
-
# @return [String]
|
|
3259
|
-
attr_accessor :actual_start_time
|
|
3260
|
-
|
|
3261
|
-
# When the stage is expected to end. Set only if the stage has not completed yet.
|
|
3262
|
-
# Corresponds to the JSON property `estimatedEndTime`
|
|
3263
|
-
# @return [String]
|
|
3264
|
-
attr_accessor :estimated_end_time
|
|
3265
|
-
|
|
3266
|
-
# When the stage is expected to start. Set only if the stage has not started yet.
|
|
3267
|
-
# Corresponds to the JSON property `estimatedStartTime`
|
|
3268
|
-
# @return [String]
|
|
3269
|
-
attr_accessor :estimated_start_time
|
|
3270
|
-
|
|
3271
|
-
def initialize(**args)
|
|
3272
|
-
update!(**args)
|
|
3273
|
-
end
|
|
3274
|
-
|
|
3275
|
-
# Update properties of this object
|
|
3276
|
-
def update!(**args)
|
|
3277
|
-
@actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
|
|
3278
|
-
@actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
|
|
3279
|
-
@estimated_end_time = args[:estimated_end_time] if args.key?(:estimated_end_time)
|
|
3280
|
-
@estimated_start_time = args[:estimated_start_time] if args.key?(:estimated_start_time)
|
|
3281
|
-
end
|
|
3282
|
-
end
|
|
3283
|
-
|
|
3284
3587
|
# Status of an upgrade stage.
|
|
3285
3588
|
class StageStatus
|
|
3286
3589
|
include Google::Apis::Core::Hashable
|
|
@@ -3290,11 +3593,6 @@ module Google
|
|
|
3290
3593
|
# @return [Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus]
|
|
3291
3594
|
attr_accessor :read_pool_instances_upgrade
|
|
3292
3595
|
|
|
3293
|
-
# Timing information for the stage execution.
|
|
3294
|
-
# Corresponds to the JSON property `schedule`
|
|
3295
|
-
# @return [Google::Apis::AlloydbV1beta::StageSchedule]
|
|
3296
|
-
attr_accessor :schedule
|
|
3297
|
-
|
|
3298
3596
|
# Upgrade stage.
|
|
3299
3597
|
# Corresponds to the JSON property `stage`
|
|
3300
3598
|
# @return [String]
|
|
@@ -3312,7 +3610,6 @@ module Google
|
|
|
3312
3610
|
# Update properties of this object
|
|
3313
3611
|
def update!(**args)
|
|
3314
3612
|
@read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
|
|
3315
|
-
@schedule = args[:schedule] if args.key?(:schedule)
|
|
3316
3613
|
@stage = args[:stage] if args.key?(:stage)
|
|
3317
3614
|
@state = args[:state] if args.key?(:state)
|
|
3318
3615
|
end
|
|
@@ -3740,7 +4037,7 @@ module Google
|
|
|
3740
4037
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
|
3741
4038
|
attr_accessor :resource_id
|
|
3742
4039
|
|
|
3743
|
-
# Common model for database resource instance metadata. Next ID:
|
|
4040
|
+
# Common model for database resource instance metadata. Next ID: 29
|
|
3744
4041
|
# Corresponds to the JSON property `resourceMetadata`
|
|
3745
4042
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
|
3746
4043
|
attr_accessor :resource_metadata
|
|
@@ -3938,7 +4235,7 @@ module Google
|
|
|
3938
4235
|
end
|
|
3939
4236
|
end
|
|
3940
4237
|
|
|
3941
|
-
# Common model for database resource instance metadata. Next ID:
|
|
4238
|
+
# Common model for database resource instance metadata. Next ID: 29
|
|
3942
4239
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
|
3943
4240
|
include Google::Apis::Core::Hashable
|
|
3944
4241
|
|
|
@@ -4026,6 +4323,11 @@ module Google
|
|
|
4026
4323
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
|
|
4027
4324
|
attr_accessor :machine_configuration
|
|
4028
4325
|
|
|
4326
|
+
# MaintenanceInfo to capture the maintenance details of database resource.
|
|
4327
|
+
# Corresponds to the JSON property `maintenanceInfo`
|
|
4328
|
+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo]
|
|
4329
|
+
attr_accessor :maintenance_info
|
|
4330
|
+
|
|
4029
4331
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
|
4030
4332
|
# Corresponds to the JSON property `primaryResourceId`
|
|
4031
4333
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
|
@@ -4109,6 +4411,7 @@ module Google
|
|
|
4109
4411
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
|
4110
4412
|
@location = args[:location] if args.key?(:location)
|
|
4111
4413
|
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
|
|
4414
|
+
@maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
|
|
4112
4415
|
@primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
|
|
4113
4416
|
@primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
|
|
4114
4417
|
@product = args[:product] if args.key?(:product)
|
|
@@ -4463,6 +4766,127 @@ module Google
|
|
|
4463
4766
|
end
|
|
4464
4767
|
end
|
|
4465
4768
|
|
|
4769
|
+
# Deny maintenance period for the database resource. It specifies the time range
|
|
4770
|
+
# during which the maintenance cannot start. This is configured by the customer.
|
|
4771
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
|
|
4772
|
+
include Google::Apis::Core::Hashable
|
|
4773
|
+
|
|
4774
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
4775
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
4776
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
4777
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
4778
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
4779
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
4780
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
4781
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
4782
|
+
# Corresponds to the JSON property `endDate`
|
|
4783
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
|
|
4784
|
+
attr_accessor :end_date
|
|
4785
|
+
|
|
4786
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
4787
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
4788
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
4789
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
4790
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
4791
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
4792
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
4793
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
4794
|
+
# Corresponds to the JSON property `startDate`
|
|
4795
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
|
|
4796
|
+
attr_accessor :start_date
|
|
4797
|
+
|
|
4798
|
+
# Represents a time of day. The date and time zone are either not significant or
|
|
4799
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
|
4800
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
|
4801
|
+
# Corresponds to the JSON property `time`
|
|
4802
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
|
|
4803
|
+
attr_accessor :time
|
|
4804
|
+
|
|
4805
|
+
def initialize(**args)
|
|
4806
|
+
update!(**args)
|
|
4807
|
+
end
|
|
4808
|
+
|
|
4809
|
+
# Update properties of this object
|
|
4810
|
+
def update!(**args)
|
|
4811
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
4812
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
4813
|
+
@time = args[:time] if args.key?(:time)
|
|
4814
|
+
end
|
|
4815
|
+
end
|
|
4816
|
+
|
|
4817
|
+
# MaintenanceInfo to capture the maintenance details of database resource.
|
|
4818
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
|
|
4819
|
+
include Google::Apis::Core::Hashable
|
|
4820
|
+
|
|
4821
|
+
# Optional. List of Deny maintenance period for the database resource.
|
|
4822
|
+
# Corresponds to the JSON property `denyMaintenanceSchedules`
|
|
4823
|
+
# @return [Array<Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
|
|
4824
|
+
attr_accessor :deny_maintenance_schedules
|
|
4825
|
+
|
|
4826
|
+
# Maintenance window for the database resource. It specifies preferred time and
|
|
4827
|
+
# day of the week and phase in some cases, when the maintenance can start. This
|
|
4828
|
+
# is configured by the customer.
|
|
4829
|
+
# Corresponds to the JSON property `maintenanceSchedule`
|
|
4830
|
+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule]
|
|
4831
|
+
attr_accessor :maintenance_schedule
|
|
4832
|
+
|
|
4833
|
+
# Optional. Current Maintenance version of the database resource. Example: "
|
|
4834
|
+
# MYSQL_8_0_41.R20250531.01_15"
|
|
4835
|
+
# Corresponds to the JSON property `maintenanceVersion`
|
|
4836
|
+
# @return [String]
|
|
4837
|
+
attr_accessor :maintenance_version
|
|
4838
|
+
|
|
4839
|
+
def initialize(**args)
|
|
4840
|
+
update!(**args)
|
|
4841
|
+
end
|
|
4842
|
+
|
|
4843
|
+
# Update properties of this object
|
|
4844
|
+
def update!(**args)
|
|
4845
|
+
@deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
|
|
4846
|
+
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
|
4847
|
+
@maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
|
|
4848
|
+
end
|
|
4849
|
+
end
|
|
4850
|
+
|
|
4851
|
+
# Maintenance window for the database resource. It specifies preferred time and
|
|
4852
|
+
# day of the week and phase in some cases, when the maintenance can start. This
|
|
4853
|
+
# is configured by the customer.
|
|
4854
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
|
|
4855
|
+
include Google::Apis::Core::Hashable
|
|
4856
|
+
|
|
4857
|
+
# Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
|
4858
|
+
# Corresponds to the JSON property `day`
|
|
4859
|
+
# @return [String]
|
|
4860
|
+
attr_accessor :day
|
|
4861
|
+
|
|
4862
|
+
# Optional. Phase of the maintenance window. This is to capture order of
|
|
4863
|
+
# maintenance. For example, for Cloud SQL resources, this can be used to capture
|
|
4864
|
+
# if the maintenance window is in Week1, Week2, Week5, etc. Non production
|
|
4865
|
+
# resources are usually part of early phase. For more details, refer to Cloud
|
|
4866
|
+
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
|
|
4867
|
+
# Corresponds to the JSON property `phase`
|
|
4868
|
+
# @return [String]
|
|
4869
|
+
attr_accessor :phase
|
|
4870
|
+
|
|
4871
|
+
# Represents a time of day. The date and time zone are either not significant or
|
|
4872
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
|
4873
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
|
4874
|
+
# Corresponds to the JSON property `time`
|
|
4875
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
|
|
4876
|
+
attr_accessor :time
|
|
4877
|
+
|
|
4878
|
+
def initialize(**args)
|
|
4879
|
+
update!(**args)
|
|
4880
|
+
end
|
|
4881
|
+
|
|
4882
|
+
# Update properties of this object
|
|
4883
|
+
def update!(**args)
|
|
4884
|
+
@day = args[:day] if args.key?(:day)
|
|
4885
|
+
@phase = args[:phase] if args.key?(:phase)
|
|
4886
|
+
@time = args[:time] if args.key?(:time)
|
|
4887
|
+
end
|
|
4888
|
+
end
|
|
4889
|
+
|
|
4466
4890
|
#
|
|
4467
4891
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
|
4468
4892
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AlloydbV1beta
|
|
18
18
|
# Version of the google-apis-alloydb_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.39.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 = "
|
|
25
|
+
REVISION = "20251009"
|
|
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
|
|
|
@@ -106,6 +136,12 @@ module Google
|
|
|
106
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
137
|
end
|
|
108
138
|
|
|
139
|
+
class CpuUtilization
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
109
145
|
class CsvExportOptions
|
|
110
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
147
|
|
|
@@ -334,6 +370,12 @@ module Google
|
|
|
334
370
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
371
|
end
|
|
336
372
|
|
|
373
|
+
class Policy
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
337
379
|
class PrimaryConfig
|
|
338
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
381
|
|
|
@@ -418,37 +460,37 @@ module Google
|
|
|
418
460
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
461
|
end
|
|
420
462
|
|
|
421
|
-
class
|
|
463
|
+
class Schedule
|
|
422
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
465
|
|
|
424
466
|
include Google::Apis::Core::JsonObjectSupport
|
|
425
467
|
end
|
|
426
468
|
|
|
427
|
-
class
|
|
469
|
+
class SecondaryConfig
|
|
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
|
|
475
|
+
class SqlExportOptions
|
|
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
|
|
481
|
+
class SqlImportOptions
|
|
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
|
|
487
|
+
class SslConfig
|
|
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
|
|
493
|
+
class StageInfo
|
|
452
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
495
|
|
|
454
496
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -592,6 +634,24 @@ module Google
|
|
|
592
634
|
include Google::Apis::Core::JsonObjectSupport
|
|
593
635
|
end
|
|
594
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
|
+
|
|
595
655
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
|
596
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
597
657
|
|
|
@@ -701,6 +761,16 @@ module Google
|
|
|
701
761
|
end
|
|
702
762
|
end
|
|
703
763
|
|
|
764
|
+
class AutoScalingConfig
|
|
765
|
+
# @private
|
|
766
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
767
|
+
property :policy, as: 'policy', class: Google::Apis::AlloydbV1beta::Policy, decorator: Google::Apis::AlloydbV1beta::Policy::Representation
|
|
768
|
+
|
|
769
|
+
collection :schedules, as: 'schedules', class: Google::Apis::AlloydbV1beta::Schedule, decorator: Google::Apis::AlloydbV1beta::Schedule::Representation
|
|
770
|
+
|
|
771
|
+
end
|
|
772
|
+
end
|
|
773
|
+
|
|
704
774
|
class AutomatedBackupPolicy
|
|
705
775
|
# @private
|
|
706
776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -752,6 +822,46 @@ module Google
|
|
|
752
822
|
end
|
|
753
823
|
end
|
|
754
824
|
|
|
825
|
+
class BackupDrBackupSource
|
|
826
|
+
# @private
|
|
827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
828
|
+
property :backup, as: 'backup'
|
|
829
|
+
end
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
class BackupDrEnabledWindow
|
|
833
|
+
# @private
|
|
834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
835
|
+
property :automated_backup_previously_enabled, as: 'automatedBackupPreviouslyEnabled'
|
|
836
|
+
property :backup_plan_association, as: 'backupPlanAssociation'
|
|
837
|
+
property :continuous_backup_previous_recovery_window_days, as: 'continuousBackupPreviousRecoveryWindowDays'
|
|
838
|
+
property :continuous_backup_previously_enabled, as: 'continuousBackupPreviouslyEnabled'
|
|
839
|
+
property :continuous_backup_previously_enabled_time, as: 'continuousBackupPreviouslyEnabledTime'
|
|
840
|
+
property :data_source, as: 'dataSource'
|
|
841
|
+
property :disabled_time, as: 'disabledTime'
|
|
842
|
+
property :enabled_time, as: 'enabledTime'
|
|
843
|
+
property :log_retention_period, as: 'logRetentionPeriod'
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
class BackupDrInfo
|
|
848
|
+
# @private
|
|
849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
850
|
+
property :current_window, as: 'currentWindow', class: Google::Apis::AlloydbV1beta::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1beta::BackupDrEnabledWindow::Representation
|
|
851
|
+
|
|
852
|
+
collection :previous_windows, as: 'previousWindows', class: Google::Apis::AlloydbV1beta::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1beta::BackupDrEnabledWindow::Representation
|
|
853
|
+
|
|
854
|
+
end
|
|
855
|
+
end
|
|
856
|
+
|
|
857
|
+
class BackupDrPitrSource
|
|
858
|
+
# @private
|
|
859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
860
|
+
property :data_source, as: 'dataSource'
|
|
861
|
+
property :point_in_time, as: 'pointInTime'
|
|
862
|
+
end
|
|
863
|
+
end
|
|
864
|
+
|
|
755
865
|
class BackupSource
|
|
756
866
|
# @private
|
|
757
867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -794,6 +904,10 @@ module Google
|
|
|
794
904
|
|
|
795
905
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1beta::BackupSource, decorator: Google::Apis::AlloydbV1beta::BackupSource::Representation
|
|
796
906
|
|
|
907
|
+
property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1beta::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1beta::BackupDrBackupSource::Representation
|
|
908
|
+
|
|
909
|
+
property :backupdr_info, as: 'backupdrInfo', class: Google::Apis::AlloydbV1beta::BackupDrInfo, decorator: Google::Apis::AlloydbV1beta::BackupDrInfo::Representation
|
|
910
|
+
|
|
797
911
|
property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1beta::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1beta::CloudSqlBackupRunSource::Representation
|
|
798
912
|
|
|
799
913
|
property :cluster_type, as: 'clusterType'
|
|
@@ -819,6 +933,7 @@ module Google
|
|
|
819
933
|
|
|
820
934
|
property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy::Representation
|
|
821
935
|
|
|
936
|
+
property :maintenance_version_selection_policy, as: 'maintenanceVersionSelectionPolicy'
|
|
822
937
|
property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1beta::MigrationSource, decorator: Google::Apis::AlloydbV1beta::MigrationSource::Representation
|
|
823
938
|
|
|
824
939
|
property :name, as: 'name'
|
|
@@ -920,6 +1035,13 @@ module Google
|
|
|
920
1035
|
end
|
|
921
1036
|
end
|
|
922
1037
|
|
|
1038
|
+
class CpuUtilization
|
|
1039
|
+
# @private
|
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1041
|
+
property :utilization_target, as: 'utilizationTarget'
|
|
1042
|
+
end
|
|
1043
|
+
end
|
|
1044
|
+
|
|
923
1045
|
class CsvExportOptions
|
|
924
1046
|
# @private
|
|
925
1047
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1201,6 +1323,7 @@ module Google
|
|
|
1201
1323
|
property :next_page_token, as: 'nextPageToken'
|
|
1202
1324
|
collection :operations, as: 'operations', class: Google::Apis::AlloydbV1beta::Operation, decorator: Google::Apis::AlloydbV1beta::Operation::Representation
|
|
1203
1325
|
|
|
1326
|
+
collection :unreachable, as: 'unreachable'
|
|
1204
1327
|
end
|
|
1205
1328
|
end
|
|
1206
1329
|
|
|
@@ -1327,6 +1450,17 @@ module Google
|
|
|
1327
1450
|
end
|
|
1328
1451
|
end
|
|
1329
1452
|
|
|
1453
|
+
class Policy
|
|
1454
|
+
# @private
|
|
1455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1456
|
+
property :cool_down_period_sec, :numeric_string => true, as: 'coolDownPeriodSec'
|
|
1457
|
+
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AlloydbV1beta::CpuUtilization, decorator: Google::Apis::AlloydbV1beta::CpuUtilization::Representation
|
|
1458
|
+
|
|
1459
|
+
property :enabled, as: 'enabled'
|
|
1460
|
+
property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
|
|
1461
|
+
end
|
|
1462
|
+
end
|
|
1463
|
+
|
|
1330
1464
|
class PrimaryConfig
|
|
1331
1465
|
# @private
|
|
1332
1466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1410,6 +1544,8 @@ module Google
|
|
|
1410
1544
|
class ReadPoolConfig
|
|
1411
1545
|
# @private
|
|
1412
1546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1547
|
+
property :auto_scaling_config, as: 'autoScalingConfig', class: Google::Apis::AlloydbV1beta::AutoScalingConfig, decorator: Google::Apis::AlloydbV1beta::AutoScalingConfig::Representation
|
|
1548
|
+
|
|
1413
1549
|
property :node_count, as: 'nodeCount'
|
|
1414
1550
|
end
|
|
1415
1551
|
end
|
|
@@ -1436,6 +1572,10 @@ module Google
|
|
|
1436
1572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1437
1573
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1beta::BackupSource, decorator: Google::Apis::AlloydbV1beta::BackupSource::Representation
|
|
1438
1574
|
|
|
1575
|
+
property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1beta::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1beta::BackupDrBackupSource::Representation
|
|
1576
|
+
|
|
1577
|
+
property :backupdr_pitr_source, as: 'backupdrPitrSource', class: Google::Apis::AlloydbV1beta::BackupDrPitrSource, decorator: Google::Apis::AlloydbV1beta::BackupDrPitrSource::Representation
|
|
1578
|
+
|
|
1439
1579
|
property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1beta::Cluster, decorator: Google::Apis::AlloydbV1beta::Cluster::Representation
|
|
1440
1580
|
|
|
1441
1581
|
property :cluster_id, as: 'clusterId'
|
|
@@ -1457,6 +1597,19 @@ module Google
|
|
|
1457
1597
|
end
|
|
1458
1598
|
end
|
|
1459
1599
|
|
|
1600
|
+
class Schedule
|
|
1601
|
+
# @private
|
|
1602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1603
|
+
property :cron_expression, as: 'cronExpression'
|
|
1604
|
+
property :description, as: 'description'
|
|
1605
|
+
property :disabled, as: 'disabled'
|
|
1606
|
+
property :duration_sec, :numeric_string => true, as: 'durationSec'
|
|
1607
|
+
property :min_node_count, :numeric_string => true, as: 'minNodeCount'
|
|
1608
|
+
property :name, as: 'name'
|
|
1609
|
+
property :time_zone, as: 'timeZone'
|
|
1610
|
+
end
|
|
1611
|
+
end
|
|
1612
|
+
|
|
1460
1613
|
class SecondaryConfig
|
|
1461
1614
|
# @private
|
|
1462
1615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1497,23 +1650,11 @@ module Google
|
|
|
1497
1650
|
end
|
|
1498
1651
|
end
|
|
1499
1652
|
|
|
1500
|
-
class StageSchedule
|
|
1501
|
-
# @private
|
|
1502
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1503
|
-
property :actual_end_time, as: 'actualEndTime'
|
|
1504
|
-
property :actual_start_time, as: 'actualStartTime'
|
|
1505
|
-
property :estimated_end_time, as: 'estimatedEndTime'
|
|
1506
|
-
property :estimated_start_time, as: 'estimatedStartTime'
|
|
1507
|
-
end
|
|
1508
|
-
end
|
|
1509
|
-
|
|
1510
1653
|
class StageStatus
|
|
1511
1654
|
# @private
|
|
1512
1655
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1513
1656
|
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus::Representation
|
|
1514
1657
|
|
|
1515
|
-
property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1beta::StageSchedule, decorator: Google::Apis::AlloydbV1beta::StageSchedule::Representation
|
|
1516
|
-
|
|
1517
1658
|
property :stage, as: 'stage'
|
|
1518
1659
|
property :state, as: 'state'
|
|
1519
1660
|
end
|
|
@@ -1705,6 +1846,8 @@ module Google
|
|
|
1705
1846
|
property :location, as: 'location'
|
|
1706
1847
|
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
|
|
1707
1848
|
|
|
1849
|
+
property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::Representation
|
|
1850
|
+
|
|
1708
1851
|
property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
|
1709
1852
|
|
|
1710
1853
|
property :primary_resource_location, as: 'primaryResourceLocation'
|
|
@@ -1811,6 +1954,39 @@ module Google
|
|
|
1811
1954
|
end
|
|
1812
1955
|
end
|
|
1813
1956
|
|
|
1957
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
|
|
1958
|
+
# @private
|
|
1959
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1960
|
+
property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
|
|
1961
|
+
|
|
1962
|
+
property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
|
|
1963
|
+
|
|
1964
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
|
|
1965
|
+
|
|
1966
|
+
end
|
|
1967
|
+
end
|
|
1968
|
+
|
|
1969
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
|
|
1970
|
+
# @private
|
|
1971
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1972
|
+
collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
|
|
1973
|
+
|
|
1974
|
+
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
|
|
1975
|
+
|
|
1976
|
+
property :maintenance_version, as: 'maintenanceVersion'
|
|
1977
|
+
end
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1980
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
|
|
1981
|
+
# @private
|
|
1982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1983
|
+
property :day, as: 'day'
|
|
1984
|
+
property :phase, as: 'phase'
|
|
1985
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
|
|
1986
|
+
|
|
1987
|
+
end
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1814
1990
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
|
1815
1991
|
# @private
|
|
1816
1992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1733,6 +1733,13 @@ module Google
|
|
|
1733
1733
|
# The standard list page size.
|
|
1734
1734
|
# @param [String] page_token
|
|
1735
1735
|
# The standard list page token.
|
|
1736
|
+
# @param [Boolean] return_partial_success
|
|
1737
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1738
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
1739
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
1740
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
1741
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
1742
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
1736
1743
|
# @param [String] fields
|
|
1737
1744
|
# Selector specifying which fields to include in a partial response.
|
|
1738
1745
|
# @param [String] quota_user
|
|
@@ -1750,7 +1757,7 @@ module Google
|
|
|
1750
1757
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1751
1758
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1752
1759
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1753
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1760
|
+
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)
|
|
1754
1761
|
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
|
1755
1762
|
command.response_representation = Google::Apis::AlloydbV1beta::ListOperationsResponse::Representation
|
|
1756
1763
|
command.response_class = Google::Apis::AlloydbV1beta::ListOperationsResponse
|
|
@@ -1758,6 +1765,7 @@ module Google
|
|
|
1758
1765
|
command.query['filter'] = filter unless filter.nil?
|
|
1759
1766
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1760
1767
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1768
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
1761
1769
|
command.query['fields'] = fields unless fields.nil?
|
|
1762
1770
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1763
1771
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-alloydb_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.39.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_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.39.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|