google-apis-sqladmin_v1beta4 0.72.0 → 0.74.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: 14dbf45cab48f97cbc19cb4a3706cf712c124d1718e156d3660a83e783e95800
4
- data.tar.gz: 3518e863508019bb587cc104bae75a5952e26e72755ce9fdfcbccf3f213b88ab
3
+ metadata.gz: 3be3d5f7e41790117d9b7a2546fed35780728edf50eb151506a157bd118bb3f3
4
+ data.tar.gz: 7852530c499767617adee3673dcb9cb36fd7dcf07636bd4af19b364bec585b88
5
5
  SHA512:
6
- metadata.gz: 9c88f71073539ae519078f4e4b33e91be5cdec83e31be951f579ff04f7ee99f72a7375ff805b69682d299d9b52577c7b0665086d3b32a7e1cf914bfbf46802d2
7
- data.tar.gz: be676052bf1522ebb242c551d1fa31974013dad9872868e21006a575f7dcff3bed42678a350cbe8e69c93b8247c28d82e7f22ceac6d72ef4878f951fa6af0119
6
+ metadata.gz: 19a49558b377ebbdcc02b06460f87b680c4dd5e6d68e45e5f9d555f0575e07539ed8e6d3aff71bb18d40e808b36ee5a6b2e9c80a782a3cdcba54fb3cb32325ee
7
+ data.tar.gz: f4f138fb399fe7f1d6089469f09d99a9c3ab59e40d8b0af80cf92d06abb392c157361dea24fb6acaa8ac4fdbf17c3e21d6af24a08f194d76b2aeff71e1fbd0a6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.74.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240711
6
+
7
+ ### v0.73.0 (2024-06-23)
8
+
9
+ * Regenerated from discovery document revision 20240618
10
+
3
11
  ### v0.72.0 (2024-06-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20240607
@@ -575,13 +575,6 @@ module Google
575
575
  # @return [String]
576
576
  attr_accessor :point_in_time
577
577
 
578
- # Optional. Copy clone and point-in-time recovery clone of a regional instance
579
- # in the specified zones. If not specified, clone to the same secondary zone as
580
- # the source instance. This value cannot be the same as the preferred_zone field.
581
- # Corresponds to the JSON property `preferredSecondaryZone`
582
- # @return [String]
583
- attr_accessor :preferred_secondary_zone
584
-
585
578
  # Optional. Copy clone and point-in-time recovery clone of an instance to the
586
579
  # specified zone. If no zone is specified, clone to the same primary zone as the
587
580
  # source instance.
@@ -602,7 +595,6 @@ module Google
602
595
  @kind = args[:kind] if args.key?(:kind)
603
596
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
604
597
  @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
605
- @preferred_secondary_zone = args[:preferred_secondary_zone] if args.key?(:preferred_secondary_zone)
606
598
  @preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
607
599
  end
608
600
  end
@@ -662,6 +654,11 @@ module Google
662
654
  # @return [Google::Apis::SqladminV1beta4::SslCert]
663
655
  attr_accessor :server_ca_cert
664
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
+
665
662
  def initialize(**args)
666
663
  update!(**args)
667
664
  end
@@ -676,6 +673,7 @@ module Google
676
673
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
677
674
  @region = args[:region] if args.key?(:region)
678
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)
679
677
  end
680
678
  end
681
679
 
@@ -1038,6 +1036,13 @@ module Google
1038
1036
  # @return [Array<String>]
1039
1037
  attr_accessor :suspension_reason
1040
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
+
1041
1046
  # Output only. All database versions that are available for upgrade.
1042
1047
  # Corresponds to the JSON property `upgradableDatabaseVersions`
1043
1048
  # @return [Array<Google::Apis::SqladminV1beta4::AvailableDatabaseVersion>]
@@ -1096,6 +1101,7 @@ module Google
1096
1101
  @sql_network_architecture = args[:sql_network_architecture] if args.key?(:sql_network_architecture)
1097
1102
  @state = args[:state] if args.key?(:state)
1098
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)
1099
1105
  @upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
1100
1106
  @write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
1101
1107
  end
@@ -1597,6 +1603,11 @@ module Google
1597
1603
  attr_accessor :parallel
1598
1604
  alias_method :parallel?, :parallel
1599
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
+
1600
1611
  # Export only schemas.
1601
1612
  # Corresponds to the JSON property `schemaOnly`
1602
1613
  # @return [Boolean]
@@ -1623,6 +1634,7 @@ module Google
1623
1634
  def update!(**args)
1624
1635
  @mysql_export_options = args[:mysql_export_options] if args.key?(:mysql_export_options)
1625
1636
  @parallel = args[:parallel] if args.key?(:parallel)
1637
+ @postgres_export_options = args[:postgres_export_options] if args.key?(:postgres_export_options)
1626
1638
  @schema_only = args[:schema_only] if args.key?(:schema_only)
1627
1639
  @tables = args[:tables] if args.key?(:tables)
1628
1640
  @threads = args[:threads] if args.key?(:threads)
@@ -1650,6 +1662,35 @@ module Google
1650
1662
  @master_data = args[:master_data] if args.key?(:master_data)
1651
1663
  end
1652
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
1653
1694
  end
1654
1695
  end
1655
1696
 
@@ -2135,6 +2176,11 @@ module Google
2135
2176
  attr_accessor :parallel
2136
2177
  alias_method :parallel?, :parallel
2137
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
+
2138
2184
  # Optional. The number of threads to use for parallel import.
2139
2185
  # Corresponds to the JSON property `threads`
2140
2186
  # @return [Fixnum]
@@ -2147,8 +2193,38 @@ module Google
2147
2193
  # Update properties of this object
2148
2194
  def update!(**args)
2149
2195
  @parallel = args[:parallel] if args.key?(:parallel)
2196
+ @postgres_import_options = args[:postgres_import_options] if args.key?(:postgres_import_options)
2150
2197
  @threads = args[:threads] if args.key?(:threads)
2151
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
2152
2228
  end
2153
2229
  end
2154
2230
 
@@ -2575,6 +2651,11 @@ module Google
2575
2651
  attr_accessor :require_ssl
2576
2652
  alias_method :require_ssl?, :require_ssl
2577
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
+
2578
2659
  # Specify how SSL/TLS is enforced in database connections. If you must use the `
2579
2660
  # require_ssl` flag for backward compatibility, then only the following value
2580
2661
  # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
@@ -2605,6 +2686,7 @@ module Google
2605
2686
  @private_network = args[:private_network] if args.key?(:private_network)
2606
2687
  @psc_config = args[:psc_config] if args.key?(:psc_config)
2607
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)
2608
2690
  @ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
2609
2691
  end
2610
2692
  end
@@ -2693,12 +2775,14 @@ module Google
2693
2775
  class MaintenanceWindow
2694
2776
  include Google::Apis::Core::Hashable
2695
2777
 
2696
- # day of week (1-7), starting on Monday.
2778
+ # Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `
2779
+ # SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an
2780
+ # integer, 1 to 7, where `1` equals Monday.
2697
2781
  # Corresponds to the JSON property `day`
2698
2782
  # @return [Fixnum]
2699
2783
  attr_accessor :day
2700
2784
 
2701
- # hour of day - 0 to 23.
2785
+ # Hour of day - 0 to 23. Specify in the UTC time zone.
2702
2786
  # Corresponds to the JSON property `hour`
2703
2787
  # @return [Fixnum]
2704
2788
  attr_accessor :hour
@@ -2708,9 +2792,9 @@ module Google
2708
2792
  # @return [String]
2709
2793
  attr_accessor :kind
2710
2794
 
2711
- # Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn
2712
- # more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-
2713
- # timing-2ndgen).
2795
+ # Maintenance timing settings: `canary`, `stable`, or `week5`. For more
2796
+ # information, see [About maintenance on Cloud SQL instances](https://cloud.
2797
+ # google.com/sql/docs/mysql/maintenance).
2714
2798
  # Corresponds to the JSON property `updateTrack`
2715
2799
  # @return [String]
2716
2800
  attr_accessor :update_track
@@ -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.72.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 = "20240607"
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
@@ -824,7 +836,6 @@ module Google
824
836
  property :kind, as: 'kind'
825
837
  property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
826
838
  property :point_in_time, as: 'pointInTime'
827
- property :preferred_secondary_zone, as: 'preferredSecondaryZone'
828
839
  property :preferred_zone, as: 'preferredZone'
829
840
  end
830
841
  end
@@ -842,6 +853,7 @@ module Google
842
853
  property :region, as: 'region'
843
854
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
844
855
 
856
+ property :server_ca_mode, as: 'serverCaMode'
845
857
  end
846
858
  end
847
859
 
@@ -933,6 +945,7 @@ module Google
933
945
  property :sql_network_architecture, as: 'sqlNetworkArchitecture'
934
946
  property :state, as: 'state'
935
947
  collection :suspension_reason, as: 'suspensionReason'
948
+ property :switch_transaction_logs_to_cloud_storage_enabled, as: 'switchTransactionLogsToCloudStorageEnabled'
936
949
  collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion::Representation
937
950
 
938
951
  property :write_endpoint, as: 'writeEndpoint'
@@ -1072,6 +1085,8 @@ module Google
1072
1085
  property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
1073
1086
 
1074
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
+
1075
1090
  property :schema_only, as: 'schemaOnly'
1076
1091
  collection :tables, as: 'tables'
1077
1092
  property :threads, as: 'threads'
@@ -1083,6 +1098,14 @@ module Google
1083
1098
  property :master_data, as: 'masterData'
1084
1099
  end
1085
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
1086
1109
  end
1087
1110
  end
1088
1111
 
@@ -1204,8 +1227,18 @@ module Google
1204
1227
  # @private
1205
1228
  class Representation < Google::Apis::Core::JsonRepresentation
1206
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
+
1207
1232
  property :threads, as: 'threads'
1208
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
1209
1242
  end
1210
1243
  end
1211
1244
 
@@ -1351,6 +1384,7 @@ module Google
1351
1384
  property :psc_config, as: 'pscConfig', class: Google::Apis::SqladminV1beta4::PscConfig, decorator: Google::Apis::SqladminV1beta4::PscConfig::Representation
1352
1385
 
1353
1386
  property :require_ssl, as: 'requireSsl'
1387
+ property :server_ca_mode, as: 'serverCaMode'
1354
1388
  property :ssl_mode, as: 'sslMode'
1355
1389
  end
1356
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.72.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-06-16 00:00:00.000000000 Z
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.72.0
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: []