Skip to content

Commit ec7092b

Browse files
feat: Automated regeneration of sqladmin v1beta4 client (googleapis#27331)
Auto-created at 2026-07-12 11:44:38 +0000 using the toys pull request generator.
1 parent 4a69852 commit ec7092b

6 files changed

Lines changed: 137 additions & 9 deletions

File tree

api_names_out.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408759,6 +408759,7 @@
408759408759
"/sqladmin:v1beta4/ConnectPoolNodeConfig/name": name
408760408760
"/sqladmin:v1beta4/ConnectSettings": connect_settings
408761408761
"/sqladmin:v1beta4/ConnectSettings/backendType": backend_type
408762+
"/sqladmin:v1beta4/ConnectSettings/connectionName": connection_name
408762408763
"/sqladmin:v1beta4/ConnectSettings/customSubjectAlternativeNames": custom_subject_alternative_names
408763408764
"/sqladmin:v1beta4/ConnectSettings/customSubjectAlternativeNames/custom_subject_alternative_name": custom_subject_alternative_name
408764408765
"/sqladmin:v1beta4/ConnectSettings/databaseVersion": database_version
@@ -409239,12 +409240,21 @@
409239409240
"/sqladmin:v1beta4/PerformDiskShrinkContext": perform_disk_shrink_context
409240409241
"/sqladmin:v1beta4/PerformDiskShrinkContext/targetSizeGb": target_size_gb
409241409242
"/sqladmin:v1beta4/PerformanceCaptureConfig": performance_capture_config
409243+
"/sqladmin:v1beta4/PerformanceCaptureConfig/cpuUtilizationThresholdPercent": cpu_utilization_threshold_percent
409242409244
"/sqladmin:v1beta4/PerformanceCaptureConfig/enabled": enabled
409245+
"/sqladmin:v1beta4/PerformanceCaptureConfig/historyListLengthThresholdCount": history_list_length_threshold_count
409246+
"/sqladmin:v1beta4/PerformanceCaptureConfig/memoryUsageThresholdPercent": memory_usage_threshold_percent
409243409247
"/sqladmin:v1beta4/PerformanceCaptureConfig/probeThreshold": probe_threshold
409244409248
"/sqladmin:v1beta4/PerformanceCaptureConfig/probingIntervalSeconds": probing_interval_seconds
409245409249
"/sqladmin:v1beta4/PerformanceCaptureConfig/runningThreadsThreshold": running_threads_threshold
409246409250
"/sqladmin:v1beta4/PerformanceCaptureConfig/secondsBehindSourceThreshold": seconds_behind_source_threshold
409251+
"/sqladmin:v1beta4/PerformanceCaptureConfig/semaphoreWaitThresholdCount": semaphore_wait_threshold_count
409247409252
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionDurationThreshold": transaction_duration_threshold
409253+
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillExcludedUserHosts": transaction_kill_excluded_user_hosts
409254+
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillExcludedUserHosts/transaction_kill_excluded_user_host": transaction_kill_excluded_user_host
409255+
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillThresholdSeconds": transaction_kill_threshold_seconds
409256+
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillType": transaction_kill_type
409257+
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionLockWaitThresholdCount": transaction_lock_wait_threshold_count
409248409258
"/sqladmin:v1beta4/PointInTimeRestoreContext": point_in_time_restore_context
409249409259
"/sqladmin:v1beta4/PointInTimeRestoreContext/allocatedIpRange": allocated_ip_range
409250409260
"/sqladmin:v1beta4/PointInTimeRestoreContext/datasource": datasource
@@ -409283,10 +409293,12 @@
409283409293
"/sqladmin:v1beta4/PscAutoConnectionConfig/consumerNetwork": consumer_network
409284409294
"/sqladmin:v1beta4/PscAutoConnectionConfig/consumerNetworkStatus": consumer_network_status
409285409295
"/sqladmin:v1beta4/PscAutoConnectionConfig/consumerProject": consumer_project
409296+
"/sqladmin:v1beta4/PscAutoConnectionConfig/instanceAutoDnsStatus": instance_auto_dns_status
409286409297
"/sqladmin:v1beta4/PscAutoConnectionConfig/ipAddress": ip_address
409287409298
"/sqladmin:v1beta4/PscAutoConnectionConfig/serviceConnectionPolicy": service_connection_policy
409288409299
"/sqladmin:v1beta4/PscAutoConnectionConfig/serviceConnectionPolicyCreationResult": service_connection_policy_creation_result
409289409300
"/sqladmin:v1beta4/PscAutoConnectionConfig/status": status
409301+
"/sqladmin:v1beta4/PscAutoConnectionConfig/writeEndpointAutoDnsStatus": write_endpoint_auto_dns_status
409290409302
"/sqladmin:v1beta4/PscConfig": psc_config
409291409303
"/sqladmin:v1beta4/PscConfig/allowedConsumerProjects": allowed_consumer_projects
409292409304
"/sqladmin:v1beta4/PscConfig/allowedConsumerProjects/allowed_consumer_project": allowed_consumer_project
@@ -409700,6 +409712,8 @@
409700409712
"/sqladmin:v1beta4/sql.instances.patch": patch_instance
409701409713
"/sqladmin:v1beta4/sql.instances.patch/instance": instance
409702409714
"/sqladmin:v1beta4/sql.instances.patch/project": project
409715+
"/sqladmin:v1beta4/sql.instances.patch/reconcilePscNetworking": reconcile_psc_networking
409716+
"/sqladmin:v1beta4/sql.instances.patch/reconcilePscNetworkingForce": reconcile_psc_networking_force
409703409717
"/sqladmin:v1beta4/sql.instances.pointInTimeRestore": point_instance_in_time_restore
409704409718
"/sqladmin:v1beta4/sql.instances.pointInTimeRestore/parent": parent
409705409719
"/sqladmin:v1beta4/sql.instances.preCheckMajorVersionUpgrade": pre_instance_check_major_version_upgrade

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.103.0 (2026-07-12)
4+
5+
* Regenerated from discovery document revision 20260627
6+
37
### v0.102.0 (2026-06-14)
48

59
* Regenerated from discovery document revision 20260529

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

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ class BackupConfiguration
393393
attr_accessor :point_in_time_recovery_enabled
394394
alias_method :point_in_time_recovery_enabled?, :point_in_time_recovery_enabled
395395

396-
# Reserved for future use.
396+
# Optional. Deprecated: replication_log_archiving_enabled is deprecated and will
397+
# be removed from a future version of the API. Use
398+
# point_in_time_recovery_enabled instead.
397399
# Corresponds to the JSON property `replicationLogArchivingEnabled`
398400
# @return [Boolean]
399401
attr_accessor :replication_log_archiving_enabled
@@ -897,6 +899,12 @@ class ConnectSettings
897899
# @return [String]
898900
attr_accessor :backend_type
899901

902+
# Optional. Output only. Connection name of the Cloud SQL instance used in
903+
# connection strings, in the format project:region:instance.
904+
# Corresponds to the JSON property `connectionName`
905+
# @return [String]
906+
attr_accessor :connection_name
907+
900908
# Custom subject alternative names for the server certificate.
901909
# Corresponds to the JSON property `customSubjectAlternativeNames`
902910
# @return [Array<String>]
@@ -983,6 +991,7 @@ def initialize(**args)
983991
# Update properties of this object
984992
def update!(**args)
985993
@backend_type = args[:backend_type] if args.key?(:backend_type)
994+
@connection_name = args[:connection_name] if args.key?(:connection_name)
986995
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
987996
@database_version = args[:database_version] if args.key?(:database_version)
988997
@dns_name = args[:dns_name] if args.key?(:dns_name)
@@ -4421,12 +4430,33 @@ def update!(**args)
44214430
class PerformanceCaptureConfig
44224431
include Google::Apis::Core::Hashable
44234432

4433+
# Optional. Specifies the minimum percentage of CPU utilization to trigger the
4434+
# performance capture. Valid integers range from `10` to `99`. Enter `0` to
4435+
# disable the check.
4436+
# Corresponds to the JSON property `cpuUtilizationThresholdPercent`
4437+
# @return [Fixnum]
4438+
attr_accessor :cpu_utilization_threshold_percent
4439+
44244440
# Optional. Enables or disables the performance capture feature.
44254441
# Corresponds to the JSON property `enabled`
44264442
# @return [Boolean]
44274443
attr_accessor :enabled
44284444
alias_method :enabled?, :enabled
44294445

4446+
# Optional. Specifies the minimum number of undo log entries in the history list
4447+
# length to trigger the performance capture. Valid integers range from `10000`
4448+
# to `10000000`. Enter `0` to disable the check.
4449+
# Corresponds to the JSON property `historyListLengthThresholdCount`
4450+
# @return [Fixnum]
4451+
attr_accessor :history_list_length_threshold_count
4452+
4453+
# Optional. Specifies the minimum percentage of memory usage to trigger the
4454+
# performance capture. Valid integers range from `10` to `99`. Enter `0` to
4455+
# disable the check.
4456+
# Corresponds to the JSON property `memoryUsageThresholdPercent`
4457+
# @return [Fixnum]
4458+
attr_accessor :memory_usage_threshold_percent
4459+
44304460
# Optional. Specifies the minimum number of consecutive probe threshold that
44314461
# triggers performance capture.
44324462
# Corresponds to the JSON property `probeThreshold`
@@ -4451,24 +4481,73 @@ class PerformanceCaptureConfig
44514481
# @return [Fixnum]
44524482
attr_accessor :seconds_behind_source_threshold
44534483

4484+
# Optional. Specifies the minimum allowed number of semaphore waits to trigger
4485+
# the performance capture. Valid integers range from `10` to `10000`. Enter `0`
4486+
# to disable the check.
4487+
# Corresponds to the JSON property `semaphoreWaitThresholdCount`
4488+
# @return [Fixnum]
4489+
attr_accessor :semaphore_wait_threshold_count
4490+
44544491
# Optional. Specifies the amount of time in seconds that a transaction needs to
44554492
# have been open before the watcher starts recording it.
44564493
# Corresponds to the JSON property `transactionDurationThreshold`
44574494
# @return [Fixnum]
44584495
attr_accessor :transaction_duration_threshold
44594496

4497+
# Optional. Specifies a customer-defined list of users to exclude from
4498+
# transaction termination. Entries can be in the format 'user@host' or just '
4499+
# user'. A standalone 'user' implies 'user@%', excluding the user from any host.
4500+
# Wildcard '%' is allowed in the host part of the 'user@host' format. Example: `[
4501+
# "app_user", "db_admin@10.1.2.3", "report_user@%"]`
4502+
# Corresponds to the JSON property `transactionKillExcludedUserHosts`
4503+
# @return [Array<String>]
4504+
attr_accessor :transaction_kill_excluded_user_hosts
4505+
4506+
# Optional. Specifies the amount of time in seconds that a transaction needs to
4507+
# have been open before the watcher starts terminating it. Valid integers range
4508+
# from `60` to `604800` (7 days). Enter `0` to disable. If enabled (i.e., > 0),
4509+
# this value must be greater than or equal to `transaction_duration_threshold`.
4510+
# Configurations where `0 < transaction_kill_threshold_seconds <
4511+
# transaction_duration_threshold` will be rejected.
4512+
# Corresponds to the JSON property `transactionKillThresholdSeconds`
4513+
# @return [Fixnum]
4514+
attr_accessor :transaction_kill_threshold_seconds
4515+
4516+
# Optional. Determines which transactions are allowed to be terminated when they
4517+
# exceed `transaction_kill_threshold_seconds`. This allows protecting write-
4518+
# heavy transactions from auto-termination if desired. Defaults to `
4519+
# READ_ONLY_TRANSACTIONS` if unspecified.
4520+
# Corresponds to the JSON property `transactionKillType`
4521+
# @return [String]
4522+
attr_accessor :transaction_kill_type
4523+
4524+
# Optional. Specifies the minimum allowed number of transactions in lock wait
4525+
# state to trigger the performance capture. Valid integers range from `10` to `
4526+
# 10000`. Enter `0` to disable the check.
4527+
# Corresponds to the JSON property `transactionLockWaitThresholdCount`
4528+
# @return [Fixnum]
4529+
attr_accessor :transaction_lock_wait_threshold_count
4530+
44604531
def initialize(**args)
44614532
update!(**args)
44624533
end
44634534

44644535
# Update properties of this object
44654536
def update!(**args)
4537+
@cpu_utilization_threshold_percent = args[:cpu_utilization_threshold_percent] if args.key?(:cpu_utilization_threshold_percent)
44664538
@enabled = args[:enabled] if args.key?(:enabled)
4539+
@history_list_length_threshold_count = args[:history_list_length_threshold_count] if args.key?(:history_list_length_threshold_count)
4540+
@memory_usage_threshold_percent = args[:memory_usage_threshold_percent] if args.key?(:memory_usage_threshold_percent)
44674541
@probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
44684542
@probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
44694543
@running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
44704544
@seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
4545+
@semaphore_wait_threshold_count = args[:semaphore_wait_threshold_count] if args.key?(:semaphore_wait_threshold_count)
44714546
@transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
4547+
@transaction_kill_excluded_user_hosts = args[:transaction_kill_excluded_user_hosts] if args.key?(:transaction_kill_excluded_user_hosts)
4548+
@transaction_kill_threshold_seconds = args[:transaction_kill_threshold_seconds] if args.key?(:transaction_kill_threshold_seconds)
4549+
@transaction_kill_type = args[:transaction_kill_type] if args.key?(:transaction_kill_type)
4550+
@transaction_lock_wait_threshold_count = args[:transaction_lock_wait_threshold_count] if args.key?(:transaction_lock_wait_threshold_count)
44724551
end
44734552
end
44744553

@@ -4714,6 +4793,11 @@ class PscAutoConnectionConfig
47144793
# @return [String]
47154794
attr_accessor :consumer_project
47164795

4796+
# Output only. The status of automated DNS provisioning.
4797+
# Corresponds to the JSON property `instanceAutoDnsStatus`
4798+
# @return [String]
4799+
attr_accessor :instance_auto_dns_status
4800+
47174801
# The IP address of the consumer endpoint.
47184802
# Corresponds to the JSON property `ipAddress`
47194803
# @return [String]
@@ -4737,6 +4821,11 @@ class PscAutoConnectionConfig
47374821
# @return [String]
47384822
attr_accessor :status
47394823

4824+
# Output only. The status of automated DNS provisioning for the write endpoint.
4825+
# Corresponds to the JSON property `writeEndpointAutoDnsStatus`
4826+
# @return [String]
4827+
attr_accessor :write_endpoint_auto_dns_status
4828+
47404829
def initialize(**args)
47414830
update!(**args)
47424831
end
@@ -4746,10 +4835,12 @@ def update!(**args)
47464835
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
47474836
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
47484837
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
4838+
@instance_auto_dns_status = args[:instance_auto_dns_status] if args.key?(:instance_auto_dns_status)
47494839
@ip_address = args[:ip_address] if args.key?(:ip_address)
47504840
@service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy)
47514841
@service_connection_policy_creation_result = args[:service_connection_policy_creation_result] if args.key?(:service_connection_policy_creation_result)
47524842
@status = args[:status] if args.key?(:status)
4843+
@write_endpoint_auto_dns_status = args[:write_endpoint_auto_dns_status] if args.key?(:write_endpoint_auto_dns_status)
47534844
end
47544845
end
47554846

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.102.0"
19+
GEM_VERSION = "0.103.0"
2020

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

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

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,7 @@ class ConnectSettings
11321132
# @private
11331133
class Representation < Google::Apis::Core::JsonRepresentation
11341134
property :backend_type, as: 'backendType'
1135+
property :connection_name, as: 'connectionName'
11351136
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
11361137
property :database_version, as: 'databaseVersion'
11371138
property :dns_name, as: 'dnsName'
@@ -2046,12 +2047,20 @@ class Representation < Google::Apis::Core::JsonRepresentation
20462047
class PerformanceCaptureConfig
20472048
# @private
20482049
class Representation < Google::Apis::Core::JsonRepresentation
2050+
property :cpu_utilization_threshold_percent, as: 'cpuUtilizationThresholdPercent'
20492051
property :enabled, as: 'enabled'
2052+
property :history_list_length_threshold_count, as: 'historyListLengthThresholdCount'
2053+
property :memory_usage_threshold_percent, as: 'memoryUsageThresholdPercent'
20502054
property :probe_threshold, as: 'probeThreshold'
20512055
property :probing_interval_seconds, as: 'probingIntervalSeconds'
20522056
property :running_threads_threshold, as: 'runningThreadsThreshold'
20532057
property :seconds_behind_source_threshold, as: 'secondsBehindSourceThreshold'
2058+
property :semaphore_wait_threshold_count, as: 'semaphoreWaitThresholdCount'
20542059
property :transaction_duration_threshold, as: 'transactionDurationThreshold'
2060+
collection :transaction_kill_excluded_user_hosts, as: 'transactionKillExcludedUserHosts'
2061+
property :transaction_kill_threshold_seconds, as: 'transactionKillThresholdSeconds'
2062+
property :transaction_kill_type, as: 'transactionKillType'
2063+
property :transaction_lock_wait_threshold_count, as: 'transactionLockWaitThresholdCount'
20552064
end
20562065
end
20572066

@@ -2114,10 +2123,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
21142123
property :consumer_network, as: 'consumerNetwork'
21152124
property :consumer_network_status, as: 'consumerNetworkStatus'
21162125
property :consumer_project, as: 'consumerProject'
2126+
property :instance_auto_dns_status, as: 'instanceAutoDnsStatus'
21172127
property :ip_address, as: 'ipAddress'
21182128
property :service_connection_policy, as: 'serviceConnectionPolicy'
21192129
property :service_connection_policy_creation_result, as: 'serviceConnectionPolicyCreationResult'
21202130
property :status, as: 'status'
2131+
property :write_endpoint_auto_dns_status, as: 'writeEndpointAutoDnsStatus'
21212132
end
21222133
end
21232134

0 commit comments

Comments
 (0)