google-apis-sqladmin_v1 0.89.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 492eb4febe22c2fface7bd5c483ef80761941c2809e618c6905a0171f87bb632
|
|
4
|
+
data.tar.gz: 6be4577d6ce6dd66b8e464819d1e004e1cce6a0aa5a7b53832ea228684c7db6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3e15fda59c54aeed7619b9ca0022318fce767535865bf1fa83bb09caf05c4066c311c3027321bfde32278f1de94e381af3f5bd3c2f762c9820065c779ef3164
|
|
7
|
+
data.tar.gz: 9c975da5537448c4a2812fdc5adbf16aec06e78da89ab2fb1e8492629a0757cd0aa21771abb7573be62f514888ec00c099d10708f164adaa0e29d460171df8dd
|
data/CHANGELOG.md
CHANGED
|
@@ -4295,7 +4295,10 @@ module Google
|
|
|
4295
4295
|
end
|
|
4296
4296
|
end
|
|
4297
4297
|
|
|
4298
|
-
# 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.
|
|
4299
4302
|
class PasswordValidationPolicy
|
|
4300
4303
|
include Google::Apis::Core::Hashable
|
|
4301
4304
|
|
|
@@ -4316,7 +4319,9 @@ module Google
|
|
|
4316
4319
|
attr_accessor :disallow_username_substring
|
|
4317
4320
|
alias_method :disallow_username_substring?, :disallow_username_substring
|
|
4318
4321
|
|
|
4319
|
-
# Whether the password policy
|
|
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.
|
|
4320
4325
|
# Corresponds to the JSON property `enablePasswordPolicy`
|
|
4321
4326
|
# @return [Boolean]
|
|
4322
4327
|
attr_accessor :enable_password_policy
|
|
@@ -4373,6 +4378,60 @@ module Google
|
|
|
4373
4378
|
end
|
|
4374
4379
|
end
|
|
4375
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
|
+
|
|
4376
4435
|
# The context to perform a point-in-time recovery of an instance managed by
|
|
4377
4436
|
# Backup and Disaster Recovery (DR) Service.
|
|
4378
4437
|
class PointInTimeRestoreContext
|
|
@@ -4473,6 +4532,19 @@ module Google
|
|
|
4473
4532
|
# @return [String]
|
|
4474
4533
|
attr_accessor :name
|
|
4475
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
|
+
|
|
4476
4548
|
# Output only. The current state of the read pool node.
|
|
4477
4549
|
# Corresponds to the JSON property `state`
|
|
4478
4550
|
# @return [String]
|
|
@@ -4489,6 +4561,8 @@ module Google
|
|
|
4489
4561
|
@gce_zone = args[:gce_zone] if args.key?(:gce_zone)
|
|
4490
4562
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
|
4491
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)
|
|
4492
4566
|
@state = args[:state] if args.key?(:state)
|
|
4493
4567
|
end
|
|
4494
4568
|
end
|
|
@@ -5230,11 +5304,19 @@ module Google
|
|
|
5230
5304
|
# @return [Google::Apis::SqladminV1::MaintenanceWindow]
|
|
5231
5305
|
attr_accessor :maintenance_window
|
|
5232
5306
|
|
|
5233
|
-
# 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.
|
|
5234
5311
|
# Corresponds to the JSON property `passwordValidationPolicy`
|
|
5235
5312
|
# @return [Google::Apis::SqladminV1::PasswordValidationPolicy]
|
|
5236
5313
|
attr_accessor :password_validation_policy
|
|
5237
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
|
+
|
|
5238
5320
|
# The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`.
|
|
5239
5321
|
# Only `PER_USE` is supported for Second Generation instances.
|
|
5240
5322
|
# Corresponds to the JSON property `pricingPlan`
|
|
@@ -5349,6 +5431,7 @@ module Google
|
|
|
5349
5431
|
@location_preference = args[:location_preference] if args.key?(:location_preference)
|
|
5350
5432
|
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
|
5351
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)
|
|
5352
5435
|
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
|
|
5353
5436
|
@read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
|
|
5354
5437
|
@replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module SqladminV1
|
|
18
18
|
# Version of the google-apis-sqladmin_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
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 = "
|
|
25
|
+
REVISION = "20251201"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -598,6 +598,12 @@ module Google
|
|
|
598
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
599
599
|
end
|
|
600
600
|
|
|
601
|
+
class PerformanceCaptureConfig
|
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
|
+
|
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
605
|
+
end
|
|
606
|
+
|
|
601
607
|
class PointInTimeRestoreContext
|
|
602
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
609
|
|
|
@@ -2032,6 +2038,18 @@ module Google
|
|
|
2032
2038
|
end
|
|
2033
2039
|
end
|
|
2034
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
|
+
|
|
2035
2053
|
class PointInTimeRestoreContext
|
|
2036
2054
|
# @private
|
|
2037
2055
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2055,6 +2073,9 @@ module Google
|
|
|
2055
2073
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
|
2056
2074
|
|
|
2057
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'
|
|
2058
2079
|
property :state, as: 'state'
|
|
2059
2080
|
end
|
|
2060
2081
|
end
|
|
@@ -2254,6 +2275,8 @@ module Google
|
|
|
2254
2275
|
|
|
2255
2276
|
property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1::PasswordValidationPolicy::Representation
|
|
2256
2277
|
|
|
2278
|
+
property :performance_capture_config, as: 'performanceCaptureConfig', class: Google::Apis::SqladminV1::PerformanceCaptureConfig, decorator: Google::Apis::SqladminV1::PerformanceCaptureConfig::Representation
|
|
2279
|
+
|
|
2257
2280
|
property :pricing_plan, as: 'pricingPlan'
|
|
2258
2281
|
property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig::Representation
|
|
2259
2282
|
|
|
@@ -907,6 +907,41 @@ module Google
|
|
|
907
907
|
execute_or_queue_command(command, &block)
|
|
908
908
|
end
|
|
909
909
|
|
|
910
|
+
# Adds a new Entra ID certificate for the specified instance. If an Entra ID
|
|
911
|
+
# certificate was previously added but never used in a certificate rotation,
|
|
912
|
+
# this operation replaces that version.
|
|
913
|
+
# @param [String] project
|
|
914
|
+
# Required. Project ID of the project that contains the instance.
|
|
915
|
+
# @param [String] instance
|
|
916
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
917
|
+
# @param [String] fields
|
|
918
|
+
# Selector specifying which fields to include in a partial response.
|
|
919
|
+
# @param [String] quota_user
|
|
920
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
921
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
922
|
+
# @param [Google::Apis::RequestOptions] options
|
|
923
|
+
# Request-specific options
|
|
924
|
+
#
|
|
925
|
+
# @yield [result, err] Result & error if block supplied
|
|
926
|
+
# @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
|
|
927
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
928
|
+
#
|
|
929
|
+
# @return [Google::Apis::SqladminV1::Operation]
|
|
930
|
+
#
|
|
931
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
932
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
933
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
934
|
+
def add_instance_entra_id_certificate(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
|
935
|
+
command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/addEntraIdCertificate', options)
|
|
936
|
+
command.response_representation = Google::Apis::SqladminV1::Operation::Representation
|
|
937
|
+
command.response_class = Google::Apis::SqladminV1::Operation
|
|
938
|
+
command.params['project'] = project unless project.nil?
|
|
939
|
+
command.params['instance'] = instance unless instance.nil?
|
|
940
|
+
command.query['fields'] = fields unless fields.nil?
|
|
941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
942
|
+
execute_or_queue_command(command, &block)
|
|
943
|
+
end
|
|
944
|
+
|
|
910
945
|
# Adds a new trusted Certificate Authority (CA) version for the specified
|
|
911
946
|
# instance. Required to prepare for a certificate rotation. If a CA version was
|
|
912
947
|
# previously added but never used in a certificate rotation, this operation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-sqladmin_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
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.
|
|
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:
|