google-apis-migrationcenter_v1alpha1 0.26.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,8 @@ module Google
75
75
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::Aggregation>]
76
76
  attr_accessor :aggregations
77
77
 
78
- # The aggregation will be performed on assets that match the provided filter.
78
+ # Optional. The aggregation will be performed on assets that match the provided
79
+ # filter.
79
80
  # Corresponds to the JSON property `filter`
80
81
  # @return [String]
81
82
  attr_accessor :filter
@@ -401,6 +402,16 @@ module Google
401
402
  # @return [String]
402
403
  attr_accessor :create_time
403
404
 
405
+ # The details of a database deployment asset.
406
+ # Corresponds to the JSON property `databaseDeploymentDetails`
407
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentDetails]
408
+ attr_accessor :database_deployment_details
409
+
410
+ # Details of a logical database.
411
+ # Corresponds to the JSON property `databaseDetails`
412
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDetails]
413
+ attr_accessor :database_details
414
+
404
415
  # Optional. Indicates if the asset is hidden.
405
416
  # Corresponds to the JSON property `hidden`
406
417
  # @return [Boolean]
@@ -442,6 +453,11 @@ module Google
442
453
  # @return [Array<String>]
443
454
  attr_accessor :sources
444
455
 
456
+ # Output only. Server generated human readable name of the asset.
457
+ # Corresponds to the JSON property `title`
458
+ # @return [String]
459
+ attr_accessor :title
460
+
445
461
  # Output only. The timestamp when the asset was last updated.
446
462
  # Corresponds to the JSON property `updateTime`
447
463
  # @return [String]
@@ -461,6 +477,8 @@ module Google
461
477
  @assigned_groups = args[:assigned_groups] if args.key?(:assigned_groups)
462
478
  @attributes = args[:attributes] if args.key?(:attributes)
463
479
  @create_time = args[:create_time] if args.key?(:create_time)
480
+ @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
481
+ @database_details = args[:database_details] if args.key?(:database_details)
464
482
  @hidden = args[:hidden] if args.key?(:hidden)
465
483
  @hide_reason = args[:hide_reason] if args.key?(:hide_reason)
466
484
  @hide_time = args[:hide_time] if args.key?(:hide_time)
@@ -469,6 +487,7 @@ module Google
469
487
  @name = args[:name] if args.key?(:name)
470
488
  @performance_data = args[:performance_data] if args.key?(:performance_data)
471
489
  @sources = args[:sources] if args.key?(:sources)
490
+ @title = args[:title] if args.key?(:title)
472
491
  @update_time = args[:update_time] if args.key?(:update_time)
473
492
  @virtual_machine_details = args[:virtual_machine_details] if args.key?(:virtual_machine_details)
474
493
  end
@@ -489,6 +508,16 @@ module Google
489
508
  # @return [String]
490
509
  attr_accessor :collection_type
491
510
 
511
+ # The details of a database deployment asset.
512
+ # Corresponds to the JSON property `databaseDeploymentDetails`
513
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentDetails]
514
+ attr_accessor :database_deployment_details
515
+
516
+ # Details of a logical database.
517
+ # Corresponds to the JSON property `databaseDetails`
518
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDetails]
519
+ attr_accessor :database_details
520
+
492
521
  # Labels as key value pairs.
493
522
  # Corresponds to the JSON property `labels`
494
523
  # @return [Hash<String,String>]
@@ -524,6 +553,8 @@ module Google
524
553
  def update!(**args)
525
554
  @attributes = args[:attributes] if args.key?(:attributes)
526
555
  @collection_type = args[:collection_type] if args.key?(:collection_type)
556
+ @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
557
+ @database_details = args[:database_details] if args.key?(:database_details)
527
558
  @labels = args[:labels] if args.key?(:labels)
528
559
  @performance_samples = args[:performance_samples] if args.key?(:performance_samples)
529
560
  @report_time = args[:report_time] if args.key?(:report_time)
@@ -754,6 +785,222 @@ module Google
754
785
  end
755
786
  end
756
787
 
788
+ # Cloud database migration target.
789
+ class CloudDatabaseMigrationTarget
790
+ include Google::Apis::Core::Hashable
791
+
792
+ # Cloud SQL for MySQL database shape.
793
+ # Corresponds to the JSON property `cloudSqlForMysqlShape`
794
+ # @return [Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape]
795
+ attr_accessor :cloud_sql_for_mysql_shape
796
+
797
+ # Cloud SQL for Postgres database shape.
798
+ # Corresponds to the JSON property `cloudSqlForPostgresqlShape`
799
+ # @return [Google::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape]
800
+ attr_accessor :cloud_sql_for_postgresql_shape
801
+
802
+ # Cloud SQL for SQL Server database shape.
803
+ # Corresponds to the JSON property `cloudSqlShape`
804
+ # @return [Google::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape]
805
+ attr_accessor :cloud_sql_shape
806
+
807
+ def initialize(**args)
808
+ update!(**args)
809
+ end
810
+
811
+ # Update properties of this object
812
+ def update!(**args)
813
+ @cloud_sql_for_mysql_shape = args[:cloud_sql_for_mysql_shape] if args.key?(:cloud_sql_for_mysql_shape)
814
+ @cloud_sql_for_postgresql_shape = args[:cloud_sql_for_postgresql_shape] if args.key?(:cloud_sql_for_postgresql_shape)
815
+ @cloud_sql_shape = args[:cloud_sql_shape] if args.key?(:cloud_sql_shape)
816
+ end
817
+ end
818
+
819
+ # Cloud SQL for MySQL database shape.
820
+ class CloudSqlForMySqlShape
821
+ include Google::Apis::Core::Hashable
822
+
823
+ # Output only. Predicted backup storage size in GiB.
824
+ # Corresponds to the JSON property `backupStorageGb`
825
+ # @return [Fixnum]
826
+ attr_accessor :backup_storage_gb
827
+
828
+ # Output only. Cloud SQL edition.
829
+ # Corresponds to the JSON property `edition`
830
+ # @return [String]
831
+ attr_accessor :edition
832
+
833
+ # Output only. Predicted Network Out traffic GiB per month.
834
+ # Corresponds to the JSON property `egressGbPerMonth`
835
+ # @return [Fixnum]
836
+ attr_accessor :egress_gb_per_month
837
+
838
+ # Output only. Number of logical cores.
839
+ # Corresponds to the JSON property `logicalCoreCount`
840
+ # @return [Fixnum]
841
+ attr_accessor :logical_core_count
842
+
843
+ # Output only. Predicted amount of memory in MiB.
844
+ # Corresponds to the JSON property `memoryMb`
845
+ # @return [Fixnum]
846
+ attr_accessor :memory_mb
847
+
848
+ # Compute Engine storage option descriptor.
849
+ # Corresponds to the JSON property `storage`
850
+ # @return [Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor]
851
+ attr_accessor :storage
852
+
853
+ # Output only. MySQL version to be used on the Cloud SQL for MySQL instance.
854
+ # Corresponds to the JSON property `version`
855
+ # @return [String]
856
+ attr_accessor :version
857
+
858
+ # Output only. Cloud SQL zone availability.
859
+ # Corresponds to the JSON property `zoneAvailability`
860
+ # @return [String]
861
+ attr_accessor :zone_availability
862
+
863
+ def initialize(**args)
864
+ update!(**args)
865
+ end
866
+
867
+ # Update properties of this object
868
+ def update!(**args)
869
+ @backup_storage_gb = args[:backup_storage_gb] if args.key?(:backup_storage_gb)
870
+ @edition = args[:edition] if args.key?(:edition)
871
+ @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month)
872
+ @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count)
873
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
874
+ @storage = args[:storage] if args.key?(:storage)
875
+ @version = args[:version] if args.key?(:version)
876
+ @zone_availability = args[:zone_availability] if args.key?(:zone_availability)
877
+ end
878
+ end
879
+
880
+ # Cloud SQL for Postgres database shape.
881
+ class CloudSqlForPostgreSqlShape
882
+ include Google::Apis::Core::Hashable
883
+
884
+ # Output only. Predicted backup storage size in GiB.
885
+ # Corresponds to the JSON property `backupStorageGb`
886
+ # @return [Fixnum]
887
+ attr_accessor :backup_storage_gb
888
+
889
+ # Output only. Cloud SQL edition.
890
+ # Corresponds to the JSON property `edition`
891
+ # @return [String]
892
+ attr_accessor :edition
893
+
894
+ # Output only. Predicted Network Out traffic GiB per month.
895
+ # Corresponds to the JSON property `egressGbPerMonth`
896
+ # @return [Fixnum]
897
+ attr_accessor :egress_gb_per_month
898
+
899
+ # Output only. Number of logical cores.
900
+ # Corresponds to the JSON property `logicalCoreCount`
901
+ # @return [Fixnum]
902
+ attr_accessor :logical_core_count
903
+
904
+ # Output only. Predicted amount of memory in MiB.
905
+ # Corresponds to the JSON property `memoryMb`
906
+ # @return [Fixnum]
907
+ attr_accessor :memory_mb
908
+
909
+ # Compute Engine storage option descriptor.
910
+ # Corresponds to the JSON property `storage`
911
+ # @return [Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor]
912
+ attr_accessor :storage
913
+
914
+ # Output only. PostgreSql version to be used on the Cloud SQL for PostgreSql
915
+ # instance.
916
+ # Corresponds to the JSON property `version`
917
+ # @return [String]
918
+ attr_accessor :version
919
+
920
+ # Output only. Cloud SQL zone availability.
921
+ # Corresponds to the JSON property `zoneAvailability`
922
+ # @return [String]
923
+ attr_accessor :zone_availability
924
+
925
+ def initialize(**args)
926
+ update!(**args)
927
+ end
928
+
929
+ # Update properties of this object
930
+ def update!(**args)
931
+ @backup_storage_gb = args[:backup_storage_gb] if args.key?(:backup_storage_gb)
932
+ @edition = args[:edition] if args.key?(:edition)
933
+ @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month)
934
+ @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count)
935
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
936
+ @storage = args[:storage] if args.key?(:storage)
937
+ @version = args[:version] if args.key?(:version)
938
+ @zone_availability = args[:zone_availability] if args.key?(:zone_availability)
939
+ end
940
+ end
941
+
942
+ # Cloud SQL for SQL Server database shape.
943
+ class CloudSqlForSqlServerShape
944
+ include Google::Apis::Core::Hashable
945
+
946
+ # Output only. Predicted backup storage size in GiB.
947
+ # Corresponds to the JSON property `backupStorageGb`
948
+ # @return [Fixnum]
949
+ attr_accessor :backup_storage_gb
950
+
951
+ # Output only. Cloud SQL edition.
952
+ # Corresponds to the JSON property `edition`
953
+ # @return [String]
954
+ attr_accessor :edition
955
+
956
+ # Output only. Predicted Network Out traffic GiB per month.
957
+ # Corresponds to the JSON property `egressGbPerMonth`
958
+ # @return [Fixnum]
959
+ attr_accessor :egress_gb_per_month
960
+
961
+ # Output only. Number of logical cores.
962
+ # Corresponds to the JSON property `logicalCoreCount`
963
+ # @return [Fixnum]
964
+ attr_accessor :logical_core_count
965
+
966
+ # Output only. Predicted amount of memory in MiB.
967
+ # Corresponds to the JSON property `memoryMb`
968
+ # @return [Fixnum]
969
+ attr_accessor :memory_mb
970
+
971
+ # Compute Engine storage option descriptor.
972
+ # Corresponds to the JSON property `storage`
973
+ # @return [Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor]
974
+ attr_accessor :storage
975
+
976
+ # Output only. Microsoft SQL Server version to be used on the Cloud SQL for SQL
977
+ # server instance.
978
+ # Corresponds to the JSON property `version`
979
+ # @return [String]
980
+ attr_accessor :version
981
+
982
+ # Output only. Cloud SQL zone availability.
983
+ # Corresponds to the JSON property `zoneAvailability`
984
+ # @return [String]
985
+ attr_accessor :zone_availability
986
+
987
+ def initialize(**args)
988
+ update!(**args)
989
+ end
990
+
991
+ # Update properties of this object
992
+ def update!(**args)
993
+ @backup_storage_gb = args[:backup_storage_gb] if args.key?(:backup_storage_gb)
994
+ @edition = args[:edition] if args.key?(:edition)
995
+ @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month)
996
+ @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count)
997
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
998
+ @storage = args[:storage] if args.key?(:storage)
999
+ @version = args[:version] if args.key?(:version)
1000
+ @zone_availability = args[:zone_availability] if args.key?(:zone_availability)
1001
+ end
1002
+ end
1003
+
757
1004
  # Compute engine migration target.
758
1005
  class ComputeEngineMigrationTarget
759
1006
  include Google::Apis::Core::Hashable
@@ -813,32 +1060,32 @@ module Google
813
1060
  class ComputeEngineShapeDescriptor
814
1061
  include Google::Apis::Core::Hashable
815
1062
 
816
- # Number of logical cores.
1063
+ # Output only. Number of logical cores.
817
1064
  # Corresponds to the JSON property `logicalCoreCount`
818
1065
  # @return [Fixnum]
819
1066
  attr_accessor :logical_core_count
820
1067
 
821
- # Compute Engine machine type.
1068
+ # Output only. Compute Engine machine type.
822
1069
  # Corresponds to the JSON property `machineType`
823
1070
  # @return [String]
824
1071
  attr_accessor :machine_type
825
1072
 
826
- # Memory in mebibytes.
1073
+ # Output only. Memory in mebibytes.
827
1074
  # Corresponds to the JSON property `memoryMb`
828
1075
  # @return [Fixnum]
829
1076
  attr_accessor :memory_mb
830
1077
 
831
- # Number of physical cores.
1078
+ # Output only. Number of physical cores.
832
1079
  # Corresponds to the JSON property `physicalCoreCount`
833
1080
  # @return [Fixnum]
834
1081
  attr_accessor :physical_core_count
835
1082
 
836
- # Compute Engine machine series.
1083
+ # Output only. Compute Engine machine series.
837
1084
  # Corresponds to the JSON property `series`
838
1085
  # @return [String]
839
1086
  attr_accessor :series
840
1087
 
841
- # Compute Engine storage. Never empty.
1088
+ # Output only. Compute Engine storage. Never empty.
842
1089
  # Corresponds to the JSON property `storage`
843
1090
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor>]
844
1091
  attr_accessor :storage
@@ -994,6 +1241,16 @@ module Google
994
1241
  # @return [Google::Apis::MigrationcenterV1alpha1::DailyResourceUsageAggregationStats]
995
1242
  attr_accessor :iops
996
1243
 
1244
+ # Statistical aggregation of samples for a single resource usage.
1245
+ # Corresponds to the JSON property `readIops`
1246
+ # @return [Google::Apis::MigrationcenterV1alpha1::DailyResourceUsageAggregationStats]
1247
+ attr_accessor :read_iops
1248
+
1249
+ # Statistical aggregation of samples for a single resource usage.
1250
+ # Corresponds to the JSON property `writeIops`
1251
+ # @return [Google::Apis::MigrationcenterV1alpha1::DailyResourceUsageAggregationStats]
1252
+ attr_accessor :write_iops
1253
+
997
1254
  def initialize(**args)
998
1255
  update!(**args)
999
1256
  end
@@ -1001,6 +1258,8 @@ module Google
1001
1258
  # Update properties of this object
1002
1259
  def update!(**args)
1003
1260
  @iops = args[:iops] if args.key?(:iops)
1261
+ @read_iops = args[:read_iops] if args.key?(:read_iops)
1262
+ @write_iops = args[:write_iops] if args.key?(:write_iops)
1004
1263
  end
1005
1264
  end
1006
1265
 
@@ -1085,6 +1344,468 @@ module Google
1085
1344
  end
1086
1345
  end
1087
1346
 
1347
+ # The details of a database deployment asset.
1348
+ class DatabaseDeploymentDetails
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ # Aggregated stats for the database deployment.
1352
+ # Corresponds to the JSON property `aggregatedStats`
1353
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentDetailsAggregatedStats]
1354
+ attr_accessor :aggregated_stats
1355
+
1356
+ # The database deployment edition.
1357
+ # Corresponds to the JSON property `edition`
1358
+ # @return [String]
1359
+ attr_accessor :edition
1360
+
1361
+ # The database deployment generated ID.
1362
+ # Corresponds to the JSON property `generatedId`
1363
+ # @return [String]
1364
+ attr_accessor :generated_id
1365
+
1366
+ # A manual unique ID set by the user.
1367
+ # Corresponds to the JSON property `manualUniqueId`
1368
+ # @return [String]
1369
+ attr_accessor :manual_unique_id
1370
+
1371
+ # Specific details for a Mysql database deployment.
1372
+ # Corresponds to the JSON property `mysql`
1373
+ # @return [Google::Apis::MigrationcenterV1alpha1::MysqlDatabaseDeployment]
1374
+ attr_accessor :mysql
1375
+
1376
+ # Specific details for a PostgreSQL database deployment.
1377
+ # Corresponds to the JSON property `postgresql`
1378
+ # @return [Google::Apis::MigrationcenterV1alpha1::PostgreSqlDatabaseDeployment]
1379
+ attr_accessor :postgresql
1380
+
1381
+ # Specific details for a Microsoft SQL Server database deployment.
1382
+ # Corresponds to the JSON property `sqlServer`
1383
+ # @return [Google::Apis::MigrationcenterV1alpha1::SqlServerDatabaseDeployment]
1384
+ attr_accessor :sql_server
1385
+
1386
+ # Details of database deployment's topology.
1387
+ # Corresponds to the JSON property `topology`
1388
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentTopology]
1389
+ attr_accessor :topology
1390
+
1391
+ # The database deployment version.
1392
+ # Corresponds to the JSON property `version`
1393
+ # @return [String]
1394
+ attr_accessor :version
1395
+
1396
+ def initialize(**args)
1397
+ update!(**args)
1398
+ end
1399
+
1400
+ # Update properties of this object
1401
+ def update!(**args)
1402
+ @aggregated_stats = args[:aggregated_stats] if args.key?(:aggregated_stats)
1403
+ @edition = args[:edition] if args.key?(:edition)
1404
+ @generated_id = args[:generated_id] if args.key?(:generated_id)
1405
+ @manual_unique_id = args[:manual_unique_id] if args.key?(:manual_unique_id)
1406
+ @mysql = args[:mysql] if args.key?(:mysql)
1407
+ @postgresql = args[:postgresql] if args.key?(:postgresql)
1408
+ @sql_server = args[:sql_server] if args.key?(:sql_server)
1409
+ @topology = args[:topology] if args.key?(:topology)
1410
+ @version = args[:version] if args.key?(:version)
1411
+ end
1412
+ end
1413
+
1414
+ # Aggregated stats for the database deployment.
1415
+ class DatabaseDeploymentDetailsAggregatedStats
1416
+ include Google::Apis::Core::Hashable
1417
+
1418
+ # Output only. The number of databases in the deployment.
1419
+ # Corresponds to the JSON property `databaseCount`
1420
+ # @return [Fixnum]
1421
+ attr_accessor :database_count
1422
+
1423
+ def initialize(**args)
1424
+ update!(**args)
1425
+ end
1426
+
1427
+ # Update properties of this object
1428
+ def update!(**args)
1429
+ @database_count = args[:database_count] if args.key?(:database_count)
1430
+ end
1431
+ end
1432
+
1433
+ # Details of database deployment's topology.
1434
+ class DatabaseDeploymentTopology
1435
+ include Google::Apis::Core::Hashable
1436
+
1437
+ # Optional. Number of total cores.
1438
+ # Corresponds to the JSON property `coreCount`
1439
+ # @return [Fixnum]
1440
+ attr_accessor :core_count
1441
+
1442
+ # Optional. Number of total cores limited by db deployment.
1443
+ # Corresponds to the JSON property `coreLimit`
1444
+ # @return [Fixnum]
1445
+ attr_accessor :core_limit
1446
+
1447
+ # Optional. Disk allocated in bytes.
1448
+ # Corresponds to the JSON property `diskAllocatedBytes`
1449
+ # @return [Fixnum]
1450
+ attr_accessor :disk_allocated_bytes
1451
+
1452
+ # Optional. Disk used in bytes.
1453
+ # Corresponds to the JSON property `diskUsedBytes`
1454
+ # @return [Fixnum]
1455
+ attr_accessor :disk_used_bytes
1456
+
1457
+ # Optional. List of database instances.
1458
+ # Corresponds to the JSON property `instances`
1459
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::DatabaseInstance>]
1460
+ attr_accessor :instances
1461
+
1462
+ # Optional. Total memory in bytes.
1463
+ # Corresponds to the JSON property `memoryBytes`
1464
+ # @return [Fixnum]
1465
+ attr_accessor :memory_bytes
1466
+
1467
+ # Optional. Total memory in bytes limited by db deployment.
1468
+ # Corresponds to the JSON property `memoryLimitBytes`
1469
+ # @return [Fixnum]
1470
+ attr_accessor :memory_limit_bytes
1471
+
1472
+ def initialize(**args)
1473
+ update!(**args)
1474
+ end
1475
+
1476
+ # Update properties of this object
1477
+ def update!(**args)
1478
+ @core_count = args[:core_count] if args.key?(:core_count)
1479
+ @core_limit = args[:core_limit] if args.key?(:core_limit)
1480
+ @disk_allocated_bytes = args[:disk_allocated_bytes] if args.key?(:disk_allocated_bytes)
1481
+ @disk_used_bytes = args[:disk_used_bytes] if args.key?(:disk_used_bytes)
1482
+ @instances = args[:instances] if args.key?(:instances)
1483
+ @memory_bytes = args[:memory_bytes] if args.key?(:memory_bytes)
1484
+ @memory_limit_bytes = args[:memory_limit_bytes] if args.key?(:memory_limit_bytes)
1485
+ end
1486
+ end
1487
+
1488
+ # Details of a logical database.
1489
+ class DatabaseDetails
1490
+ include Google::Apis::Core::Hashable
1491
+
1492
+ # The allocated storage for the database in bytes.
1493
+ # Corresponds to the JSON property `allocatedStorageBytes`
1494
+ # @return [Fixnum]
1495
+ attr_accessor :allocated_storage_bytes
1496
+
1497
+ # The name of the database.
1498
+ # Corresponds to the JSON property `databaseName`
1499
+ # @return [String]
1500
+ attr_accessor :database_name
1501
+
1502
+ # The identifiers of the parent database deployment.
1503
+ # Corresponds to the JSON property `parentDatabaseDeployment`
1504
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDetailsParentDatabaseDeployment]
1505
+ attr_accessor :parent_database_deployment
1506
+
1507
+ # The database schemas.
1508
+ # Corresponds to the JSON property `schemas`
1509
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::DatabaseSchema>]
1510
+ attr_accessor :schemas
1511
+
1512
+ def initialize(**args)
1513
+ update!(**args)
1514
+ end
1515
+
1516
+ # Update properties of this object
1517
+ def update!(**args)
1518
+ @allocated_storage_bytes = args[:allocated_storage_bytes] if args.key?(:allocated_storage_bytes)
1519
+ @database_name = args[:database_name] if args.key?(:database_name)
1520
+ @parent_database_deployment = args[:parent_database_deployment] if args.key?(:parent_database_deployment)
1521
+ @schemas = args[:schemas] if args.key?(:schemas)
1522
+ end
1523
+ end
1524
+
1525
+ # The identifiers of the parent database deployment.
1526
+ class DatabaseDetailsParentDatabaseDeployment
1527
+ include Google::Apis::Core::Hashable
1528
+
1529
+ # The parent database deployment generated ID.
1530
+ # Corresponds to the JSON property `generatedId`
1531
+ # @return [String]
1532
+ attr_accessor :generated_id
1533
+
1534
+ # The parent database deployment optional manual unique ID set by the user.
1535
+ # Corresponds to the JSON property `manualUniqueId`
1536
+ # @return [String]
1537
+ attr_accessor :manual_unique_id
1538
+
1539
+ def initialize(**args)
1540
+ update!(**args)
1541
+ end
1542
+
1543
+ # Update properties of this object
1544
+ def update!(**args)
1545
+ @generated_id = args[:generated_id] if args.key?(:generated_id)
1546
+ @manual_unique_id = args[:manual_unique_id] if args.key?(:manual_unique_id)
1547
+ end
1548
+ end
1549
+
1550
+ # Details of a database instance.
1551
+ class DatabaseInstance
1552
+ include Google::Apis::Core::Hashable
1553
+
1554
+ # The instance's name.
1555
+ # Corresponds to the JSON property `instanceName`
1556
+ # @return [String]
1557
+ attr_accessor :instance_name
1558
+
1559
+ # The instance role in the database engine.
1560
+ # Corresponds to the JSON property `role`
1561
+ # @return [String]
1562
+ attr_accessor :role
1563
+
1564
+ def initialize(**args)
1565
+ update!(**args)
1566
+ end
1567
+
1568
+ # Update properties of this object
1569
+ def update!(**args)
1570
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
1571
+ @role = args[:role] if args.key?(:role)
1572
+ end
1573
+ end
1574
+
1575
+ # Details of a group of database objects.
1576
+ class DatabaseObjects
1577
+ include Google::Apis::Core::Hashable
1578
+
1579
+ # The category of the objects.
1580
+ # Corresponds to the JSON property `category`
1581
+ # @return [String]
1582
+ attr_accessor :category
1583
+
1584
+ # The number of objects.
1585
+ # Corresponds to the JSON property `count`
1586
+ # @return [Fixnum]
1587
+ attr_accessor :count
1588
+
1589
+ def initialize(**args)
1590
+ update!(**args)
1591
+ end
1592
+
1593
+ # Update properties of this object
1594
+ def update!(**args)
1595
+ @category = args[:category] if args.key?(:category)
1596
+ @count = args[:count] if args.key?(:count)
1597
+ end
1598
+ end
1599
+
1600
+ # DatabasePreferences enables you to create sets of preferences for your
1601
+ # migrated databases.
1602
+ class DatabasePreferences
1603
+ include Google::Apis::Core::Hashable
1604
+
1605
+ # Preferences for SQL Server on Cloud SQL.
1606
+ # Corresponds to the JSON property `mssqlToCloudSqlForSqlServerPreferences`
1607
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlSqlServer]
1608
+ attr_accessor :mssql_to_cloud_sql_for_sql_server_preferences
1609
+
1610
+ # Preferences for MySQL on Cloud SQL.
1611
+ # Corresponds to the JSON property `mysqlToCloudSqlForMysqlPreferences`
1612
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlMySql]
1613
+ attr_accessor :mysql_to_cloud_sql_for_mysql_preferences
1614
+
1615
+ # Preferences for PostgreSQL on Cloud SQL.
1616
+ # Corresponds to the JSON property `postgresqlToCloudSqlForPostgresqlPreferences`
1617
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlPostgreSql]
1618
+ attr_accessor :postgresql_to_cloud_sql_for_postgresql_preferences
1619
+
1620
+ def initialize(**args)
1621
+ update!(**args)
1622
+ end
1623
+
1624
+ # Update properties of this object
1625
+ def update!(**args)
1626
+ @mssql_to_cloud_sql_for_sql_server_preferences = args[:mssql_to_cloud_sql_for_sql_server_preferences] if args.key?(:mssql_to_cloud_sql_for_sql_server_preferences)
1627
+ @mysql_to_cloud_sql_for_mysql_preferences = args[:mysql_to_cloud_sql_for_mysql_preferences] if args.key?(:mysql_to_cloud_sql_for_mysql_preferences)
1628
+ @postgresql_to_cloud_sql_for_postgresql_preferences = args[:postgresql_to_cloud_sql_for_postgresql_preferences] if args.key?(:postgresql_to_cloud_sql_for_postgresql_preferences)
1629
+ end
1630
+ end
1631
+
1632
+ # Preferences common to Cloud SQL databases.
1633
+ class DatabasePreferencesCloudSqlCommon
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # Preferences for database backups.
1637
+ # Corresponds to the JSON property `backup`
1638
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommonBackup]
1639
+ attr_accessor :backup
1640
+
1641
+ # Optional. Commitment plan to consider when calculating costs. Only regular
1642
+ # CUDs (not flexible) are currently available.
1643
+ # Corresponds to the JSON property `commitmentPlan`
1644
+ # @return [String]
1645
+ attr_accessor :commitment_plan
1646
+
1647
+ # Optional. Cloud SQL edition. For SQL Server, only Enterprise is available.
1648
+ # Corresponds to the JSON property `edition`
1649
+ # @return [String]
1650
+ attr_accessor :edition
1651
+
1652
+ # Optional. Persistent disk type to use. If unspecified, a disk type is
1653
+ # recommended based on available usage data. For SQL Server, only SSD is
1654
+ # available. For MySQL and PostgreSQL, only STANDARD (HDD) and SSD types are
1655
+ # available.
1656
+ # Corresponds to the JSON property `persistentDiskType`
1657
+ # @return [String]
1658
+ attr_accessor :persistent_disk_type
1659
+
1660
+ # Optional. Sizing optimization strategy of the database. Currently supported
1661
+ # for Cloud SQL are just two values: SIZING_OPTIMIZATION_STRATEGY_MODERATE and
1662
+ # SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE.
1663
+ # SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED will behave like
1664
+ # SIZING_OPTIMIZATION_STRATEGY_MODERATE.
1665
+ # Corresponds to the JSON property `sizingOptimizationStrategy`
1666
+ # @return [String]
1667
+ attr_accessor :sizing_optimization_strategy
1668
+
1669
+ # Optional. Preferred zone availability.
1670
+ # Corresponds to the JSON property `zoneAvailability`
1671
+ # @return [String]
1672
+ attr_accessor :zone_availability
1673
+
1674
+ def initialize(**args)
1675
+ update!(**args)
1676
+ end
1677
+
1678
+ # Update properties of this object
1679
+ def update!(**args)
1680
+ @backup = args[:backup] if args.key?(:backup)
1681
+ @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
1682
+ @edition = args[:edition] if args.key?(:edition)
1683
+ @persistent_disk_type = args[:persistent_disk_type] if args.key?(:persistent_disk_type)
1684
+ @sizing_optimization_strategy = args[:sizing_optimization_strategy] if args.key?(:sizing_optimization_strategy)
1685
+ @zone_availability = args[:zone_availability] if args.key?(:zone_availability)
1686
+ end
1687
+ end
1688
+
1689
+ # Preferences for database backups.
1690
+ class DatabasePreferencesCloudSqlCommonBackup
1691
+ include Google::Apis::Core::Hashable
1692
+
1693
+ # Optional. Mode of automated backups.
1694
+ # Corresponds to the JSON property `backupMode`
1695
+ # @return [String]
1696
+ attr_accessor :backup_mode
1697
+
1698
+ def initialize(**args)
1699
+ update!(**args)
1700
+ end
1701
+
1702
+ # Update properties of this object
1703
+ def update!(**args)
1704
+ @backup_mode = args[:backup_mode] if args.key?(:backup_mode)
1705
+ end
1706
+ end
1707
+
1708
+ # Preferences for MySQL on Cloud SQL.
1709
+ class DatabasePreferencesCloudSqlMySql
1710
+ include Google::Apis::Core::Hashable
1711
+
1712
+ # Preferences common to Cloud SQL databases.
1713
+ # Corresponds to the JSON property `common`
1714
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommon]
1715
+ attr_accessor :common
1716
+
1717
+ def initialize(**args)
1718
+ update!(**args)
1719
+ end
1720
+
1721
+ # Update properties of this object
1722
+ def update!(**args)
1723
+ @common = args[:common] if args.key?(:common)
1724
+ end
1725
+ end
1726
+
1727
+ # Preferences for PostgreSQL on Cloud SQL.
1728
+ class DatabasePreferencesCloudSqlPostgreSql
1729
+ include Google::Apis::Core::Hashable
1730
+
1731
+ # Preferences common to Cloud SQL databases.
1732
+ # Corresponds to the JSON property `common`
1733
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommon]
1734
+ attr_accessor :common
1735
+
1736
+ def initialize(**args)
1737
+ update!(**args)
1738
+ end
1739
+
1740
+ # Update properties of this object
1741
+ def update!(**args)
1742
+ @common = args[:common] if args.key?(:common)
1743
+ end
1744
+ end
1745
+
1746
+ # Preferences for SQL Server on Cloud SQL.
1747
+ class DatabasePreferencesCloudSqlSqlServer
1748
+ include Google::Apis::Core::Hashable
1749
+
1750
+ # Preferences common to Cloud SQL databases.
1751
+ # Corresponds to the JSON property `common`
1752
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommon]
1753
+ attr_accessor :common
1754
+
1755
+ # Optional. Preferences for multithreading support.
1756
+ # Corresponds to the JSON property `multithreading`
1757
+ # @return [String]
1758
+ attr_accessor :multithreading
1759
+
1760
+ # Optional. Edition of Microsoft SQL version that is used on a Cloud SQL for SQL
1761
+ # server instance.
1762
+ # Corresponds to the JSON property `versionType`
1763
+ # @return [String]
1764
+ attr_accessor :version_type
1765
+
1766
+ def initialize(**args)
1767
+ update!(**args)
1768
+ end
1769
+
1770
+ # Update properties of this object
1771
+ def update!(**args)
1772
+ @common = args[:common] if args.key?(:common)
1773
+ @multithreading = args[:multithreading] if args.key?(:multithreading)
1774
+ @version_type = args[:version_type] if args.key?(:version_type)
1775
+ end
1776
+ end
1777
+
1778
+ # Details of a database schema.
1779
+ class DatabaseSchema
1780
+ include Google::Apis::Core::Hashable
1781
+
1782
+ # List of details of objects by category.
1783
+ # Corresponds to the JSON property `objects`
1784
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::DatabaseObjects>]
1785
+ attr_accessor :objects
1786
+
1787
+ # The name of the schema.
1788
+ # Corresponds to the JSON property `schemaName`
1789
+ # @return [String]
1790
+ attr_accessor :schema_name
1791
+
1792
+ # The total size of tables in bytes.
1793
+ # Corresponds to the JSON property `tablesSizeBytes`
1794
+ # @return [Fixnum]
1795
+ attr_accessor :tables_size_bytes
1796
+
1797
+ def initialize(**args)
1798
+ update!(**args)
1799
+ end
1800
+
1801
+ # Update properties of this object
1802
+ def update!(**args)
1803
+ @objects = args[:objects] if args.key?(:objects)
1804
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
1805
+ @tables_size_bytes = args[:tables_size_bytes] if args.key?(:tables_size_bytes)
1806
+ end
1807
+ end
1808
+
1088
1809
  # Represents a whole or partial calendar date, such as a birthday. The time of
1089
1810
  # day and time zone are either specified elsewhere or are insignificant. The
1090
1811
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1521,6 +2242,16 @@ module Google
1521
2242
  # @return [Float]
1522
2243
  attr_accessor :average_iops
1523
2244
 
2245
+ # Average read IOPS sampled over a short window. Must be non-negative.
2246
+ # Corresponds to the JSON property `averageReadIops`
2247
+ # @return [Float]
2248
+ attr_accessor :average_read_iops
2249
+
2250
+ # Average write IOPS sampled over a short window. Must be non-negative.
2251
+ # Corresponds to the JSON property `averageWriteIops`
2252
+ # @return [Float]
2253
+ attr_accessor :average_write_iops
2254
+
1524
2255
  def initialize(**args)
1525
2256
  update!(**args)
1526
2257
  end
@@ -1528,6 +2259,8 @@ module Google
1528
2259
  # Update properties of this object
1529
2260
  def update!(**args)
1530
2261
  @average_iops = args[:average_iops] if args.key?(:average_iops)
2262
+ @average_read_iops = args[:average_read_iops] if args.key?(:average_read_iops)
2263
+ @average_write_iops = args[:average_write_iops] if args.key?(:average_write_iops)
1531
2264
  end
1532
2265
  end
1533
2266
 
@@ -2316,15 +3049,151 @@ module Google
2316
3049
  # @return [String]
2317
3050
  attr_accessor :state
2318
3051
 
2319
- # Output only. The timestamp when the import job was last updated.
2320
- # Corresponds to the JSON property `updateTime`
2321
- # @return [String]
2322
- attr_accessor :update_time
3052
+ # Output only. The timestamp when the import job was last updated.
3053
+ # Corresponds to the JSON property `updateTime`
3054
+ # @return [String]
3055
+ attr_accessor :update_time
3056
+
3057
+ # A resource that aggregates errors across import job files.
3058
+ # Corresponds to the JSON property `validationReport`
3059
+ # @return [Google::Apis::MigrationcenterV1alpha1::ValidationReport]
3060
+ attr_accessor :validation_report
3061
+
3062
+ def initialize(**args)
3063
+ update!(**args)
3064
+ end
3065
+
3066
+ # Update properties of this object
3067
+ def update!(**args)
3068
+ @asset_source = args[:asset_source] if args.key?(:asset_source)
3069
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
3070
+ @create_time = args[:create_time] if args.key?(:create_time)
3071
+ @display_name = args[:display_name] if args.key?(:display_name)
3072
+ @execution_report = args[:execution_report] if args.key?(:execution_report)
3073
+ @gcs_payload = args[:gcs_payload] if args.key?(:gcs_payload)
3074
+ @inline_payload = args[:inline_payload] if args.key?(:inline_payload)
3075
+ @labels = args[:labels] if args.key?(:labels)
3076
+ @name = args[:name] if args.key?(:name)
3077
+ @state = args[:state] if args.key?(:state)
3078
+ @update_time = args[:update_time] if args.key?(:update_time)
3079
+ @validation_report = args[:validation_report] if args.key?(:validation_report)
3080
+ end
3081
+ end
3082
+
3083
+ # A resource that reports the import job errors at row level.
3084
+ class ImportRowError
3085
+ include Google::Apis::Core::Hashable
3086
+
3087
+ # Error details for an archive file.
3088
+ # Corresponds to the JSON property `archiveError`
3089
+ # @return [Google::Apis::MigrationcenterV1alpha1::ImportRowErrorArchiveErrorDetails]
3090
+ attr_accessor :archive_error
3091
+
3092
+ # The asset title.
3093
+ # Corresponds to the JSON property `assetTitle`
3094
+ # @return [String]
3095
+ attr_accessor :asset_title
3096
+
3097
+ # Error details for a CSV file.
3098
+ # Corresponds to the JSON property `csvError`
3099
+ # @return [Google::Apis::MigrationcenterV1alpha1::ImportRowErrorCsvErrorDetails]
3100
+ attr_accessor :csv_error
3101
+
3102
+ # The list of errors detected in the row.
3103
+ # Corresponds to the JSON property `errors`
3104
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::ImportError>]
3105
+ attr_accessor :errors
3106
+
3107
+ # Error details for a JSON file.
3108
+ # Corresponds to the JSON property `jsonError`
3109
+ # @return [Google::Apis::MigrationcenterV1alpha1::ImportRowErrorJsonErrorDetails]
3110
+ attr_accessor :json_error
3111
+
3112
+ # The row number where the error was detected.
3113
+ # Corresponds to the JSON property `rowNumber`
3114
+ # @return [Fixnum]
3115
+ attr_accessor :row_number
3116
+
3117
+ # The name of the VM in the row.
3118
+ # Corresponds to the JSON property `vmName`
3119
+ # @return [String]
3120
+ attr_accessor :vm_name
3121
+
3122
+ # The VM UUID.
3123
+ # Corresponds to the JSON property `vmUuid`
3124
+ # @return [String]
3125
+ attr_accessor :vm_uuid
3126
+
3127
+ # Error details for an XLSX file.
3128
+ # Corresponds to the JSON property `xlsxError`
3129
+ # @return [Google::Apis::MigrationcenterV1alpha1::ImportRowErrorXlsxErrorDetails]
3130
+ attr_accessor :xlsx_error
3131
+
3132
+ def initialize(**args)
3133
+ update!(**args)
3134
+ end
3135
+
3136
+ # Update properties of this object
3137
+ def update!(**args)
3138
+ @archive_error = args[:archive_error] if args.key?(:archive_error)
3139
+ @asset_title = args[:asset_title] if args.key?(:asset_title)
3140
+ @csv_error = args[:csv_error] if args.key?(:csv_error)
3141
+ @errors = args[:errors] if args.key?(:errors)
3142
+ @json_error = args[:json_error] if args.key?(:json_error)
3143
+ @row_number = args[:row_number] if args.key?(:row_number)
3144
+ @vm_name = args[:vm_name] if args.key?(:vm_name)
3145
+ @vm_uuid = args[:vm_uuid] if args.key?(:vm_uuid)
3146
+ @xlsx_error = args[:xlsx_error] if args.key?(:xlsx_error)
3147
+ end
3148
+ end
3149
+
3150
+ # Error details for an archive file.
3151
+ class ImportRowErrorArchiveErrorDetails
3152
+ include Google::Apis::Core::Hashable
3153
+
3154
+ # Error details for a CSV file.
3155
+ # Corresponds to the JSON property `csvError`
3156
+ # @return [Google::Apis::MigrationcenterV1alpha1::ImportRowErrorCsvErrorDetails]
3157
+ attr_accessor :csv_error
3158
+
3159
+ # The file path inside the archive where the error was detected.
3160
+ # Corresponds to the JSON property `filePath`
3161
+ # @return [String]
3162
+ attr_accessor :file_path
3163
+
3164
+ def initialize(**args)
3165
+ update!(**args)
3166
+ end
3167
+
3168
+ # Update properties of this object
3169
+ def update!(**args)
3170
+ @csv_error = args[:csv_error] if args.key?(:csv_error)
3171
+ @file_path = args[:file_path] if args.key?(:file_path)
3172
+ end
3173
+ end
3174
+
3175
+ # Error details for a CSV file.
3176
+ class ImportRowErrorCsvErrorDetails
3177
+ include Google::Apis::Core::Hashable
3178
+
3179
+ # The row number where the error was detected.
3180
+ # Corresponds to the JSON property `rowNumber`
3181
+ # @return [Fixnum]
3182
+ attr_accessor :row_number
3183
+
3184
+ def initialize(**args)
3185
+ update!(**args)
3186
+ end
3187
+
3188
+ # Update properties of this object
3189
+ def update!(**args)
3190
+ @row_number = args[:row_number] if args.key?(:row_number)
3191
+ end
3192
+ end
2323
3193
 
2324
- # A resource that aggregates errors across import job files.
2325
- # Corresponds to the JSON property `validationReport`
2326
- # @return [Google::Apis::MigrationcenterV1alpha1::ValidationReport]
2327
- attr_accessor :validation_report
3194
+ # Error details for a JSON file.
3195
+ class ImportRowErrorJsonErrorDetails
3196
+ include Google::Apis::Core::Hashable
2328
3197
 
2329
3198
  def initialize(**args)
2330
3199
  update!(**args)
@@ -2332,44 +3201,22 @@ module Google
2332
3201
 
2333
3202
  # Update properties of this object
2334
3203
  def update!(**args)
2335
- @asset_source = args[:asset_source] if args.key?(:asset_source)
2336
- @complete_time = args[:complete_time] if args.key?(:complete_time)
2337
- @create_time = args[:create_time] if args.key?(:create_time)
2338
- @display_name = args[:display_name] if args.key?(:display_name)
2339
- @execution_report = args[:execution_report] if args.key?(:execution_report)
2340
- @gcs_payload = args[:gcs_payload] if args.key?(:gcs_payload)
2341
- @inline_payload = args[:inline_payload] if args.key?(:inline_payload)
2342
- @labels = args[:labels] if args.key?(:labels)
2343
- @name = args[:name] if args.key?(:name)
2344
- @state = args[:state] if args.key?(:state)
2345
- @update_time = args[:update_time] if args.key?(:update_time)
2346
- @validation_report = args[:validation_report] if args.key?(:validation_report)
2347
3204
  end
2348
3205
  end
2349
3206
 
2350
- # A resource that reports the import job errors at row level.
2351
- class ImportRowError
3207
+ # Error details for an XLSX file.
3208
+ class ImportRowErrorXlsxErrorDetails
2352
3209
  include Google::Apis::Core::Hashable
2353
3210
 
2354
- # The list of errors detected in the row.
2355
- # Corresponds to the JSON property `errors`
2356
- # @return [Array<Google::Apis::MigrationcenterV1alpha1::ImportError>]
2357
- attr_accessor :errors
2358
-
2359
3211
  # The row number where the error was detected.
2360
3212
  # Corresponds to the JSON property `rowNumber`
2361
3213
  # @return [Fixnum]
2362
3214
  attr_accessor :row_number
2363
3215
 
2364
- # The name of the VM in the row.
2365
- # Corresponds to the JSON property `vmName`
2366
- # @return [String]
2367
- attr_accessor :vm_name
2368
-
2369
- # The VM UUID.
2370
- # Corresponds to the JSON property `vmUuid`
3216
+ # The name of the sheet where the error was detected.
3217
+ # Corresponds to the JSON property `sheet`
2371
3218
  # @return [String]
2372
- attr_accessor :vm_uuid
3219
+ attr_accessor :sheet
2373
3220
 
2374
3221
  def initialize(**args)
2375
3222
  update!(**args)
@@ -2377,10 +3224,8 @@ module Google
2377
3224
 
2378
3225
  # Update properties of this object
2379
3226
  def update!(**args)
2380
- @errors = args[:errors] if args.key?(:errors)
2381
3227
  @row_number = args[:row_number] if args.key?(:row_number)
2382
- @vm_name = args[:vm_name] if args.key?(:vm_name)
2383
- @vm_uuid = args[:vm_uuid] if args.key?(:vm_uuid)
3228
+ @sheet = args[:sheet] if args.key?(:sheet)
2384
3229
  end
2385
3230
  end
2386
3231
 
@@ -2465,6 +3310,78 @@ module Google
2465
3310
  end
2466
3311
  end
2467
3312
 
3313
+ # An issue associated with a migration.
3314
+ class Issue
3315
+ include Google::Apis::Core::Hashable
3316
+
3317
+ # Details about a compatibility issue.
3318
+ # Corresponds to the JSON property `compatibilityIssue`
3319
+ # @return [Google::Apis::MigrationcenterV1alpha1::IssueCompatibilityIssue]
3320
+ attr_accessor :compatibility_issue
3321
+
3322
+ # Output only. English description of the issue.
3323
+ # Corresponds to the JSON property `description`
3324
+ # @return [String]
3325
+ attr_accessor :description
3326
+
3327
+ # Output only. Unique identifier for this issue type.
3328
+ # Corresponds to the JSON property `issueCode`
3329
+ # @return [String]
3330
+ attr_accessor :issue_code
3331
+
3332
+ def initialize(**args)
3333
+ update!(**args)
3334
+ end
3335
+
3336
+ # Update properties of this object
3337
+ def update!(**args)
3338
+ @compatibility_issue = args[:compatibility_issue] if args.key?(:compatibility_issue)
3339
+ @description = args[:description] if args.key?(:description)
3340
+ @issue_code = args[:issue_code] if args.key?(:issue_code)
3341
+ end
3342
+ end
3343
+
3344
+ # Details about a compatibility issue.
3345
+ class IssueCompatibilityIssue
3346
+ include Google::Apis::Core::Hashable
3347
+
3348
+ # Output only. Name of the object associated with this compatibility issue
3349
+ # relative to the relevant asset. Does not represent a fully qualified resource
3350
+ # name and is not intended for programmatic use.
3351
+ # Corresponds to the JSON property `associatedObject`
3352
+ # @return [String]
3353
+ attr_accessor :associated_object
3354
+
3355
+ # Output only. Type of object associated with this migration compatibility issue.
3356
+ # Corresponds to the JSON property `associatedObjectType`
3357
+ # @return [String]
3358
+ attr_accessor :associated_object_type
3359
+
3360
+ # Output only. A string representation of actual value associated with this
3361
+ # issue. Some values may contain aggregated information, such as a flag name and
3362
+ # the actual value assigned to it.
3363
+ # Corresponds to the JSON property `associatedValue`
3364
+ # @return [String]
3365
+ attr_accessor :associated_value
3366
+
3367
+ # Output only. Category of this compatibility issue.
3368
+ # Corresponds to the JSON property `category`
3369
+ # @return [String]
3370
+ attr_accessor :category
3371
+
3372
+ def initialize(**args)
3373
+ update!(**args)
3374
+ end
3375
+
3376
+ # Update properties of this object
3377
+ def update!(**args)
3378
+ @associated_object = args[:associated_object] if args.key?(:associated_object)
3379
+ @associated_object_type = args[:associated_object_type] if args.key?(:associated_object_type)
3380
+ @associated_value = args[:associated_value] if args.key?(:associated_value)
3381
+ @category = args[:category] if args.key?(:category)
3382
+ end
3383
+ end
3384
+
2468
3385
  # Response message for listing assets.
2469
3386
  class ListAssetsResponse
2470
3387
  include Google::Apis::Core::Hashable
@@ -2896,13 +3813,16 @@ module Google
2896
3813
  end
2897
3814
  end
2898
3815
 
2899
- # A Compute Engine machine series.
3816
+ # A machine series, for a target product (e.g. Compute Engine, Google Cloud
3817
+ # VMware Engine).
2900
3818
  class MachineSeries
2901
3819
  include Google::Apis::Core::Hashable
2902
3820
 
2903
- # Code to identify a Compute Engine machine series. Consult https://cloud.google.
2904
- # com/compute/docs/machine-resource#machine_type_comparison for more details on
2905
- # the available series.
3821
+ # Code to identify a machine series. Consult this for more details on the
3822
+ # available series for Compute Engine: https://cloud.google.com/compute/docs/
3823
+ # machine-resource#machine_type_comparison Consult this for more details on the
3824
+ # available series for Google Cloud VMware Engine: https://cloud.google.com/
3825
+ # vmware-engine/pricing
2906
3826
  # Corresponds to the JSON property `code`
2907
3827
  # @return [String]
2908
3828
  attr_accessor :code
@@ -2940,6 +3860,11 @@ module Google
2940
3860
  class MigrationInsight
2941
3861
  include Google::Apis::Core::Hashable
2942
3862
 
3863
+ # Cloud database migration target.
3864
+ # Corresponds to the JSON property `cloudDatabaseTarget`
3865
+ # @return [Google::Apis::MigrationcenterV1alpha1::CloudDatabaseMigrationTarget]
3866
+ attr_accessor :cloud_database_target
3867
+
2943
3868
  # Compute engine sole tenant migration target.
2944
3869
  # Corresponds to the JSON property `computeEngineSoleTenantTarget`
2945
3870
  # @return [Google::Apis::MigrationcenterV1alpha1::ComputeEngineSoleTenantMigrationTarget]
@@ -2960,6 +3885,11 @@ module Google
2960
3885
  # @return [Google::Apis::MigrationcenterV1alpha1::GoogleKubernetesEngineMigrationTarget]
2961
3886
  attr_accessor :gke_target
2962
3887
 
3888
+ # Output only. Issues associated with this migration.
3889
+ # Corresponds to the JSON property `issues`
3890
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::Issue>]
3891
+ attr_accessor :issues
3892
+
2963
3893
  # VMWare engine migration target.
2964
3894
  # Corresponds to the JSON property `vmwareEngineTarget`
2965
3895
  # @return [Google::Apis::MigrationcenterV1alpha1::VmwareEngineMigrationTarget]
@@ -2971,10 +3901,12 @@ module Google
2971
3901
 
2972
3902
  # Update properties of this object
2973
3903
  def update!(**args)
3904
+ @cloud_database_target = args[:cloud_database_target] if args.key?(:cloud_database_target)
2974
3905
  @compute_engine_sole_tenant_target = args[:compute_engine_sole_tenant_target] if args.key?(:compute_engine_sole_tenant_target)
2975
3906
  @compute_engine_target = args[:compute_engine_target] if args.key?(:compute_engine_target)
2976
3907
  @fit = args[:fit] if args.key?(:fit)
2977
3908
  @gke_target = args[:gke_target] if args.key?(:gke_target)
3909
+ @issues = args[:issues] if args.key?(:issues)
2978
3910
  @vmware_engine_target = args[:vmware_engine_target] if args.key?(:vmware_engine_target)
2979
3911
  end
2980
3912
  end
@@ -3015,6 +3947,57 @@ module Google
3015
3947
  end
3016
3948
  end
3017
3949
 
3950
+ # MySql plugin.
3951
+ class MySqlPlugin
3952
+ include Google::Apis::Core::Hashable
3953
+
3954
+ # Required. The plugin is active.
3955
+ # Corresponds to the JSON property `enabled`
3956
+ # @return [Boolean]
3957
+ attr_accessor :enabled
3958
+ alias_method :enabled?, :enabled
3959
+
3960
+ # Required. The plugin name.
3961
+ # Corresponds to the JSON property `plugin`
3962
+ # @return [String]
3963
+ attr_accessor :plugin
3964
+
3965
+ # Required. The plugin version.
3966
+ # Corresponds to the JSON property `version`
3967
+ # @return [String]
3968
+ attr_accessor :version
3969
+
3970
+ def initialize(**args)
3971
+ update!(**args)
3972
+ end
3973
+
3974
+ # Update properties of this object
3975
+ def update!(**args)
3976
+ @enabled = args[:enabled] if args.key?(:enabled)
3977
+ @plugin = args[:plugin] if args.key?(:plugin)
3978
+ @version = args[:version] if args.key?(:version)
3979
+ end
3980
+ end
3981
+
3982
+ # Specific details for a Mysql database deployment.
3983
+ class MysqlDatabaseDeployment
3984
+ include Google::Apis::Core::Hashable
3985
+
3986
+ # Optional. List of MySql plugins.
3987
+ # Corresponds to the JSON property `plugins`
3988
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::MySqlPlugin>]
3989
+ attr_accessor :plugins
3990
+
3991
+ def initialize(**args)
3992
+ update!(**args)
3993
+ end
3994
+
3995
+ # Update properties of this object
3996
+ def update!(**args)
3997
+ @plugins = args[:plugins] if args.key?(:plugins)
3998
+ end
3999
+ end
4000
+
3018
4001
  # Details of network adapter.
3019
4002
  class NetworkAdapterDetails
3020
4003
  include Google::Apis::Core::Hashable
@@ -3588,6 +4571,19 @@ module Google
3588
4571
  end
3589
4572
  end
3590
4573
 
4574
+ # Specific details for a PostgreSQL database deployment.
4575
+ class PostgreSqlDatabaseDeployment
4576
+ include Google::Apis::Core::Hashable
4577
+
4578
+ def initialize(**args)
4579
+ update!(**args)
4580
+ end
4581
+
4582
+ # Update properties of this object
4583
+ def update!(**args)
4584
+ end
4585
+ end
4586
+
3591
4587
  # The preferences that apply to all assets in a given context.
3592
4588
  class PreferenceSet
3593
4589
  include Google::Apis::Core::Hashable
@@ -3597,6 +4593,12 @@ module Google
3597
4593
  # @return [String]
3598
4594
  attr_accessor :create_time
3599
4595
 
4596
+ # DatabasePreferences enables you to create sets of preferences for your
4597
+ # migrated databases.
4598
+ # Corresponds to the JSON property `databasePreferences`
4599
+ # @return [Google::Apis::MigrationcenterV1alpha1::DatabasePreferences]
4600
+ attr_accessor :database_preferences
4601
+
3600
4602
  # A description of the preference set.
3601
4603
  # Corresponds to the JSON property `description`
3602
4604
  # @return [String]
@@ -3612,6 +4614,11 @@ module Google
3612
4614
  # @return [String]
3613
4615
  attr_accessor :name
3614
4616
 
4617
+ # The user preferences relating to target regions.
4618
+ # Corresponds to the JSON property `regionPreferences`
4619
+ # @return [Google::Apis::MigrationcenterV1alpha1::RegionPreferences]
4620
+ attr_accessor :region_preferences
4621
+
3615
4622
  # Output only. The timestamp when the preference set was last updated.
3616
4623
  # Corresponds to the JSON property `updateTime`
3617
4624
  # @return [String]
@@ -3632,9 +4639,11 @@ module Google
3632
4639
  # Update properties of this object
3633
4640
  def update!(**args)
3634
4641
  @create_time = args[:create_time] if args.key?(:create_time)
4642
+ @database_preferences = args[:database_preferences] if args.key?(:database_preferences)
3635
4643
  @description = args[:description] if args.key?(:description)
3636
4644
  @display_name = args[:display_name] if args.key?(:display_name)
3637
4645
  @name = args[:name] if args.key?(:name)
4646
+ @region_preferences = args[:region_preferences] if args.key?(:region_preferences)
3638
4647
  @update_time = args[:update_time] if args.key?(:update_time)
3639
4648
  @virtual_machine_preferences = args[:virtual_machine_preferences] if args.key?(:virtual_machine_preferences)
3640
4649
  end
@@ -3864,11 +4873,21 @@ module Google
3864
4873
  # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats]
3865
4874
  attr_accessor :all_assets_stats
3866
4875
 
4876
+ # Aggregate statistics for a collection of assets.
4877
+ # Corresponds to the JSON property `databaseStats`
4878
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats]
4879
+ attr_accessor :database_stats
4880
+
3867
4881
  # Findings for each Group included in this report.
3868
4882
  # Corresponds to the JSON property `groupFindings`
3869
4883
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::ReportSummaryGroupFinding>]
3870
4884
  attr_accessor :group_findings
3871
4885
 
4886
+ # Aggregate statistics for a collection of assets.
4887
+ # Corresponds to the JSON property `virtualMachineStats`
4888
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats]
4889
+ attr_accessor :virtual_machine_stats
4890
+
3872
4891
  def initialize(**args)
3873
4892
  update!(**args)
3874
4893
  end
@@ -3876,7 +4895,9 @@ module Google
3876
4895
  # Update properties of this object
3877
4896
  def update!(**args)
3878
4897
  @all_assets_stats = args[:all_assets_stats] if args.key?(:all_assets_stats)
4898
+ @database_stats = args[:database_stats] if args.key?(:database_stats)
3879
4899
  @group_findings = args[:group_findings] if args.key?(:group_findings)
4900
+ @virtual_machine_stats = args[:virtual_machine_stats] if args.key?(:virtual_machine_stats)
3880
4901
  end
3881
4902
  end
3882
4903
 
@@ -3895,6 +4916,11 @@ module Google
3895
4916
  # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData]
3896
4917
  attr_accessor :core_count_histogram
3897
4918
 
4919
+ # Describes a collection of data points rendered as a Chart.
4920
+ # Corresponds to the JSON property `databaseTypes`
4921
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData]
4922
+ attr_accessor :database_types
4923
+
3898
4924
  # A Histogram Chart shows a distribution of values into buckets, showing a count
3899
4925
  # of values which fall into a bucket.
3900
4926
  # Corresponds to the JSON property `memoryBytesHistogram`
@@ -3962,6 +4988,7 @@ module Google
3962
4988
  def update!(**args)
3963
4989
  @asset_age = args[:asset_age] if args.key?(:asset_age)
3964
4990
  @core_count_histogram = args[:core_count_histogram] if args.key?(:core_count_histogram)
4991
+ @database_types = args[:database_types] if args.key?(:database_types)
3965
4992
  @memory_bytes_histogram = args[:memory_bytes_histogram] if args.key?(:memory_bytes_histogram)
3966
4993
  @memory_utilization = args[:memory_utilization] if args.key?(:memory_utilization)
3967
4994
  @memory_utilization_chart = args[:memory_utilization_chart] if args.key?(:memory_utilization_chart)
@@ -4021,6 +5048,33 @@ module Google
4021
5048
  end
4022
5049
  end
4023
5050
 
5051
+ # DatabaseFinding contains an aggregate costs and shapes for a single database
5052
+ # type.
5053
+ class ReportSummaryDatabaseFinding
5054
+ include Google::Apis::Core::Hashable
5055
+
5056
+ # Output only. Number of database assets which were successfully assigned in
5057
+ # this finding.
5058
+ # Corresponds to the JSON property `allocatedAssetCount`
5059
+ # @return [Fixnum]
5060
+ attr_accessor :allocated_asset_count
5061
+
5062
+ # Output only. Number of database assets in this finding.
5063
+ # Corresponds to the JSON property `totalAssets`
5064
+ # @return [Fixnum]
5065
+ attr_accessor :total_assets
5066
+
5067
+ def initialize(**args)
5068
+ update!(**args)
5069
+ end
5070
+
5071
+ # Update properties of this object
5072
+ def update!(**args)
5073
+ @allocated_asset_count = args[:allocated_asset_count] if args.key?(:allocated_asset_count)
5074
+ @total_assets = args[:total_assets] if args.key?(:total_assets)
5075
+ end
5076
+ end
5077
+
4024
5078
  # Summary Findings for a specific Group.
4025
5079
  class ReportSummaryGroupFinding
4026
5080
  include Google::Apis::Core::Hashable
@@ -4030,6 +5084,17 @@ module Google
4030
5084
  # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats]
4031
5085
  attr_accessor :asset_aggregate_stats
4032
5086
 
5087
+ # Output only. Asset type for the group finding.
5088
+ # Corresponds to the JSON property `assetType`
5089
+ # @return [String]
5090
+ attr_accessor :asset_type
5091
+
5092
+ # Output only. Source asset database type for the group finding. Only present
5093
+ # for databases.
5094
+ # Corresponds to the JSON property `databaseType`
5095
+ # @return [String]
5096
+ attr_accessor :database_type
5097
+
4033
5098
  # Description for this group finding.
4034
5099
  # Corresponds to the JSON property `description`
4035
5100
  # @return [String]
@@ -4040,6 +5105,11 @@ module Google
4040
5105
  # @return [String]
4041
5106
  attr_accessor :display_name
4042
5107
 
5108
+ # Output only. Full name of the group.
5109
+ # Corresponds to the JSON property `group`
5110
+ # @return [String]
5111
+ attr_accessor :group
5112
+
4043
5113
  # This field is deprecated, do not rely on it having a value.
4044
5114
  # Corresponds to the JSON property `overlappingAssetCount`
4045
5115
  # @return [Fixnum]
@@ -4057,8 +5127,11 @@ module Google
4057
5127
  # Update properties of this object
4058
5128
  def update!(**args)
4059
5129
  @asset_aggregate_stats = args[:asset_aggregate_stats] if args.key?(:asset_aggregate_stats)
5130
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
5131
+ @database_type = args[:database_type] if args.key?(:database_type)
4060
5132
  @description = args[:description] if args.key?(:description)
4061
5133
  @display_name = args[:display_name] if args.key?(:display_name)
5134
+ @group = args[:group] if args.key?(:group)
4062
5135
  @overlapping_asset_count = args[:overlapping_asset_count] if args.key?(:overlapping_asset_count)
4063
5136
  @preference_set_findings = args[:preference_set_findings] if args.key?(:preference_set_findings)
4064
5137
  end
@@ -4068,6 +5141,12 @@ module Google
4068
5141
  class ReportSummaryGroupPreferenceSetFinding
4069
5142
  include Google::Apis::Core::Hashable
4070
5143
 
5144
+ # DatabaseFinding contains an aggregate costs and shapes for a single database
5145
+ # type.
5146
+ # Corresponds to the JSON property `databaseFinding`
5147
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryDatabaseFinding]
5148
+ attr_accessor :database_finding
5149
+
4071
5150
  # Description for the Preference Set.
4072
5151
  # Corresponds to the JSON property `description`
4073
5152
  # @return [String]
@@ -4096,6 +5175,16 @@ module Google
4096
5175
  # @return [Google::Apis::MigrationcenterV1alpha1::Money]
4097
5176
  attr_accessor :monthly_cost_compute
4098
5177
 
5178
+ # Represents an amount of money with its currency type.
5179
+ # Corresponds to the JSON property `monthlyCostDatabaseBackup`
5180
+ # @return [Google::Apis::MigrationcenterV1alpha1::Money]
5181
+ attr_accessor :monthly_cost_database_backup
5182
+
5183
+ # Represents an amount of money with its currency type.
5184
+ # Corresponds to the JSON property `monthlyCostDatabaseLicensing`
5185
+ # @return [Google::Apis::MigrationcenterV1alpha1::Money]
5186
+ attr_accessor :monthly_cost_database_licensing
5187
+
4099
5188
  # Represents an amount of money with its currency type.
4100
5189
  # Corresponds to the JSON property `monthlyCostNetworkEgress`
4101
5190
  # @return [Google::Apis::MigrationcenterV1alpha1::Money]
@@ -4121,6 +5210,11 @@ module Google
4121
5210
  # @return [Google::Apis::MigrationcenterV1alpha1::Money]
4122
5211
  attr_accessor :monthly_cost_total
4123
5212
 
5213
+ # The preferences that apply to all assets in a given context.
5214
+ # Corresponds to the JSON property `preferenceSet`
5215
+ # @return [Google::Apis::MigrationcenterV1alpha1::PreferenceSet]
5216
+ attr_accessor :preference_set
5217
+
4124
5218
  # Target region for this Preference Set
4125
5219
  # Corresponds to the JSON property `preferredRegion`
4126
5220
  # @return [String]
@@ -4152,16 +5246,20 @@ module Google
4152
5246
 
4153
5247
  # Update properties of this object
4154
5248
  def update!(**args)
5249
+ @database_finding = args[:database_finding] if args.key?(:database_finding)
4155
5250
  @description = args[:description] if args.key?(:description)
4156
5251
  @display_name = args[:display_name] if args.key?(:display_name)
4157
5252
  @machine_finding = args[:machine_finding] if args.key?(:machine_finding)
4158
5253
  @machine_preferences = args[:machine_preferences] if args.key?(:machine_preferences)
4159
5254
  @monthly_cost_compute = args[:monthly_cost_compute] if args.key?(:monthly_cost_compute)
5255
+ @monthly_cost_database_backup = args[:monthly_cost_database_backup] if args.key?(:monthly_cost_database_backup)
5256
+ @monthly_cost_database_licensing = args[:monthly_cost_database_licensing] if args.key?(:monthly_cost_database_licensing)
4160
5257
  @monthly_cost_network_egress = args[:monthly_cost_network_egress] if args.key?(:monthly_cost_network_egress)
4161
5258
  @monthly_cost_os_license = args[:monthly_cost_os_license] if args.key?(:monthly_cost_os_license)
4162
5259
  @monthly_cost_other = args[:monthly_cost_other] if args.key?(:monthly_cost_other)
4163
5260
  @monthly_cost_storage = args[:monthly_cost_storage] if args.key?(:monthly_cost_storage)
4164
5261
  @monthly_cost_total = args[:monthly_cost_total] if args.key?(:monthly_cost_total)
5262
+ @preference_set = args[:preference_set] if args.key?(:preference_set)
4165
5263
  @preferred_region = args[:preferred_region] if args.key?(:preferred_region)
4166
5264
  @pricing_track = args[:pricing_track] if args.key?(:pricing_track)
4167
5265
  @sole_tenant_finding = args[:sole_tenant_finding] if args.key?(:sole_tenant_finding)
@@ -4274,7 +5372,8 @@ module Google
4274
5372
  # @return [Fixnum]
4275
5373
  attr_accessor :allocated_asset_count
4276
5374
 
4277
- # A Compute Engine machine series.
5375
+ # A machine series, for a target product (e.g. Compute Engine, Google Cloud
5376
+ # VMware Engine).
4278
5377
  # Corresponds to the JSON property `machineSeries`
4279
5378
  # @return [Google::Apis::MigrationcenterV1alpha1::MachineSeries]
4280
5379
  attr_accessor :machine_series
@@ -4915,6 +6014,121 @@ module Google
4915
6014
  end
4916
6015
  end
4917
6016
 
6017
+ # Specific details for a Microsoft SQL Server database deployment.
6018
+ class SqlServerDatabaseDeployment
6019
+ include Google::Apis::Core::Hashable
6020
+
6021
+ # Optional. List of SQL Server features.
6022
+ # Corresponds to the JSON property `features`
6023
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::SqlServerFeature>]
6024
+ attr_accessor :features
6025
+
6026
+ # Optional. List of SQL Server server flags.
6027
+ # Corresponds to the JSON property `serverFlags`
6028
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::SqlServerServerFlag>]
6029
+ attr_accessor :server_flags
6030
+
6031
+ # Optional. List of SQL Server trace flags.
6032
+ # Corresponds to the JSON property `traceFlags`
6033
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::SqlServerTraceFlag>]
6034
+ attr_accessor :trace_flags
6035
+
6036
+ def initialize(**args)
6037
+ update!(**args)
6038
+ end
6039
+
6040
+ # Update properties of this object
6041
+ def update!(**args)
6042
+ @features = args[:features] if args.key?(:features)
6043
+ @server_flags = args[:server_flags] if args.key?(:server_flags)
6044
+ @trace_flags = args[:trace_flags] if args.key?(:trace_flags)
6045
+ end
6046
+ end
6047
+
6048
+ # SQL Server feature details.
6049
+ class SqlServerFeature
6050
+ include Google::Apis::Core::Hashable
6051
+
6052
+ # Required. Field enabled is set when a feature is used on the source deployment.
6053
+ # Corresponds to the JSON property `enabled`
6054
+ # @return [Boolean]
6055
+ attr_accessor :enabled
6056
+ alias_method :enabled?, :enabled
6057
+
6058
+ # Required. The feature name.
6059
+ # Corresponds to the JSON property `featureName`
6060
+ # @return [String]
6061
+ attr_accessor :feature_name
6062
+
6063
+ def initialize(**args)
6064
+ update!(**args)
6065
+ end
6066
+
6067
+ # Update properties of this object
6068
+ def update!(**args)
6069
+ @enabled = args[:enabled] if args.key?(:enabled)
6070
+ @feature_name = args[:feature_name] if args.key?(:feature_name)
6071
+ end
6072
+ end
6073
+
6074
+ # SQL Server server flag details.
6075
+ class SqlServerServerFlag
6076
+ include Google::Apis::Core::Hashable
6077
+
6078
+ # Required. The server flag name.
6079
+ # Corresponds to the JSON property `serverFlagName`
6080
+ # @return [String]
6081
+ attr_accessor :server_flag_name
6082
+
6083
+ # Required. The server flag value set by the user.
6084
+ # Corresponds to the JSON property `value`
6085
+ # @return [String]
6086
+ attr_accessor :value
6087
+
6088
+ # Required. The server flag actual value. If `value_in_use` is different from `
6089
+ # value` it means that either the configuration change was not applied or it is
6090
+ # an expected behavior. See SQL Server documentation for more details.
6091
+ # Corresponds to the JSON property `valueInUse`
6092
+ # @return [String]
6093
+ attr_accessor :value_in_use
6094
+
6095
+ def initialize(**args)
6096
+ update!(**args)
6097
+ end
6098
+
6099
+ # Update properties of this object
6100
+ def update!(**args)
6101
+ @server_flag_name = args[:server_flag_name] if args.key?(:server_flag_name)
6102
+ @value = args[:value] if args.key?(:value)
6103
+ @value_in_use = args[:value_in_use] if args.key?(:value_in_use)
6104
+ end
6105
+ end
6106
+
6107
+ # SQL Server trace flag details.
6108
+ class SqlServerTraceFlag
6109
+ include Google::Apis::Core::Hashable
6110
+
6111
+ # Required. The trace flag scope.
6112
+ # Corresponds to the JSON property `scope`
6113
+ # @return [String]
6114
+ attr_accessor :scope
6115
+
6116
+ # Required. The trace flag name.
6117
+ # Corresponds to the JSON property `traceFlagName`
6118
+ # @return [String]
6119
+ attr_accessor :trace_flag_name
6120
+
6121
+ def initialize(**args)
6122
+ update!(**args)
6123
+ end
6124
+
6125
+ # Update properties of this object
6126
+ def update!(**args)
6127
+ @scope = args[:scope] if args.key?(:scope)
6128
+ @trace_flag_name = args[:trace_flag_name] if args.key?(:trace_flag_name)
6129
+ end
6130
+ end
6131
+
4918
6132
  # The `Status` type defines a logical error model that is suitable for different
4919
6133
  # programming environments, including REST APIs and RPC APIs. It is used by [
4920
6134
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of