google-apis-sqladmin_v1 0.55.0 → 0.56.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: a2dff1618353323a622628e062b0447d29fb98b05ee88db0149529acdeeebd37
4
- data.tar.gz: 8f9a516a3e2f12691599f004b6497c5a1ea06b9ab745f49da91f90f7ee795558
3
+ metadata.gz: c0bcc7df6c85ee79128cbf93aaf306b8236ae2f095b741b84cd085d6bedc3dd5
4
+ data.tar.gz: 979b4b1418357db3d1abb4b9da7889f61151e56aca72ef3485a9235ae1537179
5
5
  SHA512:
6
- metadata.gz: 966a211ed476993995d064c821498b6800ec4d6bc422b78247fd3b42c6f60edfcb9161a09a5d5e10275a8ff6e56715242d487d80399315323e411dd6d3043b20
7
- data.tar.gz: 849c4d9972baec9b0cdebdd8b07ace0e461fbbabed1a83dfe5e4dfbcf4c5672e19ae170561df91593f78c3a1fd913d5ffa69502b0456e3c30dcdd9568a6ca993
6
+ metadata.gz: 1cbbb34479db278de3b263d78f23e0f68570c57ee27696f3990c55e8565213acb4a4ed07c1d2c098fefea19f3863cb1c0d3698727c9e2da5787f3ac99c3f66b4
7
+ data.tar.gz: 48a1ff2aff0e4eb12e3730677f45f17bd2c0832541a41e97fc5ae43f5416b85ab313c50e425b8979d6facd8af3a269d38690af1d79d5f0d33d0ed7d3b416ee53
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.56.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240317
6
+
3
7
  ### v0.55.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::SqladminV1::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::SqladminV1::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
@@ -3200,6 +3274,37 @@ module Google
3200
3274
  end
3201
3275
  end
3202
3276
 
3277
+ # Primary-DR replica pair
3278
+ class ReplicationCluster
3279
+ include Google::Apis::Core::Hashable
3280
+
3281
+ # Output only. read-only field that indicates if the replica is a dr_replica;
3282
+ # not set for a primary.
3283
+ # Corresponds to the JSON property `drReplica`
3284
+ # @return [Boolean]
3285
+ attr_accessor :dr_replica
3286
+ alias_method :dr_replica?, :dr_replica
3287
+
3288
+ # Optional. If the instance is a primary instance, then this field identifies
3289
+ # the disaster recovery (DR) replica. A DR replica is an optional configuration
3290
+ # for Enterprise Plus edition instances. If the instance is a read replica, then
3291
+ # the field is not set. Users can set this field to set a designated DR replica
3292
+ # for a primary. Removing this field removes the DR replica.
3293
+ # Corresponds to the JSON property `failoverDrReplicaName`
3294
+ # @return [String]
3295
+ attr_accessor :failover_dr_replica_name
3296
+
3297
+ def initialize(**args)
3298
+ update!(**args)
3299
+ end
3300
+
3301
+ # Update properties of this object
3302
+ def update!(**args)
3303
+ @dr_replica = args[:dr_replica] if args.key?(:dr_replica)
3304
+ @failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
3305
+ end
3306
+ end
3307
+
3203
3308
  #
3204
3309
  class Reschedule
3205
3310
  include Google::Apis::Core::Hashable
@@ -3402,7 +3507,10 @@ module Google
3402
3507
  # @return [String]
3403
3508
  attr_accessor :edition
3404
3509
 
3405
- # Optional. Configuration to enable Cloud SQL Vertex AI Integration
3510
+ # Optional. When this parameter is set to true, Cloud SQL instances can connect
3511
+ # to Vertex AI to pass requests for real-time predictions and insights to the AI.
3512
+ # The default value is false. This applies only to Cloud SQL for PostgreSQL
3513
+ # instances.
3406
3514
  # Corresponds to the JSON property `enableGoogleMlIntegration`
3407
3515
  # @return [Boolean]
3408
3516
  attr_accessor :enable_google_ml_integration
@@ -3726,6 +3834,12 @@ module Google
3726
3834
  class SqlInstancesStartExternalSyncRequest
3727
3835
  include Google::Apis::Core::Hashable
3728
3836
 
3837
+ # Optional. MigrationType decides if the migration is a physical file based
3838
+ # migration or logical migration.
3839
+ # Corresponds to the JSON property `migrationType`
3840
+ # @return [String]
3841
+ attr_accessor :migration_type
3842
+
3729
3843
  # MySQL-specific external server sync settings.
3730
3844
  # Corresponds to the JSON property `mysqlSyncConfig`
3731
3845
  # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
@@ -3754,6 +3868,7 @@ module Google
3754
3868
 
3755
3869
  # Update properties of this object
3756
3870
  def update!(**args)
3871
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3757
3872
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3758
3873
  @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
3759
3874
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
@@ -3765,6 +3880,12 @@ module Google
3765
3880
  class SqlInstancesVerifyExternalSyncSettingsRequest
3766
3881
  include Google::Apis::Core::Hashable
3767
3882
 
3883
+ # Optional. MigrationType decides if the migration is a physical file based
3884
+ # migration or logical migration
3885
+ # Corresponds to the JSON property `migrationType`
3886
+ # @return [String]
3887
+ attr_accessor :migration_type
3888
+
3768
3889
  # MySQL-specific external server sync settings.
3769
3890
  # Corresponds to the JSON property `mysqlSyncConfig`
3770
3891
  # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
@@ -3799,6 +3920,7 @@ module Google
3799
3920
 
3800
3921
  # Update properties of this object
3801
3922
  def update!(**args)
3923
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3802
3924
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3803
3925
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
3804
3926
  @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 SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.56.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::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
861
874
 
862
875
  property :gce_zone, as: 'gceZone'
876
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::SqladminV1::GeminiInstanceConfig, decorator: Google::Apis::SqladminV1::GeminiInstanceConfig::Representation
877
+
863
878
  property :instance_type, as: 'instanceType'
864
879
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
865
880
 
@@ -880,6 +895,8 @@ module Google
880
895
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
881
896
 
882
897
  collection :replica_names, as: 'replicaNames'
898
+ property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1::ReplicationCluster, decorator: Google::Apis::SqladminV1::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::SqladminV1::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1::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::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::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::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.56.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: []