google-apis-sqladmin_v1beta4 0.78.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: 56e1aa0b7aadae604e77932f967302687c22cbf5f52e18995fd7751ffc2bfd80
4
- data.tar.gz: bd42d8962a727d46cab329653f912ddc94af74fe3176c15e4d480cf529d1f2cf
3
+ metadata.gz: 7d2eea53d465d0bbbdf04722dc9a86233b82c3c8e5fc215930443150d7455d24
4
+ data.tar.gz: 28792545fef01268f1224f14e0ac838bf6d53102acaa1361d55864cb5a1fffa0
5
5
  SHA512:
6
- metadata.gz: f7ba92ff624b38086f35619e763f43fa2f49431089f3311b3bfbda7a7f26f73219ead0bdf62f1700a6f0a699d0e3fa3d0df7a0f5780b1b780cd2d401ea028456
7
- data.tar.gz: c3effb0bb88300c6ab06e052f2ecacefd0f41d89637e47293a9330714332d793f3a616a1fb20e86d6e57c12315fe708ffb3dc1cc9b2e57a4123753695b6be311
6
+ metadata.gz: 476936d52e020560b7767e0cbc0d149749ec5da9a8d0f41b4ed76e2d2ceacf3eed02151f04f4edd2410ae42eb026008bc04136389abf75aed58255e7eebfa1ca
7
+ data.tar.gz: e6894bbf4a2a4cb2355658b3386a77398f0a513d7aa536986ae7c3ea2a943e59611b61a928bd99bb26eb7eb2c8a8bdee409dc64d4325cba64a92a332948cf043
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.79.0 (2025-03-09)
8
+
9
+ * Regenerated from discovery document revision 20250226
10
+
3
11
  ### v0.78.0 (2025-03-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20250216
@@ -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]
@@ -223,6 +228,17 @@ module Google
223
228
  # @return [String]
224
229
  attr_accessor :instance
225
230
 
231
+ # Optional. Output only. Timestamp in UTC of when the instance associated with
232
+ # this backup is deleted.
233
+ # Corresponds to the JSON property `instanceDeletionTime`
234
+ # @return [String]
235
+ attr_accessor :instance_deletion_time
236
+
237
+ # A Cloud SQL instance resource.
238
+ # Corresponds to the JSON property `instanceSettings`
239
+ # @return [Google::Apis::SqladminV1beta4::DatabaseInstance]
240
+ attr_accessor :instance_settings
241
+
226
242
  # Output only. This is always `sql#backup`.
227
243
  # Corresponds to the JSON property `kind`
228
244
  # @return [String]
@@ -288,7 +304,8 @@ module Google
288
304
  attr_accessor :time_zone
289
305
 
290
306
  # Input only. The time-to-live (TTL) interval for this resource (in days). For
291
- # example: ttlDays:7 means 7 days.
307
+ # example: ttlDays:7, means 7 days from the current time. The expiration time
308
+ # can't exceed 365 days from the time that the backup is created.
292
309
  # Corresponds to the JSON property `ttlDays`
293
310
  # @return [Fixnum]
294
311
  attr_accessor :ttl_days
@@ -308,10 +325,13 @@ module Google
308
325
  @backup_interval = args[:backup_interval] if args.key?(:backup_interval)
309
326
  @backup_kind = args[:backup_kind] if args.key?(:backup_kind)
310
327
  @backup_run = args[:backup_run] if args.key?(:backup_run)
328
+ @database_version = args[:database_version] if args.key?(:database_version)
311
329
  @description = args[:description] if args.key?(:description)
312
330
  @error = args[:error] if args.key?(:error)
313
331
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
314
332
  @instance = args[:instance] if args.key?(:instance)
333
+ @instance_deletion_time = args[:instance_deletion_time] if args.key?(:instance_deletion_time)
334
+ @instance_settings = args[:instance_settings] if args.key?(:instance_settings)
315
335
  @kind = args[:kind] if args.key?(:kind)
316
336
  @kms_key = args[:kms_key] if args.key?(:kms_key)
317
337
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
@@ -503,6 +523,11 @@ module Google
503
523
  # @return [String]
504
524
  attr_accessor :backup_kind
505
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
+
506
531
  # The description of this run, only applicable to on-demand backups.
507
532
  # Corresponds to the JSON property `description`
508
533
  # @return [String]
@@ -605,6 +630,7 @@ module Google
605
630
  # Update properties of this object
606
631
  def update!(**args)
607
632
  @backup_kind = args[:backup_kind] if args.key?(:backup_kind)
633
+ @database_version = args[:database_version] if args.key?(:database_version)
608
634
  @description = args[:description] if args.key?(:description)
609
635
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
610
636
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
@@ -766,6 +792,44 @@ module Google
766
792
  end
767
793
  end
768
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
+
769
833
  # Connect settings retrieval response.
770
834
  class ConnectSettings
771
835
  include Google::Apis::Core::Hashable
@@ -799,6 +863,11 @@ module Google
799
863
  # @return [String]
800
864
  attr_accessor :dns_name
801
865
 
866
+ # Output only. The list of DNS names used by this instance.
867
+ # Corresponds to the JSON property `dnsNames`
868
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
869
+ attr_accessor :dns_names
870
+
802
871
  # The assigned IP addresses for the instance.
803
872
  # Corresponds to the JSON property `ipAddresses`
804
873
  # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
@@ -809,6 +878,16 @@ module Google
809
878
  # @return [String]
810
879
  attr_accessor :kind
811
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
+
812
891
  # Whether PSC connectivity is enabled for this instance.
813
892
  # Corresponds to the JSON property `pscEnabled`
814
893
  # @return [Boolean]
@@ -841,8 +920,11 @@ module Google
841
920
  @custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
842
921
  @database_version = args[:database_version] if args.key?(:database_version)
843
922
  @dns_name = args[:dns_name] if args.key?(:dns_name)
923
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
844
924
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
845
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)
846
928
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
847
929
  @region = args[:region] if args.key?(:region)
848
930
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
@@ -850,6 +932,95 @@ module Google
850
932
  end
851
933
  end
852
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
+
853
1024
  # Data cache configurations.
854
1025
  class DataCacheConfig
855
1026
  include Google::Apis::Core::Hashable
@@ -1031,6 +1202,11 @@ module Google
1031
1202
  # @return [String]
1032
1203
  attr_accessor :dns_name
1033
1204
 
1205
+ # Output only. The list of DNS names used by this instance.
1206
+ # Corresponds to the JSON property `dnsNames`
1207
+ # @return [Array<Google::Apis::SqladminV1beta4::DnsNameMapping>]
1208
+ attr_accessor :dns_names
1209
+
1034
1210
  # This field is deprecated and will be removed from a future version of the API.
1035
1211
  # Use the `settings.settingsVersion` field instead.
1036
1212
  # Corresponds to the JSON property `etag`
@@ -1104,6 +1280,16 @@ module Google
1104
1280
  # @return [String]
1105
1281
  attr_accessor :name
1106
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
+
1107
1293
  # On-premises instance configuration.
1108
1294
  # Corresponds to the JSON property `onPremisesConfiguration`
1109
1295
  # @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
@@ -1267,6 +1453,7 @@ module Google
1267
1453
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
1268
1454
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
1269
1455
  @dns_name = args[:dns_name] if args.key?(:dns_name)
1456
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
1270
1457
  @etag = args[:etag] if args.key?(:etag)
1271
1458
  @failover_replica = args[:failover_replica] if args.key?(:failover_replica)
1272
1459
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
@@ -1280,6 +1467,8 @@ module Google
1280
1467
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
1281
1468
  @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
1282
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)
1283
1472
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
1284
1473
  @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
1285
1474
  @primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
@@ -1606,6 +1795,37 @@ module Google
1606
1795
  end
1607
1796
  end
1608
1797
 
1798
+ # DNS metadata.
1799
+ class DnsNameMapping
1800
+ include Google::Apis::Core::Hashable
1801
+
1802
+ # Output only. The connection type of the DNS name.
1803
+ # Corresponds to the JSON property `connectionType`
1804
+ # @return [String]
1805
+ attr_accessor :connection_type
1806
+
1807
+ # Output only. The scope that the DNS name applies to.
1808
+ # Corresponds to the JSON property `dnsScope`
1809
+ # @return [String]
1810
+ attr_accessor :dns_scope
1811
+
1812
+ # The DNS name.
1813
+ # Corresponds to the JSON property `name`
1814
+ # @return [String]
1815
+ attr_accessor :name
1816
+
1817
+ def initialize(**args)
1818
+ update!(**args)
1819
+ end
1820
+
1821
+ # Update properties of this object
1822
+ def update!(**args)
1823
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
1824
+ @dns_scope = args[:dns_scope] if args.key?(:dns_scope)
1825
+ @name = args[:name] if args.key?(:name)
1826
+ end
1827
+ end
1828
+
1609
1829
  # A generic empty message that you can re-use to avoid defining duplicated empty
1610
1830
  # messages in your APIs. A typical example is to use it as the request or the
1611
1831
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1640,11 +1860,14 @@ module Google
1640
1860
  # database is specified, all databases are exported, except for the `mysql`
1641
1861
  # system database. If `fileType` is `CSV`, you can specify one database, either
1642
1862
  # by using this property or by using the `csvExportOptions.selectQuery` property,
1643
- # which takes precedence over this property. `PostgreSQL instances:` You must
1644
- # specify one database to be exported. If `fileType` is `CSV`, this database
1645
- # must match the one specified in the `csvExportOptions.selectQuery` property. `
1646
- # SQL Server instances:` You must specify one database to be exported, and the `
1647
- # fileType` must be `BAK`.
1863
+ # which takes precedence over this property. `PostgreSQL instances:` If you don'
1864
+ # t specify a database by name, all user databases in the instance are exported.
1865
+ # This excludes system databases and Cloud SQL databases used to manage internal
1866
+ # operations. Exporting all user databases is only available for directory-
1867
+ # formatted parallel export. If `fileType` is `CSV`, this database must match
1868
+ # the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
1869
+ # instances:` You must specify one database to be exported, and the `fileType`
1870
+ # must be `BAK`.
1648
1871
  # Corresponds to the JSON property `databases`
1649
1872
  # @return [Array<String>]
1650
1873
  attr_accessor :databases
@@ -2032,6 +2255,11 @@ module Google
2032
2255
  # @return [Array<String>]
2033
2256
  attr_accessor :applies_to
2034
2257
 
2258
+ # Scope of flag.
2259
+ # Corresponds to the JSON property `flagScope`
2260
+ # @return [String]
2261
+ attr_accessor :flag_scope
2262
+
2035
2263
  # Whether or not the flag is considered in beta.
2036
2264
  # Corresponds to the JSON property `inBeta`
2037
2265
  # @return [Boolean]
@@ -2059,6 +2287,16 @@ module Google
2059
2287
  # @return [String]
2060
2288
  attr_accessor :name
2061
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
+
2062
2300
  # Indicates whether changing this flag will trigger a database restart. Only
2063
2301
  # applicable to Second Generation instances.
2064
2302
  # Corresponds to the JSON property `requiresRestart`
@@ -2082,11 +2320,14 @@ module Google
2082
2320
  @allowed_int_values = args[:allowed_int_values] if args.key?(:allowed_int_values)
2083
2321
  @allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
2084
2322
  @applies_to = args[:applies_to] if args.key?(:applies_to)
2323
+ @flag_scope = args[:flag_scope] if args.key?(:flag_scope)
2085
2324
  @in_beta = args[:in_beta] if args.key?(:in_beta)
2086
2325
  @kind = args[:kind] if args.key?(:kind)
2087
2326
  @max_value = args[:max_value] if args.key?(:max_value)
2088
2327
  @min_value = args[:min_value] if args.key?(:min_value)
2089
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)
2090
2331
  @requires_restart = args[:requires_restart] if args.key?(:requires_restart)
2091
2332
  @type = args[:type] if args.key?(:type)
2092
2333
  end
@@ -2244,8 +2485,10 @@ module Google
2244
2485
 
2245
2486
  # The target database for the import. If `fileType` is `SQL`, this field is
2246
2487
  # required only if the import file does not specify a database, and is
2247
- # overridden by any database specification in the import file. If `fileType` is `
2248
- # CSV`, one database must be specified.
2488
+ # overridden by any database specification in the import file. For entire
2489
+ # instance parallel import operations, the database is overridden by the
2490
+ # database name stored in subdirectory name. If `fileType` is `CSV`, one
2491
+ # database must be specified.
2249
2492
  # Corresponds to the JSON property `database`
2250
2493
  # @return [String]
2251
2494
  attr_accessor :database
@@ -3105,8 +3348,8 @@ module Google
3105
3348
  attr_accessor :server_ca_mode
3106
3349
 
3107
3350
  # Optional. The resource name of the server CA pool for an instance with `
3108
- # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects//locations//
3109
- # caPools/
3351
+ # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/`PROJECT`/
3352
+ # locations/`REGION`/caPools/`CA_POOL_ID`
3110
3353
  # Corresponds to the JSON property `serverCaPool`
3111
3354
  # @return [String]
3112
3355
  attr_accessor :server_ca_pool
@@ -3875,6 +4118,57 @@ module Google
3875
4118
  end
3876
4119
  end
3877
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
+
3878
4172
  # Settings for an automatically-setup Private Service Connect consumer endpoint
3879
4173
  # that is used to connect to a Cloud SQL instance.
3880
4174
  class PscAutoConnectionConfig
@@ -4236,6 +4530,11 @@ module Google
4236
4530
  # @return [String]
4237
4531
  attr_accessor :collation
4238
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
+
4239
4538
  # Specifies if connections must use Cloud SQL connectors. Option values include
4240
4539
  # the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
4241
4540
  # Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
@@ -4260,6 +4559,18 @@ module Google
4260
4559
  # @return [Google::Apis::SqladminV1beta4::DataCacheConfig]
4261
4560
  attr_accessor :data_cache_config
4262
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
+
4263
4574
  # The size of data disk, in GB. The data disk size minimum is 10GB.
4264
4575
  # Corresponds to the JSON property `dataDiskSizeGb`
4265
4576
  # @return [Fixnum]
@@ -4369,6 +4680,15 @@ module Google
4369
4680
  # @return [String]
4370
4681
  attr_accessor :replication_type
4371
4682
 
4683
+ # Optional. When this parameter is set to true, Cloud SQL retains backups of the
4684
+ # instance even after the instance is deleted. The ON_DEMAND backup will be
4685
+ # retained until customer deletes the backup or the project. The AUTOMATED
4686
+ # backup will be retained based on the backups retention setting.
4687
+ # Corresponds to the JSON property `retainBackupsOnDelete`
4688
+ # @return [Boolean]
4689
+ attr_accessor :retain_backups_on_delete
4690
+ alias_method :retain_backups_on_delete?, :retain_backups_on_delete
4691
+
4372
4692
  # The version of instance settings. This is a required field for update method
4373
4693
  # to make sure concurrent updates are handled properly. During update, use the
4374
4694
  # most recent settingsVersion value for this instance and do not try to update
@@ -4425,9 +4745,12 @@ module Google
4425
4745
  @availability_type = args[:availability_type] if args.key?(:availability_type)
4426
4746
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
4427
4747
  @collation = args[:collation] if args.key?(:collation)
4748
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
4428
4749
  @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
4429
4750
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
4430
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)
4431
4754
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
4432
4755
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
4433
4756
  @database_flags = args[:database_flags] if args.key?(:database_flags)
@@ -4446,6 +4769,7 @@ module Google
4446
4769
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
4447
4770
  @replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
4448
4771
  @replication_type = args[:replication_type] if args.key?(:replication_type)
4772
+ @retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
4449
4773
  @settings_version = args[:settings_version] if args.key?(:settings_version)
4450
4774
  @sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
4451
4775
  @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize)
@@ -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.78.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 = "20250216"
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
 
@@ -190,6 +208,12 @@ module Google
190
208
  include Google::Apis::Core::JsonObjectSupport
191
209
  end
192
210
 
211
+ class DnsNameMapping
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class Empty
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -526,6 +550,12 @@ module Google
526
550
  include Google::Apis::Core::JsonObjectSupport
527
551
  end
528
552
 
553
+ class PoolNodeConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
529
559
  class PscAutoConnectionConfig
530
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
561
 
@@ -818,11 +848,15 @@ module Google
818
848
 
819
849
  property :backup_kind, as: 'backupKind'
820
850
  property :backup_run, as: 'backupRun'
851
+ property :database_version, as: 'databaseVersion'
821
852
  property :description, as: 'description'
822
853
  property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
823
854
 
824
855
  property :expiry_time, as: 'expiryTime'
825
856
  property :instance, as: 'instance'
857
+ property :instance_deletion_time, as: 'instanceDeletionTime'
858
+ property :instance_settings, as: 'instanceSettings', class: Google::Apis::SqladminV1beta4::DatabaseInstance, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
859
+
826
860
  property :kind, as: 'kind'
827
861
  property :kms_key, as: 'kmsKey'
828
862
  property :kms_key_version, as: 'kmsKeyVersion'
@@ -885,6 +919,7 @@ module Google
885
919
  # @private
886
920
  class Representation < Google::Apis::Core::JsonRepresentation
887
921
  property :backup_kind, as: 'backupKind'
922
+ property :database_version, as: 'databaseVersion'
888
923
  property :description, as: 'description'
889
924
  property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
890
925
 
@@ -943,6 +978,18 @@ module Google
943
978
  end
944
979
  end
945
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
+
946
993
  class ConnectSettings
947
994
  # @private
948
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -950,9 +997,14 @@ module Google
950
997
  collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
951
998
  property :database_version, as: 'databaseVersion'
952
999
  property :dns_name, as: 'dnsName'
1000
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
1001
+
953
1002
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
954
1003
 
955
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
+
956
1008
  property :psc_enabled, as: 'pscEnabled'
957
1009
  property :region, as: 'region'
958
1010
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
@@ -961,6 +1013,29 @@ module Google
961
1013
  end
962
1014
  end
963
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
+
964
1039
  class DataCacheConfig
965
1040
  # @private
966
1041
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,6 +1082,8 @@ module Google
1007
1082
  property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionStatus::Representation
1008
1083
 
1009
1084
  property :dns_name, as: 'dnsName'
1085
+ collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1beta4::DnsNameMapping, decorator: Google::Apis::SqladminV1beta4::DnsNameMapping::Representation
1086
+
1010
1087
  property :etag, as: 'etag'
1011
1088
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
1012
1089
 
@@ -1023,6 +1100,9 @@ module Google
1023
1100
  property :master_instance_name, as: 'masterInstanceName'
1024
1101
  property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
1025
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
+
1026
1106
  property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation
1027
1107
 
1028
1108
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport::Representation
@@ -1142,6 +1222,15 @@ module Google
1142
1222
  end
1143
1223
  end
1144
1224
 
1225
+ class DnsNameMapping
1226
+ # @private
1227
+ class Representation < Google::Apis::Core::JsonRepresentation
1228
+ property :connection_type, as: 'connectionType'
1229
+ property :dns_scope, as: 'dnsScope'
1230
+ property :name, as: 'name'
1231
+ end
1232
+ end
1233
+
1145
1234
  class Empty
1146
1235
  # @private
1147
1236
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,11 +1340,14 @@ module Google
1251
1340
  collection :allowed_int_values, as: 'allowedIntValues'
1252
1341
  collection :allowed_string_values, as: 'allowedStringValues'
1253
1342
  collection :applies_to, as: 'appliesTo'
1343
+ property :flag_scope, as: 'flagScope'
1254
1344
  property :in_beta, as: 'inBeta'
1255
1345
  property :kind, as: 'kind'
1256
1346
  property :max_value, :numeric_string => true, as: 'maxValue'
1257
1347
  property :min_value, :numeric_string => true, as: 'minValue'
1258
1348
  property :name, as: 'name'
1349
+ property :recommended_int_value, :numeric_string => true, as: 'recommendedIntValue'
1350
+ property :recommended_string_value, as: 'recommendedStringValue'
1259
1351
  property :requires_restart, as: 'requiresRestart'
1260
1352
  property :type, as: 'type'
1261
1353
  end
@@ -1748,6 +1840,20 @@ module Google
1748
1840
  end
1749
1841
  end
1750
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
+
1751
1857
  class PscAutoConnectionConfig
1752
1858
  # @private
1753
1859
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1843,10 +1949,14 @@ module Google
1843
1949
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
1844
1950
 
1845
1951
  property :collation, as: 'collation'
1952
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::SqladminV1beta4::ConnectionPoolConfig, decorator: Google::Apis::SqladminV1beta4::ConnectionPoolConfig::Representation
1953
+
1846
1954
  property :connector_enforcement, as: 'connectorEnforcement'
1847
1955
  property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
1848
1956
  property :data_cache_config, as: 'dataCacheConfig', class: Google::Apis::SqladminV1beta4::DataCacheConfig, decorator: Google::Apis::SqladminV1beta4::DataCacheConfig::Representation
1849
1957
 
1958
+ property :data_disk_provisioned_iops, :numeric_string => true, as: 'dataDiskProvisionedIops'
1959
+ property :data_disk_provisioned_throughput, :numeric_string => true, as: 'dataDiskProvisionedThroughput'
1850
1960
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
1851
1961
  property :data_disk_type, as: 'dataDiskType'
1852
1962
  collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
@@ -1872,6 +1982,7 @@ module Google
1872
1982
  property :pricing_plan, as: 'pricingPlan'
1873
1983
  property :replication_lag_max_seconds, as: 'replicationLagMaxSeconds'
1874
1984
  property :replication_type, as: 'replicationType'
1985
+ property :retain_backups_on_delete, as: 'retainBackupsOnDelete'
1875
1986
  property :settings_version, :numeric_string => true, as: 'settingsVersion'
1876
1987
  property :sql_server_audit_config, as: 'sqlServerAuditConfig', class: Google::Apis::SqladminV1beta4::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1beta4::SqlServerAuditConfig::Representation
1877
1988
 
@@ -306,7 +306,9 @@ module Google
306
306
  # project`
307
307
  # @param [String] filter
308
308
  # Multiple filter queries are separated by spaces. For example, 'instance:abc
309
- # type:FINAL. You can filter by type, instance name, creation time, or location.
309
+ # AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.
310
+ # 771Z'. You can filter by type, instance, backupInterval.startTime (creation
311
+ # time), or location.
310
312
  # @param [Fixnum] page_size
311
313
  # The maximum number of backups to return per response. The service might return
312
314
  # fewer backups than this value. If a value for this parameter isn't specified,
@@ -686,6 +688,9 @@ module Google
686
688
  # @param [String] database_version
687
689
  # Database type and version you want to retrieve flags for. By default, this
688
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.
689
694
  # @param [String] fields
690
695
  # Selector specifying which fields to include in a partial response.
691
696
  # @param [String] quota_user
@@ -703,11 +708,12 @@ module Google
703
708
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
704
709
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
710
  # @raise [Google::Apis::AuthorizationError] Authorization is required
706
- 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)
707
712
  command = make_simple_command(:get, 'sql/v1beta4/flags', options)
708
713
  command.response_representation = Google::Apis::SqladminV1beta4::ListFlagsResponse::Representation
709
714
  command.response_class = Google::Apis::SqladminV1beta4::ListFlagsResponse
710
715
  command.query['databaseVersion'] = database_version unless database_version.nil?
716
+ command.query['flagScope'] = flag_scope unless flag_scope.nil?
711
717
  command.query['fields'] = fields unless fields.nil?
712
718
  command.query['quotaUser'] = quota_user unless quota_user.nil?
713
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.78.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-02 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.78.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: