google-apis-alloydb_v1 0.68.0 → 0.69.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: 1bcf687bb5a0d6fdb1620b21851c4fdf79ad324442faaa09f2f5a8ba1d5109ad
|
|
4
|
+
data.tar.gz: f17f784432653554a62f7acea64f0200dbf508c80952b782e5a2b644683bc430
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5836f88b32d208fe484667d9fff78b2cdb62334e4bce5ac3d397bc2b445a3ce70283d13f5ee3298aa20aa829977c2fc3d14db0de85bd0052982f23f667dd209
|
|
7
|
+
data.tar.gz: 49d7b02553d5fcd867980a2d910c7689ae9e41d5c698bcd0bd02c9eedb1c26dc199df6c425b802e2b7d88b7e85639822bcf563787e59c925fe38edcf6c0cec03
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
|
2
2
|
|
|
3
|
+
### v0.69.0 (2026-10-21)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261006
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
3
8
|
### v0.68.0 (2026-10-04)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20260924
|
|
@@ -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.
|
|
@@ -1116,6 +1142,25 @@ module Google
|
|
|
1116
1142
|
end
|
|
1117
1143
|
end
|
|
1118
1144
|
|
|
1145
|
+
# CPU utilization policy for the autoscaler.
|
|
1146
|
+
class CpuUtilization
|
|
1147
|
+
include Google::Apis::Core::Hashable
|
|
1148
|
+
|
|
1149
|
+
# Target CPU utilization as a float between 0 and 1.
|
|
1150
|
+
# Corresponds to the JSON property `utilizationTarget`
|
|
1151
|
+
# @return [Float]
|
|
1152
|
+
attr_accessor :utilization_target
|
|
1153
|
+
|
|
1154
|
+
def initialize(**args)
|
|
1155
|
+
update!(**args)
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
# Update properties of this object
|
|
1159
|
+
def update!(**args)
|
|
1160
|
+
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
|
1161
|
+
end
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1119
1164
|
# Options for exporting data in CSV format.
|
|
1120
1165
|
class CsvExportOptions
|
|
1121
1166
|
include Google::Apis::Core::Hashable
|
|
@@ -1929,9 +1974,10 @@ module Google
|
|
|
1929
1974
|
# @return [Google::Apis::AlloydbV1::PscInstanceInfo]
|
|
1930
1975
|
attr_accessor :psc_instance_info
|
|
1931
1976
|
|
|
1932
|
-
# Output only. The public IP
|
|
1933
|
-
# when enable_public_ip is set
|
|
1934
|
-
#
|
|
1977
|
+
# Output only. The public IP address for the Instance. This is available ONLY
|
|
1978
|
+
# when `enable_public_ip` is set or when you have upgraded from an Express
|
|
1979
|
+
# Instance that has public DNS enabled. This field is not available for Express
|
|
1980
|
+
# Instances. This is the connection endpoint for an end-user application.
|
|
1935
1981
|
# Corresponds to the JSON property `publicIpAddress`
|
|
1936
1982
|
# @return [String]
|
|
1937
1983
|
attr_accessor :public_ip_address
|
|
@@ -2818,6 +2864,47 @@ module Google
|
|
|
2818
2864
|
end
|
|
2819
2865
|
end
|
|
2820
2866
|
|
|
2867
|
+
# Policy for the autoscaler.
|
|
2868
|
+
class Policy
|
|
2869
|
+
include Google::Apis::Core::Hashable
|
|
2870
|
+
|
|
2871
|
+
# The period of time in seconds after a new node is created before the
|
|
2872
|
+
# autoscaler will incorporate its resource usage (e.g. CPU utilization) into the
|
|
2873
|
+
# autoscaling recommendation algorithm.
|
|
2874
|
+
# Corresponds to the JSON property `coolDownPeriodSec`
|
|
2875
|
+
# @return [Fixnum]
|
|
2876
|
+
attr_accessor :cool_down_period_sec
|
|
2877
|
+
|
|
2878
|
+
# CPU utilization policy for the autoscaler.
|
|
2879
|
+
# Corresponds to the JSON property `cpuUtilization`
|
|
2880
|
+
# @return [Google::Apis::AlloydbV1::CpuUtilization]
|
|
2881
|
+
attr_accessor :cpu_utilization
|
|
2882
|
+
|
|
2883
|
+
# If true, autoscaling is enabled for the instance. If not set, the default
|
|
2884
|
+
# value is false.
|
|
2885
|
+
# Corresponds to the JSON property `enabled`
|
|
2886
|
+
# @return [Boolean]
|
|
2887
|
+
attr_accessor :enabled
|
|
2888
|
+
alias_method :enabled?, :enabled
|
|
2889
|
+
|
|
2890
|
+
# Maximum number of nodes for the autoscaler.
|
|
2891
|
+
# Corresponds to the JSON property `maxNodeCount`
|
|
2892
|
+
# @return [Fixnum]
|
|
2893
|
+
attr_accessor :max_node_count
|
|
2894
|
+
|
|
2895
|
+
def initialize(**args)
|
|
2896
|
+
update!(**args)
|
|
2897
|
+
end
|
|
2898
|
+
|
|
2899
|
+
# Update properties of this object
|
|
2900
|
+
def update!(**args)
|
|
2901
|
+
@cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec)
|
|
2902
|
+
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
|
|
2903
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
2904
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
|
2905
|
+
end
|
|
2906
|
+
end
|
|
2907
|
+
|
|
2821
2908
|
# Configuration for the primary cluster. It has the list of clusters that are
|
|
2822
2909
|
# replicating from this cluster. This should be set if and only if the cluster
|
|
2823
2910
|
# is of type PRIMARY.
|
|
@@ -3272,6 +3359,11 @@ module Google
|
|
|
3272
3359
|
class ReadPoolConfig
|
|
3273
3360
|
include Google::Apis::Core::Hashable
|
|
3274
3361
|
|
|
3362
|
+
# Configuration for autoscaling.
|
|
3363
|
+
# Corresponds to the JSON property `autoScalingConfig`
|
|
3364
|
+
# @return [Google::Apis::AlloydbV1::AutoScalingConfig]
|
|
3365
|
+
attr_accessor :auto_scaling_config
|
|
3366
|
+
|
|
3275
3367
|
# Read capacity, i.e. number of nodes in a read pool instance.
|
|
3276
3368
|
# Corresponds to the JSON property `nodeCount`
|
|
3277
3369
|
# @return [Fixnum]
|
|
@@ -3283,6 +3375,7 @@ module Google
|
|
|
3283
3375
|
|
|
3284
3376
|
# Update properties of this object
|
|
3285
3377
|
def update!(**args)
|
|
3378
|
+
@auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
|
|
3286
3379
|
@node_count = args[:node_count] if args.key?(:node_count)
|
|
3287
3380
|
end
|
|
3288
3381
|
end
|
|
@@ -3459,6 +3552,64 @@ module Google
|
|
|
3459
3552
|
end
|
|
3460
3553
|
end
|
|
3461
3554
|
|
|
3555
|
+
# A schedule for the autoscaler.
|
|
3556
|
+
class Schedule
|
|
3557
|
+
include Google::Apis::Core::Hashable
|
|
3558
|
+
|
|
3559
|
+
# Cron expression for the triggering the schedule. See https://cloud.google.com/
|
|
3560
|
+
# compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.
|
|
3561
|
+
# Corresponds to the JSON property `cronExpression`
|
|
3562
|
+
# @return [String]
|
|
3563
|
+
attr_accessor :cron_expression
|
|
3564
|
+
|
|
3565
|
+
# Description of the schedule.
|
|
3566
|
+
# Corresponds to the JSON property `description`
|
|
3567
|
+
# @return [String]
|
|
3568
|
+
attr_accessor :description
|
|
3569
|
+
|
|
3570
|
+
# If true, the schedule is disabled.
|
|
3571
|
+
# Corresponds to the JSON property `disabled`
|
|
3572
|
+
# @return [Boolean]
|
|
3573
|
+
attr_accessor :disabled
|
|
3574
|
+
alias_method :disabled?, :disabled
|
|
3575
|
+
|
|
3576
|
+
# Duration of the schedule.
|
|
3577
|
+
# Corresponds to the JSON property `durationSec`
|
|
3578
|
+
# @return [Fixnum]
|
|
3579
|
+
attr_accessor :duration_sec
|
|
3580
|
+
|
|
3581
|
+
# Minimum number of nodes in while the schedule is active.
|
|
3582
|
+
# Corresponds to the JSON property `minNodeCount`
|
|
3583
|
+
# @return [Fixnum]
|
|
3584
|
+
attr_accessor :min_node_count
|
|
3585
|
+
|
|
3586
|
+
# Name of the schedule.
|
|
3587
|
+
# Corresponds to the JSON property `name`
|
|
3588
|
+
# @return [String]
|
|
3589
|
+
attr_accessor :name
|
|
3590
|
+
|
|
3591
|
+
# The location-based IANA time zone for interpreting the schedule's start time.
|
|
3592
|
+
# If no time zone is provided, UTC is used by default.
|
|
3593
|
+
# Corresponds to the JSON property `timeZone`
|
|
3594
|
+
# @return [String]
|
|
3595
|
+
attr_accessor :time_zone
|
|
3596
|
+
|
|
3597
|
+
def initialize(**args)
|
|
3598
|
+
update!(**args)
|
|
3599
|
+
end
|
|
3600
|
+
|
|
3601
|
+
# Update properties of this object
|
|
3602
|
+
def update!(**args)
|
|
3603
|
+
@cron_expression = args[:cron_expression] if args.key?(:cron_expression)
|
|
3604
|
+
@description = args[:description] if args.key?(:description)
|
|
3605
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
3606
|
+
@duration_sec = args[:duration_sec] if args.key?(:duration_sec)
|
|
3607
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
|
3608
|
+
@name = args[:name] if args.key?(:name)
|
|
3609
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
3610
|
+
end
|
|
3611
|
+
end
|
|
3612
|
+
|
|
3462
3613
|
# Configuration information for the secondary cluster. This should be set if and
|
|
3463
3614
|
# only if the cluster is of type SECONDARY.
|
|
3464
3615
|
class SecondaryConfig
|
|
@@ -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.69.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261006"
|
|
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
|
|
|
@@ -136,6 +142,12 @@ module Google
|
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
143
|
end
|
|
138
144
|
|
|
145
|
+
class CpuUtilization
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
139
151
|
class CsvExportOptions
|
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
153
|
|
|
@@ -376,6 +388,12 @@ module Google
|
|
|
376
388
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
389
|
end
|
|
378
390
|
|
|
391
|
+
class Policy
|
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
393
|
+
|
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
395
|
+
end
|
|
396
|
+
|
|
379
397
|
class PrimaryConfig
|
|
380
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
399
|
|
|
@@ -472,6 +490,12 @@ module Google
|
|
|
472
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
473
491
|
end
|
|
474
492
|
|
|
493
|
+
class Schedule
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
475
499
|
class SecondaryConfig
|
|
476
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
501
|
|
|
@@ -785,6 +809,16 @@ module Google
|
|
|
785
809
|
end
|
|
786
810
|
end
|
|
787
811
|
|
|
812
|
+
class AutoScalingConfig
|
|
813
|
+
# @private
|
|
814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
815
|
+
property :policy, as: 'policy', class: Google::Apis::AlloydbV1::Policy, decorator: Google::Apis::AlloydbV1::Policy::Representation
|
|
816
|
+
|
|
817
|
+
collection :schedules, as: 'schedules', class: Google::Apis::AlloydbV1::Schedule, decorator: Google::Apis::AlloydbV1::Schedule::Representation
|
|
818
|
+
|
|
819
|
+
end
|
|
820
|
+
end
|
|
821
|
+
|
|
788
822
|
class AutomatedBackupPolicy
|
|
789
823
|
# @private
|
|
790
824
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1045,6 +1079,13 @@ module Google
|
|
|
1045
1079
|
end
|
|
1046
1080
|
end
|
|
1047
1081
|
|
|
1082
|
+
class CpuUtilization
|
|
1083
|
+
# @private
|
|
1084
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1085
|
+
property :utilization_target, as: 'utilizationTarget'
|
|
1086
|
+
end
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1048
1089
|
class CsvExportOptions
|
|
1049
1090
|
# @private
|
|
1050
1091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1477,6 +1518,17 @@ module Google
|
|
|
1477
1518
|
end
|
|
1478
1519
|
end
|
|
1479
1520
|
|
|
1521
|
+
class Policy
|
|
1522
|
+
# @private
|
|
1523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1524
|
+
property :cool_down_period_sec, :numeric_string => true, as: 'coolDownPeriodSec'
|
|
1525
|
+
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AlloydbV1::CpuUtilization, decorator: Google::Apis::AlloydbV1::CpuUtilization::Representation
|
|
1526
|
+
|
|
1527
|
+
property :enabled, as: 'enabled'
|
|
1528
|
+
property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
|
|
1529
|
+
end
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1480
1532
|
class PrimaryConfig
|
|
1481
1533
|
# @private
|
|
1482
1534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1587,6 +1639,8 @@ module Google
|
|
|
1587
1639
|
class ReadPoolConfig
|
|
1588
1640
|
# @private
|
|
1589
1641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1642
|
+
property :auto_scaling_config, as: 'autoScalingConfig', class: Google::Apis::AlloydbV1::AutoScalingConfig, decorator: Google::Apis::AlloydbV1::AutoScalingConfig::Representation
|
|
1643
|
+
|
|
1590
1644
|
property :node_count, as: 'nodeCount'
|
|
1591
1645
|
end
|
|
1592
1646
|
end
|
|
@@ -1638,6 +1692,19 @@ module Google
|
|
|
1638
1692
|
end
|
|
1639
1693
|
end
|
|
1640
1694
|
|
|
1695
|
+
class Schedule
|
|
1696
|
+
# @private
|
|
1697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1698
|
+
property :cron_expression, as: 'cronExpression'
|
|
1699
|
+
property :description, as: 'description'
|
|
1700
|
+
property :disabled, as: 'disabled'
|
|
1701
|
+
property :duration_sec, :numeric_string => true, as: 'durationSec'
|
|
1702
|
+
property :min_node_count, :numeric_string => true, as: 'minNodeCount'
|
|
1703
|
+
property :name, as: 'name'
|
|
1704
|
+
property :time_zone, as: 'timeZone'
|
|
1705
|
+
end
|
|
1706
|
+
end
|
|
1707
|
+
|
|
1641
1708
|
class SecondaryConfig
|
|
1642
1709
|
# @private
|
|
1643
1710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.69.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.69.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:
|