@@ -2666,7 +2666,7 @@ class BakImportOptions
26662666 attr_accessor :encryption_options
26672667
26682668 # 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.
26702670 # Corresponds to the JSON property `noRecovery`
26712671 # @return [Boolean]
26722672 attr_accessor :no_recovery
@@ -3136,6 +3136,37 @@ def update!(**args)
31363136 end
31373137 end
31383138
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+
31393170 # Database instances list response.
31403171 class InstancesListResponse
31413172 include Google ::Apis ::Core ::Hashable
@@ -3332,6 +3363,25 @@ def update!(**args)
33323363 end
33333364 end
33343365
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+
33353385 # Rotate server CA request.
33363386 class InstancesRotateServerCaRequest
33373387 include Google ::Apis ::Core ::Hashable
@@ -3494,6 +3544,16 @@ class IpConfiguration
34943544 # @return [String]
34953545 attr_accessor :server_ca_pool
34963546
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+
34973557 # Specify how SSL/TLS is enforced in database connections. If you must use the `
34983558 # require_ssl` flag for backward compatibility, then only the following value
34993559 # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
@@ -3527,6 +3587,7 @@ def update!(**args)
35273587 @require_ssl = args [ :require_ssl ] if args . key? ( :require_ssl )
35283588 @server_ca_mode = args [ :server_ca_mode ] if args . key? ( :server_ca_mode )
35293589 @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 )
35303591 @ssl_mode = args [ :ssl_mode ] if args . key? ( :ssl_mode )
35313592 end
35323593 end
@@ -4313,7 +4374,7 @@ def update!(**args)
43134374 end
43144375
43154376 # The context to perform a point-in-time recovery of an instance managed by
4316- # Google Cloud Backup and Disaster Recovery.
4377+ # Backup and Disaster Recovery (DR) Service .
43174378 class PointInTimeRestoreContext
43184379 include Google ::Apis ::Core ::Hashable
43194380
@@ -4328,7 +4389,7 @@ class PointInTimeRestoreContext
43284389 # @return [String]
43294390 attr_accessor :allocated_ip_range
43304391
4331- # The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/
4392+ # The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/
43324393 # `project`/locations/`region`/backupVaults/`backupvault`/dataSources/`
43334394 # datasource`.
43344395 # Corresponds to the JSON property `datasource`
@@ -4853,6 +4914,33 @@ def update!(**args)
48534914 end
48544915 end
48554916
4917+ # Instance rotate Entra ID certificate context.
4918+ class RotateEntraIdCertificateContext
4919+ include Google ::Apis ::Core ::Hashable
4920+
4921+ # Optional. This is always `sql#rotateEntraIdCertificateContext`.
4922+ # Corresponds to the JSON property `kind`
4923+ # @return [String]
4924+ attr_accessor :kind
4925+
4926+ # Optional. The fingerprint of the next version to be rotated to. If left
4927+ # unspecified, will be rotated to the most recently added server certificate
4928+ # version.
4929+ # Corresponds to the JSON property `nextVersion`
4930+ # @return [String]
4931+ attr_accessor :next_version
4932+
4933+ def initialize ( **args )
4934+ update! ( **args )
4935+ end
4936+
4937+ # Update properties of this object
4938+ def update! ( **args )
4939+ @kind = args [ :kind ] if args . key? ( :kind )
4940+ @next_version = args [ :next_version ] if args . key? ( :next_version )
4941+ end
4942+ end
4943+
48564944 # Instance rotate server CA context.
48574945 class RotateServerCaContext
48584946 include Google ::Apis ::Core ::Hashable
@@ -5024,8 +5112,8 @@ class Settings
50245112 attr_accessor :crash_safe_replication_enabled
50255113 alias_method :crash_safe_replication_enabled? , :crash_safe_replication_enabled
50265114
5027- # This parameter controls whether to allow using Data API to connect to the
5028- # instance. Not allowed by default.
5115+ # This parameter controls whether to allow using ExecuteSql API to connect to
5116+ # the instance. Not allowed by default.
50295117 # Corresponds to the JSON property `dataApiAccess`
50305118 # @return [String]
50315119 attr_accessor :data_api_access
@@ -5103,6 +5191,11 @@ class Settings
51035191 attr_accessor :enable_google_ml_integration
51045192 alias_method :enable_google_ml_integration? , :enable_google_ml_integration
51055193
5194+ # SQL Server Entra ID configuration.
5195+ # Corresponds to the JSON property `entraidConfig`
5196+ # @return [Google::Apis::SqladminV1::SqlServerEntraIdConfig]
5197+ attr_accessor :entraid_config
5198+
51065199 # Config used to determine the final backup settings for the instance.
51075200 # Corresponds to the JSON property `finalBackupConfig`
51085201 # @return [Google::Apis::SqladminV1::FinalBackupConfig]
@@ -5248,6 +5341,7 @@ def update!(**args)
52485341 @edition = args [ :edition ] if args . key? ( :edition )
52495342 @enable_dataplex_integration = args [ :enable_dataplex_integration ] if args . key? ( :enable_dataplex_integration )
52505343 @enable_google_ml_integration = args [ :enable_google_ml_integration ] if args . key? ( :enable_google_ml_integration )
5344+ @entraid_config = args [ :entraid_config ] if args . key? ( :entraid_config )
52515345 @final_backup_config = args [ :final_backup_config ] if args . key? ( :final_backup_config )
52525346 @insights_config = args [ :insights_config ] if args . key? ( :insights_config )
52535347 @ip_configuration = args [ :ip_configuration ] if args . key? ( :ip_configuration )
@@ -5809,6 +5903,37 @@ def update!(**args)
58095903 end
58105904 end
58115905
5906+ # SQL Server Entra ID configuration.
5907+ class SqlServerEntraIdConfig
5908+ include Google ::Apis ::Core ::Hashable
5909+
5910+ # Optional. The application ID for the Entra ID configuration.
5911+ # Corresponds to the JSON property `applicationId`
5912+ # @return [String]
5913+ attr_accessor :application_id
5914+
5915+ # Output only. This is always sql#sqlServerEntraIdConfig
5916+ # Corresponds to the JSON property `kind`
5917+ # @return [String]
5918+ attr_accessor :kind
5919+
5920+ # Optional. The tenant ID for the Entra ID configuration.
5921+ # Corresponds to the JSON property `tenantId`
5922+ # @return [String]
5923+ attr_accessor :tenant_id
5924+
5925+ def initialize ( **args )
5926+ update! ( **args )
5927+ end
5928+
5929+ # Update properties of this object
5930+ def update! ( **args )
5931+ @application_id = args [ :application_id ] if args . key? ( :application_id )
5932+ @kind = args [ :kind ] if args . key? ( :kind )
5933+ @tenant_id = args [ :tenant_id ] if args . key? ( :tenant_id )
5934+ end
5935+ end
5936+
58125937 # Represents a Sql Server user on the Cloud SQL instance.
58135938 class SqlServerUserDetails
58145939 include Google ::Apis ::Core ::Hashable
@@ -6248,6 +6373,11 @@ def update!(**args)
62486373 class User
62496374 include Google ::Apis ::Core ::Hashable
62506375
6376+ # Optional. Role memberships of the user
6377+ # Corresponds to the JSON property `databaseRoles`
6378+ # @return [Array<String>]
6379+ attr_accessor :database_roles
6380+
62516381 # Dual password status for the user.
62526382 # Corresponds to the JSON property `dualPasswordType`
62536383 # @return [String]
@@ -6329,6 +6459,7 @@ def initialize(**args)
63296459
63306460 # Update properties of this object
63316461 def update! ( **args )
6462+ @database_roles = args [ :database_roles ] if args . key? ( :database_roles )
63326463 @dual_password_type = args [ :dual_password_type ] if args . key? ( :dual_password_type )
63336464 @etag = args [ :etag ] if args . key? ( :etag )
63346465 @host = args [ :host ] if args . key? ( :host )
0 commit comments