google-apis-sqladmin_v1beta4 0.73.0 → 0.74.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: 3be3d5f7e41790117d9b7a2546fed35780728edf50eb151506a157bd118bb3f3
|
4
|
+
data.tar.gz: 7852530c499767617adee3673dcb9cb36fd7dcf07636bd4af19b364bec585b88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19a49558b377ebbdcc02b06460f87b680c4dd5e6d68e45e5f9d555f0575e07539ed8e6d3aff71bb18d40e808b36ee5a6b2e9c80a782a3cdcba54fb3cb32325ee
|
7
|
+
data.tar.gz: f4f138fb399fe7f1d6089469f09d99a9c3ab59e40d8b0af80cf92d06abb392c157361dea24fb6acaa8ac4fdbf17c3e21d6af24a08f194d76b2aeff71e1fbd0a6
|
data/CHANGELOG.md
CHANGED
@@ -654,6 +654,11 @@ module Google
|
|
654
654
|
# @return [Google::Apis::SqladminV1beta4::SslCert]
|
655
655
|
attr_accessor :server_ca_cert
|
656
656
|
|
657
|
+
# Specify what type of CA is used for the server certificate.
|
658
|
+
# Corresponds to the JSON property `serverCaMode`
|
659
|
+
# @return [String]
|
660
|
+
attr_accessor :server_ca_mode
|
661
|
+
|
657
662
|
def initialize(**args)
|
658
663
|
update!(**args)
|
659
664
|
end
|
@@ -668,6 +673,7 @@ module Google
|
|
668
673
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
669
674
|
@region = args[:region] if args.key?(:region)
|
670
675
|
@server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
|
676
|
+
@server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
|
671
677
|
end
|
672
678
|
end
|
673
679
|
|
@@ -1030,6 +1036,13 @@ module Google
|
|
1030
1036
|
# @return [Array<String>]
|
1031
1037
|
attr_accessor :suspension_reason
|
1032
1038
|
|
1039
|
+
# Input only. Whether Cloud SQL is enabled to switch storing point-in-time
|
1040
|
+
# recovery log files from a data disk to Cloud Storage.
|
1041
|
+
# Corresponds to the JSON property `switchTransactionLogsToCloudStorageEnabled`
|
1042
|
+
# @return [Boolean]
|
1043
|
+
attr_accessor :switch_transaction_logs_to_cloud_storage_enabled
|
1044
|
+
alias_method :switch_transaction_logs_to_cloud_storage_enabled?, :switch_transaction_logs_to_cloud_storage_enabled
|
1045
|
+
|
1033
1046
|
# Output only. All database versions that are available for upgrade.
|
1034
1047
|
# Corresponds to the JSON property `upgradableDatabaseVersions`
|
1035
1048
|
# @return [Array<Google::Apis::SqladminV1beta4::AvailableDatabaseVersion>]
|
@@ -1088,6 +1101,7 @@ module Google
|
|
1088
1101
|
@sql_network_architecture = args[:sql_network_architecture] if args.key?(:sql_network_architecture)
|
1089
1102
|
@state = args[:state] if args.key?(:state)
|
1090
1103
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
1104
|
+
@switch_transaction_logs_to_cloud_storage_enabled = args[:switch_transaction_logs_to_cloud_storage_enabled] if args.key?(:switch_transaction_logs_to_cloud_storage_enabled)
|
1091
1105
|
@upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
|
1092
1106
|
@write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
|
1093
1107
|
end
|
@@ -1589,6 +1603,11 @@ module Google
|
|
1589
1603
|
attr_accessor :parallel
|
1590
1604
|
alias_method :parallel?, :parallel
|
1591
1605
|
|
1606
|
+
# Options for exporting from a Cloud SQL for PostgreSQL instance.
|
1607
|
+
# Corresponds to the JSON property `postgresExportOptions`
|
1608
|
+
# @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::PostgresExportOptions]
|
1609
|
+
attr_accessor :postgres_export_options
|
1610
|
+
|
1592
1611
|
# Export only schemas.
|
1593
1612
|
# Corresponds to the JSON property `schemaOnly`
|
1594
1613
|
# @return [Boolean]
|
@@ -1615,6 +1634,7 @@ module Google
|
|
1615
1634
|
def update!(**args)
|
1616
1635
|
@mysql_export_options = args[:mysql_export_options] if args.key?(:mysql_export_options)
|
1617
1636
|
@parallel = args[:parallel] if args.key?(:parallel)
|
1637
|
+
@postgres_export_options = args[:postgres_export_options] if args.key?(:postgres_export_options)
|
1618
1638
|
@schema_only = args[:schema_only] if args.key?(:schema_only)
|
1619
1639
|
@tables = args[:tables] if args.key?(:tables)
|
1620
1640
|
@threads = args[:threads] if args.key?(:threads)
|
@@ -1642,6 +1662,35 @@ module Google
|
|
1642
1662
|
@master_data = args[:master_data] if args.key?(:master_data)
|
1643
1663
|
end
|
1644
1664
|
end
|
1665
|
+
|
1666
|
+
# Options for exporting from a Cloud SQL for PostgreSQL instance.
|
1667
|
+
class PostgresExportOptions
|
1668
|
+
include Google::Apis::Core::Hashable
|
1669
|
+
|
1670
|
+
# Optional. Use this option to include DROP SQL statements. These statements are
|
1671
|
+
# used to delete database objects before running the import operation.
|
1672
|
+
# Corresponds to the JSON property `clean`
|
1673
|
+
# @return [Boolean]
|
1674
|
+
attr_accessor :clean
|
1675
|
+
alias_method :clean?, :clean
|
1676
|
+
|
1677
|
+
# Optional. Option to include an IF EXISTS SQL statement with each DROP
|
1678
|
+
# statement produced by clean.
|
1679
|
+
# Corresponds to the JSON property `ifExists`
|
1680
|
+
# @return [Boolean]
|
1681
|
+
attr_accessor :if_exists
|
1682
|
+
alias_method :if_exists?, :if_exists
|
1683
|
+
|
1684
|
+
def initialize(**args)
|
1685
|
+
update!(**args)
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
# Update properties of this object
|
1689
|
+
def update!(**args)
|
1690
|
+
@clean = args[:clean] if args.key?(:clean)
|
1691
|
+
@if_exists = args[:if_exists] if args.key?(:if_exists)
|
1692
|
+
end
|
1693
|
+
end
|
1645
1694
|
end
|
1646
1695
|
end
|
1647
1696
|
|
@@ -2127,6 +2176,11 @@ module Google
|
|
2127
2176
|
attr_accessor :parallel
|
2128
2177
|
alias_method :parallel?, :parallel
|
2129
2178
|
|
2179
|
+
# Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
|
2180
|
+
# Corresponds to the JSON property `postgresImportOptions`
|
2181
|
+
# @return [Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions::PostgresImportOptions]
|
2182
|
+
attr_accessor :postgres_import_options
|
2183
|
+
|
2130
2184
|
# Optional. The number of threads to use for parallel import.
|
2131
2185
|
# Corresponds to the JSON property `threads`
|
2132
2186
|
# @return [Fixnum]
|
@@ -2139,8 +2193,38 @@ module Google
|
|
2139
2193
|
# Update properties of this object
|
2140
2194
|
def update!(**args)
|
2141
2195
|
@parallel = args[:parallel] if args.key?(:parallel)
|
2196
|
+
@postgres_import_options = args[:postgres_import_options] if args.key?(:postgres_import_options)
|
2142
2197
|
@threads = args[:threads] if args.key?(:threads)
|
2143
2198
|
end
|
2199
|
+
|
2200
|
+
# Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
|
2201
|
+
class PostgresImportOptions
|
2202
|
+
include Google::Apis::Core::Hashable
|
2203
|
+
|
2204
|
+
# Optional. The --clean flag for the pg_restore utility. This flag applies only
|
2205
|
+
# if you enabled Cloud SQL to import files in parallel.
|
2206
|
+
# Corresponds to the JSON property `clean`
|
2207
|
+
# @return [Boolean]
|
2208
|
+
attr_accessor :clean
|
2209
|
+
alias_method :clean?, :clean
|
2210
|
+
|
2211
|
+
# Optional. The --if-exists flag for the pg_restore utility. This flag applies
|
2212
|
+
# only if you enabled Cloud SQL to import files in parallel.
|
2213
|
+
# Corresponds to the JSON property `ifExists`
|
2214
|
+
# @return [Boolean]
|
2215
|
+
attr_accessor :if_exists
|
2216
|
+
alias_method :if_exists?, :if_exists
|
2217
|
+
|
2218
|
+
def initialize(**args)
|
2219
|
+
update!(**args)
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
# Update properties of this object
|
2223
|
+
def update!(**args)
|
2224
|
+
@clean = args[:clean] if args.key?(:clean)
|
2225
|
+
@if_exists = args[:if_exists] if args.key?(:if_exists)
|
2226
|
+
end
|
2227
|
+
end
|
2144
2228
|
end
|
2145
2229
|
end
|
2146
2230
|
|
@@ -2567,6 +2651,11 @@ module Google
|
|
2567
2651
|
attr_accessor :require_ssl
|
2568
2652
|
alias_method :require_ssl?, :require_ssl
|
2569
2653
|
|
2654
|
+
# Specify what type of CA is used for the server certificate.
|
2655
|
+
# Corresponds to the JSON property `serverCaMode`
|
2656
|
+
# @return [String]
|
2657
|
+
attr_accessor :server_ca_mode
|
2658
|
+
|
2570
2659
|
# Specify how SSL/TLS is enforced in database connections. If you must use the `
|
2571
2660
|
# require_ssl` flag for backward compatibility, then only the following value
|
2572
2661
|
# pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
|
@@ -2597,6 +2686,7 @@ module Google
|
|
2597
2686
|
@private_network = args[:private_network] if args.key?(:private_network)
|
2598
2687
|
@psc_config = args[:psc_config] if args.key?(:psc_config)
|
2599
2688
|
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
2689
|
+
@server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
|
2600
2690
|
@ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
|
2601
2691
|
end
|
2602
2692
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.74.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -213,6 +213,12 @@ module Google
|
|
213
213
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
|
+
|
217
|
+
class PostgresExportOptions
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
216
222
|
|
217
223
|
include Google::Apis::Core::JsonObjectSupport
|
218
224
|
end
|
@@ -279,6 +285,12 @@ module Google
|
|
279
285
|
|
280
286
|
class SqlImportOptions
|
281
287
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
288
|
+
|
289
|
+
class PostgresImportOptions
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
282
294
|
|
283
295
|
include Google::Apis::Core::JsonObjectSupport
|
284
296
|
end
|
@@ -841,6 +853,7 @@ module Google
|
|
841
853
|
property :region, as: 'region'
|
842
854
|
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
843
855
|
|
856
|
+
property :server_ca_mode, as: 'serverCaMode'
|
844
857
|
end
|
845
858
|
end
|
846
859
|
|
@@ -932,6 +945,7 @@ module Google
|
|
932
945
|
property :sql_network_architecture, as: 'sqlNetworkArchitecture'
|
933
946
|
property :state, as: 'state'
|
934
947
|
collection :suspension_reason, as: 'suspensionReason'
|
948
|
+
property :switch_transaction_logs_to_cloud_storage_enabled, as: 'switchTransactionLogsToCloudStorageEnabled'
|
935
949
|
collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion::Representation
|
936
950
|
|
937
951
|
property :write_endpoint, as: 'writeEndpoint'
|
@@ -1071,6 +1085,8 @@ module Google
|
|
1071
1085
|
property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
|
1072
1086
|
|
1073
1087
|
property :parallel, as: 'parallel'
|
1088
|
+
property :postgres_export_options, as: 'postgresExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::PostgresExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::PostgresExportOptions::Representation
|
1089
|
+
|
1074
1090
|
property :schema_only, as: 'schemaOnly'
|
1075
1091
|
collection :tables, as: 'tables'
|
1076
1092
|
property :threads, as: 'threads'
|
@@ -1082,6 +1098,14 @@ module Google
|
|
1082
1098
|
property :master_data, as: 'masterData'
|
1083
1099
|
end
|
1084
1100
|
end
|
1101
|
+
|
1102
|
+
class PostgresExportOptions
|
1103
|
+
# @private
|
1104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1105
|
+
property :clean, as: 'clean'
|
1106
|
+
property :if_exists, as: 'ifExists'
|
1107
|
+
end
|
1108
|
+
end
|
1085
1109
|
end
|
1086
1110
|
end
|
1087
1111
|
|
@@ -1203,8 +1227,18 @@ module Google
|
|
1203
1227
|
# @private
|
1204
1228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1205
1229
|
property :parallel, as: 'parallel'
|
1230
|
+
property :postgres_import_options, as: 'postgresImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions::PostgresImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions::PostgresImportOptions::Representation
|
1231
|
+
|
1206
1232
|
property :threads, as: 'threads'
|
1207
1233
|
end
|
1234
|
+
|
1235
|
+
class PostgresImportOptions
|
1236
|
+
# @private
|
1237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1238
|
+
property :clean, as: 'clean'
|
1239
|
+
property :if_exists, as: 'ifExists'
|
1240
|
+
end
|
1241
|
+
end
|
1208
1242
|
end
|
1209
1243
|
end
|
1210
1244
|
|
@@ -1350,6 +1384,7 @@ module Google
|
|
1350
1384
|
property :psc_config, as: 'pscConfig', class: Google::Apis::SqladminV1beta4::PscConfig, decorator: Google::Apis::SqladminV1beta4::PscConfig::Representation
|
1351
1385
|
|
1352
1386
|
property :require_ssl, as: 'requireSsl'
|
1387
|
+
property :server_ca_mode, as: 'serverCaMode'
|
1353
1388
|
property :ssl_mode, as: 'sslMode'
|
1354
1389
|
end
|
1355
1390
|
end
|
@@ -573,7 +573,9 @@ module Google
|
|
573
573
|
# instance. Required to prepare for a certificate rotation. If a CA version was
|
574
574
|
# previously added but never used in a certificate rotation, this operation
|
575
575
|
# replaces that version. There cannot be more than one CA version waiting to be
|
576
|
-
# rotated in.
|
576
|
+
# rotated in. For instances that have enabled Certificate Authority Service (CAS)
|
577
|
+
# based server CA, please use AddServerCertificate to add a new server
|
578
|
+
# certificate.
|
577
579
|
# @param [String] project
|
578
580
|
# Project ID of the project that contains the instance.
|
579
581
|
# @param [String] instance
|
@@ -1274,7 +1276,9 @@ module Google
|
|
1274
1276
|
end
|
1275
1277
|
|
1276
1278
|
# Rotates the server certificate to one signed by the Certificate Authority (CA)
|
1277
|
-
# version previously added with the addServerCA method.
|
1279
|
+
# version previously added with the addServerCA method. For instances that have
|
1280
|
+
# enabled Certificate Authority Service (CAS) based server CA, please use
|
1281
|
+
# RotateServerCertificate to rotate the server certificate.
|
1278
1282
|
# @param [String] project
|
1279
1283
|
# Project ID of the project that contains the instance.
|
1280
1284
|
# @param [String] instance
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sqladmin_v1beta4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.74.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.74.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|