google-apis-sqladmin_v1beta4 0.69.0 → 0.71.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: fb6b099a75987926998a939edd8e1c313ec1fcf8a4dcc2db429ab65fbc104dab
4
- data.tar.gz: 58b99dec46ef9c3c6b275f94964b746a2edcfdca95369e15edd493b67b4d8a8a
3
+ metadata.gz: 726ac1828dd3d32a5a303719f7ecba21f98e4d88e370613ad5f51f77beefb635
4
+ data.tar.gz: 68d1ac150279f2ef8f7fe6d13a2da4508b779bb64982d435e933a52c89d05b37
5
5
  SHA512:
6
- metadata.gz: eec7acef090b3d6033260fc28cd4245218cb00e573152172299714bd614f34d6b791db37dc51551cf0c9e879b9bcb1bfe9f0691e9bc47c882d5c6df68cd717d6
7
- data.tar.gz: 1026d3fa6dba9b9971e9acf847952d318f22eed08c8d6fcaf5e0e702bb8e6288c4ab9ccc37c56f1a929ab1f48f0a99dbe69d39cb6f18803755a3ce15259a2ed1
6
+ metadata.gz: 52c4d6df5138f826c636c6888d040ab04c8fbd9a94c6c9268e6dd02fdcb78bc2cb8211431931b53db22a726dd9b8bacc9c8a15f56a834f555aa11ca28664261c
7
+ data.tar.gz: f557de5ad3170a5e61a75ed31eddf183a4113c873eff48c6377be62b6ecd683192a0f203373f5ccde3e542a2a79b43e6092efb9d48c0b78fd42db3a3deff57ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.71.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240521
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.70.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240425
11
+
3
12
  ### v0.69.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
@@ -543,8 +575,15 @@ module Google
543
575
  # @return [String]
544
576
  attr_accessor :point_in_time
545
577
 
546
- # Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in
547
- # the specified zone. If no zone is specified, clone to the same zone as the
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
+ # Optional. Copy clone and point-in-time recovery clone of an instance to the
586
+ # specified zone. If no zone is specified, clone to the same primary zone as the
548
587
  # source instance.
549
588
  # Corresponds to the JSON property `preferredZone`
550
589
  # @return [String]
@@ -563,6 +602,7 @@ module Google
563
602
  @kind = args[:kind] if args.key?(:kind)
564
603
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
565
604
  @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)
566
606
  @preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
567
607
  end
568
608
  end
@@ -839,7 +879,7 @@ module Google
839
879
  # @return [String]
840
880
  attr_accessor :gce_zone
841
881
 
842
- # Gemini configuration.
882
+ # Gemini instance configuration.
843
883
  # Corresponds to the JSON property `geminiConfig`
844
884
  # @return [Google::Apis::SqladminV1beta4::GeminiInstanceConfig]
845
885
  attr_accessor :gemini_config
@@ -929,7 +969,9 @@ module Google
929
969
  # @return [Array<String>]
930
970
  attr_accessor :replica_names
931
971
 
932
- # Primary-DR replica pair
972
+ # A primary instance and disaster recovery (DR) replica pair. A DR replica is a
973
+ # cross-region replica that you designate for failover in the event that the
974
+ # primary instance has regional failure. Only applicable to MySQL.
933
975
  # Corresponds to the JSON property `replicationCluster`
934
976
  # @return [Google::Apis::SqladminV1beta4::ReplicationCluster]
935
977
  attr_accessor :replication_cluster
@@ -940,7 +982,8 @@ module Google
940
982
  # @return [String]
941
983
  attr_accessor :root_password
942
984
 
943
- # The status indicating if instance satisfiesPzs. Reserved for future use.
985
+ # This status indicates whether the instance satisfies PZS. The status is
986
+ # reserved for future use.
944
987
  # Corresponds to the JSON property `satisfiesPzs`
945
988
  # @return [Boolean]
946
989
  attr_accessor :satisfies_pzs
@@ -995,6 +1038,11 @@ module Google
995
1038
  # @return [Array<String>]
996
1039
  attr_accessor :suspension_reason
997
1040
 
1041
+ # Output only. All database versions that are available for upgrade.
1042
+ # Corresponds to the JSON property `upgradableDatabaseVersions`
1043
+ # @return [Array<Google::Apis::SqladminV1beta4::AvailableDatabaseVersion>]
1044
+ attr_accessor :upgradable_database_versions
1045
+
998
1046
  # Output only. The dns name of the primary instance in a replication group.
999
1047
  # Corresponds to the JSON property `writeEndpoint`
1000
1048
  # @return [String]
@@ -1048,6 +1096,7 @@ module Google
1048
1096
  @sql_network_architecture = args[:sql_network_architecture] if args.key?(:sql_network_architecture)
1049
1097
  @state = args[:state] if args.key?(:state)
1050
1098
  @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
1099
+ @upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
1051
1100
  @write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
1052
1101
  end
1053
1102
 
@@ -1741,11 +1790,11 @@ module Google
1741
1790
  end
1742
1791
  end
1743
1792
 
1744
- # Gemini configuration.
1793
+ # Gemini instance configuration.
1745
1794
  class GeminiInstanceConfig
1746
1795
  include Google::Apis::Core::Hashable
1747
1796
 
1748
- # Output only. Whether active query is enabled.
1797
+ # Output only. Whether the active query is enabled.
1749
1798
  # Corresponds to the JSON property `activeQueryEnabled`
1750
1799
  # @return [Boolean]
1751
1800
  attr_accessor :active_query_enabled
@@ -1757,25 +1806,25 @@ module Google
1757
1806
  attr_accessor :entitled
1758
1807
  alias_method :entitled?, :entitled
1759
1808
 
1760
- # Output only. Whether flag recommender is enabled.
1809
+ # Output only. Whether the flag recommender is enabled.
1761
1810
  # Corresponds to the JSON property `flagRecommenderEnabled`
1762
1811
  # @return [Boolean]
1763
1812
  attr_accessor :flag_recommender_enabled
1764
1813
  alias_method :flag_recommender_enabled?, :flag_recommender_enabled
1765
1814
 
1766
- # Output only. Whether vacuum management is enabled.
1815
+ # Output only. Whether the vacuum management is enabled.
1767
1816
  # Corresponds to the JSON property `googleVacuumMgmtEnabled`
1768
1817
  # @return [Boolean]
1769
1818
  attr_accessor :google_vacuum_mgmt_enabled
1770
1819
  alias_method :google_vacuum_mgmt_enabled?, :google_vacuum_mgmt_enabled
1771
1820
 
1772
- # Output only. Whether index advisor is enabled.
1821
+ # Output only. Whether the index advisor is enabled.
1773
1822
  # Corresponds to the JSON property `indexAdvisorEnabled`
1774
1823
  # @return [Boolean]
1775
1824
  attr_accessor :index_advisor_enabled
1776
1825
  alias_method :index_advisor_enabled?, :index_advisor_enabled
1777
1826
 
1778
- # Output only. Whether oom session cancel is enabled.
1827
+ # Output only. Whether canceling the out-of-memory (OOM) session is enabled.
1779
1828
  # Corresponds to the JSON property `oomSessionCancelEnabled`
1780
1829
  # @return [Boolean]
1781
1830
  attr_accessor :oom_session_cancel_enabled
@@ -2533,12 +2582,12 @@ module Google
2533
2582
  # ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=
2534
2583
  # TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `
2535
2584
  # ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=
2536
- # ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` gets priority
2585
+ # ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority
2537
2586
  # over the value of `require_ssl`. For example, for the pair `ssl_mode=
2538
- # ENCRYPTED_ONLY` and `require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means
2539
- # only accept SSL connections, while the `require_ssl=false` means accept both
2540
- # non-SSL and SSL connections. MySQL and PostgreSQL databases respect `ssl_mode`
2541
- # in this case and accept only SSL connections.
2587
+ # ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means
2588
+ # accept only SSL connections, while `require_ssl=false` means accept both non-
2589
+ # SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `
2590
+ # ssl_mode` and accepts only SSL connections.
2542
2591
  # Corresponds to the JSON property `sslMode`
2543
2592
  # @return [String]
2544
2593
  attr_accessor :ssl_mode
@@ -3307,12 +3356,14 @@ module Google
3307
3356
  end
3308
3357
  end
3309
3358
 
3310
- # Primary-DR replica pair
3359
+ # A primary instance and disaster recovery (DR) replica pair. A DR replica is a
3360
+ # cross-region replica that you designate for failover in the event that the
3361
+ # primary instance has regional failure. Only applicable to MySQL.
3311
3362
  class ReplicationCluster
3312
3363
  include Google::Apis::Core::Hashable
3313
3364
 
3314
- # Output only. read-only field that indicates if the replica is a dr_replica;
3315
- # not set for a primary.
3365
+ # Output only. Read-only field that indicates whether the replica is a DR
3366
+ # replica. This field is not set if the instance is a primary instance.
3316
3367
  # Corresponds to the JSON property `drReplica`
3317
3368
  # @return [Boolean]
3318
3369
  attr_accessor :dr_replica
@@ -3321,12 +3372,24 @@ module Google
3321
3372
  # Optional. If the instance is a primary instance, then this field identifies
3322
3373
  # the disaster recovery (DR) replica. A DR replica is an optional configuration
3323
3374
  # for Enterprise Plus edition instances. If the instance is a read replica, then
3324
- # the field is not set. Users can set this field to set a designated DR replica
3325
- # for a primary. Removing this field removes the DR replica.
3375
+ # the field is not set. Set this field to a replica name to designate a DR
3376
+ # replica for a primary instance. Remove the replica name to remove the DR
3377
+ # replica designation.
3326
3378
  # Corresponds to the JSON property `failoverDrReplicaName`
3327
3379
  # @return [String]
3328
3380
  attr_accessor :failover_dr_replica_name
3329
3381
 
3382
+ # Output only. If set, it indicates this instance has a private service access (
3383
+ # PSA) dns endpoint that is pointing to the primary instance of the cluster. If
3384
+ # this instance is the primary, the dns should be pointing to this instance.
3385
+ # After Switchover or Replica failover, this DNS endpoint points to the promoted
3386
+ # instance. This is a read-only field, returned to the user as information. This
3387
+ # field can exist even if a standalone instance does not yet have a replica, or
3388
+ # had a DR replica that was deleted.
3389
+ # Corresponds to the JSON property `psaWriteEndpoint`
3390
+ # @return [String]
3391
+ attr_accessor :psa_write_endpoint
3392
+
3330
3393
  def initialize(**args)
3331
3394
  update!(**args)
3332
3395
  end
@@ -3335,6 +3398,7 @@ module Google
3335
3398
  def update!(**args)
3336
3399
  @dr_replica = args[:dr_replica] if args.key?(:dr_replica)
3337
3400
  @failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
3401
+ @psa_write_endpoint = args[:psa_write_endpoint] if args.key?(:psa_write_endpoint)
3338
3402
  end
3339
3403
  end
3340
3404
 
@@ -3867,8 +3931,9 @@ module Google
3867
3931
  class SqlInstancesStartExternalSyncRequest
3868
3932
  include Google::Apis::Core::Hashable
3869
3933
 
3870
- # Optional. MigrationType decides if the migration is a physical file based
3871
- # migration or logical migration.
3934
+ # Optional. MigrationType configures the migration to use physical files or
3935
+ # logical dump files. If not set, then the logical dump file configuration is
3936
+ # used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
3872
3937
  # Corresponds to the JSON property `migrationType`
3873
3938
  # @return [String]
3874
3939
  attr_accessor :migration_type
@@ -3913,8 +3978,9 @@ module Google
3913
3978
  class SqlInstancesVerifyExternalSyncSettingsRequest
3914
3979
  include Google::Apis::Core::Hashable
3915
3980
 
3916
- # Optional. MigrationType field decides if the migration is a physical file
3917
- # based migration or logical migration
3981
+ # Optional. MigrationType configures the migration to use physical files or
3982
+ # logical dump files. If not set, then the logical dump file configuration is
3983
+ # used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
3918
3984
  # Corresponds to the JSON property `migrationType`
3919
3985
  # @return [String]
3920
3986
  attr_accessor :migration_type
@@ -3929,8 +3995,7 @@ module Google
3929
3995
  # @return [String]
3930
3996
  attr_accessor :sync_mode
3931
3997
 
3932
- # Optional. Parallel level for initial data sync. Currently only applicable for
3933
- # PostgreSQL.
3998
+ # Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
3934
3999
  # Corresponds to the JSON property `syncParallelLevel`
3935
4000
  # @return [String]
3936
4001
  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.69.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240324"
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
@@ -809,6 +824,7 @@ module Google
809
824
  property :kind, as: 'kind'
810
825
  property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
811
826
  property :point_in_time, as: 'pointInTime'
827
+ property :preferred_secondary_zone, as: 'preferredSecondaryZone'
812
828
  property :preferred_zone, as: 'preferredZone'
813
829
  end
814
830
  end
@@ -917,6 +933,8 @@ module Google
917
933
  property :sql_network_architecture, as: 'sqlNetworkArchitecture'
918
934
  property :state, as: 'state'
919
935
  collection :suspension_reason, as: 'suspensionReason'
936
+ collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion::Representation
937
+
920
938
  property :write_endpoint, as: 'writeEndpoint'
921
939
  end
922
940
 
@@ -1530,6 +1548,7 @@ module Google
1530
1548
  class Representation < Google::Apis::Core::JsonRepresentation
1531
1549
  property :dr_replica, as: 'drReplica'
1532
1550
  property :failover_dr_replica_name, as: 'failoverDrReplicaName'
1551
+ property :psa_write_endpoint, as: 'psaWriteEndpoint'
1533
1552
  end
1534
1553
  end
1535
1554
 
@@ -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.69.0
4
+ version: 0.71.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-31 00:00:00.000000000 Z
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.14.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.14.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_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.71.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: []