google-apis-sqladmin_v1beta4 0.93.0 → 0.94.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60fb4ca81a05f5f763e44f1c5177c931dae722b5686b52695e7aa2772eafeeb0
|
|
4
|
+
data.tar.gz: d4757e8fc0769df7414cf8cb235f57e0a5b2368e8712ebacd7a1486014dc87a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79a822cdfd594c72ed76632362ddd5e32e9160f87da3dca8452016917aaae8b3dd8bf2e20a09c5d34f331854d9049944ea5e038cf123088b196207c77b729d29
|
|
7
|
+
data.tar.gz: 884a427fcec1217260959856ecad3cfd5e0ea95f11928ce4a5b3220c3e2acfb4d23afd78835fdaad284e40e25e1c609588ba7a00e1bea199c6ad5e25d7ca2e07
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -3137,6 +3137,37 @@ module Google
|
|
|
3137
3137
|
end
|
|
3138
3138
|
end
|
|
3139
3139
|
|
|
3140
|
+
# Instances ListEntraIdCertificates response.
|
|
3141
|
+
class InstancesListEntraIdCertificatesResponse
|
|
3142
|
+
include Google::Apis::Core::Hashable
|
|
3143
|
+
|
|
3144
|
+
# The `sha1_fingerprint` of the active certificate from `certs`.
|
|
3145
|
+
# Corresponds to the JSON property `activeVersion`
|
|
3146
|
+
# @return [String]
|
|
3147
|
+
attr_accessor :active_version
|
|
3148
|
+
|
|
3149
|
+
# List of Entra ID certificates for the instance.
|
|
3150
|
+
# Corresponds to the JSON property `certs`
|
|
3151
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
|
3152
|
+
attr_accessor :certs
|
|
3153
|
+
|
|
3154
|
+
# This is always `sql#instancesListEntraIdCertificates`.
|
|
3155
|
+
# Corresponds to the JSON property `kind`
|
|
3156
|
+
# @return [String]
|
|
3157
|
+
attr_accessor :kind
|
|
3158
|
+
|
|
3159
|
+
def initialize(**args)
|
|
3160
|
+
update!(**args)
|
|
3161
|
+
end
|
|
3162
|
+
|
|
3163
|
+
# Update properties of this object
|
|
3164
|
+
def update!(**args)
|
|
3165
|
+
@active_version = args[:active_version] if args.key?(:active_version)
|
|
3166
|
+
@certs = args[:certs] if args.key?(:certs)
|
|
3167
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3168
|
+
end
|
|
3169
|
+
end
|
|
3170
|
+
|
|
3140
3171
|
# Database instances list response.
|
|
3141
3172
|
class ListInstancesResponse
|
|
3142
3173
|
include Google::Apis::Core::Hashable
|
|
@@ -3333,6 +3364,25 @@ module Google
|
|
|
3333
3364
|
end
|
|
3334
3365
|
end
|
|
3335
3366
|
|
|
3367
|
+
# Rotate Entra ID Certificate request.
|
|
3368
|
+
class InstancesRotateEntraIdCertificateRequest
|
|
3369
|
+
include Google::Apis::Core::Hashable
|
|
3370
|
+
|
|
3371
|
+
# Instance rotate Entra ID certificate context.
|
|
3372
|
+
# Corresponds to the JSON property `rotateEntraIdCertificateContext`
|
|
3373
|
+
# @return [Google::Apis::SqladminV1beta4::RotateEntraIdCertificateContext]
|
|
3374
|
+
attr_accessor :rotate_entra_id_certificate_context
|
|
3375
|
+
|
|
3376
|
+
def initialize(**args)
|
|
3377
|
+
update!(**args)
|
|
3378
|
+
end
|
|
3379
|
+
|
|
3380
|
+
# Update properties of this object
|
|
3381
|
+
def update!(**args)
|
|
3382
|
+
@rotate_entra_id_certificate_context = args[:rotate_entra_id_certificate_context] if args.key?(:rotate_entra_id_certificate_context)
|
|
3383
|
+
end
|
|
3384
|
+
end
|
|
3385
|
+
|
|
3336
3386
|
# Rotate Server CA request.
|
|
3337
3387
|
class InstancesRotateServerCaRequest
|
|
3338
3388
|
include Google::Apis::Core::Hashable
|
|
@@ -3495,6 +3545,16 @@ module Google
|
|
|
3495
3545
|
# @return [String]
|
|
3496
3546
|
attr_accessor :server_ca_pool
|
|
3497
3547
|
|
|
3548
|
+
# Optional. Controls the automatic server certificate rotation feature. This
|
|
3549
|
+
# feature is disabled by default. When enabled, the server certificate will be
|
|
3550
|
+
# automatically rotated during Cloud SQL scheduled maintenance or self-service
|
|
3551
|
+
# maintenance updates up to six months before it expires. This setting can only
|
|
3552
|
+
# be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or
|
|
3553
|
+
# CUSTOMER_MANAGED_CAS_CA.
|
|
3554
|
+
# Corresponds to the JSON property `serverCertificateRotationMode`
|
|
3555
|
+
# @return [String]
|
|
3556
|
+
attr_accessor :server_certificate_rotation_mode
|
|
3557
|
+
|
|
3498
3558
|
# Specify how SSL/TLS is enforced in database connections. If you must use the `
|
|
3499
3559
|
# require_ssl` flag for backward compatibility, then only the following value
|
|
3500
3560
|
# pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
|
|
@@ -3528,6 +3588,7 @@ module Google
|
|
|
3528
3588
|
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
|
3529
3589
|
@server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
|
|
3530
3590
|
@server_ca_pool = args[:server_ca_pool] if args.key?(:server_ca_pool)
|
|
3591
|
+
@server_certificate_rotation_mode = args[:server_certificate_rotation_mode] if args.key?(:server_certificate_rotation_mode)
|
|
3531
3592
|
@ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
|
|
3532
3593
|
end
|
|
3533
3594
|
end
|
|
@@ -4313,8 +4374,8 @@ module Google
|
|
|
4313
4374
|
end
|
|
4314
4375
|
end
|
|
4315
4376
|
|
|
4316
|
-
# Context to perform a point-in-time restore of an instance managed by
|
|
4317
|
-
#
|
|
4377
|
+
# Context to perform a point-in-time restore of an instance managed by Backup
|
|
4378
|
+
# and Disaster Recovery (DR) Service.
|
|
4318
4379
|
class PointInTimeRestoreContext
|
|
4319
4380
|
include Google::Apis::Core::Hashable
|
|
4320
4381
|
|
|
@@ -4329,7 +4390,7 @@ module Google
|
|
|
4329
4390
|
# @return [String]
|
|
4330
4391
|
attr_accessor :allocated_ip_range
|
|
4331
4392
|
|
|
4332
|
-
# The
|
|
4393
|
+
# The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/
|
|
4333
4394
|
# `project`/locations/`region`/backupVaults/`backupvault`/dataSources/`
|
|
4334
4395
|
# datasource`.
|
|
4335
4396
|
# Corresponds to the JSON property `datasource`
|
|
@@ -4853,6 +4914,33 @@ module Google
|
|
|
4853
4914
|
end
|
|
4854
4915
|
end
|
|
4855
4916
|
|
|
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 Entra ID 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
|
+
|
|
4856
4944
|
# Instance rotate server CA context.
|
|
4857
4945
|
class RotateServerCaContext
|
|
4858
4946
|
include Google::Apis::Core::Hashable
|
|
@@ -5025,8 +5113,8 @@ module Google
|
|
|
5025
5113
|
attr_accessor :crash_safe_replication_enabled
|
|
5026
5114
|
alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled
|
|
5027
5115
|
|
|
5028
|
-
# This parameter controls whether to allow using
|
|
5029
|
-
# instance. Not allowed by default.
|
|
5116
|
+
# This parameter controls whether to allow using ExecuteSql API to connect to
|
|
5117
|
+
# the instance. Not allowed by default.
|
|
5030
5118
|
# Corresponds to the JSON property `dataApiAccess`
|
|
5031
5119
|
# @return [String]
|
|
5032
5120
|
attr_accessor :data_api_access
|
|
@@ -5104,6 +5192,11 @@ module Google
|
|
|
5104
5192
|
attr_accessor :enable_google_ml_integration
|
|
5105
5193
|
alias_method :enable_google_ml_integration?, :enable_google_ml_integration
|
|
5106
5194
|
|
|
5195
|
+
# SQL Server Entra ID configuration.
|
|
5196
|
+
# Corresponds to the JSON property `entraidConfig`
|
|
5197
|
+
# @return [Google::Apis::SqladminV1beta4::SqlServerEntraIdConfig]
|
|
5198
|
+
attr_accessor :entraid_config
|
|
5199
|
+
|
|
5107
5200
|
# Config used to determine the final backup settings for the instance.
|
|
5108
5201
|
# Corresponds to the JSON property `finalBackupConfig`
|
|
5109
5202
|
# @return [Google::Apis::SqladminV1beta4::FinalBackupConfig]
|
|
@@ -5249,6 +5342,7 @@ module Google
|
|
|
5249
5342
|
@edition = args[:edition] if args.key?(:edition)
|
|
5250
5343
|
@enable_dataplex_integration = args[:enable_dataplex_integration] if args.key?(:enable_dataplex_integration)
|
|
5251
5344
|
@enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
|
|
5345
|
+
@entraid_config = args[:entraid_config] if args.key?(:entraid_config)
|
|
5252
5346
|
@final_backup_config = args[:final_backup_config] if args.key?(:final_backup_config)
|
|
5253
5347
|
@insights_config = args[:insights_config] if args.key?(:insights_config)
|
|
5254
5348
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
|
@@ -5372,6 +5466,19 @@ module Google
|
|
|
5372
5466
|
end
|
|
5373
5467
|
end
|
|
5374
5468
|
|
|
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
|
+
|
|
5375
5482
|
# Execute SQL statements response.
|
|
5376
5483
|
class SqlInstancesExecuteSqlResponse
|
|
5377
5484
|
include Google::Apis::Core::Hashable
|
|
@@ -5810,6 +5917,37 @@ module Google
|
|
|
5810
5917
|
end
|
|
5811
5918
|
end
|
|
5812
5919
|
|
|
5920
|
+
# SQL Server Entra ID configuration.
|
|
5921
|
+
class SqlServerEntraIdConfig
|
|
5922
|
+
include Google::Apis::Core::Hashable
|
|
5923
|
+
|
|
5924
|
+
# Optional. The application ID for the Entra ID configuration.
|
|
5925
|
+
# Corresponds to the JSON property `applicationId`
|
|
5926
|
+
# @return [String]
|
|
5927
|
+
attr_accessor :application_id
|
|
5928
|
+
|
|
5929
|
+
# Output only. This is always sql#sqlServerEntraIdConfig
|
|
5930
|
+
# Corresponds to the JSON property `kind`
|
|
5931
|
+
# @return [String]
|
|
5932
|
+
attr_accessor :kind
|
|
5933
|
+
|
|
5934
|
+
# Optional. The tenant ID for the Entra ID configuration.
|
|
5935
|
+
# Corresponds to the JSON property `tenantId`
|
|
5936
|
+
# @return [String]
|
|
5937
|
+
attr_accessor :tenant_id
|
|
5938
|
+
|
|
5939
|
+
def initialize(**args)
|
|
5940
|
+
update!(**args)
|
|
5941
|
+
end
|
|
5942
|
+
|
|
5943
|
+
# Update properties of this object
|
|
5944
|
+
def update!(**args)
|
|
5945
|
+
@application_id = args[:application_id] if args.key?(:application_id)
|
|
5946
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5947
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
|
5948
|
+
end
|
|
5949
|
+
end
|
|
5950
|
+
|
|
5813
5951
|
# Represents a Sql Server user on the Cloud SQL instance.
|
|
5814
5952
|
class SqlServerUserDetails
|
|
5815
5953
|
include Google::Apis::Core::Hashable
|
|
@@ -6249,6 +6387,11 @@ module Google
|
|
|
6249
6387
|
class User
|
|
6250
6388
|
include Google::Apis::Core::Hashable
|
|
6251
6389
|
|
|
6390
|
+
# Optional. Role memberships of the user
|
|
6391
|
+
# Corresponds to the JSON property `databaseRoles`
|
|
6392
|
+
# @return [Array<String>]
|
|
6393
|
+
attr_accessor :database_roles
|
|
6394
|
+
|
|
6252
6395
|
# Dual password status for the user.
|
|
6253
6396
|
# Corresponds to the JSON property `dualPasswordType`
|
|
6254
6397
|
# @return [String]
|
|
@@ -6330,6 +6473,7 @@ module Google
|
|
|
6330
6473
|
|
|
6331
6474
|
# Update properties of this object
|
|
6332
6475
|
def update!(**args)
|
|
6476
|
+
@database_roles = args[:database_roles] if args.key?(:database_roles)
|
|
6333
6477
|
@dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
|
|
6334
6478
|
@etag = args[:etag] if args.key?(:etag)
|
|
6335
6479
|
@host = args[:host] if args.key?(:host)
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.94.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 = "
|
|
25
|
+
REVISION = "20251107"
|
|
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 ListInstancesResponse
|
|
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
|
|
|
@@ -658,6 +670,12 @@ module Google
|
|
|
658
670
|
include Google::Apis::Core::JsonObjectSupport
|
|
659
671
|
end
|
|
660
672
|
|
|
673
|
+
class RotateEntraIdCertificateContext
|
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
|
+
|
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
677
|
+
end
|
|
678
|
+
|
|
661
679
|
class RotateServerCaContext
|
|
662
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
681
|
|
|
@@ -706,6 +724,12 @@ module Google
|
|
|
706
724
|
include Google::Apis::Core::JsonObjectSupport
|
|
707
725
|
end
|
|
708
726
|
|
|
727
|
+
class SqlInstancesAddEntraIdCertificateRequest
|
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
729
|
+
|
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
731
|
+
end
|
|
732
|
+
|
|
709
733
|
class SqlInstancesExecuteSqlResponse
|
|
710
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
711
735
|
|
|
@@ -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::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
|
1711
|
+
|
|
1712
|
+
property :kind, as: 'kind'
|
|
1713
|
+
end
|
|
1714
|
+
end
|
|
1715
|
+
|
|
1676
1716
|
class ListInstancesResponse
|
|
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::SqladminV1beta4::RotateEntraIdCertificateContext, decorator: Google::Apis::SqladminV1beta4::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
|
|
@@ -2123,6 +2172,14 @@ module Google
|
|
|
2123
2172
|
end
|
|
2124
2173
|
end
|
|
2125
2174
|
|
|
2175
|
+
class RotateEntraIdCertificateContext
|
|
2176
|
+
# @private
|
|
2177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2178
|
+
property :kind, as: 'kind'
|
|
2179
|
+
property :next_version, as: 'nextVersion'
|
|
2180
|
+
end
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2126
2183
|
class RotateServerCaContext
|
|
2127
2184
|
# @private
|
|
2128
2185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2188,6 +2245,8 @@ module Google
|
|
|
2188
2245
|
property :edition, as: 'edition'
|
|
2189
2246
|
property :enable_dataplex_integration, as: 'enableDataplexIntegration'
|
|
2190
2247
|
property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
|
|
2248
|
+
property :entraid_config, as: 'entraidConfig', class: Google::Apis::SqladminV1beta4::SqlServerEntraIdConfig, decorator: Google::Apis::SqladminV1beta4::SqlServerEntraIdConfig::Representation
|
|
2249
|
+
|
|
2191
2250
|
property :final_backup_config, as: 'finalBackupConfig', class: Google::Apis::SqladminV1beta4::FinalBackupConfig, decorator: Google::Apis::SqladminV1beta4::FinalBackupConfig::Representation
|
|
2192
2251
|
|
|
2193
2252
|
property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1beta4::InsightsConfig, decorator: Google::Apis::SqladminV1beta4::InsightsConfig::Representation
|
|
@@ -2246,6 +2305,12 @@ module Google
|
|
|
2246
2305
|
end
|
|
2247
2306
|
end
|
|
2248
2307
|
|
|
2308
|
+
class SqlInstancesAddEntraIdCertificateRequest
|
|
2309
|
+
# @private
|
|
2310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2311
|
+
end
|
|
2312
|
+
end
|
|
2313
|
+
|
|
2249
2314
|
class SqlInstancesExecuteSqlResponse
|
|
2250
2315
|
# @private
|
|
2251
2316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2374,6 +2439,15 @@ module Google
|
|
|
2374
2439
|
end
|
|
2375
2440
|
end
|
|
2376
2441
|
|
|
2442
|
+
class SqlServerEntraIdConfig
|
|
2443
|
+
# @private
|
|
2444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2445
|
+
property :application_id, as: 'applicationId'
|
|
2446
|
+
property :kind, as: 'kind'
|
|
2447
|
+
property :tenant_id, as: 'tenantId'
|
|
2448
|
+
end
|
|
2449
|
+
end
|
|
2450
|
+
|
|
2377
2451
|
class SqlServerUserDetails
|
|
2378
2452
|
# @private
|
|
2379
2453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2506,6 +2580,7 @@ module Google
|
|
|
2506
2580
|
class User
|
|
2507
2581
|
# @private
|
|
2508
2582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2583
|
+
collection :database_roles, as: 'databaseRoles'
|
|
2509
2584
|
property :dual_password_type, as: 'dualPasswordType'
|
|
2510
2585
|
property :etag, as: 'etag'
|
|
2511
2586
|
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::SqladminV1beta4::InstancesListEntraIdCertificatesResponse] parsed result object
|
|
740
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
741
|
+
#
|
|
742
|
+
# @return [Google::Apis::SqladminV1beta4::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, 'sql/v1beta4/projects/{project}/instances/{instance}/listEntraIdCertificates', options)
|
|
749
|
+
command.response_representation = Google::Apis::SqladminV1beta4::InstancesListEntraIdCertificatesResponse::Representation
|
|
750
|
+
command.response_class = Google::Apis::SqladminV1beta4::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 Entra Id 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::SqladminV1beta4::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::SqladminV1beta4::Operation] parsed result object
|
|
813
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
814
|
+
#
|
|
815
|
+
# @return [Google::Apis::SqladminV1beta4::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, 'sql/v1beta4/projects/{project}/instances/{instance}/rotateEntraIdCertificate', options)
|
|
822
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesRotateEntraIdCertificateRequest::Representation
|
|
823
|
+
command.request_object = instances_rotate_entra_id_certificate_request_object
|
|
824
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
|
825
|
+
command.response_class = Google::Apis::SqladminV1beta4::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.
|
|
@@ -833,6 +906,44 @@ module Google
|
|
|
833
906
|
execute_or_queue_command(command, &block)
|
|
834
907
|
end
|
|
835
908
|
|
|
909
|
+
# Adds a new Entra ID certificate for the specified instance. If an Entra ID
|
|
910
|
+
# certificate was previously added but never used in a certificate rotation,
|
|
911
|
+
# this operation replaces that version.
|
|
912
|
+
# @param [String] project
|
|
913
|
+
# Required. Project ID of the project that contains the instance.
|
|
914
|
+
# @param [String] instance
|
|
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
|
+
# @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::SqladminV1beta4::Operation] parsed result object
|
|
927
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
928
|
+
#
|
|
929
|
+
# @return [Google::Apis::SqladminV1beta4::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, sql_instances_add_entra_id_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
935
|
+
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
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
|
939
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
|
940
|
+
command.params['project'] = project unless project.nil?
|
|
941
|
+
command.params['instance'] = instance unless instance.nil?
|
|
942
|
+
command.query['fields'] = fields unless fields.nil?
|
|
943
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
944
|
+
execute_or_queue_command(command, &block)
|
|
945
|
+
end
|
|
946
|
+
|
|
836
947
|
# Add a new trusted Certificate Authority (CA) version for the specified
|
|
837
948
|
# instance. Required to prepare for a certificate rotation. If a CA version was
|
|
838
949
|
# previously added but never used in a certificate rotation, this operation
|
|
@@ -2640,10 +2751,15 @@ module Google
|
|
|
2640
2751
|
# @param [String] instance
|
|
2641
2752
|
# Database instance ID. This does not include the project ID.
|
|
2642
2753
|
# @param [Google::Apis::SqladminV1beta4::User] user_object
|
|
2754
|
+
# @param [Array<String>, String] database_roles
|
|
2755
|
+
# Optional. List of database roles to grant to the user. body.database_roles
|
|
2756
|
+
# will be ignored for update request.
|
|
2643
2757
|
# @param [String] host
|
|
2644
2758
|
# Optional. Host of the user in the instance.
|
|
2645
2759
|
# @param [String] name
|
|
2646
2760
|
# Name of the user in the instance.
|
|
2761
|
+
# @param [Boolean] revoke_existing_roles
|
|
2762
|
+
# Optional. revoke the existing roles granted to the user.
|
|
2647
2763
|
# @param [String] fields
|
|
2648
2764
|
# Selector specifying which fields to include in a partial response.
|
|
2649
2765
|
# @param [String] quota_user
|
|
@@ -2661,7 +2777,7 @@ module Google
|
|
|
2661
2777
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2662
2778
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2663
2779
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2664
|
-
def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2780
|
+
def update_user(project, instance, user_object = nil, database_roles: nil, host: nil, name: nil, revoke_existing_roles: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2665
2781
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
|
2666
2782
|
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
|
2667
2783
|
command.request_object = user_object
|
|
@@ -2669,8 +2785,10 @@ module Google
|
|
|
2669
2785
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
|
2670
2786
|
command.params['project'] = project unless project.nil?
|
|
2671
2787
|
command.params['instance'] = instance unless instance.nil?
|
|
2788
|
+
command.query['databaseRoles'] = database_roles unless database_roles.nil?
|
|
2672
2789
|
command.query['host'] = host unless host.nil?
|
|
2673
2790
|
command.query['name'] = name unless name.nil?
|
|
2791
|
+
command.query['revokeExistingRoles'] = revoke_existing_roles unless revoke_existing_roles.nil?
|
|
2674
2792
|
command.query['fields'] = fields unless fields.nil?
|
|
2675
2793
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2676
2794
|
execute_or_queue_command(command, &block)
|
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.
|
|
4
|
+
version: 0.94.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.94.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:
|