google-apis-sqladmin_v1 0.73.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: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0679c6ac0400b5d951ea8099d697db6d54557dd7df5579cb31d2b83ef81cf7ea'
|
4
|
+
data.tar.gz: 230af41f3d2f85a04c3e3f5886e7cfba9dd43a007a0c0ddf6b2137f136355814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a59ffd98266fe94c42cd7d854d2ce272f5579d455ad7a61abd09c272d5a962eee31d019908082a1cbadd51cb7fe7d392e898104f8150e1bb0d19757e6801c76e
|
7
|
+
data.tar.gz: 4d379fcf41a93846ab6562ddfc2ed547ae0783225e7a5ba6c60ff5a1fd86929e5be5389ccf829bb18d36e9ea04abb657bcd572da9bf201ead814846680f96b7b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.74.0 (2025-03-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250226
|
10
|
+
|
3
11
|
### v0.73.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::SqladminV1::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)
|
@@ -767,6 +793,44 @@ module Google
|
|
767
793
|
end
|
768
794
|
end
|
769
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
|
+
|
770
834
|
# Connect settings retrieval response.
|
771
835
|
class ConnectSettings
|
772
836
|
include Google::Apis::Core::Hashable
|
@@ -800,6 +864,11 @@ module Google
|
|
800
864
|
# @return [String]
|
801
865
|
attr_accessor :dns_name
|
802
866
|
|
867
|
+
# Output only. The list of DNS names used by this instance.
|
868
|
+
# Corresponds to the JSON property `dnsNames`
|
869
|
+
# @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
|
870
|
+
attr_accessor :dns_names
|
871
|
+
|
803
872
|
# The assigned IP addresses for the instance.
|
804
873
|
# Corresponds to the JSON property `ipAddresses`
|
805
874
|
# @return [Array<Google::Apis::SqladminV1::IpMapping>]
|
@@ -810,6 +879,16 @@ module Google
|
|
810
879
|
# @return [String]
|
811
880
|
attr_accessor :kind
|
812
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
|
+
|
813
892
|
# Whether PSC connectivity is enabled for this instance.
|
814
893
|
# Corresponds to the JSON property `pscEnabled`
|
815
894
|
# @return [Boolean]
|
@@ -842,8 +921,11 @@ module Google
|
|
842
921
|
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
|
843
922
|
@database_version = args[:database_version] if args.key?(:database_version)
|
844
923
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
924
|
+
@dns_names = args[:dns_names] if args.key?(:dns_names)
|
845
925
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
846
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)
|
847
929
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
848
930
|
@region = args[:region] if args.key?(:region)
|
849
931
|
@server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
|
@@ -851,6 +933,95 @@ module Google
|
|
851
933
|
end
|
852
934
|
end
|
853
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
|
+
|
854
1025
|
# Data cache configurations.
|
855
1026
|
class DataCacheConfig
|
856
1027
|
include Google::Apis::Core::Hashable
|
@@ -1032,6 +1203,11 @@ module Google
|
|
1032
1203
|
# @return [String]
|
1033
1204
|
attr_accessor :dns_name
|
1034
1205
|
|
1206
|
+
# Output only. The list of DNS names used by this instance.
|
1207
|
+
# Corresponds to the JSON property `dnsNames`
|
1208
|
+
# @return [Array<Google::Apis::SqladminV1::DnsNameMapping>]
|
1209
|
+
attr_accessor :dns_names
|
1210
|
+
|
1035
1211
|
# This field is deprecated and will be removed from a future version of the API.
|
1036
1212
|
# Use the `settings.settingsVersion` field instead.
|
1037
1213
|
# Corresponds to the JSON property `etag`
|
@@ -1105,6 +1281,16 @@ module Google
|
|
1105
1281
|
# @return [String]
|
1106
1282
|
attr_accessor :name
|
1107
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
|
+
|
1108
1294
|
# On-premises instance configuration.
|
1109
1295
|
# Corresponds to the JSON property `onPremisesConfiguration`
|
1110
1296
|
# @return [Google::Apis::SqladminV1::OnPremisesConfiguration]
|
@@ -1269,6 +1455,7 @@ module Google
|
|
1269
1455
|
@disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
|
1270
1456
|
@disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
|
1271
1457
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
1458
|
+
@dns_names = args[:dns_names] if args.key?(:dns_names)
|
1272
1459
|
@etag = args[:etag] if args.key?(:etag)
|
1273
1460
|
@failover_replica = args[:failover_replica] if args.key?(:failover_replica)
|
1274
1461
|
@gce_zone = args[:gce_zone] if args.key?(:gce_zone)
|
@@ -1282,6 +1469,8 @@ module Google
|
|
1282
1469
|
@master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
|
1283
1470
|
@max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
|
1284
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)
|
1285
1474
|
@on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
|
1286
1475
|
@out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
|
1287
1476
|
@primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
|
@@ -1608,6 +1797,37 @@ module Google
|
|
1608
1797
|
end
|
1609
1798
|
end
|
1610
1799
|
|
1800
|
+
# DNS metadata.
|
1801
|
+
class DnsNameMapping
|
1802
|
+
include Google::Apis::Core::Hashable
|
1803
|
+
|
1804
|
+
# Output only. The connection type of the DNS name.
|
1805
|
+
# Corresponds to the JSON property `connectionType`
|
1806
|
+
# @return [String]
|
1807
|
+
attr_accessor :connection_type
|
1808
|
+
|
1809
|
+
# Output only. The scope that the DNS name applies to.
|
1810
|
+
# Corresponds to the JSON property `dnsScope`
|
1811
|
+
# @return [String]
|
1812
|
+
attr_accessor :dns_scope
|
1813
|
+
|
1814
|
+
# The DNS name.
|
1815
|
+
# Corresponds to the JSON property `name`
|
1816
|
+
# @return [String]
|
1817
|
+
attr_accessor :name
|
1818
|
+
|
1819
|
+
def initialize(**args)
|
1820
|
+
update!(**args)
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
# Update properties of this object
|
1824
|
+
def update!(**args)
|
1825
|
+
@connection_type = args[:connection_type] if args.key?(:connection_type)
|
1826
|
+
@dns_scope = args[:dns_scope] if args.key?(:dns_scope)
|
1827
|
+
@name = args[:name] if args.key?(:name)
|
1828
|
+
end
|
1829
|
+
end
|
1830
|
+
|
1611
1831
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1612
1832
|
# messages in your APIs. A typical example is to use it as the request or the
|
1613
1833
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1642,11 +1862,14 @@ module Google
|
|
1642
1862
|
# database is specified, all databases are exported, except for the `mysql`
|
1643
1863
|
# system database. If `fileType` is `CSV`, you can specify one database, either
|
1644
1864
|
# by using this property or by using the `csvExportOptions.selectQuery` property,
|
1645
|
-
# which takes precedence over this property. `PostgreSQL instances:`
|
1646
|
-
# specify
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
# fileType` must
|
1865
|
+
# which takes precedence over this property. `PostgreSQL instances:` If you don'
|
1866
|
+
# t specify a database by name, all user databases in the instance are exported.
|
1867
|
+
# This excludes system databases and Cloud SQL databases used to manage internal
|
1868
|
+
# operations. Exporting all user databases is only available for directory-
|
1869
|
+
# formatted parallel export. If `fileType` is `CSV`, this database must match
|
1870
|
+
# the one specified in the `csvExportOptions.selectQuery` property. `SQL Server
|
1871
|
+
# instances:` You must specify one database to be exported, and the `fileType`
|
1872
|
+
# must be `BAK`.
|
1650
1873
|
# Corresponds to the JSON property `databases`
|
1651
1874
|
# @return [Array<String>]
|
1652
1875
|
attr_accessor :databases
|
@@ -2034,6 +2257,11 @@ module Google
|
|
2034
2257
|
# @return [Array<String>]
|
2035
2258
|
attr_accessor :applies_to
|
2036
2259
|
|
2260
|
+
# Scope of flag.
|
2261
|
+
# Corresponds to the JSON property `flagScope`
|
2262
|
+
# @return [String]
|
2263
|
+
attr_accessor :flag_scope
|
2264
|
+
|
2037
2265
|
# Whether or not the flag is considered in beta.
|
2038
2266
|
# Corresponds to the JSON property `inBeta`
|
2039
2267
|
# @return [Boolean]
|
@@ -2061,6 +2289,16 @@ module Google
|
|
2061
2289
|
# @return [String]
|
2062
2290
|
attr_accessor :name
|
2063
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
|
+
|
2064
2302
|
# Indicates whether changing this flag will trigger a database restart. Only
|
2065
2303
|
# applicable to Second Generation instances.
|
2066
2304
|
# Corresponds to the JSON property `requiresRestart`
|
@@ -2084,11 +2322,14 @@ module Google
|
|
2084
2322
|
@allowed_int_values = args[:allowed_int_values] if args.key?(:allowed_int_values)
|
2085
2323
|
@allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
|
2086
2324
|
@applies_to = args[:applies_to] if args.key?(:applies_to)
|
2325
|
+
@flag_scope = args[:flag_scope] if args.key?(:flag_scope)
|
2087
2326
|
@in_beta = args[:in_beta] if args.key?(:in_beta)
|
2088
2327
|
@kind = args[:kind] if args.key?(:kind)
|
2089
2328
|
@max_value = args[:max_value] if args.key?(:max_value)
|
2090
2329
|
@min_value = args[:min_value] if args.key?(:min_value)
|
2091
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)
|
2092
2333
|
@requires_restart = args[:requires_restart] if args.key?(:requires_restart)
|
2093
2334
|
@type = args[:type] if args.key?(:type)
|
2094
2335
|
end
|
@@ -2246,8 +2487,10 @@ module Google
|
|
2246
2487
|
|
2247
2488
|
# The target database for the import. If `fileType` is `SQL`, this field is
|
2248
2489
|
# required only if the import file does not specify a database, and is
|
2249
|
-
# overridden by any database specification in the import file.
|
2250
|
-
#
|
2490
|
+
# overridden by any database specification in the import file. For entire
|
2491
|
+
# instance parallel import operations, the database is overridden by the
|
2492
|
+
# database name stored in subdirectory name. If `fileType` is `CSV`, one
|
2493
|
+
# database must be specified.
|
2251
2494
|
# Corresponds to the JSON property `database`
|
2252
2495
|
# @return [String]
|
2253
2496
|
attr_accessor :database
|
@@ -3104,8 +3347,8 @@ module Google
|
|
3104
3347
|
attr_accessor :server_ca_mode
|
3105
3348
|
|
3106
3349
|
# Optional. The resource name of the server CA pool for an instance with `
|
3107
|
-
# CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects
|
3108
|
-
# caPools
|
3350
|
+
# CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/`PROJECT`/
|
3351
|
+
# locations/`REGION`/caPools/`CA_POOL_ID`
|
3109
3352
|
# Corresponds to the JSON property `serverCaPool`
|
3110
3353
|
# @return [String]
|
3111
3354
|
attr_accessor :server_ca_pool
|
@@ -3874,6 +4117,57 @@ module Google
|
|
3874
4117
|
end
|
3875
4118
|
end
|
3876
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
|
+
|
3877
4171
|
# Settings for an automatically-setup Private Service Connect consumer endpoint
|
3878
4172
|
# that is used to connect to a Cloud SQL instance.
|
3879
4173
|
class PscAutoConnectionConfig
|
@@ -4235,6 +4529,11 @@ module Google
|
|
4235
4529
|
# @return [String]
|
4236
4530
|
attr_accessor :collation
|
4237
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
|
+
|
4238
4537
|
# Specifies if connections must use Cloud SQL connectors. Option values include
|
4239
4538
|
# the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without
|
4240
4539
|
# Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud
|
@@ -4259,6 +4558,18 @@ module Google
|
|
4259
4558
|
# @return [Google::Apis::SqladminV1::DataCacheConfig]
|
4260
4559
|
attr_accessor :data_cache_config
|
4261
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
|
+
|
4262
4573
|
# The size of data disk, in GB. The data disk size minimum is 10GB.
|
4263
4574
|
# Corresponds to the JSON property `dataDiskSizeGb`
|
4264
4575
|
# @return [Fixnum]
|
@@ -4368,6 +4679,15 @@ module Google
|
|
4368
4679
|
# @return [String]
|
4369
4680
|
attr_accessor :replication_type
|
4370
4681
|
|
4682
|
+
# Optional. When this parameter is set to true, Cloud SQL retains backups of the
|
4683
|
+
# instance even after the instance is deleted. The ON_DEMAND backup will be
|
4684
|
+
# retained until customer deletes the backup or the project. The AUTOMATED
|
4685
|
+
# backup will be retained based on the backups retention setting.
|
4686
|
+
# Corresponds to the JSON property `retainBackupsOnDelete`
|
4687
|
+
# @return [Boolean]
|
4688
|
+
attr_accessor :retain_backups_on_delete
|
4689
|
+
alias_method :retain_backups_on_delete?, :retain_backups_on_delete
|
4690
|
+
|
4371
4691
|
# The version of instance settings. This is a required field for update method
|
4372
4692
|
# to make sure concurrent updates are handled properly. During update, use the
|
4373
4693
|
# most recent settingsVersion value for this instance and do not try to update
|
@@ -4424,9 +4744,12 @@ module Google
|
|
4424
4744
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
4425
4745
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
4426
4746
|
@collation = args[:collation] if args.key?(:collation)
|
4747
|
+
@connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
|
4427
4748
|
@connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
|
4428
4749
|
@crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
|
4429
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)
|
4430
4753
|
@data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
|
4431
4754
|
@data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
|
4432
4755
|
@database_flags = args[:database_flags] if args.key?(:database_flags)
|
@@ -4445,6 +4768,7 @@ module Google
|
|
4445
4768
|
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
|
4446
4769
|
@replication_lag_max_seconds = args[:replication_lag_max_seconds] if args.key?(:replication_lag_max_seconds)
|
4447
4770
|
@replication_type = args[:replication_type] if args.key?(:replication_type)
|
4771
|
+
@retain_backups_on_delete = args[:retain_backups_on_delete] if args.key?(:retain_backups_on_delete)
|
4448
4772
|
@settings_version = args[:settings_version] if args.key?(:settings_version)
|
4449
4773
|
@sql_server_audit_config = args[:sql_server_audit_config] if args.key?(:sql_server_audit_config)
|
4450
4774
|
@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 SqladminV1
|
18
18
|
# Version of the google-apis-sqladmin_v1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
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::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::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::SqladminV1::DatabaseInstance, decorator: Google::Apis::SqladminV1::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::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::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::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
|
+
|
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::SqladminV1::DnsNameMapping, decorator: Google::Apis::SqladminV1::DnsNameMapping::Representation
|
1001
|
+
|
953
1002
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
954
1003
|
|
955
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
|
+
|
956
1008
|
property :psc_enabled, as: 'pscEnabled'
|
957
1009
|
property :region, as: 'region'
|
958
1010
|
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::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::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
|
+
|
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::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
|
1008
1083
|
|
1009
1084
|
property :dns_name, as: 'dnsName'
|
1085
|
+
collection :dns_names, as: 'dnsNames', class: Google::Apis::SqladminV1::DnsNameMapping, decorator: Google::Apis::SqladminV1::DnsNameMapping::Representation
|
1086
|
+
|
1010
1087
|
property :etag, as: 'etag'
|
1011
1088
|
property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::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::SqladminV1::PoolNodeConfig, decorator: Google::Apis::SqladminV1::PoolNodeConfig::Representation
|
1105
|
+
|
1026
1106
|
property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1::OnPremisesConfiguration::Representation
|
1027
1107
|
|
1028
1108
|
property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1::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::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
|
+
|
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::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
|
1844
1950
|
|
1845
1951
|
property :collation, as: 'collation'
|
1952
|
+
property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::SqladminV1::ConnectionPoolConfig, decorator: Google::Apis::SqladminV1::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::SqladminV1::DataCacheConfig, decorator: Google::Apis::SqladminV1::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::SqladminV1::DatabaseFlags, decorator: Google::Apis::SqladminV1::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::SqladminV1::SqlServerAuditConfig, decorator: Google::Apis::SqladminV1::SqlServerAuditConfig::Representation
|
1877
1988
|
|
@@ -154,7 +154,9 @@ module Google
|
|
154
154
|
# project`
|
155
155
|
# @param [String] filter
|
156
156
|
# Multiple filter queries are separated by spaces. For example, 'instance:abc
|
157
|
-
# type:FINAL
|
157
|
+
# AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.
|
158
|
+
# 771Z'. You can filter by type, instance, backupInterval.startTime (creation
|
159
|
+
# time), or location.
|
158
160
|
# @param [Fixnum] page_size
|
159
161
|
# The maximum number of backups to return per response. The service might return
|
160
162
|
# 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, 'v1/flags', options)
|
708
713
|
command.response_representation = Google::Apis::SqladminV1::FlagsListResponse::Representation
|
709
714
|
command.response_class = Google::Apis::SqladminV1::FlagsListResponse
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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.
|
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:
|