google-apis-sqladmin_v1beta4 0.94.0 → 0.95.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: 60fb4ca81a05f5f763e44f1c5177c931dae722b5686b52695e7aa2772eafeeb0
4
- data.tar.gz: d4757e8fc0769df7414cf8cb235f57e0a5b2368e8712ebacd7a1486014dc87a5
3
+ metadata.gz: 6386fe947ab7b59336dd90eff98503131f090cf0d91283add9177cd5aba289f5
4
+ data.tar.gz: 57c9ea922fdd16ea9c831884d1246c4e4327e68a9e2b4f3e1802ea3002971c66
5
5
  SHA512:
6
- metadata.gz: 79a822cdfd594c72ed76632362ddd5e32e9160f87da3dca8452016917aaae8b3dd8bf2e20a09c5d34f331854d9049944ea5e038cf123088b196207c77b729d29
7
- data.tar.gz: 884a427fcec1217260959856ecad3cfd5e0ea95f11928ce4a5b3220c3e2acfb4d23afd78835fdaad284e40e25e1c609588ba7a00e1bea199c6ad5e25d7ca2e07
6
+ metadata.gz: 8792f0ddd23b01ca3dfd9b4e580d90cadc6bf099dbcabf02ffccec2adb89be8ae306b9a9e0136b5c0ea67f067f5588a2ae48f399e46c6311ffc2111f8c85fa4e
7
+ data.tar.gz: f3513fdda7d376ff91acb7d0de92343960a9d539d5cd5cbf15daa68a547b6e6295ec72f7b7bc86e6dcfabfefbfd452e0ecfd9124a71c938440a34d5375a6e817
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.95.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251201
6
+
3
7
  ### v0.94.0 (2025-11-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20251107
@@ -4296,7 +4296,10 @@ module Google
4296
4296
  end
4297
4297
  end
4298
4298
 
4299
- # Database instance local user password validation policy
4299
+ # Database instance local user password validation policy. This message defines
4300
+ # the password policy for local database users. When enabled, it enforces
4301
+ # constraints on password complexity, length, and reuse. Keep this policy
4302
+ # enabled to help prevent unauthorized access.
4300
4303
  class PasswordValidationPolicy
4301
4304
  include Google::Apis::Core::Hashable
4302
4305
 
@@ -4317,7 +4320,9 @@ module Google
4317
4320
  attr_accessor :disallow_username_substring
4318
4321
  alias_method :disallow_username_substring?, :disallow_username_substring
4319
4322
 
4320
- # Whether the password policy is enabled or not.
4323
+ # Whether to enable the password policy or not. When enabled, passwords must
4324
+ # meet complexity requirements. Keep this policy enabled to help prevent
4325
+ # unauthorized access. Disabling this policy allows weak passwords.
4321
4326
  # Corresponds to the JSON property `enablePasswordPolicy`
4322
4327
  # @return [Boolean]
4323
4328
  attr_accessor :enable_password_policy
@@ -4374,6 +4379,60 @@ module Google
4374
4379
  end
4375
4380
  end
4376
4381
 
4382
+ # Performance Capture configuration.
4383
+ class PerformanceCaptureConfig
4384
+ include Google::Apis::Core::Hashable
4385
+
4386
+ # Optional. Enable or disable the Performance Capture.
4387
+ # Corresponds to the JSON property `enabled`
4388
+ # @return [Boolean]
4389
+ attr_accessor :enabled
4390
+ alias_method :enabled?, :enabled
4391
+
4392
+ # Optional. The minimum number of consecutive readings above threshold that
4393
+ # triggers instance state capture.
4394
+ # Corresponds to the JSON property `probeThreshold`
4395
+ # @return [Fixnum]
4396
+ attr_accessor :probe_threshold
4397
+
4398
+ # Optional. The time interval in seconds between any two probes.
4399
+ # Corresponds to the JSON property `probingIntervalSeconds`
4400
+ # @return [Fixnum]
4401
+ attr_accessor :probing_interval_seconds
4402
+
4403
+ # Optional. The minimum number of server threads running to trigger the capture
4404
+ # on primary.
4405
+ # Corresponds to the JSON property `runningThreadsThreshold`
4406
+ # @return [Fixnum]
4407
+ attr_accessor :running_threads_threshold
4408
+
4409
+ # Optional. The minimum number of seconds replica must be lagging behind primary
4410
+ # to trigger capture on replica.
4411
+ # Corresponds to the JSON property `secondsBehindSourceThreshold`
4412
+ # @return [Fixnum]
4413
+ attr_accessor :seconds_behind_source_threshold
4414
+
4415
+ # Optional. The amount of time in seconds that a transaction needs to have been
4416
+ # open before the watcher starts recording it.
4417
+ # Corresponds to the JSON property `transactionDurationThreshold`
4418
+ # @return [Fixnum]
4419
+ attr_accessor :transaction_duration_threshold
4420
+
4421
+ def initialize(**args)
4422
+ update!(**args)
4423
+ end
4424
+
4425
+ # Update properties of this object
4426
+ def update!(**args)
4427
+ @enabled = args[:enabled] if args.key?(:enabled)
4428
+ @probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
4429
+ @probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
4430
+ @running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
4431
+ @seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
4432
+ @transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
4433
+ end
4434
+ end
4435
+
4377
4436
  # Context to perform a point-in-time restore of an instance managed by Backup
4378
4437
  # and Disaster Recovery (DR) Service.
4379
4438
  class PointInTimeRestoreContext
@@ -4474,6 +4533,19 @@ module Google
4474
4533
  # @return [String]
4475
4534
  attr_accessor :name
4476
4535
 
4536
+ # Output only. The list of settings for requested automatically-setup Private
4537
+ # Service Connect (PSC) consumer endpoints that can be used to connect to this
4538
+ # read pool node.
4539
+ # Corresponds to the JSON property `pscAutoConnections`
4540
+ # @return [Array<Google::Apis::SqladminV1beta4::PscAutoConnectionConfig>]
4541
+ attr_accessor :psc_auto_connections
4542
+
4543
+ # Output only. The Private Service Connect (PSC) service attachment of the read
4544
+ # pool node.
4545
+ # Corresponds to the JSON property `pscServiceAttachmentLink`
4546
+ # @return [String]
4547
+ attr_accessor :psc_service_attachment_link
4548
+
4477
4549
  # Output only. The current state of the read pool node.
4478
4550
  # Corresponds to the JSON property `state`
4479
4551
  # @return [String]
@@ -4490,6 +4562,8 @@ module Google
4490
4562
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4491
4563
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4492
4564
  @name = args[:name] if args.key?(:name)
4565
+ @psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
4566
+ @psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
4493
4567
  @state = args[:state] if args.key?(:state)
4494
4568
  end
4495
4569
  end
@@ -5231,11 +5305,19 @@ module Google
5231
5305
  # @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
5232
5306
  attr_accessor :maintenance_window
5233
5307
 
5234
- # Database instance local user password validation policy
5308
+ # Database instance local user password validation policy. This message defines
5309
+ # the password policy for local database users. When enabled, it enforces
5310
+ # constraints on password complexity, length, and reuse. Keep this policy
5311
+ # enabled to help prevent unauthorized access.
5235
5312
  # Corresponds to the JSON property `passwordValidationPolicy`
5236
5313
  # @return [Google::Apis::SqladminV1beta4::PasswordValidationPolicy]
5237
5314
  attr_accessor :password_validation_policy
5238
5315
 
5316
+ # Performance Capture configuration.
5317
+ # Corresponds to the JSON property `performanceCaptureConfig`
5318
+ # @return [Google::Apis::SqladminV1beta4::PerformanceCaptureConfig]
5319
+ attr_accessor :performance_capture_config
5320
+
5239
5321
  # The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
5240
5322
  # Only `PER_USE` is supported for Second Generation instances.
5241
5323
  # Corresponds to the JSON property `pricingPlan`
@@ -5350,6 +5432,7 @@ module Google
5350
5432
  @location_preference = args[:location_preference] if args.key?(:location_preference)
5351
5433
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5352
5434
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5435
+ @performance_capture_config = args[:performance_capture_config] if args.key?(:performance_capture_config)
5353
5436
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5354
5437
  @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5355
5438
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
@@ -5466,19 +5549,6 @@ module Google
5466
5549
  end
5467
5550
  end
5468
5551
 
5469
- # Request for AddEntraIdCertificate RPC.
5470
- class SqlInstancesAddEntraIdCertificateRequest
5471
- include Google::Apis::Core::Hashable
5472
-
5473
- def initialize(**args)
5474
- update!(**args)
5475
- end
5476
-
5477
- # Update properties of this object
5478
- def update!(**args)
5479
- end
5480
- end
5481
-
5482
5552
  # Execute SQL statements response.
5483
5553
  class SqlInstancesExecuteSqlResponse
5484
5554
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1beta4
18
18
  # Version of the google-apis-sqladmin_v1beta4 gem
19
- GEM_VERSION = "0.94.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251107"
25
+ REVISION = "20251201"
26
26
  end
27
27
  end
28
28
  end
@@ -598,6 +598,12 @@ module Google
598
598
  include Google::Apis::Core::JsonObjectSupport
599
599
  end
600
600
 
601
+ class PerformanceCaptureConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
601
607
  class PointInTimeRestoreContext
602
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
609
 
@@ -724,12 +730,6 @@ module Google
724
730
  include Google::Apis::Core::JsonObjectSupport
725
731
  end
726
732
 
727
- class SqlInstancesAddEntraIdCertificateRequest
728
- class Representation < Google::Apis::Core::JsonRepresentation; end
729
-
730
- include Google::Apis::Core::JsonObjectSupport
731
- end
732
-
733
733
  class SqlInstancesExecuteSqlResponse
734
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
735
 
@@ -2038,6 +2038,18 @@ module Google
2038
2038
  end
2039
2039
  end
2040
2040
 
2041
+ class PerformanceCaptureConfig
2042
+ # @private
2043
+ class Representation < Google::Apis::Core::JsonRepresentation
2044
+ property :enabled, as: 'enabled'
2045
+ property :probe_threshold, as: 'probeThreshold'
2046
+ property :probing_interval_seconds, as: 'probingIntervalSeconds'
2047
+ property :running_threads_threshold, as: 'runningThreadsThreshold'
2048
+ property :seconds_behind_source_threshold, as: 'secondsBehindSourceThreshold'
2049
+ property :transaction_duration_threshold, as: 'transactionDurationThreshold'
2050
+ end
2051
+ end
2052
+
2041
2053
  class PointInTimeRestoreContext
2042
2054
  # @private
2043
2055
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2061,6 +2073,9 @@ module Google
2061
2073
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
2062
2074
 
2063
2075
  property :name, as: 'name'
2076
+ collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig::Representation
2077
+
2078
+ property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
2064
2079
  property :state, as: 'state'
2065
2080
  end
2066
2081
  end
@@ -2260,6 +2275,8 @@ module Google
2260
2275
 
2261
2276
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation
2262
2277
 
2278
+ property :performance_capture_config, as: 'performanceCaptureConfig', class: Google::Apis::SqladminV1beta4::PerformanceCaptureConfig, decorator: Google::Apis::SqladminV1beta4::PerformanceCaptureConfig::Representation
2279
+
2263
2280
  property :pricing_plan, as: 'pricingPlan'
2264
2281
  property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig::Representation
2265
2282
 
@@ -2305,12 +2322,6 @@ module Google
2305
2322
  end
2306
2323
  end
2307
2324
 
2308
- class SqlInstancesAddEntraIdCertificateRequest
2309
- # @private
2310
- class Representation < Google::Apis::Core::JsonRepresentation
2311
- end
2312
- end
2313
-
2314
2325
  class SqlInstancesExecuteSqlResponse
2315
2326
  # @private
2316
2327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,7 +913,6 @@ module Google
913
913
  # Required. Project ID of the project that contains the instance.
914
914
  # @param [String] instance
915
915
  # Required. Cloud SQL instance ID. This does not include the project ID.
916
- # @param [Google::Apis::SqladminV1beta4::SqlInstancesAddEntraIdCertificateRequest] sql_instances_add_entra_id_certificate_request_object
917
916
  # @param [String] fields
918
917
  # Selector specifying which fields to include in a partial response.
919
918
  # @param [String] quota_user
@@ -931,10 +930,8 @@ module Google
931
930
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
932
931
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
933
932
  # @raise [Google::Apis::AuthorizationError] Authorization is required
934
- def add_instance_entra_id_certificate(project, instance, sql_instances_add_entra_id_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
933
+ def add_instance_entra_id_certificate(project, instance, fields: nil, quota_user: nil, options: nil, &block)
935
934
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate', options)
936
- command.request_representation = Google::Apis::SqladminV1beta4::SqlInstancesAddEntraIdCertificateRequest::Representation
937
- command.request_object = sql_instances_add_entra_id_certificate_request_object
938
935
  command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
939
936
  command.response_class = Google::Apis::SqladminV1beta4::Operation
940
937
  command.params['project'] = project unless project.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.0
4
+ version: 0.95.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_v1beta4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.94.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.95.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
62
62
  rdoc_options: []
63
63
  require_paths: