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