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
14 changes: 14 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -407335,6 +407335,7 @@
"/sqladmin:v1beta4/ConnectPoolNodeConfig/name": name
"/sqladmin:v1beta4/ConnectSettings": connect_settings
"/sqladmin:v1beta4/ConnectSettings/backendType": backend_type
"/sqladmin:v1beta4/ConnectSettings/connectionName": connection_name
"/sqladmin:v1beta4/ConnectSettings/customSubjectAlternativeNames": custom_subject_alternative_names
"/sqladmin:v1beta4/ConnectSettings/customSubjectAlternativeNames/custom_subject_alternative_name": custom_subject_alternative_name
"/sqladmin:v1beta4/ConnectSettings/databaseVersion": database_version
Expand Down Expand Up @@ -407815,12 +407816,21 @@
"/sqladmin:v1beta4/PerformDiskShrinkContext": perform_disk_shrink_context
"/sqladmin:v1beta4/PerformDiskShrinkContext/targetSizeGb": target_size_gb
"/sqladmin:v1beta4/PerformanceCaptureConfig": performance_capture_config
"/sqladmin:v1beta4/PerformanceCaptureConfig/cpuUtilizationThresholdPercent": cpu_utilization_threshold_percent
"/sqladmin:v1beta4/PerformanceCaptureConfig/enabled": enabled
"/sqladmin:v1beta4/PerformanceCaptureConfig/historyListLengthThresholdCount": history_list_length_threshold_count
"/sqladmin:v1beta4/PerformanceCaptureConfig/memoryUsageThresholdPercent": memory_usage_threshold_percent
"/sqladmin:v1beta4/PerformanceCaptureConfig/probeThreshold": probe_threshold
"/sqladmin:v1beta4/PerformanceCaptureConfig/probingIntervalSeconds": probing_interval_seconds
"/sqladmin:v1beta4/PerformanceCaptureConfig/runningThreadsThreshold": running_threads_threshold
"/sqladmin:v1beta4/PerformanceCaptureConfig/secondsBehindSourceThreshold": seconds_behind_source_threshold
"/sqladmin:v1beta4/PerformanceCaptureConfig/semaphoreWaitThresholdCount": semaphore_wait_threshold_count
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionDurationThreshold": transaction_duration_threshold
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillExcludedUserHosts": transaction_kill_excluded_user_hosts
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillExcludedUserHosts/transaction_kill_excluded_user_host": transaction_kill_excluded_user_host
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillThresholdSeconds": transaction_kill_threshold_seconds
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionKillType": transaction_kill_type
"/sqladmin:v1beta4/PerformanceCaptureConfig/transactionLockWaitThresholdCount": transaction_lock_wait_threshold_count
"/sqladmin:v1beta4/PointInTimeRestoreContext": point_in_time_restore_context
"/sqladmin:v1beta4/PointInTimeRestoreContext/allocatedIpRange": allocated_ip_range
"/sqladmin:v1beta4/PointInTimeRestoreContext/datasource": datasource
Expand Down Expand Up @@ -407859,10 +407869,12 @@
"/sqladmin:v1beta4/PscAutoConnectionConfig/consumerNetwork": consumer_network
"/sqladmin:v1beta4/PscAutoConnectionConfig/consumerNetworkStatus": consumer_network_status
"/sqladmin:v1beta4/PscAutoConnectionConfig/consumerProject": consumer_project
"/sqladmin:v1beta4/PscAutoConnectionConfig/instanceAutoDnsStatus": instance_auto_dns_status
"/sqladmin:v1beta4/PscAutoConnectionConfig/ipAddress": ip_address
"/sqladmin:v1beta4/PscAutoConnectionConfig/serviceConnectionPolicy": service_connection_policy
"/sqladmin:v1beta4/PscAutoConnectionConfig/serviceConnectionPolicyCreationResult": service_connection_policy_creation_result
"/sqladmin:v1beta4/PscAutoConnectionConfig/status": status
"/sqladmin:v1beta4/PscAutoConnectionConfig/writeEndpointAutoDnsStatus": write_endpoint_auto_dns_status
"/sqladmin:v1beta4/PscConfig": psc_config
"/sqladmin:v1beta4/PscConfig/allowedConsumerProjects": allowed_consumer_projects
"/sqladmin:v1beta4/PscConfig/allowedConsumerProjects/allowed_consumer_project": allowed_consumer_project
Expand Down Expand Up @@ -408276,6 +408288,8 @@
"/sqladmin:v1beta4/sql.instances.patch": patch_instance
"/sqladmin:v1beta4/sql.instances.patch/instance": instance
"/sqladmin:v1beta4/sql.instances.patch/project": project
"/sqladmin:v1beta4/sql.instances.patch/reconcilePscNetworking": reconcile_psc_networking
"/sqladmin:v1beta4/sql.instances.patch/reconcilePscNetworkingForce": reconcile_psc_networking_force
"/sqladmin:v1beta4/sql.instances.pointInTimeRestore": point_instance_in_time_restore
"/sqladmin:v1beta4/sql.instances.pointInTimeRestore/parent": parent
"/sqladmin:v1beta4/sql.instances.preCheckMajorVersionUpgrade": pre_instance_check_major_version_upgrade
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.103.0 (2026-07-12)

* Regenerated from discovery document revision 20260627

### v0.102.0 (2026-06-14)

* Regenerated from discovery document revision 20260529
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,9 @@ class BackupConfiguration
attr_accessor :point_in_time_recovery_enabled
alias_method :point_in_time_recovery_enabled?, :point_in_time_recovery_enabled

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

# Optional. Output only. Connection name of the Cloud SQL instance used in
# connection strings, in the format project:region:instance.
# Corresponds to the JSON property `connectionName`
# @return [String]
attr_accessor :connection_name

# Custom subject alternative names for the server certificate.
# Corresponds to the JSON property `customSubjectAlternativeNames`
# @return [Array<String>]
Expand Down Expand Up @@ -983,6 +991,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@backend_type = args[:backend_type] if args.key?(:backend_type)
@connection_name = args[:connection_name] if args.key?(:connection_name)
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
@database_version = args[:database_version] if args.key?(:database_version)
@dns_name = args[:dns_name] if args.key?(:dns_name)
Expand Down Expand Up @@ -4421,12 +4430,33 @@ def update!(**args)
class PerformanceCaptureConfig
include Google::Apis::Core::Hashable

# Optional. Specifies the minimum percentage of CPU utilization to trigger the
# performance capture. Valid integers range from `10` to `99`. Enter `0` to
# disable the check.
# Corresponds to the JSON property `cpuUtilizationThresholdPercent`
# @return [Fixnum]
attr_accessor :cpu_utilization_threshold_percent

# Optional. Enables or disables the performance capture feature.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled

# Optional. Specifies the minimum number of undo log entries in the history list
# length to trigger the performance capture. Valid integers range from `10000`
# to `10000000`. Enter `0` to disable the check.
# Corresponds to the JSON property `historyListLengthThresholdCount`
# @return [Fixnum]
attr_accessor :history_list_length_threshold_count

# Optional. Specifies the minimum percentage of memory usage to trigger the
# performance capture. Valid integers range from `10` to `99`. Enter `0` to
# disable the check.
# Corresponds to the JSON property `memoryUsageThresholdPercent`
# @return [Fixnum]
attr_accessor :memory_usage_threshold_percent

# Optional. Specifies the minimum number of consecutive probe threshold that
# triggers performance capture.
# Corresponds to the JSON property `probeThreshold`
Expand All @@ -4451,24 +4481,73 @@ class PerformanceCaptureConfig
# @return [Fixnum]
attr_accessor :seconds_behind_source_threshold

# Optional. Specifies the minimum allowed number of semaphore waits to trigger
# the performance capture. Valid integers range from `10` to `10000`. Enter `0`
# to disable the check.
# Corresponds to the JSON property `semaphoreWaitThresholdCount`
# @return [Fixnum]
attr_accessor :semaphore_wait_threshold_count

# Optional. Specifies the amount of time in seconds that a transaction needs to
# have been open before the watcher starts recording it.
# Corresponds to the JSON property `transactionDurationThreshold`
# @return [Fixnum]
attr_accessor :transaction_duration_threshold

# Optional. Specifies a customer-defined list of users to exclude from
# transaction termination. Entries can be in the format 'user@host' or just '
# user'. A standalone 'user' implies 'user@%', excluding the user from any host.
# Wildcard '%' is allowed in the host part of the 'user@host' format. Example: `[
# "app_user", "db_admin@10.1.2.3", "report_user@%"]`
# Corresponds to the JSON property `transactionKillExcludedUserHosts`
# @return [Array<String>]
attr_accessor :transaction_kill_excluded_user_hosts

# Optional. Specifies the amount of time in seconds that a transaction needs to
# have been open before the watcher starts terminating it. Valid integers range
# from `60` to `604800` (7 days). Enter `0` to disable. If enabled (i.e., > 0),
# this value must be greater than or equal to `transaction_duration_threshold`.
# Configurations where `0 < transaction_kill_threshold_seconds <
# transaction_duration_threshold` will be rejected.
# Corresponds to the JSON property `transactionKillThresholdSeconds`
# @return [Fixnum]
attr_accessor :transaction_kill_threshold_seconds

# Optional. Determines which transactions are allowed to be terminated when they
# exceed `transaction_kill_threshold_seconds`. This allows protecting write-
# heavy transactions from auto-termination if desired. Defaults to `
# READ_ONLY_TRANSACTIONS` if unspecified.
# Corresponds to the JSON property `transactionKillType`
# @return [String]
attr_accessor :transaction_kill_type

# Optional. Specifies the minimum allowed number of transactions in lock wait
# state to trigger the performance capture. Valid integers range from `10` to `
# 10000`. Enter `0` to disable the check.
# Corresponds to the JSON property `transactionLockWaitThresholdCount`
# @return [Fixnum]
attr_accessor :transaction_lock_wait_threshold_count

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

# Update properties of this object
def update!(**args)
@cpu_utilization_threshold_percent = args[:cpu_utilization_threshold_percent] if args.key?(:cpu_utilization_threshold_percent)
@enabled = args[:enabled] if args.key?(:enabled)
@history_list_length_threshold_count = args[:history_list_length_threshold_count] if args.key?(:history_list_length_threshold_count)
@memory_usage_threshold_percent = args[:memory_usage_threshold_percent] if args.key?(:memory_usage_threshold_percent)
@probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
@probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
@running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
@seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
@semaphore_wait_threshold_count = args[:semaphore_wait_threshold_count] if args.key?(:semaphore_wait_threshold_count)
@transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
@transaction_kill_excluded_user_hosts = args[:transaction_kill_excluded_user_hosts] if args.key?(:transaction_kill_excluded_user_hosts)
@transaction_kill_threshold_seconds = args[:transaction_kill_threshold_seconds] if args.key?(:transaction_kill_threshold_seconds)
@transaction_kill_type = args[:transaction_kill_type] if args.key?(:transaction_kill_type)
@transaction_lock_wait_threshold_count = args[:transaction_lock_wait_threshold_count] if args.key?(:transaction_lock_wait_threshold_count)
end
end

Expand Down Expand Up @@ -4714,6 +4793,11 @@ class PscAutoConnectionConfig
# @return [String]
attr_accessor :consumer_project

# Output only. The status of automated DNS provisioning.
# Corresponds to the JSON property `instanceAutoDnsStatus`
# @return [String]
attr_accessor :instance_auto_dns_status

# The IP address of the consumer endpoint.
# Corresponds to the JSON property `ipAddress`
# @return [String]
Expand All @@ -4737,6 +4821,11 @@ class PscAutoConnectionConfig
# @return [String]
attr_accessor :status

# Output only. The status of automated DNS provisioning for the write endpoint.
# Corresponds to the JSON property `writeEndpointAutoDnsStatus`
# @return [String]
attr_accessor :write_endpoint_auto_dns_status

def initialize(**args)
update!(**args)
end
Expand All @@ -4746,10 +4835,12 @@ def update!(**args)
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
@instance_auto_dns_status = args[:instance_auto_dns_status] if args.key?(:instance_auto_dns_status)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy)
@service_connection_policy_creation_result = args[:service_connection_policy_creation_result] if args.key?(:service_connection_policy_creation_result)
@status = args[:status] if args.key?(:status)
@write_endpoint_auto_dns_status = args[:write_endpoint_auto_dns_status] if args.key?(:write_endpoint_auto_dns_status)
end
end

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

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

# Revision of the discovery document this client was generated from
REVISION = "20260529"
REVISION = "20260627"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,7 @@ class ConnectSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backend_type, as: 'backendType'
property :connection_name, as: 'connectionName'
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
property :database_version, as: 'databaseVersion'
property :dns_name, as: 'dnsName'
Expand Down Expand Up @@ -2046,12 +2047,20 @@ class Representation < Google::Apis::Core::JsonRepresentation
class PerformanceCaptureConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cpu_utilization_threshold_percent, as: 'cpuUtilizationThresholdPercent'
property :enabled, as: 'enabled'
property :history_list_length_threshold_count, as: 'historyListLengthThresholdCount'
property :memory_usage_threshold_percent, as: 'memoryUsageThresholdPercent'
property :probe_threshold, as: 'probeThreshold'
property :probing_interval_seconds, as: 'probingIntervalSeconds'
property :running_threads_threshold, as: 'runningThreadsThreshold'
property :seconds_behind_source_threshold, as: 'secondsBehindSourceThreshold'
property :semaphore_wait_threshold_count, as: 'semaphoreWaitThresholdCount'
property :transaction_duration_threshold, as: 'transactionDurationThreshold'
collection :transaction_kill_excluded_user_hosts, as: 'transactionKillExcludedUserHosts'
property :transaction_kill_threshold_seconds, as: 'transactionKillThresholdSeconds'
property :transaction_kill_type, as: 'transactionKillType'
property :transaction_lock_wait_threshold_count, as: 'transactionLockWaitThresholdCount'
end
end

Expand Down Expand Up @@ -2114,10 +2123,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :consumer_network, as: 'consumerNetwork'
property :consumer_network_status, as: 'consumerNetworkStatus'
property :consumer_project, as: 'consumerProject'
property :instance_auto_dns_status, as: 'instanceAutoDnsStatus'
property :ip_address, as: 'ipAddress'
property :service_connection_policy, as: 'serviceConnectionPolicy'
property :service_connection_policy_creation_result, as: 'serviceConnectionPolicyCreationResult'
property :status, as: 'status'
property :write_endpoint_auto_dns_status, as: 'writeEndpointAutoDnsStatus'
end
end

Expand Down
Loading
Loading