google-apis-sqladmin_v1beta4 0.79.0 → 0.81.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: b99b52407b5917b83cfb8f581f34094a95559dc0800245d30665f3eced59c629
4
- data.tar.gz: 8d5203b89051fac0cd3f1850a3311053fcbda9ad59d93f33ef3d5a92db0b583f
3
+ metadata.gz: da70da583458c44b65be0a67dbac439e87be9b66c07431a2564bff46f0d29268
4
+ data.tar.gz: '078ecf21b903b1d2c1fa3f8312f3e57e8f7dc39ba7960e9fcd3041155ae15a36'
5
5
  SHA512:
6
- metadata.gz: 1cb6c7914ee6128e486d1048f2852be82cd6e965ac401613f78b3fc30eba41bf44607116a021bd5f3d4cf230ef29d37c6cb091b52f07c05d30ae854879ceacfc
7
- data.tar.gz: de5234e002cfb75c28c43e62420f6599ce46477533ae7583e5714b043d3106ccd717597cca9beb117b0f822f55c26760e2d3406e3d57602ce931e332f6aec812
6
+ metadata.gz: e95f808803f30b5fd4916b47a15e5857e539d00f3bdd46d1ff795c6ea587370eb0d9d97948fd5bd6c4d6b6eff08491c307cbc4a43fa5b577669e47cfeaeeea06
7
+ data.tar.gz: 50813dbb85682cbc1c7c48743004419d455836577b017425c4c3ab2bea308b70b07f4cf2527a27da0e068667a3cbe69925976f736d8e6babea4bf1ccc7d61298
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.81.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250412
6
+
7
+ ### v0.80.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250310
10
+
3
11
  ### v0.79.0 (2025-03-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20250226
@@ -203,6 +203,12 @@ module Google
203
203
  # @return [String]
204
204
  attr_accessor :backup_run
205
205
 
206
+ # Output only. The database version of the instance of at the time this backup
207
+ # was made.
208
+ # Corresponds to the JSON property `databaseVersion`
209
+ # @return [String]
210
+ attr_accessor :database_version
211
+
206
212
  # The description of this backup.
207
213
  # Corresponds to the JSON property `description`
208
214
  # @return [String]
@@ -320,6 +326,7 @@ module Google
320
326
  @backup_interval = args[:backup_interval] if args.key?(:backup_interval)
321
327
  @backup_kind = args[:backup_kind] if args.key?(:backup_kind)
322
328
  @backup_run = args[:backup_run] if args.key?(:backup_run)
329
+ @database_version = args[:database_version] if args.key?(:database_version)
323
330
  @description = args[:description] if args.key?(:description)
324
331
  @error = args[:error] if args.key?(:error)
325
332
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
@@ -517,6 +524,11 @@ module Google
517
524
  # @return [String]
518
525
  attr_accessor :backup_kind
519
526
 
527
+ # Output only. The instance database version at the time this backup was made.
528
+ # Corresponds to the JSON property `databaseVersion`
529
+ # @return [String]
530
+ attr_accessor :database_version
531
+
520
532
  # The description of this run, only applicable to on-demand backups.
521
533
  # Corresponds to the JSON property `description`
522
534
  # @return [String]
@@ -619,6 +631,7 @@ module Google
619
631
  # Update properties of this object
620
632
  def update!(**args)
621
633
  @backup_kind = args[:backup_kind] if args.key?(:backup_kind)
634
+ @database_version = args[:database_version] if args.key?(:database_version)
622
635
  @description = args[:description] if args.key?(:description)
623
636
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
624
637
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
@@ -780,6 +793,44 @@ module Google
780
793
  end
781
794
  end
782
795
 
796
+ # Details of a single read pool node of a read pool.
797
+ class ConnectPoolNodeConfig
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # Output only. The DNS name of the read pool node.
801
+ # Corresponds to the JSON property `dnsName`
802
+ # @return [String]
803
+ attr_accessor :dns_name
804
+
805
+ # Output only. The list of DNS names used by this read pool node.
806
+ # Corresponds to the JSON property `dnsNames`
807
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
808
+ attr_accessor :dns_names
809
+
810
+ # Output only. Mappings containing IP addresses that can be used to connect to
811
+ # the read pool node.
812
+ # Corresponds to the JSON property `ipAddresses`
813
+ # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
814
+ attr_accessor :ip_addresses
815
+
816
+ # Output only. The name of the read pool node. Doesn't include the project ID.
817
+ # Corresponds to the JSON property `name`
818
+ # @return [String]
819
+ attr_accessor :name
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
828
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
829
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
830
+ @name = args[:name] if args.key?(:name)
831
+ end
832
+ end
833
+
783
834
  # Connect settings retrieval response.
784
835
  class ConnectSettings
785
836
  include Google::Apis::Core::Hashable
@@ -828,6 +879,17 @@ module Google
828
879
  # @return [String]
829
880
  attr_accessor :kind
830
881
 
882
+ # The number of read pool nodes in a read pool.
883
+ # Corresponds to the JSON property `nodeCount`
884
+ # @return [Fixnum]
885
+ attr_accessor :node_count
886
+
887
+ # Output only. Entries containing information about each read pool node of the
888
+ # read pool.
889
+ # Corresponds to the JSON property `nodes`
890
+ # @return [Array<Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig>]
891
+ attr_accessor :nodes
892
+
831
893
  # Whether PSC connectivity is enabled for this instance.
832
894
  # Corresponds to the JSON property `pscEnabled`
833
895
  # @return [Boolean]
@@ -863,6 +925,8 @@ module Google
863
925
  @dns_names = args[:dns_names] if args.key?(:dns_names)
864
926
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
865
927
  @kind = args[:kind] if args.key?(:kind)
928
+ @node_count = args[:node_count] if args.key?(:node_count)
929
+ @nodes = args[:nodes] if args.key?(:nodes)
866
930
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
867
931
  @region = args[:region] if args.key?(:region)
868
932
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
@@ -870,6 +934,59 @@ module Google
870
934
  end
871
935
  end
872
936
 
937
+ # The managed connection pooling configuration.
938
+ class ConnectionPoolConfig
939
+ include Google::Apis::Core::Hashable
940
+
941
+ # Whether managed connection pooling is enabled.
942
+ # Corresponds to the JSON property `connectionPoolingEnabled`
943
+ # @return [Boolean]
944
+ attr_accessor :connection_pooling_enabled
945
+ alias_method :connection_pooling_enabled?, :connection_pooling_enabled
946
+
947
+ # Optional. List of connection pool configuration flags
948
+ # Corresponds to the JSON property `flags`
949
+ # @return [Array<Google::Apis::SqladminV1beta4::ConnectionPoolFlags>]
950
+ attr_accessor :flags
951
+
952
+ def initialize(**args)
953
+ update!(**args)
954
+ end
955
+
956
+ # Update properties of this object
957
+ def update!(**args)
958
+ @connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
959
+ @flags = args[:flags] if args.key?(:flags)
960
+ end
961
+ end
962
+
963
+ # Connection pool flags for Cloud SQL instances managed connection pool
964
+ # configuration.
965
+ class ConnectionPoolFlags
966
+ include Google::Apis::Core::Hashable
967
+
968
+ # Required. The name of the flag.
969
+ # Corresponds to the JSON property `name`
970
+ # @return [String]
971
+ attr_accessor :name
972
+
973
+ # Required. The value of the flag. Boolean flags are set to `on` for true and `
974
+ # off` for false. This field must be omitted if the flag doesn't take a value.
975
+ # Corresponds to the JSON property `value`
976
+ # @return [String]
977
+ attr_accessor :value
978
+
979
+ def initialize(**args)
980
+ update!(**args)
981
+ end
982
+
983
+ # Update properties of this object
984
+ def update!(**args)
985
+ @name = args[:name] if args.key?(:name)
986
+ @value = args[:value] if args.key?(:value)
987
+ end
988
+ end
989
+
873
990
  # Data cache configurations.
874
991
  class DataCacheConfig
875
992
  include Google::Apis::Core::Hashable
@@ -1129,6 +1246,17 @@ module Google
1129
1246
  # @return [String]
1130
1247
  attr_accessor :name
1131
1248
 
1249
+ # The number of read pool nodes in a read pool.
1250
+ # Corresponds to the JSON property `nodeCount`
1251
+ # @return [Fixnum]
1252
+ attr_accessor :node_count
1253
+
1254
+ # Output only. Entries containing information about each read pool node of the
1255
+ # read pool.
1256
+ # Corresponds to the JSON property `nodes`
1257
+ # @return [Array<Google::Apis::SqladminV1beta4::PoolNodeConfig>]
1258
+ attr_accessor :nodes
1259
+
1132
1260
  # On-premises instance configuration.
1133
1261
  # Corresponds to the JSON property `onPremisesConfiguration`
1134
1262
  # @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
@@ -1306,6 +1434,8 @@ module Google
1306
1434
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
1307
1435
  @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
1308
1436
  @name = args[:name] if args.key?(:name)
1437
+ @node_count = args[:node_count] if args.key?(:node_count)
1438
+ @nodes = args[:nodes] if args.key?(:nodes)
1309
1439
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
1310
1440
  @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
1311
1441
  @primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
@@ -1719,7 +1849,7 @@ module Google
1719
1849
  # @return [String]
1720
1850
  attr_accessor :kind
1721
1851
 
1722
- # Option for export offload.
1852
+ # Whether to perform a serverless export.
1723
1853
  # Corresponds to the JSON property `offload`
1724
1854
  # @return [Boolean]
1725
1855
  attr_accessor :offload
@@ -1953,8 +2083,8 @@ module Google
1953
2083
  class PostgresExportOptions
1954
2084
  include Google::Apis::Core::Hashable
1955
2085
 
1956
- # Optional. Use this option to include DROP SQL statements. These statements are
1957
- # used to delete database objects before running the import operation.
2086
+ # Optional. Use this option to include DROP <object> SQL statements. Use these
2087
+ # statements to delete database objects before running the import operation.
1958
2088
  # Corresponds to the JSON property `clean`
1959
2089
  # @return [Boolean]
1960
2090
  attr_accessor :clean
@@ -2092,6 +2222,11 @@ module Google
2092
2222
  # @return [Array<String>]
2093
2223
  attr_accessor :applies_to
2094
2224
 
2225
+ # Scope of flag.
2226
+ # Corresponds to the JSON property `flagScope`
2227
+ # @return [String]
2228
+ attr_accessor :flag_scope
2229
+
2095
2230
  # Whether or not the flag is considered in beta.
2096
2231
  # Corresponds to the JSON property `inBeta`
2097
2232
  # @return [Boolean]
@@ -2119,6 +2254,16 @@ module Google
2119
2254
  # @return [String]
2120
2255
  attr_accessor :name
2121
2256
 
2257
+ # Recommended flag value in integer format for UI display.
2258
+ # Corresponds to the JSON property `recommendedIntValue`
2259
+ # @return [Fixnum]
2260
+ attr_accessor :recommended_int_value
2261
+
2262
+ # Recommended flag value in string format for UI display.
2263
+ # Corresponds to the JSON property `recommendedStringValue`
2264
+ # @return [String]
2265
+ attr_accessor :recommended_string_value
2266
+
2122
2267
  # Indicates whether changing this flag will trigger a database restart. Only
2123
2268
  # applicable to Second Generation instances.
2124
2269
  # Corresponds to the JSON property `requiresRestart`
@@ -2142,11 +2287,14 @@ module Google
2142
2287
  @allowed_int_values = args[:allowed_int_values] if args.key?(:allowed_int_values)
2143
2288
  @allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
2144
2289
  @applies_to = args[:applies_to] if args.key?(:applies_to)
2290
+ @flag_scope = args[:flag_scope] if args.key?(:flag_scope)
2145
2291
  @in_beta = args[:in_beta] if args.key?(:in_beta)
2146
2292
  @kind = args[:kind] if args.key?(:kind)
2147
2293
  @max_value = args[:max_value] if args.key?(:max_value)
2148
2294
  @min_value = args[:min_value] if args.key?(:min_value)
2149
2295
  @name = args[:name] if args.key?(:name)
2296
+ @recommended_int_value = args[:recommended_int_value] if args.key?(:recommended_int_value)
2297
+ @recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
2150
2298
  @requires_restart = args[:requires_restart] if args.key?(:requires_restart)
2151
2299
  @type = args[:type] if args.key?(:type)
2152
2300
  end
@@ -3937,6 +4085,57 @@ module Google
3937
4085
  end
3938
4086
  end
3939
4087
 
4088
+ # Details of a single read pool node of a read pool.
4089
+ class PoolNodeConfig
4090
+ include Google::Apis::Core::Hashable
4091
+
4092
+ # Output only. The DNS name of the read pool node.
4093
+ # Corresponds to the JSON property `dnsName`
4094
+ # @return [String]
4095
+ attr_accessor :dns_name
4096
+
4097
+ # Output only. The list of DNS names used by this read pool node.
4098
+ # Corresponds to the JSON property `dnsNames`
4099
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
4100
+ attr_accessor :dns_names
4101
+
4102
+ # Output only. The zone of the read pool node.
4103
+ # Corresponds to the JSON property `gceZone`
4104
+ # @return [String]
4105
+ attr_accessor :gce_zone
4106
+
4107
+ # Output only. Mappings containing IP addresses that can be used to connect to
4108
+ # the read pool node.
4109
+ # Corresponds to the JSON property `ipAddresses`
4110
+ # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
4111
+ attr_accessor :ip_addresses
4112
+
4113
+ # Output only. The name of the read pool node, to be used for retrieving metrics
4114
+ # and logs.
4115
+ # Corresponds to the JSON property `name`
4116
+ # @return [String]
4117
+ attr_accessor :name
4118
+
4119
+ # Output only. The current state of the read pool node.
4120
+ # Corresponds to the JSON property `state`
4121
+ # @return [String]
4122
+ attr_accessor :state
4123
+
4124
+ def initialize(**args)
4125
+ update!(**args)
4126
+ end
4127
+
4128
+ # Update properties of this object
4129
+ def update!(**args)
4130
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
4131
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
4132
+ @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4133
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4134
+ @name = args[:name] if args.key?(:name)
4135
+ @state = args[:state] if args.key?(:state)
4136
+ end
4137
+ end
4138
+
3940
4139
  # Settings for an automatically-setup Private Service Connect consumer endpoint
3941
4140
  # that is used to connect to a Cloud SQL instance.
3942
4141
  class PscAutoConnectionConfig
@@ -4298,6 +4497,11 @@ module Google
4298
4497
  # @return [String]
4299
4498
  attr_accessor :collation
4300
4499
 
4500
+ # The managed connection pooling configuration.
4501
+ # Corresponds to the JSON property `connectionPoolConfig`
4502
+ # @return [Google::Apis::SqladminV1beta4::ConnectionPoolConfig]
4503
+ attr_accessor :connection_pool_config
4504
+
4301
4505
  # Specifies if connections must use Cloud SQL connectors. Option values include
4302
4506
  # the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
4303
4507
  # Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
@@ -4322,6 +4526,18 @@ module Google
4322
4526
  # @return [Google::Apis::SqladminV1beta4::DataCacheConfig]
4323
4527
  attr_accessor :data_cache_config
4324
4528
 
4529
+ # Optional. Provisioned number of I/O operations per second for the data disk.
4530
+ # This field is only used for hyperdisk-balanced disk types.
4531
+ # Corresponds to the JSON property `dataDiskProvisionedIops`
4532
+ # @return [Fixnum]
4533
+ attr_accessor :data_disk_provisioned_iops
4534
+
4535
+ # Optional. Provisioned throughput measured in MiB per second for the data disk.
4536
+ # This field is only used for hyperdisk-balanced disk types.
4537
+ # Corresponds to the JSON property `dataDiskProvisionedThroughput`
4538
+ # @return [Fixnum]
4539
+ attr_accessor :data_disk_provisioned_throughput
4540
+
4325
4541
  # The size of data disk, in GB. The data disk size minimum is 10GB.
4326
4542
  # Corresponds to the JSON property `dataDiskSizeGb`
4327
4543
  # @return [Fixnum]
@@ -4371,8 +4587,8 @@ module Google
4371
4587
 
4372
4588
  # Optional. When this parameter is set to true, Cloud SQL instances can connect
4373
4589
  # to Vertex AI to pass requests for real-time predictions and insights to the AI.
4374
- # The default value is false. This applies only to Cloud SQL for PostgreSQL
4375
- # instances.
4590
+ # The default value is false. This applies only to Cloud SQL for MySQL and
4591
+ # Cloud SQL for PostgreSQL instances.
4376
4592
  # Corresponds to the JSON property `enableGoogleMlIntegration`
4377
4593
  # @return [Boolean]
4378
4594
  attr_accessor :enable_google_ml_integration
@@ -4496,9 +4712,12 @@ module Google
4496
4712
  @availability_type = args[:availability_type] if args.key?(:availability_type)
4497
4713
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
4498
4714
  @collation = args[:collation] if args.key?(:collation)
4715
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
4499
4716
  @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
4500
4717
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
4501
4718
  @data_cache_config = args[:data_cache_config] if args.key?(:data_cache_config)
4719
+ @data_disk_provisioned_iops = args[:data_disk_provisioned_iops] if args.key?(:data_disk_provisioned_iops)
4720
+ @data_disk_provisioned_throughput = args[:data_disk_provisioned_throughput] if args.key?(:data_disk_provisioned_throughput)
4502
4721
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
4503
4722
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
4504
4723
  @database_flags = args[:database_flags] if args.key?(:database_flags)
@@ -5372,6 +5591,11 @@ module Google
5372
5591
  # @return [String]
5373
5592
  attr_accessor :host
5374
5593
 
5594
+ # Indicates if user is active for IAM Authentication.
5595
+ # Corresponds to the JSON property `iamStatus`
5596
+ # @return [String]
5597
+ attr_accessor :iam_status
5598
+
5375
5599
  # The name of the Cloud SQL instance. This does not include the project ID. Can
5376
5600
  # be omitted for *update* because it is already specified on the URL.
5377
5601
  # Corresponds to the JSON property `instance`
@@ -5426,6 +5650,7 @@ module Google
5426
5650
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
5427
5651
  @etag = args[:etag] if args.key?(:etag)
5428
5652
  @host = args[:host] if args.key?(:host)
5653
+ @iam_status = args[:iam_status] if args.key?(:iam_status)
5429
5654
  @instance = args[:instance] if args.key?(:instance)
5430
5655
  @kind = args[:kind] if args.key?(:kind)
5431
5656
  @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.79.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250226"
25
+ REVISION = "20250412"
26
26
  end
27
27
  end
28
28
  end
@@ -106,12 +106,30 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class ConnectPoolNodeConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class ConnectSettings
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class ConnectionPoolConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ConnectionPoolFlags
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class DataCacheConfig
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -532,6 +550,12 @@ module Google
532
550
  include Google::Apis::Core::JsonObjectSupport
533
551
  end
534
552
 
553
+ class PoolNodeConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
535
559
  class PscAutoConnectionConfig
536
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
561
 
@@ -824,6 +848,7 @@ module Google
824
848
 
825
849
  property :backup_kind, as: 'backupKind'
826
850
  property :backup_run, as: 'backupRun'
851
+ property :database_version, as: 'databaseVersion'
827
852
  property :description, as: 'description'
828
853
  property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
829
854
 
@@ -894,6 +919,7 @@ module Google
894
919
  # @private
895
920
  class Representation < Google::Apis::Core::JsonRepresentation
896
921
  property :backup_kind, as: 'backupKind'
922
+ property :database_version, as: 'databaseVersion'
897
923
  property :description, as: 'description'
898
924
  property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
899
925
 
@@ -952,6 +978,18 @@ module Google
952
978
  end
953
979
  end
954
980
 
981
+ class ConnectPoolNodeConfig
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :dns_name, as: 'dnsName'
985
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
986
+
987
+ collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
988
+
989
+ property :name, as: 'name'
990
+ end
991
+ end
992
+
955
993
  class ConnectSettings
956
994
  # @private
957
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -964,6 +1002,9 @@ module Google
964
1002
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
965
1003
 
966
1004
  property :kind, as: 'kind'
1005
+ property :node_count, as: 'nodeCount'
1006
+ collection :nodes, as: 'nodes', class: Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig, decorator: Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig::Representation
1007
+
967
1008
  property :psc_enabled, as: 'pscEnabled'
968
1009
  property :region, as: 'region'
969
1010
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
@@ -972,6 +1013,23 @@ module Google
972
1013
  end
973
1014
  end
974
1015
 
1016
+ class ConnectionPoolConfig
1017
+ # @private
1018
+ class Representation < Google::Apis::Core::JsonRepresentation
1019
+ property :connection_pooling_enabled, as: 'connectionPoolingEnabled'
1020
+ collection :flags, as: 'flags', class: Google::Apis::SqladminV1beta4::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1beta4::ConnectionPoolFlags::Representation
1021
+
1022
+ end
1023
+ end
1024
+
1025
+ class ConnectionPoolFlags
1026
+ # @private
1027
+ class Representation < Google::Apis::Core::JsonRepresentation
1028
+ property :name, as: 'name'
1029
+ property :value, as: 'value'
1030
+ end
1031
+ end
1032
+
975
1033
  class DataCacheConfig
976
1034
  # @private
977
1035
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1036,6 +1094,9 @@ module Google
1036
1094
  property :master_instance_name, as: 'masterInstanceName'
1037
1095
  property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
1038
1096
  property :name, as: 'name'
1097
+ property :node_count, as: 'nodeCount'
1098
+ collection :nodes, as: 'nodes', class: Google::Apis::SqladminV1beta4::PoolNodeConfig, decorator: Google::Apis::SqladminV1beta4::PoolNodeConfig::Representation
1099
+
1039
1100
  property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation
1040
1101
 
1041
1102
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport::Representation
@@ -1273,11 +1334,14 @@ module Google
1273
1334
  collection :allowed_int_values, as: 'allowedIntValues'
1274
1335
  collection :allowed_string_values, as: 'allowedStringValues'
1275
1336
  collection :applies_to, as: 'appliesTo'
1337
+ property :flag_scope, as: 'flagScope'
1276
1338
  property :in_beta, as: 'inBeta'
1277
1339
  property :kind, as: 'kind'
1278
1340
  property :max_value, :numeric_string => true, as: 'maxValue'
1279
1341
  property :min_value, :numeric_string => true, as: 'minValue'
1280
1342
  property :name, as: 'name'
1343
+ property :recommended_int_value, :numeric_string => true, as: 'recommendedIntValue'
1344
+ property :recommended_string_value, as: 'recommendedStringValue'
1281
1345
  property :requires_restart, as: 'requiresRestart'
1282
1346
  property :type, as: 'type'
1283
1347
  end
@@ -1770,6 +1834,20 @@ module Google
1770
1834
  end
1771
1835
  end
1772
1836
 
1837
+ class PoolNodeConfig
1838
+ # @private
1839
+ class Representation < Google::Apis::Core::JsonRepresentation
1840
+ property :dns_name, as: 'dnsName'
1841
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
1842
+
1843
+ property :gce_zone, as: 'gceZone'
1844
+ collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
1845
+
1846
+ property :name, as: 'name'
1847
+ property :state, as: 'state'
1848
+ end
1849
+ end
1850
+
1773
1851
  class PscAutoConnectionConfig
1774
1852
  # @private
1775
1853
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1865,10 +1943,14 @@ module Google
1865
1943
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
1866
1944
 
1867
1945
  property :collation, as: 'collation'
1946
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::SqladminV1beta4::ConnectionPoolConfig, decorator: Google::Apis::SqladminV1beta4::ConnectionPoolConfig::Representation
1947
+
1868
1948
  property :connector_enforcement, as: 'connectorEnforcement'
1869
1949
  property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
1870
1950
  property :data_cache_config, as: 'dataCacheConfig', class: Google::Apis::SqladminV1beta4::DataCacheConfig, decorator: Google::Apis::SqladminV1beta4::DataCacheConfig::Representation
1871
1951
 
1952
+ property :data_disk_provisioned_iops, :numeric_string => true, as: 'dataDiskProvisionedIops'
1953
+ property :data_disk_provisioned_throughput, :numeric_string => true, as: 'dataDiskProvisionedThroughput'
1872
1954
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
1873
1955
  property :data_disk_type, as: 'dataDiskType'
1874
1956
  collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
@@ -2160,6 +2242,7 @@ module Google
2160
2242
  property :dual_password_type, as: 'dualPasswordType'
2161
2243
  property :etag, as: 'etag'
2162
2244
  property :host, as: 'host'
2245
+ property :iam_status, as: 'iamStatus'
2163
2246
  property :instance, as: 'instance'
2164
2247
  property :kind, as: 'kind'
2165
2248
  property :name, as: 'name'
@@ -688,6 +688,9 @@ module Google
688
688
  # @param [String] database_version
689
689
  # Database type and version you want to retrieve flags for. By default, this
690
690
  # method returns flags for all database types and versions.
691
+ # @param [String] flag_scope
692
+ # Optional. Specify the scope of flags to be returned by SqlFlagsListService.
693
+ # Return list of database flags if unspecified.
691
694
  # @param [String] fields
692
695
  # Selector specifying which fields to include in a partial response.
693
696
  # @param [String] quota_user
@@ -705,11 +708,12 @@ module Google
705
708
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
706
709
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
707
710
  # @raise [Google::Apis::AuthorizationError] Authorization is required
708
- def list_flags(database_version: nil, fields: nil, quota_user: nil, options: nil, &block)
711
+ def list_flags(database_version: nil, flag_scope: nil, fields: nil, quota_user: nil, options: nil, &block)
709
712
  command = make_simple_command(:get, 'sql/v1beta4/flags', options)
710
713
  command.response_representation = Google::Apis::SqladminV1beta4::ListFlagsResponse::Representation
711
714
  command.response_class = Google::Apis::SqladminV1beta4::ListFlagsResponse
712
715
  command.query['databaseVersion'] = database_version unless database_version.nil?
716
+ command.query['flagScope'] = flag_scope unless flag_scope.nil?
713
717
  command.query['fields'] = fields unless fields.nil?
714
718
  command.query['quotaUser'] = quota_user unless quota_user.nil?
715
719
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.0
4
+ version: 0.81.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.79.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.81.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: