Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -357524,6 +357524,9 @@
"/sqladmin:v1beta4/MaintenanceWindow/hour": hour
"/sqladmin:v1beta4/MaintenanceWindow/kind": kind
"/sqladmin:v1beta4/MaintenanceWindow/updateTrack": update_track
"/sqladmin:v1beta4/Message": message
"/sqladmin:v1beta4/Message/message": message
"/sqladmin:v1beta4/Message/severity": severity
"/sqladmin:v1beta4/Metadata": metadata
"/sqladmin:v1beta4/Metadata/sqlStatementExecutionTime": sql_statement_execution_time
"/sqladmin:v1beta4/MySqlReplicaConfiguration": my_sql_replica_configuration
Expand Down Expand Up @@ -357650,6 +357653,13 @@
"/sqladmin:v1beta4/QueryResult/partialResult": partial_result
"/sqladmin:v1beta4/QueryResult/rows": rows
"/sqladmin:v1beta4/QueryResult/rows/row": row
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig": read_pool_auto_scale_config
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/disableScaleIn": disable_scale_in
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/enabled": enabled
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/maxNodeCount": max_node_count
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/minNodeCount": min_node_count
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/targetMetrics": target_metrics
"/sqladmin:v1beta4/ReadPoolAutoScaleConfig/targetMetrics/target_metric": target_metric
"/sqladmin:v1beta4/ReplicaConfiguration": replica_configuration
"/sqladmin:v1beta4/ReplicaConfiguration/cascadableReplica": cascadable_replica
"/sqladmin:v1beta4/ReplicaConfiguration/failoverTarget": failover_target
Expand Down Expand Up @@ -357714,6 +357724,7 @@
"/sqladmin:v1beta4/Settings/maintenanceWindow": maintenance_window
"/sqladmin:v1beta4/Settings/passwordValidationPolicy": password_validation_policy
"/sqladmin:v1beta4/Settings/pricingPlan": pricing_plan
"/sqladmin:v1beta4/Settings/readPoolAutoScaleConfig": read_pool_auto_scale_config
"/sqladmin:v1beta4/Settings/replicationLagMaxSeconds": replication_lag_max_seconds
"/sqladmin:v1beta4/Settings/replicationType": replication_type
"/sqladmin:v1beta4/Settings/retainBackupsOnDelete": retain_backups_on_delete
Expand All @@ -357740,6 +357751,8 @@
"/sqladmin:v1beta4/SqlInstancesAcquireSsrsLeaseResponse": sql_instances_acquire_ssrs_lease_response
"/sqladmin:v1beta4/SqlInstancesAcquireSsrsLeaseResponse/operationId": operation_id
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse": sql_instances_execute_sql_response
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/messages": messages
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/messages/message": message
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/metadata": metadata
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/results": results
"/sqladmin:v1beta4/SqlInstancesExecuteSqlResponse/results/result": result
Expand Down Expand Up @@ -357830,6 +357843,9 @@
"/sqladmin:v1beta4/SyncFlags": sync_flags
"/sqladmin:v1beta4/SyncFlags/name": name
"/sqladmin:v1beta4/SyncFlags/value": value
"/sqladmin:v1beta4/TargetMetric": target_metric
"/sqladmin:v1beta4/TargetMetric/metric": metric
"/sqladmin:v1beta4/TargetMetric/targetValue": target_value
"/sqladmin:v1beta4/Tier": tier
"/sqladmin:v1beta4/Tier/DiskQuota": disk_quota
"/sqladmin:v1beta4/Tier/RAM": ram
Expand Down Expand Up @@ -358009,6 +358025,7 @@
"/sqladmin:v1beta4/sql.instances.releaseSsrsLease/project": project
"/sqladmin:v1beta4/sql.instances.resetSslConfig": reset_instance_ssl_config
"/sqladmin:v1beta4/sql.instances.resetSslConfig/instance": instance
"/sqladmin:v1beta4/sql.instances.resetSslConfig/mode": mode
"/sqladmin:v1beta4/sql.instances.resetSslConfig/project": project
"/sqladmin:v1beta4/sql.instances.restart": restart_instance
"/sqladmin:v1beta4/sql.instances.restart/instance": instance
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-sqladmin_v1beta4

### v0.90.0 (2025-09-21)

* Regenerated from discovery document revision 20250908

### v0.89.0 (2025-08-31)

* Regenerated from discovery document revision 20250823
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def update!(**args)
end
end

# A backup resource. Next ID: 30
# A backup resource.
class Backup
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -3666,6 +3666,34 @@ def update!(**args)
end
end

# Represents a notice or warning message from the database.
class Message
include Google::Apis::Core::Hashable

# The full message string. For PostgreSQL, this is a formatted string that may
# include severity, code, and the notice/warning message. For MySQL, this
# contains the warning message.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message

# The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
# MySQL).
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@message = args[:message] if args.key?(:message)
@severity = args[:severity] if args.key?(:severity)
end
end

# The additional metadata information regarding the execution of the SQL
# statements.
class Metadata
Expand Down Expand Up @@ -4511,6 +4539,52 @@ def update!(**args)
end
end

# The read pool auto-scale configuration.
class ReadPoolAutoScaleConfig
include Google::Apis::Core::Hashable

# Indicates whether read pool auto scaling supports scale in operations (
# removing nodes).
# Corresponds to the JSON property `disableScaleIn`
# @return [Boolean]
attr_accessor :disable_scale_in
alias_method :disable_scale_in?, :disable_scale_in

# Indicates whether read pool auto scaling is enabled.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled

# Maximum number of read pool nodes to be maintained.
# Corresponds to the JSON property `maxNodeCount`
# @return [Fixnum]
attr_accessor :max_node_count

# Minimum number of read pool nodes to be maintained.
# Corresponds to the JSON property `minNodeCount`
# @return [Fixnum]
attr_accessor :min_node_count

# Optional. Target metrics for read pool auto scaling.
# Corresponds to the JSON property `targetMetrics`
# @return [Array<Google::Apis::SqladminV1beta4::TargetMetric>]
attr_accessor :target_metrics

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@disable_scale_in = args[:disable_scale_in] if args.key?(:disable_scale_in)
@enabled = args[:enabled] if args.key?(:enabled)
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
@target_metrics = args[:target_metrics] if args.key?(:target_metrics)
end
end

# Read-replica configuration for connecting to the primary instance.
class ReplicaConfiguration
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -4949,6 +5023,11 @@ class Settings
# @return [String]
attr_accessor :pricing_plan

# The read pool auto-scale configuration.
# Corresponds to the JSON property `readPoolAutoScaleConfig`
# @return [Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig]
attr_accessor :read_pool_auto_scale_config

# Optional. Configuration value for recreation of replica after certain
# replication lag.
# Corresponds to the JSON property `replicationLagMaxSeconds`
Expand Down Expand Up @@ -5050,6 +5129,7 @@ def update!(**args)
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
@password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
@read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
@replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
@replication_type = args[:replication_type] if args.key?(:replication_type)
@retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
Expand Down Expand Up @@ -5168,6 +5248,15 @@ def update!(**args)
class SqlInstancesExecuteSqlResponse
include Google::Apis::Core::Hashable

# A list of notices and warnings generated during query execution. For
# PostgreSQL, this includes all notices and warnings. For MySQL, this includes
# warnings generated by the last executed statement. To retrieve all warnings
# for a multi-statement query, `SHOW WARNINGS` must be executed after each
# statement.
# Corresponds to the JSON property `messages`
# @return [Array<Google::Apis::SqladminV1beta4::Message>]
attr_accessor :messages

# The additional metadata information regarding the execution of the SQL
# statements.
# Corresponds to the JSON property `metadata`
Expand All @@ -5185,6 +5274,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@messages = args[:messages] if args.key?(:messages)
@metadata = args[:metadata] if args.key?(:metadata)
@results = args[:results] if args.key?(:results)
end
Expand Down Expand Up @@ -5857,6 +5947,31 @@ def update!(**args)
end
end

# Target metric for read pool auto scaling.
class TargetMetric
include Google::Apis::Core::Hashable

# The metric name to be used for auto scaling.
# Corresponds to the JSON property `metric`
# @return [String]
attr_accessor :metric

# The target value for the metric.
# Corresponds to the JSON property `targetValue`
# @return [Float]
attr_accessor :target_value

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@metric = args[:metric] if args.key?(:metric)
@target_value = args[:target_value] if args.key?(:target_value)
end
end

# A Google Cloud SQL service tier resource.
class Tier
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -5975,6 +6090,11 @@ class User
# @return [String]
attr_accessor :host

# Indicates if a group is active or inactive for IAM database authentication.
# Corresponds to the JSON property `iamStatus`
# @return [String]
attr_accessor :iam_status

# The name of the Cloud SQL instance. This does not include the project ID. Can
# be omitted for *update* because it is already specified on the URL.
# Corresponds to the JSON property `instance`
Expand Down Expand Up @@ -6029,6 +6149,7 @@ def update!(**args)
@dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
@etag = args[:etag] if args.key?(:etag)
@host = args[:host] if args.key?(:host)
@iam_status = args[:iam_status] if args.key?(:iam_status)
@instance = args[:instance] if args.key?(:instance)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module SqladminV1beta4
# Version of the google-apis-sqladmin_v1beta4 gem
GEM_VERSION = "0.89.0"
GEM_VERSION = "0.90.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20250823"
REVISION = "20250908"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class Message
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class Metadata
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -604,6 +610,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class ReadPoolAutoScaleConfig
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ReplicaConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -808,6 +820,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class TargetMetric
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class Tier
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1777,6 +1795,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class Message
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :message, as: 'message'
property :severity, as: 'severity'
end
end

class Metadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -1990,6 +2016,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ReadPoolAutoScaleConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_scale_in, as: 'disableScaleIn'
property :enabled, as: 'enabled'
property :max_node_count, as: 'maxNodeCount'
property :min_node_count, as: 'minNodeCount'
collection :target_metrics, as: 'targetMetrics', class: Google::Apis::SqladminV1beta4::TargetMetric, decorator: Google::Apis::SqladminV1beta4::TargetMetric::Representation

end
end

class ReplicaConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2105,6 +2143,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation

property :pricing_plan, as: 'pricingPlan'
property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig::Representation

property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
property :replication_type, as: 'replicationType'
property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
Expand Down Expand Up @@ -2150,6 +2190,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class SqlInstancesExecuteSqlResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :messages, as: 'messages', class: Google::Apis::SqladminV1beta4::Message, decorator: Google::Apis::SqladminV1beta4::Message::Representation

property :metadata, as: 'metadata', class: Google::Apis::SqladminV1beta4::Metadata, decorator: Google::Apis::SqladminV1beta4::Metadata::Representation

collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
Expand Down Expand Up @@ -2355,6 +2397,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class TargetMetric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metric, as: 'metric'
property :target_value, as: 'targetValue'
end
end

class Tier
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2389,6 +2439,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :dual_password_type, as: 'dualPasswordType'
property :etag, as: 'etag'
property :host, as: 'host'
property :iam_status, as: 'iamStatus'
property :instance, as: 'instance'
property :kind, as: 'kind'
property :name, as: 'name'
Expand Down
Loading
Loading