google-apis-sqladmin_v1 0.61.0 → 0.63.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: 2c00f717a5cf8ee572aae74c3701ee7ef2c0ce3c642690d659fbb7cda030977d
4
- data.tar.gz: 7ad8b0dff6e1ff86db582093c14dbb80142a818d00bfe05225dbe75c5cecf9ae
3
+ metadata.gz: b82cb90c50d8363ce9c1873b627dd632b4e6d867d1ce9732440c273942ce3ecd
4
+ data.tar.gz: fa3506a9aaf5dd545825f6691ba66868853cb08861f8188eadfb90bbf0340f68
5
5
  SHA512:
6
- metadata.gz: 2854db398623e5d00252f5c2e48f4ed9e89075b4119fcb5d17338975de4e6510d2495946ed75313522d45b661c5b1483be2c9a292d6495fc1febebe5dfe04209
7
- data.tar.gz: a9d0704f888071d55fe5c4a5a911c9891b9379ffd2652018bca537c66834689b42d4f3a6e1d4207739cfd6b3ac1ce696ff80faa6cf020908871208922ea11e8b
6
+ metadata.gz: 1cda2705f7dee08aba64da75d3043f2e7374a2ca52c1ce5a81607379a70efb06953047f7a23e59d8cfe48960e894a283766cb84c29b0d34a9e5ebcaf52bcd4e0
7
+ data.tar.gz: 1600aba11499a2579d8b73d3e9b445b660fc8dd43eddffe66073f9d216485a45f27ced0c1b75f52b7d92dc4297171beb6ff68e7e1e6fba984c4d9a0c621044e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.63.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240724
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.62.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240711
11
+
3
12
  ### v0.61.0 (2024-06-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240618
@@ -403,6 +403,11 @@ module Google
403
403
  # @return [String]
404
404
  attr_accessor :location
405
405
 
406
+ # Output only. The maximum chargeable bytes for the backup.
407
+ # Corresponds to the JSON property `maxChargeableBytes`
408
+ # @return [Fixnum]
409
+ attr_accessor :max_chargeable_bytes
410
+
406
411
  # The URI of this resource.
407
412
  # Corresponds to the JSON property `selfLink`
408
413
  # @return [String]
@@ -457,6 +462,7 @@ module Google
457
462
  @instance = args[:instance] if args.key?(:instance)
458
463
  @kind = args[:kind] if args.key?(:kind)
459
464
  @location = args[:location] if args.key?(:location)
465
+ @max_chargeable_bytes = args[:max_chargeable_bytes] if args.key?(:max_chargeable_bytes)
460
466
  @self_link = args[:self_link] if args.key?(:self_link)
461
467
  @start_time = args[:start_time] if args.key?(:start_time)
462
468
  @status = args[:status] if args.key?(:status)
@@ -654,6 +660,11 @@ module Google
654
660
  # @return [Google::Apis::SqladminV1::SslCert]
655
661
  attr_accessor :server_ca_cert
656
662
 
663
+ # Specify what type of CA is used for the server certificate.
664
+ # Corresponds to the JSON property `serverCaMode`
665
+ # @return [String]
666
+ attr_accessor :server_ca_mode
667
+
657
668
  def initialize(**args)
658
669
  update!(**args)
659
670
  end
@@ -668,6 +679,7 @@ module Google
668
679
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
669
680
  @region = args[:region] if args.key?(:region)
670
681
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
682
+ @server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
671
683
  end
672
684
  end
673
685
 
@@ -974,6 +986,13 @@ module Google
974
986
  # @return [String]
975
987
  attr_accessor :root_password
976
988
 
989
+ # Output only. This status indicates whether the instance satisfies PZI. The
990
+ # status is reserved for future use.
991
+ # Corresponds to the JSON property `satisfiesPzi`
992
+ # @return [Boolean]
993
+ attr_accessor :satisfies_pzi
994
+ alias_method :satisfies_pzi?, :satisfies_pzi
995
+
977
996
  # This status indicates whether the instance satisfies PZS. The status is
978
997
  # reserved for future use.
979
998
  # Corresponds to the JSON property `satisfiesPzs`
@@ -1030,6 +1049,13 @@ module Google
1030
1049
  # @return [Array<String>]
1031
1050
  attr_accessor :suspension_reason
1032
1051
 
1052
+ # Input only. Whether Cloud SQL is enabled to switch storing point-in-time
1053
+ # recovery log files from a data disk to Cloud Storage.
1054
+ # Corresponds to the JSON property `switchTransactionLogsToCloudStorageEnabled`
1055
+ # @return [Boolean]
1056
+ attr_accessor :switch_transaction_logs_to_cloud_storage_enabled
1057
+ alias_method :switch_transaction_logs_to_cloud_storage_enabled?, :switch_transaction_logs_to_cloud_storage_enabled
1058
+
1033
1059
  # Output only. All database versions that are available for upgrade.
1034
1060
  # Corresponds to the JSON property `upgradableDatabaseVersions`
1035
1061
  # @return [Array<Google::Apis::SqladminV1::AvailableDatabaseVersion>]
@@ -1078,6 +1104,7 @@ module Google
1078
1104
  @replica_names = args[:replica_names] if args.key?(:replica_names)
1079
1105
  @replication_cluster = args[:replication_cluster] if args.key?(:replication_cluster)
1080
1106
  @root_password = args[:root_password] if args.key?(:root_password)
1107
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1081
1108
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1082
1109
  @scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance)
1083
1110
  @secondary_gce_zone = args[:secondary_gce_zone] if args.key?(:secondary_gce_zone)
@@ -1088,6 +1115,7 @@ module Google
1088
1115
  @sql_network_architecture = args[:sql_network_architecture] if args.key?(:sql_network_architecture)
1089
1116
  @state = args[:state] if args.key?(:state)
1090
1117
  @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
1118
+ @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
1119
  @upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
1092
1120
  @write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
1093
1121
  end
@@ -1589,6 +1617,11 @@ module Google
1589
1617
  attr_accessor :parallel
1590
1618
  alias_method :parallel?, :parallel
1591
1619
 
1620
+ # Options for exporting from a Cloud SQL for PostgreSQL instance.
1621
+ # Corresponds to the JSON property `postgresExportOptions`
1622
+ # @return [Google::Apis::SqladminV1::ExportContext::SqlExportOptions::PostgresExportOptions]
1623
+ attr_accessor :postgres_export_options
1624
+
1592
1625
  # Export only schemas.
1593
1626
  # Corresponds to the JSON property `schemaOnly`
1594
1627
  # @return [Boolean]
@@ -1615,6 +1648,7 @@ module Google
1615
1648
  def update!(**args)
1616
1649
  @mysql_export_options = args[:mysql_export_options] if args.key?(:mysql_export_options)
1617
1650
  @parallel = args[:parallel] if args.key?(:parallel)
1651
+ @postgres_export_options = args[:postgres_export_options] if args.key?(:postgres_export_options)
1618
1652
  @schema_only = args[:schema_only] if args.key?(:schema_only)
1619
1653
  @tables = args[:tables] if args.key?(:tables)
1620
1654
  @threads = args[:threads] if args.key?(:threads)
@@ -1642,6 +1676,35 @@ module Google
1642
1676
  @master_data = args[:master_data] if args.key?(:master_data)
1643
1677
  end
1644
1678
  end
1679
+
1680
+ # Options for exporting from a Cloud SQL for PostgreSQL instance.
1681
+ class PostgresExportOptions
1682
+ include Google::Apis::Core::Hashable
1683
+
1684
+ # Optional. Use this option to include DROP SQL statements. These statements are
1685
+ # used to delete database objects before running the import operation.
1686
+ # Corresponds to the JSON property `clean`
1687
+ # @return [Boolean]
1688
+ attr_accessor :clean
1689
+ alias_method :clean?, :clean
1690
+
1691
+ # Optional. Option to include an IF EXISTS SQL statement with each DROP
1692
+ # statement produced by clean.
1693
+ # Corresponds to the JSON property `ifExists`
1694
+ # @return [Boolean]
1695
+ attr_accessor :if_exists
1696
+ alias_method :if_exists?, :if_exists
1697
+
1698
+ def initialize(**args)
1699
+ update!(**args)
1700
+ end
1701
+
1702
+ # Update properties of this object
1703
+ def update!(**args)
1704
+ @clean = args[:clean] if args.key?(:clean)
1705
+ @if_exists = args[:if_exists] if args.key?(:if_exists)
1706
+ end
1707
+ end
1645
1708
  end
1646
1709
  end
1647
1710
 
@@ -2126,6 +2189,11 @@ module Google
2126
2189
  attr_accessor :parallel
2127
2190
  alias_method :parallel?, :parallel
2128
2191
 
2192
+ # Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
2193
+ # Corresponds to the JSON property `postgresImportOptions`
2194
+ # @return [Google::Apis::SqladminV1::ImportContext::SqlImportOptions::PostgresImportOptions]
2195
+ attr_accessor :postgres_import_options
2196
+
2129
2197
  # Optional. The number of threads to use for parallel import.
2130
2198
  # Corresponds to the JSON property `threads`
2131
2199
  # @return [Fixnum]
@@ -2138,8 +2206,38 @@ module Google
2138
2206
  # Update properties of this object
2139
2207
  def update!(**args)
2140
2208
  @parallel = args[:parallel] if args.key?(:parallel)
2209
+ @postgres_import_options = args[:postgres_import_options] if args.key?(:postgres_import_options)
2141
2210
  @threads = args[:threads] if args.key?(:threads)
2142
2211
  end
2212
+
2213
+ # Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
2214
+ class PostgresImportOptions
2215
+ include Google::Apis::Core::Hashable
2216
+
2217
+ # Optional. The --clean flag for the pg_restore utility. This flag applies only
2218
+ # if you enabled Cloud SQL to import files in parallel.
2219
+ # Corresponds to the JSON property `clean`
2220
+ # @return [Boolean]
2221
+ attr_accessor :clean
2222
+ alias_method :clean?, :clean
2223
+
2224
+ # Optional. The --if-exists flag for the pg_restore utility. This flag applies
2225
+ # only if you enabled Cloud SQL to import files in parallel.
2226
+ # Corresponds to the JSON property `ifExists`
2227
+ # @return [Boolean]
2228
+ attr_accessor :if_exists
2229
+ alias_method :if_exists?, :if_exists
2230
+
2231
+ def initialize(**args)
2232
+ update!(**args)
2233
+ end
2234
+
2235
+ # Update properties of this object
2236
+ def update!(**args)
2237
+ @clean = args[:clean] if args.key?(:clean)
2238
+ @if_exists = args[:if_exists] if args.key?(:if_exists)
2239
+ end
2240
+ end
2143
2241
  end
2144
2242
  end
2145
2243
 
@@ -2566,6 +2664,11 @@ module Google
2566
2664
  attr_accessor :require_ssl
2567
2665
  alias_method :require_ssl?, :require_ssl
2568
2666
 
2667
+ # Specify what type of CA is used for the server certificate.
2668
+ # Corresponds to the JSON property `serverCaMode`
2669
+ # @return [String]
2670
+ attr_accessor :server_ca_mode
2671
+
2569
2672
  # Specify how SSL/TLS is enforced in database connections. If you must use the `
2570
2673
  # require_ssl` flag for backward compatibility, then only the following value
2571
2674
  # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
@@ -2596,6 +2699,7 @@ module Google
2596
2699
  @private_network = args[:private_network] if args.key?(:private_network)
2597
2700
  @psc_config = args[:psc_config] if args.key?(:psc_config)
2598
2701
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2702
+ @server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
2599
2703
  @ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
2600
2704
  end
2601
2705
  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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240618"
25
+ REVISION = "20240724"
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
@@ -785,6 +797,7 @@ module Google
785
797
  property :instance, as: 'instance'
786
798
  property :kind, as: 'kind'
787
799
  property :location, as: 'location'
800
+ property :max_chargeable_bytes, :numeric_string => true, as: 'maxChargeableBytes'
788
801
  property :self_link, as: 'selfLink'
789
802
  property :start_time, as: 'startTime'
790
803
  property :status, as: 'status'
@@ -841,6 +854,7 @@ module Google
841
854
  property :region, as: 'region'
842
855
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
843
856
 
857
+ property :server_ca_mode, as: 'serverCaMode'
844
858
  end
845
859
  end
846
860
 
@@ -919,6 +933,7 @@ module Google
919
933
  property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1::ReplicationCluster, decorator: Google::Apis::SqladminV1::ReplicationCluster::Representation
920
934
 
921
935
  property :root_password, as: 'rootPassword'
936
+ property :satisfies_pzi, as: 'satisfiesPzi'
922
937
  property :satisfies_pzs, as: 'satisfiesPzs'
923
938
  property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1::SqlScheduledMaintenance::Representation
924
939
 
@@ -932,6 +947,7 @@ module Google
932
947
  property :sql_network_architecture, as: 'sqlNetworkArchitecture'
933
948
  property :state, as: 'state'
934
949
  collection :suspension_reason, as: 'suspensionReason'
950
+ property :switch_transaction_logs_to_cloud_storage_enabled, as: 'switchTransactionLogsToCloudStorageEnabled'
935
951
  collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1::AvailableDatabaseVersion::Representation
936
952
 
937
953
  property :write_endpoint, as: 'writeEndpoint'
@@ -1071,6 +1087,8 @@ module Google
1071
1087
  property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
1072
1088
 
1073
1089
  property :parallel, as: 'parallel'
1090
+ property :postgres_export_options, as: 'postgresExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::PostgresExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::PostgresExportOptions::Representation
1091
+
1074
1092
  property :schema_only, as: 'schemaOnly'
1075
1093
  collection :tables, as: 'tables'
1076
1094
  property :threads, as: 'threads'
@@ -1082,6 +1100,14 @@ module Google
1082
1100
  property :master_data, as: 'masterData'
1083
1101
  end
1084
1102
  end
1103
+
1104
+ class PostgresExportOptions
1105
+ # @private
1106
+ class Representation < Google::Apis::Core::JsonRepresentation
1107
+ property :clean, as: 'clean'
1108
+ property :if_exists, as: 'ifExists'
1109
+ end
1110
+ end
1085
1111
  end
1086
1112
  end
1087
1113
 
@@ -1203,8 +1229,18 @@ module Google
1203
1229
  # @private
1204
1230
  class Representation < Google::Apis::Core::JsonRepresentation
1205
1231
  property :parallel, as: 'parallel'
1232
+ property :postgres_import_options, as: 'postgresImportOptions', class: Google::Apis::SqladminV1::ImportContext::SqlImportOptions::PostgresImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::SqlImportOptions::PostgresImportOptions::Representation
1233
+
1206
1234
  property :threads, as: 'threads'
1207
1235
  end
1236
+
1237
+ class PostgresImportOptions
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :clean, as: 'clean'
1241
+ property :if_exists, as: 'ifExists'
1242
+ end
1243
+ end
1208
1244
  end
1209
1245
  end
1210
1246
 
@@ -1350,6 +1386,7 @@ module Google
1350
1386
  property :psc_config, as: 'pscConfig', class: Google::Apis::SqladminV1::PscConfig, decorator: Google::Apis::SqladminV1::PscConfig::Representation
1351
1387
 
1352
1388
  property :require_ssl, as: 'requireSsl'
1389
+ property :server_ca_mode, as: 'serverCaMode'
1353
1390
  property :ssl_mode, as: 'sslMode'
1354
1391
  end
1355
1392
  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.61.0
4
+ version: 0.63.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-06-23 00:00:00.000000000 Z
11
+ date: 2024-08-04 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.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.63.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: []