google-apis-sqladmin_v1beta4 0.88.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: ee31b3fb05ae8a692a376f1ac5292813a9f50de56aa1eb94d8fe32558398a3dd
4
- data.tar.gz: 8433629bf8911daead5d9775da2580ec1e86a677e28cb1496c185299ecf0667d
3
+ metadata.gz: c0d125abe1d27cd8bd99dac768632757fc1864126fa9a7c49a01fd2e88e3873c
4
+ data.tar.gz: c2483c64d153f7331e57503147f146b9af7328c124042ad992f9b6f114e2728e
5
5
  SHA512:
6
- metadata.gz: f651c63eef40766308a127c3f21c4c8e13b01144158c0942773b1c76ad83e8c81adc4ab185ffdad87f33a0525cc5686644d94222441ba6c95b44d6006746dd95
7
- data.tar.gz: 66fa8edcbef5b5722f16c9c5b84c79e3c18d33cea0e8e7d6a7543907eaac5e528fe1c1b26aacc80be8cd11fa598b9c0a3a4201f3166045877d4bf5e17c04c6da
6
+ metadata.gz: 1913cebc5e4e89fe1fddc574e259b38a965ce87d60fcce718f4e058561b30c93c23430646dddb00162c611a51afde6cb5ec6a78a58e6a11cdaf123068db3c39f
7
+ data.tar.gz: 66f53cf367293d389d567dee5522b1bcf1dc8f5eeab9963b89a8dcdc2f8a6b48e4e6fc20154e062d259c5bf812025a106746bc8f872e44ae1c53eda02001c553
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.90.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250908
6
+
7
+ ### v0.89.0 (2025-08-31)
8
+
9
+ * Regenerated from discovery document revision 20250823
10
+
3
11
  ### v0.88.0 (2025-08-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20250807
@@ -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
 
@@ -1880,6 +1880,12 @@ module Google
1880
1880
  # @return [String]
1881
1881
  attr_accessor :database
1882
1882
 
1883
+ # Optional. Controls how the API should respond when the SQL execution result
1884
+ # exceeds 10 MB. The default mode is to throw an error.
1885
+ # Corresponds to the JSON property `partialResultMode`
1886
+ # @return [String]
1887
+ attr_accessor :partial_result_mode
1888
+
1883
1889
  # Optional. The maximum number of rows returned per SQL statement.
1884
1890
  # Corresponds to the JSON property `rowLimit`
1885
1891
  # @return [Fixnum]
@@ -1891,6 +1897,13 @@ module Google
1891
1897
  # @return [String]
1892
1898
  attr_accessor :sql_statement
1893
1899
 
1900
+ # Optional. The name of an existing database user to connect to the database.
1901
+ # When `auto_iam_authn` is set to true, this field is ignored and the API caller'
1902
+ # s IAM user is used.
1903
+ # Corresponds to the JSON property `user`
1904
+ # @return [String]
1905
+ attr_accessor :user
1906
+
1894
1907
  def initialize(**args)
1895
1908
  update!(**args)
1896
1909
  end
@@ -1899,8 +1912,10 @@ module Google
1899
1912
  def update!(**args)
1900
1913
  @auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
1901
1914
  @database = args[:database] if args.key?(:database)
1915
+ @partial_result_mode = args[:partial_result_mode] if args.key?(:partial_result_mode)
1902
1916
  @row_limit = args[:row_limit] if args.key?(:row_limit)
1903
1917
  @sql_statement = args[:sql_statement] if args.key?(:sql_statement)
1918
+ @user = args[:user] if args.key?(:user)
1904
1919
  end
1905
1920
  end
1906
1921
 
@@ -3651,6 +3666,34 @@ module Google
3651
3666
  end
3652
3667
  end
3653
3668
 
3669
+ # Represents a notice or warning message from the database.
3670
+ class Message
3671
+ include Google::Apis::Core::Hashable
3672
+
3673
+ # The full message string. For PostgreSQL, this is a formatted string that may
3674
+ # include severity, code, and the notice/warning message. For MySQL, this
3675
+ # contains the warning message.
3676
+ # Corresponds to the JSON property `message`
3677
+ # @return [String]
3678
+ attr_accessor :message
3679
+
3680
+ # The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
3681
+ # MySQL).
3682
+ # Corresponds to the JSON property `severity`
3683
+ # @return [String]
3684
+ attr_accessor :severity
3685
+
3686
+ def initialize(**args)
3687
+ update!(**args)
3688
+ end
3689
+
3690
+ # Update properties of this object
3691
+ def update!(**args)
3692
+ @message = args[:message] if args.key?(:message)
3693
+ @severity = args[:severity] if args.key?(:severity)
3694
+ end
3695
+ end
3696
+
3654
3697
  # The additional metadata information regarding the execution of the SQL
3655
3698
  # statements.
3656
3699
  class Metadata
@@ -4496,6 +4539,52 @@ module Google
4496
4539
  end
4497
4540
  end
4498
4541
 
4542
+ # The read pool auto-scale configuration.
4543
+ class ReadPoolAutoScaleConfig
4544
+ include Google::Apis::Core::Hashable
4545
+
4546
+ # Indicates whether read pool auto scaling supports scale in operations (
4547
+ # removing nodes).
4548
+ # Corresponds to the JSON property `disableScaleIn`
4549
+ # @return [Boolean]
4550
+ attr_accessor :disable_scale_in
4551
+ alias_method :disable_scale_in?, :disable_scale_in
4552
+
4553
+ # Indicates whether read pool auto scaling is enabled.
4554
+ # Corresponds to the JSON property `enabled`
4555
+ # @return [Boolean]
4556
+ attr_accessor :enabled
4557
+ alias_method :enabled?, :enabled
4558
+
4559
+ # Maximum number of read pool nodes to be maintained.
4560
+ # Corresponds to the JSON property `maxNodeCount`
4561
+ # @return [Fixnum]
4562
+ attr_accessor :max_node_count
4563
+
4564
+ # Minimum number of read pool nodes to be maintained.
4565
+ # Corresponds to the JSON property `minNodeCount`
4566
+ # @return [Fixnum]
4567
+ attr_accessor :min_node_count
4568
+
4569
+ # Optional. Target metrics for read pool auto scaling.
4570
+ # Corresponds to the JSON property `targetMetrics`
4571
+ # @return [Array<Google::Apis::SqladminV1beta4::TargetMetric>]
4572
+ attr_accessor :target_metrics
4573
+
4574
+ def initialize(**args)
4575
+ update!(**args)
4576
+ end
4577
+
4578
+ # Update properties of this object
4579
+ def update!(**args)
4580
+ @disable_scale_in = args[:disable_scale_in] if args.key?(:disable_scale_in)
4581
+ @enabled = args[:enabled] if args.key?(:enabled)
4582
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
4583
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
4584
+ @target_metrics = args[:target_metrics] if args.key?(:target_metrics)
4585
+ end
4586
+ end
4587
+
4499
4588
  # Read-replica configuration for connecting to the primary instance.
4500
4589
  class ReplicaConfiguration
4501
4590
  include Google::Apis::Core::Hashable
@@ -4934,6 +5023,11 @@ module Google
4934
5023
  # @return [String]
4935
5024
  attr_accessor :pricing_plan
4936
5025
 
5026
+ # The read pool auto-scale configuration.
5027
+ # Corresponds to the JSON property `readPoolAutoScaleConfig`
5028
+ # @return [Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig]
5029
+ attr_accessor :read_pool_auto_scale_config
5030
+
4937
5031
  # Optional. Configuration value for recreation of replica after certain
4938
5032
  # replication lag.
4939
5033
  # Corresponds to the JSON property `replicationLagMaxSeconds`
@@ -5035,6 +5129,7 @@ module Google
5035
5129
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
5036
5130
  @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
5037
5131
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
5132
+ @read_pool_auto_scale_config = args[:read_pool_auto_scale_config] if args.key?(:read_pool_auto_scale_config)
5038
5133
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
5039
5134
  @replication_type = args[:replication_type] if args.key?(:replication_type)
5040
5135
  @retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
@@ -5153,6 +5248,15 @@ module Google
5153
5248
  class SqlInstancesExecuteSqlResponse
5154
5249
  include Google::Apis::Core::Hashable
5155
5250
 
5251
+ # A list of notices and warnings generated during query execution. For
5252
+ # PostgreSQL, this includes all notices and warnings. For MySQL, this includes
5253
+ # warnings generated by the last executed statement. To retrieve all warnings
5254
+ # for a multi-statement query, `SHOW WARNINGS` must be executed after each
5255
+ # statement.
5256
+ # Corresponds to the JSON property `messages`
5257
+ # @return [Array<Google::Apis::SqladminV1beta4::Message>]
5258
+ attr_accessor :messages
5259
+
5156
5260
  # The additional metadata information regarding the execution of the SQL
5157
5261
  # statements.
5158
5262
  # Corresponds to the JSON property `metadata`
@@ -5170,6 +5274,7 @@ module Google
5170
5274
 
5171
5275
  # Update properties of this object
5172
5276
  def update!(**args)
5277
+ @messages = args[:messages] if args.key?(:messages)
5173
5278
  @metadata = args[:metadata] if args.key?(:metadata)
5174
5279
  @results = args[:results] if args.key?(:results)
5175
5280
  end
@@ -5210,6 +5315,11 @@ module Google
5210
5315
  class SqlInstancesGetLatestRecoveryTimeResponse
5211
5316
  include Google::Apis::Core::Hashable
5212
5317
 
5318
+ # Timestamp, identifies the earliest recovery time of the source instance.
5319
+ # Corresponds to the JSON property `earliestRecoveryTime`
5320
+ # @return [String]
5321
+ attr_accessor :earliest_recovery_time
5322
+
5213
5323
  # This is always `sql#getLatestRecoveryTime`.
5214
5324
  # Corresponds to the JSON property `kind`
5215
5325
  # @return [String]
@@ -5226,6 +5336,7 @@ module Google
5226
5336
 
5227
5337
  # Update properties of this object
5228
5338
  def update!(**args)
5339
+ @earliest_recovery_time = args[:earliest_recovery_time] if args.key?(:earliest_recovery_time)
5229
5340
  @kind = args[:kind] if args.key?(:kind)
5230
5341
  @latest_recovery_time = args[:latest_recovery_time] if args.key?(:latest_recovery_time)
5231
5342
  end
@@ -5836,6 +5947,31 @@ module Google
5836
5947
  end
5837
5948
  end
5838
5949
 
5950
+ # Target metric for read pool auto scaling.
5951
+ class TargetMetric
5952
+ include Google::Apis::Core::Hashable
5953
+
5954
+ # The metric name to be used for auto scaling.
5955
+ # Corresponds to the JSON property `metric`
5956
+ # @return [String]
5957
+ attr_accessor :metric
5958
+
5959
+ # The target value for the metric.
5960
+ # Corresponds to the JSON property `targetValue`
5961
+ # @return [Float]
5962
+ attr_accessor :target_value
5963
+
5964
+ def initialize(**args)
5965
+ update!(**args)
5966
+ end
5967
+
5968
+ # Update properties of this object
5969
+ def update!(**args)
5970
+ @metric = args[:metric] if args.key?(:metric)
5971
+ @target_value = args[:target_value] if args.key?(:target_value)
5972
+ end
5973
+ end
5974
+
5839
5975
  # A Google Cloud SQL service tier resource.
5840
5976
  class Tier
5841
5977
  include Google::Apis::Core::Hashable
@@ -5954,6 +6090,11 @@ module Google
5954
6090
  # @return [String]
5955
6091
  attr_accessor :host
5956
6092
 
6093
+ # Indicates if a group is active or inactive for IAM database authentication.
6094
+ # Corresponds to the JSON property `iamStatus`
6095
+ # @return [String]
6096
+ attr_accessor :iam_status
6097
+
5957
6098
  # The name of the Cloud SQL instance. This does not include the project ID. Can
5958
6099
  # be omitted for *update* because it is already specified on the URL.
5959
6100
  # Corresponds to the JSON property `instance`
@@ -6008,6 +6149,7 @@ module Google
6008
6149
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6009
6150
  @etag = args[:etag] if args.key?(:etag)
6010
6151
  @host = args[:host] if args.key?(:host)
6152
+ @iam_status = args[:iam_status] if args.key?(:iam_status)
6011
6153
  @instance = args[:instance] if args.key?(:instance)
6012
6154
  @kind = args[:kind] if args.key?(:kind)
6013
6155
  @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.88.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 = "20250807"
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
 
@@ -1302,8 +1320,10 @@ module Google
1302
1320
  class Representation < Google::Apis::Core::JsonRepresentation
1303
1321
  property :auto_iam_authn, as: 'autoIamAuthn'
1304
1322
  property :database, as: 'database'
1323
+ property :partial_result_mode, as: 'partialResultMode'
1305
1324
  property :row_limit, :numeric_string => true, as: 'rowLimit'
1306
1325
  property :sql_statement, as: 'sqlStatement'
1326
+ property :user, as: 'user'
1307
1327
  end
1308
1328
  end
1309
1329
 
@@ -1775,6 +1795,14 @@ module Google
1775
1795
  end
1776
1796
  end
1777
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
+
1778
1806
  class Metadata
1779
1807
  # @private
1780
1808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1988,6 +2016,18 @@ module Google
1988
2016
  end
1989
2017
  end
1990
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::SqladminV1beta4::TargetMetric, decorator: Google::Apis::SqladminV1beta4::TargetMetric::Representation
2027
+
2028
+ end
2029
+ end
2030
+
1991
2031
  class ReplicaConfiguration
1992
2032
  # @private
1993
2033
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2103,6 +2143,8 @@ module Google
2103
2143
  property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::PasswordValidationPolicy::Representation
2104
2144
 
2105
2145
  property :pricing_plan, as: 'pricingPlan'
2146
+ property :read_pool_auto_scale_config, as: 'readPoolAutoScaleConfig', class: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig, decorator: Google::Apis::SqladminV1beta4::ReadPoolAutoScaleConfig::Representation
2147
+
2106
2148
  property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
2107
2149
  property :replication_type, as: 'replicationType'
2108
2150
  property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
@@ -2148,6 +2190,8 @@ module Google
2148
2190
  class SqlInstancesExecuteSqlResponse
2149
2191
  # @private
2150
2192
  class Representation < Google::Apis::Core::JsonRepresentation
2193
+ collection :messages, as: 'messages', class: Google::Apis::SqladminV1beta4::Message, decorator: Google::Apis::SqladminV1beta4::Message::Representation
2194
+
2151
2195
  property :metadata, as: 'metadata', class: Google::Apis::SqladminV1beta4::Metadata, decorator: Google::Apis::SqladminV1beta4::Metadata::Representation
2152
2196
 
2153
2197
  collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
@@ -2167,6 +2211,7 @@ module Google
2167
2211
  class SqlInstancesGetLatestRecoveryTimeResponse
2168
2212
  # @private
2169
2213
  class Representation < Google::Apis::Core::JsonRepresentation
2214
+ property :earliest_recovery_time, as: 'earliestRecoveryTime'
2170
2215
  property :kind, as: 'kind'
2171
2216
  property :latest_recovery_time, as: 'latestRecoveryTime'
2172
2217
  end
@@ -2352,6 +2397,14 @@ module Google
2352
2397
  end
2353
2398
  end
2354
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
+
2355
2408
  class Tier
2356
2409
  # @private
2357
2410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2386,6 +2439,7 @@ module Google
2386
2439
  property :dual_password_type, as: 'dualPasswordType'
2387
2440
  property :etag, as: 'etag'
2388
2441
  property :host, as: 'host'
2442
+ property :iam_status, as: 'iamStatus'
2389
2443
  property :instance, as: 'instance'
2390
2444
  property :kind, as: 'kind'
2391
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, 'sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig', options)
1583
1585
  command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1584
1586
  command.response_class = Google::Apis::SqladminV1beta4::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_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.88.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_v1beta4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.88.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.90.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: