google-apis-migrationcenter_v1 0.17.0 → 0.19.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)
|
@@ -550,6 +580,11 @@ module Google
|
|
550
580
|
class AwsEc2PlatformDetails
|
551
581
|
include Google::Apis::Core::Hashable
|
552
582
|
|
583
|
+
# Optional. Whether the machine is hyperthreaded.
|
584
|
+
# Corresponds to the JSON property `hyperthreading`
|
585
|
+
# @return [String]
|
586
|
+
attr_accessor :hyperthreading
|
587
|
+
|
553
588
|
# The location of the machine in the AWS format.
|
554
589
|
# Corresponds to the JSON property `location`
|
555
590
|
# @return [String]
|
@@ -566,6 +601,7 @@ module Google
|
|
566
601
|
|
567
602
|
# Update properties of this object
|
568
603
|
def update!(**args)
|
604
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
569
605
|
@location = args[:location] if args.key?(:location)
|
570
606
|
@machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label)
|
571
607
|
end
|
@@ -575,6 +611,11 @@ module Google
|
|
575
611
|
class AzureVmPlatformDetails
|
576
612
|
include Google::Apis::Core::Hashable
|
577
613
|
|
614
|
+
# Whether the machine is hyperthreaded.
|
615
|
+
# Corresponds to the JSON property `hyperthreading`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :hyperthreading
|
618
|
+
|
578
619
|
# The location of the machine in the Azure format.
|
579
620
|
# Corresponds to the JSON property `location`
|
580
621
|
# @return [String]
|
@@ -596,6 +637,7 @@ module Google
|
|
596
637
|
|
597
638
|
# Update properties of this object
|
598
639
|
def update!(**args)
|
640
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
599
641
|
@location = args[:location] if args.key?(:location)
|
600
642
|
@machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label)
|
601
643
|
@provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
|
@@ -968,6 +1010,16 @@ module Google
|
|
968
1010
|
# @return [Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats]
|
969
1011
|
attr_accessor :iops
|
970
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
|
+
|
971
1023
|
def initialize(**args)
|
972
1024
|
update!(**args)
|
973
1025
|
end
|
@@ -975,6 +1027,8 @@ module Google
|
|
975
1027
|
# Update properties of this object
|
976
1028
|
def update!(**args)
|
977
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)
|
978
1032
|
end
|
979
1033
|
end
|
980
1034
|
|
@@ -1059,6 +1113,358 @@ module Google
|
|
1059
1113
|
end
|
1060
1114
|
end
|
1061
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
|
+
|
1062
1468
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1063
1469
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1064
1470
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -1368,11 +1774,23 @@ module Google
|
|
1368
1774
|
class DiskUsageSample
|
1369
1775
|
include Google::Apis::Core::Hashable
|
1370
1776
|
|
1371
|
-
# 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.
|
1372
1780
|
# Corresponds to the JSON property `averageIops`
|
1373
1781
|
# @return [Float]
|
1374
1782
|
attr_accessor :average_iops
|
1375
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
|
+
|
1376
1794
|
def initialize(**args)
|
1377
1795
|
update!(**args)
|
1378
1796
|
end
|
@@ -1380,6 +1798,8 @@ module Google
|
|
1380
1798
|
# Update properties of this object
|
1381
1799
|
def update!(**args)
|
1382
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)
|
1383
1803
|
end
|
1384
1804
|
end
|
1385
1805
|
|
@@ -1678,6 +2098,11 @@ module Google
|
|
1678
2098
|
class GenericPlatformDetails
|
1679
2099
|
include Google::Apis::Core::Hashable
|
1680
2100
|
|
2101
|
+
# Whether the machine is hyperthreaded.
|
2102
|
+
# Corresponds to the JSON property `hyperthreading`
|
2103
|
+
# @return [String]
|
2104
|
+
attr_accessor :hyperthreading
|
2105
|
+
|
1681
2106
|
# Free text representation of the machine location. The format of this field
|
1682
2107
|
# should not be relied on. Different VMs in the same location may have different
|
1683
2108
|
# string values for this field.
|
@@ -1691,6 +2116,7 @@ module Google
|
|
1691
2116
|
|
1692
2117
|
# Update properties of this object
|
1693
2118
|
def update!(**args)
|
2119
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
1694
2120
|
@location = args[:location] if args.key?(:location)
|
1695
2121
|
end
|
1696
2122
|
end
|
@@ -2156,6 +2582,16 @@ module Google
|
|
2156
2582
|
class ImportRowError
|
2157
2583
|
include Google::Apis::Core::Hashable
|
2158
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
|
+
|
2159
2595
|
# Error details for a CSV file.
|
2160
2596
|
# Corresponds to the JSON property `csvError`
|
2161
2597
|
# @return [Google::Apis::MigrationcenterV1::ImportRowErrorCsvErrorDetails]
|
@@ -2192,6 +2628,8 @@ module Google
|
|
2192
2628
|
|
2193
2629
|
# Update properties of this object
|
2194
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)
|
2195
2633
|
@csv_error = args[:csv_error] if args.key?(:csv_error)
|
2196
2634
|
@errors = args[:errors] if args.key?(:errors)
|
2197
2635
|
@row_number = args[:row_number] if args.key?(:row_number)
|
@@ -2201,6 +2639,31 @@ module Google
|
|
2201
2639
|
end
|
2202
2640
|
end
|
2203
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
|
+
|
2204
2667
|
# Error details for a CSV file.
|
2205
2668
|
class ImportRowErrorCsvErrorDetails
|
2206
2669
|
include Google::Apis::Core::Hashable
|
@@ -3040,24 +3503,206 @@ module Google
|
|
3040
3503
|
end
|
3041
3504
|
end
|
3042
3505
|
|
3043
|
-
#
|
3044
|
-
class
|
3506
|
+
# MySql plugin.
|
3507
|
+
class MySqlPlugin
|
3045
3508
|
include Google::Apis::Core::Hashable
|
3046
3509
|
|
3047
|
-
#
|
3048
|
-
# Corresponds to the JSON property `
|
3049
|
-
# @return [
|
3050
|
-
attr_accessor :
|
3051
|
-
|
3052
|
-
# List of allocated/assigned network addresses.
|
3053
|
-
# Corresponds to the JSON property `addresses`
|
3054
|
-
# @return [Google::Apis::MigrationcenterV1::NetworkAddressList]
|
3055
|
-
attr_accessor :addresses
|
3510
|
+
# Required. The plugin is active.
|
3511
|
+
# Corresponds to the JSON property `enabled`
|
3512
|
+
# @return [Boolean]
|
3513
|
+
attr_accessor :enabled
|
3514
|
+
alias_method :enabled?, :enabled
|
3056
3515
|
|
3057
|
-
#
|
3058
|
-
# Corresponds to the JSON property `
|
3516
|
+
# Required. The plugin name.
|
3517
|
+
# Corresponds to the JSON property `plugin`
|
3059
3518
|
# @return [String]
|
3060
|
-
attr_accessor :
|
3519
|
+
attr_accessor :plugin
|
3520
|
+
|
3521
|
+
# Required. The plugin version.
|
3522
|
+
# Corresponds to the JSON property `version`
|
3523
|
+
# @return [String]
|
3524
|
+
attr_accessor :version
|
3525
|
+
|
3526
|
+
def initialize(**args)
|
3527
|
+
update!(**args)
|
3528
|
+
end
|
3529
|
+
|
3530
|
+
# Update properties of this object
|
3531
|
+
def update!(**args)
|
3532
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3533
|
+
@plugin = args[:plugin] if args.key?(:plugin)
|
3534
|
+
@version = args[:version] if args.key?(:version)
|
3535
|
+
end
|
3536
|
+
end
|
3537
|
+
|
3538
|
+
# MySql property.
|
3539
|
+
class MySqlProperty
|
3540
|
+
include Google::Apis::Core::Hashable
|
3541
|
+
|
3542
|
+
# Required. The property is enabled.
|
3543
|
+
# Corresponds to the JSON property `enabled`
|
3544
|
+
# @return [Boolean]
|
3545
|
+
attr_accessor :enabled
|
3546
|
+
alias_method :enabled?, :enabled
|
3547
|
+
|
3548
|
+
# Required. The property numeric value.
|
3549
|
+
# Corresponds to the JSON property `numericValue`
|
3550
|
+
# @return [Fixnum]
|
3551
|
+
attr_accessor :numeric_value
|
3552
|
+
|
3553
|
+
# Required. The property name.
|
3554
|
+
# Corresponds to the JSON property `property`
|
3555
|
+
# @return [String]
|
3556
|
+
attr_accessor :property
|
3557
|
+
|
3558
|
+
def initialize(**args)
|
3559
|
+
update!(**args)
|
3560
|
+
end
|
3561
|
+
|
3562
|
+
# Update properties of this object
|
3563
|
+
def update!(**args)
|
3564
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3565
|
+
@numeric_value = args[:numeric_value] if args.key?(:numeric_value)
|
3566
|
+
@property = args[:property] if args.key?(:property)
|
3567
|
+
end
|
3568
|
+
end
|
3569
|
+
|
3570
|
+
# Specific details for a Mysql database.
|
3571
|
+
class MySqlSchemaDetails
|
3572
|
+
include Google::Apis::Core::Hashable
|
3573
|
+
|
3574
|
+
# Optional. Mysql storage engine tables.
|
3575
|
+
# Corresponds to the JSON property `storageEngines`
|
3576
|
+
# @return [Array<Google::Apis::MigrationcenterV1::MySqlStorageEngineDetails>]
|
3577
|
+
attr_accessor :storage_engines
|
3578
|
+
|
3579
|
+
def initialize(**args)
|
3580
|
+
update!(**args)
|
3581
|
+
end
|
3582
|
+
|
3583
|
+
# Update properties of this object
|
3584
|
+
def update!(**args)
|
3585
|
+
@storage_engines = args[:storage_engines] if args.key?(:storage_engines)
|
3586
|
+
end
|
3587
|
+
end
|
3588
|
+
|
3589
|
+
# Mysql storage engine tables.
|
3590
|
+
class MySqlStorageEngineDetails
|
3591
|
+
include Google::Apis::Core::Hashable
|
3592
|
+
|
3593
|
+
# Optional. The number of encrypted tables.
|
3594
|
+
# Corresponds to the JSON property `encryptedTableCount`
|
3595
|
+
# @return [Fixnum]
|
3596
|
+
attr_accessor :encrypted_table_count
|
3597
|
+
|
3598
|
+
# Required. The storage engine.
|
3599
|
+
# Corresponds to the JSON property `engine`
|
3600
|
+
# @return [String]
|
3601
|
+
attr_accessor :engine
|
3602
|
+
|
3603
|
+
# Optional. The number of tables.
|
3604
|
+
# Corresponds to the JSON property `tableCount`
|
3605
|
+
# @return [Fixnum]
|
3606
|
+
attr_accessor :table_count
|
3607
|
+
|
3608
|
+
def initialize(**args)
|
3609
|
+
update!(**args)
|
3610
|
+
end
|
3611
|
+
|
3612
|
+
# Update properties of this object
|
3613
|
+
def update!(**args)
|
3614
|
+
@encrypted_table_count = args[:encrypted_table_count] if args.key?(:encrypted_table_count)
|
3615
|
+
@engine = args[:engine] if args.key?(:engine)
|
3616
|
+
@table_count = args[:table_count] if args.key?(:table_count)
|
3617
|
+
end
|
3618
|
+
end
|
3619
|
+
|
3620
|
+
# MySql variable.
|
3621
|
+
class MySqlVariable
|
3622
|
+
include Google::Apis::Core::Hashable
|
3623
|
+
|
3624
|
+
# Required. The variable category.
|
3625
|
+
# Corresponds to the JSON property `category`
|
3626
|
+
# @return [String]
|
3627
|
+
attr_accessor :category
|
3628
|
+
|
3629
|
+
# Required. The variable value.
|
3630
|
+
# Corresponds to the JSON property `value`
|
3631
|
+
# @return [String]
|
3632
|
+
attr_accessor :value
|
3633
|
+
|
3634
|
+
# Required. The variable name.
|
3635
|
+
# Corresponds to the JSON property `variable`
|
3636
|
+
# @return [String]
|
3637
|
+
attr_accessor :variable
|
3638
|
+
|
3639
|
+
def initialize(**args)
|
3640
|
+
update!(**args)
|
3641
|
+
end
|
3642
|
+
|
3643
|
+
# Update properties of this object
|
3644
|
+
def update!(**args)
|
3645
|
+
@category = args[:category] if args.key?(:category)
|
3646
|
+
@value = args[:value] if args.key?(:value)
|
3647
|
+
@variable = args[:variable] if args.key?(:variable)
|
3648
|
+
end
|
3649
|
+
end
|
3650
|
+
|
3651
|
+
# Specific details for a Mysql database deployment.
|
3652
|
+
class MysqlDatabaseDeployment
|
3653
|
+
include Google::Apis::Core::Hashable
|
3654
|
+
|
3655
|
+
# Optional. List of MySql plugins.
|
3656
|
+
# Corresponds to the JSON property `plugins`
|
3657
|
+
# @return [Array<Google::Apis::MigrationcenterV1::MySqlPlugin>]
|
3658
|
+
attr_accessor :plugins
|
3659
|
+
|
3660
|
+
# Optional. List of MySql properties.
|
3661
|
+
# Corresponds to the JSON property `properties`
|
3662
|
+
# @return [Array<Google::Apis::MigrationcenterV1::MySqlProperty>]
|
3663
|
+
attr_accessor :properties
|
3664
|
+
|
3665
|
+
# Optional. Number of resource groups.
|
3666
|
+
# Corresponds to the JSON property `resourceGroupsCount`
|
3667
|
+
# @return [Fixnum]
|
3668
|
+
attr_accessor :resource_groups_count
|
3669
|
+
|
3670
|
+
# Optional. List of MySql variables.
|
3671
|
+
# Corresponds to the JSON property `variables`
|
3672
|
+
# @return [Array<Google::Apis::MigrationcenterV1::MySqlVariable>]
|
3673
|
+
attr_accessor :variables
|
3674
|
+
|
3675
|
+
def initialize(**args)
|
3676
|
+
update!(**args)
|
3677
|
+
end
|
3678
|
+
|
3679
|
+
# Update properties of this object
|
3680
|
+
def update!(**args)
|
3681
|
+
@plugins = args[:plugins] if args.key?(:plugins)
|
3682
|
+
@properties = args[:properties] if args.key?(:properties)
|
3683
|
+
@resource_groups_count = args[:resource_groups_count] if args.key?(:resource_groups_count)
|
3684
|
+
@variables = args[:variables] if args.key?(:variables)
|
3685
|
+
end
|
3686
|
+
end
|
3687
|
+
|
3688
|
+
# Details of network adapter.
|
3689
|
+
class NetworkAdapterDetails
|
3690
|
+
include Google::Apis::Core::Hashable
|
3691
|
+
|
3692
|
+
# Network adapter type (e.g. VMXNET3).
|
3693
|
+
# Corresponds to the JSON property `adapterType`
|
3694
|
+
# @return [String]
|
3695
|
+
attr_accessor :adapter_type
|
3696
|
+
|
3697
|
+
# List of allocated/assigned network addresses.
|
3698
|
+
# Corresponds to the JSON property `addresses`
|
3699
|
+
# @return [Google::Apis::MigrationcenterV1::NetworkAddressList]
|
3700
|
+
attr_accessor :addresses
|
3701
|
+
|
3702
|
+
# MAC address.
|
3703
|
+
# Corresponds to the JSON property `macAddress`
|
3704
|
+
# @return [String]
|
3705
|
+
attr_accessor :mac_address
|
3061
3706
|
|
3062
3707
|
def initialize(**args)
|
3063
3708
|
update!(**args)
|
@@ -3527,6 +4172,11 @@ module Google
|
|
3527
4172
|
class PhysicalPlatformDetails
|
3528
4173
|
include Google::Apis::Core::Hashable
|
3529
4174
|
|
4175
|
+
# Whether the machine is hyperthreaded.
|
4176
|
+
# Corresponds to the JSON property `hyperthreading`
|
4177
|
+
# @return [String]
|
4178
|
+
attr_accessor :hyperthreading
|
4179
|
+
|
3530
4180
|
# Free text representation of the machine location. The format of this field
|
3531
4181
|
# should not be relied on. Different machines in the same location may have
|
3532
4182
|
# different string values for this field.
|
@@ -3540,6 +4190,7 @@ module Google
|
|
3540
4190
|
|
3541
4191
|
# Update properties of this object
|
3542
4192
|
def update!(**args)
|
4193
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
3543
4194
|
@location = args[:location] if args.key?(:location)
|
3544
4195
|
end
|
3545
4196
|
end
|
@@ -3587,6 +4238,170 @@ module Google
|
|
3587
4238
|
end
|
3588
4239
|
end
|
3589
4240
|
|
4241
|
+
# Specific details for a PostgreSQL database deployment.
|
4242
|
+
class PostgreSqlDatabaseDeployment
|
4243
|
+
include Google::Apis::Core::Hashable
|
4244
|
+
|
4245
|
+
# Optional. List of PostgreSql properties.
|
4246
|
+
# Corresponds to the JSON property `properties`
|
4247
|
+
# @return [Array<Google::Apis::MigrationcenterV1::PostgreSqlProperty>]
|
4248
|
+
attr_accessor :properties
|
4249
|
+
|
4250
|
+
# Optional. List of PostgreSql settings.
|
4251
|
+
# Corresponds to the JSON property `settings`
|
4252
|
+
# @return [Array<Google::Apis::MigrationcenterV1::PostgreSqlSetting>]
|
4253
|
+
attr_accessor :settings
|
4254
|
+
|
4255
|
+
def initialize(**args)
|
4256
|
+
update!(**args)
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# Update properties of this object
|
4260
|
+
def update!(**args)
|
4261
|
+
@properties = args[:properties] if args.key?(:properties)
|
4262
|
+
@settings = args[:settings] if args.key?(:settings)
|
4263
|
+
end
|
4264
|
+
end
|
4265
|
+
|
4266
|
+
# PostgreSql extension.
|
4267
|
+
class PostgreSqlExtension
|
4268
|
+
include Google::Apis::Core::Hashable
|
4269
|
+
|
4270
|
+
# Required. The extension name.
|
4271
|
+
# Corresponds to the JSON property `extension`
|
4272
|
+
# @return [String]
|
4273
|
+
attr_accessor :extension
|
4274
|
+
|
4275
|
+
# Required. The extension version.
|
4276
|
+
# Corresponds to the JSON property `version`
|
4277
|
+
# @return [String]
|
4278
|
+
attr_accessor :version
|
4279
|
+
|
4280
|
+
def initialize(**args)
|
4281
|
+
update!(**args)
|
4282
|
+
end
|
4283
|
+
|
4284
|
+
# Update properties of this object
|
4285
|
+
def update!(**args)
|
4286
|
+
@extension = args[:extension] if args.key?(:extension)
|
4287
|
+
@version = args[:version] if args.key?(:version)
|
4288
|
+
end
|
4289
|
+
end
|
4290
|
+
|
4291
|
+
# PostgreSql property.
|
4292
|
+
class PostgreSqlProperty
|
4293
|
+
include Google::Apis::Core::Hashable
|
4294
|
+
|
4295
|
+
# Required. The property is enabled.
|
4296
|
+
# Corresponds to the JSON property `enabled`
|
4297
|
+
# @return [Boolean]
|
4298
|
+
attr_accessor :enabled
|
4299
|
+
alias_method :enabled?, :enabled
|
4300
|
+
|
4301
|
+
# Required. The property numeric value.
|
4302
|
+
# Corresponds to the JSON property `numericValue`
|
4303
|
+
# @return [Fixnum]
|
4304
|
+
attr_accessor :numeric_value
|
4305
|
+
|
4306
|
+
# Required. The property name.
|
4307
|
+
# Corresponds to the JSON property `property`
|
4308
|
+
# @return [String]
|
4309
|
+
attr_accessor :property
|
4310
|
+
|
4311
|
+
def initialize(**args)
|
4312
|
+
update!(**args)
|
4313
|
+
end
|
4314
|
+
|
4315
|
+
# Update properties of this object
|
4316
|
+
def update!(**args)
|
4317
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4318
|
+
@numeric_value = args[:numeric_value] if args.key?(:numeric_value)
|
4319
|
+
@property = args[:property] if args.key?(:property)
|
4320
|
+
end
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
# Specific details for a PostgreSql schema.
|
4324
|
+
class PostgreSqlSchemaDetails
|
4325
|
+
include Google::Apis::Core::Hashable
|
4326
|
+
|
4327
|
+
# Optional. PostgreSql foreign tables.
|
4328
|
+
# Corresponds to the JSON property `foreignTablesCount`
|
4329
|
+
# @return [Fixnum]
|
4330
|
+
attr_accessor :foreign_tables_count
|
4331
|
+
|
4332
|
+
# Optional. PostgreSql extensions.
|
4333
|
+
# Corresponds to the JSON property `postgresqlExtensions`
|
4334
|
+
# @return [Array<Google::Apis::MigrationcenterV1::PostgreSqlExtension>]
|
4335
|
+
attr_accessor :postgresql_extensions
|
4336
|
+
|
4337
|
+
def initialize(**args)
|
4338
|
+
update!(**args)
|
4339
|
+
end
|
4340
|
+
|
4341
|
+
# Update properties of this object
|
4342
|
+
def update!(**args)
|
4343
|
+
@foreign_tables_count = args[:foreign_tables_count] if args.key?(:foreign_tables_count)
|
4344
|
+
@postgresql_extensions = args[:postgresql_extensions] if args.key?(:postgresql_extensions)
|
4345
|
+
end
|
4346
|
+
end
|
4347
|
+
|
4348
|
+
# PostgreSql setting.
|
4349
|
+
class PostgreSqlSetting
|
4350
|
+
include Google::Apis::Core::Hashable
|
4351
|
+
|
4352
|
+
# Required. The setting boolean value.
|
4353
|
+
# Corresponds to the JSON property `boolValue`
|
4354
|
+
# @return [Boolean]
|
4355
|
+
attr_accessor :bool_value
|
4356
|
+
alias_method :bool_value?, :bool_value
|
4357
|
+
|
4358
|
+
# Required. The setting int value.
|
4359
|
+
# Corresponds to the JSON property `intValue`
|
4360
|
+
# @return [Fixnum]
|
4361
|
+
attr_accessor :int_value
|
4362
|
+
|
4363
|
+
# Required. The setting real value.
|
4364
|
+
# Corresponds to the JSON property `realValue`
|
4365
|
+
# @return [Float]
|
4366
|
+
attr_accessor :real_value
|
4367
|
+
|
4368
|
+
# Required. The setting name.
|
4369
|
+
# Corresponds to the JSON property `setting`
|
4370
|
+
# @return [String]
|
4371
|
+
attr_accessor :setting
|
4372
|
+
|
4373
|
+
# Required. The setting source.
|
4374
|
+
# Corresponds to the JSON property `source`
|
4375
|
+
# @return [String]
|
4376
|
+
attr_accessor :source
|
4377
|
+
|
4378
|
+
# Required. The setting string value. Notice that enum values are stored as
|
4379
|
+
# strings.
|
4380
|
+
# Corresponds to the JSON property `stringValue`
|
4381
|
+
# @return [String]
|
4382
|
+
attr_accessor :string_value
|
4383
|
+
|
4384
|
+
# Optional. The setting unit.
|
4385
|
+
# Corresponds to the JSON property `unit`
|
4386
|
+
# @return [String]
|
4387
|
+
attr_accessor :unit
|
4388
|
+
|
4389
|
+
def initialize(**args)
|
4390
|
+
update!(**args)
|
4391
|
+
end
|
4392
|
+
|
4393
|
+
# Update properties of this object
|
4394
|
+
def update!(**args)
|
4395
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
4396
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
4397
|
+
@real_value = args[:real_value] if args.key?(:real_value)
|
4398
|
+
@setting = args[:setting] if args.key?(:setting)
|
4399
|
+
@source = args[:source] if args.key?(:source)
|
4400
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
4401
|
+
@unit = args[:unit] if args.key?(:unit)
|
4402
|
+
end
|
4403
|
+
end
|
4404
|
+
|
3590
4405
|
# The preferences that apply to all assets in a given context.
|
3591
4406
|
class PreferenceSet
|
3592
4407
|
include Google::Apis::Core::Hashable
|
@@ -4809,6 +5624,140 @@ module Google
|
|
4809
5624
|
end
|
4810
5625
|
end
|
4811
5626
|
|
5627
|
+
# Specific details for a Microsoft SQL Server database deployment.
|
5628
|
+
class SqlServerDatabaseDeployment
|
5629
|
+
include Google::Apis::Core::Hashable
|
5630
|
+
|
5631
|
+
# Optional. List of SQL Server features.
|
5632
|
+
# Corresponds to the JSON property `features`
|
5633
|
+
# @return [Array<Google::Apis::MigrationcenterV1::SqlServerFeature>]
|
5634
|
+
attr_accessor :features
|
5635
|
+
|
5636
|
+
# Optional. List of SQL Server server flags.
|
5637
|
+
# Corresponds to the JSON property `serverFlags`
|
5638
|
+
# @return [Array<Google::Apis::MigrationcenterV1::SqlServerServerFlag>]
|
5639
|
+
attr_accessor :server_flags
|
5640
|
+
|
5641
|
+
# Optional. List of SQL Server trace flags.
|
5642
|
+
# Corresponds to the JSON property `traceFlags`
|
5643
|
+
# @return [Array<Google::Apis::MigrationcenterV1::SqlServerTraceFlag>]
|
5644
|
+
attr_accessor :trace_flags
|
5645
|
+
|
5646
|
+
def initialize(**args)
|
5647
|
+
update!(**args)
|
5648
|
+
end
|
5649
|
+
|
5650
|
+
# Update properties of this object
|
5651
|
+
def update!(**args)
|
5652
|
+
@features = args[:features] if args.key?(:features)
|
5653
|
+
@server_flags = args[:server_flags] if args.key?(:server_flags)
|
5654
|
+
@trace_flags = args[:trace_flags] if args.key?(:trace_flags)
|
5655
|
+
end
|
5656
|
+
end
|
5657
|
+
|
5658
|
+
# SQL Server feature details.
|
5659
|
+
class SqlServerFeature
|
5660
|
+
include Google::Apis::Core::Hashable
|
5661
|
+
|
5662
|
+
# Required. Field enabled is set when a feature is used on the source deployment.
|
5663
|
+
# Corresponds to the JSON property `enabled`
|
5664
|
+
# @return [Boolean]
|
5665
|
+
attr_accessor :enabled
|
5666
|
+
alias_method :enabled?, :enabled
|
5667
|
+
|
5668
|
+
# Required. The feature name.
|
5669
|
+
# Corresponds to the JSON property `featureName`
|
5670
|
+
# @return [String]
|
5671
|
+
attr_accessor :feature_name
|
5672
|
+
|
5673
|
+
def initialize(**args)
|
5674
|
+
update!(**args)
|
5675
|
+
end
|
5676
|
+
|
5677
|
+
# Update properties of this object
|
5678
|
+
def update!(**args)
|
5679
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
5680
|
+
@feature_name = args[:feature_name] if args.key?(:feature_name)
|
5681
|
+
end
|
5682
|
+
end
|
5683
|
+
|
5684
|
+
# Specific details for a SqlServer database.
|
5685
|
+
class SqlServerSchemaDetails
|
5686
|
+
include Google::Apis::Core::Hashable
|
5687
|
+
|
5688
|
+
# Optional. SqlServer number of CLR objects.
|
5689
|
+
# Corresponds to the JSON property `clrObjectCount`
|
5690
|
+
# @return [Fixnum]
|
5691
|
+
attr_accessor :clr_object_count
|
5692
|
+
|
5693
|
+
def initialize(**args)
|
5694
|
+
update!(**args)
|
5695
|
+
end
|
5696
|
+
|
5697
|
+
# Update properties of this object
|
5698
|
+
def update!(**args)
|
5699
|
+
@clr_object_count = args[:clr_object_count] if args.key?(:clr_object_count)
|
5700
|
+
end
|
5701
|
+
end
|
5702
|
+
|
5703
|
+
# SQL Server server flag details.
|
5704
|
+
class SqlServerServerFlag
|
5705
|
+
include Google::Apis::Core::Hashable
|
5706
|
+
|
5707
|
+
# Required. The server flag name.
|
5708
|
+
# Corresponds to the JSON property `serverFlagName`
|
5709
|
+
# @return [String]
|
5710
|
+
attr_accessor :server_flag_name
|
5711
|
+
|
5712
|
+
# Required. The server flag value set by the user.
|
5713
|
+
# Corresponds to the JSON property `value`
|
5714
|
+
# @return [String]
|
5715
|
+
attr_accessor :value
|
5716
|
+
|
5717
|
+
# Required. The server flag actual value. If `value_in_use` is different from `
|
5718
|
+
# value` it means that either the configuration change was not applied or it is
|
5719
|
+
# an expected behavior. See SQL Server documentation for more details.
|
5720
|
+
# Corresponds to the JSON property `valueInUse`
|
5721
|
+
# @return [String]
|
5722
|
+
attr_accessor :value_in_use
|
5723
|
+
|
5724
|
+
def initialize(**args)
|
5725
|
+
update!(**args)
|
5726
|
+
end
|
5727
|
+
|
5728
|
+
# Update properties of this object
|
5729
|
+
def update!(**args)
|
5730
|
+
@server_flag_name = args[:server_flag_name] if args.key?(:server_flag_name)
|
5731
|
+
@value = args[:value] if args.key?(:value)
|
5732
|
+
@value_in_use = args[:value_in_use] if args.key?(:value_in_use)
|
5733
|
+
end
|
5734
|
+
end
|
5735
|
+
|
5736
|
+
# SQL Server trace flag details.
|
5737
|
+
class SqlServerTraceFlag
|
5738
|
+
include Google::Apis::Core::Hashable
|
5739
|
+
|
5740
|
+
# Required. The trace flag scope.
|
5741
|
+
# Corresponds to the JSON property `scope`
|
5742
|
+
# @return [String]
|
5743
|
+
attr_accessor :scope
|
5744
|
+
|
5745
|
+
# Required. The trace flag name.
|
5746
|
+
# Corresponds to the JSON property `traceFlagName`
|
5747
|
+
# @return [String]
|
5748
|
+
attr_accessor :trace_flag_name
|
5749
|
+
|
5750
|
+
def initialize(**args)
|
5751
|
+
update!(**args)
|
5752
|
+
end
|
5753
|
+
|
5754
|
+
# Update properties of this object
|
5755
|
+
def update!(**args)
|
5756
|
+
@scope = args[:scope] if args.key?(:scope)
|
5757
|
+
@trace_flag_name = args[:trace_flag_name] if args.key?(:trace_flag_name)
|
5758
|
+
end
|
5759
|
+
end
|
5760
|
+
|
4812
5761
|
# The `Status` type defines a logical error model that is suitable for different
|
4813
5762
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
4814
5763
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -5129,6 +6078,11 @@ module Google
|
|
5129
6078
|
class VmwarePlatformDetails
|
5130
6079
|
include Google::Apis::Core::Hashable
|
5131
6080
|
|
6081
|
+
# Whether the ESX is hyperthreaded.
|
6082
|
+
# Corresponds to the JSON property `esxHyperthreading`
|
6083
|
+
# @return [String]
|
6084
|
+
attr_accessor :esx_hyperthreading
|
6085
|
+
|
5132
6086
|
# ESX version.
|
5133
6087
|
# Corresponds to the JSON property `esxVersion`
|
5134
6088
|
# @return [String]
|
@@ -5167,6 +6121,7 @@ module Google
|
|
5167
6121
|
|
5168
6122
|
# Update properties of this object
|
5169
6123
|
def update!(**args)
|
6124
|
+
@esx_hyperthreading = args[:esx_hyperthreading] if args.key?(:esx_hyperthreading)
|
5170
6125
|
@esx_version = args[:esx_version] if args.key?(:esx_version)
|
5171
6126
|
@osid = args[:osid] if args.key?(:osid)
|
5172
6127
|
@vcenter_folder = args[:vcenter_folder] if args.key?(:vcenter_folder)
|