google-apis-sqladmin_v1beta4 0.68.0 → 0.70.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: 413308ea999de90d73ee3f506ff0ff381fb241e290ccedb6cf9008eec81e99ca
4
- data.tar.gz: 29a4a04e174c6576b3e5a4d8036cfcdf129edeec51ab84865a4da63420c7cc10
3
+ metadata.gz: 8d8097d51e85fa08338756f5a931908c99baa8b479f3ee3b5c6a8a66f2029294
4
+ data.tar.gz: fc382412dc2647c136beaf2b5b599b71dfd1be32003a6545db8588385568ec8e
5
5
  SHA512:
6
- metadata.gz: a74c76a9e7fd18ea34ba05a8edbd82f621e5bf9738b9bd359b7a66c4d81003064106cafc0594b83c5dcc416e58e80f5fe12b18dc529d836f0bbafbeec1f96c1a
7
- data.tar.gz: 46f81602ef21fe4b30e4940a493776da658572eb07f84deb367431378a96f88d839e78f06758a84143370197dbcfd9226b8b17c9c75ac7515bb23100c85aa5a2
6
+ metadata.gz: e63641e232af0a4bd108e53a820db08d0a5b00c31f984b028a911ec70517470f83954b4535fb58db00ebdf3dbace4840c49f44e373e80753ea6c3c193b8adcb5
7
+ data.tar.gz: 7a0183576b7ee8401cb1ac8cbc7ba1ea7809369597635c77f51fc6385307b2dcc52901bfc85191ceb8d26a892ccfb8236ca34ee64f0c597ac109cfec3166833c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.70.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240425
6
+
7
+ ### v0.69.0 (2024-03-31)
8
+
9
+ * Regenerated from discovery document revision 20240324
10
+
3
11
  ### v0.68.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240317
@@ -839,7 +839,7 @@ module Google
839
839
  # @return [String]
840
840
  attr_accessor :gce_zone
841
841
 
842
- # Gemini configuration.
842
+ # Gemini instance configuration.
843
843
  # Corresponds to the JSON property `geminiConfig`
844
844
  # @return [Google::Apis::SqladminV1beta4::GeminiInstanceConfig]
845
845
  attr_accessor :gemini_config
@@ -929,7 +929,9 @@ module Google
929
929
  # @return [Array<String>]
930
930
  attr_accessor :replica_names
931
931
 
932
- # Primary-DR replica pair
932
+ # A primary instance and disaster recovery (DR) replica pair. A DR replica is a
933
+ # cross-region replica that you designate for failover in the event that the
934
+ # primary instance has regional failure. Only applicable to MySQL.
933
935
  # Corresponds to the JSON property `replicationCluster`
934
936
  # @return [Google::Apis::SqladminV1beta4::ReplicationCluster]
935
937
  attr_accessor :replication_cluster
@@ -1741,11 +1743,11 @@ module Google
1741
1743
  end
1742
1744
  end
1743
1745
 
1744
- # Gemini configuration.
1746
+ # Gemini instance configuration.
1745
1747
  class GeminiInstanceConfig
1746
1748
  include Google::Apis::Core::Hashable
1747
1749
 
1748
- # Output only. Whether active query is enabled.
1750
+ # Output only. Whether the active query is enabled.
1749
1751
  # Corresponds to the JSON property `activeQueryEnabled`
1750
1752
  # @return [Boolean]
1751
1753
  attr_accessor :active_query_enabled
@@ -1757,25 +1759,25 @@ module Google
1757
1759
  attr_accessor :entitled
1758
1760
  alias_method :entitled?, :entitled
1759
1761
 
1760
- # Output only. Whether flag recommender is enabled.
1762
+ # Output only. Whether the flag recommender is enabled.
1761
1763
  # Corresponds to the JSON property `flagRecommenderEnabled`
1762
1764
  # @return [Boolean]
1763
1765
  attr_accessor :flag_recommender_enabled
1764
1766
  alias_method :flag_recommender_enabled?, :flag_recommender_enabled
1765
1767
 
1766
- # Output only. Whether vacuum management is enabled.
1768
+ # Output only. Whether the vacuum management is enabled.
1767
1769
  # Corresponds to the JSON property `googleVacuumMgmtEnabled`
1768
1770
  # @return [Boolean]
1769
1771
  attr_accessor :google_vacuum_mgmt_enabled
1770
1772
  alias_method :google_vacuum_mgmt_enabled?, :google_vacuum_mgmt_enabled
1771
1773
 
1772
- # Output only. Whether index advisor is enabled.
1774
+ # Output only. Whether the index advisor is enabled.
1773
1775
  # Corresponds to the JSON property `indexAdvisorEnabled`
1774
1776
  # @return [Boolean]
1775
1777
  attr_accessor :index_advisor_enabled
1776
1778
  alias_method :index_advisor_enabled?, :index_advisor_enabled
1777
1779
 
1778
- # Output only. Whether oom session cancel is enabled.
1780
+ # Output only. Whether canceling the out-of-memory (OOM) session is enabled.
1779
1781
  # Corresponds to the JSON property `oomSessionCancelEnabled`
1780
1782
  # @return [Boolean]
1781
1783
  attr_accessor :oom_session_cancel_enabled
@@ -1891,6 +1893,11 @@ module Google
1891
1893
  # @return [String]
1892
1894
  attr_accessor :kind
1893
1895
 
1896
+ # Optional. Options for importing data from SQL statements.
1897
+ # Corresponds to the JSON property `sqlImportOptions`
1898
+ # @return [Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions]
1899
+ attr_accessor :sql_import_options
1900
+
1894
1901
  # Path to the import file in Cloud Storage, in the form `gs://bucketName/
1895
1902
  # fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`.
1896
1903
  # The instance must have write permissions to the bucket and read access to the
@@ -1911,6 +1918,7 @@ module Google
1911
1918
  @file_type = args[:file_type] if args.key?(:file_type)
1912
1919
  @import_user = args[:import_user] if args.key?(:import_user)
1913
1920
  @kind = args[:kind] if args.key?(:kind)
1921
+ @sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
1914
1922
  @uri = args[:uri] if args.key?(:uri)
1915
1923
  end
1916
1924
 
@@ -2069,6 +2077,32 @@ module Google
2069
2077
  @table = args[:table] if args.key?(:table)
2070
2078
  end
2071
2079
  end
2080
+
2081
+ # Optional. Options for importing data from SQL statements.
2082
+ class SqlImportOptions
2083
+ include Google::Apis::Core::Hashable
2084
+
2085
+ # Optional. Whether or not the import should be parallel.
2086
+ # Corresponds to the JSON property `parallel`
2087
+ # @return [Boolean]
2088
+ attr_accessor :parallel
2089
+ alias_method :parallel?, :parallel
2090
+
2091
+ # Optional. The number of threads to use for parallel import.
2092
+ # Corresponds to the JSON property `threads`
2093
+ # @return [Fixnum]
2094
+ attr_accessor :threads
2095
+
2096
+ def initialize(**args)
2097
+ update!(**args)
2098
+ end
2099
+
2100
+ # Update properties of this object
2101
+ def update!(**args)
2102
+ @parallel = args[:parallel] if args.key?(:parallel)
2103
+ @threads = args[:threads] if args.key?(:threads)
2104
+ end
2105
+ end
2072
2106
  end
2073
2107
 
2074
2108
  # Insights configuration. This specifies when Cloud SQL Insights feature is
@@ -2482,32 +2516,31 @@ module Google
2482
2516
  # @return [Google::Apis::SqladminV1beta4::PscConfig]
2483
2517
  attr_accessor :psc_config
2484
2518
 
2485
- # Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
2486
- # Whether SSL/TLS connections over IP are enforced. If set to false, then allow
2487
- # both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the
2488
- # client certificate won't be verified. If set to true, then only allow
2489
- # connections encrypted with SSL/TLS and with valid client certificates. If you
2490
- # want to enforce SSL/TLS without enforcing the requirement for valid client
2491
- # certificates, then use the `ssl_mode` flag instead of the legacy `require_ssl`
2492
- # flag.
2519
+ # Use `ssl_mode` instead. Whether SSL/TLS connections over IP are enforced. If
2520
+ # set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/
2521
+ # TLS connections, the client certificate won't be verified. If set to true,
2522
+ # then only allow connections encrypted with SSL/TLS and with valid client
2523
+ # certificates. If you want to enforce SSL/TLS without enforcing the requirement
2524
+ # for valid client certificates, then use the `ssl_mode` flag instead of the
2525
+ # legacy `require_ssl` flag.
2493
2526
  # Corresponds to the JSON property `requireSsl`
2494
2527
  # @return [Boolean]
2495
2528
  attr_accessor :require_ssl
2496
2529
  alias_method :require_ssl?, :require_ssl
2497
2530
 
2498
- # Specify how SSL/TLS is enforced in database connections. MySQL and PostgreSQL
2499
- # use the `ssl_mode` flag. If you must use the `require_ssl` flag for backward
2500
- # compatibility, then only the following value pairs are valid: * `ssl_mode=
2531
+ # Specify how SSL/TLS is enforced in database connections. If you must use the `
2532
+ # require_ssl` flag for backward compatibility, then only the following value
2533
+ # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
2501
2534
  # ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2502
2535
  # ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=
2503
- # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` The value of `
2504
- # ssl_mode` gets priority over the value of `require_ssl`. For example, for the
2505
- # pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=
2506
- # ENCRYPTED_ONLY` means only accept SSL connections, while the `require_ssl=
2507
- # false` means accept both non-SSL and SSL connections. MySQL and PostgreSQL
2508
- # databases respect `ssl_mode` in this case and accept only SSL connections. SQL
2509
- # Server uses the `require_ssl` flag. You can set the value for this flag to `
2510
- # true` or `false`.
2536
+ # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `
2537
+ # ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2538
+ # ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority
2539
+ # over the value of `require_ssl`. For example, for the pair `ssl_mode=
2540
+ # ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means
2541
+ # accept only SSL connections, while `require_ssl=false` means accept both non-
2542
+ # SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `
2543
+ # ssl_mode` and accepts only SSL connections.
2511
2544
  # Corresponds to the JSON property `sslMode`
2512
2545
  # @return [String]
2513
2546
  attr_accessor :ssl_mode
@@ -3276,12 +3309,14 @@ module Google
3276
3309
  end
3277
3310
  end
3278
3311
 
3279
- # Primary-DR replica pair
3312
+ # A primary instance and disaster recovery (DR) replica pair. A DR replica is a
3313
+ # cross-region replica that you designate for failover in the event that the
3314
+ # primary instance has regional failure. Only applicable to MySQL.
3280
3315
  class ReplicationCluster
3281
3316
  include Google::Apis::Core::Hashable
3282
3317
 
3283
- # Output only. read-only field that indicates if the replica is a dr_replica;
3284
- # not set for a primary.
3318
+ # Output only. Read-only field that indicates whether the replica is a DR
3319
+ # replica. This field is not set if the instance is a primary instance.
3285
3320
  # Corresponds to the JSON property `drReplica`
3286
3321
  # @return [Boolean]
3287
3322
  attr_accessor :dr_replica
@@ -3290,8 +3325,9 @@ module Google
3290
3325
  # Optional. If the instance is a primary instance, then this field identifies
3291
3326
  # the disaster recovery (DR) replica. A DR replica is an optional configuration
3292
3327
  # for Enterprise Plus edition instances. If the instance is a read replica, then
3293
- # the field is not set. Users can set this field to set a designated DR replica
3294
- # for a primary. Removing this field removes the DR replica.
3328
+ # the field is not set. Set this field to a replica name to designate a DR
3329
+ # replica for a primary instance. Remove the replica name to remove the DR
3330
+ # replica designation.
3295
3331
  # Corresponds to the JSON property `failoverDrReplicaName`
3296
3332
  # @return [String]
3297
3333
  attr_accessor :failover_dr_replica_name
@@ -3836,8 +3872,9 @@ module Google
3836
3872
  class SqlInstancesStartExternalSyncRequest
3837
3873
  include Google::Apis::Core::Hashable
3838
3874
 
3839
- # Optional. MigrationType decides if the migration is a physical file based
3840
- # migration or logical migration.
3875
+ # Optional. MigrationType configures the migration to use physical files or
3876
+ # logical dump files. If not set, then the logical dump file configuration is
3877
+ # used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
3841
3878
  # Corresponds to the JSON property `migrationType`
3842
3879
  # @return [String]
3843
3880
  attr_accessor :migration_type
@@ -3882,8 +3919,9 @@ module Google
3882
3919
  class SqlInstancesVerifyExternalSyncSettingsRequest
3883
3920
  include Google::Apis::Core::Hashable
3884
3921
 
3885
- # Optional. MigrationType field decides if the migration is a physical file
3886
- # based migration or logical migration
3922
+ # Optional. MigrationType configures the migration to use physical files or
3923
+ # logical dump files. If not set, then the logical dump file configuration is
3924
+ # used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
3887
3925
  # Corresponds to the JSON property `migrationType`
3888
3926
  # @return [String]
3889
3927
  attr_accessor :migration_type
@@ -3898,8 +3936,7 @@ module Google
3898
3936
  # @return [String]
3899
3937
  attr_accessor :sync_mode
3900
3938
 
3901
- # Optional. Parallel level for initial data sync. Currently only applicable for
3902
- # PostgreSQL.
3939
+ # Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
3903
3940
  # Corresponds to the JSON property `syncParallelLevel`
3904
3941
  # @return [String]
3905
3942
  attr_accessor :sync_parallel_level
@@ -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.68.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240317"
25
+ REVISION = "20240425"
26
26
  end
27
27
  end
28
28
  end
@@ -270,6 +270,12 @@ module Google
270
270
 
271
271
  include Google::Apis::Core::JsonObjectSupport
272
272
  end
273
+
274
+ class SqlImportOptions
275
+ class Representation < Google::Apis::Core::JsonRepresentation; end
276
+
277
+ include Google::Apis::Core::JsonObjectSupport
278
+ end
273
279
 
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
@@ -1136,6 +1142,8 @@ module Google
1136
1142
  property :file_type, as: 'fileType'
1137
1143
  property :import_user, as: 'importUser'
1138
1144
  property :kind, as: 'kind'
1145
+ property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::SqlImportOptions::Representation
1146
+
1139
1147
  property :uri, as: 'uri'
1140
1148
  end
1141
1149
 
@@ -1173,6 +1181,14 @@ module Google
1173
1181
  property :table, as: 'table'
1174
1182
  end
1175
1183
  end
1184
+
1185
+ class SqlImportOptions
1186
+ # @private
1187
+ class Representation < Google::Apis::Core::JsonRepresentation
1188
+ property :parallel, as: 'parallel'
1189
+ property :threads, as: 'threads'
1190
+ end
1191
+ end
1176
1192
  end
1177
1193
 
1178
1194
  class InsightsConfig
@@ -1055,16 +1055,19 @@ module Google
1055
1055
  execute_or_queue_command(command, &block)
1056
1056
  end
1057
1057
 
1058
- # Promotes the read replica instance to be a stand-alone Cloud SQL instance.
1059
- # Using this operation might cause your instance to restart.
1058
+ # Promotes the read replica instance to be an independent Cloud SQL primary
1059
+ # instance. Using this operation might cause your instance to restart.
1060
1060
  # @param [String] project
1061
1061
  # ID of the project that contains the read replica.
1062
1062
  # @param [String] instance
1063
1063
  # Cloud SQL read replica instance name.
1064
1064
  # @param [Boolean] failover
1065
- # Set to true if the promote operation should attempt to re-add the original
1066
- # primary as a replica when it comes back online. Otherwise, if this value is
1067
- # false or not set, the original primary will be a standalone instance.
1065
+ # Set to true to invoke a replica failover to the designated DR replica. As part
1066
+ # of replica failover, the promote operation attempts to add the original
1067
+ # primary instance as a replica of the promoted DR replica when the original
1068
+ # primary instance comes back online. If set to false or not specified, then the
1069
+ # original primary instance becomes an independent Cloud SQL primary instance.
1070
+ # Only applicable to MySQL.
1068
1071
  # @param [String] fields
1069
1072
  # Selector specifying which fields to include in a partial response.
1070
1073
  # @param [String] quota_user
@@ -1373,7 +1376,7 @@ module Google
1373
1376
  execute_or_queue_command(command, &block)
1374
1377
  end
1375
1378
 
1376
- # Switches over from the primary instance to a replica instance.
1379
+ # Switches over from the primary instance to the designated DR replica instance.
1377
1380
  # @param [String] project
1378
1381
  # ID of the project that contains the replica.
1379
1382
  # @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.68.0
4
+ version: 0.70.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-03-24 00:00:00.000000000 Z
11
+ date: 2024-05-05 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.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.70.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: []