google-apis-sqladmin_v1 0.61.0 → 0.62.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65130b3656615f844fd6705b4b085713d1644e03808d09143c04379e7849056
|
4
|
+
data.tar.gz: 62201101688978717ba6ade220d4540ed4a9feb2ad7def004d59ae370856dda1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dc19b53a814d96248b1cbf6ba256c9169c149dcfc7503774755237c30f5c63b43070d008a333a3cd519d9549e855a038886ba67c5ed5305d5c35b86dde476e4
|
7
|
+
data.tar.gz: 47a7399e6563b7b6ff75463bcdba6df7b45ce73acef17252a52f779262fc5910574f2b7339d1bf0687e2cc7cf6b4de5894a013799ccb615f1d5bc17d24453703
|
data/CHANGELOG.md
CHANGED
@@ -654,6 +654,11 @@ module Google
|
|
654
654
|
# @return [Google::Apis::SqladminV1::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::SqladminV1::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::SqladminV1::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
|
|
@@ -2126,6 +2175,11 @@ module Google
|
|
2126
2175
|
attr_accessor :parallel
|
2127
2176
|
alias_method :parallel?, :parallel
|
2128
2177
|
|
2178
|
+
# Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
|
2179
|
+
# Corresponds to the JSON property `postgresImportOptions`
|
2180
|
+
# @return [Google::Apis::SqladminV1::ImportContext::SqlImportOptions::PostgresImportOptions]
|
2181
|
+
attr_accessor :postgres_import_options
|
2182
|
+
|
2129
2183
|
# Optional. The number of threads to use for parallel import.
|
2130
2184
|
# Corresponds to the JSON property `threads`
|
2131
2185
|
# @return [Fixnum]
|
@@ -2138,8 +2192,38 @@ module Google
|
|
2138
2192
|
# Update properties of this object
|
2139
2193
|
def update!(**args)
|
2140
2194
|
@parallel = args[:parallel] if args.key?(:parallel)
|
2195
|
+
@postgres_import_options = args[:postgres_import_options] if args.key?(:postgres_import_options)
|
2141
2196
|
@threads = args[:threads] if args.key?(:threads)
|
2142
2197
|
end
|
2198
|
+
|
2199
|
+
# Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
|
2200
|
+
class PostgresImportOptions
|
2201
|
+
include Google::Apis::Core::Hashable
|
2202
|
+
|
2203
|
+
# Optional. The --clean flag for the pg_restore utility. This flag applies only
|
2204
|
+
# if you enabled Cloud SQL to import files in parallel.
|
2205
|
+
# Corresponds to the JSON property `clean`
|
2206
|
+
# @return [Boolean]
|
2207
|
+
attr_accessor :clean
|
2208
|
+
alias_method :clean?, :clean
|
2209
|
+
|
2210
|
+
# Optional. The --if-exists flag for the pg_restore utility. This flag applies
|
2211
|
+
# only if you enabled Cloud SQL to import files in parallel.
|
2212
|
+
# Corresponds to the JSON property `ifExists`
|
2213
|
+
# @return [Boolean]
|
2214
|
+
attr_accessor :if_exists
|
2215
|
+
alias_method :if_exists?, :if_exists
|
2216
|
+
|
2217
|
+
def initialize(**args)
|
2218
|
+
update!(**args)
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
# Update properties of this object
|
2222
|
+
def update!(**args)
|
2223
|
+
@clean = args[:clean] if args.key?(:clean)
|
2224
|
+
@if_exists = args[:if_exists] if args.key?(:if_exists)
|
2225
|
+
end
|
2226
|
+
end
|
2143
2227
|
end
|
2144
2228
|
end
|
2145
2229
|
|
@@ -2566,6 +2650,11 @@ module Google
|
|
2566
2650
|
attr_accessor :require_ssl
|
2567
2651
|
alias_method :require_ssl?, :require_ssl
|
2568
2652
|
|
2653
|
+
# Specify what type of CA is used for the server certificate.
|
2654
|
+
# Corresponds to the JSON property `serverCaMode`
|
2655
|
+
# @return [String]
|
2656
|
+
attr_accessor :server_ca_mode
|
2657
|
+
|
2569
2658
|
# Specify how SSL/TLS is enforced in database connections. If you must use the `
|
2570
2659
|
# require_ssl` flag for backward compatibility, then only the following value
|
2571
2660
|
# pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
|
@@ -2596,6 +2685,7 @@ module Google
|
|
2596
2685
|
@private_network = args[:private_network] if args.key?(:private_network)
|
2597
2686
|
@psc_config = args[:psc_config] if args.key?(:psc_config)
|
2598
2687
|
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
2688
|
+
@server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
|
2599
2689
|
@ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
|
2600
2690
|
end
|
2601
2691
|
end
|
@@ -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.62.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::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::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::SqladminV1::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1::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::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
|
1072
1086
|
|
1073
1087
|
property :parallel, as: 'parallel'
|
1088
|
+
property :postgres_export_options, as: 'postgresExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::PostgresExportOptions, decorator: Google::Apis::SqladminV1::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::SqladminV1::ImportContext::SqlImportOptions::PostgresImportOptions, decorator: Google::Apis::SqladminV1::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::SqladminV1::PscConfig, decorator: Google::Apis::SqladminV1::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
|
@@ -574,7 +574,9 @@ module Google
|
|
574
574
|
# instance. Required to prepare for a certificate rotation. If a CA version was
|
575
575
|
# previously added but never used in a certificate rotation, this operation
|
576
576
|
# replaces that version. There cannot be more than one CA version waiting to be
|
577
|
-
# rotated in.
|
577
|
+
# rotated in. For instances that have enabled Certificate Authority Service (CAS)
|
578
|
+
# based server CA, please use AddServerCertificate to add a new server
|
579
|
+
# certificate.
|
578
580
|
# @param [String] project
|
579
581
|
# Project ID of the project that contains the instance.
|
580
582
|
# @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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.62.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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.62.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|