google-apis-sqladmin_v1 0.84.0 → 0.85.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: 44c0435ed3349c7a78e1e2ee0831eab507af5e180821060510ff4a4ce2148d4c
4
- data.tar.gz: cf63d309200a0e3873913f23b17fdb115e6a31322945f3b27284a1eb27386149
3
+ metadata.gz: 5b8020252790c6361212c8e589488a4af0882a63f87e0ffdfd89766b5ae20064
4
+ data.tar.gz: ac83e6b46c9c61424584526501bcd26104bf823d248949330ba09d8ac233ff52
5
5
  SHA512:
6
- metadata.gz: 7951a858c979c48951059343c444810a30b3b303079e306efbc4218d0342bbab78bc4359b006ebbfd8200fee542779bdb60ce9ff8c97f547261df17611462d53
7
- data.tar.gz: e8fea62a6db725f0fee45978183e7002222458c80d067e75ec466f139d7be22eee7fe0eca0d4244acbdb3d02d45e77d3c7cd122008f7498f4bee9ae1f49af836
6
+ metadata.gz: 1b0f347a491bdd588e4240eff3cca9fa3a83dd2095c853465cd0afb6f26f43f19728292f0f76edfb7e177eea1acbd24a3f7d7121e3d18095a067ab416b5113cb
7
+ data.tar.gz: 8dbcc0bee73506d40b58c3876a14a7ae858a8bddb84a38c52df67e61ef48cc9aa3adfa40c4547246782c69b45406f05480264fc88576503f984da4fa73d6f942
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.85.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250908
6
+
3
7
  ### v0.84.0 (2025-08-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20250823
@@ -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
 
@@ -3665,6 +3665,34 @@ module Google
3665
3665
  end
3666
3666
  end
3667
3667
 
3668
+ # Represents a notice or warning message from the database.
3669
+ class Message
3670
+ include Google::Apis::Core::Hashable
3671
+
3672
+ # The full message string. For PostgreSQL, this is a formatted string that may
3673
+ # include severity, code, and the notice/warning message. For MySQL, this
3674
+ # contains the warning message.
3675
+ # Corresponds to the JSON property `message`
3676
+ # @return [String]
3677
+ attr_accessor :message
3678
+
3679
+ # The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
3680
+ # MySQL).
3681
+ # Corresponds to the JSON property `severity`
3682
+ # @return [String]
3683
+ attr_accessor :severity
3684
+
3685
+ def initialize(**args)
3686
+ update!(**args)
3687
+ end
3688
+
3689
+ # Update properties of this object
3690
+ def update!(**args)
3691
+ @message = args[:message] if args.key?(:message)
3692
+ @severity = args[:severity] if args.key?(:severity)
3693
+ end
3694
+ end
3695
+
3668
3696
  # The additional metadata information regarding the execution of the SQL
3669
3697
  # statements.
3670
3698
  class Metadata
@@ -4510,6 +4538,52 @@ module Google
4510
4538
  end
4511
4539
  end
4512
4540
 
4541
+ # The read pool auto-scale configuration.
4542
+ class ReadPoolAutoScaleConfig
4543
+ include Google::Apis::Core::Hashable
4544
+
4545
+ # Indicates whether read pool auto scaling supports scale in operations (
4546
+ # removing nodes).
4547
+ # Corresponds to the JSON property `disableScaleIn`
4548
+ # @return [Boolean]
4549
+ attr_accessor :disable_scale_in
4550
+ alias_method :disable_scale_in?, :disable_scale_in
4551
+
4552
+ # Indicates whether read pool auto scaling is enabled.
4553
+ # Corresponds to the JSON property `enabled`
4554
+ # @return [Boolean]
4555
+ attr_accessor :enabled
4556
+ alias_method :enabled?, :enabled
4557
+
4558
+ # Maximum number of read pool nodes to be maintained.
4559
+ # Corresponds to the JSON property `maxNodeCount`
4560
+ # @return [Fixnum]
4561
+ attr_accessor :max_node_count
4562
+
4563
+ # Minimum number of read pool nodes to be maintained.
4564
+ # Corresponds to the JSON property `minNodeCount`
4565
+ # @return [Fixnum]
4566
+ attr_accessor :min_node_count
4567
+
4568
+ # Optional. Target metrics for read pool auto scaling.
4569
+ # Corresponds to the JSON property `targetMetrics`
4570
+ # @return [Array<Google::Apis::SqladminV1::TargetMetric>]
4571
+ attr_accessor :target_metrics
4572
+
4573
+ def initialize(**args)
4574
+ update!(**args)
4575
+ end
4576
+
4577
+ # Update properties of this object
4578
+ def update!(**args)
4579
+ @disable_scale_in = args[:disable_scale_in] if args.key?(:disable_scale_in)
4580
+ @enabled = args[:enabled] if args.key?(:enabled)
4581
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
4582
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
4583
+ @target_metrics = args[:target_metrics] if args.key?(:target_metrics)
4584
+ end
4585
+ end
4586
+
4513
4587
  # Read-replica configuration for connecting to the primary instance.
4514
4588
  class ReplicaConfiguration
4515
4589
  include Google::Apis::Core::Hashable
@@ -4948,6 +5022,11 @@ module Google
4948
5022
  # @return [String]
4949
5023
  attr_accessor :pricing_plan
4950
5024
 
5025
+ # The read pool auto-scale configuration.
5026
+ # Corresponds to the JSON property `readPoolAutoScaleConfig`
5027
+ # @return [Google::Apis::SqladminV1::ReadPoolAutoScaleConfig]
5028
+ attr_accessor :read_pool_auto_scale_config
5029
+
4951
5030
  # Optional. Configuration value for recreation of replica after certain
4952
5031
  # replication lag
4953
5032
  # Corresponds to the JSON property `replicationLagMaxSeconds`
@@ -5049,6 +5128,7 @@ module Google
5049
5128
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5050
5129
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5051
5130
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5131
+ @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5052
5132
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
5053
5133
  @replication_type = args[:replication_type] if args.key?(:replication_type)
5054
5134
  @retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
@@ -5167,6 +5247,15 @@ module Google
5167
5247
  class SqlInstancesExecuteSqlResponse
5168
5248
  include Google::Apis::Core::Hashable
5169
5249
 
5250
+ # A list of notices and warnings generated during query execution. For
5251
+ # PostgreSQL, this includes all notices and warnings. For MySQL, this includes
5252
+ # warnings generated by the last executed statement. To retrieve all warnings
5253
+ # for a multi-statement query, `SHOW WARNINGS` must be executed after each
5254
+ # statement.
5255
+ # Corresponds to the JSON property `messages`
5256
+ # @return [Array<Google::Apis::SqladminV1::Message>]
5257
+ attr_accessor :messages
5258
+
5170
5259
  # The additional metadata information regarding the execution of the SQL
5171
5260
  # statements.
5172
5261
  # Corresponds to the JSON property `metadata`
@@ -5184,6 +5273,7 @@ module Google
5184
5273
 
5185
5274
  # Update properties of this object
5186
5275
  def update!(**args)
5276
+ @messages = args[:messages] if args.key?(:messages)
5187
5277
  @metadata = args[:metadata] if args.key?(:metadata)
5188
5278
  @results = args[:results] if args.key?(:results)
5189
5279
  end
@@ -5856,6 +5946,31 @@ module Google
5856
5946
  end
5857
5947
  end
5858
5948
 
5949
+ # Target metric for read pool auto scaling.
5950
+ class TargetMetric
5951
+ include Google::Apis::Core::Hashable
5952
+
5953
+ # The metric name to be used for auto scaling.
5954
+ # Corresponds to the JSON property `metric`
5955
+ # @return [String]
5956
+ attr_accessor :metric
5957
+
5958
+ # The target value for the metric.
5959
+ # Corresponds to the JSON property `targetValue`
5960
+ # @return [Float]
5961
+ attr_accessor :target_value
5962
+
5963
+ def initialize(**args)
5964
+ update!(**args)
5965
+ end
5966
+
5967
+ # Update properties of this object
5968
+ def update!(**args)
5969
+ @metric = args[:metric] if args.key?(:metric)
5970
+ @target_value = args[:target_value] if args.key?(:target_value)
5971
+ end
5972
+ end
5973
+
5859
5974
  # A Google Cloud SQL service tier resource.
5860
5975
  class Tier
5861
5976
  include Google::Apis::Core::Hashable
@@ -5974,6 +6089,11 @@ module Google
5974
6089
  # @return [String]
5975
6090
  attr_accessor :host
5976
6091
 
6092
+ # Indicates if a group is active or inactive for IAM database authentication.
6093
+ # Corresponds to the JSON property `iamStatus`
6094
+ # @return [String]
6095
+ attr_accessor :iam_status
6096
+
5977
6097
  # The name of the Cloud SQL instance. This does not include the project ID. Can
5978
6098
  # be omitted for `update` because it is already specified on the URL.
5979
6099
  # Corresponds to the JSON property `instance`
@@ -6028,6 +6148,7 @@ module Google
6028
6148
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6029
6149
  @etag = args[:etag] if args.key?(:etag)
6030
6150
  @host = args[:host] if args.key?(:host)
6151
+ @iam_status = args[:iam_status] if args.key?(:iam_status)
6031
6152
  @instance = args[:instance] if args.key?(:instance)
6032
6153
  @kind = args[:kind] if args.key?(:kind)
6033
6154
  @name = args[:name] if args.key?(:name)
@@ -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.84.0"
19
+ GEM_VERSION = "0.85.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 = "20250908"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,12 @@ module Google
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
+ class Message
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
505
511
  class Metadata
506
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
513
 
@@ -604,6 +610,12 @@ module Google
604
610
  include Google::Apis::Core::JsonObjectSupport
605
611
  end
606
612
 
613
+ class ReadPoolAutoScaleConfig
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
607
619
  class ReplicaConfiguration
608
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
621
 
@@ -808,6 +820,12 @@ module Google
808
820
  include Google::Apis::Core::JsonObjectSupport
809
821
  end
810
822
 
823
+ class TargetMetric
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
811
829
  class Tier
812
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
831
 
@@ -1777,6 +1795,14 @@ module Google
1777
1795
  end
1778
1796
  end
1779
1797
 
1798
+ class Message
1799
+ # @private
1800
+ class Representation < Google::Apis::Core::JsonRepresentation
1801
+ property :message, as: 'message'
1802
+ property :severity, as: 'severity'
1803
+ end
1804
+ end
1805
+
1780
1806
  class Metadata
1781
1807
  # @private
1782
1808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1990,6 +2016,18 @@ module Google
1990
2016
  end
1991
2017
  end
1992
2018
 
2019
+ class ReadPoolAutoScaleConfig
2020
+ # @private
2021
+ class Representation < Google::Apis::Core::JsonRepresentation
2022
+ property :disable_scale_in, as: 'disableScaleIn'
2023
+ property :enabled, as: 'enabled'
2024
+ property :max_node_count, as: 'maxNodeCount'
2025
+ property :min_node_count, as: 'minNodeCount'
2026
+ collection :target_metrics, as: 'targetMetrics', class: Google::Apis::SqladminV1::TargetMetric, decorator: Google::Apis::SqladminV1::TargetMetric::Representation
2027
+
2028
+ end
2029
+ end
2030
+
1993
2031
  class ReplicaConfiguration
1994
2032
  # @private
1995
2033
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2105,6 +2143,8 @@ module Google
2105
2143
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1::PasswordValidationPolicy::Representation
2106
2144
 
2107
2145
  property :pricing_plan, as: 'pricingPlan'
2146
+ property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1::ReadPoolAutoScaleConfig::Representation
2147
+
2108
2148
  property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
2109
2149
  property :replication_type, as: 'replicationType'
2110
2150
  property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
@@ -2150,6 +2190,8 @@ module Google
2150
2190
  class SqlInstancesExecuteSqlResponse
2151
2191
  # @private
2152
2192
  class Representation < Google::Apis::Core::JsonRepresentation
2193
+ collection :messages, as: 'messages', class: Google::Apis::SqladminV1::Message, decorator: Google::Apis::SqladminV1::Message::Representation
2194
+
2153
2195
  property :metadata, as: 'metadata', class: Google::Apis::SqladminV1::Metadata, decorator: Google::Apis::SqladminV1::Metadata::Representation
2154
2196
 
2155
2197
  collection :results, as: 'results', class: Google::Apis::SqladminV1::QueryResult, decorator: Google::Apis::SqladminV1::QueryResult::Representation
@@ -2355,6 +2397,14 @@ module Google
2355
2397
  end
2356
2398
  end
2357
2399
 
2400
+ class TargetMetric
2401
+ # @private
2402
+ class Representation < Google::Apis::Core::JsonRepresentation
2403
+ property :metric, as: 'metric'
2404
+ property :target_value, as: 'targetValue'
2405
+ end
2406
+ end
2407
+
2358
2408
  class Tier
2359
2409
  # @private
2360
2410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2389,6 +2439,7 @@ module Google
2389
2439
  property :dual_password_type, as: 'dualPasswordType'
2390
2440
  property :etag, as: 'etag'
2391
2441
  property :host, as: 'host'
2442
+ property :iam_status, as: 'iamStatus'
2392
2443
  property :instance, as: 'instance'
2393
2444
  property :kind, as: 'kind'
2394
2445
  property :name, as: 'name'
@@ -1561,6 +1561,8 @@ module Google
1561
1561
  # Project ID of the project that contains the instance.
1562
1562
  # @param [String] instance
1563
1563
  # Cloud SQL instance ID. This does not include the project ID.
1564
+ # @param [String] mode
1565
+ # Optional. Reset SSL mode to use.
1564
1566
  # @param [String] fields
1565
1567
  # Selector specifying which fields to include in a partial response.
1566
1568
  # @param [String] quota_user
@@ -1578,12 +1580,13 @@ module Google
1578
1580
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1579
1581
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1580
1582
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1581
- def reset_instance_ssl_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1583
+ def reset_instance_ssl_config(project, instance, mode: nil, fields: nil, quota_user: nil, options: nil, &block)
1582
1584
  command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/resetSslConfig', options)
1583
1585
  command.response_representation = Google::Apis::SqladminV1::Operation::Representation
1584
1586
  command.response_class = Google::Apis::SqladminV1::Operation
1585
1587
  command.params['project'] = project unless project.nil?
1586
1588
  command.params['instance'] = instance unless instance.nil?
1589
+ command.query['mode'] = mode unless mode.nil?
1587
1590
  command.query['fields'] = fields unless fields.nil?
1588
1591
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1589
1592
  execute_or_queue_command(command, &block)
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.84.0
4
+ version: 0.85.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.84.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.85.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: