google-apis-sqladmin_v1 0.89.0 → 0.91.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: 3e2d084b4fdc81241a24af4d930a2698f9603e2392f0bccc6b2b2988b1069ef9
4
- data.tar.gz: b65223ec08e802a0923ba56a4d7491291542527d39d3996356bde855d220e8d2
3
+ metadata.gz: 84ffc26abf125ea1da16b7283aba3141f94d65b5b3ffebe7b1b42a515d3c0734
4
+ data.tar.gz: 5b37ed9935153e17097301969fa6aaf5038821e98977253157c0c28941ac9648
5
5
  SHA512:
6
- metadata.gz: f88443dca15826d69f4fa1c23e40b8cf2ac8e3e7b8e00d7016881ea92fe12397461d9286984e26435db157cb177e129212a5132ddf09791c9da960697b4a5251
7
- data.tar.gz: ec80696f1f0286ecd6cc5e8bed80ade02f3061905b1da00e11afc690c8d6b86886ea4818cb7941b3ba99a3cfcff332d4674e1ed82694ba511cfd798b07dc00f2
6
+ metadata.gz: 4e028a713d07dfade6fa09f0b0db8c931fa93d946dfe6c895e89e694c7a84b5ee894f5745e0360f1a859b5d0e443188cafaf6c2d31ec29a390f7401e1c01f497
7
+ data.tar.gz: 98571b80338e0833ccc01641aa5e215a4f3fca3f009bcb25407854c36981bd0c4adfa0d50ea5e45960414e4b8d82a2d5d5ee1d842ec22a77f3c3def531db7fe1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.91.0 (2026-01-18)
4
+
5
+ * Regenerated from discovery document revision 20260106
6
+
7
+ ### v0.90.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251201
10
+
3
11
  ### v0.89.0 (2025-11-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20251107
@@ -1832,11 +1832,16 @@ module Google
1832
1832
  # @return [String]
1833
1833
  attr_accessor :dns_scope
1834
1834
 
1835
- # The DNS name.
1835
+ # Output only. The DNS name.
1836
1836
  # Corresponds to the JSON property `name`
1837
1837
  # @return [String]
1838
1838
  attr_accessor :name
1839
1839
 
1840
+ # Output only. The manager for this DNS record.
1841
+ # Corresponds to the JSON property `recordManager`
1842
+ # @return [String]
1843
+ attr_accessor :record_manager
1844
+
1840
1845
  def initialize(**args)
1841
1846
  update!(**args)
1842
1847
  end
@@ -1846,6 +1851,7 @@ module Google
1846
1851
  @connection_type = args[:connection_type] if args.key?(:connection_type)
1847
1852
  @dns_scope = args[:dns_scope] if args.key?(:dns_scope)
1848
1853
  @name = args[:name] if args.key?(:name)
1854
+ @record_manager = args[:record_manager] if args.key?(:record_manager)
1849
1855
  end
1850
1856
  end
1851
1857
 
@@ -1869,6 +1875,13 @@ module Google
1869
1875
  class ExecuteSqlPayload
1870
1876
  include Google::Apis::Core::Hashable
1871
1877
 
1878
+ # Optional. Specifies the name of the application that is making the request.
1879
+ # This field is used for telemetry. Only alphanumeric characters, dashes, and
1880
+ # underscores are allowed. The maximum length is 32 characters.
1881
+ # Corresponds to the JSON property `application`
1882
+ # @return [String]
1883
+ attr_accessor :application
1884
+
1872
1885
  # Optional. When set to true, the API caller identity associated with the
1873
1886
  # request is used for database authentication. The API caller must be an IAM
1874
1887
  # user in the database.
@@ -1913,6 +1926,7 @@ module Google
1913
1926
 
1914
1927
  # Update properties of this object
1915
1928
  def update!(**args)
1929
+ @application = args[:application] if args.key?(:application)
1916
1930
  @auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
1917
1931
  @database = args[:database] if args.key?(:database)
1918
1932
  @partial_result_mode = args[:partial_result_mode] if args.key?(:partial_result_mode)
@@ -2922,6 +2936,12 @@ module Google
2922
2936
  class InsightsConfig
2923
2937
  include Google::Apis::Core::Hashable
2924
2938
 
2939
+ # Optional. Whether enhanced query insights feature is enabled.
2940
+ # Corresponds to the JSON property `enhancedQueryInsightsEnabled`
2941
+ # @return [Boolean]
2942
+ attr_accessor :enhanced_query_insights_enabled
2943
+ alias_method :enhanced_query_insights_enabled?, :enhanced_query_insights_enabled
2944
+
2925
2945
  # Whether Query Insights feature is enabled.
2926
2946
  # Corresponds to the JSON property `queryInsightsEnabled`
2927
2947
  # @return [Boolean]
@@ -2960,6 +2980,7 @@ module Google
2960
2980
 
2961
2981
  # Update properties of this object
2962
2982
  def update!(**args)
2983
+ @enhanced_query_insights_enabled = args[:enhanced_query_insights_enabled] if args.key?(:enhanced_query_insights_enabled)
2963
2984
  @query_insights_enabled = args[:query_insights_enabled] if args.key?(:query_insights_enabled)
2964
2985
  @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
2965
2986
  @query_string_length = args[:query_string_length] if args.key?(:query_string_length)
@@ -4295,7 +4316,10 @@ module Google
4295
4316
  end
4296
4317
  end
4297
4318
 
4298
- # Database instance local user password validation policy
4319
+ # Database instance local user password validation policy. This message defines
4320
+ # the password policy for local database users. When enabled, it enforces
4321
+ # constraints on password complexity, length, and reuse. Keep this policy
4322
+ # enabled to help prevent unauthorized access.
4299
4323
  class PasswordValidationPolicy
4300
4324
  include Google::Apis::Core::Hashable
4301
4325
 
@@ -4316,7 +4340,9 @@ module Google
4316
4340
  attr_accessor :disallow_username_substring
4317
4341
  alias_method :disallow_username_substring?, :disallow_username_substring
4318
4342
 
4319
- # Whether the password policy is enabled or not.
4343
+ # Whether to enable the password policy or not. When enabled, passwords must
4344
+ # meet complexity requirements. Keep this policy enabled to help prevent
4345
+ # unauthorized access. Disabling this policy allows weak passwords.
4320
4346
  # Corresponds to the JSON property `enablePasswordPolicy`
4321
4347
  # @return [Boolean]
4322
4348
  attr_accessor :enable_password_policy
@@ -4373,6 +4399,60 @@ module Google
4373
4399
  end
4374
4400
  end
4375
4401
 
4402
+ # Performance Capture configuration.
4403
+ class PerformanceCaptureConfig
4404
+ include Google::Apis::Core::Hashable
4405
+
4406
+ # Optional. Enable or disable the Performance Capture feature.
4407
+ # Corresponds to the JSON property `enabled`
4408
+ # @return [Boolean]
4409
+ attr_accessor :enabled
4410
+ alias_method :enabled?, :enabled
4411
+
4412
+ # Optional. The minimum number of consecutive readings above threshold that
4413
+ # triggers instance state capture.
4414
+ # Corresponds to the JSON property `probeThreshold`
4415
+ # @return [Fixnum]
4416
+ attr_accessor :probe_threshold
4417
+
4418
+ # Optional. The time interval in seconds between any two probes.
4419
+ # Corresponds to the JSON property `probingIntervalSeconds`
4420
+ # @return [Fixnum]
4421
+ attr_accessor :probing_interval_seconds
4422
+
4423
+ # Optional. The minimum number of server threads running to trigger the capture
4424
+ # on primary.
4425
+ # Corresponds to the JSON property `runningThreadsThreshold`
4426
+ # @return [Fixnum]
4427
+ attr_accessor :running_threads_threshold
4428
+
4429
+ # Optional. The minimum number of seconds replica must be lagging behind primary
4430
+ # to trigger capture on replica.
4431
+ # Corresponds to the JSON property `secondsBehindSourceThreshold`
4432
+ # @return [Fixnum]
4433
+ attr_accessor :seconds_behind_source_threshold
4434
+
4435
+ # Optional. The amount of time in seconds that a transaction needs to have been
4436
+ # open before the watcher starts recording it.
4437
+ # Corresponds to the JSON property `transactionDurationThreshold`
4438
+ # @return [Fixnum]
4439
+ attr_accessor :transaction_duration_threshold
4440
+
4441
+ def initialize(**args)
4442
+ update!(**args)
4443
+ end
4444
+
4445
+ # Update properties of this object
4446
+ def update!(**args)
4447
+ @enabled = args[:enabled] if args.key?(:enabled)
4448
+ @probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
4449
+ @probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
4450
+ @running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
4451
+ @seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
4452
+ @transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
4453
+ end
4454
+ end
4455
+
4376
4456
  # The context to perform a point-in-time recovery of an instance managed by
4377
4457
  # Backup and Disaster Recovery (DR) Service.
4378
4458
  class PointInTimeRestoreContext
@@ -4473,6 +4553,19 @@ module Google
4473
4553
  # @return [String]
4474
4554
  attr_accessor :name
4475
4555
 
4556
+ # Output only. The list of settings for requested automatically-setup Private
4557
+ # Service Connect (PSC) consumer endpoints that can be used to connect to this
4558
+ # read pool node.
4559
+ # Corresponds to the JSON property `pscAutoConnections`
4560
+ # @return [Array<Google::Apis::SqladminV1::PscAutoConnectionConfig>]
4561
+ attr_accessor :psc_auto_connections
4562
+
4563
+ # Output only. The Private Service Connect (PSC) service attachment of the read
4564
+ # pool node.
4565
+ # Corresponds to the JSON property `pscServiceAttachmentLink`
4566
+ # @return [String]
4567
+ attr_accessor :psc_service_attachment_link
4568
+
4476
4569
  # Output only. The current state of the read pool node.
4477
4570
  # Corresponds to the JSON property `state`
4478
4571
  # @return [String]
@@ -4489,6 +4582,8 @@ module Google
4489
4582
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4490
4583
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4491
4584
  @name = args[:name] if args.key?(:name)
4585
+ @psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
4586
+ @psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
4492
4587
  @state = args[:state] if args.key?(:state)
4493
4588
  end
4494
4589
  end
@@ -5230,11 +5325,19 @@ module Google
5230
5325
  # @return [Google::Apis::SqladminV1::MaintenanceWindow]
5231
5326
  attr_accessor :maintenance_window
5232
5327
 
5233
- # Database instance local user password validation policy
5328
+ # Database instance local user password validation policy. This message defines
5329
+ # the password policy for local database users. When enabled, it enforces
5330
+ # constraints on password complexity, length, and reuse. Keep this policy
5331
+ # enabled to help prevent unauthorized access.
5234
5332
  # Corresponds to the JSON property `passwordValidationPolicy`
5235
5333
  # @return [Google::Apis::SqladminV1::PasswordValidationPolicy]
5236
5334
  attr_accessor :password_validation_policy
5237
5335
 
5336
+ # Performance Capture configuration.
5337
+ # Corresponds to the JSON property `performanceCaptureConfig`
5338
+ # @return [Google::Apis::SqladminV1::PerformanceCaptureConfig]
5339
+ attr_accessor :performance_capture_config
5340
+
5238
5341
  # The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
5239
5342
  # Only `PER_USE` is supported for Second Generation instances.
5240
5343
  # Corresponds to the JSON property `pricingPlan`
@@ -5349,6 +5452,7 @@ module Google
5349
5452
  @location_preference = args[:location_preference] if args.key?(:location_preference)
5350
5453
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5351
5454
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5455
+ @performance_capture_config = args[:performance_capture_config] if args.key?(:performance_capture_config)
5352
5456
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5353
5457
  @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5354
5458
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
@@ -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.89.0"
19
+ GEM_VERSION = "0.91.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
 
@@ -1354,6 +1360,7 @@ module Google
1354
1360
  property :connection_type, as: 'connectionType'
1355
1361
  property :dns_scope, as: 'dnsScope'
1356
1362
  property :name, as: 'name'
1363
+ property :record_manager, as: 'recordManager'
1357
1364
  end
1358
1365
  end
1359
1366
 
@@ -1366,6 +1373,7 @@ module Google
1366
1373
  class ExecuteSqlPayload
1367
1374
  # @private
1368
1375
  class Representation < Google::Apis::Core::JsonRepresentation
1376
+ property :application, as: 'application'
1369
1377
  property :auto_iam_authn, as: 'autoIamAuthn'
1370
1378
  property :database, as: 'database'
1371
1379
  property :partial_result_mode, as: 'partialResultMode'
@@ -1624,6 +1632,7 @@ module Google
1624
1632
  class InsightsConfig
1625
1633
  # @private
1626
1634
  class Representation < Google::Apis::Core::JsonRepresentation
1635
+ property :enhanced_query_insights_enabled, as: 'enhancedQueryInsightsEnabled'
1627
1636
  property :query_insights_enabled, as: 'queryInsightsEnabled'
1628
1637
  property :query_plans_per_minute, as: 'queryPlansPerMinute'
1629
1638
  property :query_string_length, as: 'queryStringLength'
@@ -2032,6 +2041,18 @@ module Google
2032
2041
  end
2033
2042
  end
2034
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
+
2035
2056
  class PointInTimeRestoreContext
2036
2057
  # @private
2037
2058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2055,6 +2076,9 @@ module Google
2055
2076
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
2056
2077
 
2057
2078
  property :name, as: 'name'
2079
+ collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1::PscAutoConnectionConfig::Representation
2080
+
2081
+ property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
2058
2082
  property :state, as: 'state'
2059
2083
  end
2060
2084
  end
@@ -2254,6 +2278,8 @@ module Google
2254
2278
 
2255
2279
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1::PasswordValidationPolicy::Representation
2256
2280
 
2281
+ property :performance_capture_config, as: 'performanceCaptureConfig', class: Google::Apis::SqladminV1::PerformanceCaptureConfig, decorator: Google::Apis::SqladminV1::PerformanceCaptureConfig::Representation
2282
+
2257
2283
  property :pricing_plan, as: 'pricingPlan'
2258
2284
  property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig::Representation
2259
2285
 
@@ -907,6 +907,41 @@ module Google
907
907
  execute_or_queue_command(command, &block)
908
908
  end
909
909
 
910
+ # Adds a new Entra ID certificate for the specified instance. If an Entra ID
911
+ # certificate was previously added but never used in a certificate rotation,
912
+ # this operation replaces that version.
913
+ # @param [String] project
914
+ # Required. Project ID of the project that contains the instance.
915
+ # @param [String] instance
916
+ # Required. Cloud SQL instance ID. This does not include the project ID.
917
+ # @param [String] fields
918
+ # Selector specifying which fields to include in a partial response.
919
+ # @param [String] quota_user
920
+ # Available to use for quota purposes for server-side applications. Can be any
921
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
922
+ # @param [Google::Apis::RequestOptions] options
923
+ # Request-specific options
924
+ #
925
+ # @yield [result, err] Result & error if block supplied
926
+ # @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
927
+ # @yieldparam err [StandardError] error object if request failed
928
+ #
929
+ # @return [Google::Apis::SqladminV1::Operation]
930
+ #
931
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
932
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
933
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
934
+ def add_instance_entra_id_certificate(project, instance, fields: nil, quota_user: nil, options: nil, &block)
935
+ command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/addEntraIdCertificate', options)
936
+ command.response_representation = Google::Apis::SqladminV1::Operation::Representation
937
+ command.response_class = Google::Apis::SqladminV1::Operation
938
+ command.params['project'] = project unless project.nil?
939
+ command.params['instance'] = instance unless instance.nil?
940
+ command.query['fields'] = fields unless fields.nil?
941
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
942
+ execute_or_queue_command(command, &block)
943
+ end
944
+
910
945
  # Adds a new trusted Certificate Authority (CA) version for the specified
911
946
  # instance. Required to prepare for a certificate rotation. If a CA version was
912
947
  # previously added but never used in a certificate rotation, this operation
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.89.0
4
+ version: 0.91.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.89.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.91.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: