@@ -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
@@ -3665,6 +3665,34 @@ def update!(**args)
36653665 end
36663666 end
36673667
3668+ # Represents a notice or warning message from the database.
3669+ class Message
3670+ include Google ::Apis ::Core ::Hashable
3671+
3672+ # The full message string. For PostgreSQL, this is a formatted string that may
3673+ # include severity, code, and the notice/warning message. For MySQL, this
3674+ # contains the warning message.
3675+ # Corresponds to the JSON property `message`
3676+ # @return [String]
3677+ attr_accessor :message
3678+
3679+ # The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
3680+ # MySQL).
3681+ # Corresponds to the JSON property `severity`
3682+ # @return [String]
3683+ attr_accessor :severity
3684+
3685+ def initialize ( **args )
3686+ update! ( **args )
3687+ end
3688+
3689+ # Update properties of this object
3690+ def update! ( **args )
3691+ @message = args [ :message ] if args . key? ( :message )
3692+ @severity = args [ :severity ] if args . key? ( :severity )
3693+ end
3694+ end
3695+
36683696 # The additional metadata information regarding the execution of the SQL
36693697 # statements.
36703698 class Metadata
@@ -4510,6 +4538,52 @@ def update!(**args)
45104538 end
45114539 end
45124540
4541+ # The read pool auto-scale configuration.
4542+ class ReadPoolAutoScaleConfig
4543+ include Google ::Apis ::Core ::Hashable
4544+
4545+ # Indicates whether read pool auto scaling supports scale in operations (
4546+ # removing nodes).
4547+ # Corresponds to the JSON property `disableScaleIn`
4548+ # @return [Boolean]
4549+ attr_accessor :disable_scale_in
4550+ alias_method :disable_scale_in? , :disable_scale_in
4551+
4552+ # Indicates whether read pool auto scaling is enabled.
4553+ # Corresponds to the JSON property `enabled`
4554+ # @return [Boolean]
4555+ attr_accessor :enabled
4556+ alias_method :enabled? , :enabled
4557+
4558+ # Maximum number of read pool nodes to be maintained.
4559+ # Corresponds to the JSON property `maxNodeCount`
4560+ # @return [Fixnum]
4561+ attr_accessor :max_node_count
4562+
4563+ # Minimum number of read pool nodes to be maintained.
4564+ # Corresponds to the JSON property `minNodeCount`
4565+ # @return [Fixnum]
4566+ attr_accessor :min_node_count
4567+
4568+ # Optional. Target metrics for read pool auto scaling.
4569+ # Corresponds to the JSON property `targetMetrics`
4570+ # @return [Array<Google::Apis::SqladminV1::TargetMetric>]
4571+ attr_accessor :target_metrics
4572+
4573+ def initialize ( **args )
4574+ update! ( **args )
4575+ end
4576+
4577+ # Update properties of this object
4578+ def update! ( **args )
4579+ @disable_scale_in = args [ :disable_scale_in ] if args . key? ( :disable_scale_in )
4580+ @enabled = args [ :enabled ] if args . key? ( :enabled )
4581+ @max_node_count = args [ :max_node_count ] if args . key? ( :max_node_count )
4582+ @min_node_count = args [ :min_node_count ] if args . key? ( :min_node_count )
4583+ @target_metrics = args [ :target_metrics ] if args . key? ( :target_metrics )
4584+ end
4585+ end
4586+
45134587 # Read-replica configuration for connecting to the primary instance.
45144588 class ReplicaConfiguration
45154589 include Google ::Apis ::Core ::Hashable
@@ -4948,6 +5022,11 @@ class Settings
49485022 # @return [String]
49495023 attr_accessor :pricing_plan
49505024
5025+ # The read pool auto-scale configuration.
5026+ # Corresponds to the JSON property `readPoolAutoScaleConfig`
5027+ # @return [Google::Apis::SqladminV1::ReadPoolAutoScaleConfig]
5028+ attr_accessor :read_pool_auto_scale_config
5029+
49515030 # Optional. Configuration value for recreation of replica after certain
49525031 # replication lag
49535032 # Corresponds to the JSON property `replicationLagMaxSeconds`
@@ -5049,6 +5128,7 @@ def update!(**args)
50495128 @maintenance_window = args [ :maintenance_window ] if args . key? ( :maintenance_window )
50505129 @password_validation_policy = args [ :password_validation_policy ] if args . key? ( :password_validation_policy )
50515130 @pricing_plan = args [ :pricing_plan ] if args . key? ( :pricing_plan )
5131+ @read_pool_auto_scale_config = args [ :read_pool_auto_scale_config ] if args . key? ( :read_pool_auto_scale_config )
50525132 @replication_lag_max_seconds = args [ :replication_lag_max_seconds ] if args . key? ( :replication_lag_max_seconds )
50535133 @replication_type = args [ :replication_type ] if args . key? ( :replication_type )
50545134 @retain_backups_on_delete = args [ :retain_backups_on_delete ] if args . key? ( :retain_backups_on_delete )
@@ -5167,6 +5247,15 @@ def update!(**args)
51675247 class SqlInstancesExecuteSqlResponse
51685248 include Google ::Apis ::Core ::Hashable
51695249
5250+ # A list of notices and warnings generated during query execution. For
5251+ # PostgreSQL, this includes all notices and warnings. For MySQL, this includes
5252+ # warnings generated by the last executed statement. To retrieve all warnings
5253+ # for a multi-statement query, `SHOW WARNINGS` must be executed after each
5254+ # statement.
5255+ # Corresponds to the JSON property `messages`
5256+ # @return [Array<Google::Apis::SqladminV1::Message>]
5257+ attr_accessor :messages
5258+
51705259 # The additional metadata information regarding the execution of the SQL
51715260 # statements.
51725261 # Corresponds to the JSON property `metadata`
@@ -5184,6 +5273,7 @@ def initialize(**args)
51845273
51855274 # Update properties of this object
51865275 def update! ( **args )
5276+ @messages = args [ :messages ] if args . key? ( :messages )
51875277 @metadata = args [ :metadata ] if args . key? ( :metadata )
51885278 @results = args [ :results ] if args . key? ( :results )
51895279 end
@@ -5856,6 +5946,31 @@ def update!(**args)
58565946 end
58575947 end
58585948
5949+ # Target metric for read pool auto scaling.
5950+ class TargetMetric
5951+ include Google ::Apis ::Core ::Hashable
5952+
5953+ # The metric name to be used for auto scaling.
5954+ # Corresponds to the JSON property `metric`
5955+ # @return [String]
5956+ attr_accessor :metric
5957+
5958+ # The target value for the metric.
5959+ # Corresponds to the JSON property `targetValue`
5960+ # @return [Float]
5961+ attr_accessor :target_value
5962+
5963+ def initialize ( **args )
5964+ update! ( **args )
5965+ end
5966+
5967+ # Update properties of this object
5968+ def update! ( **args )
5969+ @metric = args [ :metric ] if args . key? ( :metric )
5970+ @target_value = args [ :target_value ] if args . key? ( :target_value )
5971+ end
5972+ end
5973+
58595974 # A Google Cloud SQL service tier resource.
58605975 class Tier
58615976 include Google ::Apis ::Core ::Hashable
@@ -5974,6 +6089,11 @@ class User
59746089 # @return [String]
59756090 attr_accessor :host
59766091
6092+ # Indicates if a group is active or inactive for IAM database authentication.
6093+ # Corresponds to the JSON property `iamStatus`
6094+ # @return [String]
6095+ attr_accessor :iam_status
6096+
59776097 # The name of the Cloud SQL instance. This does not include the project ID. Can
59786098 # be omitted for `update` because it is already specified on the URL.
59796099 # Corresponds to the JSON property `instance`
@@ -6028,6 +6148,7 @@ def update!(**args)
60286148 @dual_password_type = args [ :dual_password_type ] if args . key? ( :dual_password_type )
60296149 @etag = args [ :etag ] if args . key? ( :etag )
60306150 @host = args [ :host ] if args . key? ( :host )
6151+ @iam_status = args [ :iam_status ] if args . key? ( :iam_status )
60316152 @instance = args [ :instance ] if args . key? ( :instance )
60326153 @kind = args [ :kind ] if args . key? ( :kind )
60336154 @name = args [ :name ] if args . key? ( :name )
0 commit comments