google-apis-sqladmin_v1 0.88.0 → 0.90.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: 2089c04e3de8edc6d237052513c8a3ed75b56ba04a5d62bc0ea95cc97d1ae0c1
4
- data.tar.gz: 6d8e7a793bff5e2752c4cf01246154e9787a6a2d6bf64e323e0ee1aff6c22fe8
3
+ metadata.gz: 492eb4febe22c2fface7bd5c483ef80761941c2809e618c6905a0171f87bb632
4
+ data.tar.gz: 6be4577d6ce6dd66b8e464819d1e004e1cce6a0aa5a7b53832ea228684c7db6b
5
5
  SHA512:
6
- metadata.gz: d5b75d56d20167426a23521b9a32ec9bc29136a33061ea156d6c662ba488b636994b1453f4fc3dfd3c91113518dda6bc91f866a1be50e060ead7c549775d7830
7
- data.tar.gz: e0b149d3b68ba7026910fa3c936b1f71354a45a5276dedb6ac42ad9e680b858f173674e115c737b564775212fc8bcfc363ea8e717ad71fcaa8109c29a1ffc5ba
6
+ metadata.gz: e3e15fda59c54aeed7619b9ca0022318fce767535865bf1fa83bb09caf05c4066c311c3027321bfde32278f1de94e381af3f5bd3c2f762c9820065c779ef3164
7
+ data.tar.gz: 9c975da5537448c4a2812fdc5adbf16aec06e78da89ab2fb1e8492629a0757cd0aa21771abb7573be62f514888ec00c099d10708f164adaa0e29d460171df8dd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.90.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251201
6
+
7
+ ### v0.89.0 (2025-11-16)
8
+
9
+ * Regenerated from discovery document revision 20251107
10
+
3
11
  ### v0.88.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251019
@@ -2666,7 +2666,7 @@ module Google
2666
2666
  attr_accessor :encryption_options
2667
2667
 
2668
2668
  # Whether or not the backup importing will restore database with NORECOVERY
2669
- # option Applies only to Cloud SQL for SQL Server.
2669
+ # option. Applies only to Cloud SQL for SQL Server.
2670
2670
  # Corresponds to the JSON property `noRecovery`
2671
2671
  # @return [Boolean]
2672
2672
  attr_accessor :no_recovery
@@ -3136,6 +3136,37 @@ module Google
3136
3136
  end
3137
3137
  end
3138
3138
 
3139
+ # Instances ListEntraIdCertificates response.
3140
+ class InstancesListEntraIdCertificatesResponse
3141
+ include Google::Apis::Core::Hashable
3142
+
3143
+ # The `sha1_fingerprint` of the active certificate from `certs`.
3144
+ # Corresponds to the JSON property `activeVersion`
3145
+ # @return [String]
3146
+ attr_accessor :active_version
3147
+
3148
+ # List of Entra ID certificates for the instance.
3149
+ # Corresponds to the JSON property `certs`
3150
+ # @return [Array<Google::Apis::SqladminV1::SslCert>]
3151
+ attr_accessor :certs
3152
+
3153
+ # This is always `sql#instancesListEntraIdCertificates`.
3154
+ # Corresponds to the JSON property `kind`
3155
+ # @return [String]
3156
+ attr_accessor :kind
3157
+
3158
+ def initialize(**args)
3159
+ update!(**args)
3160
+ end
3161
+
3162
+ # Update properties of this object
3163
+ def update!(**args)
3164
+ @active_version = args[:active_version] if args.key?(:active_version)
3165
+ @certs = args[:certs] if args.key?(:certs)
3166
+ @kind = args[:kind] if args.key?(:kind)
3167
+ end
3168
+ end
3169
+
3139
3170
  # Database instances list response.
3140
3171
  class InstancesListResponse
3141
3172
  include Google::Apis::Core::Hashable
@@ -3332,6 +3363,25 @@ module Google
3332
3363
  end
3333
3364
  end
3334
3365
 
3366
+ # Rotate Entra ID certificate request.
3367
+ class InstancesRotateEntraIdCertificateRequest
3368
+ include Google::Apis::Core::Hashable
3369
+
3370
+ # Instance rotate Entra ID certificate context.
3371
+ # Corresponds to the JSON property `rotateEntraIdCertificateContext`
3372
+ # @return [Google::Apis::SqladminV1::RotateEntraIdCertificateContext]
3373
+ attr_accessor :rotate_entra_id_certificate_context
3374
+
3375
+ def initialize(**args)
3376
+ update!(**args)
3377
+ end
3378
+
3379
+ # Update properties of this object
3380
+ def update!(**args)
3381
+ @rotate_entra_id_certificate_context = args[:rotate_entra_id_certificate_context] if args.key?(:rotate_entra_id_certificate_context)
3382
+ end
3383
+ end
3384
+
3335
3385
  # Rotate server CA request.
3336
3386
  class InstancesRotateServerCaRequest
3337
3387
  include Google::Apis::Core::Hashable
@@ -3494,6 +3544,16 @@ module Google
3494
3544
  # @return [String]
3495
3545
  attr_accessor :server_ca_pool
3496
3546
 
3547
+ # Optional. Controls the automatic server certificate rotation feature. This
3548
+ # feature is disabled by default. When enabled, the server certificate will be
3549
+ # automatically rotated during Cloud SQL scheduled maintenance or self-service
3550
+ # maintenance updates up to six months before it expires. This setting can only
3551
+ # be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or
3552
+ # CUSTOMER_MANAGED_CAS_CA.
3553
+ # Corresponds to the JSON property `serverCertificateRotationMode`
3554
+ # @return [String]
3555
+ attr_accessor :server_certificate_rotation_mode
3556
+
3497
3557
  # Specify how SSL/TLS is enforced in database connections. If you must use the `
3498
3558
  # require_ssl` flag for backward compatibility, then only the following value
3499
3559
  # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
@@ -3527,6 +3587,7 @@ module Google
3527
3587
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
3528
3588
  @server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
3529
3589
  @server_ca_pool = args[:server_ca_pool] if args.key?(:server_ca_pool)
3590
+ @server_certificate_rotation_mode = args[:server_certificate_rotation_mode] if args.key?(:server_certificate_rotation_mode)
3530
3591
  @ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
3531
3592
  end
3532
3593
  end
@@ -4234,7 +4295,10 @@ module Google
4234
4295
  end
4235
4296
  end
4236
4297
 
4237
- # Database instance local user password validation policy
4298
+ # Database instance local user password validation policy. This message defines
4299
+ # the password policy for local database users. When enabled, it enforces
4300
+ # constraints on password complexity, length, and reuse. Keep this policy
4301
+ # enabled to help prevent unauthorized access.
4238
4302
  class PasswordValidationPolicy
4239
4303
  include Google::Apis::Core::Hashable
4240
4304
 
@@ -4255,7 +4319,9 @@ module Google
4255
4319
  attr_accessor :disallow_username_substring
4256
4320
  alias_method :disallow_username_substring?, :disallow_username_substring
4257
4321
 
4258
- # Whether the password policy is enabled or not.
4322
+ # Whether to enable the password policy or not. When enabled, passwords must
4323
+ # meet complexity requirements. Keep this policy enabled to help prevent
4324
+ # unauthorized access. Disabling this policy allows weak passwords.
4259
4325
  # Corresponds to the JSON property `enablePasswordPolicy`
4260
4326
  # @return [Boolean]
4261
4327
  attr_accessor :enable_password_policy
@@ -4312,8 +4378,62 @@ module Google
4312
4378
  end
4313
4379
  end
4314
4380
 
4381
+ # Performance Capture configuration.
4382
+ class PerformanceCaptureConfig
4383
+ include Google::Apis::Core::Hashable
4384
+
4385
+ # Optional. Enable or disable the Performance Capture feature.
4386
+ # Corresponds to the JSON property `enabled`
4387
+ # @return [Boolean]
4388
+ attr_accessor :enabled
4389
+ alias_method :enabled?, :enabled
4390
+
4391
+ # Optional. The minimum number of consecutive readings above threshold that
4392
+ # triggers instance state capture.
4393
+ # Corresponds to the JSON property `probeThreshold`
4394
+ # @return [Fixnum]
4395
+ attr_accessor :probe_threshold
4396
+
4397
+ # Optional. The time interval in seconds between any two probes.
4398
+ # Corresponds to the JSON property `probingIntervalSeconds`
4399
+ # @return [Fixnum]
4400
+ attr_accessor :probing_interval_seconds
4401
+
4402
+ # Optional. The minimum number of server threads running to trigger the capture
4403
+ # on primary.
4404
+ # Corresponds to the JSON property `runningThreadsThreshold`
4405
+ # @return [Fixnum]
4406
+ attr_accessor :running_threads_threshold
4407
+
4408
+ # Optional. The minimum number of seconds replica must be lagging behind primary
4409
+ # to trigger capture on replica.
4410
+ # Corresponds to the JSON property `secondsBehindSourceThreshold`
4411
+ # @return [Fixnum]
4412
+ attr_accessor :seconds_behind_source_threshold
4413
+
4414
+ # Optional. The amount of time in seconds that a transaction needs to have been
4415
+ # open before the watcher starts recording it.
4416
+ # Corresponds to the JSON property `transactionDurationThreshold`
4417
+ # @return [Fixnum]
4418
+ attr_accessor :transaction_duration_threshold
4419
+
4420
+ def initialize(**args)
4421
+ update!(**args)
4422
+ end
4423
+
4424
+ # Update properties of this object
4425
+ def update!(**args)
4426
+ @enabled = args[:enabled] if args.key?(:enabled)
4427
+ @probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
4428
+ @probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
4429
+ @running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
4430
+ @seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
4431
+ @transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
4432
+ end
4433
+ end
4434
+
4315
4435
  # The context to perform a point-in-time recovery of an instance managed by
4316
- # Google Cloud Backup and Disaster Recovery.
4436
+ # Backup and Disaster Recovery (DR) Service.
4317
4437
  class PointInTimeRestoreContext
4318
4438
  include Google::Apis::Core::Hashable
4319
4439
 
@@ -4328,7 +4448,7 @@ module Google
4328
4448
  # @return [String]
4329
4449
  attr_accessor :allocated_ip_range
4330
4450
 
4331
- # The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/
4451
+ # The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/
4332
4452
  # `project`/locations/`region`/backupVaults/`backupvault`/dataSources/`
4333
4453
  # datasource`.
4334
4454
  # Corresponds to the JSON property `datasource`
@@ -4412,6 +4532,19 @@ module Google
4412
4532
  # @return [String]
4413
4533
  attr_accessor :name
4414
4534
 
4535
+ # Output only. The list of settings for requested automatically-setup Private
4536
+ # Service Connect (PSC) consumer endpoints that can be used to connect to this
4537
+ # read pool node.
4538
+ # Corresponds to the JSON property `pscAutoConnections`
4539
+ # @return [Array<Google::Apis::SqladminV1::PscAutoConnectionConfig>]
4540
+ attr_accessor :psc_auto_connections
4541
+
4542
+ # Output only. The Private Service Connect (PSC) service attachment of the read
4543
+ # pool node.
4544
+ # Corresponds to the JSON property `pscServiceAttachmentLink`
4545
+ # @return [String]
4546
+ attr_accessor :psc_service_attachment_link
4547
+
4415
4548
  # Output only. The current state of the read pool node.
4416
4549
  # Corresponds to the JSON property `state`
4417
4550
  # @return [String]
@@ -4428,6 +4561,8 @@ module Google
4428
4561
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4429
4562
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4430
4563
  @name = args[:name] if args.key?(:name)
4564
+ @psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
4565
+ @psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
4431
4566
  @state = args[:state] if args.key?(:state)
4432
4567
  end
4433
4568
  end
@@ -4853,6 +4988,33 @@ module Google
4853
4988
  end
4854
4989
  end
4855
4990
 
4991
+ # Instance rotate Entra ID certificate context.
4992
+ class RotateEntraIdCertificateContext
4993
+ include Google::Apis::Core::Hashable
4994
+
4995
+ # Optional. This is always `sql#rotateEntraIdCertificateContext`.
4996
+ # Corresponds to the JSON property `kind`
4997
+ # @return [String]
4998
+ attr_accessor :kind
4999
+
5000
+ # Optional. The fingerprint of the next version to be rotated to. If left
5001
+ # unspecified, will be rotated to the most recently added server certificate
5002
+ # version.
5003
+ # Corresponds to the JSON property `nextVersion`
5004
+ # @return [String]
5005
+ attr_accessor :next_version
5006
+
5007
+ def initialize(**args)
5008
+ update!(**args)
5009
+ end
5010
+
5011
+ # Update properties of this object
5012
+ def update!(**args)
5013
+ @kind = args[:kind] if args.key?(:kind)
5014
+ @next_version = args[:next_version] if args.key?(:next_version)
5015
+ end
5016
+ end
5017
+
4856
5018
  # Instance rotate server CA context.
4857
5019
  class RotateServerCaContext
4858
5020
  include Google::Apis::Core::Hashable
@@ -5024,8 +5186,8 @@ module Google
5024
5186
  attr_accessor :crash_safe_replication_enabled
5025
5187
  alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled
5026
5188
 
5027
- # This parameter controls whether to allow using Data API to connect to the
5028
- # instance. Not allowed by default.
5189
+ # This parameter controls whether to allow using ExecuteSql API to connect to
5190
+ # the instance. Not allowed by default.
5029
5191
  # Corresponds to the JSON property `dataApiAccess`
5030
5192
  # @return [String]
5031
5193
  attr_accessor :data_api_access
@@ -5103,6 +5265,11 @@ module Google
5103
5265
  attr_accessor :enable_google_ml_integration
5104
5266
  alias_method :enable_google_ml_integration?, :enable_google_ml_integration
5105
5267
 
5268
+ # SQL Server Entra ID configuration.
5269
+ # Corresponds to the JSON property `entraidConfig`
5270
+ # @return [Google::Apis::SqladminV1::SqlServerEntraIdConfig]
5271
+ attr_accessor :entraid_config
5272
+
5106
5273
  # Config used to determine the final backup settings for the instance.
5107
5274
  # Corresponds to the JSON property `finalBackupConfig`
5108
5275
  # @return [Google::Apis::SqladminV1::FinalBackupConfig]
@@ -5137,11 +5304,19 @@ module Google
5137
5304
  # @return [Google::Apis::SqladminV1::MaintenanceWindow]
5138
5305
  attr_accessor :maintenance_window
5139
5306
 
5140
- # Database instance local user password validation policy
5307
+ # Database instance local user password validation policy. This message defines
5308
+ # the password policy for local database users. When enabled, it enforces
5309
+ # constraints on password complexity, length, and reuse. Keep this policy
5310
+ # enabled to help prevent unauthorized access.
5141
5311
  # Corresponds to the JSON property `passwordValidationPolicy`
5142
5312
  # @return [Google::Apis::SqladminV1::PasswordValidationPolicy]
5143
5313
  attr_accessor :password_validation_policy
5144
5314
 
5315
+ # Performance Capture configuration.
5316
+ # Corresponds to the JSON property `performanceCaptureConfig`
5317
+ # @return [Google::Apis::SqladminV1::PerformanceCaptureConfig]
5318
+ attr_accessor :performance_capture_config
5319
+
5145
5320
  # The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
5146
5321
  # Only `PER_USE` is supported for Second Generation instances.
5147
5322
  # Corresponds to the JSON property `pricingPlan`
@@ -5248,6 +5423,7 @@ module Google
5248
5423
  @edition = args[:edition] if args.key?(:edition)
5249
5424
  @enable_dataplex_integration = args[:enable_dataplex_integration] if args.key?(:enable_dataplex_integration)
5250
5425
  @enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
5426
+ @entraid_config = args[:entraid_config] if args.key?(:entraid_config)
5251
5427
  @final_backup_config = args[:final_backup_config] if args.key?(:final_backup_config)
5252
5428
  @insights_config = args[:insights_config] if args.key?(:insights_config)
5253
5429
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
@@ -5255,6 +5431,7 @@ module Google
5255
5431
  @location_preference = args[:location_preference] if args.key?(:location_preference)
5256
5432
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5257
5433
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5434
+ @performance_capture_config = args[:performance_capture_config] if args.key?(:performance_capture_config)
5258
5435
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5259
5436
  @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5260
5437
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
@@ -5809,6 +5986,37 @@ module Google
5809
5986
  end
5810
5987
  end
5811
5988
 
5989
+ # SQL Server Entra ID configuration.
5990
+ class SqlServerEntraIdConfig
5991
+ include Google::Apis::Core::Hashable
5992
+
5993
+ # Optional. The application ID for the Entra ID configuration.
5994
+ # Corresponds to the JSON property `applicationId`
5995
+ # @return [String]
5996
+ attr_accessor :application_id
5997
+
5998
+ # Output only. This is always sql#sqlServerEntraIdConfig
5999
+ # Corresponds to the JSON property `kind`
6000
+ # @return [String]
6001
+ attr_accessor :kind
6002
+
6003
+ # Optional. The tenant ID for the Entra ID configuration.
6004
+ # Corresponds to the JSON property `tenantId`
6005
+ # @return [String]
6006
+ attr_accessor :tenant_id
6007
+
6008
+ def initialize(**args)
6009
+ update!(**args)
6010
+ end
6011
+
6012
+ # Update properties of this object
6013
+ def update!(**args)
6014
+ @application_id = args[:application_id] if args.key?(:application_id)
6015
+ @kind = args[:kind] if args.key?(:kind)
6016
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
6017
+ end
6018
+ end
6019
+
5812
6020
  # Represents a Sql Server user on the Cloud SQL instance.
5813
6021
  class SqlServerUserDetails
5814
6022
  include Google::Apis::Core::Hashable
@@ -6248,6 +6456,11 @@ module Google
6248
6456
  class User
6249
6457
  include Google::Apis::Core::Hashable
6250
6458
 
6459
+ # Optional. Role memberships of the user
6460
+ # Corresponds to the JSON property `databaseRoles`
6461
+ # @return [Array<String>]
6462
+ attr_accessor :database_roles
6463
+
6251
6464
  # Dual password status for the user.
6252
6465
  # Corresponds to the JSON property `dualPasswordType`
6253
6466
  # @return [String]
@@ -6329,6 +6542,7 @@ module Google
6329
6542
 
6330
6543
  # Update properties of this object
6331
6544
  def update!(**args)
6545
+ @database_roles = args[:database_roles] if args.key?(:database_roles)
6332
6546
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6333
6547
  @etag = args[:etag] if args.key?(:etag)
6334
6548
  @host = args[:host] if args.key?(:host)
@@ -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.88.0"
19
+ GEM_VERSION = "0.90.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 = "20251019"
25
+ REVISION = "20251201"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class InstancesListEntraIdCertificatesResponse
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class InstancesListResponse
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -454,6 +460,12 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class InstancesRotateEntraIdCertificateRequest
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class InstancesRotateServerCaRequest
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
@@ -586,6 +598,12 @@ module Google
586
598
  include Google::Apis::Core::JsonObjectSupport
587
599
  end
588
600
 
601
+ class PerformanceCaptureConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
589
607
  class PointInTimeRestoreContext
590
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
609
 
@@ -658,6 +676,12 @@ module Google
658
676
  include Google::Apis::Core::JsonObjectSupport
659
677
  end
660
678
 
679
+ class RotateEntraIdCertificateContext
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
661
685
  class RotateServerCaContext
662
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
687
 
@@ -784,6 +808,12 @@ module Google
784
808
  include Google::Apis::Core::JsonObjectSupport
785
809
  end
786
810
 
811
+ class SqlServerEntraIdConfig
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
787
817
  class SqlServerUserDetails
788
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
819
 
@@ -1673,6 +1703,16 @@ module Google
1673
1703
  end
1674
1704
  end
1675
1705
 
1706
+ class InstancesListEntraIdCertificatesResponse
1707
+ # @private
1708
+ class Representation < Google::Apis::Core::JsonRepresentation
1709
+ property :active_version, as: 'activeVersion'
1710
+ collection :certs, as: 'certs', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
1711
+
1712
+ property :kind, as: 'kind'
1713
+ end
1714
+ end
1715
+
1676
1716
  class InstancesListResponse
1677
1717
  # @private
1678
1718
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1736,6 +1776,14 @@ module Google
1736
1776
  end
1737
1777
  end
1738
1778
 
1779
+ class InstancesRotateEntraIdCertificateRequest
1780
+ # @private
1781
+ class Representation < Google::Apis::Core::JsonRepresentation
1782
+ property :rotate_entra_id_certificate_context, as: 'rotateEntraIdCertificateContext', class: Google::Apis::SqladminV1::RotateEntraIdCertificateContext, decorator: Google::Apis::SqladminV1::RotateEntraIdCertificateContext::Representation
1783
+
1784
+ end
1785
+ end
1786
+
1739
1787
  class InstancesRotateServerCaRequest
1740
1788
  # @private
1741
1789
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1783,6 +1831,7 @@ module Google
1783
1831
  property :require_ssl, as: 'requireSsl'
1784
1832
  property :server_ca_mode, as: 'serverCaMode'
1785
1833
  property :server_ca_pool, as: 'serverCaPool'
1834
+ property :server_certificate_rotation_mode, as: 'serverCertificateRotationMode'
1786
1835
  property :ssl_mode, as: 'sslMode'
1787
1836
  end
1788
1837
  end
@@ -1989,6 +2038,18 @@ module Google
1989
2038
  end
1990
2039
  end
1991
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
+
1992
2053
  class PointInTimeRestoreContext
1993
2054
  # @private
1994
2055
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2012,6 +2073,9 @@ module Google
2012
2073
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
2013
2074
 
2014
2075
  property :name, as: 'name'
2076
+ collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1::PscAutoConnectionConfig::Representation
2077
+
2078
+ property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
2015
2079
  property :state, as: 'state'
2016
2080
  end
2017
2081
  end
@@ -2123,6 +2187,14 @@ module Google
2123
2187
  end
2124
2188
  end
2125
2189
 
2190
+ class RotateEntraIdCertificateContext
2191
+ # @private
2192
+ class Representation < Google::Apis::Core::JsonRepresentation
2193
+ property :kind, as: 'kind'
2194
+ property :next_version, as: 'nextVersion'
2195
+ end
2196
+ end
2197
+
2126
2198
  class RotateServerCaContext
2127
2199
  # @private
2128
2200
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2188,6 +2260,8 @@ module Google
2188
2260
  property :edition, as: 'edition'
2189
2261
  property :enable_dataplex_integration, as: 'enableDataplexIntegration'
2190
2262
  property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
2263
+ property :entraid_config, as: 'entraidConfig', class: Google::Apis::SqladminV1::SqlServerEntraIdConfig, decorator: Google::Apis::SqladminV1::SqlServerEntraIdConfig::Representation
2264
+
2191
2265
  property :final_backup_config, as: 'finalBackupConfig', class: Google::Apis::SqladminV1::FinalBackupConfig, decorator: Google::Apis::SqladminV1::FinalBackupConfig::Representation
2192
2266
 
2193
2267
  property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::InsightsConfig::Representation
@@ -2201,6 +2275,8 @@ module Google
2201
2275
 
2202
2276
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1::PasswordValidationPolicy::Representation
2203
2277
 
2278
+ property :performance_capture_config, as: 'performanceCaptureConfig', class: Google::Apis::SqladminV1::PerformanceCaptureConfig, decorator: Google::Apis::SqladminV1::PerformanceCaptureConfig::Representation
2279
+
2204
2280
  property :pricing_plan, as: 'pricingPlan'
2205
2281
  property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig::Representation
2206
2282
 
@@ -2374,6 +2450,15 @@ module Google
2374
2450
  end
2375
2451
  end
2376
2452
 
2453
+ class SqlServerEntraIdConfig
2454
+ # @private
2455
+ class Representation < Google::Apis::Core::JsonRepresentation
2456
+ property :application_id, as: 'applicationId'
2457
+ property :kind, as: 'kind'
2458
+ property :tenant_id, as: 'tenantId'
2459
+ end
2460
+ end
2461
+
2377
2462
  class SqlServerUserDetails
2378
2463
  # @private
2379
2464
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2506,6 +2591,7 @@ module Google
2506
2591
  class User
2507
2592
  # @private
2508
2593
  class Representation < Google::Apis::Core::JsonRepresentation
2594
+ collection :database_roles, as: 'databaseRoles'
2509
2595
  property :dual_password_type, as: 'dualPasswordType'
2510
2596
  property :etag, as: 'etag'
2511
2597
  property :host, as: 'host'
@@ -719,6 +719,42 @@ module Google
719
719
  execute_or_queue_command(command, &block)
720
720
  end
721
721
 
722
+ # Lists all versions of EntraID certificates for the specified instance. There
723
+ # can be up to three sets of certificates listed: the certificate that is
724
+ # currently in use, a future that has been added but not yet used to sign a
725
+ # certificate, and a certificate that has been rotated out.
726
+ # @param [String] project
727
+ # Required. Project ID of the project that contains the instance.
728
+ # @param [String] instance
729
+ # Required. Cloud SQL instance ID. This does not include the project ID.
730
+ # @param [String] fields
731
+ # Selector specifying which fields to include in a partial response.
732
+ # @param [String] quota_user
733
+ # Available to use for quota purposes for server-side applications. Can be any
734
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
735
+ # @param [Google::Apis::RequestOptions] options
736
+ # Request-specific options
737
+ #
738
+ # @yield [result, err] Result & error if block supplied
739
+ # @yieldparam result [Google::Apis::SqladminV1::InstancesListEntraIdCertificatesResponse] parsed result object
740
+ # @yieldparam err [StandardError] error object if request failed
741
+ #
742
+ # @return [Google::Apis::SqladminV1::InstancesListEntraIdCertificatesResponse]
743
+ #
744
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
745
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
746
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
747
+ def list_instance_entra_id_certificates(project, instance, fields: nil, quota_user: nil, options: nil, &block)
748
+ command = make_simple_command(:get, 'v1/projects/{project}/instances/{instance}/listEntraIdCertificates', options)
749
+ command.response_representation = Google::Apis::SqladminV1::InstancesListEntraIdCertificatesResponse::Representation
750
+ command.response_class = Google::Apis::SqladminV1::InstancesListEntraIdCertificatesResponse
751
+ command.params['project'] = project unless project.nil?
752
+ command.params['instance'] = instance unless instance.nil?
753
+ command.query['fields'] = fields unless fields.nil?
754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
755
+ execute_or_queue_command(command, &block)
756
+ end
757
+
722
758
  # Lists all versions of server certificates and certificate authorities (CAs)
723
759
  # for the specified instance. There can be up to three sets of certs listed: the
724
760
  # certificate that is currently in use, a future that has been added but not yet
@@ -757,6 +793,43 @@ module Google
757
793
  execute_or_queue_command(command, &block)
758
794
  end
759
795
 
796
+ # Rotates the server certificate version to one previously added with the
797
+ # addEntraIdCertificate method.
798
+ # @param [String] project
799
+ # Required. Project ID of the project that contains the instance.
800
+ # @param [String] instance
801
+ # Required. Cloud SQL instance ID. This does not include the project ID.
802
+ # @param [Google::Apis::SqladminV1::InstancesRotateEntraIdCertificateRequest] instances_rotate_entra_id_certificate_request_object
803
+ # @param [String] fields
804
+ # Selector specifying which fields to include in a partial response.
805
+ # @param [String] quota_user
806
+ # Available to use for quota purposes for server-side applications. Can be any
807
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
808
+ # @param [Google::Apis::RequestOptions] options
809
+ # Request-specific options
810
+ #
811
+ # @yield [result, err] Result & error if block supplied
812
+ # @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
813
+ # @yieldparam err [StandardError] error object if request failed
814
+ #
815
+ # @return [Google::Apis::SqladminV1::Operation]
816
+ #
817
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
818
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
819
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
820
+ def rotate_instance_entra_id_certificate(project, instance, instances_rotate_entra_id_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
821
+ command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate', options)
822
+ command.request_representation = Google::Apis::SqladminV1::InstancesRotateEntraIdCertificateRequest::Representation
823
+ command.request_object = instances_rotate_entra_id_certificate_request_object
824
+ command.response_representation = Google::Apis::SqladminV1::Operation::Representation
825
+ command.response_class = Google::Apis::SqladminV1::Operation
826
+ command.params['project'] = project unless project.nil?
827
+ command.params['instance'] = instance unless instance.nil?
828
+ command.query['fields'] = fields unless fields.nil?
829
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
830
+ execute_or_queue_command(command, &block)
831
+ end
832
+
760
833
  # Rotates the server certificate version to one previously added with the
761
834
  # addServerCertificate method. For instances not using Certificate Authority
762
835
  # Service (CAS) server CA, use RotateServerCa instead.
@@ -834,6 +907,41 @@ module Google
834
907
  execute_or_queue_command(command, &block)
835
908
  end
836
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
+
837
945
  # Adds a new trusted Certificate Authority (CA) version for the specified
838
946
  # instance. Required to prepare for a certificate rotation. If a CA version was
839
947
  # previously added but never used in a certificate rotation, this operation
@@ -2639,6 +2747,9 @@ module Google
2639
2747
  # @param [String] instance
2640
2748
  # Database instance ID. This does not include the project ID.
2641
2749
  # @param [Google::Apis::SqladminV1::User] user_object
2750
+ # @param [Array<String>, String] database_roles
2751
+ # Optional. List of database roles to grant to the user. body.database_roles
2752
+ # will be ignored for update request.
2642
2753
  # @param [String] host
2643
2754
  # Optional. Host of the user in the instance.
2644
2755
  # @param [String] name
@@ -2660,7 +2771,7 @@ module Google
2660
2771
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2661
2772
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2662
2773
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2663
- def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
2774
+ def update_user(project, instance, user_object = nil, database_roles: nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
2664
2775
  command = make_simple_command(:put, 'v1/projects/{project}/instances/{instance}/users', options)
2665
2776
  command.request_representation = Google::Apis::SqladminV1::User::Representation
2666
2777
  command.request_object = user_object
@@ -2668,6 +2779,7 @@ module Google
2668
2779
  command.response_class = Google::Apis::SqladminV1::Operation
2669
2780
  command.params['project'] = project unless project.nil?
2670
2781
  command.params['instance'] = instance unless instance.nil?
2782
+ command.query['databaseRoles'] = database_roles unless database_roles.nil?
2671
2783
  command.query['host'] = host unless host.nil?
2672
2784
  command.query['name'] = name unless name.nil?
2673
2785
  command.query['fields'] = fields unless fields.nil?
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.88.0
4
+ version: 0.90.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.88.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.90.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: