google-apis-sqladmin_v1beta4 0.89.0 → 0.90.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: 74d2e46f2b8edf2edb3dc87227f8721e2394dfa909772ae026eb17158cd06eb2
4
- data.tar.gz: d48035103a2197072ba1af3f47b83abcbeb2bd3e943c64ac858e7d29cd28db62
3
+ metadata.gz: c0d125abe1d27cd8bd99dac768632757fc1864126fa9a7c49a01fd2e88e3873c
4
+ data.tar.gz: c2483c64d153f7331e57503147f146b9af7328c124042ad992f9b6f114e2728e
5
5
  SHA512:
6
- metadata.gz: 181ce10cf6afc8251079f7f291a5dd0e2125903e13481d4fad7c6dc8f6c43352b23cc7c08cde2272de99aece10e1e6cc6e5de124cf73303486a529cb2ab26bab
7
- data.tar.gz: 4b9626be2203062744dc6ac45dcd07f4e3abd5dfe2de5b5e00443a72b118b3605a956310588d4e3469a698edf0cace77a17b238059558d03ba5215816aa2d1c3
6
+ metadata.gz: 1913cebc5e4e89fe1fddc574e259b38a965ce87d60fcce718f4e058561b30c93c23430646dddb00162c611a51afde6cb5ec6a78a58e6a11cdaf123068db3c39f
7
+ data.tar.gz: 66f53cf367293d389d567dee5522b1bcf1dc8f5eeab9963b89a8dcdc2f8a6b48e4e6fc20154e062d259c5bf812025a106746bc8f872e44ae1c53eda02001c553
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.90.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250908
6
+
3
7
  ### v0.89.0 (2025-08-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20250823
@@ -181,7 +181,7 @@ module Google
181
181
  end
182
182
  end
183
183
 
184
- # A backup resource. Next ID: 30
184
+ # A backup resource.
185
185
  class Backup
186
186
  include Google::Apis::Core::Hashable
187
187
 
@@ -3666,6 +3666,34 @@ module Google
3666
3666
  end
3667
3667
  end
3668
3668
 
3669
+ # Represents a notice or warning message from the database.
3670
+ class Message
3671
+ include Google::Apis::Core::Hashable
3672
+
3673
+ # The full message string. For PostgreSQL, this is a formatted string that may
3674
+ # include severity, code, and the notice/warning message. For MySQL, this
3675
+ # contains the warning message.
3676
+ # Corresponds to the JSON property `message`
3677
+ # @return [String]
3678
+ attr_accessor :message
3679
+
3680
+ # The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
3681
+ # MySQL).
3682
+ # Corresponds to the JSON property `severity`
3683
+ # @return [String]
3684
+ attr_accessor :severity
3685
+
3686
+ def initialize(**args)
3687
+ update!(**args)
3688
+ end
3689
+
3690
+ # Update properties of this object
3691
+ def update!(**args)
3692
+ @message = args[:message] if args.key?(:message)
3693
+ @severity = args[:severity] if args.key?(:severity)
3694
+ end
3695
+ end
3696
+
3669
3697
  # The additional metadata information regarding the execution of the SQL
3670
3698
  # statements.
3671
3699
  class Metadata
@@ -4511,6 +4539,52 @@ module Google
4511
4539
  end
4512
4540
  end
4513
4541
 
4542
+ # The read pool auto-scale configuration.
4543
+ class ReadPoolAutoScaleConfig
4544
+ include Google::Apis::Core::Hashable
4545
+
4546
+ # Indicates whether read pool auto scaling supports scale in operations (
4547
+ # removing nodes).
4548
+ # Corresponds to the JSON property `disableScaleIn`
4549
+ # @return [Boolean]
4550
+ attr_accessor :disable_scale_in
4551
+ alias_method :disable_scale_in?, :disable_scale_in
4552
+
4553
+ # Indicates whether read pool auto scaling is enabled.
4554
+ # Corresponds to the JSON property `enabled`
4555
+ # @return [Boolean]
4556
+ attr_accessor :enabled
4557
+ alias_method :enabled?, :enabled
4558
+
4559
+ # Maximum number of read pool nodes to be maintained.
4560
+ # Corresponds to the JSON property `maxNodeCount`
4561
+ # @return [Fixnum]
4562
+ attr_accessor :max_node_count
4563
+
4564
+ # Minimum number of read pool nodes to be maintained.
4565
+ # Corresponds to the JSON property `minNodeCount`
4566
+ # @return [Fixnum]
4567
+ attr_accessor :min_node_count
4568
+
4569
+ # Optional. Target metrics for read pool auto scaling.
4570
+ # Corresponds to the JSON property `targetMetrics`
4571
+ # @return [Array<Google::Apis::SqladminV1beta4::TargetMetric>]
4572
+ attr_accessor :target_metrics
4573
+
4574
+ def initialize(**args)
4575
+ update!(**args)
4576
+ end
4577
+
4578
+ # Update properties of this object
4579
+ def update!(**args)
4580
+ @disable_scale_in = args[:disable_scale_in] if args.key?(:disable_scale_in)
4581
+ @enabled = args[:enabled] if args.key?(:enabled)
4582
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
4583
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
4584
+ @target_metrics = args[:target_metrics] if args.key?(:target_metrics)
4585
+ end
4586
+ end
4587
+
4514
4588
  # Read-replica configuration for connecting to the primary instance.
4515
4589
  class ReplicaConfiguration
4516
4590
  include Google::Apis::Core::Hashable
@@ -4949,6 +5023,11 @@ module Google
4949
5023
  # @return [String]
4950
5024
  attr_accessor :pricing_plan
4951
5025
 
5026
+ # The read pool auto-scale configuration.
5027
+ # Corresponds to the JSON property `readPoolAutoScaleConfig`
5028
+ # @return [Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig]
5029
+ attr_accessor :read_pool_auto_scale_config
5030
+
4952
5031
  # Optional. Configuration value for recreation of replica after certain
4953
5032
  # replication lag.
4954
5033
  # Corresponds to the JSON property `replicationLagMaxSeconds`
@@ -5050,6 +5129,7 @@ module Google
5050
5129
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5051
5130
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5052
5131
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5132
+ @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5053
5133
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
5054
5134
  @replication_type = args[:replication_type] if args.key?(:replication_type)
5055
5135
  @retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
@@ -5168,6 +5248,15 @@ module Google
5168
5248
  class SqlInstancesExecuteSqlResponse
5169
5249
  include Google::Apis::Core::Hashable
5170
5250
 
5251
+ # A list of notices and warnings generated during query execution. For
5252
+ # PostgreSQL, this includes all notices and warnings. For MySQL, this includes
5253
+ # warnings generated by the last executed statement. To retrieve all warnings
5254
+ # for a multi-statement query, `SHOW WARNINGS` must be executed after each
5255
+ # statement.
5256
+ # Corresponds to the JSON property `messages`
5257
+ # @return [Array<Google::Apis::SqladminV1beta4::Message>]
5258
+ attr_accessor :messages
5259
+
5171
5260
  # The additional metadata information regarding the execution of the SQL
5172
5261
  # statements.
5173
5262
  # Corresponds to the JSON property `metadata`
@@ -5185,6 +5274,7 @@ module Google
5185
5274
 
5186
5275
  # Update properties of this object
5187
5276
  def update!(**args)
5277
+ @messages = args[:messages] if args.key?(:messages)
5188
5278
  @metadata = args[:metadata] if args.key?(:metadata)
5189
5279
  @results = args[:results] if args.key?(:results)
5190
5280
  end
@@ -5857,6 +5947,31 @@ module Google
5857
5947
  end
5858
5948
  end
5859
5949
 
5950
+ # Target metric for read pool auto scaling.
5951
+ class TargetMetric
5952
+ include Google::Apis::Core::Hashable
5953
+
5954
+ # The metric name to be used for auto scaling.
5955
+ # Corresponds to the JSON property `metric`
5956
+ # @return [String]
5957
+ attr_accessor :metric
5958
+
5959
+ # The target value for the metric.
5960
+ # Corresponds to the JSON property `targetValue`
5961
+ # @return [Float]
5962
+ attr_accessor :target_value
5963
+
5964
+ def initialize(**args)
5965
+ update!(**args)
5966
+ end
5967
+
5968
+ # Update properties of this object
5969
+ def update!(**args)
5970
+ @metric = args[:metric] if args.key?(:metric)
5971
+ @target_value = args[:target_value] if args.key?(:target_value)
5972
+ end
5973
+ end
5974
+
5860
5975
  # A Google Cloud SQL service tier resource.
5861
5976
  class Tier
5862
5977
  include Google::Apis::Core::Hashable
@@ -5975,6 +6090,11 @@ module Google
5975
6090
  # @return [String]
5976
6091
  attr_accessor :host
5977
6092
 
6093
+ # Indicates if a group is active or inactive for IAM database authentication.
6094
+ # Corresponds to the JSON property `iamStatus`
6095
+ # @return [String]
6096
+ attr_accessor :iam_status
6097
+
5978
6098
  # The name of the Cloud SQL instance. This does not include the project ID. Can
5979
6099
  # be omitted for *update* because it is already specified on the URL.
5980
6100
  # Corresponds to the JSON property `instance`
@@ -6029,6 +6149,7 @@ module Google
6029
6149
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6030
6150
  @etag = args[:etag] if args.key?(:etag)
6031
6151
  @host = args[:host] if args.key?(:host)
6152
+ @iam_status = args[:iam_status] if args.key?(:iam_status)
6032
6153
  @instance = args[:instance] if args.key?(:instance)
6033
6154
  @kind = args[:kind] if args.key?(:kind)
6034
6155
  @name = args[:name] if args.key?(:name)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1beta4
18
18
  # Version of the google-apis-sqladmin_v1beta4 gem
19
- GEM_VERSION = "0.89.0"
19
+ GEM_VERSION = "0.90.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 = "20250823"
25
+ REVISION = "20250908"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,12 @@ module Google
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
+ class Message
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
505
511
  class Metadata
506
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
513
 
@@ -604,6 +610,12 @@ module Google
604
610
  include Google::Apis::Core::JsonObjectSupport
605
611
  end
606
612
 
613
+ class ReadPoolAutoScaleConfig
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
607
619
  class ReplicaConfiguration
608
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
621
 
@@ -808,6 +820,12 @@ module Google
808
820
  include Google::Apis::Core::JsonObjectSupport
809
821
  end
810
822
 
823
+ class TargetMetric
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
811
829
  class Tier
812
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
831
 
@@ -1777,6 +1795,14 @@ module Google
1777
1795
  end
1778
1796
  end
1779
1797
 
1798
+ class Message
1799
+ # @private
1800
+ class Representation < Google::Apis::Core::JsonRepresentation
1801
+ property :message, as: 'message'
1802
+ property :severity, as: 'severity'
1803
+ end
1804
+ end
1805
+
1780
1806
  class Metadata
1781
1807
  # @private
1782
1808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1990,6 +2016,18 @@ module Google
1990
2016
  end
1991
2017
  end
1992
2018
 
2019
+ class ReadPoolAutoScaleConfig
2020
+ # @private
2021
+ class Representation < Google::Apis::Core::JsonRepresentation
2022
+ property :disable_scale_in, as: 'disableScaleIn'
2023
+ property :enabled, as: 'enabled'
2024
+ property :max_node_count, as: 'maxNodeCount'
2025
+ property :min_node_count, as: 'minNodeCount'
2026
+ collection :target_metrics, as: 'targetMetrics', class: Google::Apis::SqladminV1beta4::TargetMetric, decorator: Google::Apis::SqladminV1beta4::TargetMetric::Representation
2027
+
2028
+ end
2029
+ end
2030
+
1993
2031
  class ReplicaConfiguration
1994
2032
  # @private
1995
2033
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2105,6 +2143,8 @@ module Google
2105
2143
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation
2106
2144
 
2107
2145
  property :pricing_plan, as: 'pricingPlan'
2146
+ property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig::Representation
2147
+
2108
2148
  property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
2109
2149
  property :replication_type, as: 'replicationType'
2110
2150
  property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
@@ -2150,6 +2190,8 @@ module Google
2150
2190
  class SqlInstancesExecuteSqlResponse
2151
2191
  # @private
2152
2192
  class Representation < Google::Apis::Core::JsonRepresentation
2193
+ collection :messages, as: 'messages', class: Google::Apis::SqladminV1beta4::Message, decorator: Google::Apis::SqladminV1beta4::Message::Representation
2194
+
2153
2195
  property :metadata, as: 'metadata', class: Google::Apis::SqladminV1beta4::Metadata, decorator: Google::Apis::SqladminV1beta4::Metadata::Representation
2154
2196
 
2155
2197
  collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
@@ -2355,6 +2397,14 @@ module Google
2355
2397
  end
2356
2398
  end
2357
2399
 
2400
+ class TargetMetric
2401
+ # @private
2402
+ class Representation < Google::Apis::Core::JsonRepresentation
2403
+ property :metric, as: 'metric'
2404
+ property :target_value, as: 'targetValue'
2405
+ end
2406
+ end
2407
+
2358
2408
  class Tier
2359
2409
  # @private
2360
2410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2389,6 +2439,7 @@ module Google
2389
2439
  property :dual_password_type, as: 'dualPasswordType'
2390
2440
  property :etag, as: 'etag'
2391
2441
  property :host, as: 'host'
2442
+ property :iam_status, as: 'iamStatus'
2392
2443
  property :instance, as: 'instance'
2393
2444
  property :kind, as: 'kind'
2394
2445
  property :name, as: 'name'
@@ -1561,6 +1561,8 @@ module Google
1561
1561
  # Project ID of the project that contains the instance.
1562
1562
  # @param [String] instance
1563
1563
  # Cloud SQL instance ID. This does not include the project ID.
1564
+ # @param [String] mode
1565
+ # Optional. Reset SSL mode to use.
1564
1566
  # @param [String] fields
1565
1567
  # Selector specifying which fields to include in a partial response.
1566
1568
  # @param [String] quota_user
@@ -1578,12 +1580,13 @@ module Google
1578
1580
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1579
1581
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1580
1582
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1581
- def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1583
+ def reset_instance_ssl_config(project, instance, mode: nil, fields: nil, quota_user: nil, options: nil, &block)
1582
1584
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig', options)
1583
1585
  command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1584
1586
  command.response_class = Google::Apis::SqladminV1beta4::Operation
1585
1587
  command.params['project'] = project unless project.nil?
1586
1588
  command.params['instance'] = instance unless instance.nil?
1589
+ command.query['mode'] = mode unless mode.nil?
1587
1590
  command.query['fields'] = fields unless fields.nil?
1588
1591
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1589
1592
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.89.0
4
+ version: 0.90.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-sqladmin_v1beta4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.89.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.90.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
62
62
  rdoc_options: []
63
63
  require_paths: