google-apis-alloydb_v1 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f56b61637329bc8231c9dbd1401b2c5107341fd8d0999cd916fbc7b5c736a94b
|
4
|
+
data.tar.gz: de5fe7cb2c86f4de2f059fc2beeda423e42bb7e40b56ebb2a34bd5a46f4ef60d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c47be7d3295d3f6dec6dc83ca632930c9d60ba6781aa3364257777d994be9c5ed78ded55bd38bdbb9e43431633b1f78b10ff0f0bec6e39681a0f59b896b082d
|
7
|
+
data.tar.gz: 44683f937a792ef632498501f0ad514cc2c30d23e9c416dd0e94c198a2a014713da0bbded1c34217f278d6d849e7f4af0513e219e6699e55ac9110b45553e54a
|
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::AlloydbV1::Policy]
|
51
|
+
attr_accessor :policy
|
52
|
+
|
53
|
+
# Optional list of schedules for the MIG autoscaler. If not set, no schedules
|
54
|
+
# are created.
|
55
|
+
# Corresponds to the JSON property `schedules`
|
56
|
+
# @return [Array<Google::Apis::AlloydbV1::Schedule>]
|
57
|
+
attr_accessor :schedules
|
58
|
+
|
59
|
+
def initialize(**args)
|
60
|
+
update!(**args)
|
61
|
+
end
|
62
|
+
|
63
|
+
# Update properties of this object
|
64
|
+
def update!(**args)
|
65
|
+
@policy = args[:policy] if args.key?(:policy)
|
66
|
+
@schedules = args[:schedules] if args.key?(:schedules)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
44
70
|
# Message describing the user-specified automated backup policy. All fields in
|
45
71
|
# the automated backup policy are optional. Defaults for each field are provided
|
46
72
|
# if they are not set.
|
@@ -304,6 +330,157 @@ module Google
|
|
304
330
|
end
|
305
331
|
end
|
306
332
|
|
333
|
+
# Message describing a BackupDrBackupSource.
|
334
|
+
class BackupDrBackupSource
|
335
|
+
include Google::Apis::Core::Hashable
|
336
|
+
|
337
|
+
# Required. The name of the backup resource with the format: * projects/`project`
|
338
|
+
# /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
|
339
|
+
# /backups/`backup_id`
|
340
|
+
# Corresponds to the JSON property `backup`
|
341
|
+
# @return [String]
|
342
|
+
attr_accessor :backup
|
343
|
+
|
344
|
+
def initialize(**args)
|
345
|
+
update!(**args)
|
346
|
+
end
|
347
|
+
|
348
|
+
# Update properties of this object
|
349
|
+
def update!(**args)
|
350
|
+
@backup = args[:backup] if args.key?(:backup)
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
# Information about a single window when BackupDR was enabled for this cluster.
|
355
|
+
class BackupDrEnabledWindow
|
356
|
+
include Google::Apis::Core::Hashable
|
357
|
+
|
358
|
+
# Whether automated backup was previously enabled prior to enabling BackupDR
|
359
|
+
# protection for this cluster.
|
360
|
+
# Corresponds to the JSON property `automatedBackupPreviouslyEnabled`
|
361
|
+
# @return [Boolean]
|
362
|
+
attr_accessor :automated_backup_previously_enabled
|
363
|
+
alias_method :automated_backup_previously_enabled?, :automated_backup_previously_enabled
|
364
|
+
|
365
|
+
# The BackupPlanAssociation resource that was used to enable BackupDR protection
|
366
|
+
# for this cluster.
|
367
|
+
# Corresponds to the JSON property `backupPlanAssociation`
|
368
|
+
# @return [String]
|
369
|
+
attr_accessor :backup_plan_association
|
370
|
+
|
371
|
+
# The retention set for the continuous backup that was previously enabled prior
|
372
|
+
# to enabling BackupDR protection for this cluster.
|
373
|
+
# Corresponds to the JSON property `continuousBackupPreviousRecoveryWindowDays`
|
374
|
+
# @return [Fixnum]
|
375
|
+
attr_accessor :continuous_backup_previous_recovery_window_days
|
376
|
+
|
377
|
+
# Whether continuous backup was previously enabled prior to enabling BackupDR
|
378
|
+
# protection for this cluster.
|
379
|
+
# Corresponds to the JSON property `continuousBackupPreviouslyEnabled`
|
380
|
+
# @return [Boolean]
|
381
|
+
attr_accessor :continuous_backup_previously_enabled
|
382
|
+
alias_method :continuous_backup_previously_enabled?, :continuous_backup_previously_enabled
|
383
|
+
|
384
|
+
# The time when continuous backup was previously enabled prior to enabling
|
385
|
+
# BackupDR protection for this cluster.
|
386
|
+
# Corresponds to the JSON property `continuousBackupPreviouslyEnabledTime`
|
387
|
+
# @return [String]
|
388
|
+
attr_accessor :continuous_backup_previously_enabled_time
|
389
|
+
|
390
|
+
# The DataSource resource that represents the cluster in BackupDR.
|
391
|
+
# Corresponds to the JSON property `dataSource`
|
392
|
+
# @return [String]
|
393
|
+
attr_accessor :data_source
|
394
|
+
|
395
|
+
# Time when the BackupDR protection for this cluster was disabled. This field
|
396
|
+
# will be empty if this BackupDR window is the `current_window`.
|
397
|
+
# Corresponds to the JSON property `disabledTime`
|
398
|
+
# @return [String]
|
399
|
+
attr_accessor :disabled_time
|
400
|
+
|
401
|
+
# Time when the BackupDR protection for this cluster was enabled.
|
402
|
+
# Corresponds to the JSON property `enabledTime`
|
403
|
+
# @return [String]
|
404
|
+
attr_accessor :enabled_time
|
405
|
+
|
406
|
+
# The retention period for logs generated by BackupDR for this cluster.
|
407
|
+
# Corresponds to the JSON property `logRetentionPeriod`
|
408
|
+
# @return [String]
|
409
|
+
attr_accessor :log_retention_period
|
410
|
+
|
411
|
+
def initialize(**args)
|
412
|
+
update!(**args)
|
413
|
+
end
|
414
|
+
|
415
|
+
# Update properties of this object
|
416
|
+
def update!(**args)
|
417
|
+
@automated_backup_previously_enabled = args[:automated_backup_previously_enabled] if args.key?(:automated_backup_previously_enabled)
|
418
|
+
@backup_plan_association = args[:backup_plan_association] if args.key?(:backup_plan_association)
|
419
|
+
@continuous_backup_previous_recovery_window_days = args[:continuous_backup_previous_recovery_window_days] if args.key?(:continuous_backup_previous_recovery_window_days)
|
420
|
+
@continuous_backup_previously_enabled = args[:continuous_backup_previously_enabled] if args.key?(:continuous_backup_previously_enabled)
|
421
|
+
@continuous_backup_previously_enabled_time = args[:continuous_backup_previously_enabled_time] if args.key?(:continuous_backup_previously_enabled_time)
|
422
|
+
@data_source = args[:data_source] if args.key?(:data_source)
|
423
|
+
@disabled_time = args[:disabled_time] if args.key?(:disabled_time)
|
424
|
+
@enabled_time = args[:enabled_time] if args.key?(:enabled_time)
|
425
|
+
@log_retention_period = args[:log_retention_period] if args.key?(:log_retention_period)
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# Information about BackupDR protection for this cluster.
|
430
|
+
class BackupDrInfo
|
431
|
+
include Google::Apis::Core::Hashable
|
432
|
+
|
433
|
+
# Information about a single window when BackupDR was enabled for this cluster.
|
434
|
+
# Corresponds to the JSON property `currentWindow`
|
435
|
+
# @return [Google::Apis::AlloydbV1::BackupDrEnabledWindow]
|
436
|
+
attr_accessor :current_window
|
437
|
+
|
438
|
+
# Windows during which BackupDR was enabled for this cluster, along with
|
439
|
+
# associated configuration for that window. These are used to determine points-
|
440
|
+
# in-time for which restores can be performed. The windows are ordered with the
|
441
|
+
# most recent window last. Windows are mutally exclusive. Windows which closed
|
442
|
+
# more than 1 year ago will be removed from this list.
|
443
|
+
# Corresponds to the JSON property `previousWindows`
|
444
|
+
# @return [Array<Google::Apis::AlloydbV1::BackupDrEnabledWindow>]
|
445
|
+
attr_accessor :previous_windows
|
446
|
+
|
447
|
+
def initialize(**args)
|
448
|
+
update!(**args)
|
449
|
+
end
|
450
|
+
|
451
|
+
# Update properties of this object
|
452
|
+
def update!(**args)
|
453
|
+
@current_window = args[:current_window] if args.key?(:current_window)
|
454
|
+
@previous_windows = args[:previous_windows] if args.key?(:previous_windows)
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
# Message describing a BackupDrPitrSource.
|
459
|
+
class BackupDrPitrSource
|
460
|
+
include Google::Apis::Core::Hashable
|
461
|
+
|
462
|
+
# Required. The name of the backup resource with the format: * projects/`project`
|
463
|
+
# /locations/`location`/backupVaults/`backupvault_id`/dataSources/`datasource_id`
|
464
|
+
# Corresponds to the JSON property `dataSource`
|
465
|
+
# @return [String]
|
466
|
+
attr_accessor :data_source
|
467
|
+
|
468
|
+
# Required. The point in time to restore to.
|
469
|
+
# Corresponds to the JSON property `pointInTime`
|
470
|
+
# @return [String]
|
471
|
+
attr_accessor :point_in_time
|
472
|
+
|
473
|
+
def initialize(**args)
|
474
|
+
update!(**args)
|
475
|
+
end
|
476
|
+
|
477
|
+
# Update properties of this object
|
478
|
+
def update!(**args)
|
479
|
+
@data_source = args[:data_source] if args.key?(:data_source)
|
480
|
+
@point_in_time = args[:point_in_time] if args.key?(:point_in_time)
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
307
484
|
# Message describing a BackupSource.
|
308
485
|
class BackupSource
|
309
486
|
include Google::Apis::Core::Hashable
|
@@ -454,6 +631,16 @@ module Google
|
|
454
631
|
# @return [Google::Apis::AlloydbV1::BackupSource]
|
455
632
|
attr_accessor :backup_source
|
456
633
|
|
634
|
+
# Message describing a BackupDrBackupSource.
|
635
|
+
# Corresponds to the JSON property `backupdrBackupSource`
|
636
|
+
# @return [Google::Apis::AlloydbV1::BackupDrBackupSource]
|
637
|
+
attr_accessor :backupdr_backup_source
|
638
|
+
|
639
|
+
# Information about BackupDR protection for this cluster.
|
640
|
+
# Corresponds to the JSON property `backupdrInfo`
|
641
|
+
# @return [Google::Apis::AlloydbV1::BackupDrInfo]
|
642
|
+
attr_accessor :backupdr_info
|
643
|
+
|
457
644
|
# The source CloudSQL backup resource.
|
458
645
|
# Corresponds to the JSON property `cloudsqlBackupRunSource`
|
459
646
|
# @return [Google::Apis::AlloydbV1::CloudSqlBackupRunSource]
|
@@ -652,6 +839,8 @@ module Google
|
|
652
839
|
@annotations = args[:annotations] if args.key?(:annotations)
|
653
840
|
@automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
|
654
841
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
842
|
+
@backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
|
843
|
+
@backupdr_info = args[:backupdr_info] if args.key?(:backupdr_info)
|
655
844
|
@cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
|
656
845
|
@cluster_type = args[:cluster_type] if args.key?(:cluster_type)
|
657
846
|
@continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
|
@@ -922,6 +1111,25 @@ module Google
|
|
922
1111
|
end
|
923
1112
|
end
|
924
1113
|
|
1114
|
+
# CPU utilization policy for the autoscaler.
|
1115
|
+
class CpuUtilization
|
1116
|
+
include Google::Apis::Core::Hashable
|
1117
|
+
|
1118
|
+
# Target CPU utilization as a float between 0 and 1.
|
1119
|
+
# Corresponds to the JSON property `utilizationTarget`
|
1120
|
+
# @return [Float]
|
1121
|
+
attr_accessor :utilization_target
|
1122
|
+
|
1123
|
+
def initialize(**args)
|
1124
|
+
update!(**args)
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
# Update properties of this object
|
1128
|
+
def update!(**args)
|
1129
|
+
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
|
925
1133
|
# Options for exporting data in CSV format.
|
926
1134
|
class CsvExportOptions
|
927
1135
|
include Google::Apis::Core::Hashable
|
@@ -1967,6 +2175,13 @@ module Google
|
|
1967
2175
|
# @return [Array<Google::Apis::AlloydbV1::Operation>]
|
1968
2176
|
attr_accessor :operations
|
1969
2177
|
|
2178
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
2179
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
2180
|
+
# when attempting to list all resources across all supported locations.
|
2181
|
+
# Corresponds to the JSON property `unreachable`
|
2182
|
+
# @return [Array<String>]
|
2183
|
+
attr_accessor :unreachable
|
2184
|
+
|
1970
2185
|
def initialize(**args)
|
1971
2186
|
update!(**args)
|
1972
2187
|
end
|
@@ -1975,6 +2190,7 @@ module Google
|
|
1975
2190
|
def update!(**args)
|
1976
2191
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1977
2192
|
@operations = args[:operations] if args.key?(:operations)
|
2193
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1978
2194
|
end
|
1979
2195
|
end
|
1980
2196
|
|
@@ -2448,6 +2664,47 @@ module Google
|
|
2448
2664
|
end
|
2449
2665
|
end
|
2450
2666
|
|
2667
|
+
# Policy for the autoscaler.
|
2668
|
+
class Policy
|
2669
|
+
include Google::Apis::Core::Hashable
|
2670
|
+
|
2671
|
+
# The period of time in seconds after a new node is created before the
|
2672
|
+
# autoscaler will incorporate its resource usage (e.g. CPU utilization) into the
|
2673
|
+
# autoscaling recommendation algorithm.
|
2674
|
+
# Corresponds to the JSON property `coolDownPeriodSec`
|
2675
|
+
# @return [Fixnum]
|
2676
|
+
attr_accessor :cool_down_period_sec
|
2677
|
+
|
2678
|
+
# CPU utilization policy for the autoscaler.
|
2679
|
+
# Corresponds to the JSON property `cpuUtilization`
|
2680
|
+
# @return [Google::Apis::AlloydbV1::CpuUtilization]
|
2681
|
+
attr_accessor :cpu_utilization
|
2682
|
+
|
2683
|
+
# If true, autoscaling is enabled for the instance. If not set, the default
|
2684
|
+
# value is false.
|
2685
|
+
# Corresponds to the JSON property `enabled`
|
2686
|
+
# @return [Boolean]
|
2687
|
+
attr_accessor :enabled
|
2688
|
+
alias_method :enabled?, :enabled
|
2689
|
+
|
2690
|
+
# Maximum number of nodes for the autoscaler.
|
2691
|
+
# Corresponds to the JSON property `maxNodeCount`
|
2692
|
+
# @return [Fixnum]
|
2693
|
+
attr_accessor :max_node_count
|
2694
|
+
|
2695
|
+
def initialize(**args)
|
2696
|
+
update!(**args)
|
2697
|
+
end
|
2698
|
+
|
2699
|
+
# Update properties of this object
|
2700
|
+
def update!(**args)
|
2701
|
+
@cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
|
2702
|
+
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
2703
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
2704
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
2705
|
+
end
|
2706
|
+
end
|
2707
|
+
|
2451
2708
|
# Configuration for the primary cluster. It has the list of clusters that are
|
2452
2709
|
# replicating from this cluster. This should be set if and only if the cluster
|
2453
2710
|
# is of type PRIMARY.
|
@@ -2778,6 +3035,11 @@ module Google
|
|
2778
3035
|
class ReadPoolConfig
|
2779
3036
|
include Google::Apis::Core::Hashable
|
2780
3037
|
|
3038
|
+
# Configuration for autoscaling.
|
3039
|
+
# Corresponds to the JSON property `autoScalingConfig`
|
3040
|
+
# @return [Google::Apis::AlloydbV1::AutoScalingConfig]
|
3041
|
+
attr_accessor :auto_scaling_config
|
3042
|
+
|
2781
3043
|
# Read capacity, i.e. number of nodes in a read pool instance.
|
2782
3044
|
# Corresponds to the JSON property `nodeCount`
|
2783
3045
|
# @return [Fixnum]
|
@@ -2789,6 +3051,7 @@ module Google
|
|
2789
3051
|
|
2790
3052
|
# Update properties of this object
|
2791
3053
|
def update!(**args)
|
3054
|
+
@auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
|
2792
3055
|
@node_count = args[:node_count] if args.key?(:node_count)
|
2793
3056
|
end
|
2794
3057
|
end
|
@@ -2866,6 +3129,16 @@ module Google
|
|
2866
3129
|
# @return [Google::Apis::AlloydbV1::BackupSource]
|
2867
3130
|
attr_accessor :backup_source
|
2868
3131
|
|
3132
|
+
# Message describing a BackupDrBackupSource.
|
3133
|
+
# Corresponds to the JSON property `backupdrBackupSource`
|
3134
|
+
# @return [Google::Apis::AlloydbV1::BackupDrBackupSource]
|
3135
|
+
attr_accessor :backupdr_backup_source
|
3136
|
+
|
3137
|
+
# Message describing a BackupDrPitrSource.
|
3138
|
+
# Corresponds to the JSON property `backupdrPitrSource`
|
3139
|
+
# @return [Google::Apis::AlloydbV1::BackupDrPitrSource]
|
3140
|
+
attr_accessor :backupdr_pitr_source
|
3141
|
+
|
2869
3142
|
# A cluster is a collection of regional AlloyDB resources. It can include a
|
2870
3143
|
# primary instance and one or more read pool instances. All cluster resources
|
2871
3144
|
# share a storage layer, which scales as needed.
|
@@ -2912,6 +3185,8 @@ module Google
|
|
2912
3185
|
# Update properties of this object
|
2913
3186
|
def update!(**args)
|
2914
3187
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
3188
|
+
@backupdr_backup_source = args[:backupdr_backup_source] if args.key?(:backupdr_backup_source)
|
3189
|
+
@backupdr_pitr_source = args[:backupdr_pitr_source] if args.key?(:backupdr_pitr_source)
|
2915
3190
|
@cluster = args[:cluster] if args.key?(:cluster)
|
2916
3191
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
2917
3192
|
@continuous_backup_source = args[:continuous_backup_source] if args.key?(:continuous_backup_source)
|
@@ -2953,6 +3228,64 @@ module Google
|
|
2953
3228
|
end
|
2954
3229
|
end
|
2955
3230
|
|
3231
|
+
# A schedule for the autoscaler.
|
3232
|
+
class Schedule
|
3233
|
+
include Google::Apis::Core::Hashable
|
3234
|
+
|
3235
|
+
# Cron expression for the triggering the schedule. See https://cloud.google.com/
|
3236
|
+
# compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
|
3237
|
+
# Corresponds to the JSON property `cronExpression`
|
3238
|
+
# @return [String]
|
3239
|
+
attr_accessor :cron_expression
|
3240
|
+
|
3241
|
+
# Description of the schedule.
|
3242
|
+
# Corresponds to the JSON property `description`
|
3243
|
+
# @return [String]
|
3244
|
+
attr_accessor :description
|
3245
|
+
|
3246
|
+
# If true, the schedule is disabled.
|
3247
|
+
# Corresponds to the JSON property `disabled`
|
3248
|
+
# @return [Boolean]
|
3249
|
+
attr_accessor :disabled
|
3250
|
+
alias_method :disabled?, :disabled
|
3251
|
+
|
3252
|
+
# Duration of the schedule.
|
3253
|
+
# Corresponds to the JSON property `durationSec`
|
3254
|
+
# @return [Fixnum]
|
3255
|
+
attr_accessor :duration_sec
|
3256
|
+
|
3257
|
+
# Minimum number of nodes in while the schedule is active.
|
3258
|
+
# Corresponds to the JSON property `minNodeCount`
|
3259
|
+
# @return [Fixnum]
|
3260
|
+
attr_accessor :min_node_count
|
3261
|
+
|
3262
|
+
# Name of the schedule.
|
3263
|
+
# Corresponds to the JSON property `name`
|
3264
|
+
# @return [String]
|
3265
|
+
attr_accessor :name
|
3266
|
+
|
3267
|
+
# The location-based IANA time zone for interpreting the schedule's start time.
|
3268
|
+
# If no time zone is provided, UTC is used by default.
|
3269
|
+
# Corresponds to the JSON property `timeZone`
|
3270
|
+
# @return [String]
|
3271
|
+
attr_accessor :time_zone
|
3272
|
+
|
3273
|
+
def initialize(**args)
|
3274
|
+
update!(**args)
|
3275
|
+
end
|
3276
|
+
|
3277
|
+
# Update properties of this object
|
3278
|
+
def update!(**args)
|
3279
|
+
@cron_expression = args[:cron_expression] if args.key?(:cron_expression)
|
3280
|
+
@description = args[:description] if args.key?(:description)
|
3281
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
3282
|
+
@duration_sec = args[:duration_sec] if args.key?(:duration_sec)
|
3283
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
3284
|
+
@name = args[:name] if args.key?(:name)
|
3285
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
3286
|
+
end
|
3287
|
+
end
|
3288
|
+
|
2956
3289
|
# Configuration information for the secondary cluster. This should be set if and
|
2957
3290
|
# only if the cluster is of type SECONDARY.
|
2958
3291
|
class SecondaryConfig
|
@@ -3088,43 +3421,6 @@ module Google
|
|
3088
3421
|
end
|
3089
3422
|
end
|
3090
3423
|
|
3091
|
-
# Timing information for the stage execution.
|
3092
|
-
class StageSchedule
|
3093
|
-
include Google::Apis::Core::Hashable
|
3094
|
-
|
3095
|
-
# Actual end time of the stage. Set only if the stage has completed.
|
3096
|
-
# Corresponds to the JSON property `actualEndTime`
|
3097
|
-
# @return [String]
|
3098
|
-
attr_accessor :actual_end_time
|
3099
|
-
|
3100
|
-
# Actual start time of the stage. Set only if the stage has started.
|
3101
|
-
# Corresponds to the JSON property `actualStartTime`
|
3102
|
-
# @return [String]
|
3103
|
-
attr_accessor :actual_start_time
|
3104
|
-
|
3105
|
-
# When the stage is expected to end. Set only if the stage has not completed yet.
|
3106
|
-
# Corresponds to the JSON property `estimatedEndTime`
|
3107
|
-
# @return [String]
|
3108
|
-
attr_accessor :estimated_end_time
|
3109
|
-
|
3110
|
-
# When the stage is expected to start. Set only if the stage has not started yet.
|
3111
|
-
# Corresponds to the JSON property `estimatedStartTime`
|
3112
|
-
# @return [String]
|
3113
|
-
attr_accessor :estimated_start_time
|
3114
|
-
|
3115
|
-
def initialize(**args)
|
3116
|
-
update!(**args)
|
3117
|
-
end
|
3118
|
-
|
3119
|
-
# Update properties of this object
|
3120
|
-
def update!(**args)
|
3121
|
-
@actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
|
3122
|
-
@actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
|
3123
|
-
@estimated_end_time = args[:estimated_end_time] if args.key?(:estimated_end_time)
|
3124
|
-
@estimated_start_time = args[:estimated_start_time] if args.key?(:estimated_start_time)
|
3125
|
-
end
|
3126
|
-
end
|
3127
|
-
|
3128
3424
|
# Status of an upgrade stage.
|
3129
3425
|
class StageStatus
|
3130
3426
|
include Google::Apis::Core::Hashable
|
@@ -3134,11 +3430,6 @@ module Google
|
|
3134
3430
|
# @return [Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus]
|
3135
3431
|
attr_accessor :read_pool_instances_upgrade
|
3136
3432
|
|
3137
|
-
# Timing information for the stage execution.
|
3138
|
-
# Corresponds to the JSON property `schedule`
|
3139
|
-
# @return [Google::Apis::AlloydbV1::StageSchedule]
|
3140
|
-
attr_accessor :schedule
|
3141
|
-
|
3142
3433
|
# Upgrade stage.
|
3143
3434
|
# Corresponds to the JSON property `stage`
|
3144
3435
|
# @return [String]
|
@@ -3156,7 +3447,6 @@ module Google
|
|
3156
3447
|
# Update properties of this object
|
3157
3448
|
def update!(**args)
|
3158
3449
|
@read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
|
3159
|
-
@schedule = args[:schedule] if args.key?(:schedule)
|
3160
3450
|
@stage = args[:stage] if args.key?(:stage)
|
3161
3451
|
@state = args[:state] if args.key?(:state)
|
3162
3452
|
end
|
@@ -3584,7 +3874,7 @@ module Google
|
|
3584
3874
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
3585
3875
|
attr_accessor :resource_id
|
3586
3876
|
|
3587
|
-
# Common model for database resource instance metadata. Next ID:
|
3877
|
+
# Common model for database resource instance metadata. Next ID: 29
|
3588
3878
|
# Corresponds to the JSON property `resourceMetadata`
|
3589
3879
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
3590
3880
|
attr_accessor :resource_metadata
|
@@ -3782,7 +4072,7 @@ module Google
|
|
3782
4072
|
end
|
3783
4073
|
end
|
3784
4074
|
|
3785
|
-
# Common model for database resource instance metadata. Next ID:
|
4075
|
+
# Common model for database resource instance metadata. Next ID: 29
|
3786
4076
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
3787
4077
|
include Google::Apis::Core::Hashable
|
3788
4078
|
|
@@ -3870,6 +4160,11 @@ module Google
|
|
3870
4160
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration]
|
3871
4161
|
attr_accessor :machine_configuration
|
3872
4162
|
|
4163
|
+
# MaintenanceInfo to capture the maintenance details of database resource.
|
4164
|
+
# Corresponds to the JSON property `maintenanceInfo`
|
4165
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo]
|
4166
|
+
attr_accessor :maintenance_info
|
4167
|
+
|
3873
4168
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
3874
4169
|
# Corresponds to the JSON property `primaryResourceId`
|
3875
4170
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
@@ -3953,6 +4248,7 @@ module Google
|
|
3953
4248
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
3954
4249
|
@location = args[:location] if args.key?(:location)
|
3955
4250
|
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
|
4251
|
+
@maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
|
3956
4252
|
@primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
|
3957
4253
|
@primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
|
3958
4254
|
@product = args[:product] if args.key?(:product)
|
@@ -4307,6 +4603,127 @@ module Google
|
|
4307
4603
|
end
|
4308
4604
|
end
|
4309
4605
|
|
4606
|
+
# Deny maintenance period for the database resource. It specifies the time range
|
4607
|
+
# during which the maintenance cannot start. This is configured by the customer.
|
4608
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
|
4609
|
+
include Google::Apis::Core::Hashable
|
4610
|
+
|
4611
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4612
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
4613
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
4614
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
4615
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
4616
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
4617
|
+
# example, a credit card expiration date). Related types: * google.type.
|
4618
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
4619
|
+
# Corresponds to the JSON property `endDate`
|
4620
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeDate]
|
4621
|
+
attr_accessor :end_date
|
4622
|
+
|
4623
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4624
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
4625
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
4626
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
4627
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
4628
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
4629
|
+
# example, a credit card expiration date). Related types: * google.type.
|
4630
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
4631
|
+
# Corresponds to the JSON property `startDate`
|
4632
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeDate]
|
4633
|
+
attr_accessor :start_date
|
4634
|
+
|
4635
|
+
# Represents a time of day. The date and time zone are either not significant or
|
4636
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
4637
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
4638
|
+
# Corresponds to the JSON property `time`
|
4639
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
|
4640
|
+
attr_accessor :time
|
4641
|
+
|
4642
|
+
def initialize(**args)
|
4643
|
+
update!(**args)
|
4644
|
+
end
|
4645
|
+
|
4646
|
+
# Update properties of this object
|
4647
|
+
def update!(**args)
|
4648
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
4649
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
4650
|
+
@time = args[:time] if args.key?(:time)
|
4651
|
+
end
|
4652
|
+
end
|
4653
|
+
|
4654
|
+
# MaintenanceInfo to capture the maintenance details of database resource.
|
4655
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
|
4656
|
+
include Google::Apis::Core::Hashable
|
4657
|
+
|
4658
|
+
# Optional. List of Deny maintenance period for the database resource.
|
4659
|
+
# Corresponds to the JSON property `denyMaintenanceSchedules`
|
4660
|
+
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
|
4661
|
+
attr_accessor :deny_maintenance_schedules
|
4662
|
+
|
4663
|
+
# Maintenance window for the database resource. It specifies preferred time and
|
4664
|
+
# day of the week and phase in some cases, when the maintenance can start. This
|
4665
|
+
# is configured by the customer.
|
4666
|
+
# Corresponds to the JSON property `maintenanceSchedule`
|
4667
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule]
|
4668
|
+
attr_accessor :maintenance_schedule
|
4669
|
+
|
4670
|
+
# Optional. Current Maintenance version of the database resource. Example: "
|
4671
|
+
# MYSQL_8_0_41.R20250531.01_15"
|
4672
|
+
# Corresponds to the JSON property `maintenanceVersion`
|
4673
|
+
# @return [String]
|
4674
|
+
attr_accessor :maintenance_version
|
4675
|
+
|
4676
|
+
def initialize(**args)
|
4677
|
+
update!(**args)
|
4678
|
+
end
|
4679
|
+
|
4680
|
+
# Update properties of this object
|
4681
|
+
def update!(**args)
|
4682
|
+
@deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
|
4683
|
+
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
4684
|
+
@maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
|
4685
|
+
end
|
4686
|
+
end
|
4687
|
+
|
4688
|
+
# Maintenance window for the database resource. It specifies preferred time and
|
4689
|
+
# day of the week and phase in some cases, when the maintenance can start. This
|
4690
|
+
# is configured by the customer.
|
4691
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
|
4692
|
+
include Google::Apis::Core::Hashable
|
4693
|
+
|
4694
|
+
# Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
|
4695
|
+
# Corresponds to the JSON property `day`
|
4696
|
+
# @return [String]
|
4697
|
+
attr_accessor :day
|
4698
|
+
|
4699
|
+
# Optional. Phase of the maintenance window. This is to capture order of
|
4700
|
+
# maintenance. For example, for Cloud SQL resources, this can be used to capture
|
4701
|
+
# if the maintenance window is in Week1, Week2, Week5, etc. Non production
|
4702
|
+
# resources are usually part of early phase. For more details, refer to Cloud
|
4703
|
+
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
|
4704
|
+
# Corresponds to the JSON property `phase`
|
4705
|
+
# @return [String]
|
4706
|
+
attr_accessor :phase
|
4707
|
+
|
4708
|
+
# Represents a time of day. The date and time zone are either not significant or
|
4709
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
4710
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
4711
|
+
# Corresponds to the JSON property `time`
|
4712
|
+
# @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
|
4713
|
+
attr_accessor :time
|
4714
|
+
|
4715
|
+
def initialize(**args)
|
4716
|
+
update!(**args)
|
4717
|
+
end
|
4718
|
+
|
4719
|
+
# Update properties of this object
|
4720
|
+
def update!(**args)
|
4721
|
+
@day = args[:day] if args.key?(:day)
|
4722
|
+
@phase = args[:phase] if args.key?(:phase)
|
4723
|
+
@time = args[:time] if args.key?(:time)
|
4724
|
+
end
|
4725
|
+
end
|
4726
|
+
|
4310
4727
|
#
|
4311
4728
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
4312
4729
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250925"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AutoScalingConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class AutomatedBackupPolicy
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -40,6 +46,30 @@ module Google
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class BackupDrBackupSource
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class BackupDrEnabledWindow
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class BackupDrInfo
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class BackupDrPitrSource
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
43
73
|
class BackupSource
|
44
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
75
|
|
@@ -112,6 +142,12 @@ module Google
|
|
112
142
|
include Google::Apis::Core::JsonObjectSupport
|
113
143
|
end
|
114
144
|
|
145
|
+
class CpuUtilization
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
115
151
|
class CsvExportOptions
|
116
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
153
|
|
@@ -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
|
|
@@ -695,6 +755,16 @@ module Google
|
|
695
755
|
end
|
696
756
|
end
|
697
757
|
|
758
|
+
class AutoScalingConfig
|
759
|
+
# @private
|
760
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
761
|
+
property :policy, as: 'policy', class: Google::Apis::AlloydbV1::Policy, decorator: Google::Apis::AlloydbV1::Policy::Representation
|
762
|
+
|
763
|
+
collection :schedules, as: 'schedules', class: Google::Apis::AlloydbV1::Schedule, decorator: Google::Apis::AlloydbV1::Schedule::Representation
|
764
|
+
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
698
768
|
class AutomatedBackupPolicy
|
699
769
|
# @private
|
700
770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -746,6 +816,46 @@ module Google
|
|
746
816
|
end
|
747
817
|
end
|
748
818
|
|
819
|
+
class BackupDrBackupSource
|
820
|
+
# @private
|
821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
+
property :backup, as: 'backup'
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
class BackupDrEnabledWindow
|
827
|
+
# @private
|
828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
829
|
+
property :automated_backup_previously_enabled, as: 'automatedBackupPreviouslyEnabled'
|
830
|
+
property :backup_plan_association, as: 'backupPlanAssociation'
|
831
|
+
property :continuous_backup_previous_recovery_window_days, as: 'continuousBackupPreviousRecoveryWindowDays'
|
832
|
+
property :continuous_backup_previously_enabled, as: 'continuousBackupPreviouslyEnabled'
|
833
|
+
property :continuous_backup_previously_enabled_time, as: 'continuousBackupPreviouslyEnabledTime'
|
834
|
+
property :data_source, as: 'dataSource'
|
835
|
+
property :disabled_time, as: 'disabledTime'
|
836
|
+
property :enabled_time, as: 'enabledTime'
|
837
|
+
property :log_retention_period, as: 'logRetentionPeriod'
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
class BackupDrInfo
|
842
|
+
# @private
|
843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
844
|
+
property :current_window, as: 'currentWindow', class: Google::Apis::AlloydbV1::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1::BackupDrEnabledWindow::Representation
|
845
|
+
|
846
|
+
collection :previous_windows, as: 'previousWindows', class: Google::Apis::AlloydbV1::BackupDrEnabledWindow, decorator: Google::Apis::AlloydbV1::BackupDrEnabledWindow::Representation
|
847
|
+
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
class BackupDrPitrSource
|
852
|
+
# @private
|
853
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
854
|
+
property :data_source, as: 'dataSource'
|
855
|
+
property :point_in_time, as: 'pointInTime'
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
749
859
|
class BackupSource
|
750
860
|
# @private
|
751
861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -794,6 +904,10 @@ module Google
|
|
794
904
|
|
795
905
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
|
796
906
|
|
907
|
+
property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1::BackupDrBackupSource::Representation
|
908
|
+
|
909
|
+
property :backupdr_info, as: 'backupdrInfo', class: Google::Apis::AlloydbV1::BackupDrInfo, decorator: Google::Apis::AlloydbV1::BackupDrInfo::Representation
|
910
|
+
|
797
911
|
property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
|
798
912
|
|
799
913
|
property :cluster_type, as: 'clusterType'
|
@@ -905,6 +1019,13 @@ module Google
|
|
905
1019
|
end
|
906
1020
|
end
|
907
1021
|
|
1022
|
+
class CpuUtilization
|
1023
|
+
# @private
|
1024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1025
|
+
property :utilization_target, as: 'utilizationTarget'
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
908
1029
|
class CsvExportOptions
|
909
1030
|
# @private
|
910
1031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1174,6 +1295,7 @@ module Google
|
|
1174
1295
|
property :next_page_token, as: 'nextPageToken'
|
1175
1296
|
collection :operations, as: 'operations', class: Google::Apis::AlloydbV1::Operation, decorator: Google::Apis::AlloydbV1::Operation::Representation
|
1176
1297
|
|
1298
|
+
collection :unreachable, as: 'unreachable'
|
1177
1299
|
end
|
1178
1300
|
end
|
1179
1301
|
|
@@ -1298,6 +1420,17 @@ module Google
|
|
1298
1420
|
end
|
1299
1421
|
end
|
1300
1422
|
|
1423
|
+
class Policy
|
1424
|
+
# @private
|
1425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1426
|
+
property :cool_down_period_sec, :numeric_string => true, as: 'coolDownPeriodSec'
|
1427
|
+
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AlloydbV1::CpuUtilization, decorator: Google::Apis::AlloydbV1::CpuUtilization::Representation
|
1428
|
+
|
1429
|
+
property :enabled, as: 'enabled'
|
1430
|
+
property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1301
1434
|
class PrimaryConfig
|
1302
1435
|
# @private
|
1303
1436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1381,6 +1514,8 @@ module Google
|
|
1381
1514
|
class ReadPoolConfig
|
1382
1515
|
# @private
|
1383
1516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1517
|
+
property :auto_scaling_config, as: 'autoScalingConfig', class: Google::Apis::AlloydbV1::AutoScalingConfig, decorator: Google::Apis::AlloydbV1::AutoScalingConfig::Representation
|
1518
|
+
|
1384
1519
|
property :node_count, as: 'nodeCount'
|
1385
1520
|
end
|
1386
1521
|
end
|
@@ -1407,6 +1542,10 @@ module Google
|
|
1407
1542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1408
1543
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
|
1409
1544
|
|
1545
|
+
property :backupdr_backup_source, as: 'backupdrBackupSource', class: Google::Apis::AlloydbV1::BackupDrBackupSource, decorator: Google::Apis::AlloydbV1::BackupDrBackupSource::Representation
|
1546
|
+
|
1547
|
+
property :backupdr_pitr_source, as: 'backupdrPitrSource', class: Google::Apis::AlloydbV1::BackupDrPitrSource, decorator: Google::Apis::AlloydbV1::BackupDrPitrSource::Representation
|
1548
|
+
|
1410
1549
|
property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1::Cluster, decorator: Google::Apis::AlloydbV1::Cluster::Representation
|
1411
1550
|
|
1412
1551
|
property :cluster_id, as: 'clusterId'
|
@@ -1428,6 +1567,19 @@ module Google
|
|
1428
1567
|
end
|
1429
1568
|
end
|
1430
1569
|
|
1570
|
+
class Schedule
|
1571
|
+
# @private
|
1572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1573
|
+
property :cron_expression, as: 'cronExpression'
|
1574
|
+
property :description, as: 'description'
|
1575
|
+
property :disabled, as: 'disabled'
|
1576
|
+
property :duration_sec, :numeric_string => true, as: 'durationSec'
|
1577
|
+
property :min_node_count, :numeric_string => true, as: 'minNodeCount'
|
1578
|
+
property :name, as: 'name'
|
1579
|
+
property :time_zone, as: 'timeZone'
|
1580
|
+
end
|
1581
|
+
end
|
1582
|
+
|
1431
1583
|
class SecondaryConfig
|
1432
1584
|
# @private
|
1433
1585
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1468,23 +1620,11 @@ module Google
|
|
1468
1620
|
end
|
1469
1621
|
end
|
1470
1622
|
|
1471
|
-
class StageSchedule
|
1472
|
-
# @private
|
1473
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1474
|
-
property :actual_end_time, as: 'actualEndTime'
|
1475
|
-
property :actual_start_time, as: 'actualStartTime'
|
1476
|
-
property :estimated_end_time, as: 'estimatedEndTime'
|
1477
|
-
property :estimated_start_time, as: 'estimatedStartTime'
|
1478
|
-
end
|
1479
|
-
end
|
1480
|
-
|
1481
1623
|
class StageStatus
|
1482
1624
|
# @private
|
1483
1625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1484
1626
|
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus::Representation
|
1485
1627
|
|
1486
|
-
property :schedule, as: 'schedule', class: Google::Apis::AlloydbV1::StageSchedule, decorator: Google::Apis::AlloydbV1::StageSchedule::Representation
|
1487
|
-
|
1488
1628
|
property :stage, as: 'stage'
|
1489
1629
|
property :state, as: 'state'
|
1490
1630
|
end
|
@@ -1676,6 +1816,8 @@ module Google
|
|
1676
1816
|
property :location, as: 'location'
|
1677
1817
|
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
|
1678
1818
|
|
1819
|
+
property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::Representation
|
1820
|
+
|
1679
1821
|
property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1680
1822
|
|
1681
1823
|
property :primary_resource_location, as: 'primaryResourceLocation'
|
@@ -1782,6 +1924,39 @@ module Google
|
|
1782
1924
|
end
|
1783
1925
|
end
|
1784
1926
|
|
1927
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
|
1928
|
+
# @private
|
1929
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1930
|
+
property :end_date, as: 'endDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
|
1931
|
+
|
1932
|
+
property :start_date, as: 'startDate', class: Google::Apis::AlloydbV1::GoogleTypeDate, decorator: Google::Apis::AlloydbV1::GoogleTypeDate::Representation
|
1933
|
+
|
1934
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
|
1935
|
+
|
1936
|
+
end
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
|
1940
|
+
# @private
|
1941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1942
|
+
collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
|
1943
|
+
|
1944
|
+
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
|
1945
|
+
|
1946
|
+
property :maintenance_version, as: 'maintenanceVersion'
|
1947
|
+
end
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule
|
1951
|
+
# @private
|
1952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1953
|
+
property :day, as: 'day'
|
1954
|
+
property :phase, as: 'phase'
|
1955
|
+
property :time, as: 'time', class: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay, decorator: Google::Apis::AlloydbV1::GoogleTypeTimeOfDay::Representation
|
1956
|
+
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1785
1960
|
class StorageDatabasecenterPartnerapiV1mainRetentionSettings
|
1786
1961
|
# @private
|
1787
1962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1736,6 +1736,13 @@ module Google
|
|
1736
1736
|
# The standard list page size.
|
1737
1737
|
# @param [String] page_token
|
1738
1738
|
# The standard list page token.
|
1739
|
+
# @param [Boolean] return_partial_success
|
1740
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
1741
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
1742
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
1743
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
1744
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
1745
|
+
# explicitly documented otherwise in service or product specific documentation.
|
1739
1746
|
# @param [String] fields
|
1740
1747
|
# Selector specifying which fields to include in a partial response.
|
1741
1748
|
# @param [String] quota_user
|
@@ -1753,7 +1760,7 @@ module Google
|
|
1753
1760
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1754
1761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1755
1762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1756
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1763
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1757
1764
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
1758
1765
|
command.response_representation = Google::Apis::AlloydbV1::ListOperationsResponse::Representation
|
1759
1766
|
command.response_class = Google::Apis::AlloydbV1::ListOperationsResponse
|
@@ -1761,6 +1768,7 @@ module Google
|
|
1761
1768
|
command.query['filter'] = filter unless filter.nil?
|
1762
1769
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1763
1770
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1771
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1764
1772
|
command.query['fields'] = fields unless fields.nil?
|
1765
1773
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1766
1774
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.47.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|