@@ -181,7 +181,7 @@ def update!(**args)
181181 end
182182 end
183183
184- # A backup resource. Next ID: 30
184+ # A backup resource.
185185 class Backup
186186 include Google ::Apis ::Core ::Hashable
187187
@@ -3666,6 +3666,34 @@ def update!(**args)
36663666 end
36673667 end
36683668
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+
36693697 # The additional metadata information regarding the execution of the SQL
36703698 # statements.
36713699 class Metadata
@@ -4511,6 +4539,52 @@ def update!(**args)
45114539 end
45124540 end
45134541
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+
45144588 # Read-replica configuration for connecting to the primary instance.
45154589 class ReplicaConfiguration
45164590 include Google ::Apis ::Core ::Hashable
@@ -4949,6 +5023,11 @@ class Settings
49495023 # @return [String]
49505024 attr_accessor :pricing_plan
49515025
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+
49525031 # Optional. Configuration value for recreation of replica after certain
49535032 # replication lag.
49545033 # Corresponds to the JSON property `replicationLagMaxSeconds`
@@ -5050,6 +5129,7 @@ def update!(**args)
50505129 @maintenance_window = args [ :maintenance_window ] if args . key? ( :maintenance_window )
50515130 @password_validation_policy = args [ :password_validation_policy ] if args . key? ( :password_validation_policy )
50525131 @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 )
50535133 @replication_lag_max_seconds = args [ :replication_lag_max_seconds ] if args . key? ( :replication_lag_max_seconds )
50545134 @replication_type = args [ :replication_type ] if args . key? ( :replication_type )
50555135 @retain_backups_on_delete = args [ :retain_backups_on_delete ] if args . key? ( :retain_backups_on_delete )
@@ -5168,6 +5248,15 @@ def update!(**args)
51685248 class SqlInstancesExecuteSqlResponse
51695249 include Google ::Apis ::Core ::Hashable
51705250
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+
51715260 # The additional metadata information regarding the execution of the SQL
51725261 # statements.
51735262 # Corresponds to the JSON property `metadata`
@@ -5185,6 +5274,7 @@ def initialize(**args)
51855274
51865275 # Update properties of this object
51875276 def update! ( **args )
5277+ @messages = args [ :messages ] if args . key? ( :messages )
51885278 @metadata = args [ :metadata ] if args . key? ( :metadata )
51895279 @results = args [ :results ] if args . key? ( :results )
51905280 end
@@ -5857,6 +5947,31 @@ def update!(**args)
58575947 end
58585948 end
58595949
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+
58605975 # A Google Cloud SQL service tier resource.
58615976 class Tier
58625977 include Google ::Apis ::Core ::Hashable
@@ -5975,6 +6090,11 @@ class User
59756090 # @return [String]
59766091 attr_accessor :host
59776092
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+
59786098 # The name of the Cloud SQL instance. This does not include the project ID. Can
59796099 # be omitted for *update* because it is already specified on the URL.
59806100 # Corresponds to the JSON property `instance`
@@ -6029,6 +6149,7 @@ def update!(**args)
60296149 @dual_password_type = args [ :dual_password_type ] if args . key? ( :dual_password_type )
60306150 @etag = args [ :etag ] if args . key? ( :etag )
60316151 @host = args [ :host ] if args . key? ( :host )
6152+ @iam_status = args [ :iam_status ] if args . key? ( :iam_status )
60326153 @instance = args [ :instance ] if args . key? ( :instance )
60336154 @kind = args [ :kind ] if args . key? ( :kind )
60346155 @name = args [ :name ] if args . key? ( :name )
0 commit comments