google-apis-alloydb_v1beta 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58c7b81919c15ca822109b71262a40242b53e3d62bb14c766491f684c8ee116e
|
4
|
+
data.tar.gz: dadf425184998ce1a8a3422fabf32c85c698d8a63a692e0ec86739476e0934eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ecc6a95ce87d697af548769b75e8df24fb9bd5dc64ef3b3b03310e7cd27b320c62426bf2e79ceb1c27c9eaa5d53143e8b726874bc62a279ac2fab45531db28c
|
7
|
+
data.tar.gz: 18938c53edcbb9a615dd95154476ed6abef6ca83edb6df6a24919a647e20ed49834c9eafd15c75a178a1b940e57e2c9dfefafcede41dfe82aec911fe2081363c
|
data/CHANGELOG.md
CHANGED
@@ -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]
|
@@ -651,6 +838,8 @@ module Google
|
|
651
838
|
@annotations = args[:annotations] if args.key?(:annotations)
|
652
839
|
@automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
|
653
840
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
841
|
+
@backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
|
842
|
+
@backupdr_info = args[:backupdr_info] if args.key?(:backupdr_info)
|
654
843
|
@cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
|
655
844
|
@cluster_type = args[:cluster_type] if args.key?(:cluster_type)
|
656
845
|
@continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
|
@@ -1021,6 +1210,25 @@ module Google
|
|
1021
1210
|
end
|
1022
1211
|
end
|
1023
1212
|
|
1213
|
+
# CPU utilization policy for the autoscaler.
|
1214
|
+
class CpuUtilization
|
1215
|
+
include Google::Apis::Core::Hashable
|
1216
|
+
|
1217
|
+
# Target CPU utilization as a float between 0 and 1.
|
1218
|
+
# Corresponds to the JSON property `utilizationTarget`
|
1219
|
+
# @return [Float]
|
1220
|
+
attr_accessor :utilization_target
|
1221
|
+
|
1222
|
+
def initialize(**args)
|
1223
|
+
update!(**args)
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Update properties of this object
|
1227
|
+
def update!(**args)
|
1228
|
+
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
1229
|
+
end
|
1230
|
+
end
|
1231
|
+
|
1024
1232
|
# Options for exporting data in CSV format.
|
1025
1233
|
class CsvExportOptions
|
1026
1234
|
include Google::Apis::Core::Hashable
|
@@ -2109,6 +2317,13 @@ module Google
|
|
2109
2317
|
# @return [Array<Google::Apis::AlloydbV1beta::Operation>]
|
2110
2318
|
attr_accessor :operations
|
2111
2319
|
|
2320
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
2321
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
2322
|
+
# when attempting to list all resources across all supported locations.
|
2323
|
+
# Corresponds to the JSON property `unreachable`
|
2324
|
+
# @return [Array<String>]
|
2325
|
+
attr_accessor :unreachable
|
2326
|
+
|
2112
2327
|
def initialize(**args)
|
2113
2328
|
update!(**args)
|
2114
2329
|
end
|
@@ -2117,6 +2332,7 @@ module Google
|
|
2117
2332
|
def update!(**args)
|
2118
2333
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2119
2334
|
@operations = args[:operations] if args.key?(:operations)
|
2335
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2120
2336
|
end
|
2121
2337
|
end
|
2122
2338
|
|
@@ -2604,6 +2820,47 @@ module Google
|
|
2604
2820
|
end
|
2605
2821
|
end
|
2606
2822
|
|
2823
|
+
# Policy for the autoscaler.
|
2824
|
+
class Policy
|
2825
|
+
include Google::Apis::Core::Hashable
|
2826
|
+
|
2827
|
+
# The period of time in seconds after a new node is created before the
|
2828
|
+
# autoscaler will incorporate its resource usage (e.g. CPU utilization) into the
|
2829
|
+
# autoscaling recommendation algorithm.
|
2830
|
+
# Corresponds to the JSON property `coolDownPeriodSec`
|
2831
|
+
# @return [Fixnum]
|
2832
|
+
attr_accessor :cool_down_period_sec
|
2833
|
+
|
2834
|
+
# CPU utilization policy for the autoscaler.
|
2835
|
+
# Corresponds to the JSON property `cpuUtilization`
|
2836
|
+
# @return [Google::Apis::AlloydbV1beta::CpuUtilization]
|
2837
|
+
attr_accessor :cpu_utilization
|
2838
|
+
|
2839
|
+
# If true, autoscaling is enabled for the instance. If not set, the default
|
2840
|
+
# value is false.
|
2841
|
+
# Corresponds to the JSON property `enabled`
|
2842
|
+
# @return [Boolean]
|
2843
|
+
attr_accessor :enabled
|
2844
|
+
alias_method :enabled?, :enabled
|
2845
|
+
|
2846
|
+
# Maximum number of nodes for the autoscaler.
|
2847
|
+
# Corresponds to the JSON property `maxNodeCount`
|
2848
|
+
# @return [Fixnum]
|
2849
|
+
attr_accessor :max_node_count
|
2850
|
+
|
2851
|
+
def initialize(**args)
|
2852
|
+
update!(**args)
|
2853
|
+
end
|
2854
|
+
|
2855
|
+
# Update properties of this object
|
2856
|
+
def update!(**args)
|
2857
|
+
@cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
|
2858
|
+
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
2859
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
2860
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
2861
|
+
end
|
2862
|
+
end
|
2863
|
+
|
2607
2864
|
# Configuration for the primary cluster. It has the list of clusters that are
|
2608
2865
|
# replicating from this cluster. This should be set if and only if the cluster
|
2609
2866
|
# is of type PRIMARY.
|
@@ -2934,6 +3191,11 @@ module Google
|
|
2934
3191
|
class ReadPoolConfig
|
2935
3192
|
include Google::Apis::Core::Hashable
|
2936
3193
|
|
3194
|
+
# Configuration for autoscaling.
|
3195
|
+
# Corresponds to the JSON property `autoScalingConfig`
|
3196
|
+
# @return [Google::Apis::AlloydbV1beta::AutoScalingConfig]
|
3197
|
+
attr_accessor :auto_scaling_config
|
3198
|
+
|
2937
3199
|
# Read capacity, i.e. number of nodes in a read pool instance.
|
2938
3200
|
# Corresponds to the JSON property `nodeCount`
|
2939
3201
|
# @return [Fixnum]
|
@@ -2945,6 +3207,7 @@ module Google
|
|
2945
3207
|
|
2946
3208
|
# Update properties of this object
|
2947
3209
|
def update!(**args)
|
3210
|
+
@auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
|
2948
3211
|
@node_count = args[:node_count] if args.key?(:node_count)
|
2949
3212
|
end
|
2950
3213
|
end
|
@@ -3022,6 +3285,16 @@ module Google
|
|
3022
3285
|
# @return [Google::Apis::AlloydbV1beta::BackupSource]
|
3023
3286
|
attr_accessor :backup_source
|
3024
3287
|
|
3288
|
+
# Message describing a BackupDrBackupSource.
|
3289
|
+
# Corresponds to the JSON property `backupdrBackupSource`
|
3290
|
+
# @return [Google::Apis::AlloydbV1beta::BackupDrBackupSource]
|
3291
|
+
attr_accessor :backupdr_backup_source
|
3292
|
+
|
3293
|
+
# Message describing a BackupDrPitrSource.
|
3294
|
+
# Corresponds to the JSON property `backupdrPitrSource`
|
3295
|
+
# @return [Google::Apis::AlloydbV1beta::BackupDrPitrSource]
|
3296
|
+
attr_accessor :backupdr_pitr_source
|
3297
|
+
|
3025
3298
|
# A cluster is a collection of regional AlloyDB resources. It can include a
|
3026
3299
|
# primary instance and one or more read pool instances. All cluster resources
|
3027
3300
|
# share a storage layer, which scales as needed.
|
@@ -3068,6 +3341,8 @@ module Google
|
|
3068
3341
|
# Update properties of this object
|
3069
3342
|
def update!(**args)
|
3070
3343
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
3344
|
+
@backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
|
3345
|
+
@backupdr_pitr_source = args[:backupdr_pitr_source] if args.key?(:backupdr_pitr_source)
|
3071
3346
|
@cluster = args[:cluster] if args.key?(:cluster)
|
3072
3347
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
3073
3348
|
@continuous_backup_source = args[:continuous_backup_source] if args.key?(:continuous_backup_source)
|
@@ -3109,6 +3384,64 @@ module Google
|
|
3109
3384
|
end
|
3110
3385
|
end
|
3111
3386
|
|
3387
|
+
# A schedule for the autoscaler.
|
3388
|
+
class Schedule
|
3389
|
+
include Google::Apis::Core::Hashable
|
3390
|
+
|
3391
|
+
# Cron expression for the triggering the schedule. See https://cloud.google.com/
|
3392
|
+
# compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
|
3393
|
+
# Corresponds to the JSON property `cronExpression`
|
3394
|
+
# @return [String]
|
3395
|
+
attr_accessor :cron_expression
|
3396
|
+
|
3397
|
+
# Description of the schedule.
|
3398
|
+
# Corresponds to the JSON property `description`
|
3399
|
+
# @return [String]
|
3400
|
+
attr_accessor :description
|
3401
|
+
|
3402
|
+
# If true, the schedule is disabled.
|
3403
|
+
# Corresponds to the JSON property `disabled`
|
3404
|
+
# @return [Boolean]
|
3405
|
+
attr_accessor :disabled
|
3406
|
+
alias_method :disabled?, :disabled
|
3407
|
+
|
3408
|
+
# Duration of the schedule.
|
3409
|
+
# Corresponds to the JSON property `durationSec`
|
3410
|
+
# @return [Fixnum]
|
3411
|
+
attr_accessor :duration_sec
|
3412
|
+
|
3413
|
+
# Minimum number of nodes in while the schedule is active.
|
3414
|
+
# Corresponds to the JSON property `minNodeCount`
|
3415
|
+
# @return [Fixnum]
|
3416
|
+
attr_accessor :min_node_count
|
3417
|
+
|
3418
|
+
# Name of the schedule.
|
3419
|
+
# Corresponds to the JSON property `name`
|
3420
|
+
# @return [String]
|
3421
|
+
attr_accessor :name
|
3422
|
+
|
3423
|
+
# The location-based IANA time zone for interpreting the schedule's start time.
|
3424
|
+
# If no time zone is provided, UTC is used by default.
|
3425
|
+
# Corresponds to the JSON property `timeZone`
|
3426
|
+
# @return [String]
|
3427
|
+
attr_accessor :time_zone
|
3428
|
+
|
3429
|
+
def initialize(**args)
|
3430
|
+
update!(**args)
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
# Update properties of this object
|
3434
|
+
def update!(**args)
|
3435
|
+
@cron_expression = args[:cron_expression] if args.key?(:cron_expression)
|
3436
|
+
@description = args[:description] if args.key?(:description)
|
3437
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
3438
|
+
@duration_sec = args[:duration_sec] if args.key?(:duration_sec)
|
3439
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
3440
|
+
@name = args[:name] if args.key?(:name)
|
3441
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
3442
|
+
end
|
3443
|
+
end
|
3444
|
+
|
3112
3445
|
# Configuration information for the secondary cluster. This should be set if and
|
3113
3446
|
# only if the cluster is of type SECONDARY.
|
3114
3447
|
class SecondaryConfig
|
@@ -3244,43 +3577,6 @@ module Google
|
|
3244
3577
|
end
|
3245
3578
|
end
|
3246
3579
|
|
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
3580
|
# Status of an upgrade stage.
|
3285
3581
|
class StageStatus
|
3286
3582
|
include Google::Apis::Core::Hashable
|
@@ -3290,11 +3586,6 @@ module Google
|
|
3290
3586
|
# @return [Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus]
|
3291
3587
|
attr_accessor :read_pool_instances_upgrade
|
3292
3588
|
|
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
3589
|
# Upgrade stage.
|
3299
3590
|
# Corresponds to the JSON property `stage`
|
3300
3591
|
# @return [String]
|
@@ -3312,7 +3603,6 @@ module Google
|
|
3312
3603
|
# Update properties of this object
|
3313
3604
|
def update!(**args)
|
3314
3605
|
@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
3606
|
@stage = args[:stage] if args.key?(:stage)
|
3317
3607
|
@state = args[:state] if args.key?(:state)
|
3318
3608
|
end
|
@@ -3740,7 +4030,7 @@ module Google
|
|
3740
4030
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
3741
4031
|
attr_accessor :resource_id
|
3742
4032
|
|
3743
|
-
# Common model for database resource instance metadata. Next ID:
|
4033
|
+
# Common model for database resource instance metadata. Next ID: 29
|
3744
4034
|
# Corresponds to the JSON property `resourceMetadata`
|
3745
4035
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
3746
4036
|
attr_accessor :resource_metadata
|
@@ -3938,7 +4228,7 @@ module Google
|
|
3938
4228
|
end
|
3939
4229
|
end
|
3940
4230
|
|
3941
|
-
# Common model for database resource instance metadata. Next ID:
|
4231
|
+
# Common model for database resource instance metadata. Next ID: 29
|
3942
4232
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
3943
4233
|
include Google::Apis::Core::Hashable
|
3944
4234
|
|
@@ -4026,6 +4316,11 @@ module Google
|
|
4026
4316
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
|
4027
4317
|
attr_accessor :machine_configuration
|
4028
4318
|
|
4319
|
+
# MaintenanceInfo to capture the maintenance details of database resource.
|
4320
|
+
# Corresponds to the JSON property `maintenanceInfo`
|
4321
|
+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo]
|
4322
|
+
attr_accessor :maintenance_info
|
4323
|
+
|
4029
4324
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
4030
4325
|
# Corresponds to the JSON property `primaryResourceId`
|
4031
4326
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
@@ -4109,6 +4404,7 @@ module Google
|
|
4109
4404
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
4110
4405
|
@location = args[:location] if args.key?(:location)
|
4111
4406
|
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
|
4407
|
+
@maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
|
4112
4408
|
@primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
|
4113
4409
|
@primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
|
4114
4410
|
@product = args[:product] if args.key?(:product)
|
@@ -4463,6 +4759,127 @@ module Google
|
|
4463
4759
|
end
|
4464
4760
|
end
|
4465
4761
|
|
4762
|
+
# Deny maintenance period for the database resource. It specifies the time range
|
4763
|
+
# during which the maintenance cannot start. This is configured by the customer.
|
4764
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
|
4765
|
+
include Google::Apis::Core::Hashable
|
4766
|
+
|
4767
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4768
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
4769
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
4770
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
4771
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
4772
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
4773
|
+
# example, a credit card expiration date). Related types: * google.type.
|
4774
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
4775
|
+
# Corresponds to the JSON property `endDate`
|
4776
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
|
4777
|
+
attr_accessor :end_date
|
4778
|
+
|
4779
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4780
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
4781
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
4782
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
4783
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
4784
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
4785
|
+
# example, a credit card expiration date). Related types: * google.type.
|
4786
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
4787
|
+
# Corresponds to the JSON property `startDate`
|
4788
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeDate]
|
4789
|
+
attr_accessor :start_date
|
4790
|
+
|
4791
|
+
# Represents a time of day. The date and time zone are either not significant or
|
4792
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
4793
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
4794
|
+
# Corresponds to the JSON property `time`
|
4795
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
|
4796
|
+
attr_accessor :time
|
4797
|
+
|
4798
|
+
def initialize(**args)
|
4799
|
+
update!(**args)
|
4800
|
+
end
|
4801
|
+
|
4802
|
+
# Update properties of this object
|
4803
|
+
def update!(**args)
|
4804
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
4805
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
4806
|
+
@time = args[:time] if args.key?(:time)
|
4807
|
+
end
|
4808
|
+
end
|
4809
|
+
|
4810
|
+
# MaintenanceInfo to capture the maintenance details of database resource.
|
4811
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
|
4812
|
+
include Google::Apis::Core::Hashable
|
4813
|
+
|
4814
|
+
# Optional. List of Deny maintenance period for the database resource.
|
4815
|
+
# Corresponds to the JSON property `denyMaintenanceSchedules`
|
4816
|
+
# @return [Array<Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
|
4817
|
+
attr_accessor :deny_maintenance_schedules
|
4818
|
+
|
4819
|
+
# Maintenance window for the database resource. It specifies preferred time and
|
4820
|
+
# day of the week and phase in some cases, when the maintenance can start. This
|
4821
|
+
# is configured by the customer.
|
4822
|
+
# Corresponds to the JSON property `maintenanceSchedule`
|
4823
|
+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule]
|
4824
|
+
attr_accessor :maintenance_schedule
|
4825
|
+
|
4826
|
+
# Optional. Current Maintenance version of the database resource. Example: "
|
4827
|
+
# MYSQL_8_0_41.R20250531.01_15"
|
4828
|
+
# Corresponds to the JSON property `maintenanceVersion`
|
4829
|
+
# @return [String]
|
4830
|
+
attr_accessor :maintenance_version
|
4831
|
+
|
4832
|
+
def initialize(**args)
|
4833
|
+
update!(**args)
|
4834
|
+
end
|
4835
|
+
|
4836
|
+
# Update properties of this object
|
4837
|
+
def update!(**args)
|
4838
|
+
@deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
|
4839
|
+
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
4840
|
+
@maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
|
4841
|
+
end
|
4842
|
+
end
|
4843
|
+
|
4844
|
+
# Maintenance window for the database resource. It specifies preferred time and
|
4845
|
+
# day of the week and phase in some cases, when the maintenance can start. This
|
4846
|
+
# is configured by the customer.
|
4847
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
|
4848
|
+
include Google::Apis::Core::Hashable
|
4849
|
+
|
4850
|
+
# Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
4851
|
+
# Corresponds to the JSON property `day`
|
4852
|
+
# @return [String]
|
4853
|
+
attr_accessor :day
|
4854
|
+
|
4855
|
+
# Optional. Phase of the maintenance window. This is to capture order of
|
4856
|
+
# maintenance. For example, for Cloud SQL resources, this can be used to capture
|
4857
|
+
# if the maintenance window is in Week1, Week2, Week5, etc. Non production
|
4858
|
+
# resources are usually part of early phase. For more details, refer to Cloud
|
4859
|
+
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
|
4860
|
+
# Corresponds to the JSON property `phase`
|
4861
|
+
# @return [String]
|
4862
|
+
attr_accessor :phase
|
4863
|
+
|
4864
|
+
# Represents a time of day. The date and time zone are either not significant or
|
4865
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
4866
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
4867
|
+
# Corresponds to the JSON property `time`
|
4868
|
+
# @return [Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay]
|
4869
|
+
attr_accessor :time
|
4870
|
+
|
4871
|
+
def initialize(**args)
|
4872
|
+
update!(**args)
|
4873
|
+
end
|
4874
|
+
|
4875
|
+
# Update properties of this object
|
4876
|
+
def update!(**args)
|
4877
|
+
@day = args[:day] if args.key?(:day)
|
4878
|
+
@phase = args[:phase] if args.key?(:phase)
|
4879
|
+
@time = args[:time] if args.key?(:time)
|
4880
|
+
end
|
4881
|
+
end
|
4882
|
+
|
4466
4883
|
#
|
4467
4884
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
4468
4885
|
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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -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'
|
@@ -920,6 +1034,13 @@ module Google
|
|
920
1034
|
end
|
921
1035
|
end
|
922
1036
|
|
1037
|
+
class CpuUtilization
|
1038
|
+
# @private
|
1039
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1040
|
+
property :utilization_target, as: 'utilizationTarget'
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
923
1044
|
class CsvExportOptions
|
924
1045
|
# @private
|
925
1046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1201,6 +1322,7 @@ module Google
|
|
1201
1322
|
property :next_page_token, as: 'nextPageToken'
|
1202
1323
|
collection :operations, as: 'operations', class: Google::Apis::AlloydbV1beta::Operation, decorator: Google::Apis::AlloydbV1beta::Operation::Representation
|
1203
1324
|
|
1325
|
+
collection :unreachable, as: 'unreachable'
|
1204
1326
|
end
|
1205
1327
|
end
|
1206
1328
|
|
@@ -1327,6 +1449,17 @@ module Google
|
|
1327
1449
|
end
|
1328
1450
|
end
|
1329
1451
|
|
1452
|
+
class Policy
|
1453
|
+
# @private
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1455
|
+
property :cool_down_period_sec, :numeric_string => true, as: 'coolDownPeriodSec'
|
1456
|
+
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AlloydbV1beta::CpuUtilization, decorator: Google::Apis::AlloydbV1beta::CpuUtilization::Representation
|
1457
|
+
|
1458
|
+
property :enabled, as: 'enabled'
|
1459
|
+
property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
|
1330
1463
|
class PrimaryConfig
|
1331
1464
|
# @private
|
1332
1465
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1410,6 +1543,8 @@ module Google
|
|
1410
1543
|
class ReadPoolConfig
|
1411
1544
|
# @private
|
1412
1545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1546
|
+
property :auto_scaling_config, as: 'autoScalingConfig', class: Google::Apis::AlloydbV1beta::AutoScalingConfig, decorator: Google::Apis::AlloydbV1beta::AutoScalingConfig::Representation
|
1547
|
+
|
1413
1548
|
property :node_count, as: 'nodeCount'
|
1414
1549
|
end
|
1415
1550
|
end
|
@@ -1436,6 +1571,10 @@ module Google
|
|
1436
1571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1437
1572
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1beta::BackupSource, decorator: Google::Apis::AlloydbV1beta::BackupSource::Representation
|
1438
1573
|
|
1574
|
+
property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1beta::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1beta::BackupDrBackupSource::Representation
|
1575
|
+
|
1576
|
+
property :backupdr_pitr_source, as: 'backupdrPitrSource', class: Google::Apis::AlloydbV1beta::BackupDrPitrSource, decorator: Google::Apis::AlloydbV1beta::BackupDrPitrSource::Representation
|
1577
|
+
|
1439
1578
|
property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1beta::Cluster, decorator: Google::Apis::AlloydbV1beta::Cluster::Representation
|
1440
1579
|
|
1441
1580
|
property :cluster_id, as: 'clusterId'
|
@@ -1457,6 +1596,19 @@ module Google
|
|
1457
1596
|
end
|
1458
1597
|
end
|
1459
1598
|
|
1599
|
+
class Schedule
|
1600
|
+
# @private
|
1601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1602
|
+
property :cron_expression, as: 'cronExpression'
|
1603
|
+
property :description, as: 'description'
|
1604
|
+
property :disabled, as: 'disabled'
|
1605
|
+
property :duration_sec, :numeric_string => true, as: 'durationSec'
|
1606
|
+
property :min_node_count, :numeric_string => true, as: 'minNodeCount'
|
1607
|
+
property :name, as: 'name'
|
1608
|
+
property :time_zone, as: 'timeZone'
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
|
1460
1612
|
class SecondaryConfig
|
1461
1613
|
# @private
|
1462
1614
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1497,23 +1649,11 @@ module Google
|
|
1497
1649
|
end
|
1498
1650
|
end
|
1499
1651
|
|
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
1652
|
class StageStatus
|
1511
1653
|
# @private
|
1512
1654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1513
1655
|
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus::Representation
|
1514
1656
|
|
1515
|
-
property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1beta::StageSchedule, decorator: Google::Apis::AlloydbV1beta::StageSchedule::Representation
|
1516
|
-
|
1517
1657
|
property :stage, as: 'stage'
|
1518
1658
|
property :state, as: 'state'
|
1519
1659
|
end
|
@@ -1705,6 +1845,8 @@ module Google
|
|
1705
1845
|
property :location, as: 'location'
|
1706
1846
|
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
|
1707
1847
|
|
1848
|
+
property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::Representation
|
1849
|
+
|
1708
1850
|
property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1709
1851
|
|
1710
1852
|
property :primary_resource_location, as: 'primaryResourceLocation'
|
@@ -1811,6 +1953,39 @@ module Google
|
|
1811
1953
|
end
|
1812
1954
|
end
|
1813
1955
|
|
1956
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
|
1957
|
+
# @private
|
1958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1959
|
+
property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
|
1960
|
+
|
1961
|
+
property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1beta::GoogleTypeDate, decorator: Google::Apis::AlloydbV1beta::GoogleTypeDate::Representation
|
1962
|
+
|
1963
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
|
1964
|
+
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
|
1969
|
+
# @private
|
1970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1971
|
+
collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
|
1972
|
+
|
1973
|
+
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
|
1974
|
+
|
1975
|
+
property :maintenance_version, as: 'maintenanceVersion'
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
|
1980
|
+
# @private
|
1981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1982
|
+
property :day, as: 'day'
|
1983
|
+
property :phase, as: 'phase'
|
1984
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1beta::GoogleTypeTimeOfDay::Representation
|
1985
|
+
|
1986
|
+
end
|
1987
|
+
end
|
1988
|
+
|
1814
1989
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
1815
1990
|
# @private
|
1816
1991
|
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.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_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.38.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:
|