google-apis-datamigration_v1 0.32.0 → 0.34.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: 1e4200cbddac0998b95049ab1afeb0cae81de277232bf3ff200b74aabe27fcd4
4
- data.tar.gz: 5b6a3140506e9a33bd82e9af94cfc27217cc5cdd859a74ff272a7f5fd446a6b8
3
+ metadata.gz: 883a18ed77806b39f472b39dc31e8db7b8317f90f1b74e9b64d4994572cb8091
4
+ data.tar.gz: b8ad4b6fb8d1116da74bd407958fb6d89ae4e4d6236fe4512fff6253e3d205ff
5
5
  SHA512:
6
- metadata.gz: 0c336f9035da3d7397e3c9fe89b1cb3c067168be3373e060f00679092d47420e5db49d8b784229a7cd073fea3d92a802648c2c75b1e5938f4f4f04f6c6196f30
7
- data.tar.gz: 1e757b01afd895066af9ff92e110922111245c1be494bc813a6958211a7d3d4916b74ddfc2d52adcc32c4b2d6bd123060b3c90914af96fffdf4f3d8443969e93
6
+ metadata.gz: fd221de1bf70cdcf8a06b1fc087b0483691fa7f674e94cd9a040a8bd88f46af96d1d14319f1a1de1faf3cdd34ee6105e27b652f5849d4cca251a7a393025f9e0
7
+ data.tar.gz: 29c6b33caa03b6115ac4374fe44d78c0b082003053b85dfef155b841ce3a53285d2f39ab9c0ad413fa312b32093bffcaf019380443fe8642400773446c3c9d71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.34.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230405
6
+
7
+ ### v0.33.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230320
10
+
3
11
  ### v0.32.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230308
@@ -53,6 +53,12 @@ module Google
53
53
  class AlloyDbSettings
54
54
  include Google::Apis::Core::Hashable
55
55
 
56
+ # EncryptionConfig describes the encryption config of a cluster that is
57
+ # encrypted with a CMEK (customer-managed encryption key).
58
+ # Corresponds to the JSON property `encryptionConfig`
59
+ # @return [Google::Apis::DatamigrationV1::EncryptionConfig]
60
+ attr_accessor :encryption_config
61
+
56
62
  # The username/password for a database user. Used for specifying initial users
57
63
  # at cluster creation time.
58
64
  # Corresponds to the JSON property `initialUser`
@@ -85,6 +91,7 @@ module Google
85
91
 
86
92
  # Update properties of this object
87
93
  def update!(**args)
94
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
88
95
  @initial_user = args[:initial_user] if args.key?(:initial_user)
89
96
  @labels = args[:labels] if args.key?(:labels)
90
97
  @primary_instance_settings = args[:primary_instance_settings] if args.key?(:primary_instance_settings)
@@ -1305,6 +1312,28 @@ module Google
1305
1312
  end
1306
1313
  end
1307
1314
 
1315
+ # EncryptionConfig describes the encryption config of a cluster that is
1316
+ # encrypted with a CMEK (customer-managed encryption key).
1317
+ class EncryptionConfig
1318
+ include Google::Apis::Core::Hashable
1319
+
1320
+ # The fully-qualified resource name of the KMS key. Each Cloud KMS key is
1321
+ # regionalized and has the following format: projects/[PROJECT]/locations/[
1322
+ # REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
1323
+ # Corresponds to the JSON property `kmsKeyName`
1324
+ # @return [String]
1325
+ attr_accessor :kms_key_name
1326
+
1327
+ def initialize(**args)
1328
+ update!(**args)
1329
+ end
1330
+
1331
+ # Update properties of this object
1332
+ def update!(**args)
1333
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1334
+ end
1335
+ end
1336
+
1308
1337
  # Details of the mappings of a database entity.
1309
1338
  class EntityMapping
1310
1339
  include Google::Apis::Core::Hashable
@@ -1315,6 +1344,11 @@ module Google
1315
1344
  # @return [String]
1316
1345
  attr_accessor :draft_entity
1317
1346
 
1347
+ # Type of draft entity.
1348
+ # Corresponds to the JSON property `draftType`
1349
+ # @return [String]
1350
+ attr_accessor :draft_type
1351
+
1318
1352
  # Entity mapping log entries. Multiple rules can be effective and contribute
1319
1353
  # changes to a converted entity, such as a rule can handle the entity name,
1320
1354
  # another rule can handle an entity type. In addition, rules which did not
@@ -1330,6 +1364,11 @@ module Google
1330
1364
  # @return [String]
1331
1365
  attr_accessor :source_entity
1332
1366
 
1367
+ # Type of source entity.
1368
+ # Corresponds to the JSON property `sourceType`
1369
+ # @return [String]
1370
+ attr_accessor :source_type
1371
+
1333
1372
  def initialize(**args)
1334
1373
  update!(**args)
1335
1374
  end
@@ -1337,8 +1376,10 @@ module Google
1337
1376
  # Update properties of this object
1338
1377
  def update!(**args)
1339
1378
  @draft_entity = args[:draft_entity] if args.key?(:draft_entity)
1379
+ @draft_type = args[:draft_type] if args.key?(:draft_type)
1340
1380
  @mapping_log = args[:mapping_log] if args.key?(:mapping_log)
1341
1381
  @source_entity = args[:source_entity] if args.key?(:source_entity)
1382
+ @source_type = args[:source_type] if args.key?(:source_type)
1342
1383
  end
1343
1384
  end
1344
1385
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatamigrationV1
18
18
  # Version of the google-apis-datamigration_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230308"
25
+ REVISION = "20230405"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class EncryptionConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class EntityMapping
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -586,6 +592,8 @@ module Google
586
592
  class AlloyDbSettings
587
593
  # @private
588
594
  class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DatamigrationV1::EncryptionConfig, decorator: Google::Apis::DatamigrationV1::EncryptionConfig::Representation
596
+
589
597
  property :initial_user, as: 'initialUser', class: Google::Apis::DatamigrationV1::UserPassword, decorator: Google::Apis::DatamigrationV1::UserPassword::Representation
590
598
 
591
599
  hash :labels, as: 'labels'
@@ -895,13 +903,22 @@ module Google
895
903
  end
896
904
  end
897
905
 
906
+ class EncryptionConfig
907
+ # @private
908
+ class Representation < Google::Apis::Core::JsonRepresentation
909
+ property :kms_key_name, as: 'kmsKeyName'
910
+ end
911
+ end
912
+
898
913
  class EntityMapping
899
914
  # @private
900
915
  class Representation < Google::Apis::Core::JsonRepresentation
901
916
  property :draft_entity, as: 'draftEntity'
917
+ property :draft_type, as: 'draftType'
902
918
  collection :mapping_log, as: 'mappingLog', class: Google::Apis::DatamigrationV1::EntityMappingLogEntry, decorator: Google::Apis::DatamigrationV1::EntityMappingLogEntry::Representation
903
919
 
904
920
  property :source_entity, as: 'sourceEntity'
921
+ property :source_type, as: 'sourceType'
905
922
  end
906
923
  end
907
924
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.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: 2023-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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-datamigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
63
63
  post_install_message:
64
64
  rdoc_options: []