google-apis-sqladmin_v1 0.88.0 → 0.89.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: 3e2d084b4fdc81241a24af4d930a2698f9603e2392f0bccc6b2b2988b1069ef9
|
|
4
|
+
data.tar.gz: b65223ec08e802a0923ba56a4d7491291542527d39d3996356bde855d220e8d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f88443dca15826d69f4fa1c23e40b8cf2ac8e3e7b8e00d7016881ea92fe12397461d9286984e26435db157cb177e129212a5132ddf09791c9da960697b4a5251
|
|
7
|
+
data.tar.gz: ec80696f1f0286ecd6cc5e8bed80ade02f3061905b1da00e11afc690c8d6b86886ea4818cb7941b3ba99a3cfcff332d4674e1ed82694ba511cfd798b07dc00f2
|
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
|
|
@@ -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
|
|
@@ -4313,7 +4374,7 @@ module Google
|
|
|
4313
4374
|
end
|
|
4314
4375
|
|
|
4315
4376
|
# The context to perform a point-in-time recovery of an instance managed by
|
|
4316
|
-
#
|
|
4377
|
+
# Backup and Disaster Recovery (DR) Service.
|
|
4317
4378
|
class PointInTimeRestoreContext
|
|
4318
4379
|
include Google::Apis::Core::Hashable
|
|
4319
4380
|
|
|
@@ -4328,7 +4389,7 @@ module Google
|
|
|
4328
4389
|
# @return [String]
|
|
4329
4390
|
attr_accessor :allocated_ip_range
|
|
4330
4391
|
|
|
4331
|
-
# The
|
|
4392
|
+
# The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/
|
|
4332
4393
|
# `project`/locations/`region`/backupVaults/`backupvault`/dataSources/`
|
|
4333
4394
|
# datasource`.
|
|
4334
4395
|
# 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 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
|
+
|
|
4856
4944
|
# Instance rotate server CA context.
|
|
4857
4945
|
class RotateServerCaContext
|
|
4858
4946
|
include Google::Apis::Core::Hashable
|
|
@@ -5024,8 +5112,8 @@ module Google
|
|
|
5024
5112
|
attr_accessor :crash_safe_replication_enabled
|
|
5025
5113
|
alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled
|
|
5026
5114
|
|
|
5027
|
-
# This parameter controls whether to allow using
|
|
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.
|
|
5029
5117
|
# Corresponds to the JSON property `dataApiAccess`
|
|
5030
5118
|
# @return [String]
|
|
5031
5119
|
attr_accessor :data_api_access
|
|
@@ -5103,6 +5191,11 @@ module Google
|
|
|
5103
5191
|
attr_accessor :enable_google_ml_integration
|
|
5104
5192
|
alias_method :enable_google_ml_integration?, :enable_google_ml_integration
|
|
5105
5193
|
|
|
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
|
+
|
|
5106
5199
|
# Config used to determine the final backup settings for the instance.
|
|
5107
5200
|
# Corresponds to the JSON property `finalBackupConfig`
|
|
5108
5201
|
# @return [Google::Apis::SqladminV1::FinalBackupConfig]
|
|
@@ -5248,6 +5341,7 @@ module Google
|
|
|
5248
5341
|
@edition = args[:edition] if args.key?(:edition)
|
|
5249
5342
|
@enable_dataplex_integration = args[:enable_dataplex_integration] if args.key?(:enable_dataplex_integration)
|
|
5250
5343
|
@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)
|
|
5251
5345
|
@final_backup_config = args[:final_backup_config] if args.key?(:final_backup_config)
|
|
5252
5346
|
@insights_config = args[:insights_config] if args.key?(:insights_config)
|
|
5253
5347
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
|
@@ -5809,6 +5903,37 @@ module Google
|
|
|
5809
5903
|
end
|
|
5810
5904
|
end
|
|
5811
5905
|
|
|
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
|
+
|
|
5812
5937
|
# Represents a Sql Server user on the Cloud SQL instance.
|
|
5813
5938
|
class SqlServerUserDetails
|
|
5814
5939
|
include Google::Apis::Core::Hashable
|
|
@@ -6248,6 +6373,11 @@ module Google
|
|
|
6248
6373
|
class User
|
|
6249
6374
|
include Google::Apis::Core::Hashable
|
|
6250
6375
|
|
|
6376
|
+
# Optional. Role memberships of the user
|
|
6377
|
+
# Corresponds to the JSON property `databaseRoles`
|
|
6378
|
+
# @return [Array<String>]
|
|
6379
|
+
attr_accessor :database_roles
|
|
6380
|
+
|
|
6251
6381
|
# Dual password status for the user.
|
|
6252
6382
|
# Corresponds to the JSON property `dualPasswordType`
|
|
6253
6383
|
# @return [String]
|
|
@@ -6329,6 +6459,7 @@ module Google
|
|
|
6329
6459
|
|
|
6330
6460
|
# Update properties of this object
|
|
6331
6461
|
def update!(**args)
|
|
6462
|
+
@database_roles = args[:database_roles] if args.key?(:database_roles)
|
|
6332
6463
|
@dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
|
|
6333
6464
|
@etag = args[:etag] if args.key?(:etag)
|
|
6334
6465
|
@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.
|
|
19
|
+
GEM_VERSION = "0.89.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 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
|
|
|
@@ -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
|
|
|
@@ -784,6 +802,12 @@ module Google
|
|
|
784
802
|
include Google::Apis::Core::JsonObjectSupport
|
|
785
803
|
end
|
|
786
804
|
|
|
805
|
+
class SqlServerEntraIdConfig
|
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
807
|
+
|
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
809
|
+
end
|
|
810
|
+
|
|
787
811
|
class SqlServerUserDetails
|
|
788
812
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
813
|
|
|
@@ -1673,6 +1697,16 @@ module Google
|
|
|
1673
1697
|
end
|
|
1674
1698
|
end
|
|
1675
1699
|
|
|
1700
|
+
class InstancesListEntraIdCertificatesResponse
|
|
1701
|
+
# @private
|
|
1702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1703
|
+
property :active_version, as: 'activeVersion'
|
|
1704
|
+
collection :certs, as: 'certs', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
|
|
1705
|
+
|
|
1706
|
+
property :kind, as: 'kind'
|
|
1707
|
+
end
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1676
1710
|
class InstancesListResponse
|
|
1677
1711
|
# @private
|
|
1678
1712
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1736,6 +1770,14 @@ module Google
|
|
|
1736
1770
|
end
|
|
1737
1771
|
end
|
|
1738
1772
|
|
|
1773
|
+
class InstancesRotateEntraIdCertificateRequest
|
|
1774
|
+
# @private
|
|
1775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1776
|
+
property :rotate_entra_id_certificate_context, as: 'rotateEntraIdCertificateContext', class: Google::Apis::SqladminV1::RotateEntraIdCertificateContext, decorator: Google::Apis::SqladminV1::RotateEntraIdCertificateContext::Representation
|
|
1777
|
+
|
|
1778
|
+
end
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1739
1781
|
class InstancesRotateServerCaRequest
|
|
1740
1782
|
# @private
|
|
1741
1783
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1783,6 +1825,7 @@ module Google
|
|
|
1783
1825
|
property :require_ssl, as: 'requireSsl'
|
|
1784
1826
|
property :server_ca_mode, as: 'serverCaMode'
|
|
1785
1827
|
property :server_ca_pool, as: 'serverCaPool'
|
|
1828
|
+
property :server_certificate_rotation_mode, as: 'serverCertificateRotationMode'
|
|
1786
1829
|
property :ssl_mode, as: 'sslMode'
|
|
1787
1830
|
end
|
|
1788
1831
|
end
|
|
@@ -2123,6 +2166,14 @@ module Google
|
|
|
2123
2166
|
end
|
|
2124
2167
|
end
|
|
2125
2168
|
|
|
2169
|
+
class RotateEntraIdCertificateContext
|
|
2170
|
+
# @private
|
|
2171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2172
|
+
property :kind, as: 'kind'
|
|
2173
|
+
property :next_version, as: 'nextVersion'
|
|
2174
|
+
end
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2126
2177
|
class RotateServerCaContext
|
|
2127
2178
|
# @private
|
|
2128
2179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2188,6 +2239,8 @@ module Google
|
|
|
2188
2239
|
property :edition, as: 'edition'
|
|
2189
2240
|
property :enable_dataplex_integration, as: 'enableDataplexIntegration'
|
|
2190
2241
|
property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
|
|
2242
|
+
property :entraid_config, as: 'entraidConfig', class: Google::Apis::SqladminV1::SqlServerEntraIdConfig, decorator: Google::Apis::SqladminV1::SqlServerEntraIdConfig::Representation
|
|
2243
|
+
|
|
2191
2244
|
property :final_backup_config, as: 'finalBackupConfig', class: Google::Apis::SqladminV1::FinalBackupConfig, decorator: Google::Apis::SqladminV1::FinalBackupConfig::Representation
|
|
2192
2245
|
|
|
2193
2246
|
property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::InsightsConfig::Representation
|
|
@@ -2374,6 +2427,15 @@ module Google
|
|
|
2374
2427
|
end
|
|
2375
2428
|
end
|
|
2376
2429
|
|
|
2430
|
+
class SqlServerEntraIdConfig
|
|
2431
|
+
# @private
|
|
2432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2433
|
+
property :application_id, as: 'applicationId'
|
|
2434
|
+
property :kind, as: 'kind'
|
|
2435
|
+
property :tenant_id, as: 'tenantId'
|
|
2436
|
+
end
|
|
2437
|
+
end
|
|
2438
|
+
|
|
2377
2439
|
class SqlServerUserDetails
|
|
2378
2440
|
# @private
|
|
2379
2441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2506,6 +2568,7 @@ module Google
|
|
|
2506
2568
|
class User
|
|
2507
2569
|
# @private
|
|
2508
2570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2571
|
+
collection :database_roles, as: 'databaseRoles'
|
|
2509
2572
|
property :dual_password_type, as: 'dualPasswordType'
|
|
2510
2573
|
property :etag, as: 'etag'
|
|
2511
2574
|
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.
|
|
@@ -2639,6 +2712,9 @@ module Google
|
|
|
2639
2712
|
# @param [String] instance
|
|
2640
2713
|
# Database instance ID. This does not include the project ID.
|
|
2641
2714
|
# @param [Google::Apis::SqladminV1::User] user_object
|
|
2715
|
+
# @param [Array<String>, String] database_roles
|
|
2716
|
+
# Optional. List of database roles to grant to the user. body.database_roles
|
|
2717
|
+
# will be ignored for update request.
|
|
2642
2718
|
# @param [String] host
|
|
2643
2719
|
# Optional. Host of the user in the instance.
|
|
2644
2720
|
# @param [String] name
|
|
@@ -2660,7 +2736,7 @@ module Google
|
|
|
2660
2736
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2661
2737
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2662
2738
|
# @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)
|
|
2739
|
+
def update_user(project, instance, user_object = nil, database_roles: nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2664
2740
|
command = make_simple_command(:put, 'v1/projects/{project}/instances/{instance}/users', options)
|
|
2665
2741
|
command.request_representation = Google::Apis::SqladminV1::User::Representation
|
|
2666
2742
|
command.request_object = user_object
|
|
@@ -2668,6 +2744,7 @@ module Google
|
|
|
2668
2744
|
command.response_class = Google::Apis::SqladminV1::Operation
|
|
2669
2745
|
command.params['project'] = project unless project.nil?
|
|
2670
2746
|
command.params['instance'] = instance unless instance.nil?
|
|
2747
|
+
command.query['databaseRoles'] = database_roles unless database_roles.nil?
|
|
2671
2748
|
command.query['host'] = host unless host.nil?
|
|
2672
2749
|
command.query['name'] = name unless name.nil?
|
|
2673
2750
|
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.
|
|
4
|
+
version: 0.89.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.89.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:
|