@@ -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
0 commit comments