google-apis-migrationcenter_v1 0.18.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -394,6 +394,16 @@ module Google
394
394
  # @return [String]
395
395
  attr_accessor :create_time
396
396
 
397
+ # The details of a database deployment asset.
398
+ # Corresponds to the JSON property `databaseDeploymentDetails`
399
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDeploymentDetails]
400
+ attr_accessor :database_deployment_details
401
+
402
+ # Details of a logical database.
403
+ # Corresponds to the JSON property `databaseDetails`
404
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDetails]
405
+ attr_accessor :database_details
406
+
397
407
  # Message containing insights list.
398
408
  # Corresponds to the JSON property `insightList`
399
409
  # @return [Google::Apis::MigrationcenterV1::InsightList]
@@ -424,6 +434,11 @@ module Google
424
434
  # @return [Array<String>]
425
435
  attr_accessor :sources
426
436
 
437
+ # Output only. Server generated human readable name of the asset.
438
+ # Corresponds to the JSON property `title`
439
+ # @return [String]
440
+ attr_accessor :title
441
+
427
442
  # Output only. The timestamp when the asset was last updated.
428
443
  # Corresponds to the JSON property `updateTime`
429
444
  # @return [String]
@@ -438,12 +453,15 @@ module Google
438
453
  @assigned_groups = args[:assigned_groups] if args.key?(:assigned_groups)
439
454
  @attributes = args[:attributes] if args.key?(:attributes)
440
455
  @create_time = args[:create_time] if args.key?(:create_time)
456
+ @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
457
+ @database_details = args[:database_details] if args.key?(:database_details)
441
458
  @insight_list = args[:insight_list] if args.key?(:insight_list)
442
459
  @labels = args[:labels] if args.key?(:labels)
443
460
  @machine_details = args[:machine_details] if args.key?(:machine_details)
444
461
  @name = args[:name] if args.key?(:name)
445
462
  @performance_data = args[:performance_data] if args.key?(:performance_data)
446
463
  @sources = args[:sources] if args.key?(:sources)
464
+ @title = args[:title] if args.key?(:title)
447
465
  @update_time = args[:update_time] if args.key?(:update_time)
448
466
  end
449
467
  end
@@ -463,6 +481,16 @@ module Google
463
481
  # @return [String]
464
482
  attr_accessor :collection_type
465
483
 
484
+ # The details of a database deployment asset.
485
+ # Corresponds to the JSON property `databaseDeploymentDetails`
486
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDeploymentDetails]
487
+ attr_accessor :database_deployment_details
488
+
489
+ # Details of a logical database.
490
+ # Corresponds to the JSON property `databaseDetails`
491
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDetails]
492
+ attr_accessor :database_details
493
+
466
494
  # Labels as key value pairs.
467
495
  # Corresponds to the JSON property `labels`
468
496
  # @return [Hash<String,String>]
@@ -498,6 +526,8 @@ module Google
498
526
  def update!(**args)
499
527
  @attributes = args[:attributes] if args.key?(:attributes)
500
528
  @collection_type = args[:collection_type] if args.key?(:collection_type)
529
+ @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
530
+ @database_details = args[:database_details] if args.key?(:database_details)
501
531
  @labels = args[:labels] if args.key?(:labels)
502
532
  @machine_details = args[:machine_details] if args.key?(:machine_details)
503
533
  @performance_samples = args[:performance_samples] if args.key?(:performance_samples)
@@ -980,6 +1010,16 @@ module Google
980
1010
  # @return [Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats]
981
1011
  attr_accessor :iops
982
1012
 
1013
+ # Statistical aggregation of samples for a single resource usage.
1014
+ # Corresponds to the JSON property `readIops`
1015
+ # @return [Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats]
1016
+ attr_accessor :read_iops
1017
+
1018
+ # Statistical aggregation of samples for a single resource usage.
1019
+ # Corresponds to the JSON property `writeIops`
1020
+ # @return [Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats]
1021
+ attr_accessor :write_iops
1022
+
983
1023
  def initialize(**args)
984
1024
  update!(**args)
985
1025
  end
@@ -987,6 +1027,8 @@ module Google
987
1027
  # Update properties of this object
988
1028
  def update!(**args)
989
1029
  @iops = args[:iops] if args.key?(:iops)
1030
+ @read_iops = args[:read_iops] if args.key?(:read_iops)
1031
+ @write_iops = args[:write_iops] if args.key?(:write_iops)
990
1032
  end
991
1033
  end
992
1034
 
@@ -1071,6 +1113,358 @@ module Google
1071
1113
  end
1072
1114
  end
1073
1115
 
1116
+ # The details of a database deployment asset.
1117
+ class DatabaseDeploymentDetails
1118
+ include Google::Apis::Core::Hashable
1119
+
1120
+ # Aggregated stats for the database deployment.
1121
+ # Corresponds to the JSON property `aggregatedStats`
1122
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDeploymentDetailsAggregatedStats]
1123
+ attr_accessor :aggregated_stats
1124
+
1125
+ # Optional. The database deployment edition.
1126
+ # Corresponds to the JSON property `edition`
1127
+ # @return [String]
1128
+ attr_accessor :edition
1129
+
1130
+ # Optional. The database deployment generated ID.
1131
+ # Corresponds to the JSON property `generatedId`
1132
+ # @return [String]
1133
+ attr_accessor :generated_id
1134
+
1135
+ # Optional. A manual unique ID set by the user.
1136
+ # Corresponds to the JSON property `manualUniqueId`
1137
+ # @return [String]
1138
+ attr_accessor :manual_unique_id
1139
+
1140
+ # Specific details for a Mysql database deployment.
1141
+ # Corresponds to the JSON property `mysql`
1142
+ # @return [Google::Apis::MigrationcenterV1::MysqlDatabaseDeployment]
1143
+ attr_accessor :mysql
1144
+
1145
+ # Specific details for a PostgreSQL database deployment.
1146
+ # Corresponds to the JSON property `postgresql`
1147
+ # @return [Google::Apis::MigrationcenterV1::PostgreSqlDatabaseDeployment]
1148
+ attr_accessor :postgresql
1149
+
1150
+ # Specific details for a Microsoft SQL Server database deployment.
1151
+ # Corresponds to the JSON property `sqlServer`
1152
+ # @return [Google::Apis::MigrationcenterV1::SqlServerDatabaseDeployment]
1153
+ attr_accessor :sql_server
1154
+
1155
+ # Details of database deployment's topology.
1156
+ # Corresponds to the JSON property `topology`
1157
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDeploymentTopology]
1158
+ attr_accessor :topology
1159
+
1160
+ # Optional. The database deployment version.
1161
+ # Corresponds to the JSON property `version`
1162
+ # @return [String]
1163
+ attr_accessor :version
1164
+
1165
+ def initialize(**args)
1166
+ update!(**args)
1167
+ end
1168
+
1169
+ # Update properties of this object
1170
+ def update!(**args)
1171
+ @aggregated_stats = args[:aggregated_stats] if args.key?(:aggregated_stats)
1172
+ @edition = args[:edition] if args.key?(:edition)
1173
+ @generated_id = args[:generated_id] if args.key?(:generated_id)
1174
+ @manual_unique_id = args[:manual_unique_id] if args.key?(:manual_unique_id)
1175
+ @mysql = args[:mysql] if args.key?(:mysql)
1176
+ @postgresql = args[:postgresql] if args.key?(:postgresql)
1177
+ @sql_server = args[:sql_server] if args.key?(:sql_server)
1178
+ @topology = args[:topology] if args.key?(:topology)
1179
+ @version = args[:version] if args.key?(:version)
1180
+ end
1181
+ end
1182
+
1183
+ # Aggregated stats for the database deployment.
1184
+ class DatabaseDeploymentDetailsAggregatedStats
1185
+ include Google::Apis::Core::Hashable
1186
+
1187
+ # Output only. The number of databases in the deployment.
1188
+ # Corresponds to the JSON property `databaseCount`
1189
+ # @return [Fixnum]
1190
+ attr_accessor :database_count
1191
+
1192
+ def initialize(**args)
1193
+ update!(**args)
1194
+ end
1195
+
1196
+ # Update properties of this object
1197
+ def update!(**args)
1198
+ @database_count = args[:database_count] if args.key?(:database_count)
1199
+ end
1200
+ end
1201
+
1202
+ # Details of database deployment's topology.
1203
+ class DatabaseDeploymentTopology
1204
+ include Google::Apis::Core::Hashable
1205
+
1206
+ # Optional. Number of total logical cores.
1207
+ # Corresponds to the JSON property `coreCount`
1208
+ # @return [Fixnum]
1209
+ attr_accessor :core_count
1210
+
1211
+ # Optional. Number of total logical cores limited by db deployment.
1212
+ # Corresponds to the JSON property `coreLimit`
1213
+ # @return [Fixnum]
1214
+ attr_accessor :core_limit
1215
+
1216
+ # Optional. Disk allocated in bytes.
1217
+ # Corresponds to the JSON property `diskAllocatedBytes`
1218
+ # @return [Fixnum]
1219
+ attr_accessor :disk_allocated_bytes
1220
+
1221
+ # Optional. Disk used in bytes.
1222
+ # Corresponds to the JSON property `diskUsedBytes`
1223
+ # @return [Fixnum]
1224
+ attr_accessor :disk_used_bytes
1225
+
1226
+ # Optional. List of database instances.
1227
+ # Corresponds to the JSON property `instances`
1228
+ # @return [Array<Google::Apis::MigrationcenterV1::DatabaseInstance>]
1229
+ attr_accessor :instances
1230
+
1231
+ # Optional. Total memory in bytes.
1232
+ # Corresponds to the JSON property `memoryBytes`
1233
+ # @return [Fixnum]
1234
+ attr_accessor :memory_bytes
1235
+
1236
+ # Optional. Total memory in bytes limited by db deployment.
1237
+ # Corresponds to the JSON property `memoryLimitBytes`
1238
+ # @return [Fixnum]
1239
+ attr_accessor :memory_limit_bytes
1240
+
1241
+ # Optional. Number of total physical cores.
1242
+ # Corresponds to the JSON property `physicalCoreCount`
1243
+ # @return [Fixnum]
1244
+ attr_accessor :physical_core_count
1245
+
1246
+ # Optional. Number of total physical cores limited by db deployment.
1247
+ # Corresponds to the JSON property `physicalCoreLimit`
1248
+ # @return [Fixnum]
1249
+ attr_accessor :physical_core_limit
1250
+
1251
+ def initialize(**args)
1252
+ update!(**args)
1253
+ end
1254
+
1255
+ # Update properties of this object
1256
+ def update!(**args)
1257
+ @core_count = args[:core_count] if args.key?(:core_count)
1258
+ @core_limit = args[:core_limit] if args.key?(:core_limit)
1259
+ @disk_allocated_bytes = args[:disk_allocated_bytes] if args.key?(:disk_allocated_bytes)
1260
+ @disk_used_bytes = args[:disk_used_bytes] if args.key?(:disk_used_bytes)
1261
+ @instances = args[:instances] if args.key?(:instances)
1262
+ @memory_bytes = args[:memory_bytes] if args.key?(:memory_bytes)
1263
+ @memory_limit_bytes = args[:memory_limit_bytes] if args.key?(:memory_limit_bytes)
1264
+ @physical_core_count = args[:physical_core_count] if args.key?(:physical_core_count)
1265
+ @physical_core_limit = args[:physical_core_limit] if args.key?(:physical_core_limit)
1266
+ end
1267
+ end
1268
+
1269
+ # Details of a logical database.
1270
+ class DatabaseDetails
1271
+ include Google::Apis::Core::Hashable
1272
+
1273
+ # Optional. The allocated storage for the database in bytes.
1274
+ # Corresponds to the JSON property `allocatedStorageBytes`
1275
+ # @return [Fixnum]
1276
+ attr_accessor :allocated_storage_bytes
1277
+
1278
+ # Required. The name of the database.
1279
+ # Corresponds to the JSON property `databaseName`
1280
+ # @return [String]
1281
+ attr_accessor :database_name
1282
+
1283
+ # The identifiers of the parent database deployment.
1284
+ # Corresponds to the JSON property `parentDatabaseDeployment`
1285
+ # @return [Google::Apis::MigrationcenterV1::DatabaseDetailsParentDatabaseDeployment]
1286
+ attr_accessor :parent_database_deployment
1287
+
1288
+ # Optional. The database schemas.
1289
+ # Corresponds to the JSON property `schemas`
1290
+ # @return [Array<Google::Apis::MigrationcenterV1::DatabaseSchema>]
1291
+ attr_accessor :schemas
1292
+
1293
+ def initialize(**args)
1294
+ update!(**args)
1295
+ end
1296
+
1297
+ # Update properties of this object
1298
+ def update!(**args)
1299
+ @allocated_storage_bytes = args[:allocated_storage_bytes] if args.key?(:allocated_storage_bytes)
1300
+ @database_name = args[:database_name] if args.key?(:database_name)
1301
+ @parent_database_deployment = args[:parent_database_deployment] if args.key?(:parent_database_deployment)
1302
+ @schemas = args[:schemas] if args.key?(:schemas)
1303
+ end
1304
+ end
1305
+
1306
+ # The identifiers of the parent database deployment.
1307
+ class DatabaseDetailsParentDatabaseDeployment
1308
+ include Google::Apis::Core::Hashable
1309
+
1310
+ # Optional. The parent database deployment generated ID.
1311
+ # Corresponds to the JSON property `generatedId`
1312
+ # @return [String]
1313
+ attr_accessor :generated_id
1314
+
1315
+ # Optional. The parent database deployment optional manual unique ID set by the
1316
+ # user.
1317
+ # Corresponds to the JSON property `manualUniqueId`
1318
+ # @return [String]
1319
+ attr_accessor :manual_unique_id
1320
+
1321
+ def initialize(**args)
1322
+ update!(**args)
1323
+ end
1324
+
1325
+ # Update properties of this object
1326
+ def update!(**args)
1327
+ @generated_id = args[:generated_id] if args.key?(:generated_id)
1328
+ @manual_unique_id = args[:manual_unique_id] if args.key?(:manual_unique_id)
1329
+ end
1330
+ end
1331
+
1332
+ # Details of a database instance.
1333
+ class DatabaseInstance
1334
+ include Google::Apis::Core::Hashable
1335
+
1336
+ # Optional. The instance's name.
1337
+ # Corresponds to the JSON property `instanceName`
1338
+ # @return [String]
1339
+ attr_accessor :instance_name
1340
+
1341
+ # Network details of a database instance.
1342
+ # Corresponds to the JSON property `network`
1343
+ # @return [Google::Apis::MigrationcenterV1::DatabaseInstanceNetwork]
1344
+ attr_accessor :network
1345
+
1346
+ # Optional. The instance role in the database engine.
1347
+ # Corresponds to the JSON property `role`
1348
+ # @return [String]
1349
+ attr_accessor :role
1350
+
1351
+ def initialize(**args)
1352
+ update!(**args)
1353
+ end
1354
+
1355
+ # Update properties of this object
1356
+ def update!(**args)
1357
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
1358
+ @network = args[:network] if args.key?(:network)
1359
+ @role = args[:role] if args.key?(:role)
1360
+ end
1361
+ end
1362
+
1363
+ # Network details of a database instance.
1364
+ class DatabaseInstanceNetwork
1365
+ include Google::Apis::Core::Hashable
1366
+
1367
+ # Optional. The instance's host names.
1368
+ # Corresponds to the JSON property `hostNames`
1369
+ # @return [Array<String>]
1370
+ attr_accessor :host_names
1371
+
1372
+ # Optional. The instance's IP addresses.
1373
+ # Corresponds to the JSON property `ipAddresses`
1374
+ # @return [Array<String>]
1375
+ attr_accessor :ip_addresses
1376
+
1377
+ # Optional. The instance's primary MAC address.
1378
+ # Corresponds to the JSON property `primaryMacAddress`
1379
+ # @return [String]
1380
+ attr_accessor :primary_mac_address
1381
+
1382
+ def initialize(**args)
1383
+ update!(**args)
1384
+ end
1385
+
1386
+ # Update properties of this object
1387
+ def update!(**args)
1388
+ @host_names = args[:host_names] if args.key?(:host_names)
1389
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1390
+ @primary_mac_address = args[:primary_mac_address] if args.key?(:primary_mac_address)
1391
+ end
1392
+ end
1393
+
1394
+ # Details of a group of database objects.
1395
+ class DatabaseObjects
1396
+ include Google::Apis::Core::Hashable
1397
+
1398
+ # Optional. The category of the objects.
1399
+ # Corresponds to the JSON property `category`
1400
+ # @return [String]
1401
+ attr_accessor :category
1402
+
1403
+ # Optional. The number of objects.
1404
+ # Corresponds to the JSON property `count`
1405
+ # @return [Fixnum]
1406
+ attr_accessor :count
1407
+
1408
+ def initialize(**args)
1409
+ update!(**args)
1410
+ end
1411
+
1412
+ # Update properties of this object
1413
+ def update!(**args)
1414
+ @category = args[:category] if args.key?(:category)
1415
+ @count = args[:count] if args.key?(:count)
1416
+ end
1417
+ end
1418
+
1419
+ # Details of a database schema.
1420
+ class DatabaseSchema
1421
+ include Google::Apis::Core::Hashable
1422
+
1423
+ # Specific details for a Mysql database.
1424
+ # Corresponds to the JSON property `mysql`
1425
+ # @return [Google::Apis::MigrationcenterV1::MySqlSchemaDetails]
1426
+ attr_accessor :mysql
1427
+
1428
+ # Optional. List of details of objects by category.
1429
+ # Corresponds to the JSON property `objects`
1430
+ # @return [Array<Google::Apis::MigrationcenterV1::DatabaseObjects>]
1431
+ attr_accessor :objects
1432
+
1433
+ # Specific details for a PostgreSql schema.
1434
+ # Corresponds to the JSON property `postgresql`
1435
+ # @return [Google::Apis::MigrationcenterV1::PostgreSqlSchemaDetails]
1436
+ attr_accessor :postgresql
1437
+
1438
+ # Required. The name of the schema.
1439
+ # Corresponds to the JSON property `schemaName`
1440
+ # @return [String]
1441
+ attr_accessor :schema_name
1442
+
1443
+ # Specific details for a SqlServer database.
1444
+ # Corresponds to the JSON property `sqlServer`
1445
+ # @return [Google::Apis::MigrationcenterV1::SqlServerSchemaDetails]
1446
+ attr_accessor :sql_server
1447
+
1448
+ # Optional. The total size of tables in bytes.
1449
+ # Corresponds to the JSON property `tablesSizeBytes`
1450
+ # @return [Fixnum]
1451
+ attr_accessor :tables_size_bytes
1452
+
1453
+ def initialize(**args)
1454
+ update!(**args)
1455
+ end
1456
+
1457
+ # Update properties of this object
1458
+ def update!(**args)
1459
+ @mysql = args[:mysql] if args.key?(:mysql)
1460
+ @objects = args[:objects] if args.key?(:objects)
1461
+ @postgresql = args[:postgresql] if args.key?(:postgresql)
1462
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
1463
+ @sql_server = args[:sql_server] if args.key?(:sql_server)
1464
+ @tables_size_bytes = args[:tables_size_bytes] if args.key?(:tables_size_bytes)
1465
+ end
1466
+ end
1467
+
1074
1468
  # Represents a whole or partial calendar date, such as a birthday. The time of
1075
1469
  # day and time zone are either specified elsewhere or are insignificant. The
1076
1470
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1380,11 +1774,23 @@ module Google
1380
1774
  class DiskUsageSample
1381
1775
  include Google::Apis::Core::Hashable
1382
1776
 
1383
- # Average IOPS sampled over a short window. Must be non-negative.
1777
+ # Optional. Average IOPS sampled over a short window. Must be non-negative. Must
1778
+ # be equal to the sum of read and write if one of them is positive. if both read
1779
+ # and write are zero they are ignored.
1384
1780
  # Corresponds to the JSON property `averageIops`
1385
1781
  # @return [Float]
1386
1782
  attr_accessor :average_iops
1387
1783
 
1784
+ # Optional. Average read IOPS sampled over a short window. Must be non-negative.
1785
+ # Corresponds to the JSON property `averageReadIops`
1786
+ # @return [Float]
1787
+ attr_accessor :average_read_iops
1788
+
1789
+ # Optional. Average write IOPS sampled over a short window. Must be non-negative.
1790
+ # Corresponds to the JSON property `averageWriteIops`
1791
+ # @return [Float]
1792
+ attr_accessor :average_write_iops
1793
+
1388
1794
  def initialize(**args)
1389
1795
  update!(**args)
1390
1796
  end
@@ -1392,6 +1798,8 @@ module Google
1392
1798
  # Update properties of this object
1393
1799
  def update!(**args)
1394
1800
  @average_iops = args[:average_iops] if args.key?(:average_iops)
1801
+ @average_read_iops = args[:average_read_iops] if args.key?(:average_read_iops)
1802
+ @average_write_iops = args[:average_write_iops] if args.key?(:average_write_iops)
1395
1803
  end
1396
1804
  end
1397
1805
 
@@ -2174,6 +2582,16 @@ module Google
2174
2582
  class ImportRowError
2175
2583
  include Google::Apis::Core::Hashable
2176
2584
 
2585
+ # Error details for an archive file.
2586
+ # Corresponds to the JSON property `archiveError`
2587
+ # @return [Google::Apis::MigrationcenterV1::ImportRowErrorArchiveErrorDetails]
2588
+ attr_accessor :archive_error
2589
+
2590
+ # Output only. The asset title.
2591
+ # Corresponds to the JSON property `assetTitle`
2592
+ # @return [String]
2593
+ attr_accessor :asset_title
2594
+
2177
2595
  # Error details for a CSV file.
2178
2596
  # Corresponds to the JSON property `csvError`
2179
2597
  # @return [Google::Apis::MigrationcenterV1::ImportRowErrorCsvErrorDetails]
@@ -2210,6 +2628,8 @@ module Google
2210
2628
 
2211
2629
  # Update properties of this object
2212
2630
  def update!(**args)
2631
+ @archive_error = args[:archive_error] if args.key?(:archive_error)
2632
+ @asset_title = args[:asset_title] if args.key?(:asset_title)
2213
2633
  @csv_error = args[:csv_error] if args.key?(:csv_error)
2214
2634
  @errors = args[:errors] if args.key?(:errors)
2215
2635
  @row_number = args[:row_number] if args.key?(:row_number)
@@ -2219,6 +2639,31 @@ module Google
2219
2639
  end
2220
2640
  end
2221
2641
 
2642
+ # Error details for an archive file.
2643
+ class ImportRowErrorArchiveErrorDetails
2644
+ include Google::Apis::Core::Hashable
2645
+
2646
+ # Error details for a CSV file.
2647
+ # Corresponds to the JSON property `csvError`
2648
+ # @return [Google::Apis::MigrationcenterV1::ImportRowErrorCsvErrorDetails]
2649
+ attr_accessor :csv_error
2650
+
2651
+ # Output only. The file path inside the archive where the error was detected.
2652
+ # Corresponds to the JSON property `filePath`
2653
+ # @return [String]
2654
+ attr_accessor :file_path
2655
+
2656
+ def initialize(**args)
2657
+ update!(**args)
2658
+ end
2659
+
2660
+ # Update properties of this object
2661
+ def update!(**args)
2662
+ @csv_error = args[:csv_error] if args.key?(:csv_error)
2663
+ @file_path = args[:file_path] if args.key?(:file_path)
2664
+ end
2665
+ end
2666
+
2222
2667
  # Error details for a CSV file.
2223
2668
  class ImportRowErrorCsvErrorDetails
2224
2669
  include Google::Apis::Core::Hashable
@@ -2736,6 +3181,11 @@ module Google
2736
3181
  # @return [String]
2737
3182
  attr_accessor :cpu_architecture
2738
3183
 
3184
+ # Optional. CPU manufacturer, e.g., "Intel", "AMD".
3185
+ # Corresponds to the JSON property `cpuManufacturer`
3186
+ # @return [String]
3187
+ attr_accessor :cpu_manufacturer
3188
+
2739
3189
  # CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
2740
3190
  # Corresponds to the JSON property `cpuName`
2741
3191
  # @return [String]
@@ -2775,6 +3225,7 @@ module Google
2775
3225
  def update!(**args)
2776
3226
  @bios = args[:bios] if args.key?(:bios)
2777
3227
  @cpu_architecture = args[:cpu_architecture] if args.key?(:cpu_architecture)
3228
+ @cpu_manufacturer = args[:cpu_manufacturer] if args.key?(:cpu_manufacturer)
2778
3229
  @cpu_name = args[:cpu_name] if args.key?(:cpu_name)
2779
3230
  @cpu_socket_count = args[:cpu_socket_count] if args.key?(:cpu_socket_count)
2780
3231
  @cpu_thread_count = args[:cpu_thread_count] if args.key?(:cpu_thread_count)
@@ -3058,6 +3509,188 @@ module Google
3058
3509
  end
3059
3510
  end
3060
3511
 
3512
+ # MySql plugin.
3513
+ class MySqlPlugin
3514
+ include Google::Apis::Core::Hashable
3515
+
3516
+ # Required. The plugin is active.
3517
+ # Corresponds to the JSON property `enabled`
3518
+ # @return [Boolean]
3519
+ attr_accessor :enabled
3520
+ alias_method :enabled?, :enabled
3521
+
3522
+ # Required. The plugin name.
3523
+ # Corresponds to the JSON property `plugin`
3524
+ # @return [String]
3525
+ attr_accessor :plugin
3526
+
3527
+ # Required. The plugin version.
3528
+ # Corresponds to the JSON property `version`
3529
+ # @return [String]
3530
+ attr_accessor :version
3531
+
3532
+ def initialize(**args)
3533
+ update!(**args)
3534
+ end
3535
+
3536
+ # Update properties of this object
3537
+ def update!(**args)
3538
+ @enabled = args[:enabled] if args.key?(:enabled)
3539
+ @plugin = args[:plugin] if args.key?(:plugin)
3540
+ @version = args[:version] if args.key?(:version)
3541
+ end
3542
+ end
3543
+
3544
+ # MySql property.
3545
+ class MySqlProperty
3546
+ include Google::Apis::Core::Hashable
3547
+
3548
+ # Required. The property is enabled.
3549
+ # Corresponds to the JSON property `enabled`
3550
+ # @return [Boolean]
3551
+ attr_accessor :enabled
3552
+ alias_method :enabled?, :enabled
3553
+
3554
+ # Required. The property numeric value.
3555
+ # Corresponds to the JSON property `numericValue`
3556
+ # @return [Fixnum]
3557
+ attr_accessor :numeric_value
3558
+
3559
+ # Required. The property name.
3560
+ # Corresponds to the JSON property `property`
3561
+ # @return [String]
3562
+ attr_accessor :property
3563
+
3564
+ def initialize(**args)
3565
+ update!(**args)
3566
+ end
3567
+
3568
+ # Update properties of this object
3569
+ def update!(**args)
3570
+ @enabled = args[:enabled] if args.key?(:enabled)
3571
+ @numeric_value = args[:numeric_value] if args.key?(:numeric_value)
3572
+ @property = args[:property] if args.key?(:property)
3573
+ end
3574
+ end
3575
+
3576
+ # Specific details for a Mysql database.
3577
+ class MySqlSchemaDetails
3578
+ include Google::Apis::Core::Hashable
3579
+
3580
+ # Optional. Mysql storage engine tables.
3581
+ # Corresponds to the JSON property `storageEngines`
3582
+ # @return [Array<Google::Apis::MigrationcenterV1::MySqlStorageEngineDetails>]
3583
+ attr_accessor :storage_engines
3584
+
3585
+ def initialize(**args)
3586
+ update!(**args)
3587
+ end
3588
+
3589
+ # Update properties of this object
3590
+ def update!(**args)
3591
+ @storage_engines = args[:storage_engines] if args.key?(:storage_engines)
3592
+ end
3593
+ end
3594
+
3595
+ # Mysql storage engine tables.
3596
+ class MySqlStorageEngineDetails
3597
+ include Google::Apis::Core::Hashable
3598
+
3599
+ # Optional. The number of encrypted tables.
3600
+ # Corresponds to the JSON property `encryptedTableCount`
3601
+ # @return [Fixnum]
3602
+ attr_accessor :encrypted_table_count
3603
+
3604
+ # Required. The storage engine.
3605
+ # Corresponds to the JSON property `engine`
3606
+ # @return [String]
3607
+ attr_accessor :engine
3608
+
3609
+ # Optional. The number of tables.
3610
+ # Corresponds to the JSON property `tableCount`
3611
+ # @return [Fixnum]
3612
+ attr_accessor :table_count
3613
+
3614
+ def initialize(**args)
3615
+ update!(**args)
3616
+ end
3617
+
3618
+ # Update properties of this object
3619
+ def update!(**args)
3620
+ @encrypted_table_count = args[:encrypted_table_count] if args.key?(:encrypted_table_count)
3621
+ @engine = args[:engine] if args.key?(:engine)
3622
+ @table_count = args[:table_count] if args.key?(:table_count)
3623
+ end
3624
+ end
3625
+
3626
+ # MySql variable.
3627
+ class MySqlVariable
3628
+ include Google::Apis::Core::Hashable
3629
+
3630
+ # Required. The variable category.
3631
+ # Corresponds to the JSON property `category`
3632
+ # @return [String]
3633
+ attr_accessor :category
3634
+
3635
+ # Required. The variable value.
3636
+ # Corresponds to the JSON property `value`
3637
+ # @return [String]
3638
+ attr_accessor :value
3639
+
3640
+ # Required. The variable name.
3641
+ # Corresponds to the JSON property `variable`
3642
+ # @return [String]
3643
+ attr_accessor :variable
3644
+
3645
+ def initialize(**args)
3646
+ update!(**args)
3647
+ end
3648
+
3649
+ # Update properties of this object
3650
+ def update!(**args)
3651
+ @category = args[:category] if args.key?(:category)
3652
+ @value = args[:value] if args.key?(:value)
3653
+ @variable = args[:variable] if args.key?(:variable)
3654
+ end
3655
+ end
3656
+
3657
+ # Specific details for a Mysql database deployment.
3658
+ class MysqlDatabaseDeployment
3659
+ include Google::Apis::Core::Hashable
3660
+
3661
+ # Optional. List of MySql plugins.
3662
+ # Corresponds to the JSON property `plugins`
3663
+ # @return [Array<Google::Apis::MigrationcenterV1::MySqlPlugin>]
3664
+ attr_accessor :plugins
3665
+
3666
+ # Optional. List of MySql properties.
3667
+ # Corresponds to the JSON property `properties`
3668
+ # @return [Array<Google::Apis::MigrationcenterV1::MySqlProperty>]
3669
+ attr_accessor :properties
3670
+
3671
+ # Optional. Number of resource groups.
3672
+ # Corresponds to the JSON property `resourceGroupsCount`
3673
+ # @return [Fixnum]
3674
+ attr_accessor :resource_groups_count
3675
+
3676
+ # Optional. List of MySql variables.
3677
+ # Corresponds to the JSON property `variables`
3678
+ # @return [Array<Google::Apis::MigrationcenterV1::MySqlVariable>]
3679
+ attr_accessor :variables
3680
+
3681
+ def initialize(**args)
3682
+ update!(**args)
3683
+ end
3684
+
3685
+ # Update properties of this object
3686
+ def update!(**args)
3687
+ @plugins = args[:plugins] if args.key?(:plugins)
3688
+ @properties = args[:properties] if args.key?(:properties)
3689
+ @resource_groups_count = args[:resource_groups_count] if args.key?(:resource_groups_count)
3690
+ @variables = args[:variables] if args.key?(:variables)
3691
+ end
3692
+ end
3693
+
3061
3694
  # Details of network adapter.
3062
3695
  class NetworkAdapterDetails
3063
3696
  include Google::Apis::Core::Hashable
@@ -3611,6 +4244,170 @@ module Google
3611
4244
  end
3612
4245
  end
3613
4246
 
4247
+ # Specific details for a PostgreSQL database deployment.
4248
+ class PostgreSqlDatabaseDeployment
4249
+ include Google::Apis::Core::Hashable
4250
+
4251
+ # Optional. List of PostgreSql properties.
4252
+ # Corresponds to the JSON property `properties`
4253
+ # @return [Array<Google::Apis::MigrationcenterV1::PostgreSqlProperty>]
4254
+ attr_accessor :properties
4255
+
4256
+ # Optional. List of PostgreSql settings.
4257
+ # Corresponds to the JSON property `settings`
4258
+ # @return [Array<Google::Apis::MigrationcenterV1::PostgreSqlSetting>]
4259
+ attr_accessor :settings
4260
+
4261
+ def initialize(**args)
4262
+ update!(**args)
4263
+ end
4264
+
4265
+ # Update properties of this object
4266
+ def update!(**args)
4267
+ @properties = args[:properties] if args.key?(:properties)
4268
+ @settings = args[:settings] if args.key?(:settings)
4269
+ end
4270
+ end
4271
+
4272
+ # PostgreSql extension.
4273
+ class PostgreSqlExtension
4274
+ include Google::Apis::Core::Hashable
4275
+
4276
+ # Required. The extension name.
4277
+ # Corresponds to the JSON property `extension`
4278
+ # @return [String]
4279
+ attr_accessor :extension
4280
+
4281
+ # Required. The extension version.
4282
+ # Corresponds to the JSON property `version`
4283
+ # @return [String]
4284
+ attr_accessor :version
4285
+
4286
+ def initialize(**args)
4287
+ update!(**args)
4288
+ end
4289
+
4290
+ # Update properties of this object
4291
+ def update!(**args)
4292
+ @extension = args[:extension] if args.key?(:extension)
4293
+ @version = args[:version] if args.key?(:version)
4294
+ end
4295
+ end
4296
+
4297
+ # PostgreSql property.
4298
+ class PostgreSqlProperty
4299
+ include Google::Apis::Core::Hashable
4300
+
4301
+ # Required. The property is enabled.
4302
+ # Corresponds to the JSON property `enabled`
4303
+ # @return [Boolean]
4304
+ attr_accessor :enabled
4305
+ alias_method :enabled?, :enabled
4306
+
4307
+ # Required. The property numeric value.
4308
+ # Corresponds to the JSON property `numericValue`
4309
+ # @return [Fixnum]
4310
+ attr_accessor :numeric_value
4311
+
4312
+ # Required. The property name.
4313
+ # Corresponds to the JSON property `property`
4314
+ # @return [String]
4315
+ attr_accessor :property
4316
+
4317
+ def initialize(**args)
4318
+ update!(**args)
4319
+ end
4320
+
4321
+ # Update properties of this object
4322
+ def update!(**args)
4323
+ @enabled = args[:enabled] if args.key?(:enabled)
4324
+ @numeric_value = args[:numeric_value] if args.key?(:numeric_value)
4325
+ @property = args[:property] if args.key?(:property)
4326
+ end
4327
+ end
4328
+
4329
+ # Specific details for a PostgreSql schema.
4330
+ class PostgreSqlSchemaDetails
4331
+ include Google::Apis::Core::Hashable
4332
+
4333
+ # Optional. PostgreSql foreign tables.
4334
+ # Corresponds to the JSON property `foreignTablesCount`
4335
+ # @return [Fixnum]
4336
+ attr_accessor :foreign_tables_count
4337
+
4338
+ # Optional. PostgreSql extensions.
4339
+ # Corresponds to the JSON property `postgresqlExtensions`
4340
+ # @return [Array<Google::Apis::MigrationcenterV1::PostgreSqlExtension>]
4341
+ attr_accessor :postgresql_extensions
4342
+
4343
+ def initialize(**args)
4344
+ update!(**args)
4345
+ end
4346
+
4347
+ # Update properties of this object
4348
+ def update!(**args)
4349
+ @foreign_tables_count = args[:foreign_tables_count] if args.key?(:foreign_tables_count)
4350
+ @postgresql_extensions = args[:postgresql_extensions] if args.key?(:postgresql_extensions)
4351
+ end
4352
+ end
4353
+
4354
+ # PostgreSql setting.
4355
+ class PostgreSqlSetting
4356
+ include Google::Apis::Core::Hashable
4357
+
4358
+ # Required. The setting boolean value.
4359
+ # Corresponds to the JSON property `boolValue`
4360
+ # @return [Boolean]
4361
+ attr_accessor :bool_value
4362
+ alias_method :bool_value?, :bool_value
4363
+
4364
+ # Required. The setting int value.
4365
+ # Corresponds to the JSON property `intValue`
4366
+ # @return [Fixnum]
4367
+ attr_accessor :int_value
4368
+
4369
+ # Required. The setting real value.
4370
+ # Corresponds to the JSON property `realValue`
4371
+ # @return [Float]
4372
+ attr_accessor :real_value
4373
+
4374
+ # Required. The setting name.
4375
+ # Corresponds to the JSON property `setting`
4376
+ # @return [String]
4377
+ attr_accessor :setting
4378
+
4379
+ # Required. The setting source.
4380
+ # Corresponds to the JSON property `source`
4381
+ # @return [String]
4382
+ attr_accessor :source
4383
+
4384
+ # Required. The setting string value. Notice that enum values are stored as
4385
+ # strings.
4386
+ # Corresponds to the JSON property `stringValue`
4387
+ # @return [String]
4388
+ attr_accessor :string_value
4389
+
4390
+ # Optional. The setting unit.
4391
+ # Corresponds to the JSON property `unit`
4392
+ # @return [String]
4393
+ attr_accessor :unit
4394
+
4395
+ def initialize(**args)
4396
+ update!(**args)
4397
+ end
4398
+
4399
+ # Update properties of this object
4400
+ def update!(**args)
4401
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
4402
+ @int_value = args[:int_value] if args.key?(:int_value)
4403
+ @real_value = args[:real_value] if args.key?(:real_value)
4404
+ @setting = args[:setting] if args.key?(:setting)
4405
+ @source = args[:source] if args.key?(:source)
4406
+ @string_value = args[:string_value] if args.key?(:string_value)
4407
+ @unit = args[:unit] if args.key?(:unit)
4408
+ end
4409
+ end
4410
+
3614
4411
  # The preferences that apply to all assets in a given context.
3615
4412
  class PreferenceSet
3616
4413
  include Google::Apis::Core::Hashable
@@ -4833,6 +5630,140 @@ module Google
4833
5630
  end
4834
5631
  end
4835
5632
 
5633
+ # Specific details for a Microsoft SQL Server database deployment.
5634
+ class SqlServerDatabaseDeployment
5635
+ include Google::Apis::Core::Hashable
5636
+
5637
+ # Optional. List of SQL Server features.
5638
+ # Corresponds to the JSON property `features`
5639
+ # @return [Array<Google::Apis::MigrationcenterV1::SqlServerFeature>]
5640
+ attr_accessor :features
5641
+
5642
+ # Optional. List of SQL Server server flags.
5643
+ # Corresponds to the JSON property `serverFlags`
5644
+ # @return [Array<Google::Apis::MigrationcenterV1::SqlServerServerFlag>]
5645
+ attr_accessor :server_flags
5646
+
5647
+ # Optional. List of SQL Server trace flags.
5648
+ # Corresponds to the JSON property `traceFlags`
5649
+ # @return [Array<Google::Apis::MigrationcenterV1::SqlServerTraceFlag>]
5650
+ attr_accessor :trace_flags
5651
+
5652
+ def initialize(**args)
5653
+ update!(**args)
5654
+ end
5655
+
5656
+ # Update properties of this object
5657
+ def update!(**args)
5658
+ @features = args[:features] if args.key?(:features)
5659
+ @server_flags = args[:server_flags] if args.key?(:server_flags)
5660
+ @trace_flags = args[:trace_flags] if args.key?(:trace_flags)
5661
+ end
5662
+ end
5663
+
5664
+ # SQL Server feature details.
5665
+ class SqlServerFeature
5666
+ include Google::Apis::Core::Hashable
5667
+
5668
+ # Required. Field enabled is set when a feature is used on the source deployment.
5669
+ # Corresponds to the JSON property `enabled`
5670
+ # @return [Boolean]
5671
+ attr_accessor :enabled
5672
+ alias_method :enabled?, :enabled
5673
+
5674
+ # Required. The feature name.
5675
+ # Corresponds to the JSON property `featureName`
5676
+ # @return [String]
5677
+ attr_accessor :feature_name
5678
+
5679
+ def initialize(**args)
5680
+ update!(**args)
5681
+ end
5682
+
5683
+ # Update properties of this object
5684
+ def update!(**args)
5685
+ @enabled = args[:enabled] if args.key?(:enabled)
5686
+ @feature_name = args[:feature_name] if args.key?(:feature_name)
5687
+ end
5688
+ end
5689
+
5690
+ # Specific details for a SqlServer database.
5691
+ class SqlServerSchemaDetails
5692
+ include Google::Apis::Core::Hashable
5693
+
5694
+ # Optional. SqlServer number of CLR objects.
5695
+ # Corresponds to the JSON property `clrObjectCount`
5696
+ # @return [Fixnum]
5697
+ attr_accessor :clr_object_count
5698
+
5699
+ def initialize(**args)
5700
+ update!(**args)
5701
+ end
5702
+
5703
+ # Update properties of this object
5704
+ def update!(**args)
5705
+ @clr_object_count = args[:clr_object_count] if args.key?(:clr_object_count)
5706
+ end
5707
+ end
5708
+
5709
+ # SQL Server server flag details.
5710
+ class SqlServerServerFlag
5711
+ include Google::Apis::Core::Hashable
5712
+
5713
+ # Required. The server flag name.
5714
+ # Corresponds to the JSON property `serverFlagName`
5715
+ # @return [String]
5716
+ attr_accessor :server_flag_name
5717
+
5718
+ # Required. The server flag value set by the user.
5719
+ # Corresponds to the JSON property `value`
5720
+ # @return [String]
5721
+ attr_accessor :value
5722
+
5723
+ # Required. The server flag actual value. If `value_in_use` is different from `
5724
+ # value` it means that either the configuration change was not applied or it is
5725
+ # an expected behavior. See SQL Server documentation for more details.
5726
+ # Corresponds to the JSON property `valueInUse`
5727
+ # @return [String]
5728
+ attr_accessor :value_in_use
5729
+
5730
+ def initialize(**args)
5731
+ update!(**args)
5732
+ end
5733
+
5734
+ # Update properties of this object
5735
+ def update!(**args)
5736
+ @server_flag_name = args[:server_flag_name] if args.key?(:server_flag_name)
5737
+ @value = args[:value] if args.key?(:value)
5738
+ @value_in_use = args[:value_in_use] if args.key?(:value_in_use)
5739
+ end
5740
+ end
5741
+
5742
+ # SQL Server trace flag details.
5743
+ class SqlServerTraceFlag
5744
+ include Google::Apis::Core::Hashable
5745
+
5746
+ # Required. The trace flag scope.
5747
+ # Corresponds to the JSON property `scope`
5748
+ # @return [String]
5749
+ attr_accessor :scope
5750
+
5751
+ # Required. The trace flag name.
5752
+ # Corresponds to the JSON property `traceFlagName`
5753
+ # @return [String]
5754
+ attr_accessor :trace_flag_name
5755
+
5756
+ def initialize(**args)
5757
+ update!(**args)
5758
+ end
5759
+
5760
+ # Update properties of this object
5761
+ def update!(**args)
5762
+ @scope = args[:scope] if args.key?(:scope)
5763
+ @trace_flag_name = args[:trace_flag_name] if args.key?(:trace_flag_name)
5764
+ end
5765
+ end
5766
+
4836
5767
  # The `Status` type defines a logical error model that is suitable for different
4837
5768
  # programming environments, including REST APIs and RPC APIs. It is used by [
4838
5769
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of