google-apis-sqladmin_v1 0.68.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: a1d38ac274dc0df10fcd063888f75022edaabdea89b96f9cbbd14f846ac27921
4
- data.tar.gz: 4aee0895ebf3194df0103ee1db3cae0e095734d7663c94c3369b38d89ba5a36f
3
+ metadata.gz: 2a6e098bd57e3b95f90cfee7534c518b28750ddab7e825638aac198e6b90ec91
4
+ data.tar.gz: 5b0ee3db7f40ac731d98f1db36845977e3c5d442f8563e2022cf33ab735069f2
5
5
  SHA512:
6
- metadata.gz: 8a5a9e391ecd73919951e1ffbd9ee778198f669830b76918f5dc92fec5b9f1e888a7db15a88799a11898885161d861037b3665ad174d5051a00d9b0a4c069e48
7
- data.tar.gz: ae4a1ded612545c3ab5067b9fd7b8edccb74cdc32983b629857f3f4d2a7ca292cfde2767763bfe3f348fb8dbb49b35ad3f79811eb2031a1fc90cabdd9524575b
6
+ metadata.gz: 2202f8e7dc1465490b95ad4e600fb817d1b8ff89cd43710f4c5a47403d1a76df2ec27d073c37b1bc87835bf5365cc7a0cb53cea45626affcb9bf9a287c654b99
7
+ data.tar.gz: 2ed2682485088a4d4b31baf6584407f282f06b853d61f66722e429df4ef1776d7cfcaf6646ed9a58ac766bf69ef14017fd546e0ccc772d32bc4db755c9b5c711
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.69.0 (2024-10-27)
8
+
9
+ * Regenerated from discovery document revision 20241011
10
+
3
11
  ### v0.68.0 (2024-10-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20241004
@@ -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.68.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 = "20241004"
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'
@@ -534,7 +534,9 @@ module Google
534
534
  # Lists all versions of server certificates and certificate authorities (CAs)
535
535
  # for the specified instance. There can be up to three sets of certs listed: the
536
536
  # certificate that is currently in use, a future that has been added but not yet
537
- # used to sign a certificate, and a certificate that has been rotated out.
537
+ # used to sign a certificate, and a certificate that has been rotated out. For
538
+ # instances not using Certificate Authority Service (CAS) server CA, use
539
+ # ListServerCas instead.
538
540
  # @param [String] project
539
541
  # Required. Project ID of the project that contains the instance.
540
542
  # @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.68.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-13 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.68.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