google-apis-sqladmin_v1beta4 0.94.0 → 0.96.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: 80c5554665843e594efcc54d47925e7afbce31cfc8d96e2e3b569a096bc2f8c3
4
+ data.tar.gz: 4edb03a95792437e87d81a8c98c72e6c0d21312ebd4048b6c8d881cbda1b4ead
5
5
  SHA512:
6
- metadata.gz: 79a822cdfd594c72ed76632362ddd5e32e9160f87da3dca8452016917aaae8b3dd8bf2e20a09c5d34f331854d9049944ea5e038cf123088b196207c77b729d29
7
- data.tar.gz: 884a427fcec1217260959856ecad3cfd5e0ea95f11928ce4a5b3220c3e2acfb4d23afd78835fdaad284e40e25e1c609588ba7a00e1bea199c6ad5e25d7ca2e07
6
+ metadata.gz: 19d35d1bbb73f20aeb87035ea4d9f9791ebb293e6c87364fa938bb3bdabeeaba2bd58fcf4e1e7934bbd3a9ec8893452fdd7a73fce853db87fd58a6f9f68ba680
7
+ data.tar.gz: 1578cc672c9349b32dff888f3a3ae809f80ab8940c9e86f9a3aaeb5d27a12d2da9780e6ca9543d1c9ff3aee002bc7b58802525055ec198f8ea122b7acd304360
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.96.0 (2026-01-18)
4
+
5
+ * Regenerated from discovery document revision 20260106
6
+
7
+ ### v0.95.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251201
10
+
3
11
  ### v0.94.0 (2025-11-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20251107
@@ -1830,11 +1830,16 @@ module Google
1830
1830
  # @return [String]
1831
1831
  attr_accessor :dns_scope
1832
1832
 
1833
- # The DNS name.
1833
+ # Output only. The DNS name.
1834
1834
  # Corresponds to the JSON property `name`
1835
1835
  # @return [String]
1836
1836
  attr_accessor :name
1837
1837
 
1838
+ # Output only. The manager for this DNS record.
1839
+ # Corresponds to the JSON property `recordManager`
1840
+ # @return [String]
1841
+ attr_accessor :record_manager
1842
+
1838
1843
  def initialize(**args)
1839
1844
  update!(**args)
1840
1845
  end
@@ -1844,6 +1849,7 @@ module Google
1844
1849
  @connection_type = args[:connection_type] if args.key?(:connection_type)
1845
1850
  @dns_scope = args[:dns_scope] if args.key?(:dns_scope)
1846
1851
  @name = args[:name] if args.key?(:name)
1852
+ @record_manager = args[:record_manager] if args.key?(:record_manager)
1847
1853
  end
1848
1854
  end
1849
1855
 
@@ -1867,6 +1873,13 @@ module Google
1867
1873
  class ExecuteSqlPayload
1868
1874
  include Google::Apis::Core::Hashable
1869
1875
 
1876
+ # Optional. Specifies the name of the application that is making the request.
1877
+ # This field is used for telemetry. Only alphanumeric characters, dashes, and
1878
+ # underscores are allowed. The maximum length is 32 characters.
1879
+ # Corresponds to the JSON property `application`
1880
+ # @return [String]
1881
+ attr_accessor :application
1882
+
1870
1883
  # Optional. When set to true, the API caller identity associated with the
1871
1884
  # request is used for database authentication. The API caller must be an IAM
1872
1885
  # user in the database.
@@ -1911,6 +1924,7 @@ module Google
1911
1924
 
1912
1925
  # Update properties of this object
1913
1926
  def update!(**args)
1927
+ @application = args[:application] if args.key?(:application)
1914
1928
  @auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
1915
1929
  @database = args[:database] if args.key?(:database)
1916
1930
  @partial_result_mode = args[:partial_result_mode] if args.key?(:partial_result_mode)
@@ -2923,6 +2937,12 @@ module Google
2923
2937
  class InsightsConfig
2924
2938
  include Google::Apis::Core::Hashable
2925
2939
 
2940
+ # Optional. Whether enhanced query insights feature is enabled.
2941
+ # Corresponds to the JSON property `enhancedQueryInsightsEnabled`
2942
+ # @return [Boolean]
2943
+ attr_accessor :enhanced_query_insights_enabled
2944
+ alias_method :enhanced_query_insights_enabled?, :enhanced_query_insights_enabled
2945
+
2926
2946
  # Whether Query Insights feature is enabled.
2927
2947
  # Corresponds to the JSON property `queryInsightsEnabled`
2928
2948
  # @return [Boolean]
@@ -2961,6 +2981,7 @@ module Google
2961
2981
 
2962
2982
  # Update properties of this object
2963
2983
  def update!(**args)
2984
+ @enhanced_query_insights_enabled = args[:enhanced_query_insights_enabled] if args.key?(:enhanced_query_insights_enabled)
2964
2985
  @query_insights_enabled = args[:query_insights_enabled] if args.key?(:query_insights_enabled)
2965
2986
  @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
2966
2987
  @query_string_length = args[:query_string_length] if args.key?(:query_string_length)
@@ -4296,7 +4317,10 @@ module Google
4296
4317
  end
4297
4318
  end
4298
4319
 
4299
- # Database instance local user password validation policy
4320
+ # Database instance local user password validation policy. This message defines
4321
+ # the password policy for local database users. When enabled, it enforces
4322
+ # constraints on password complexity, length, and reuse. Keep this policy
4323
+ # enabled to help prevent unauthorized access.
4300
4324
  class PasswordValidationPolicy
4301
4325
  include Google::Apis::Core::Hashable
4302
4326
 
@@ -4317,7 +4341,9 @@ module Google
4317
4341
  attr_accessor :disallow_username_substring
4318
4342
  alias_method :disallow_username_substring?, :disallow_username_substring
4319
4343
 
4320
- # Whether the password policy is enabled or not.
4344
+ # Whether to enable the password policy or not. When enabled, passwords must
4345
+ # meet complexity requirements. Keep this policy enabled to help prevent
4346
+ # unauthorized access. Disabling this policy allows weak passwords.
4321
4347
  # Corresponds to the JSON property `enablePasswordPolicy`
4322
4348
  # @return [Boolean]
4323
4349
  attr_accessor :enable_password_policy
@@ -4374,6 +4400,60 @@ module Google
4374
4400
  end
4375
4401
  end
4376
4402
 
4403
+ # Performance Capture configuration.
4404
+ class PerformanceCaptureConfig
4405
+ include Google::Apis::Core::Hashable
4406
+
4407
+ # Optional. Enable or disable the Performance Capture.
4408
+ # Corresponds to the JSON property `enabled`
4409
+ # @return [Boolean]
4410
+ attr_accessor :enabled
4411
+ alias_method :enabled?, :enabled
4412
+
4413
+ # Optional. The minimum number of consecutive readings above threshold that
4414
+ # triggers instance state capture.
4415
+ # Corresponds to the JSON property `probeThreshold`
4416
+ # @return [Fixnum]
4417
+ attr_accessor :probe_threshold
4418
+
4419
+ # Optional. The time interval in seconds between any two probes.
4420
+ # Corresponds to the JSON property `probingIntervalSeconds`
4421
+ # @return [Fixnum]
4422
+ attr_accessor :probing_interval_seconds
4423
+
4424
+ # Optional. The minimum number of server threads running to trigger the capture
4425
+ # on primary.
4426
+ # Corresponds to the JSON property `runningThreadsThreshold`
4427
+ # @return [Fixnum]
4428
+ attr_accessor :running_threads_threshold
4429
+
4430
+ # Optional. The minimum number of seconds replica must be lagging behind primary
4431
+ # to trigger capture on replica.
4432
+ # Corresponds to the JSON property `secondsBehindSourceThreshold`
4433
+ # @return [Fixnum]
4434
+ attr_accessor :seconds_behind_source_threshold
4435
+
4436
+ # Optional. The amount of time in seconds that a transaction needs to have been
4437
+ # open before the watcher starts recording it.
4438
+ # Corresponds to the JSON property `transactionDurationThreshold`
4439
+ # @return [Fixnum]
4440
+ attr_accessor :transaction_duration_threshold
4441
+
4442
+ def initialize(**args)
4443
+ update!(**args)
4444
+ end
4445
+
4446
+ # Update properties of this object
4447
+ def update!(**args)
4448
+ @enabled = args[:enabled] if args.key?(:enabled)
4449
+ @probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
4450
+ @probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
4451
+ @running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
4452
+ @seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
4453
+ @transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
4454
+ end
4455
+ end
4456
+
4377
4457
  # Context to perform a point-in-time restore of an instance managed by Backup
4378
4458
  # and Disaster Recovery (DR) Service.
4379
4459
  class PointInTimeRestoreContext
@@ -4474,6 +4554,19 @@ module Google
4474
4554
  # @return [String]
4475
4555
  attr_accessor :name
4476
4556
 
4557
+ # Output only. The list of settings for requested automatically-setup Private
4558
+ # Service Connect (PSC) consumer endpoints that can be used to connect to this
4559
+ # read pool node.
4560
+ # Corresponds to the JSON property `pscAutoConnections`
4561
+ # @return [Array<Google::Apis::SqladminV1beta4::PscAutoConnectionConfig>]
4562
+ attr_accessor :psc_auto_connections
4563
+
4564
+ # Output only. The Private Service Connect (PSC) service attachment of the read
4565
+ # pool node.
4566
+ # Corresponds to the JSON property `pscServiceAttachmentLink`
4567
+ # @return [String]
4568
+ attr_accessor :psc_service_attachment_link
4569
+
4477
4570
  # Output only. The current state of the read pool node.
4478
4571
  # Corresponds to the JSON property `state`
4479
4572
  # @return [String]
@@ -4490,6 +4583,8 @@ module Google
4490
4583
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4491
4584
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4492
4585
  @name = args[:name] if args.key?(:name)
4586
+ @psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
4587
+ @psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
4493
4588
  @state = args[:state] if args.key?(:state)
4494
4589
  end
4495
4590
  end
@@ -5231,11 +5326,19 @@ module Google
5231
5326
  # @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
5232
5327
  attr_accessor :maintenance_window
5233
5328
 
5234
- # Database instance local user password validation policy
5329
+ # Database instance local user password validation policy. This message defines
5330
+ # the password policy for local database users. When enabled, it enforces
5331
+ # constraints on password complexity, length, and reuse. Keep this policy
5332
+ # enabled to help prevent unauthorized access.
5235
5333
  # Corresponds to the JSON property `passwordValidationPolicy`
5236
5334
  # @return [Google::Apis::SqladminV1beta4::PasswordValidationPolicy]
5237
5335
  attr_accessor :password_validation_policy
5238
5336
 
5337
+ # Performance Capture configuration.
5338
+ # Corresponds to the JSON property `performanceCaptureConfig`
5339
+ # @return [Google::Apis::SqladminV1beta4::PerformanceCaptureConfig]
5340
+ attr_accessor :performance_capture_config
5341
+
5239
5342
  # The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
5240
5343
  # Only `PER_USE` is supported for Second Generation instances.
5241
5344
  # Corresponds to the JSON property `pricingPlan`
@@ -5350,6 +5453,7 @@ module Google
5350
5453
  @location_preference = args[:location_preference] if args.key?(:location_preference)
5351
5454
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5352
5455
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5456
+ @performance_capture_config = args[:performance_capture_config] if args.key?(:performance_capture_config)
5353
5457
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5354
5458
  @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5355
5459
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
@@ -5466,19 +5570,6 @@ module Google
5466
5570
  end
5467
5571
  end
5468
5572
 
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
5573
  # Execute SQL statements response.
5483
5574
  class SqlInstancesExecuteSqlResponse
5484
5575
  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.96.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 = "20260106"
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
 
@@ -1360,6 +1360,7 @@ module Google
1360
1360
  property :connection_type, as: 'connectionType'
1361
1361
  property :dns_scope, as: 'dnsScope'
1362
1362
  property :name, as: 'name'
1363
+ property :record_manager, as: 'recordManager'
1363
1364
  end
1364
1365
  end
1365
1366
 
@@ -1372,6 +1373,7 @@ module Google
1372
1373
  class ExecuteSqlPayload
1373
1374
  # @private
1374
1375
  class Representation < Google::Apis::Core::JsonRepresentation
1376
+ property :application, as: 'application'
1375
1377
  property :auto_iam_authn, as: 'autoIamAuthn'
1376
1378
  property :database, as: 'database'
1377
1379
  property :partial_result_mode, as: 'partialResultMode'
@@ -1630,6 +1632,7 @@ module Google
1630
1632
  class InsightsConfig
1631
1633
  # @private
1632
1634
  class Representation < Google::Apis::Core::JsonRepresentation
1635
+ property :enhanced_query_insights_enabled, as: 'enhancedQueryInsightsEnabled'
1633
1636
  property :query_insights_enabled, as: 'queryInsightsEnabled'
1634
1637
  property :query_plans_per_minute, as: 'queryPlansPerMinute'
1635
1638
  property :query_string_length, as: 'queryStringLength'
@@ -2038,6 +2041,18 @@ module Google
2038
2041
  end
2039
2042
  end
2040
2043
 
2044
+ class PerformanceCaptureConfig
2045
+ # @private
2046
+ class Representation < Google::Apis::Core::JsonRepresentation
2047
+ property :enabled, as: 'enabled'
2048
+ property :probe_threshold, as: 'probeThreshold'
2049
+ property :probing_interval_seconds, as: 'probingIntervalSeconds'
2050
+ property :running_threads_threshold, as: 'runningThreadsThreshold'
2051
+ property :seconds_behind_source_threshold, as: 'secondsBehindSourceThreshold'
2052
+ property :transaction_duration_threshold, as: 'transactionDurationThreshold'
2053
+ end
2054
+ end
2055
+
2041
2056
  class PointInTimeRestoreContext
2042
2057
  # @private
2043
2058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2061,6 +2076,9 @@ module Google
2061
2076
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
2062
2077
 
2063
2078
  property :name, as: 'name'
2079
+ collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig::Representation
2080
+
2081
+ property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
2064
2082
  property :state, as: 'state'
2065
2083
  end
2066
2084
  end
@@ -2260,6 +2278,8 @@ module Google
2260
2278
 
2261
2279
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation
2262
2280
 
2281
+ property :performance_capture_config, as: 'performanceCaptureConfig', class: Google::Apis::SqladminV1beta4::PerformanceCaptureConfig, decorator: Google::Apis::SqladminV1beta4::PerformanceCaptureConfig::Representation
2282
+
2263
2283
  property :pricing_plan, as: 'pricingPlan'
2264
2284
  property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig::Representation
2265
2285
 
@@ -2305,12 +2325,6 @@ module Google
2305
2325
  end
2306
2326
  end
2307
2327
 
2308
- class SqlInstancesAddEntraIdCertificateRequest
2309
- # @private
2310
- class Representation < Google::Apis::Core::JsonRepresentation
2311
- end
2312
- end
2313
-
2314
2328
  class SqlInstancesExecuteSqlResponse
2315
2329
  # @private
2316
2330
  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.96.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.96.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: