google-apis-sqladmin_v1 0.69.0 → 0.70.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: 8233671b933dab43faa129ef94aea7d9074cace6f7f0f92f1006cdc4a8ff5a82
4
- data.tar.gz: 661070c21bef284ac107b2408dc352e2b5058d67acef4a7e418f4e1ac0e9f4b0
3
+ metadata.gz: 2a6e098bd57e3b95f90cfee7534c518b28750ddab7e825638aac198e6b90ec91
4
+ data.tar.gz: 5b0ee3db7f40ac731d98f1db36845977e3c5d442f8563e2022cf33ab735069f2
5
5
  SHA512:
6
- metadata.gz: 52e82ecc319c1a99613837c7ec0e8815e910a8ef4acab1bcf1c2756261a9f8dfcdbac8cb51baea8b83be45294016d08978d8cfd40ec9f4b6ce7ce9725942cc10
7
- data.tar.gz: 67874c76d8985d806f5ee687ee49b675a8535068ca7edf4bb8ed8719a1f60428f839be4ded51e22140ce6e133f829471b467c71d7be915b01c4625ea32a47b7c
6
+ metadata.gz: 2202f8e7dc1465490b95ad4e600fb817d1b8ff89cd43710f4c5a47403d1a76df2ec27d073c37b1bc87835bf5365cc7a0cb53cea45626affcb9bf9a287c654b99
7
+ data.tar.gz: 2ed2682485088a4d4b31baf6584407f282f06b853d61f66722e429df4ef1776d7cfcaf6646ed9a58ac766bf69ef14017fd546e0ccc772d32bc4db755c9b5c711
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.70.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241108
6
+
3
7
  ### v0.69.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241011
@@ -1736,6 +1736,25 @@ module Google
1736
1736
  end
1737
1737
  end
1738
1738
 
1739
+ # The selected object that Cloud SQL migrates.
1740
+ class ExternalSyncSelectedObject
1741
+ include Google::Apis::Core::Hashable
1742
+
1743
+ # The name of the database that Cloud SQL migrates.
1744
+ # Corresponds to the JSON property `database`
1745
+ # @return [String]
1746
+ attr_accessor :database
1747
+
1748
+ def initialize(**args)
1749
+ update!(**args)
1750
+ end
1751
+
1752
+ # Update properties of this object
1753
+ def update!(**args)
1754
+ @database = args[:database] if args.key?(:database)
1755
+ end
1756
+ end
1757
+
1739
1758
  # Database instance failover context.
1740
1759
  class FailoverContext
1741
1760
  include Google::Apis::Core::Hashable
@@ -3055,11 +3074,22 @@ module Google
3055
3074
  # @return [String]
3056
3075
  attr_accessor :password
3057
3076
 
3077
+ # Optional. A list of objects that the user selects for replication from an
3078
+ # external source instance.
3079
+ # Corresponds to the JSON property `selectedObjects`
3080
+ # @return [Array<Google::Apis::SqladminV1::SelectedObjects>]
3081
+ attr_accessor :selected_objects
3082
+
3058
3083
  # Reference to another Cloud SQL instance.
3059
3084
  # Corresponds to the JSON property `sourceInstance`
3060
3085
  # @return [Google::Apis::SqladminV1::InstanceReference]
3061
3086
  attr_accessor :source_instance
3062
3087
 
3088
+ # Optional. SSL option for replica connection to the on-premises source.
3089
+ # Corresponds to the JSON property `sslOption`
3090
+ # @return [String]
3091
+ attr_accessor :ssl_option
3092
+
3063
3093
  # The username for connecting to on-premises instance.
3064
3094
  # Corresponds to the JSON property `username`
3065
3095
  # @return [String]
@@ -3078,7 +3108,9 @@ module Google
3078
3108
  @host_port = args[:host_port] if args.key?(:host_port)
3079
3109
  @kind = args[:kind] if args.key?(:kind)
3080
3110
  @password = args[:password] if args.key?(:password)
3111
+ @selected_objects = args[:selected_objects] if args.key?(:selected_objects)
3081
3112
  @source_instance = args[:source_instance] if args.key?(:source_instance)
3113
+ @ssl_option = args[:ssl_option] if args.key?(:ssl_option)
3082
3114
  @username = args[:username] if args.key?(:username)
3083
3115
  end
3084
3116
  end
@@ -3756,6 +3788,26 @@ module Google
3756
3788
  end
3757
3789
  end
3758
3790
 
3791
+ # A list of objects that the user selects for replication from an external
3792
+ # source instance.
3793
+ class SelectedObjects
3794
+ include Google::Apis::Core::Hashable
3795
+
3796
+ # Required. The name of the database to migrate.
3797
+ # Corresponds to the JSON property `database`
3798
+ # @return [String]
3799
+ attr_accessor :database
3800
+
3801
+ def initialize(**args)
3802
+ update!(**args)
3803
+ end
3804
+
3805
+ # Update properties of this object
3806
+ def update!(**args)
3807
+ @database = args[:database] if args.key?(:database)
3808
+ end
3809
+ end
3810
+
3759
3811
  # Database instance settings.
3760
3812
  class Settings
3761
3813
  include Google::Apis::Core::Hashable
@@ -4262,6 +4314,12 @@ module Google
4262
4314
  # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
4263
4315
  attr_accessor :mysql_sync_config
4264
4316
 
4317
+ # Optional. Migrate only the specified objects from the source instance. If this
4318
+ # field is empty, then migrate all objects.
4319
+ # Corresponds to the JSON property `selectedObjects`
4320
+ # @return [Array<Google::Apis::SqladminV1::ExternalSyncSelectedObject>]
4321
+ attr_accessor :selected_objects
4322
+
4265
4323
  # External sync mode
4266
4324
  # Corresponds to the JSON property `syncMode`
4267
4325
  # @return [String]
@@ -4292,6 +4350,7 @@ module Google
4292
4350
  def update!(**args)
4293
4351
  @migration_type = args[:migration_type] if args.key?(:migration_type)
4294
4352
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
4353
+ @selected_objects = args[:selected_objects] if args.key?(:selected_objects)
4295
4354
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
4296
4355
  @sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
4297
4356
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
@@ -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.69.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.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241011"
25
+ REVISION = "20241108"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class ExternalSyncSelectedObject
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class FailoverContext
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -538,6 +544,12 @@ module Google
538
544
  include Google::Apis::Core::JsonObjectSupport
539
545
  end
540
546
 
547
+ class SelectedObjects
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
541
553
  class Settings
542
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
555
 
@@ -1138,6 +1150,13 @@ module Google
1138
1150
  end
1139
1151
  end
1140
1152
 
1153
+ class ExternalSyncSelectedObject
1154
+ # @private
1155
+ class Representation < Google::Apis::Core::JsonRepresentation
1156
+ property :database, as: 'database'
1157
+ end
1158
+ end
1159
+
1141
1160
  class FailoverContext
1142
1161
  # @private
1143
1162
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1502,8 +1521,11 @@ module Google
1502
1521
  property :host_port, as: 'hostPort'
1503
1522
  property :kind, as: 'kind'
1504
1523
  property :password, as: 'password'
1524
+ collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1::SelectedObjects, decorator: Google::Apis::SqladminV1::SelectedObjects::Representation
1525
+
1505
1526
  property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
1506
1527
 
1528
+ property :ssl_option, as: 'sslOption'
1507
1529
  property :username, as: 'username'
1508
1530
  end
1509
1531
  end
@@ -1682,6 +1704,13 @@ module Google
1682
1704
  end
1683
1705
  end
1684
1706
 
1707
+ class SelectedObjects
1708
+ # @private
1709
+ class Representation < Google::Apis::Core::JsonRepresentation
1710
+ property :database, as: 'database'
1711
+ end
1712
+ end
1713
+
1685
1714
  class Settings
1686
1715
  # @private
1687
1716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1814,6 +1843,8 @@ module Google
1814
1843
  property :migration_type, as: 'migrationType'
1815
1844
  property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
1816
1845
 
1846
+ collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1::ExternalSyncSelectedObject, decorator: Google::Apis::SqladminV1::ExternalSyncSelectedObject::Representation
1847
+
1817
1848
  property :sync_mode, as: 'syncMode'
1818
1849
  property :sync_parallel_level, as: 'syncParallelLevel'
1819
1850
  property :verify_connection_only, as: 'verifyConnectionOnly'
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.69.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-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.70.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud SQL Admin API V1