google-apis-sqladmin_v1 0.57.0 → 0.59.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: 5e45a2d43eebc39bf1efc627cecc7889c024e190b3782efdf1919b230257835c
|
4
|
+
data.tar.gz: b0db23676e4fcdb50526599abd7d356abaa787e305a78824930fe4e6aff25c80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e85d8c396d0f10ab5b6ef3cb5b3f7e380140a15e0b8d89bbed058b4905de9853c68df2991371bb78cc059f3964a138954297d63c35f7ec2632984c50a190afd1
|
7
|
+
data.tar.gz: ab3bcaf0fda441ad89935a29ab693f57e9cc50bd049b10a571d3c6bc4d1e285fd282a213432414a9e32e441b9088f33a3fcfe3b7486ffa35b3af802292836bf0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.59.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240521
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.58.0 (2024-05-05)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240425
|
11
|
+
|
3
12
|
### v0.57.0 (2024-03-31)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240324
|
@@ -149,6 +149,38 @@ module Google
|
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
|
+
# An available database version. It can be a major or a minor version.
|
153
|
+
class AvailableDatabaseVersion
|
154
|
+
include Google::Apis::Core::Hashable
|
155
|
+
|
156
|
+
# The database version's display name.
|
157
|
+
# Corresponds to the JSON property `displayName`
|
158
|
+
# @return [String]
|
159
|
+
attr_accessor :display_name
|
160
|
+
|
161
|
+
# The version's major version name.
|
162
|
+
# Corresponds to the JSON property `majorVersion`
|
163
|
+
# @return [String]
|
164
|
+
attr_accessor :major_version
|
165
|
+
|
166
|
+
# The database version name. For MySQL 8.0, this string provides the database
|
167
|
+
# major and minor version.
|
168
|
+
# Corresponds to the JSON property `name`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :name
|
171
|
+
|
172
|
+
def initialize(**args)
|
173
|
+
update!(**args)
|
174
|
+
end
|
175
|
+
|
176
|
+
# Update properties of this object
|
177
|
+
def update!(**args)
|
178
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
179
|
+
@major_version = args[:major_version] if args.key?(:major_version)
|
180
|
+
@name = args[:name] if args.key?(:name)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
152
184
|
# Database instance backup configuration.
|
153
185
|
class BackupConfiguration
|
154
186
|
include Google::Apis::Core::Hashable
|
@@ -207,7 +239,7 @@ module Google
|
|
207
239
|
attr_accessor :transaction_log_retention_days
|
208
240
|
|
209
241
|
# Output only. This value contains the storage location of transactional logs
|
210
|
-
#
|
242
|
+
# used to perform point-in-time recovery (PITR) for the database.
|
211
243
|
# Corresponds to the JSON property `transactionalLogStorageState`
|
212
244
|
# @return [String]
|
213
245
|
attr_accessor :transactional_log_storage_state
|
@@ -543,9 +575,9 @@ module Google
|
|
543
575
|
# @return [String]
|
544
576
|
attr_accessor :point_in_time
|
545
577
|
|
546
|
-
# Optional.
|
547
|
-
#
|
548
|
-
# source instance.
|
578
|
+
# Optional. Copy clone and point-in-time recovery clone of an instance to the
|
579
|
+
# specified zone. If no zone is specified, clone to the same primary zone as the
|
580
|
+
# source instance. This field applies to all DB types.
|
549
581
|
# Corresponds to the JSON property `preferredZone`
|
550
582
|
# @return [String]
|
551
583
|
attr_accessor :preferred_zone
|
@@ -839,7 +871,7 @@ module Google
|
|
839
871
|
# @return [String]
|
840
872
|
attr_accessor :gce_zone
|
841
873
|
|
842
|
-
# Gemini configuration.
|
874
|
+
# Gemini instance configuration.
|
843
875
|
# Corresponds to the JSON property `geminiConfig`
|
844
876
|
# @return [Google::Apis::SqladminV1::GeminiInstanceConfig]
|
845
877
|
attr_accessor :gemini_config
|
@@ -929,7 +961,9 @@ module Google
|
|
929
961
|
# @return [Array<String>]
|
930
962
|
attr_accessor :replica_names
|
931
963
|
|
932
|
-
#
|
964
|
+
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
965
|
+
# cross-region replica that you designate for failover in the event that the
|
966
|
+
# primary instance experiences regional failure. Only applicable to MySQL.
|
933
967
|
# Corresponds to the JSON property `replicationCluster`
|
934
968
|
# @return [Google::Apis::SqladminV1::ReplicationCluster]
|
935
969
|
attr_accessor :replication_cluster
|
@@ -940,7 +974,8 @@ module Google
|
|
940
974
|
# @return [String]
|
941
975
|
attr_accessor :root_password
|
942
976
|
|
943
|
-
#
|
977
|
+
# This status indicates whether the instance satisfies PZS. The status is
|
978
|
+
# reserved for future use.
|
944
979
|
# Corresponds to the JSON property `satisfiesPzs`
|
945
980
|
# @return [Boolean]
|
946
981
|
attr_accessor :satisfies_pzs
|
@@ -995,6 +1030,11 @@ module Google
|
|
995
1030
|
# @return [Array<String>]
|
996
1031
|
attr_accessor :suspension_reason
|
997
1032
|
|
1033
|
+
# Output only. All database versions that are available for upgrade.
|
1034
|
+
# Corresponds to the JSON property `upgradableDatabaseVersions`
|
1035
|
+
# @return [Array<Google::Apis::SqladminV1::AvailableDatabaseVersion>]
|
1036
|
+
attr_accessor :upgradable_database_versions
|
1037
|
+
|
998
1038
|
# Output only. The dns name of the primary instance in a replication group.
|
999
1039
|
# Corresponds to the JSON property `writeEndpoint`
|
1000
1040
|
# @return [String]
|
@@ -1048,6 +1088,7 @@ module Google
|
|
1048
1088
|
@sql_network_architecture = args[:sql_network_architecture] if args.key?(:sql_network_architecture)
|
1049
1089
|
@state = args[:state] if args.key?(:state)
|
1050
1090
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
1091
|
+
@upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
|
1051
1092
|
@write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
|
1052
1093
|
end
|
1053
1094
|
|
@@ -1741,41 +1782,41 @@ module Google
|
|
1741
1782
|
end
|
1742
1783
|
end
|
1743
1784
|
|
1744
|
-
# Gemini configuration.
|
1785
|
+
# Gemini instance configuration.
|
1745
1786
|
class GeminiInstanceConfig
|
1746
1787
|
include Google::Apis::Core::Hashable
|
1747
1788
|
|
1748
|
-
# Output only. Whether active query is enabled.
|
1789
|
+
# Output only. Whether the active query is enabled.
|
1749
1790
|
# Corresponds to the JSON property `activeQueryEnabled`
|
1750
1791
|
# @return [Boolean]
|
1751
1792
|
attr_accessor :active_query_enabled
|
1752
1793
|
alias_method :active_query_enabled?, :active_query_enabled
|
1753
1794
|
|
1754
|
-
# Output only. Whether
|
1795
|
+
# Output only. Whether Gemini is enabled.
|
1755
1796
|
# Corresponds to the JSON property `entitled`
|
1756
1797
|
# @return [Boolean]
|
1757
1798
|
attr_accessor :entitled
|
1758
1799
|
alias_method :entitled?, :entitled
|
1759
1800
|
|
1760
|
-
# Output only. Whether flag recommender is enabled.
|
1801
|
+
# Output only. Whether the flag recommender is enabled.
|
1761
1802
|
# Corresponds to the JSON property `flagRecommenderEnabled`
|
1762
1803
|
# @return [Boolean]
|
1763
1804
|
attr_accessor :flag_recommender_enabled
|
1764
1805
|
alias_method :flag_recommender_enabled?, :flag_recommender_enabled
|
1765
1806
|
|
1766
|
-
# Output only. Whether vacuum management is enabled.
|
1807
|
+
# Output only. Whether the vacuum management is enabled.
|
1767
1808
|
# Corresponds to the JSON property `googleVacuumMgmtEnabled`
|
1768
1809
|
# @return [Boolean]
|
1769
1810
|
attr_accessor :google_vacuum_mgmt_enabled
|
1770
1811
|
alias_method :google_vacuum_mgmt_enabled?, :google_vacuum_mgmt_enabled
|
1771
1812
|
|
1772
|
-
# Output only. Whether index advisor is enabled.
|
1813
|
+
# Output only. Whether the index advisor is enabled.
|
1773
1814
|
# Corresponds to the JSON property `indexAdvisorEnabled`
|
1774
1815
|
# @return [Boolean]
|
1775
1816
|
attr_accessor :index_advisor_enabled
|
1776
1817
|
alias_method :index_advisor_enabled?, :index_advisor_enabled
|
1777
1818
|
|
1778
|
-
# Output only. Whether
|
1819
|
+
# Output only. Whether canceling the out-of-memory (OOM) session is enabled.
|
1779
1820
|
# Corresponds to the JSON property `oomSessionCancelEnabled`
|
1780
1821
|
# @return [Boolean]
|
1781
1822
|
attr_accessor :oom_session_cancel_enabled
|
@@ -2532,12 +2573,12 @@ module Google
|
|
2532
2573
|
# ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=
|
2533
2574
|
# TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `
|
2534
2575
|
# ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
|
2535
|
-
# ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode`
|
2576
|
+
# ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority
|
2536
2577
|
# over the value of `require_ssl`. For example, for the pair `ssl_mode=
|
2537
|
-
# ENCRYPTED_ONLY` and `require_ssl=false`,
|
2538
|
-
# only
|
2539
|
-
#
|
2540
|
-
#
|
2578
|
+
# ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means
|
2579
|
+
# accept only SSL connections, while `require_ssl=false` means accept both non-
|
2580
|
+
# SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `
|
2581
|
+
# ssl_mode` and accepts only SSL connections.
|
2541
2582
|
# Corresponds to the JSON property `sslMode`
|
2542
2583
|
# @return [String]
|
2543
2584
|
attr_accessor :ssl_mode
|
@@ -3306,12 +3347,14 @@ module Google
|
|
3306
3347
|
end
|
3307
3348
|
end
|
3308
3349
|
|
3309
|
-
#
|
3350
|
+
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
3351
|
+
# cross-region replica that you designate for failover in the event that the
|
3352
|
+
# primary instance experiences regional failure. Only applicable to MySQL.
|
3310
3353
|
class ReplicationCluster
|
3311
3354
|
include Google::Apis::Core::Hashable
|
3312
3355
|
|
3313
|
-
# Output only.
|
3314
|
-
# not set
|
3356
|
+
# Output only. Read-only field that indicates whether the replica is a DR
|
3357
|
+
# replica. This field is not set if the instance is a primary instance.
|
3315
3358
|
# Corresponds to the JSON property `drReplica`
|
3316
3359
|
# @return [Boolean]
|
3317
3360
|
attr_accessor :dr_replica
|
@@ -3320,12 +3363,24 @@ module Google
|
|
3320
3363
|
# Optional. If the instance is a primary instance, then this field identifies
|
3321
3364
|
# the disaster recovery (DR) replica. A DR replica is an optional configuration
|
3322
3365
|
# for Enterprise Plus edition instances. If the instance is a read replica, then
|
3323
|
-
# the field is not set.
|
3324
|
-
# for a primary.
|
3366
|
+
# the field is not set. Set this field to a replica name to designate a DR
|
3367
|
+
# replica for a primary instance. Remove the replica name to remove the DR
|
3368
|
+
# replica designation.
|
3325
3369
|
# Corresponds to the JSON property `failoverDrReplicaName`
|
3326
3370
|
# @return [String]
|
3327
3371
|
attr_accessor :failover_dr_replica_name
|
3328
3372
|
|
3373
|
+
# Output only. If set, it indicates this instance has a private service access (
|
3374
|
+
# PSA) dns endpoint that is pointing to the primary instance of the cluster. If
|
3375
|
+
# this instance is the primary, the dns should be pointing to this instance.
|
3376
|
+
# After Switchover or Replica failover, this DNS endpoint points to the promoted
|
3377
|
+
# instance. This is a read-only field, returned to the user as information. This
|
3378
|
+
# field can exist even if a standalone instance does not yet have a replica, or
|
3379
|
+
# had a DR replica that was deleted.
|
3380
|
+
# Corresponds to the JSON property `psaWriteEndpoint`
|
3381
|
+
# @return [String]
|
3382
|
+
attr_accessor :psa_write_endpoint
|
3383
|
+
|
3329
3384
|
def initialize(**args)
|
3330
3385
|
update!(**args)
|
3331
3386
|
end
|
@@ -3334,6 +3389,7 @@ module Google
|
|
3334
3389
|
def update!(**args)
|
3335
3390
|
@dr_replica = args[:dr_replica] if args.key?(:dr_replica)
|
3336
3391
|
@failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
|
3392
|
+
@psa_write_endpoint = args[:psa_write_endpoint] if args.key?(:psa_write_endpoint)
|
3337
3393
|
end
|
3338
3394
|
end
|
3339
3395
|
|
@@ -3866,8 +3922,9 @@ module Google
|
|
3866
3922
|
class SqlInstancesStartExternalSyncRequest
|
3867
3923
|
include Google::Apis::Core::Hashable
|
3868
3924
|
|
3869
|
-
# Optional. MigrationType
|
3870
|
-
#
|
3925
|
+
# Optional. MigrationType configures the migration to use physical files or
|
3926
|
+
# logical dump files. If not set, then the logical dump file configuration is
|
3927
|
+
# used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
3871
3928
|
# Corresponds to the JSON property `migrationType`
|
3872
3929
|
# @return [String]
|
3873
3930
|
attr_accessor :migration_type
|
@@ -3912,8 +3969,9 @@ module Google
|
|
3912
3969
|
class SqlInstancesVerifyExternalSyncSettingsRequest
|
3913
3970
|
include Google::Apis::Core::Hashable
|
3914
3971
|
|
3915
|
-
# Optional. MigrationType
|
3916
|
-
#
|
3972
|
+
# Optional. MigrationType configures the migration to use physical files or
|
3973
|
+
# logical dump files. If not set, then the logical dump file configuration is
|
3974
|
+
# used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
3917
3975
|
# Corresponds to the JSON property `migrationType`
|
3918
3976
|
# @return [String]
|
3919
3977
|
attr_accessor :migration_type
|
@@ -3928,8 +3986,7 @@ module Google
|
|
3928
3986
|
# @return [String]
|
3929
3987
|
attr_accessor :sync_mode
|
3930
3988
|
|
3931
|
-
# Optional. Parallel level for initial data sync.
|
3932
|
-
# PostgreSQL.
|
3989
|
+
# Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
|
3933
3990
|
# Corresponds to the JSON property `syncParallelLevel`
|
3934
3991
|
# @return [String]
|
3935
3992
|
attr_accessor :sync_parallel_level
|
@@ -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.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240521"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class AvailableDatabaseVersion
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class BackupConfiguration
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -712,6 +718,15 @@ module Google
|
|
712
718
|
end
|
713
719
|
end
|
714
720
|
|
721
|
+
class AvailableDatabaseVersion
|
722
|
+
# @private
|
723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
+
property :display_name, as: 'displayName'
|
725
|
+
property :major_version, as: 'majorVersion'
|
726
|
+
property :name, as: 'name'
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
715
730
|
class BackupConfiguration
|
716
731
|
# @private
|
717
732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -917,6 +932,8 @@ module Google
|
|
917
932
|
property :sql_network_architecture, as: 'sqlNetworkArchitecture'
|
918
933
|
property :state, as: 'state'
|
919
934
|
collection :suspension_reason, as: 'suspensionReason'
|
935
|
+
collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1::AvailableDatabaseVersion::Representation
|
936
|
+
|
920
937
|
property :write_endpoint, as: 'writeEndpoint'
|
921
938
|
end
|
922
939
|
|
@@ -1530,6 +1547,7 @@ module Google
|
|
1530
1547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1531
1548
|
property :dr_replica, as: 'drReplica'
|
1532
1549
|
property :failover_dr_replica_name, as: 'failoverDrReplicaName'
|
1550
|
+
property :psa_write_endpoint, as: 'psaWriteEndpoint'
|
1533
1551
|
end
|
1534
1552
|
end
|
1535
1553
|
|
@@ -1056,16 +1056,19 @@ module Google
|
|
1056
1056
|
execute_or_queue_command(command, &block)
|
1057
1057
|
end
|
1058
1058
|
|
1059
|
-
# Promotes the read replica instance to be
|
1060
|
-
# Using this operation might cause your instance to restart.
|
1059
|
+
# Promotes the read replica instance to be an independent Cloud SQL primary
|
1060
|
+
# instance. Using this operation might cause your instance to restart.
|
1061
1061
|
# @param [String] project
|
1062
1062
|
# ID of the project that contains the read replica.
|
1063
1063
|
# @param [String] instance
|
1064
1064
|
# Cloud SQL read replica instance name.
|
1065
1065
|
# @param [Boolean] failover
|
1066
|
-
# Set to true
|
1067
|
-
#
|
1068
|
-
#
|
1066
|
+
# Set to true to invoke a replica failover to the designated DR replica. As part
|
1067
|
+
# of replica failover, the promote operation attempts to add the original
|
1068
|
+
# primary instance as a replica of the promoted DR replica when the original
|
1069
|
+
# primary instance comes back online. If set to false or not specified, then the
|
1070
|
+
# original primary instance becomes an independent Cloud SQL primary instance.
|
1071
|
+
# Only applicable to MySQL.
|
1069
1072
|
# @param [String] fields
|
1070
1073
|
# Selector specifying which fields to include in a partial response.
|
1071
1074
|
# @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 the 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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.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-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.59.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: []
|