google-apis-sqladmin_v1beta4 0.67.0 → 0.68.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: 6273868748e9d67ddb632e4c3f6e3675e1373a86e72111fad68f3caeade1fd07
4
- data.tar.gz: 34ba134ba4ac903cfb8284af18146372a217987d45fa522ad551275110a2a326
3
+ metadata.gz: 413308ea999de90d73ee3f506ff0ff381fb241e290ccedb6cf9008eec81e99ca
4
+ data.tar.gz: 29a4a04e174c6576b3e5a4d8036cfcdf129edeec51ab84865a4da63420c7cc10
5
5
  SHA512:
6
- metadata.gz: '08f01eba814e28bdc73835d8531426a0667e66ff830938b5ac8f211c78d25ae1bd6ed7f48b8d6b784286494900dd8283b8bae014308889da2ec0ae101f4281af'
7
- data.tar.gz: 66e83a06cd8b901f1ee2ee97228621a59d04b48e37193ebaf51b73f4a15092614f35b992783befbdfc3db4fbc4d1faf9c4285a30df3e829bd96358eff994cea4
6
+ metadata.gz: a74c76a9e7fd18ea34ba05a8edbd82f621e5bf9738b9bd359b7a66c4d81003064106cafc0594b83c5dcc416e58e80f5fe12b18dc529d836f0bbafbeec1f96c1a
7
+ data.tar.gz: 46f81602ef21fe4b30e4940a493776da658572eb07f84deb367431378a96f88d839e78f06758a84143370197dbcfd9226b8b17c9c75ac7515bb23100c85aa5a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.68.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240317
6
+
3
7
  ### v0.67.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240304
@@ -206,6 +206,12 @@ module Google
206
206
  # @return [Fixnum]
207
207
  attr_accessor :transaction_log_retention_days
208
208
 
209
+ # Output only. This value contains the storage location of transactional logs
210
+ # for the database for point-in-time recovery.
211
+ # Corresponds to the JSON property `transactionalLogStorageState`
212
+ # @return [String]
213
+ attr_accessor :transactional_log_storage_state
214
+
209
215
  def initialize(**args)
210
216
  update!(**args)
211
217
  end
@@ -221,6 +227,7 @@ module Google
221
227
  @replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
222
228
  @start_time = args[:start_time] if args.key?(:start_time)
223
229
  @transaction_log_retention_days = args[:transaction_log_retention_days] if args.key?(:transaction_log_retention_days)
230
+ @transactional_log_storage_state = args[:transactional_log_storage_state] if args.key?(:transactional_log_storage_state)
224
231
  end
225
232
  end
226
233
 
@@ -832,6 +839,11 @@ module Google
832
839
  # @return [String]
833
840
  attr_accessor :gce_zone
834
841
 
842
+ # Gemini configuration.
843
+ # Corresponds to the JSON property `geminiConfig`
844
+ # @return [Google::Apis::SqladminV1beta4::GeminiInstanceConfig]
845
+ attr_accessor :gemini_config
846
+
835
847
  # The instance type.
836
848
  # Corresponds to the JSON property `instanceType`
837
849
  # @return [String]
@@ -917,6 +929,11 @@ module Google
917
929
  # @return [Array<String>]
918
930
  attr_accessor :replica_names
919
931
 
932
+ # Primary-DR replica pair
933
+ # Corresponds to the JSON property `replicationCluster`
934
+ # @return [Google::Apis::SqladminV1beta4::ReplicationCluster]
935
+ attr_accessor :replication_cluster
936
+
920
937
  # Initial root password. Use only on creation. You must set root passwords
921
938
  # before you can connect to PostgreSQL instances.
922
939
  # Corresponds to the JSON property `rootPassword`
@@ -1002,6 +1019,7 @@ module Google
1002
1019
  @etag = args[:etag] if args.key?(:etag)
1003
1020
  @failover_replica = args[:failover_replica] if args.key?(:failover_replica)
1004
1021
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1022
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
1005
1023
  @instance_type = args[:instance_type] if args.key?(:instance_type)
1006
1024
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1007
1025
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
@@ -1018,6 +1036,7 @@ module Google
1018
1036
  @region = args[:region] if args.key?(:region)
1019
1037
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
1020
1038
  @replica_names = args[:replica_names] if args.key?(:replica_names)
1039
+ @replication_cluster = args[:replication_cluster] if args.key?(:replication_cluster)
1021
1040
  @root_password = args[:root_password] if args.key?(:root_password)
1022
1041
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1023
1042
  @scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance)
@@ -1722,6 +1741,61 @@ module Google
1722
1741
  end
1723
1742
  end
1724
1743
 
1744
+ # Gemini configuration.
1745
+ class GeminiInstanceConfig
1746
+ include Google::Apis::Core::Hashable
1747
+
1748
+ # Output only. Whether active query is enabled.
1749
+ # Corresponds to the JSON property `activeQueryEnabled`
1750
+ # @return [Boolean]
1751
+ attr_accessor :active_query_enabled
1752
+ alias_method :active_query_enabled?, :active_query_enabled
1753
+
1754
+ # Output only. Whether Gemini is enabled.
1755
+ # Corresponds to the JSON property `entitled`
1756
+ # @return [Boolean]
1757
+ attr_accessor :entitled
1758
+ alias_method :entitled?, :entitled
1759
+
1760
+ # Output only. Whether flag recommender is enabled.
1761
+ # Corresponds to the JSON property `flagRecommenderEnabled`
1762
+ # @return [Boolean]
1763
+ attr_accessor :flag_recommender_enabled
1764
+ alias_method :flag_recommender_enabled?, :flag_recommender_enabled
1765
+
1766
+ # Output only. Whether vacuum management is enabled.
1767
+ # Corresponds to the JSON property `googleVacuumMgmtEnabled`
1768
+ # @return [Boolean]
1769
+ attr_accessor :google_vacuum_mgmt_enabled
1770
+ alias_method :google_vacuum_mgmt_enabled?, :google_vacuum_mgmt_enabled
1771
+
1772
+ # Output only. Whether index advisor is enabled.
1773
+ # Corresponds to the JSON property `indexAdvisorEnabled`
1774
+ # @return [Boolean]
1775
+ attr_accessor :index_advisor_enabled
1776
+ alias_method :index_advisor_enabled?, :index_advisor_enabled
1777
+
1778
+ # Output only. Whether oom session cancel is enabled.
1779
+ # Corresponds to the JSON property `oomSessionCancelEnabled`
1780
+ # @return [Boolean]
1781
+ attr_accessor :oom_session_cancel_enabled
1782
+ alias_method :oom_session_cancel_enabled?, :oom_session_cancel_enabled
1783
+
1784
+ def initialize(**args)
1785
+ update!(**args)
1786
+ end
1787
+
1788
+ # Update properties of this object
1789
+ def update!(**args)
1790
+ @active_query_enabled = args[:active_query_enabled] if args.key?(:active_query_enabled)
1791
+ @entitled = args[:entitled] if args.key?(:entitled)
1792
+ @flag_recommender_enabled = args[:flag_recommender_enabled] if args.key?(:flag_recommender_enabled)
1793
+ @google_vacuum_mgmt_enabled = args[:google_vacuum_mgmt_enabled] if args.key?(:google_vacuum_mgmt_enabled)
1794
+ @index_advisor_enabled = args[:index_advisor_enabled] if args.key?(:index_advisor_enabled)
1795
+ @oom_session_cancel_enabled = args[:oom_session_cancel_enabled] if args.key?(:oom_session_cancel_enabled)
1796
+ end
1797
+ end
1798
+
1725
1799
  # Ephemeral certificate creation request.
1726
1800
  class GenerateEphemeralCertRequest
1727
1801
  include Google::Apis::Core::Hashable
@@ -3202,6 +3276,37 @@ module Google
3202
3276
  end
3203
3277
  end
3204
3278
 
3279
+ # Primary-DR replica pair
3280
+ class ReplicationCluster
3281
+ include Google::Apis::Core::Hashable
3282
+
3283
+ # Output only. read-only field that indicates if the replica is a dr_replica;
3284
+ # not set for a primary.
3285
+ # Corresponds to the JSON property `drReplica`
3286
+ # @return [Boolean]
3287
+ attr_accessor :dr_replica
3288
+ alias_method :dr_replica?, :dr_replica
3289
+
3290
+ # Optional. If the instance is a primary instance, then this field identifies
3291
+ # the disaster recovery (DR) replica. A DR replica is an optional configuration
3292
+ # 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.
3295
+ # Corresponds to the JSON property `failoverDrReplicaName`
3296
+ # @return [String]
3297
+ attr_accessor :failover_dr_replica_name
3298
+
3299
+ def initialize(**args)
3300
+ update!(**args)
3301
+ end
3302
+
3303
+ # Update properties of this object
3304
+ def update!(**args)
3305
+ @dr_replica = args[:dr_replica] if args.key?(:dr_replica)
3306
+ @failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
3307
+ end
3308
+ end
3309
+
3205
3310
  #
3206
3311
  class Reschedule
3207
3312
  include Google::Apis::Core::Hashable
@@ -3404,7 +3509,10 @@ module Google
3404
3509
  # @return [String]
3405
3510
  attr_accessor :edition
3406
3511
 
3407
- # Optional. Configuration to enable Cloud SQL Vertex AI Integration
3512
+ # Optional. When this parameter is set to true, Cloud SQL instances can connect
3513
+ # to Vertex AI to pass requests for real-time predictions and insights to the AI.
3514
+ # The default value is false. This applies only to Cloud SQL for PostgreSQL
3515
+ # instances.
3408
3516
  # Corresponds to the JSON property `enableGoogleMlIntegration`
3409
3517
  # @return [Boolean]
3410
3518
  attr_accessor :enable_google_ml_integration
@@ -3728,6 +3836,12 @@ module Google
3728
3836
  class SqlInstancesStartExternalSyncRequest
3729
3837
  include Google::Apis::Core::Hashable
3730
3838
 
3839
+ # Optional. MigrationType decides if the migration is a physical file based
3840
+ # migration or logical migration.
3841
+ # Corresponds to the JSON property `migrationType`
3842
+ # @return [String]
3843
+ attr_accessor :migration_type
3844
+
3731
3845
  # MySQL-specific external server sync settings.
3732
3846
  # Corresponds to the JSON property `mysqlSyncConfig`
3733
3847
  # @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
@@ -3756,6 +3870,7 @@ module Google
3756
3870
 
3757
3871
  # Update properties of this object
3758
3872
  def update!(**args)
3873
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3759
3874
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3760
3875
  @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
3761
3876
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
@@ -3767,6 +3882,12 @@ module Google
3767
3882
  class SqlInstancesVerifyExternalSyncSettingsRequest
3768
3883
  include Google::Apis::Core::Hashable
3769
3884
 
3885
+ # Optional. MigrationType field decides if the migration is a physical file
3886
+ # based migration or logical migration
3887
+ # Corresponds to the JSON property `migrationType`
3888
+ # @return [String]
3889
+ attr_accessor :migration_type
3890
+
3770
3891
  # MySQL-specific external server sync settings.
3771
3892
  # Corresponds to the JSON property `mysqlSyncConfig`
3772
3893
  # @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
@@ -3801,6 +3922,7 @@ module Google
3801
3922
 
3802
3923
  # Update properties of this object
3803
3924
  def update!(**args)
3925
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3804
3926
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3805
3927
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
3806
3928
  @sync_parallel_level = args[:sync_parallel_level] if args.key?(: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.67.0"
19
+ GEM_VERSION = "0.68.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 = "20240304"
25
+ REVISION = "20240317"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class GeminiInstanceConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class GenerateEphemeralCertRequest
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -460,6 +466,12 @@ module Google
460
466
  include Google::Apis::Core::JsonObjectSupport
461
467
  end
462
468
 
469
+ class ReplicationCluster
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
463
475
  class Reschedule
464
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
477
 
@@ -707,6 +719,7 @@ module Google
707
719
  property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
708
720
  property :start_time, as: 'startTime'
709
721
  property :transaction_log_retention_days, as: 'transactionLogRetentionDays'
722
+ property :transactional_log_storage_state, as: 'transactionalLogStorageState'
710
723
  end
711
724
  end
712
725
 
@@ -860,6 +873,8 @@ module Google
860
873
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
861
874
 
862
875
  property :gce_zone, as: 'gceZone'
876
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::SqladminV1beta4::GeminiInstanceConfig, decorator: Google::Apis::SqladminV1beta4::GeminiInstanceConfig::Representation
877
+
863
878
  property :instance_type, as: 'instanceType'
864
879
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
865
880
 
@@ -880,6 +895,8 @@ module Google
880
895
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::ReplicaConfiguration::Representation
881
896
 
882
897
  collection :replica_names, as: 'replicaNames'
898
+ property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1beta4::ReplicationCluster, decorator: Google::Apis::SqladminV1beta4::ReplicationCluster::Representation
899
+
883
900
  property :root_password, as: 'rootPassword'
884
901
  property :satisfies_pzs, as: 'satisfiesPzs'
885
902
  property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance::Representation
@@ -1078,6 +1095,18 @@ module Google
1078
1095
  end
1079
1096
  end
1080
1097
 
1098
+ class GeminiInstanceConfig
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ property :active_query_enabled, as: 'activeQueryEnabled'
1102
+ property :entitled, as: 'entitled'
1103
+ property :flag_recommender_enabled, as: 'flagRecommenderEnabled'
1104
+ property :google_vacuum_mgmt_enabled, as: 'googleVacuumMgmtEnabled'
1105
+ property :index_advisor_enabled, as: 'indexAdvisorEnabled'
1106
+ property :oom_session_cancel_enabled, as: 'oomSessionCancelEnabled'
1107
+ end
1108
+ end
1109
+
1081
1110
  class GenerateEphemeralCertRequest
1082
1111
  # @private
1083
1112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1480,6 +1509,14 @@ module Google
1480
1509
  end
1481
1510
  end
1482
1511
 
1512
+ class ReplicationCluster
1513
+ # @private
1514
+ class Representation < Google::Apis::Core::JsonRepresentation
1515
+ property :dr_replica, as: 'drReplica'
1516
+ property :failover_dr_replica_name, as: 'failoverDrReplicaName'
1517
+ end
1518
+ end
1519
+
1483
1520
  class Reschedule
1484
1521
  # @private
1485
1522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1622,6 +1659,7 @@ module Google
1622
1659
  class SqlInstancesStartExternalSyncRequest
1623
1660
  # @private
1624
1661
  class Representation < Google::Apis::Core::JsonRepresentation
1662
+ property :migration_type, as: 'migrationType'
1625
1663
  property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
1626
1664
 
1627
1665
  property :skip_verification, as: 'skipVerification'
@@ -1633,6 +1671,7 @@ module Google
1633
1671
  class SqlInstancesVerifyExternalSyncSettingsRequest
1634
1672
  # @private
1635
1673
  class Representation < Google::Apis::Core::JsonRepresentation
1674
+ property :migration_type, as: 'migrationType'
1636
1675
  property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
1637
1676
 
1638
1677
  property :sync_mode, as: 'syncMode'
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.67.0
4
+ version: 0.68.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-10 00:00:00.000000000 Z
11
+ date: 2024-03-24 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.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.68.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: []