google-apis-alloydb_v1 0.47.0 → 0.48.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: f56b61637329bc8231c9dbd1401b2c5107341fd8d0999cd916fbc7b5c736a94b
4
- data.tar.gz: de5fe7cb2c86f4de2f059fc2beeda423e42bb7e40b56ebb2a34bd5a46f4ef60d
3
+ metadata.gz: c22b5427f7ed888870b1e7b8c8bd2eb2d21e766c3aecf4c301d378c2aa4c0f89
4
+ data.tar.gz: 14213029751584a95d7d4784b06f00cf4e6fdde42828438192310666ea18169b
5
5
  SHA512:
6
- metadata.gz: 5c47be7d3295d3f6dec6dc83ca632930c9d60ba6781aa3364257777d994be9c5ed78ded55bd38bdbb9e43431633b1f78b10ff0f0bec6e39681a0f59b896b082d
7
- data.tar.gz: 44683f937a792ef632498501f0ad514cc2c30d23e9c416dd0e94c198a2a014713da0bbded1c34217f278d6d849e7f4af0513e219e6699e55ac9110b45553e54a
6
+ metadata.gz: 53b52c677e1e66a7b9ef2dad56474a130bceee7a1e47067ad4ce7ba012b9c31e771f9a880937624992e8a74c2d220b9dd81fab57c30ebc15383461ff96d2bb5d
7
+ data.tar.gz: 2c36e8b3bb0a26503d6b976d8e9757ca19221aec3d1bab14aaab98d369379c056ef1c526df982d69d3322d08096299b8101a44026c13422ebfc1213b40584cea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.48.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251001
6
+
3
7
  ### v0.47.0 (2025-10-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20250925
@@ -41,32 +41,6 @@ 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
-
70
44
  # Message describing the user-specified automated backup policy. All fields in
71
45
  # the automated backup policy are optional. Defaults for each field are provided
72
46
  # if they are not set.
@@ -1111,25 +1085,6 @@ module Google
1111
1085
  end
1112
1086
  end
1113
1087
 
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
-
1133
1088
  # Options for exporting data in CSV format.
1134
1089
  class CsvExportOptions
1135
1090
  include Google::Apis::Core::Hashable
@@ -2664,47 +2619,6 @@ module Google
2664
2619
  end
2665
2620
  end
2666
2621
 
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
-
2708
2622
  # Configuration for the primary cluster. It has the list of clusters that are
2709
2623
  # replicating from this cluster. This should be set if and only if the cluster
2710
2624
  # is of type PRIMARY.
@@ -3035,11 +2949,6 @@ module Google
3035
2949
  class ReadPoolConfig
3036
2950
  include Google::Apis::Core::Hashable
3037
2951
 
3038
- # Configuration for autoscaling.
3039
- # Corresponds to the JSON property `autoScalingConfig`
3040
- # @return [Google::Apis::AlloydbV1::AutoScalingConfig]
3041
- attr_accessor :auto_scaling_config
3042
-
3043
2952
  # Read capacity, i.e. number of nodes in a read pool instance.
3044
2953
  # Corresponds to the JSON property `nodeCount`
3045
2954
  # @return [Fixnum]
@@ -3051,7 +2960,6 @@ module Google
3051
2960
 
3052
2961
  # Update properties of this object
3053
2962
  def update!(**args)
3054
- @auto_scaling_config = args[:auto_scaling_config] if args.key?(:auto_scaling_config)
3055
2963
  @node_count = args[:node_count] if args.key?(:node_count)
3056
2964
  end
3057
2965
  end
@@ -3228,64 +3136,6 @@ module Google
3228
3136
  end
3229
3137
  end
3230
3138
 
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
-
3289
3139
  # Configuration information for the secondary cluster. This should be set if and
3290
3140
  # only if the cluster is of type SECONDARY.
3291
3141
  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.47.0"
19
+ GEM_VERSION = "0.48.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 = "20250925"
25
+ REVISION = "20251001"
26
26
  end
27
27
  end
28
28
  end
@@ -28,12 +28,6 @@ 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
-
37
31
  class AutomatedBackupPolicy
38
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
33
 
@@ -142,12 +136,6 @@ module Google
142
136
  include Google::Apis::Core::JsonObjectSupport
143
137
  end
144
138
 
145
- class CpuUtilization
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
139
  class CsvExportOptions
152
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
141
 
@@ -370,12 +358,6 @@ module Google
370
358
  include Google::Apis::Core::JsonObjectSupport
371
359
  end
372
360
 
373
- class Policy
374
- class Representation < Google::Apis::Core::JsonRepresentation; end
375
-
376
- include Google::Apis::Core::JsonObjectSupport
377
- end
378
-
379
361
  class PrimaryConfig
380
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
363
 
@@ -460,12 +442,6 @@ module Google
460
442
  include Google::Apis::Core::JsonObjectSupport
461
443
  end
462
444
 
463
- class Schedule
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
445
  class SecondaryConfig
470
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
447
 
@@ -755,16 +731,6 @@ module Google
755
731
  end
756
732
  end
757
733
 
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
-
768
734
  class AutomatedBackupPolicy
769
735
  # @private
770
736
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1019,13 +985,6 @@ module Google
1019
985
  end
1020
986
  end
1021
987
 
1022
- class CpuUtilization
1023
- # @private
1024
- class Representation < Google::Apis::Core::JsonRepresentation
1025
- property :utilization_target, as: 'utilizationTarget'
1026
- end
1027
- end
1028
-
1029
988
  class CsvExportOptions
1030
989
  # @private
1031
990
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1420,17 +1379,6 @@ module Google
1420
1379
  end
1421
1380
  end
1422
1381
 
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
-
1434
1382
  class PrimaryConfig
1435
1383
  # @private
1436
1384
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1514,8 +1462,6 @@ module Google
1514
1462
  class ReadPoolConfig
1515
1463
  # @private
1516
1464
  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
-
1519
1465
  property :node_count, as: 'nodeCount'
1520
1466
  end
1521
1467
  end
@@ -1567,19 +1513,6 @@ module Google
1567
1513
  end
1568
1514
  end
1569
1515
 
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
-
1583
1516
  class SecondaryConfig
1584
1517
  # @private
1585
1518
  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.47.0
4
+ version: 0.48.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.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.48.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: