google-apis-sqladmin_v1 0.99.0 → 0.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e8b52b8bca990f82299f7265ed5ad85df6617427a8a707441fec5b4f3ad6a16
4
- data.tar.gz: 47050ca4a018ba3fdaf7e5c8c214d4b936ae380bbec7e4a103f8fe6d7434aef7
3
+ metadata.gz: 3914e8fab717bf286710fc69eb2bb1d301bbcfc0896ad623e6540164e023699b
4
+ data.tar.gz: 88f81084b37682cf9809064f75c23d2c32e8c054be6c1f56648121fc3eadb004
5
5
  SHA512:
6
- metadata.gz: 87c11b48771fb420bc4c99c01bb381f6118cb72b1574af13a3757dfa77850f239914e4ed2a637bc97737a342cf15d4ad19ca7cdbafd69f380b93a8c4c05db0a5
7
- data.tar.gz: 74c68d224cbfa50914388e7d76a7f346c341fb9e7a1291e79f6e3f635873ceb4975e5c0eb916ddb90a1e8158bbaccfe7029fbeb244720abde8281f1f3782cdca
6
+ metadata.gz: 7b0425ff02562aba722a242d7617d1a97e0f2179123a22fdb83a0a2de65d81880c4700137efe21de4ee8cf3f65160bc157438efdd3f69183f3c82472b7495bb3
7
+ data.tar.gz: 29275f580eb05fb306f0077942ff5e5aa0de5ecadc99f720aac2ef22e445dfa3ee4e601146d0201b0e42ce67016e55ff85b26861b78c5abae7cb9da81fc89372
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.100.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260627
6
+
3
7
  ### v0.99.0 (2026-06-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20260529
@@ -393,7 +393,9 @@ module Google
393
393
  attr_accessor :point_in_time_recovery_enabled
394
394
  alias_method :point_in_time_recovery_enabled?, :point_in_time_recovery_enabled
395
395
 
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.
397
399
  # Corresponds to the JSON property `replicationLogArchivingEnabled`
398
400
  # @return [Boolean]
399
401
  attr_accessor :replication_log_archiving_enabled
@@ -898,6 +900,12 @@ module Google
898
900
  # @return [String]
899
901
  attr_accessor :backend_type
900
902
 
903
+ # Optional. Output only. Connection name of the Cloud SQL instance used in
904
+ # connection strings, in the format project:region:instance.
905
+ # Corresponds to the JSON property `connectionName`
906
+ # @return [String]
907
+ attr_accessor :connection_name
908
+
901
909
  # Custom subject alternative names for the server certificate.
902
910
  # Corresponds to the JSON property `customSubjectAlternativeNames`
903
911
  # @return [Array<String>]
@@ -984,6 +992,7 @@ module Google
984
992
  # Update properties of this object
985
993
  def update!(**args)
986
994
  @backend_type = args[:backend_type] if args.key?(:backend_type)
995
+ @connection_name = args[:connection_name] if args.key?(:connection_name)
987
996
  @custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
988
997
  @database_version = args[:database_version] if args.key?(:database_version)
989
998
  @dns_name = args[:dns_name] if args.key?(:dns_name)
@@ -4420,12 +4429,33 @@ module Google
4420
4429
  class PerformanceCaptureConfig
4421
4430
  include Google::Apis::Core::Hashable
4422
4431
 
4432
+ # Optional. Specifies the minimum percentage of CPU utilization to trigger the
4433
+ # performance capture. Valid integers range from `10` to `99`. Enter `0` to
4434
+ # disable the check.
4435
+ # Corresponds to the JSON property `cpuUtilizationThresholdPercent`
4436
+ # @return [Fixnum]
4437
+ attr_accessor :cpu_utilization_threshold_percent
4438
+
4423
4439
  # Optional. Enables or disables the performance capture feature.
4424
4440
  # Corresponds to the JSON property `enabled`
4425
4441
  # @return [Boolean]
4426
4442
  attr_accessor :enabled
4427
4443
  alias_method :enabled?, :enabled
4428
4444
 
4445
+ # Optional. Specifies the minimum number of undo log entries in the history list
4446
+ # length to trigger the performance capture. Valid integers range from `10000`
4447
+ # to `10000000`. Enter `0` to disable the check.
4448
+ # Corresponds to the JSON property `historyListLengthThresholdCount`
4449
+ # @return [Fixnum]
4450
+ attr_accessor :history_list_length_threshold_count
4451
+
4452
+ # Optional. Specifies the minimum percentage of memory usage to trigger the
4453
+ # performance capture. Valid integers range from `10` to `99`. Enter `0` to
4454
+ # disable the check.
4455
+ # Corresponds to the JSON property `memoryUsageThresholdPercent`
4456
+ # @return [Fixnum]
4457
+ attr_accessor :memory_usage_threshold_percent
4458
+
4429
4459
  # Optional. Specifies the minimum number of consecutive probe threshold that
4430
4460
  # triggers performance capture.
4431
4461
  # Corresponds to the JSON property `probeThreshold`
@@ -4450,24 +4480,73 @@ module Google
4450
4480
  # @return [Fixnum]
4451
4481
  attr_accessor :seconds_behind_source_threshold
4452
4482
 
4483
+ # Optional. Specifies the minimum allowed number of semaphore waits to trigger
4484
+ # the performance capture. Valid integers range from `10` to `10000`. Enter `0`
4485
+ # to disable the check.
4486
+ # Corresponds to the JSON property `semaphoreWaitThresholdCount`
4487
+ # @return [Fixnum]
4488
+ attr_accessor :semaphore_wait_threshold_count
4489
+
4453
4490
  # Optional. Specifies the amount of time in seconds that a transaction needs to
4454
4491
  # have been open before the watcher starts recording it.
4455
4492
  # Corresponds to the JSON property `transactionDurationThreshold`
4456
4493
  # @return [Fixnum]
4457
4494
  attr_accessor :transaction_duration_threshold
4458
4495
 
4496
+ # Optional. Specifies a customer-defined list of users to exclude from
4497
+ # transaction termination. Entries can be in the format 'user@host' or just '
4498
+ # user'. A standalone 'user' implies 'user@%', excluding the user from any host.
4499
+ # Wildcard '%' is allowed in the host part of the 'user@host' format. Example: `[
4500
+ # "app_user", "db_admin@10.1.2.3", "report_user@%"]`
4501
+ # Corresponds to the JSON property `transactionKillExcludedUserHosts`
4502
+ # @return [Array<String>]
4503
+ attr_accessor :transaction_kill_excluded_user_hosts
4504
+
4505
+ # Optional. Specifies the amount of time in seconds that a transaction needs to
4506
+ # have been open before the watcher starts terminating it. Valid integers range
4507
+ # from `60` to `604800` (7 days). Enter `0` to disable. If enabled (i.e., > 0),
4508
+ # this value must be greater than or equal to `transaction_duration_threshold`.
4509
+ # Configurations where `0 < transaction_kill_threshold_seconds <
4510
+ # transaction_duration_threshold` will be rejected.
4511
+ # Corresponds to the JSON property `transactionKillThresholdSeconds`
4512
+ # @return [Fixnum]
4513
+ attr_accessor :transaction_kill_threshold_seconds
4514
+
4515
+ # Optional. Determines which transactions are allowed to be terminated when they
4516
+ # exceed `transaction_kill_threshold_seconds`. This allows protecting write-
4517
+ # heavy transactions from auto-termination if desired. Defaults to `
4518
+ # READ_ONLY_TRANSACTIONS` if unspecified.
4519
+ # Corresponds to the JSON property `transactionKillType`
4520
+ # @return [String]
4521
+ attr_accessor :transaction_kill_type
4522
+
4523
+ # Optional. Specifies the minimum allowed number of transactions in lock wait
4524
+ # state to trigger the performance capture. Valid integers range from `10` to `
4525
+ # 10000`. Enter `0` to disable the check.
4526
+ # Corresponds to the JSON property `transactionLockWaitThresholdCount`
4527
+ # @return [Fixnum]
4528
+ attr_accessor :transaction_lock_wait_threshold_count
4529
+
4459
4530
  def initialize(**args)
4460
4531
  update!(**args)
4461
4532
  end
4462
4533
 
4463
4534
  # Update properties of this object
4464
4535
  def update!(**args)
4536
+ @cpu_utilization_threshold_percent = args[:cpu_utilization_threshold_percent] if args.key?(:cpu_utilization_threshold_percent)
4465
4537
  @enabled = args[:enabled] if args.key?(:enabled)
4538
+ @history_list_length_threshold_count = args[:history_list_length_threshold_count] if args.key?(:history_list_length_threshold_count)
4539
+ @memory_usage_threshold_percent = args[:memory_usage_threshold_percent] if args.key?(:memory_usage_threshold_percent)
4466
4540
  @probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
4467
4541
  @probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
4468
4542
  @running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
4469
4543
  @seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
4544
+ @semaphore_wait_threshold_count = args[:semaphore_wait_threshold_count] if args.key?(:semaphore_wait_threshold_count)
4470
4545
  @transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
4546
+ @transaction_kill_excluded_user_hosts = args[:transaction_kill_excluded_user_hosts] if args.key?(:transaction_kill_excluded_user_hosts)
4547
+ @transaction_kill_threshold_seconds = args[:transaction_kill_threshold_seconds] if args.key?(:transaction_kill_threshold_seconds)
4548
+ @transaction_kill_type = args[:transaction_kill_type] if args.key?(:transaction_kill_type)
4549
+ @transaction_lock_wait_threshold_count = args[:transaction_lock_wait_threshold_count] if args.key?(:transaction_lock_wait_threshold_count)
4471
4550
  end
4472
4551
  end
4473
4552
 
@@ -4713,6 +4792,11 @@ module Google
4713
4792
  # @return [String]
4714
4793
  attr_accessor :consumer_project
4715
4794
 
4795
+ # Output only. The status of automated DNS provisioning.
4796
+ # Corresponds to the JSON property `instanceAutoDnsStatus`
4797
+ # @return [String]
4798
+ attr_accessor :instance_auto_dns_status
4799
+
4716
4800
  # The IP address of the consumer endpoint.
4717
4801
  # Corresponds to the JSON property `ipAddress`
4718
4802
  # @return [String]
@@ -4736,6 +4820,11 @@ module Google
4736
4820
  # @return [String]
4737
4821
  attr_accessor :status
4738
4822
 
4823
+ # Output only. The status of automated DNS provisioning for the write endpoint.
4824
+ # Corresponds to the JSON property `writeEndpointAutoDnsStatus`
4825
+ # @return [String]
4826
+ attr_accessor :write_endpoint_auto_dns_status
4827
+
4739
4828
  def initialize(**args)
4740
4829
  update!(**args)
4741
4830
  end
@@ -4745,10 +4834,12 @@ module Google
4745
4834
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
4746
4835
  @consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
4747
4836
  @consumer_project = args[:consumer_project] if args.key?(:consumer_project)
4837
+ @instance_auto_dns_status = args[:instance_auto_dns_status] if args.key?(:instance_auto_dns_status)
4748
4838
  @ip_address = args[:ip_address] if args.key?(:ip_address)
4749
4839
  @service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy)
4750
4840
  @service_connection_policy_creation_result = args[:service_connection_policy_creation_result] if args.key?(:service_connection_policy_creation_result)
4751
4841
  @status = args[:status] if args.key?(:status)
4842
+ @write_endpoint_auto_dns_status = args[:write_endpoint_auto_dns_status] if args.key?(:write_endpoint_auto_dns_status)
4752
4843
  end
4753
4844
  end
4754
4845
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.99.0"
19
+ GEM_VERSION = "0.100.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260529"
25
+ REVISION = "20260627"
26
26
  end
27
27
  end
28
28
  end
@@ -1132,6 +1132,7 @@ module Google
1132
1132
  # @private
1133
1133
  class Representation < Google::Apis::Core::JsonRepresentation
1134
1134
  property :backend_type, as: 'backendType'
1135
+ property :connection_name, as: 'connectionName'
1135
1136
  collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
1136
1137
  property :database_version, as: 'databaseVersion'
1137
1138
  property :dns_name, as: 'dnsName'
@@ -2046,12 +2047,20 @@ module Google
2046
2047
  class PerformanceCaptureConfig
2047
2048
  # @private
2048
2049
  class Representation < Google::Apis::Core::JsonRepresentation
2050
+ property :cpu_utilization_threshold_percent, as: 'cpuUtilizationThresholdPercent'
2049
2051
  property :enabled, as: 'enabled'
2052
+ property :history_list_length_threshold_count, as: 'historyListLengthThresholdCount'
2053
+ property :memory_usage_threshold_percent, as: 'memoryUsageThresholdPercent'
2050
2054
  property :probe_threshold, as: 'probeThreshold'
2051
2055
  property :probing_interval_seconds, as: 'probingIntervalSeconds'
2052
2056
  property :running_threads_threshold, as: 'runningThreadsThreshold'
2053
2057
  property :seconds_behind_source_threshold, as: 'secondsBehindSourceThreshold'
2058
+ property :semaphore_wait_threshold_count, as: 'semaphoreWaitThresholdCount'
2054
2059
  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'
2055
2064
  end
2056
2065
  end
2057
2066
 
@@ -2114,10 +2123,12 @@ module Google
2114
2123
  property :consumer_network, as: 'consumerNetwork'
2115
2124
  property :consumer_network_status, as: 'consumerNetworkStatus'
2116
2125
  property :consumer_project, as: 'consumerProject'
2126
+ property :instance_auto_dns_status, as: 'instanceAutoDnsStatus'
2117
2127
  property :ip_address, as: 'ipAddress'
2118
2128
  property :service_connection_policy, as: 'serviceConnectionPolicy'
2119
2129
  property :service_connection_policy_creation_result, as: 'serviceConnectionPolicyCreationResult'
2120
2130
  property :status, as: 'status'
2131
+ property :write_endpoint_auto_dns_status, as: 'writeEndpointAutoDnsStatus'
2121
2132
  end
2122
2133
  end
2123
2134
 
@@ -463,10 +463,10 @@ module Google
463
463
 
464
464
  # Retrieves connect settings about a Cloud SQL instance using the instance DNS
465
465
  # name.
466
- # @param [String] dns_name
467
- # Required. Cloud SQL instance ID. This does not include the project ID.
468
466
  # @param [String] location
469
467
  # Required. The region of the instance.
468
+ # @param [String] dns_name
469
+ # Required. Cloud SQL instance ID. This does not include the project ID.
470
470
  # @param [String] fields
471
471
  # Selector specifying which fields to include in a partial response.
472
472
  # @param [String] quota_user
@@ -484,12 +484,12 @@ module Google
484
484
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
485
485
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
486
486
  # @raise [Google::Apis::AuthorizationError] Authorization is required
487
- def resolve_connect(dns_name, location, fields: nil, quota_user: nil, options: nil, &block)
488
- command = make_simple_command(:get, 'v1/dns/{dnsName}/locations/{location}:resolveConnectSettings', options)
487
+ def resolve_connect(location, dns_name, fields: nil, quota_user: nil, options: nil, &block)
488
+ command = make_simple_command(:get, 'v1/locations/{location}/dns/{dnsName}:resolveConnectSettings', options)
489
489
  command.response_representation = Google::Apis::SqladminV1::ConnectSettings::Representation
490
490
  command.response_class = Google::Apis::SqladminV1::ConnectSettings
491
- command.params['dnsName'] = dns_name unless dns_name.nil?
492
491
  command.params['location'] = location unless location.nil?
492
+ command.params['dnsName'] = dns_name unless dns_name.nil?
493
493
  command.query['fields'] = fields unless fields.nil?
494
494
  command.query['quotaUser'] = quota_user unless quota_user.nil?
495
495
  execute_or_queue_command(command, &block)
@@ -1520,6 +1520,12 @@ module Google
1520
1520
  # @param [String] instance
1521
1521
  # Cloud SQL instance ID. This does not include the project ID.
1522
1522
  # @param [Google::Apis::SqladminV1::DatabaseInstance] database_instance_object
1523
+ # @param [Boolean] reconcile_psc_networking
1524
+ # Optional. Set PSC config to the same value as the existing config to reconcile
1525
+ # the PSC networking.
1526
+ # @param [Boolean] reconcile_psc_networking_force
1527
+ # Optional. Set PSC config to the same value as the existing config and force
1528
+ # reconcile the PSC networking.
1523
1529
  # @param [String] fields
1524
1530
  # Selector specifying which fields to include in a partial response.
1525
1531
  # @param [String] quota_user
@@ -1537,7 +1543,7 @@ module Google
1537
1543
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1538
1544
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1539
1545
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1540
- def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1546
+ def patch_instance(project, instance, database_instance_object = nil, reconcile_psc_networking: nil, reconcile_psc_networking_force: nil, fields: nil, quota_user: nil, options: nil, &block)
1541
1547
  command = make_simple_command(:patch, 'v1/projects/{project}/instances/{instance}', options)
1542
1548
  command.request_representation = Google::Apis::SqladminV1::DatabaseInstance::Representation
1543
1549
  command.request_object = database_instance_object
@@ -1545,6 +1551,8 @@ module Google
1545
1551
  command.response_class = Google::Apis::SqladminV1::Operation
1546
1552
  command.params['project'] = project unless project.nil?
1547
1553
  command.params['instance'] = instance unless instance.nil?
1554
+ command.query['reconcilePscNetworking'] = reconcile_psc_networking unless reconcile_psc_networking.nil?
1555
+ command.query['reconcilePscNetworkingForce'] = reconcile_psc_networking_force unless reconcile_psc_networking_force.nil?
1548
1556
  command.query['fields'] = fields unless fields.nil?
1549
1557
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1550
1558
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.99.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.100.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
62
62
  rdoc_options: []
63
63
  require_paths: