google-apis-sqladmin_v1beta4 0.89.0 → 0.91.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: 74d2e46f2b8edf2edb3dc87227f8721e2394dfa909772ae026eb17158cd06eb2
4
- data.tar.gz: d48035103a2197072ba1af3f47b83abcbeb2bd3e943c64ac858e7d29cd28db62
3
+ metadata.gz: bede6989540588db529cfe3fbc4df00037794459018d70ab2299182cd99d2a05
4
+ data.tar.gz: 5ed6d1bc9ea47d14f64d28d509337bc1b978c38976382191cb981774036ca959
5
5
  SHA512:
6
- metadata.gz: 181ce10cf6afc8251079f7f291a5dd0e2125903e13481d4fad7c6dc8f6c43352b23cc7c08cde2272de99aece10e1e6cc6e5de124cf73303486a529cb2ab26bab
7
- data.tar.gz: 4b9626be2203062744dc6ac45dcd07f4e3abd5dfe2de5b5e00443a72b118b3605a956310588d4e3469a698edf0cace77a17b238059558d03ba5215816aa2d1c3
6
+ metadata.gz: 8463cf92f05c8ccbc0769377e6daeb7d25a5ed407740b120cf21dc01517c470298f9f9f62915484d4b57de65898ecc3f9c8e4b69dadee48da6121e7ea36f6af0
7
+ data.tar.gz: aad5076125a02cc947a04596187714237b1b13cccf1698ba3d026503c39e2ff59df35128996385a8a94e6840e2629468bb40df2741620dbf7f6ddb7dc04ef982
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.91.0 (2025-09-28)
4
+
5
+ * Regenerated from discovery document revision 20250915
6
+
7
+ ### v0.90.0 (2025-09-21)
8
+
9
+ * Regenerated from discovery document revision 20250908
10
+
3
11
  ### v0.89.0 (2025-08-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20250823
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://developers.google.com/cloud-sql/) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://cloud.google.com/sql/docs) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -181,7 +181,7 @@ module Google
181
181
  end
182
182
  end
183
183
 
184
- # A backup resource. Next ID: 30
184
+ # A backup resource.
185
185
  class Backup
186
186
  include Google::Apis::Core::Hashable
187
187
 
@@ -3243,6 +3243,25 @@ module Google
3243
3243
  end
3244
3244
  end
3245
3245
 
3246
+ # Request for Pre-checks for MVU
3247
+ class InstancesPreCheckMajorVersionUpgradeRequest
3248
+ include Google::Apis::Core::Hashable
3249
+
3250
+ # Pre-check major version upgrade context.
3251
+ # Corresponds to the JSON property `preCheckMajorVersionUpgradeContext`
3252
+ # @return [Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext]
3253
+ attr_accessor :pre_check_major_version_upgrade_context
3254
+
3255
+ def initialize(**args)
3256
+ update!(**args)
3257
+ end
3258
+
3259
+ # Update properties of this object
3260
+ def update!(**args)
3261
+ @pre_check_major_version_upgrade_context = args[:pre_check_major_version_upgrade_context] if args.key?(:pre_check_major_version_upgrade_context)
3262
+ end
3263
+ end
3264
+
3246
3265
  # Database Instance reencrypt request.
3247
3266
  class InstancesReencryptRequest
3248
3267
  include Google::Apis::Core::Hashable
@@ -3666,6 +3685,34 @@ module Google
3666
3685
  end
3667
3686
  end
3668
3687
 
3688
+ # Represents a notice or warning message from the database.
3689
+ class Message
3690
+ include Google::Apis::Core::Hashable
3691
+
3692
+ # The full message string. For PostgreSQL, this is a formatted string that may
3693
+ # include severity, code, and the notice/warning message. For MySQL, this
3694
+ # contains the warning message.
3695
+ # Corresponds to the JSON property `message`
3696
+ # @return [String]
3697
+ attr_accessor :message
3698
+
3699
+ # The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
3700
+ # MySQL).
3701
+ # Corresponds to the JSON property `severity`
3702
+ # @return [String]
3703
+ attr_accessor :severity
3704
+
3705
+ def initialize(**args)
3706
+ update!(**args)
3707
+ end
3708
+
3709
+ # Update properties of this object
3710
+ def update!(**args)
3711
+ @message = args[:message] if args.key?(:message)
3712
+ @severity = args[:severity] if args.key?(:severity)
3713
+ end
3714
+ end
3715
+
3669
3716
  # The additional metadata information regarding the execution of the SQL
3670
3717
  # statements.
3671
3718
  class Metadata
@@ -3939,6 +3986,11 @@ module Google
3939
3986
  # @return [String]
3940
3987
  attr_accessor :operation_type
3941
3988
 
3989
+ # Pre-check major version upgrade context.
3990
+ # Corresponds to the JSON property `preCheckMajorVersionUpgradeContext`
3991
+ # @return [Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext]
3992
+ attr_accessor :pre_check_major_version_upgrade_context
3993
+
3942
3994
  # The URI of this resource.
3943
3995
  # Corresponds to the JSON property `selfLink`
3944
3996
  # @return [String]
@@ -3997,6 +4049,7 @@ module Google
3997
4049
  @kind = args[:kind] if args.key?(:kind)
3998
4050
  @name = args[:name] if args.key?(:name)
3999
4051
  @operation_type = args[:operation_type] if args.key?(:operation_type)
4052
+ @pre_check_major_version_upgrade_context = args[:pre_check_major_version_upgrade_context] if args.key?(:pre_check_major_version_upgrade_context)
4000
4053
  @self_link = args[:self_link] if args.key?(:self_link)
4001
4054
  @start_time = args[:start_time] if args.key?(:start_time)
4002
4055
  @status = args[:status] if args.key?(:status)
@@ -4379,6 +4432,68 @@ module Google
4379
4432
  end
4380
4433
  end
4381
4434
 
4435
+ # Pre-check major version upgrade context.
4436
+ class PreCheckMajorVersionUpgradeContext
4437
+ include Google::Apis::Core::Hashable
4438
+
4439
+ # Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.
4440
+ # Corresponds to the JSON property `kind`
4441
+ # @return [String]
4442
+ attr_accessor :kind
4443
+
4444
+ # Output only. The responses from the precheck operation.
4445
+ # Corresponds to the JSON property `preCheckResponse`
4446
+ # @return [Array<Google::Apis::SqladminV1beta4::PreCheckResponse>]
4447
+ attr_accessor :pre_check_response
4448
+
4449
+ # Required. The target database version to upgrade to.
4450
+ # Corresponds to the JSON property `targetDatabaseVersion`
4451
+ # @return [String]
4452
+ attr_accessor :target_database_version
4453
+
4454
+ def initialize(**args)
4455
+ update!(**args)
4456
+ end
4457
+
4458
+ # Update properties of this object
4459
+ def update!(**args)
4460
+ @kind = args[:kind] if args.key?(:kind)
4461
+ @pre_check_response = args[:pre_check_response] if args.key?(:pre_check_response)
4462
+ @target_database_version = args[:target_database_version] if args.key?(:target_database_version)
4463
+ end
4464
+ end
4465
+
4466
+ # Structured PreCheckResponse containing message, type, and required actions.
4467
+ class PreCheckResponse
4468
+ include Google::Apis::Core::Hashable
4469
+
4470
+ # The actions that the user needs to take. Use repeated for multiple actions.
4471
+ # Corresponds to the JSON property `actionsRequired`
4472
+ # @return [Array<String>]
4473
+ attr_accessor :actions_required
4474
+
4475
+ # The message to be displayed to the user.
4476
+ # Corresponds to the JSON property `message`
4477
+ # @return [String]
4478
+ attr_accessor :message
4479
+
4480
+ # The type of message whether it is an info, warning, or error.
4481
+ # Corresponds to the JSON property `messageType`
4482
+ # @return [String]
4483
+ attr_accessor :message_type
4484
+
4485
+ def initialize(**args)
4486
+ update!(**args)
4487
+ end
4488
+
4489
+ # Update properties of this object
4490
+ def update!(**args)
4491
+ @actions_required = args[:actions_required] if args.key?(:actions_required)
4492
+ @message = args[:message] if args.key?(:message)
4493
+ @message_type = args[:message_type] if args.key?(:message_type)
4494
+ end
4495
+ end
4496
+
4382
4497
  # Settings for an automatically-setup Private Service Connect consumer endpoint
4383
4498
  # that is used to connect to a Cloud SQL instance.
4384
4499
  class PscAutoConnectionConfig
@@ -4511,6 +4626,64 @@ module Google
4511
4626
  end
4512
4627
  end
4513
4628
 
4629
+ # The read pool auto-scale configuration.
4630
+ class ReadPoolAutoScaleConfig
4631
+ include Google::Apis::Core::Hashable
4632
+
4633
+ # Indicates whether read pool auto scaling supports scale in operations (
4634
+ # removing nodes).
4635
+ # Corresponds to the JSON property `disableScaleIn`
4636
+ # @return [Boolean]
4637
+ attr_accessor :disable_scale_in
4638
+ alias_method :disable_scale_in?, :disable_scale_in
4639
+
4640
+ # Indicates whether read pool auto scaling is enabled.
4641
+ # Corresponds to the JSON property `enabled`
4642
+ # @return [Boolean]
4643
+ attr_accessor :enabled
4644
+ alias_method :enabled?, :enabled
4645
+
4646
+ # Maximum number of read pool nodes to be maintained.
4647
+ # Corresponds to the JSON property `maxNodeCount`
4648
+ # @return [Fixnum]
4649
+ attr_accessor :max_node_count
4650
+
4651
+ # Minimum number of read pool nodes to be maintained.
4652
+ # Corresponds to the JSON property `minNodeCount`
4653
+ # @return [Fixnum]
4654
+ attr_accessor :min_node_count
4655
+
4656
+ # The cooldown period for scale in operations.
4657
+ # Corresponds to the JSON property `scaleInCooldownSeconds`
4658
+ # @return [Fixnum]
4659
+ attr_accessor :scale_in_cooldown_seconds
4660
+
4661
+ # The cooldown period for scale out operations.
4662
+ # Corresponds to the JSON property `scaleOutCooldownSeconds`
4663
+ # @return [Fixnum]
4664
+ attr_accessor :scale_out_cooldown_seconds
4665
+
4666
+ # Optional. Target metrics for read pool auto scaling.
4667
+ # Corresponds to the JSON property `targetMetrics`
4668
+ # @return [Array<Google::Apis::SqladminV1beta4::TargetMetric>]
4669
+ attr_accessor :target_metrics
4670
+
4671
+ def initialize(**args)
4672
+ update!(**args)
4673
+ end
4674
+
4675
+ # Update properties of this object
4676
+ def update!(**args)
4677
+ @disable_scale_in = args[:disable_scale_in] if args.key?(:disable_scale_in)
4678
+ @enabled = args[:enabled] if args.key?(:enabled)
4679
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
4680
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
4681
+ @scale_in_cooldown_seconds = args[:scale_in_cooldown_seconds] if args.key?(:scale_in_cooldown_seconds)
4682
+ @scale_out_cooldown_seconds = args[:scale_out_cooldown_seconds] if args.key?(:scale_out_cooldown_seconds)
4683
+ @target_metrics = args[:target_metrics] if args.key?(:target_metrics)
4684
+ end
4685
+ end
4686
+
4514
4687
  # Read-replica configuration for connecting to the primary instance.
4515
4688
  class ReplicaConfiguration
4516
4689
  include Google::Apis::Core::Hashable
@@ -4949,6 +5122,11 @@ module Google
4949
5122
  # @return [String]
4950
5123
  attr_accessor :pricing_plan
4951
5124
 
5125
+ # The read pool auto-scale configuration.
5126
+ # Corresponds to the JSON property `readPoolAutoScaleConfig`
5127
+ # @return [Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig]
5128
+ attr_accessor :read_pool_auto_scale_config
5129
+
4952
5130
  # Optional. Configuration value for recreation of replica after certain
4953
5131
  # replication lag.
4954
5132
  # Corresponds to the JSON property `replicationLagMaxSeconds`
@@ -5050,6 +5228,7 @@ module Google
5050
5228
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5051
5229
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5052
5230
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5231
+ @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5053
5232
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
5054
5233
  @replication_type = args[:replication_type] if args.key?(:replication_type)
5055
5234
  @retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
@@ -5168,6 +5347,15 @@ module Google
5168
5347
  class SqlInstancesExecuteSqlResponse
5169
5348
  include Google::Apis::Core::Hashable
5170
5349
 
5350
+ # A list of notices and warnings generated during query execution. For
5351
+ # PostgreSQL, this includes all notices and warnings. For MySQL, this includes
5352
+ # warnings generated by the last executed statement. To retrieve all warnings
5353
+ # for a multi-statement query, `SHOW WARNINGS` must be executed after each
5354
+ # statement.
5355
+ # Corresponds to the JSON property `messages`
5356
+ # @return [Array<Google::Apis::SqladminV1beta4::Message>]
5357
+ attr_accessor :messages
5358
+
5171
5359
  # The additional metadata information regarding the execution of the SQL
5172
5360
  # statements.
5173
5361
  # Corresponds to the JSON property `metadata`
@@ -5185,6 +5373,7 @@ module Google
5185
5373
 
5186
5374
  # Update properties of this object
5187
5375
  def update!(**args)
5376
+ @messages = args[:messages] if args.key?(:messages)
5188
5377
  @metadata = args[:metadata] if args.key?(:metadata)
5189
5378
  @results = args[:results] if args.key?(:results)
5190
5379
  end
@@ -5857,6 +6046,31 @@ module Google
5857
6046
  end
5858
6047
  end
5859
6048
 
6049
+ # Target metric for read pool auto scaling.
6050
+ class TargetMetric
6051
+ include Google::Apis::Core::Hashable
6052
+
6053
+ # The metric name to be used for auto scaling.
6054
+ # Corresponds to the JSON property `metric`
6055
+ # @return [String]
6056
+ attr_accessor :metric
6057
+
6058
+ # The target value for the metric.
6059
+ # Corresponds to the JSON property `targetValue`
6060
+ # @return [Float]
6061
+ attr_accessor :target_value
6062
+
6063
+ def initialize(**args)
6064
+ update!(**args)
6065
+ end
6066
+
6067
+ # Update properties of this object
6068
+ def update!(**args)
6069
+ @metric = args[:metric] if args.key?(:metric)
6070
+ @target_value = args[:target_value] if args.key?(:target_value)
6071
+ end
6072
+ end
6073
+
5860
6074
  # A Google Cloud SQL service tier resource.
5861
6075
  class Tier
5862
6076
  include Google::Apis::Core::Hashable
@@ -5975,6 +6189,11 @@ module Google
5975
6189
  # @return [String]
5976
6190
  attr_accessor :host
5977
6191
 
6192
+ # Indicates if a group is active or inactive for IAM database authentication.
6193
+ # Corresponds to the JSON property `iamStatus`
6194
+ # @return [String]
6195
+ attr_accessor :iam_status
6196
+
5978
6197
  # The name of the Cloud SQL instance. This does not include the project ID. Can
5979
6198
  # be omitted for *update* because it is already specified on the URL.
5980
6199
  # Corresponds to the JSON property `instance`
@@ -6029,6 +6248,7 @@ module Google
6029
6248
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6030
6249
  @etag = args[:etag] if args.key?(:etag)
6031
6250
  @host = args[:host] if args.key?(:host)
6251
+ @iam_status = args[:iam_status] if args.key?(:iam_status)
6032
6252
  @instance = args[:instance] if args.key?(:instance)
6033
6253
  @kind = args[:kind] if args.key?(:kind)
6034
6254
  @name = args[:name] if args.key?(:name)
@@ -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.89.0"
19
+ GEM_VERSION = "0.91.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 = "20250823"
25
+ REVISION = "20250915"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,12 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class InstancesPreCheckMajorVersionUpgradeRequest
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
439
445
  class InstancesReencryptRequest
440
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
447
 
@@ -502,6 +508,12 @@ module Google
502
508
  include Google::Apis::Core::JsonObjectSupport
503
509
  end
504
510
 
511
+ class Message
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
505
517
  class Metadata
506
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
519
 
@@ -586,6 +598,18 @@ module Google
586
598
  include Google::Apis::Core::JsonObjectSupport
587
599
  end
588
600
 
601
+ class PreCheckMajorVersionUpgradeContext
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class PreCheckResponse
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
589
613
  class PscAutoConnectionConfig
590
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
615
 
@@ -604,6 +628,12 @@ module Google
604
628
  include Google::Apis::Core::JsonObjectSupport
605
629
  end
606
630
 
631
+ class ReadPoolAutoScaleConfig
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
607
637
  class ReplicaConfiguration
608
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
639
 
@@ -808,6 +838,12 @@ module Google
808
838
  include Google::Apis::Core::JsonObjectSupport
809
839
  end
810
840
 
841
+ class TargetMetric
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
811
847
  class Tier
812
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
849
 
@@ -1665,6 +1701,14 @@ module Google
1665
1701
  end
1666
1702
  end
1667
1703
 
1704
+ class InstancesPreCheckMajorVersionUpgradeRequest
1705
+ # @private
1706
+ class Representation < Google::Apis::Core::JsonRepresentation
1707
+ property :pre_check_major_version_upgrade_context, as: 'preCheckMajorVersionUpgradeContext', class: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext, decorator: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext::Representation
1708
+
1709
+ end
1710
+ end
1711
+
1668
1712
  class InstancesReencryptRequest
1669
1713
  # @private
1670
1714
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1777,6 +1821,14 @@ module Google
1777
1821
  end
1778
1822
  end
1779
1823
 
1824
+ class Message
1825
+ # @private
1826
+ class Representation < Google::Apis::Core::JsonRepresentation
1827
+ property :message, as: 'message'
1828
+ property :severity, as: 'severity'
1829
+ end
1830
+ end
1831
+
1780
1832
  class Metadata
1781
1833
  # @private
1782
1834
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1848,6 +1900,8 @@ module Google
1848
1900
  property :kind, as: 'kind'
1849
1901
  property :name, as: 'name'
1850
1902
  property :operation_type, as: 'operationType'
1903
+ property :pre_check_major_version_upgrade_context, as: 'preCheckMajorVersionUpgradeContext', class: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext, decorator: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext::Representation
1904
+
1851
1905
  property :self_link, as: 'selfLink'
1852
1906
  property :start_time, as: 'startTime'
1853
1907
  property :status, as: 'status'
@@ -1956,6 +2010,25 @@ module Google
1956
2010
  end
1957
2011
  end
1958
2012
 
2013
+ class PreCheckMajorVersionUpgradeContext
2014
+ # @private
2015
+ class Representation < Google::Apis::Core::JsonRepresentation
2016
+ property :kind, as: 'kind'
2017
+ collection :pre_check_response, as: 'preCheckResponse', class: Google::Apis::SqladminV1beta4::PreCheckResponse, decorator: Google::Apis::SqladminV1beta4::PreCheckResponse::Representation
2018
+
2019
+ property :target_database_version, as: 'targetDatabaseVersion'
2020
+ end
2021
+ end
2022
+
2023
+ class PreCheckResponse
2024
+ # @private
2025
+ class Representation < Google::Apis::Core::JsonRepresentation
2026
+ collection :actions_required, as: 'actionsRequired'
2027
+ property :message, as: 'message'
2028
+ property :message_type, as: 'messageType'
2029
+ end
2030
+ end
2031
+
1959
2032
  class PscAutoConnectionConfig
1960
2033
  # @private
1961
2034
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1990,6 +2063,20 @@ module Google
1990
2063
  end
1991
2064
  end
1992
2065
 
2066
+ class ReadPoolAutoScaleConfig
2067
+ # @private
2068
+ class Representation < Google::Apis::Core::JsonRepresentation
2069
+ property :disable_scale_in, as: 'disableScaleIn'
2070
+ property :enabled, as: 'enabled'
2071
+ property :max_node_count, as: 'maxNodeCount'
2072
+ property :min_node_count, as: 'minNodeCount'
2073
+ property :scale_in_cooldown_seconds, as: 'scaleInCooldownSeconds'
2074
+ property :scale_out_cooldown_seconds, as: 'scaleOutCooldownSeconds'
2075
+ collection :target_metrics, as: 'targetMetrics', class: Google::Apis::SqladminV1beta4::TargetMetric, decorator: Google::Apis::SqladminV1beta4::TargetMetric::Representation
2076
+
2077
+ end
2078
+ end
2079
+
1993
2080
  class ReplicaConfiguration
1994
2081
  # @private
1995
2082
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2105,6 +2192,8 @@ module Google
2105
2192
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation
2106
2193
 
2107
2194
  property :pricing_plan, as: 'pricingPlan'
2195
+ property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig::Representation
2196
+
2108
2197
  property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
2109
2198
  property :replication_type, as: 'replicationType'
2110
2199
  property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
@@ -2150,6 +2239,8 @@ module Google
2150
2239
  class SqlInstancesExecuteSqlResponse
2151
2240
  # @private
2152
2241
  class Representation < Google::Apis::Core::JsonRepresentation
2242
+ collection :messages, as: 'messages', class: Google::Apis::SqladminV1beta4::Message, decorator: Google::Apis::SqladminV1beta4::Message::Representation
2243
+
2153
2244
  property :metadata, as: 'metadata', class: Google::Apis::SqladminV1beta4::Metadata, decorator: Google::Apis::SqladminV1beta4::Metadata::Representation
2154
2245
 
2155
2246
  collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
@@ -2355,6 +2446,14 @@ module Google
2355
2446
  end
2356
2447
  end
2357
2448
 
2449
+ class TargetMetric
2450
+ # @private
2451
+ class Representation < Google::Apis::Core::JsonRepresentation
2452
+ property :metric, as: 'metric'
2453
+ property :target_value, as: 'targetValue'
2454
+ end
2455
+ end
2456
+
2358
2457
  class Tier
2359
2458
  # @private
2360
2459
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2389,6 +2488,7 @@ module Google
2389
2488
  property :dual_password_type, as: 'dualPasswordType'
2390
2489
  property :etag, as: 'etag'
2391
2490
  property :host, as: 'host'
2491
+ property :iam_status, as: 'iamStatus'
2392
2492
  property :instance, as: 'instance'
2393
2493
  property :kind, as: 'kind'
2394
2494
  property :name, as: 'name'
@@ -30,7 +30,7 @@ module Google
30
30
  # Sqladmin = Google::Apis::SqladminV1beta4 # Alias the module
31
31
  # service = Sqladmin::SQLAdminService.new
32
32
  #
33
- # @see https://developers.google.com/cloud-sql/
33
+ # @see https://cloud.google.com/sql/docs
34
34
  class SQLAdminService < Google::Apis::Core::BaseService
35
35
  DEFAULT_ENDPOINT_TEMPLATE = "https://sqladmin.$UNIVERSE_DOMAIN$/"
36
36
 
@@ -1442,6 +1442,42 @@ module Google
1442
1442
  execute_or_queue_command(command, &block)
1443
1443
  end
1444
1444
 
1445
+ # Execute MVU Pre-checks
1446
+ # @param [String] project
1447
+ # Required. Project ID of the project that contains the instance.
1448
+ # @param [String] instance
1449
+ # Required. Cloud SQL instance ID. This does not include the project ID.
1450
+ # @param [Google::Apis::SqladminV1beta4::InstancesPreCheckMajorVersionUpgradeRequest] instances_pre_check_major_version_upgrade_request_object
1451
+ # @param [String] fields
1452
+ # Selector specifying which fields to include in a partial response.
1453
+ # @param [String] quota_user
1454
+ # Available to use for quota purposes for server-side applications. Can be any
1455
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1456
+ # @param [Google::Apis::RequestOptions] options
1457
+ # Request-specific options
1458
+ #
1459
+ # @yield [result, err] Result & error if block supplied
1460
+ # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
1461
+ # @yieldparam err [StandardError] error object if request failed
1462
+ #
1463
+ # @return [Google::Apis::SqladminV1beta4::Operation]
1464
+ #
1465
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1466
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1467
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1468
+ def pre_instance_check_major_version_upgrade(project, instance, instances_pre_check_major_version_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1469
+ command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade', options)
1470
+ command.request_representation = Google::Apis::SqladminV1beta4::InstancesPreCheckMajorVersionUpgradeRequest::Representation
1471
+ command.request_object = instances_pre_check_major_version_upgrade_request_object
1472
+ command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1473
+ command.response_class = Google::Apis::SqladminV1beta4::Operation
1474
+ command.params['project'] = project unless project.nil?
1475
+ command.params['instance'] = instance unless instance.nil?
1476
+ command.query['fields'] = fields unless fields.nil?
1477
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1478
+ execute_or_queue_command(command, &block)
1479
+ end
1480
+
1445
1481
  # Promotes the read replica instance to be an independent Cloud SQL primary
1446
1482
  # instance. Using this operation might cause your instance to restart.
1447
1483
  # @param [String] project
@@ -1561,6 +1597,8 @@ module Google
1561
1597
  # Project ID of the project that contains the instance.
1562
1598
  # @param [String] instance
1563
1599
  # Cloud SQL instance ID. This does not include the project ID.
1600
+ # @param [String] mode
1601
+ # Optional. Reset SSL mode to use.
1564
1602
  # @param [String] fields
1565
1603
  # Selector specifying which fields to include in a partial response.
1566
1604
  # @param [String] quota_user
@@ -1578,12 +1616,13 @@ module Google
1578
1616
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1579
1617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1580
1618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1581
- def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1619
+ def reset_instance_ssl_config(project, instance, mode: nil, fields: nil, quota_user: nil, options: nil, &block)
1582
1620
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig', options)
1583
1621
  command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1584
1622
  command.response_class = Google::Apis::SqladminV1beta4::Operation
1585
1623
  command.params['project'] = project unless project.nil?
1586
1624
  command.params['instance'] = instance unless instance.nil?
1625
+ command.query['mode'] = mode unless mode.nil?
1587
1626
  command.query['fields'] = fields unless fields.nil?
1588
1627
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1589
1628
  execute_or_queue_command(command, &block)
@@ -1876,6 +1915,7 @@ module Google
1876
1915
  end
1877
1916
 
1878
1917
  # Cancels an instance operation that has been performed on an instance.
1918
+ # Ordinarily, this method name should be `CancelSqlOperation`.
1879
1919
  # @param [String] project
1880
1920
  # Project ID of the project that contains the instance.
1881
1921
  # @param [String] operation
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  # API for Cloud SQL database instance management
25
25
  #
26
- # @see https://developers.google.com/cloud-sql/
26
+ # @see https://cloud.google.com/sql/docs
27
27
  module SqladminV1beta4
28
28
  # Version of the Cloud SQL Admin API this client connects to.
29
29
  # This is NOT the gem version.
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.89.0
4
+ version: 0.91.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.89.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.91.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: