google-apis-sqladmin_v1beta4 0.79.0 → 0.80.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: 7d2eea53d465d0bbbdf04722dc9a86233b82c3c8e5fc215930443150d7455d24
4
+ data.tar.gz: 28792545fef01268f1224f14e0ac838bf6d53102acaa1361d55864cb5a1fffa0
5
5
  SHA512:
6
- metadata.gz: 1cb6c7914ee6128e486d1048f2852be82cd6e965ac401613f78b3fc30eba41bf44607116a021bd5f3d4cf230ef29d37c6cb091b52f07c05d30ae854879ceacfc
7
- data.tar.gz: de5234e002cfb75c28c43e62420f6599ce46477533ae7583e5714b043d3106ccd717597cca9beb117b0f822f55c26760e2d3406e3d57602ce931e332f6aec812
6
+ metadata.gz: 476936d52e020560b7767e0cbc0d149749ec5da9a8d0f41b4ed76e2d2ceacf3eed02151f04f4edd2410ae42eb026008bc04136389abf75aed58255e7eebfa1ca
7
+ data.tar.gz: e6894bbf4a2a4cb2355658b3386a77398f0a513d7aa536986ae7c3ea2a943e59611b61a928bd99bb26eb7eb2c8a8bdee409dc64d4325cba64a92a332948cf043
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.80.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250310
6
+
3
7
  ### v0.79.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250226
@@ -203,6 +203,11 @@ module Google
203
203
  # @return [String]
204
204
  attr_accessor :backup_run
205
205
 
206
+ # Output only. The database version of the instance of when this backup was made.
207
+ # Corresponds to the JSON property `databaseVersion`
208
+ # @return [String]
209
+ attr_accessor :database_version
210
+
206
211
  # The description of this backup.
207
212
  # Corresponds to the JSON property `description`
208
213
  # @return [String]
@@ -320,6 +325,7 @@ module Google
320
325
  @backup_interval = args[:backup_interval] if args.key?(:backup_interval)
321
326
  @backup_kind = args[:backup_kind] if args.key?(:backup_kind)
322
327
  @backup_run = args[:backup_run] if args.key?(:backup_run)
328
+ @database_version = args[:database_version] if args.key?(:database_version)
323
329
  @description = args[:description] if args.key?(:description)
324
330
  @error = args[:error] if args.key?(:error)
325
331
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
@@ -517,6 +523,11 @@ module Google
517
523
  # @return [String]
518
524
  attr_accessor :backup_kind
519
525
 
526
+ # Output only. The instance database version when this backup was made.
527
+ # Corresponds to the JSON property `databaseVersion`
528
+ # @return [String]
529
+ attr_accessor :database_version
530
+
520
531
  # The description of this run, only applicable to on-demand backups.
521
532
  # Corresponds to the JSON property `description`
522
533
  # @return [String]
@@ -619,6 +630,7 @@ module Google
619
630
  # Update properties of this object
620
631
  def update!(**args)
621
632
  @backup_kind = args[:backup_kind] if args.key?(:backup_kind)
633
+ @database_version = args[:database_version] if args.key?(:database_version)
622
634
  @description = args[:description] if args.key?(:description)
623
635
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
624
636
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
@@ -780,6 +792,44 @@ module Google
780
792
  end
781
793
  end
782
794
 
795
+ # Details of a single node of a read pool.
796
+ class ConnectPoolNodeConfig
797
+ include Google::Apis::Core::Hashable
798
+
799
+ # Output only. The DNS name of the node.
800
+ # Corresponds to the JSON property `dnsName`
801
+ # @return [String]
802
+ attr_accessor :dns_name
803
+
804
+ # Output only. The list of DNS names used by this instance.
805
+ # Corresponds to the JSON property `dnsNames`
806
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
807
+ attr_accessor :dns_names
808
+
809
+ # Output only. Mappings containing IP addresses that can be used to connect to
810
+ # the node.
811
+ # Corresponds to the JSON property `ipAddresses`
812
+ # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
813
+ attr_accessor :ip_addresses
814
+
815
+ # Output only. The name of the node. Doesn't include the project ID.
816
+ # Corresponds to the JSON property `name`
817
+ # @return [String]
818
+ attr_accessor :name
819
+
820
+ def initialize(**args)
821
+ update!(**args)
822
+ end
823
+
824
+ # Update properties of this object
825
+ def update!(**args)
826
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
827
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
828
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
829
+ @name = args[:name] if args.key?(:name)
830
+ end
831
+ end
832
+
783
833
  # Connect settings retrieval response.
784
834
  class ConnectSettings
785
835
  include Google::Apis::Core::Hashable
@@ -828,6 +878,16 @@ module Google
828
878
  # @return [String]
829
879
  attr_accessor :kind
830
880
 
881
+ # The number of nodes in a read pool.
882
+ # Corresponds to the JSON property `nodeCount`
883
+ # @return [Fixnum]
884
+ attr_accessor :node_count
885
+
886
+ # Output only. Entries containing information about each node of the read pool.
887
+ # Corresponds to the JSON property `nodes`
888
+ # @return [Array<Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig>]
889
+ attr_accessor :nodes
890
+
831
891
  # Whether PSC connectivity is enabled for this instance.
832
892
  # Corresponds to the JSON property `pscEnabled`
833
893
  # @return [Boolean]
@@ -863,6 +923,8 @@ module Google
863
923
  @dns_names = args[:dns_names] if args.key?(:dns_names)
864
924
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
865
925
  @kind = args[:kind] if args.key?(:kind)
926
+ @node_count = args[:node_count] if args.key?(:node_count)
927
+ @nodes = args[:nodes] if args.key?(:nodes)
866
928
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
867
929
  @region = args[:region] if args.key?(:region)
868
930
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
@@ -870,6 +932,95 @@ module Google
870
932
  end
871
933
  end
872
934
 
935
+ # The managed connection pooling configuration.
936
+ class ConnectionPoolConfig
937
+ include Google::Apis::Core::Hashable
938
+
939
+ # Client idle timeout.
940
+ # Corresponds to the JSON property `clientConnectionIdleTimeout`
941
+ # @return [String]
942
+ attr_accessor :client_connection_idle_timeout
943
+
944
+ # Managed connection pool size.
945
+ # Corresponds to the JSON property `connPoolSize`
946
+ # @return [Fixnum]
947
+ attr_accessor :conn_pool_size
948
+
949
+ # Whether managed connection pooling is enabled.
950
+ # Corresponds to the JSON property `connectionPoolingEnabled`
951
+ # @return [Boolean]
952
+ attr_accessor :connection_pooling_enabled
953
+ alias_method :connection_pooling_enabled?, :connection_pooling_enabled
954
+
955
+ # Optional. List of connection pool configuration flags
956
+ # Corresponds to the JSON property `flags`
957
+ # @return [Array<Google::Apis::SqladminV1beta4::ConnectionPoolFlags>]
958
+ attr_accessor :flags
959
+
960
+ # Maximum number of client connections in connection pool.
961
+ # Corresponds to the JSON property `maxClientConnections`
962
+ # @return [Fixnum]
963
+ attr_accessor :max_client_connections
964
+
965
+ # The managed connection pool mode for the instance.
966
+ # Corresponds to the JSON property `poolMode`
967
+ # @return [String]
968
+ attr_accessor :pool_mode
969
+
970
+ # Query wait timeout.
971
+ # Corresponds to the JSON property `queryWaitTimeout`
972
+ # @return [String]
973
+ attr_accessor :query_wait_timeout
974
+
975
+ # Server idle timeout.
976
+ # Corresponds to the JSON property `serverConnectionIdleTimeout`
977
+ # @return [String]
978
+ attr_accessor :server_connection_idle_timeout
979
+
980
+ def initialize(**args)
981
+ update!(**args)
982
+ end
983
+
984
+ # Update properties of this object
985
+ def update!(**args)
986
+ @client_connection_idle_timeout = args[:client_connection_idle_timeout] if args.key?(:client_connection_idle_timeout)
987
+ @conn_pool_size = args[:conn_pool_size] if args.key?(:conn_pool_size)
988
+ @connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
989
+ @flags = args[:flags] if args.key?(:flags)
990
+ @max_client_connections = args[:max_client_connections] if args.key?(:max_client_connections)
991
+ @pool_mode = args[:pool_mode] if args.key?(:pool_mode)
992
+ @query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
993
+ @server_connection_idle_timeout = args[:server_connection_idle_timeout] if args.key?(:server_connection_idle_timeout)
994
+ end
995
+ end
996
+
997
+ # Connection pool flags for Cloud SQL instances managed connection pool
998
+ # configuration.
999
+ class ConnectionPoolFlags
1000
+ include Google::Apis::Core::Hashable
1001
+
1002
+ # Required. The name of the flag.
1003
+ # Corresponds to the JSON property `name`
1004
+ # @return [String]
1005
+ attr_accessor :name
1006
+
1007
+ # Required. The value of the flag. Boolean flags are set to `on` for true and `
1008
+ # off` for false. This field must be omitted if the flag doesn't take a value.
1009
+ # Corresponds to the JSON property `value`
1010
+ # @return [String]
1011
+ attr_accessor :value
1012
+
1013
+ def initialize(**args)
1014
+ update!(**args)
1015
+ end
1016
+
1017
+ # Update properties of this object
1018
+ def update!(**args)
1019
+ @name = args[:name] if args.key?(:name)
1020
+ @value = args[:value] if args.key?(:value)
1021
+ end
1022
+ end
1023
+
873
1024
  # Data cache configurations.
874
1025
  class DataCacheConfig
875
1026
  include Google::Apis::Core::Hashable
@@ -1129,6 +1280,16 @@ module Google
1129
1280
  # @return [String]
1130
1281
  attr_accessor :name
1131
1282
 
1283
+ # The number of nodes in a read pool.
1284
+ # Corresponds to the JSON property `nodeCount`
1285
+ # @return [Fixnum]
1286
+ attr_accessor :node_count
1287
+
1288
+ # Output only. Entries containing information about each node of the read pool.
1289
+ # Corresponds to the JSON property `nodes`
1290
+ # @return [Array<Google::Apis::SqladminV1beta4::PoolNodeConfig>]
1291
+ attr_accessor :nodes
1292
+
1132
1293
  # On-premises instance configuration.
1133
1294
  # Corresponds to the JSON property `onPremisesConfiguration`
1134
1295
  # @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
@@ -1306,6 +1467,8 @@ module Google
1306
1467
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
1307
1468
  @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
1308
1469
  @name = args[:name] if args.key?(:name)
1470
+ @node_count = args[:node_count] if args.key?(:node_count)
1471
+ @nodes = args[:nodes] if args.key?(:nodes)
1309
1472
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
1310
1473
  @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
1311
1474
  @primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
@@ -2092,6 +2255,11 @@ module Google
2092
2255
  # @return [Array<String>]
2093
2256
  attr_accessor :applies_to
2094
2257
 
2258
+ # Scope of flag.
2259
+ # Corresponds to the JSON property `flagScope`
2260
+ # @return [String]
2261
+ attr_accessor :flag_scope
2262
+
2095
2263
  # Whether or not the flag is considered in beta.
2096
2264
  # Corresponds to the JSON property `inBeta`
2097
2265
  # @return [Boolean]
@@ -2119,6 +2287,16 @@ module Google
2119
2287
  # @return [String]
2120
2288
  attr_accessor :name
2121
2289
 
2290
+ # Recommended flag value in integer format for UI display.
2291
+ # Corresponds to the JSON property `recommendedIntValue`
2292
+ # @return [Fixnum]
2293
+ attr_accessor :recommended_int_value
2294
+
2295
+ # Recommended flag value in string format for UI display.
2296
+ # Corresponds to the JSON property `recommendedStringValue`
2297
+ # @return [String]
2298
+ attr_accessor :recommended_string_value
2299
+
2122
2300
  # Indicates whether changing this flag will trigger a database restart. Only
2123
2301
  # applicable to Second Generation instances.
2124
2302
  # Corresponds to the JSON property `requiresRestart`
@@ -2142,11 +2320,14 @@ module Google
2142
2320
  @allowed_int_values = args[:allowed_int_values] if args.key?(:allowed_int_values)
2143
2321
  @allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
2144
2322
  @applies_to = args[:applies_to] if args.key?(:applies_to)
2323
+ @flag_scope = args[:flag_scope] if args.key?(:flag_scope)
2145
2324
  @in_beta = args[:in_beta] if args.key?(:in_beta)
2146
2325
  @kind = args[:kind] if args.key?(:kind)
2147
2326
  @max_value = args[:max_value] if args.key?(:max_value)
2148
2327
  @min_value = args[:min_value] if args.key?(:min_value)
2149
2328
  @name = args[:name] if args.key?(:name)
2329
+ @recommended_int_value = args[:recommended_int_value] if args.key?(:recommended_int_value)
2330
+ @recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
2150
2331
  @requires_restart = args[:requires_restart] if args.key?(:requires_restart)
2151
2332
  @type = args[:type] if args.key?(:type)
2152
2333
  end
@@ -3937,6 +4118,57 @@ module Google
3937
4118
  end
3938
4119
  end
3939
4120
 
4121
+ # Details of a single node of a read pool.
4122
+ class PoolNodeConfig
4123
+ include Google::Apis::Core::Hashable
4124
+
4125
+ # Output only. The DNS name of the node.
4126
+ # Corresponds to the JSON property `dnsName`
4127
+ # @return [String]
4128
+ attr_accessor :dns_name
4129
+
4130
+ # Output only. The list of DNS names used by this node.
4131
+ # Corresponds to the JSON property `dnsNames`
4132
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
4133
+ attr_accessor :dns_names
4134
+
4135
+ # Output only. The serving zone of the node.
4136
+ # Corresponds to the JSON property `gceZone`
4137
+ # @return [String]
4138
+ attr_accessor :gce_zone
4139
+
4140
+ # Output only. Mappings containing IP addresses that can be used to connect to
4141
+ # the node.
4142
+ # Corresponds to the JSON property `ipAddresses`
4143
+ # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
4144
+ attr_accessor :ip_addresses
4145
+
4146
+ # Output only. The name of the node, to be used for retrieving metrics and logs
4147
+ # for the node.
4148
+ # Corresponds to the JSON property `name`
4149
+ # @return [String]
4150
+ attr_accessor :name
4151
+
4152
+ # Output only. The current state of the node.
4153
+ # Corresponds to the JSON property `state`
4154
+ # @return [String]
4155
+ attr_accessor :state
4156
+
4157
+ def initialize(**args)
4158
+ update!(**args)
4159
+ end
4160
+
4161
+ # Update properties of this object
4162
+ def update!(**args)
4163
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
4164
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
4165
+ @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4166
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4167
+ @name = args[:name] if args.key?(:name)
4168
+ @state = args[:state] if args.key?(:state)
4169
+ end
4170
+ end
4171
+
3940
4172
  # Settings for an automatically-setup Private Service Connect consumer endpoint
3941
4173
  # that is used to connect to a Cloud SQL instance.
3942
4174
  class PscAutoConnectionConfig
@@ -4298,6 +4530,11 @@ module Google
4298
4530
  # @return [String]
4299
4531
  attr_accessor :collation
4300
4532
 
4533
+ # The managed connection pooling configuration.
4534
+ # Corresponds to the JSON property `connectionPoolConfig`
4535
+ # @return [Google::Apis::SqladminV1beta4::ConnectionPoolConfig]
4536
+ attr_accessor :connection_pool_config
4537
+
4301
4538
  # Specifies if connections must use Cloud SQL connectors. Option values include
4302
4539
  # the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
4303
4540
  # Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
@@ -4322,6 +4559,18 @@ module Google
4322
4559
  # @return [Google::Apis::SqladminV1beta4::DataCacheConfig]
4323
4560
  attr_accessor :data_cache_config
4324
4561
 
4562
+ # Optional. Provisioned number of I/O operations per second for the data disk.
4563
+ # This field is only used for hyperdisk-balanced disk types.
4564
+ # Corresponds to the JSON property `dataDiskProvisionedIops`
4565
+ # @return [Fixnum]
4566
+ attr_accessor :data_disk_provisioned_iops
4567
+
4568
+ # Optional. Provisioned throughput measured in MiB per second for the data disk.
4569
+ # This field is only used for hyperdisk-balanced disk types.
4570
+ # Corresponds to the JSON property `dataDiskProvisionedThroughput`
4571
+ # @return [Fixnum]
4572
+ attr_accessor :data_disk_provisioned_throughput
4573
+
4325
4574
  # The size of data disk, in GB. The data disk size minimum is 10GB.
4326
4575
  # Corresponds to the JSON property `dataDiskSizeGb`
4327
4576
  # @return [Fixnum]
@@ -4496,9 +4745,12 @@ module Google
4496
4745
  @availability_type = args[:availability_type] if args.key?(:availability_type)
4497
4746
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
4498
4747
  @collation = args[:collation] if args.key?(:collation)
4748
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
4499
4749
  @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
4500
4750
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
4501
4751
  @data_cache_config = args[:data_cache_config] if args.key?(:data_cache_config)
4752
+ @data_disk_provisioned_iops = args[:data_disk_provisioned_iops] if args.key?(:data_disk_provisioned_iops)
4753
+ @data_disk_provisioned_throughput = args[:data_disk_provisioned_throughput] if args.key?(:data_disk_provisioned_throughput)
4502
4754
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
4503
4755
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
4504
4756
  @database_flags = args[:database_flags] if args.key?(:database_flags)
@@ -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.80.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 = "20250310"
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,29 @@ module Google
972
1013
  end
973
1014
  end
974
1015
 
1016
+ class ConnectionPoolConfig
1017
+ # @private
1018
+ class Representation < Google::Apis::Core::JsonRepresentation
1019
+ property :client_connection_idle_timeout, as: 'clientConnectionIdleTimeout'
1020
+ property :conn_pool_size, as: 'connPoolSize'
1021
+ property :connection_pooling_enabled, as: 'connectionPoolingEnabled'
1022
+ collection :flags, as: 'flags', class: Google::Apis::SqladminV1beta4::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1beta4::ConnectionPoolFlags::Representation
1023
+
1024
+ property :max_client_connections, as: 'maxClientConnections'
1025
+ property :pool_mode, as: 'poolMode'
1026
+ property :query_wait_timeout, as: 'queryWaitTimeout'
1027
+ property :server_connection_idle_timeout, as: 'serverConnectionIdleTimeout'
1028
+ end
1029
+ end
1030
+
1031
+ class ConnectionPoolFlags
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :name, as: 'name'
1035
+ property :value, as: 'value'
1036
+ end
1037
+ end
1038
+
975
1039
  class DataCacheConfig
976
1040
  # @private
977
1041
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1036,6 +1100,9 @@ module Google
1036
1100
  property :master_instance_name, as: 'masterInstanceName'
1037
1101
  property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
1038
1102
  property :name, as: 'name'
1103
+ property :node_count, as: 'nodeCount'
1104
+ collection :nodes, as: 'nodes', class: Google::Apis::SqladminV1beta4::PoolNodeConfig, decorator: Google::Apis::SqladminV1beta4::PoolNodeConfig::Representation
1105
+
1039
1106
  property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation
1040
1107
 
1041
1108
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport::Representation
@@ -1273,11 +1340,14 @@ module Google
1273
1340
  collection :allowed_int_values, as: 'allowedIntValues'
1274
1341
  collection :allowed_string_values, as: 'allowedStringValues'
1275
1342
  collection :applies_to, as: 'appliesTo'
1343
+ property :flag_scope, as: 'flagScope'
1276
1344
  property :in_beta, as: 'inBeta'
1277
1345
  property :kind, as: 'kind'
1278
1346
  property :max_value, :numeric_string => true, as: 'maxValue'
1279
1347
  property :min_value, :numeric_string => true, as: 'minValue'
1280
1348
  property :name, as: 'name'
1349
+ property :recommended_int_value, :numeric_string => true, as: 'recommendedIntValue'
1350
+ property :recommended_string_value, as: 'recommendedStringValue'
1281
1351
  property :requires_restart, as: 'requiresRestart'
1282
1352
  property :type, as: 'type'
1283
1353
  end
@@ -1770,6 +1840,20 @@ module Google
1770
1840
  end
1771
1841
  end
1772
1842
 
1843
+ class PoolNodeConfig
1844
+ # @private
1845
+ class Representation < Google::Apis::Core::JsonRepresentation
1846
+ property :dns_name, as: 'dnsName'
1847
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
1848
+
1849
+ property :gce_zone, as: 'gceZone'
1850
+ collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
1851
+
1852
+ property :name, as: 'name'
1853
+ property :state, as: 'state'
1854
+ end
1855
+ end
1856
+
1773
1857
  class PscAutoConnectionConfig
1774
1858
  # @private
1775
1859
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1865,10 +1949,14 @@ module Google
1865
1949
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
1866
1950
 
1867
1951
  property :collation, as: 'collation'
1952
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::SqladminV1beta4::ConnectionPoolConfig, decorator: Google::Apis::SqladminV1beta4::ConnectionPoolConfig::Representation
1953
+
1868
1954
  property :connector_enforcement, as: 'connectorEnforcement'
1869
1955
  property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
1870
1956
  property :data_cache_config, as: 'dataCacheConfig', class: Google::Apis::SqladminV1beta4::DataCacheConfig, decorator: Google::Apis::SqladminV1beta4::DataCacheConfig::Representation
1871
1957
 
1958
+ property :data_disk_provisioned_iops, :numeric_string => true, as: 'dataDiskProvisionedIops'
1959
+ property :data_disk_provisioned_throughput, :numeric_string => true, as: 'dataDiskProvisionedThroughput'
1872
1960
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
1873
1961
  property :data_disk_type, as: 'dataDiskType'
1874
1962
  collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
@@ -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.80.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-03-16 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.80.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: