google-apis-sqladmin_v1 0.74.0 → 0.75.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: 459c5a687b46cba0224108b010b1aaafa4ab6d61ed107d1ea6398e1ddf722faf
4
- data.tar.gz: bc9ee89c7b50398646a122f29c4eead7562f58ede432c6a61f717113199bb5ce
3
+ metadata.gz: '0679c6ac0400b5d951ea8099d697db6d54557dd7df5579cb31d2b83ef81cf7ea'
4
+ data.tar.gz: 230af41f3d2f85a04c3e3f5886e7cfba9dd43a007a0c0ddf6b2137f136355814
5
5
  SHA512:
6
- metadata.gz: eda7520249c133a286fe20c3a5b89839de6f5469e97a370b271d5f5143ebec3644a613c9d3b2058ce694958366fb3808dcda94c1f46ca2d9dbb4ae382e07c75b
7
- data.tar.gz: af59effdd0004746151517799c23ddb33bdf6aeeba98629251017a08a4393230bb6dd140aabc2fccea705bbd28bfad28ee696592fa4d9c60d80107ee6ed49d70
6
+ metadata.gz: a59ffd98266fe94c42cd7d854d2ce272f5579d455ad7a61abd09c272d5a962eee31d019908082a1cbadd51cb7fe7d392e898104f8150e1bb0d19757e6801c76e
7
+ data.tar.gz: 4d379fcf41a93846ab6562ddfc2ed547ae0783225e7a5ba6c60ff5a1fd86929e5be5389ccf829bb18d36e9ea04abb657bcd572da9bf201ead814846680f96b7b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.75.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250310
6
+
3
7
  ### v0.74.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)
@@ -781,6 +793,44 @@ module Google
781
793
  end
782
794
  end
783
795
 
796
+ # Details of a single node of a read pool.
797
+ class ConnectPoolNodeConfig
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # Output only. The DNS name of the 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 node.
806
+ # Corresponds to the JSON property `dnsNames`
807
+ # @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
808
+ attr_accessor :dns_names
809
+
810
+ # Output only. Mappings containing IP addresses that can be used to connect to
811
+ # the node.
812
+ # Corresponds to the JSON property `ipAddresses`
813
+ # @return [Array<Google::Apis::SqladminV1::IpMapping>]
814
+ attr_accessor :ip_addresses
815
+
816
+ # Output only. The name of the 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
+
784
834
  # Connect settings retrieval response.
785
835
  class ConnectSettings
786
836
  include Google::Apis::Core::Hashable
@@ -829,6 +879,16 @@ module Google
829
879
  # @return [String]
830
880
  attr_accessor :kind
831
881
 
882
+ # The number of 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 node of the read pool.
888
+ # Corresponds to the JSON property `nodes`
889
+ # @return [Array<Google::Apis::SqladminV1::ConnectPoolNodeConfig>]
890
+ attr_accessor :nodes
891
+
832
892
  # Whether PSC connectivity is enabled for this instance.
833
893
  # Corresponds to the JSON property `pscEnabled`
834
894
  # @return [Boolean]
@@ -864,6 +924,8 @@ module Google
864
924
  @dns_names = args[:dns_names] if args.key?(:dns_names)
865
925
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
866
926
  @kind = args[:kind] if args.key?(:kind)
927
+ @node_count = args[:node_count] if args.key?(:node_count)
928
+ @nodes = args[:nodes] if args.key?(:nodes)
867
929
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
868
930
  @region = args[:region] if args.key?(:region)
869
931
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
@@ -871,6 +933,95 @@ module Google
871
933
  end
872
934
  end
873
935
 
936
+ # The managed connection pooling configuration.
937
+ class ConnectionPoolConfig
938
+ include Google::Apis::Core::Hashable
939
+
940
+ # Client idle timeout.
941
+ # Corresponds to the JSON property `clientConnectionIdleTimeout`
942
+ # @return [String]
943
+ attr_accessor :client_connection_idle_timeout
944
+
945
+ # Managed connection pool size.
946
+ # Corresponds to the JSON property `connPoolSize`
947
+ # @return [Fixnum]
948
+ attr_accessor :conn_pool_size
949
+
950
+ # Whether managed connection pooling is enabled.
951
+ # Corresponds to the JSON property `connectionPoolingEnabled`
952
+ # @return [Boolean]
953
+ attr_accessor :connection_pooling_enabled
954
+ alias_method :connection_pooling_enabled?, :connection_pooling_enabled
955
+
956
+ # Optional. List of connection pool configuration flags
957
+ # Corresponds to the JSON property `flags`
958
+ # @return [Array<Google::Apis::SqladminV1::ConnectionPoolFlags>]
959
+ attr_accessor :flags
960
+
961
+ # Maximum number of client connections in connection pool.
962
+ # Corresponds to the JSON property `maxClientConnections`
963
+ # @return [Fixnum]
964
+ attr_accessor :max_client_connections
965
+
966
+ # The managed connection pool mode for the instance.
967
+ # Corresponds to the JSON property `poolMode`
968
+ # @return [String]
969
+ attr_accessor :pool_mode
970
+
971
+ # Query wait timeout.
972
+ # Corresponds to the JSON property `queryWaitTimeout`
973
+ # @return [String]
974
+ attr_accessor :query_wait_timeout
975
+
976
+ # Server idle timeout.
977
+ # Corresponds to the JSON property `serverConnectionIdleTimeout`
978
+ # @return [String]
979
+ attr_accessor :server_connection_idle_timeout
980
+
981
+ def initialize(**args)
982
+ update!(**args)
983
+ end
984
+
985
+ # Update properties of this object
986
+ def update!(**args)
987
+ @client_connection_idle_timeout = args[:client_connection_idle_timeout] if args.key?(:client_connection_idle_timeout)
988
+ @conn_pool_size = args[:conn_pool_size] if args.key?(:conn_pool_size)
989
+ @connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
990
+ @flags = args[:flags] if args.key?(:flags)
991
+ @max_client_connections = args[:max_client_connections] if args.key?(:max_client_connections)
992
+ @pool_mode = args[:pool_mode] if args.key?(:pool_mode)
993
+ @query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
994
+ @server_connection_idle_timeout = args[:server_connection_idle_timeout] if args.key?(:server_connection_idle_timeout)
995
+ end
996
+ end
997
+
998
+ # Connection pool flags for Cloud SQL instances managed connection pool
999
+ # configuration.
1000
+ class ConnectionPoolFlags
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # Required. The name of the flag.
1004
+ # Corresponds to the JSON property `name`
1005
+ # @return [String]
1006
+ attr_accessor :name
1007
+
1008
+ # Required. The value of the flag. Boolean flags are set to `on` for true and `
1009
+ # off` for false. This field must be omitted if the flag doesn't take a value.
1010
+ # Corresponds to the JSON property `value`
1011
+ # @return [String]
1012
+ attr_accessor :value
1013
+
1014
+ def initialize(**args)
1015
+ update!(**args)
1016
+ end
1017
+
1018
+ # Update properties of this object
1019
+ def update!(**args)
1020
+ @name = args[:name] if args.key?(:name)
1021
+ @value = args[:value] if args.key?(:value)
1022
+ end
1023
+ end
1024
+
874
1025
  # Data cache configurations.
875
1026
  class DataCacheConfig
876
1027
  include Google::Apis::Core::Hashable
@@ -1130,6 +1281,16 @@ module Google
1130
1281
  # @return [String]
1131
1282
  attr_accessor :name
1132
1283
 
1284
+ # The number of nodes in a read pool.
1285
+ # Corresponds to the JSON property `nodeCount`
1286
+ # @return [Fixnum]
1287
+ attr_accessor :node_count
1288
+
1289
+ # Output only. Entries containing information about each node of the read pool.
1290
+ # Corresponds to the JSON property `nodes`
1291
+ # @return [Array<Google::Apis::SqladminV1::PoolNodeConfig>]
1292
+ attr_accessor :nodes
1293
+
1133
1294
  # On-premises instance configuration.
1134
1295
  # Corresponds to the JSON property `onPremisesConfiguration`
1135
1296
  # @return [Google::Apis::SqladminV1::OnPremisesConfiguration]
@@ -1308,6 +1469,8 @@ module Google
1308
1469
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
1309
1470
  @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
1310
1471
  @name = args[:name] if args.key?(:name)
1472
+ @node_count = args[:node_count] if args.key?(:node_count)
1473
+ @nodes = args[:nodes] if args.key?(:nodes)
1311
1474
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
1312
1475
  @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
1313
1476
  @primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
@@ -2094,6 +2257,11 @@ module Google
2094
2257
  # @return [Array<String>]
2095
2258
  attr_accessor :applies_to
2096
2259
 
2260
+ # Scope of flag.
2261
+ # Corresponds to the JSON property `flagScope`
2262
+ # @return [String]
2263
+ attr_accessor :flag_scope
2264
+
2097
2265
  # Whether or not the flag is considered in beta.
2098
2266
  # Corresponds to the JSON property `inBeta`
2099
2267
  # @return [Boolean]
@@ -2121,6 +2289,16 @@ module Google
2121
2289
  # @return [String]
2122
2290
  attr_accessor :name
2123
2291
 
2292
+ # Recommended int value in integer format for UI display.
2293
+ # Corresponds to the JSON property `recommendedIntValue`
2294
+ # @return [Fixnum]
2295
+ attr_accessor :recommended_int_value
2296
+
2297
+ # Recommended string value in string format for UI display.
2298
+ # Corresponds to the JSON property `recommendedStringValue`
2299
+ # @return [String]
2300
+ attr_accessor :recommended_string_value
2301
+
2124
2302
  # Indicates whether changing this flag will trigger a database restart. Only
2125
2303
  # applicable to Second Generation instances.
2126
2304
  # Corresponds to the JSON property `requiresRestart`
@@ -2144,11 +2322,14 @@ module Google
2144
2322
  @allowed_int_values = args[:allowed_int_values] if args.key?(:allowed_int_values)
2145
2323
  @allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
2146
2324
  @applies_to = args[:applies_to] if args.key?(:applies_to)
2325
+ @flag_scope = args[:flag_scope] if args.key?(:flag_scope)
2147
2326
  @in_beta = args[:in_beta] if args.key?(:in_beta)
2148
2327
  @kind = args[:kind] if args.key?(:kind)
2149
2328
  @max_value = args[:max_value] if args.key?(:max_value)
2150
2329
  @min_value = args[:min_value] if args.key?(:min_value)
2151
2330
  @name = args[:name] if args.key?(:name)
2331
+ @recommended_int_value = args[:recommended_int_value] if args.key?(:recommended_int_value)
2332
+ @recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
2152
2333
  @requires_restart = args[:requires_restart] if args.key?(:requires_restart)
2153
2334
  @type = args[:type] if args.key?(:type)
2154
2335
  end
@@ -3936,6 +4117,57 @@ module Google
3936
4117
  end
3937
4118
  end
3938
4119
 
4120
+ # Details of a single node of a read pool.
4121
+ class PoolNodeConfig
4122
+ include Google::Apis::Core::Hashable
4123
+
4124
+ # Output only. The DNS name of the node.
4125
+ # Corresponds to the JSON property `dnsName`
4126
+ # @return [String]
4127
+ attr_accessor :dns_name
4128
+
4129
+ # Output only. The list of DNS names used by this node.
4130
+ # Corresponds to the JSON property `dnsNames`
4131
+ # @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
4132
+ attr_accessor :dns_names
4133
+
4134
+ # Output only. The serving zone of the node.
4135
+ # Corresponds to the JSON property `gceZone`
4136
+ # @return [String]
4137
+ attr_accessor :gce_zone
4138
+
4139
+ # Output only. Mappings containing IP addresses that can be used to connect to
4140
+ # the node.
4141
+ # Corresponds to the JSON property `ipAddresses`
4142
+ # @return [Array<Google::Apis::SqladminV1::IpMapping>]
4143
+ attr_accessor :ip_addresses
4144
+
4145
+ # Output only. The name of the node, to be used for retrieving metrics and logs
4146
+ # for the node.
4147
+ # Corresponds to the JSON property `name`
4148
+ # @return [String]
4149
+ attr_accessor :name
4150
+
4151
+ # Output only. The current state of the node.
4152
+ # Corresponds to the JSON property `state`
4153
+ # @return [String]
4154
+ attr_accessor :state
4155
+
4156
+ def initialize(**args)
4157
+ update!(**args)
4158
+ end
4159
+
4160
+ # Update properties of this object
4161
+ def update!(**args)
4162
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
4163
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
4164
+ @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
4165
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
4166
+ @name = args[:name] if args.key?(:name)
4167
+ @state = args[:state] if args.key?(:state)
4168
+ end
4169
+ end
4170
+
3939
4171
  # Settings for an automatically-setup Private Service Connect consumer endpoint
3940
4172
  # that is used to connect to a Cloud SQL instance.
3941
4173
  class PscAutoConnectionConfig
@@ -4297,6 +4529,11 @@ module Google
4297
4529
  # @return [String]
4298
4530
  attr_accessor :collation
4299
4531
 
4532
+ # The managed connection pooling configuration.
4533
+ # Corresponds to the JSON property `connectionPoolConfig`
4534
+ # @return [Google::Apis::SqladminV1::ConnectionPoolConfig]
4535
+ attr_accessor :connection_pool_config
4536
+
4300
4537
  # Specifies if connections must use Cloud SQL connectors. Option values include
4301
4538
  # the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
4302
4539
  # Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
@@ -4321,6 +4558,18 @@ module Google
4321
4558
  # @return [Google::Apis::SqladminV1::DataCacheConfig]
4322
4559
  attr_accessor :data_cache_config
4323
4560
 
4561
+ # Optional. Provisioned number of I/O operations per second for the data disk.
4562
+ # This field is only used for hyperdisk-balanced disk types.
4563
+ # Corresponds to the JSON property `dataDiskProvisionedIops`
4564
+ # @return [Fixnum]
4565
+ attr_accessor :data_disk_provisioned_iops
4566
+
4567
+ # Optional. Provisioned throughput measured in MiB per second for the data disk.
4568
+ # This field is only used for hyperdisk-balanced disk types.
4569
+ # Corresponds to the JSON property `dataDiskProvisionedThroughput`
4570
+ # @return [Fixnum]
4571
+ attr_accessor :data_disk_provisioned_throughput
4572
+
4324
4573
  # The size of data disk, in GB. The data disk size minimum is 10GB.
4325
4574
  # Corresponds to the JSON property `dataDiskSizeGb`
4326
4575
  # @return [Fixnum]
@@ -4495,9 +4744,12 @@ module Google
4495
4744
  @availability_type = args[:availability_type] if args.key?(:availability_type)
4496
4745
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
4497
4746
  @collation = args[:collation] if args.key?(:collation)
4747
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
4498
4748
  @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
4499
4749
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
4500
4750
  @data_cache_config = args[:data_cache_config] if args.key?(:data_cache_config)
4751
+ @data_disk_provisioned_iops = args[:data_disk_provisioned_iops] if args.key?(:data_disk_provisioned_iops)
4752
+ @data_disk_provisioned_throughput = args[:data_disk_provisioned_throughput] if args.key?(:data_disk_provisioned_throughput)
4501
4753
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
4502
4754
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
4503
4755
  @database_flags = args[:database_flags] if args.key?(:database_flags)
@@ -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.74.0"
19
+ GEM_VERSION = "0.75.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::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::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::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::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::SqladminV1::DnsNameMapping, decorator: Google::Apis::SqladminV1::DnsNameMapping::Representation
986
+
987
+ collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::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::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
965
1003
 
966
1004
  property :kind, as: 'kind'
1005
+ property :node_count, as: 'nodeCount'
1006
+ collection :nodes, as: 'nodes', class: Google::Apis::SqladminV1::ConnectPoolNodeConfig, decorator: Google::Apis::SqladminV1::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::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::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::SqladminV1::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1::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::SqladminV1::PoolNodeConfig, decorator: Google::Apis::SqladminV1::PoolNodeConfig::Representation
1105
+
1039
1106
  property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1::OnPremisesConfiguration::Representation
1040
1107
 
1041
1108
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1::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::SqladminV1::DnsNameMapping, decorator: Google::Apis::SqladminV1::DnsNameMapping::Representation
1848
+
1849
+ property :gce_zone, as: 'gceZone'
1850
+ collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::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::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
1866
1950
 
1867
1951
  property :collation, as: 'collation'
1952
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::SqladminV1::ConnectionPoolConfig, decorator: Google::Apis::SqladminV1::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::SqladminV1::DataCacheConfig, decorator: Google::Apis::SqladminV1::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::SqladminV1::DatabaseFlags, decorator: Google::Apis::SqladminV1::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, 'v1/flags', options)
710
713
  command.response_representation = Google::Apis::SqladminV1::FlagsListResponse::Representation
711
714
  command.response_class = Google::Apis::SqladminV1::FlagsListResponse
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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.75.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-23 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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.74.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.75.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: