Skip to content

Commit 62d6af0

Browse files
feat: Automated regeneration of sqladmin v1beta4 client
1 parent 071ddd9 commit 62d6af0

File tree

6 files changed

+200
-4
lines changed

6 files changed

+200
-4
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357524,6 +357524,9 @@
357524357524
"/sqladmin:v1beta4/MaintenanceWindow/hour": hour
357525357525
"/sqladmin:v1beta4/MaintenanceWindow/kind": kind
357526357526
"/sqladmin:v1beta4/MaintenanceWindow/updateTrack": update_track
357527+
"/sqladmin:v1beta4/Message": message
357528+
"/sqladmin:v1beta4/Message/message": message
357529+
"/sqladmin:v1beta4/Message/severity": severity
357527357530
"/sqladmin:v1beta4/Metadata": metadata
357528357531
"/sqladmin:v1beta4/Metadata/sqlStatementExecutionTime": sql_statement_execution_time
357529357532
"/sqladmin:v1beta4/MySqlReplicaConfiguration": my_sql_replica_configuration
@@ -357650,6 +357653,13 @@
357650357653
"/sqladmin:v1beta4/QueryResult/partialResult": partial_result
357651357654
"/sqladmin:v1beta4/QueryResult/rows": rows
357652357655
"/sqladmin:v1beta4/QueryResult/rows/row": row
357656+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig": read_pool_auto_scale_config
357657+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/disableScaleIn": disable_scale_in
357658+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/enabled": enabled
357659+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/maxNodeCount": max_node_count
357660+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/minNodeCount": min_node_count
357661+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/targetMetrics": target_metrics
357662+
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/targetMetrics/target_metric": target_metric
357653357663
"/sqladmin:v1beta4/ReplicaConfiguration": replica_configuration
357654357664
"/sqladmin:v1beta4/ReplicaConfiguration/cascadableReplica": cascadable_replica
357655357665
"/sqladmin:v1beta4/ReplicaConfiguration/failoverTarget": failover_target
@@ -357714,6 +357724,7 @@
357714357724
"/sqladmin:v1beta4/Settings/maintenanceWindow": maintenance_window
357715357725
"/sqladmin:v1beta4/Settings/passwordValidationPolicy": password_validation_policy
357716357726
"/sqladmin:v1beta4/Settings/pricingPlan": pricing_plan
357727+
"/sqladmin:v1beta4/Settings/readPoolAutoScaleConfig": read_pool_auto_scale_config
357717357728
"/sqladmin:v1beta4/Settings/replicationLagMaxSeconds": replication_lag_max_seconds
357718357729
"/sqladmin:v1beta4/Settings/replicationType": replication_type
357719357730
"/sqladmin:v1beta4/Settings/retainBackupsOnDelete": retain_backups_on_delete
@@ -357740,6 +357751,8 @@
357740357751
"/sqladmin:v1beta4/SqlInstancesAcquireSsrsLeaseResponse": sql_instances_acquire_ssrs_lease_response
357741357752
"/sqladmin:v1beta4/SqlInstancesAcquireSsrsLeaseResponse/operationId": operation_id
357742357753
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse": sql_instances_execute_sql_response
357754+
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/messages": messages
357755+
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/messages/message": message
357743357756
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/metadata": metadata
357744357757
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/results": results
357745357758
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/results/result": result
@@ -357830,6 +357843,9 @@
357830357843
"/sqladmin:v1beta4/SyncFlags": sync_flags
357831357844
"/sqladmin:v1beta4/SyncFlags/name": name
357832357845
"/sqladmin:v1beta4/SyncFlags/value": value
357846+
"/sqladmin:v1beta4/TargetMetric": target_metric
357847+
"/sqladmin:v1beta4/TargetMetric/metric": metric
357848+
"/sqladmin:v1beta4/TargetMetric/targetValue": target_value
357833357849
"/sqladmin:v1beta4/Tier": tier
357834357850
"/sqladmin:v1beta4/Tier/DiskQuota": disk_quota
357835357851
"/sqladmin:v1beta4/Tier/RAM": ram
@@ -358009,6 +358025,7 @@
358009358025
"/sqladmin:v1beta4/sql.instances.releaseSsrsLease/project": project
358010358026
"/sqladmin:v1beta4/sql.instances.resetSslConfig": reset_instance_ssl_config
358011358027
"/sqladmin:v1beta4/sql.instances.resetSslConfig/instance": instance
358028+
"/sqladmin:v1beta4/sql.instances.resetSslConfig/mode": mode
358012358029
"/sqladmin:v1beta4/sql.instances.resetSslConfig/project": project
358013358030
"/sqladmin:v1beta4/sql.instances.restart": restart_instance
358014358031
"/sqladmin:v1beta4/sql.instances.restart/instance": instance

generated/google-apis-sqladmin_v1beta4/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-sqladmin_v1beta4
22

3+
### v0.90.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250908
6+
37
### v0.89.0 (2025-08-31)
48

59
* Regenerated from discovery document revision 20250823

generated/google-apis-sqladmin_v1beta4/lib/google/apis/sqladmin_v1beta4/classes.rb

Lines changed: 122 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)

generated/google-apis-sqladmin_v1beta4/lib/google/apis/sqladmin_v1beta4/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SqladminV1beta4
1818
# Version of the google-apis-sqladmin_v1beta4 gem
19-
GEM_VERSION = "0.89.0"
19+
GEM_VERSION = "0.90.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250823"
25+
REVISION = "20250908"
2626
end
2727
end
2828
end

generated/google-apis-sqladmin_v1beta4/lib/google/apis/sqladmin_v1beta4/representations.rb

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
502502
include Google::Apis::Core::JsonObjectSupport
503503
end
504504

505+
class Message
506+
class Representation < Google::Apis::Core::JsonRepresentation; end
507+
508+
include Google::Apis::Core::JsonObjectSupport
509+
end
510+
505511
class Metadata
506512
class Representation < Google::Apis::Core::JsonRepresentation; end
507513

@@ -604,6 +610,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
604610
include Google::Apis::Core::JsonObjectSupport
605611
end
606612

613+
class ReadPoolAutoScaleConfig
614+
class Representation < Google::Apis::Core::JsonRepresentation; end
615+
616+
include Google::Apis::Core::JsonObjectSupport
617+
end
618+
607619
class ReplicaConfiguration
608620
class Representation < Google::Apis::Core::JsonRepresentation; end
609621

@@ -808,6 +820,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
808820
include Google::Apis::Core::JsonObjectSupport
809821
end
810822

823+
class TargetMetric
824+
class Representation < Google::Apis::Core::JsonRepresentation; end
825+
826+
include Google::Apis::Core::JsonObjectSupport
827+
end
828+
811829
class Tier
812830
class Representation < Google::Apis::Core::JsonRepresentation; end
813831

@@ -1777,6 +1795,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
17771795
end
17781796
end
17791797

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+
17801806
class Metadata
17811807
# @private
17821808
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1990,6 +2016,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
19902016
end
19912017
end
19922018

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+
19932031
class ReplicaConfiguration
19942032
# @private
19952033
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2105,6 +2143,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
21052143
property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation
21062144

21072145
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+
21082148
property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
21092149
property :replication_type, as: 'replicationType'
21102150
property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
@@ -2150,6 +2190,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
21502190
class SqlInstancesExecuteSqlResponse
21512191
# @private
21522192
class Representation < Google::Apis::Core::JsonRepresentation
2193+
collection :messages, as: 'messages', class: Google::Apis::SqladminV1beta4::Message, decorator: Google::Apis::SqladminV1beta4::Message::Representation
2194+
21532195
property :metadata, as: 'metadata', class: Google::Apis::SqladminV1beta4::Metadata, decorator: Google::Apis::SqladminV1beta4::Metadata::Representation
21542196

21552197
collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
@@ -2355,6 +2397,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
23552397
end
23562398
end
23572399

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+
23582408
class Tier
23592409
# @private
23602410
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2389,6 +2439,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
23892439
property :dual_password_type, as: 'dualPasswordType'
23902440
property :etag, as: 'etag'
23912441
property :host, as: 'host'
2442+
property :iam_status, as: 'iamStatus'
23922443
property :instance, as: 'instance'
23932444
property :kind, as: 'kind'
23942445
property :name, as: 'name'

0 commit comments

Comments
 (0)