google-apis-migrationcenter_v1alpha1 0.33.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +423 -29
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +188 -14
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +75 -2
- metadata +4 -4
@@ -617,6 +617,11 @@ module Google
|
|
617
617
|
# @return [String]
|
618
618
|
attr_accessor :create_time
|
619
619
|
|
620
|
+
# Configuration for asset inventory details exports.
|
621
|
+
# Corresponds to the JSON property `inventory`
|
622
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobInventory]
|
623
|
+
attr_accessor :inventory
|
624
|
+
|
620
625
|
# Optional. Labels as key value pairs. Labels must meet the following
|
621
626
|
# constraints: * Keys and values can contain only lowercase letters, numeric
|
622
627
|
# characters, underscores, and dashes. * All characters must use UTF-8 encoding,
|
@@ -638,11 +643,23 @@ module Google
|
|
638
643
|
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies]
|
639
644
|
attr_accessor :network_dependencies
|
640
645
|
|
646
|
+
# Configuration for performance data exports.
|
647
|
+
# Corresponds to the JSON property `performanceData`
|
648
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobPerformanceData]
|
649
|
+
attr_accessor :performance_data
|
650
|
+
|
641
651
|
# Output only. Recent non expired executions of the job.
|
642
652
|
# Corresponds to the JSON property `recentExecutions`
|
643
653
|
# @return [Array<Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution>]
|
644
654
|
attr_accessor :recent_executions
|
645
655
|
|
656
|
+
# Optional. When this value is set to 'true' the response will include all
|
657
|
+
# assets, including those that are hidden.
|
658
|
+
# Corresponds to the JSON property `showHidden`
|
659
|
+
# @return [Boolean]
|
660
|
+
attr_accessor :show_hidden
|
661
|
+
alias_method :show_hidden?, :show_hidden
|
662
|
+
|
646
663
|
# Signed URI destination configuration.
|
647
664
|
# Corresponds to the JSON property `signedUriDestination`
|
648
665
|
# @return [Google::Apis::MigrationcenterV1alpha1::SignedUriDestination]
|
@@ -661,10 +678,13 @@ module Google
|
|
661
678
|
def update!(**args)
|
662
679
|
@condition = args[:condition] if args.key?(:condition)
|
663
680
|
@create_time = args[:create_time] if args.key?(:create_time)
|
681
|
+
@inventory = args[:inventory] if args.key?(:inventory)
|
664
682
|
@labels = args[:labels] if args.key?(:labels)
|
665
683
|
@name = args[:name] if args.key?(:name)
|
666
684
|
@network_dependencies = args[:network_dependencies] if args.key?(:network_dependencies)
|
685
|
+
@performance_data = args[:performance_data] if args.key?(:performance_data)
|
667
686
|
@recent_executions = args[:recent_executions] if args.key?(:recent_executions)
|
687
|
+
@show_hidden = args[:show_hidden] if args.key?(:show_hidden)
|
668
688
|
@signed_uri_destination = args[:signed_uri_destination] if args.key?(:signed_uri_destination)
|
669
689
|
@update_time = args[:update_time] if args.key?(:update_time)
|
670
690
|
end
|
@@ -689,6 +709,12 @@ module Google
|
|
689
709
|
# @return [String]
|
690
710
|
attr_accessor :expire_time
|
691
711
|
|
712
|
+
# Output only. Number of assets requested for export after resolving the
|
713
|
+
# requested filters.
|
714
|
+
# Corresponds to the JSON property `requestedAssetCount`
|
715
|
+
# @return [Fixnum]
|
716
|
+
attr_accessor :requested_asset_count
|
717
|
+
|
692
718
|
# Contains the result of the assets export.
|
693
719
|
# Corresponds to the JSON property `result`
|
694
720
|
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult]
|
@@ -708,6 +734,7 @@ module Google
|
|
708
734
|
@end_time = args[:end_time] if args.key?(:end_time)
|
709
735
|
@execution_id = args[:execution_id] if args.key?(:execution_id)
|
710
736
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
737
|
+
@requested_asset_count = args[:requested_asset_count] if args.key?(:requested_asset_count)
|
711
738
|
@result = args[:result] if args.key?(:result)
|
712
739
|
@start_time = args[:start_time] if args.key?(:start_time)
|
713
740
|
end
|
@@ -727,6 +754,11 @@ module Google
|
|
727
754
|
# @return [Google::Apis::MigrationcenterV1alpha1::Status]
|
728
755
|
attr_accessor :error
|
729
756
|
|
757
|
+
# Contains a list of output files.
|
758
|
+
# Corresponds to the JSON property `outputFiles`
|
759
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::OutputFileList]
|
760
|
+
attr_accessor :output_files
|
761
|
+
|
730
762
|
# Contains a list of Signed URIs.
|
731
763
|
# Corresponds to the JSON property `signedUris`
|
732
764
|
# @return [Google::Apis::MigrationcenterV1alpha1::SignedUris]
|
@@ -739,6 +771,7 @@ module Google
|
|
739
771
|
# Update properties of this object
|
740
772
|
def update!(**args)
|
741
773
|
@error = args[:error] if args.key?(:error)
|
774
|
+
@output_files = args[:output_files] if args.key?(:output_files)
|
742
775
|
@signed_uris = args[:signed_uris] if args.key?(:signed_uris)
|
743
776
|
end
|
744
777
|
end
|
@@ -762,6 +795,19 @@ module Google
|
|
762
795
|
end
|
763
796
|
end
|
764
797
|
|
798
|
+
# Configuration for asset inventory details exports.
|
799
|
+
class AssetsExportJobInventory
|
800
|
+
include Google::Apis::Core::Hashable
|
801
|
+
|
802
|
+
def initialize(**args)
|
803
|
+
update!(**args)
|
804
|
+
end
|
805
|
+
|
806
|
+
# Update properties of this object
|
807
|
+
def update!(**args)
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
765
811
|
# Configuration for network dependencies exports.
|
766
812
|
class AssetsExportJobNetworkDependencies
|
767
813
|
include Google::Apis::Core::Hashable
|
@@ -783,10 +829,38 @@ module Google
|
|
783
829
|
end
|
784
830
|
end
|
785
831
|
|
832
|
+
# Configuration for performance data exports.
|
833
|
+
class AssetsExportJobPerformanceData
|
834
|
+
include Google::Apis::Core::Hashable
|
835
|
+
|
836
|
+
# Optional. When this value is set to a positive integer, performance data will
|
837
|
+
# be returned for the most recent days for which data is available. When this
|
838
|
+
# value is unset (or set to zero), all available data is returned. The maximum
|
839
|
+
# value is 420; values above 420 will be coerced to 420. If unset (0 value) a
|
840
|
+
# default value of 40 will be used.
|
841
|
+
# Corresponds to the JSON property `maxDays`
|
842
|
+
# @return [Fixnum]
|
843
|
+
attr_accessor :max_days
|
844
|
+
|
845
|
+
def initialize(**args)
|
846
|
+
update!(**args)
|
847
|
+
end
|
848
|
+
|
849
|
+
# Update properties of this object
|
850
|
+
def update!(**args)
|
851
|
+
@max_days = args[:max_days] if args.key?(:max_days)
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
786
855
|
# AWS EC2 specific details.
|
787
856
|
class AwsEc2PlatformDetails
|
788
857
|
include Google::Apis::Core::Hashable
|
789
858
|
|
859
|
+
# Optional. Whether the machine is hyperthreaded.
|
860
|
+
# Corresponds to the JSON property `hyperthreading`
|
861
|
+
# @return [String]
|
862
|
+
attr_accessor :hyperthreading
|
863
|
+
|
790
864
|
# The location of the machine in the AWS format.
|
791
865
|
# Corresponds to the JSON property `location`
|
792
866
|
# @return [String]
|
@@ -803,6 +877,7 @@ module Google
|
|
803
877
|
|
804
878
|
# Update properties of this object
|
805
879
|
def update!(**args)
|
880
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
806
881
|
@location = args[:location] if args.key?(:location)
|
807
882
|
@machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label)
|
808
883
|
end
|
@@ -812,6 +887,11 @@ module Google
|
|
812
887
|
class AzureVmPlatformDetails
|
813
888
|
include Google::Apis::Core::Hashable
|
814
889
|
|
890
|
+
# Whether the machine is hyperthreaded.
|
891
|
+
# Corresponds to the JSON property `hyperthreading`
|
892
|
+
# @return [String]
|
893
|
+
attr_accessor :hyperthreading
|
894
|
+
|
815
895
|
# The location of the machine in the Azure format.
|
816
896
|
# Corresponds to the JSON property `location`
|
817
897
|
# @return [String]
|
@@ -833,6 +913,7 @@ module Google
|
|
833
913
|
|
834
914
|
# Update properties of this object
|
835
915
|
def update!(**args)
|
916
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
836
917
|
@location = args[:location] if args.key?(:location)
|
837
918
|
@machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label)
|
838
919
|
@provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
|
@@ -851,6 +932,11 @@ module Google
|
|
851
932
|
attr_accessor :allow_missing
|
852
933
|
alias_method :allow_missing?, :allow_missing
|
853
934
|
|
935
|
+
# Optional. Optional cascading rules for deleting related assets.
|
936
|
+
# Corresponds to the JSON property `cascadingRules`
|
937
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::CascadingRule>]
|
938
|
+
attr_accessor :cascading_rules
|
939
|
+
|
854
940
|
# Required. The IDs of the assets to delete. A maximum of 1000 assets can be
|
855
941
|
# deleted in a batch. Format: projects/`project`/locations/`location`/assets/`
|
856
942
|
# name`.
|
@@ -865,6 +951,7 @@ module Google
|
|
865
951
|
# Update properties of this object
|
866
952
|
def update!(**args)
|
867
953
|
@allow_missing = args[:allow_missing] if args.key?(:allow_missing)
|
954
|
+
@cascading_rules = args[:cascading_rules] if args.key?(:cascading_rules)
|
868
955
|
@names = args[:names] if args.key?(:names)
|
869
956
|
end
|
870
957
|
end
|
@@ -965,6 +1052,38 @@ module Google
|
|
965
1052
|
end
|
966
1053
|
end
|
967
1054
|
|
1055
|
+
# Cascading rule for related logical DBs.
|
1056
|
+
class CascadeLogicalDBsRule
|
1057
|
+
include Google::Apis::Core::Hashable
|
1058
|
+
|
1059
|
+
def initialize(**args)
|
1060
|
+
update!(**args)
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# Update properties of this object
|
1064
|
+
def update!(**args)
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Specifies cascading rules for traversing relations.
|
1069
|
+
class CascadingRule
|
1070
|
+
include Google::Apis::Core::Hashable
|
1071
|
+
|
1072
|
+
# Cascading rule for related logical DBs.
|
1073
|
+
# Corresponds to the JSON property `cascadeLogicalDbs`
|
1074
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::CascadeLogicalDBsRule]
|
1075
|
+
attr_accessor :cascade_logical_dbs
|
1076
|
+
|
1077
|
+
def initialize(**args)
|
1078
|
+
update!(**args)
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
# Update properties of this object
|
1082
|
+
def update!(**args)
|
1083
|
+
@cascade_logical_dbs = args[:cascade_logical_dbs] if args.key?(:cascade_logical_dbs)
|
1084
|
+
end
|
1085
|
+
end
|
1086
|
+
|
968
1087
|
# Cloud database migration target.
|
969
1088
|
class CloudDatabaseMigrationTarget
|
970
1089
|
include Google::Apis::Core::Hashable
|
@@ -974,7 +1093,7 @@ module Google
|
|
974
1093
|
# @return [Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape]
|
975
1094
|
attr_accessor :cloud_sql_for_mysql_shape
|
976
1095
|
|
977
|
-
# Cloud SQL for
|
1096
|
+
# Cloud SQL for PostgreSQL database shape.
|
978
1097
|
# Corresponds to the JSON property `cloudSqlForPostgresqlShape`
|
979
1098
|
# @return [Google::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape]
|
980
1099
|
attr_accessor :cloud_sql_for_postgresql_shape
|
@@ -1057,7 +1176,7 @@ module Google
|
|
1057
1176
|
end
|
1058
1177
|
end
|
1059
1178
|
|
1060
|
-
# Cloud SQL for
|
1179
|
+
# Cloud SQL for PostgreSQL database shape.
|
1061
1180
|
class CloudSqlForPostgreSqlShape
|
1062
1181
|
include Google::Apis::Core::Hashable
|
1063
1182
|
|
@@ -1335,7 +1454,7 @@ module Google
|
|
1335
1454
|
# @return [Fixnum]
|
1336
1455
|
attr_accessor :size_gb
|
1337
1456
|
|
1338
|
-
# Disk type backing the storage.
|
1457
|
+
# Output only. Disk type backing the storage.
|
1339
1458
|
# Corresponds to the JSON property `type`
|
1340
1459
|
# @return [String]
|
1341
1460
|
attr_accessor :type
|
@@ -1371,6 +1490,37 @@ module Google
|
|
1371
1490
|
end
|
1372
1491
|
end
|
1373
1492
|
|
1493
|
+
# Contains a single output file of type CSV.
|
1494
|
+
class CsvOutputFile
|
1495
|
+
include Google::Apis::Core::Hashable
|
1496
|
+
|
1497
|
+
# Output only. Number of columns in the file.
|
1498
|
+
# Corresponds to the JSON property `columnsCount`
|
1499
|
+
# @return [Fixnum]
|
1500
|
+
attr_accessor :columns_count
|
1501
|
+
|
1502
|
+
# Output only. Number of rows in the file.
|
1503
|
+
# Corresponds to the JSON property `rowCount`
|
1504
|
+
# @return [Fixnum]
|
1505
|
+
attr_accessor :row_count
|
1506
|
+
|
1507
|
+
# Contains a signed URI.
|
1508
|
+
# Corresponds to the JSON property `signedUri`
|
1509
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::SignedUri]
|
1510
|
+
attr_accessor :signed_uri
|
1511
|
+
|
1512
|
+
def initialize(**args)
|
1513
|
+
update!(**args)
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# Update properties of this object
|
1517
|
+
def update!(**args)
|
1518
|
+
@columns_count = args[:columns_count] if args.key?(:columns_count)
|
1519
|
+
@row_count = args[:row_count] if args.key?(:row_count)
|
1520
|
+
@signed_uri = args[:signed_uri] if args.key?(:signed_uri)
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1374
1524
|
# Usage data aggregation for a single day.
|
1375
1525
|
class DailyResourceUsageAggregation
|
1376
1526
|
include Google::Apis::Core::Hashable
|
@@ -1677,6 +1827,16 @@ module Google
|
|
1677
1827
|
# @return [Fixnum]
|
1678
1828
|
attr_accessor :memory_limit_bytes
|
1679
1829
|
|
1830
|
+
# Optional. Number of total physical cores.
|
1831
|
+
# Corresponds to the JSON property `physicalCoreCount`
|
1832
|
+
# @return [Fixnum]
|
1833
|
+
attr_accessor :physical_core_count
|
1834
|
+
|
1835
|
+
# Optional. Number of total physical cores limited by db deployment.
|
1836
|
+
# Corresponds to the JSON property `physicalCoreLimit`
|
1837
|
+
# @return [Fixnum]
|
1838
|
+
attr_accessor :physical_core_limit
|
1839
|
+
|
1680
1840
|
def initialize(**args)
|
1681
1841
|
update!(**args)
|
1682
1842
|
end
|
@@ -1690,6 +1850,8 @@ module Google
|
|
1690
1850
|
@instances = args[:instances] if args.key?(:instances)
|
1691
1851
|
@memory_bytes = args[:memory_bytes] if args.key?(:memory_bytes)
|
1692
1852
|
@memory_limit_bytes = args[:memory_limit_bytes] if args.key?(:memory_limit_bytes)
|
1853
|
+
@physical_core_count = args[:physical_core_count] if args.key?(:physical_core_count)
|
1854
|
+
@physical_core_limit = args[:physical_core_limit] if args.key?(:physical_core_limit)
|
1693
1855
|
end
|
1694
1856
|
end
|
1695
1857
|
|
@@ -1764,6 +1926,11 @@ module Google
|
|
1764
1926
|
# @return [String]
|
1765
1927
|
attr_accessor :instance_name
|
1766
1928
|
|
1929
|
+
# Network details of a database instance.
|
1930
|
+
# Corresponds to the JSON property `network`
|
1931
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::DatabaseInstanceNetwork]
|
1932
|
+
attr_accessor :network
|
1933
|
+
|
1767
1934
|
# The instance role in the database engine.
|
1768
1935
|
# Corresponds to the JSON property `role`
|
1769
1936
|
# @return [String]
|
@@ -1776,10 +1943,42 @@ module Google
|
|
1776
1943
|
# Update properties of this object
|
1777
1944
|
def update!(**args)
|
1778
1945
|
@instance_name = args[:instance_name] if args.key?(:instance_name)
|
1946
|
+
@network = args[:network] if args.key?(:network)
|
1779
1947
|
@role = args[:role] if args.key?(:role)
|
1780
1948
|
end
|
1781
1949
|
end
|
1782
1950
|
|
1951
|
+
# Network details of a database instance.
|
1952
|
+
class DatabaseInstanceNetwork
|
1953
|
+
include Google::Apis::Core::Hashable
|
1954
|
+
|
1955
|
+
# Optional. The instance's host names.
|
1956
|
+
# Corresponds to the JSON property `hostNames`
|
1957
|
+
# @return [Array<String>]
|
1958
|
+
attr_accessor :host_names
|
1959
|
+
|
1960
|
+
# Optional. The instance's IP addresses.
|
1961
|
+
# Corresponds to the JSON property `ipAddresses`
|
1962
|
+
# @return [Array<String>]
|
1963
|
+
attr_accessor :ip_addresses
|
1964
|
+
|
1965
|
+
# Optional. The instance's primary MAC address.
|
1966
|
+
# Corresponds to the JSON property `primaryMacAddress`
|
1967
|
+
# @return [String]
|
1968
|
+
attr_accessor :primary_mac_address
|
1969
|
+
|
1970
|
+
def initialize(**args)
|
1971
|
+
update!(**args)
|
1972
|
+
end
|
1973
|
+
|
1974
|
+
# Update properties of this object
|
1975
|
+
def update!(**args)
|
1976
|
+
@host_names = args[:host_names] if args.key?(:host_names)
|
1977
|
+
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
1978
|
+
@primary_mac_address = args[:primary_mac_address] if args.key?(:primary_mac_address)
|
1979
|
+
end
|
1980
|
+
end
|
1981
|
+
|
1783
1982
|
# Details of a group of database objects.
|
1784
1983
|
class DatabaseObjects
|
1785
1984
|
include Google::Apis::Core::Hashable
|
@@ -1852,7 +2051,7 @@ module Google
|
|
1852
2051
|
# @return [String]
|
1853
2052
|
attr_accessor :commitment_plan
|
1854
2053
|
|
1855
|
-
# Optional. Cloud SQL edition.
|
2054
|
+
# Optional. Preferred Cloud SQL edition.
|
1856
2055
|
# Corresponds to the JSON property `edition`
|
1857
2056
|
# @return [String]
|
1858
2057
|
attr_accessor :edition
|
@@ -1898,7 +2097,7 @@ module Google
|
|
1898
2097
|
class DatabasePreferencesCloudSqlCommonBackup
|
1899
2098
|
include Google::Apis::Core::Hashable
|
1900
2099
|
|
1901
|
-
# Optional.
|
2100
|
+
# Optional. Automated backup mode.
|
1902
2101
|
# Corresponds to the JSON property `backupMode`
|
1903
2102
|
# @return [String]
|
1904
2103
|
attr_accessor :backup_mode
|
@@ -2623,7 +2822,7 @@ module Google
|
|
2623
2822
|
class FitDescriptor
|
2624
2823
|
include Google::Apis::Core::Hashable
|
2625
2824
|
|
2626
|
-
# Fit level.
|
2825
|
+
# Output only. Fit level.
|
2627
2826
|
# Corresponds to the JSON property `fitLevel`
|
2628
2827
|
# @return [String]
|
2629
2828
|
attr_accessor :fit_level
|
@@ -2818,6 +3017,11 @@ module Google
|
|
2818
3017
|
class GenericPlatformDetails
|
2819
3018
|
include Google::Apis::Core::Hashable
|
2820
3019
|
|
3020
|
+
# Whether the machine is hyperthreaded.
|
3021
|
+
# Corresponds to the JSON property `hyperthreading`
|
3022
|
+
# @return [String]
|
3023
|
+
attr_accessor :hyperthreading
|
3024
|
+
|
2821
3025
|
# Free text representation of the machine location. The format of this field
|
2822
3026
|
# should not be relied on. Different VMs in the same location may have different
|
2823
3027
|
# string values for this field.
|
@@ -2831,6 +3035,7 @@ module Google
|
|
2831
3035
|
|
2832
3036
|
# Update properties of this object
|
2833
3037
|
def update!(**args)
|
3038
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
2834
3039
|
@location = args[:location] if args.key?(:location)
|
2835
3040
|
end
|
2836
3041
|
end
|
@@ -3132,7 +3337,7 @@ module Google
|
|
3132
3337
|
class HostsEntryList
|
3133
3338
|
include Google::Apis::Core::Hashable
|
3134
3339
|
|
3135
|
-
# Hosts entries.
|
3340
|
+
# Output only. Hosts entries.
|
3136
3341
|
# Corresponds to the JSON property `entries`
|
3137
3342
|
# @return [Array<Google::Apis::MigrationcenterV1alpha1::HostsEntry>]
|
3138
3343
|
attr_accessor :entries
|
@@ -3330,11 +3535,6 @@ module Google
|
|
3330
3535
|
# @return [Array<Google::Apis::MigrationcenterV1alpha1::ImportError>]
|
3331
3536
|
attr_accessor :errors
|
3332
3537
|
|
3333
|
-
# Error details for a JSON file.
|
3334
|
-
# Corresponds to the JSON property `jsonError`
|
3335
|
-
# @return [Google::Apis::MigrationcenterV1alpha1::ImportRowErrorJsonErrorDetails]
|
3336
|
-
attr_accessor :json_error
|
3337
|
-
|
3338
3538
|
# The row number where the error was detected.
|
3339
3539
|
# Corresponds to the JSON property `rowNumber`
|
3340
3540
|
# @return [Fixnum]
|
@@ -3365,7 +3565,6 @@ module Google
|
|
3365
3565
|
@asset_title = args[:asset_title] if args.key?(:asset_title)
|
3366
3566
|
@csv_error = args[:csv_error] if args.key?(:csv_error)
|
3367
3567
|
@errors = args[:errors] if args.key?(:errors)
|
3368
|
-
@json_error = args[:json_error] if args.key?(:json_error)
|
3369
3568
|
@row_number = args[:row_number] if args.key?(:row_number)
|
3370
3569
|
@vm_name = args[:vm_name] if args.key?(:vm_name)
|
3371
3570
|
@vm_uuid = args[:vm_uuid] if args.key?(:vm_uuid)
|
@@ -3417,19 +3616,6 @@ module Google
|
|
3417
3616
|
end
|
3418
3617
|
end
|
3419
3618
|
|
3420
|
-
# Error details for a JSON file.
|
3421
|
-
class ImportRowErrorJsonErrorDetails
|
3422
|
-
include Google::Apis::Core::Hashable
|
3423
|
-
|
3424
|
-
def initialize(**args)
|
3425
|
-
update!(**args)
|
3426
|
-
end
|
3427
|
-
|
3428
|
-
# Update properties of this object
|
3429
|
-
def update!(**args)
|
3430
|
-
end
|
3431
|
-
end
|
3432
|
-
|
3433
3619
|
# Error details for an XLSX file.
|
3434
3620
|
class ImportRowErrorXlsxErrorDetails
|
3435
3621
|
include Google::Apis::Core::Hashable
|
@@ -3902,6 +4088,31 @@ module Google
|
|
3902
4088
|
end
|
3903
4089
|
end
|
3904
4090
|
|
4091
|
+
# Response message for listing relations.
|
4092
|
+
class ListRelationsResponse
|
4093
|
+
include Google::Apis::Core::Hashable
|
4094
|
+
|
4095
|
+
# A token identifying a page of results the server should return.
|
4096
|
+
# Corresponds to the JSON property `nextPageToken`
|
4097
|
+
# @return [String]
|
4098
|
+
attr_accessor :next_page_token
|
4099
|
+
|
4100
|
+
# A list of relations.
|
4101
|
+
# Corresponds to the JSON property `relations`
|
4102
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::Relation>]
|
4103
|
+
attr_accessor :relations
|
4104
|
+
|
4105
|
+
def initialize(**args)
|
4106
|
+
update!(**args)
|
4107
|
+
end
|
4108
|
+
|
4109
|
+
# Update properties of this object
|
4110
|
+
def update!(**args)
|
4111
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4112
|
+
@relations = args[:relations] if args.key?(:relations)
|
4113
|
+
end
|
4114
|
+
end
|
4115
|
+
|
3905
4116
|
# Response message for listing report configs.
|
3906
4117
|
class ListReportConfigsResponse
|
3907
4118
|
include Google::Apis::Core::Hashable
|
@@ -4883,6 +5094,50 @@ module Google
|
|
4883
5094
|
end
|
4884
5095
|
end
|
4885
5096
|
|
5097
|
+
# Contains a single output file.
|
5098
|
+
class OutputFile
|
5099
|
+
include Google::Apis::Core::Hashable
|
5100
|
+
|
5101
|
+
# Contains a single output file of type CSV.
|
5102
|
+
# Corresponds to the JSON property `csvOutputFile`
|
5103
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::CsvOutputFile]
|
5104
|
+
attr_accessor :csv_output_file
|
5105
|
+
|
5106
|
+
# Output only. File size in bytes.
|
5107
|
+
# Corresponds to the JSON property `fileSizeBytes`
|
5108
|
+
# @return [Fixnum]
|
5109
|
+
attr_accessor :file_size_bytes
|
5110
|
+
|
5111
|
+
def initialize(**args)
|
5112
|
+
update!(**args)
|
5113
|
+
end
|
5114
|
+
|
5115
|
+
# Update properties of this object
|
5116
|
+
def update!(**args)
|
5117
|
+
@csv_output_file = args[:csv_output_file] if args.key?(:csv_output_file)
|
5118
|
+
@file_size_bytes = args[:file_size_bytes] if args.key?(:file_size_bytes)
|
5119
|
+
end
|
5120
|
+
end
|
5121
|
+
|
5122
|
+
# Contains a list of output files.
|
5123
|
+
class OutputFileList
|
5124
|
+
include Google::Apis::Core::Hashable
|
5125
|
+
|
5126
|
+
# List of output files.
|
5127
|
+
# Corresponds to the JSON property `entries`
|
5128
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::OutputFile>]
|
5129
|
+
attr_accessor :entries
|
5130
|
+
|
5131
|
+
def initialize(**args)
|
5132
|
+
update!(**args)
|
5133
|
+
end
|
5134
|
+
|
5135
|
+
# Update properties of this object
|
5136
|
+
def update!(**args)
|
5137
|
+
@entries = args[:entries] if args.key?(:entries)
|
5138
|
+
end
|
5139
|
+
end
|
5140
|
+
|
4886
5141
|
# Payload file for inline import job payload.
|
4887
5142
|
class PayloadFile
|
4888
5143
|
include Google::Apis::Core::Hashable
|
@@ -4956,6 +5211,11 @@ module Google
|
|
4956
5211
|
class PhysicalPlatformDetails
|
4957
5212
|
include Google::Apis::Core::Hashable
|
4958
5213
|
|
5214
|
+
# Whether the machine is hyperthreaded.
|
5215
|
+
# Corresponds to the JSON property `hyperthreading`
|
5216
|
+
# @return [String]
|
5217
|
+
attr_accessor :hyperthreading
|
5218
|
+
|
4959
5219
|
# Free text representation of the machine location. The format of this field
|
4960
5220
|
# should not be relied on. Different machines in the same location may have
|
4961
5221
|
# different string values for this field.
|
@@ -4969,6 +5229,7 @@ module Google
|
|
4969
5229
|
|
4970
5230
|
# Update properties of this object
|
4971
5231
|
def update!(**args)
|
5232
|
+
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
4972
5233
|
@location = args[:location] if args.key?(:location)
|
4973
5234
|
end
|
4974
5235
|
end
|
@@ -5266,6 +5527,49 @@ module Google
|
|
5266
5527
|
end
|
5267
5528
|
end
|
5268
5529
|
|
5530
|
+
# Message representing a relation between 2 resource.
|
5531
|
+
class Relation
|
5532
|
+
include Google::Apis::Core::Hashable
|
5533
|
+
|
5534
|
+
# Output only. The timestamp when the relation was created.
|
5535
|
+
# Corresponds to the JSON property `createTime`
|
5536
|
+
# @return [String]
|
5537
|
+
attr_accessor :create_time
|
5538
|
+
|
5539
|
+
# Output only. The destination asset name in the relation.
|
5540
|
+
# Corresponds to the JSON property `dstAsset`
|
5541
|
+
# @return [String]
|
5542
|
+
attr_accessor :dst_asset
|
5543
|
+
|
5544
|
+
# Output only. Identifier. The identifier of the relation.
|
5545
|
+
# Corresponds to the JSON property `name`
|
5546
|
+
# @return [String]
|
5547
|
+
attr_accessor :name
|
5548
|
+
|
5549
|
+
# Output only. The source asset name in the relation.
|
5550
|
+
# Corresponds to the JSON property `srcAsset`
|
5551
|
+
# @return [String]
|
5552
|
+
attr_accessor :src_asset
|
5553
|
+
|
5554
|
+
# Optional. The type of the relation.
|
5555
|
+
# Corresponds to the JSON property `type`
|
5556
|
+
# @return [String]
|
5557
|
+
attr_accessor :type
|
5558
|
+
|
5559
|
+
def initialize(**args)
|
5560
|
+
update!(**args)
|
5561
|
+
end
|
5562
|
+
|
5563
|
+
# Update properties of this object
|
5564
|
+
def update!(**args)
|
5565
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5566
|
+
@dst_asset = args[:dst_asset] if args.key?(:dst_asset)
|
5567
|
+
@name = args[:name] if args.key?(:name)
|
5568
|
+
@src_asset = args[:src_asset] if args.key?(:src_asset)
|
5569
|
+
@type = args[:type] if args.key?(:type)
|
5570
|
+
end
|
5571
|
+
end
|
5572
|
+
|
5269
5573
|
# A request to remove assets from a group.
|
5270
5574
|
class RemoveAssetsFromGroupRequest
|
5271
5575
|
include Google::Apis::Core::Hashable
|
@@ -5781,6 +6085,11 @@ module Google
|
|
5781
6085
|
# @return [Google::Apis::MigrationcenterV1alpha1::Money]
|
5782
6086
|
attr_accessor :monthly_cost_database_licensing
|
5783
6087
|
|
6088
|
+
# Represents an amount of money with its currency type.
|
6089
|
+
# Corresponds to the JSON property `monthlyCostGcveProtected`
|
6090
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Money]
|
6091
|
+
attr_accessor :monthly_cost_gcve_protected
|
6092
|
+
|
5784
6093
|
# Represents an amount of money with its currency type.
|
5785
6094
|
# Corresponds to the JSON property `monthlyCostNetworkEgress`
|
5786
6095
|
# @return [Google::Apis::MigrationcenterV1alpha1::Money]
|
@@ -5796,6 +6105,11 @@ module Google
|
|
5796
6105
|
# @return [Google::Apis::MigrationcenterV1alpha1::Money]
|
5797
6106
|
attr_accessor :monthly_cost_other
|
5798
6107
|
|
6108
|
+
# Represents an amount of money with its currency type.
|
6109
|
+
# Corresponds to the JSON property `monthlyCostPortableVmwareLicense`
|
6110
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::Money]
|
6111
|
+
attr_accessor :monthly_cost_portable_vmware_license
|
6112
|
+
|
5799
6113
|
# Represents an amount of money with its currency type.
|
5800
6114
|
# Corresponds to the JSON property `monthlyCostStorage`
|
5801
6115
|
# @return [Google::Apis::MigrationcenterV1alpha1::Money]
|
@@ -5850,9 +6164,11 @@ module Google
|
|
5850
6164
|
@monthly_cost_compute = args[:monthly_cost_compute] if args.key?(:monthly_cost_compute)
|
5851
6165
|
@monthly_cost_database_backup = args[:monthly_cost_database_backup] if args.key?(:monthly_cost_database_backup)
|
5852
6166
|
@monthly_cost_database_licensing = args[:monthly_cost_database_licensing] if args.key?(:monthly_cost_database_licensing)
|
6167
|
+
@monthly_cost_gcve_protected = args[:monthly_cost_gcve_protected] if args.key?(:monthly_cost_gcve_protected)
|
5853
6168
|
@monthly_cost_network_egress = args[:monthly_cost_network_egress] if args.key?(:monthly_cost_network_egress)
|
5854
6169
|
@monthly_cost_os_license = args[:monthly_cost_os_license] if args.key?(:monthly_cost_os_license)
|
5855
6170
|
@monthly_cost_other = args[:monthly_cost_other] if args.key?(:monthly_cost_other)
|
6171
|
+
@monthly_cost_portable_vmware_license = args[:monthly_cost_portable_vmware_license] if args.key?(:monthly_cost_portable_vmware_license)
|
5856
6172
|
@monthly_cost_storage = args[:monthly_cost_storage] if args.key?(:monthly_cost_storage)
|
5857
6173
|
@monthly_cost_total = args[:monthly_cost_total] if args.key?(:monthly_cost_total)
|
5858
6174
|
@preference_set = args[:preference_set] if args.key?(:preference_set)
|
@@ -6466,6 +6782,13 @@ module Google
|
|
6466
6782
|
class Settings
|
6467
6783
|
include Google::Apis::Core::Hashable
|
6468
6784
|
|
6785
|
+
# Customer consent for Google sales to access their Cloud Migration Center
|
6786
|
+
# project.
|
6787
|
+
# Corresponds to the JSON property `customerConsentForGoogleSalesToAccessMigrationCenter`
|
6788
|
+
# @return [Boolean]
|
6789
|
+
attr_accessor :customer_consent_for_google_sales_to_access_migration_center
|
6790
|
+
alias_method :customer_consent_for_google_sales_to_access_migration_center?, :customer_consent_for_google_sales_to_access_migration_center
|
6791
|
+
|
6469
6792
|
# Disable Cloud Logging for the Migration Center API. Users are billed for the
|
6470
6793
|
# logs.
|
6471
6794
|
# Corresponds to the JSON property `disableCloudLogging`
|
@@ -6489,6 +6812,7 @@ module Google
|
|
6489
6812
|
|
6490
6813
|
# Update properties of this object
|
6491
6814
|
def update!(**args)
|
6815
|
+
@customer_consent_for_google_sales_to_access_migration_center = args[:customer_consent_for_google_sales_to_access_migration_center] if args.key?(:customer_consent_for_google_sales_to_access_migration_center)
|
6492
6816
|
@disable_cloud_logging = args[:disable_cloud_logging] if args.key?(:disable_cloud_logging)
|
6493
6817
|
@name = args[:name] if args.key?(:name)
|
6494
6818
|
@preference_set = args[:preference_set] if args.key?(:preference_set)
|
@@ -6781,12 +7105,18 @@ module Google
|
|
6781
7105
|
class SqlServerSchemaDetails
|
6782
7106
|
include Google::Apis::Core::Hashable
|
6783
7107
|
|
7108
|
+
# Optional. SqlServer number of CLR objects.
|
7109
|
+
# Corresponds to the JSON property `clrObjectCount`
|
7110
|
+
# @return [Fixnum]
|
7111
|
+
attr_accessor :clr_object_count
|
7112
|
+
|
6784
7113
|
def initialize(**args)
|
6785
7114
|
update!(**args)
|
6786
7115
|
end
|
6787
7116
|
|
6788
7117
|
# Update properties of this object
|
6789
7118
|
def update!(**args)
|
7119
|
+
@clr_object_count = args[:clr_object_count] if args.key?(:clr_object_count)
|
6790
7120
|
end
|
6791
7121
|
end
|
6792
7122
|
|
@@ -6892,12 +7222,12 @@ module Google
|
|
6892
7222
|
class TimeZone
|
6893
7223
|
include Google::Apis::Core::Hashable
|
6894
7224
|
|
6895
|
-
# IANA Time Zone Database time zone
|
7225
|
+
# IANA Time Zone Database time zone. For example "America/New_York".
|
6896
7226
|
# Corresponds to the JSON property `id`
|
6897
7227
|
# @return [String]
|
6898
7228
|
attr_accessor :id
|
6899
7229
|
|
6900
|
-
# Optional. IANA Time Zone Database version number
|
7230
|
+
# Optional. IANA Time Zone Database version number. For example "2019a".
|
6901
7231
|
# Corresponds to the JSON property `version`
|
6902
7232
|
# @return [String]
|
6903
7233
|
attr_accessor :version
|
@@ -6989,6 +7319,41 @@ module Google
|
|
6989
7319
|
end
|
6990
7320
|
end
|
6991
7321
|
|
7322
|
+
# The type of machines to consider when calculating virtual machine migration
|
7323
|
+
# insights and recommendations for VMware Engine. Not all machine types are
|
7324
|
+
# available in all zones and regions.
|
7325
|
+
class VMwareEngineMachinePreferences
|
7326
|
+
include Google::Apis::Core::Hashable
|
7327
|
+
|
7328
|
+
# Optional. VMware Engine on Google Cloud machine series to consider for
|
7329
|
+
# insights and recommendations. If empty, no restriction is applied on the
|
7330
|
+
# machine series.
|
7331
|
+
# Corresponds to the JSON property `allowedMachineSeries`
|
7332
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::MachineSeries>]
|
7333
|
+
attr_accessor :allowed_machine_series
|
7334
|
+
|
7335
|
+
# Optional. Whether to use VMware Engine Protected offering.
|
7336
|
+
# Corresponds to the JSON property `protectedNodes`
|
7337
|
+
# @return [String]
|
7338
|
+
attr_accessor :protected_nodes
|
7339
|
+
|
7340
|
+
# Optional. Whether to use storage-only nodes, if those are available.
|
7341
|
+
# Corresponds to the JSON property `storageOnlyNodes`
|
7342
|
+
# @return [String]
|
7343
|
+
attr_accessor :storage_only_nodes
|
7344
|
+
|
7345
|
+
def initialize(**args)
|
7346
|
+
update!(**args)
|
7347
|
+
end
|
7348
|
+
|
7349
|
+
# Update properties of this object
|
7350
|
+
def update!(**args)
|
7351
|
+
@allowed_machine_series = args[:allowed_machine_series] if args.key?(:allowed_machine_series)
|
7352
|
+
@protected_nodes = args[:protected_nodes] if args.key?(:protected_nodes)
|
7353
|
+
@storage_only_nodes = args[:storage_only_nodes] if args.key?(:storage_only_nodes)
|
7354
|
+
end
|
7355
|
+
end
|
7356
|
+
|
6992
7357
|
# A request to validate an import job.
|
6993
7358
|
class ValidateImportJobRequest
|
6994
7359
|
include Google::Apis::Core::Hashable
|
@@ -7071,7 +7436,8 @@ module Google
|
|
7071
7436
|
# @return [Fixnum]
|
7072
7437
|
attr_accessor :cpu_socket_count
|
7073
7438
|
|
7074
|
-
#
|
7439
|
+
# Deprecated: use VirtualMachineDetails.core_count instead. Number of CPU
|
7440
|
+
# threads allocated to the machine.
|
7075
7441
|
# Corresponds to the JSON property `cpuThreadCount`
|
7076
7442
|
# @return [Fixnum]
|
7077
7443
|
attr_accessor :cpu_thread_count
|
@@ -7510,11 +7876,30 @@ module Google
|
|
7510
7876
|
# @return [Float]
|
7511
7877
|
attr_accessor :cpu_overcommit_ratio
|
7512
7878
|
|
7879
|
+
# Optional. Discount percentage for the license type offered to you by Broadcom.
|
7880
|
+
# Must be between 0 and 100. Only valid when service_type is set to
|
7881
|
+
# SERVICE_TYPE_PORTABLE_LICENSE.
|
7882
|
+
# Corresponds to the JSON property `licenseDiscountPercentage`
|
7883
|
+
# @return [Float]
|
7884
|
+
attr_accessor :license_discount_percentage
|
7885
|
+
|
7886
|
+
# The type of machines to consider when calculating virtual machine migration
|
7887
|
+
# insights and recommendations for VMware Engine. Not all machine types are
|
7888
|
+
# available in all zones and regions.
|
7889
|
+
# Corresponds to the JSON property `machinePreferences`
|
7890
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::VMwareEngineMachinePreferences]
|
7891
|
+
attr_accessor :machine_preferences
|
7892
|
+
|
7513
7893
|
# Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
|
7514
7894
|
# Corresponds to the JSON property `memoryOvercommitRatio`
|
7515
7895
|
# @return [Float]
|
7516
7896
|
attr_accessor :memory_overcommit_ratio
|
7517
7897
|
|
7898
|
+
# Optional. VMWare Service Type (Fully Licensed or Portable License).
|
7899
|
+
# Corresponds to the JSON property `serviceType`
|
7900
|
+
# @return [String]
|
7901
|
+
attr_accessor :service_type
|
7902
|
+
|
7518
7903
|
# The Deduplication and Compression ratio is based on the logical (Used Before)
|
7519
7904
|
# space required to store data before applying deduplication and compression, in
|
7520
7905
|
# relation to the physical (Used After) space required after applying
|
@@ -7534,7 +7919,10 @@ module Google
|
|
7534
7919
|
def update!(**args)
|
7535
7920
|
@commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
|
7536
7921
|
@cpu_overcommit_ratio = args[:cpu_overcommit_ratio] if args.key?(:cpu_overcommit_ratio)
|
7922
|
+
@license_discount_percentage = args[:license_discount_percentage] if args.key?(:license_discount_percentage)
|
7923
|
+
@machine_preferences = args[:machine_preferences] if args.key?(:machine_preferences)
|
7537
7924
|
@memory_overcommit_ratio = args[:memory_overcommit_ratio] if args.key?(:memory_overcommit_ratio)
|
7925
|
+
@service_type = args[:service_type] if args.key?(:service_type)
|
7538
7926
|
@storage_deduplication_compression_ratio = args[:storage_deduplication_compression_ratio] if args.key?(:storage_deduplication_compression_ratio)
|
7539
7927
|
end
|
7540
7928
|
end
|
@@ -7543,6 +7931,11 @@ module Google
|
|
7543
7931
|
class VmwarePlatformDetails
|
7544
7932
|
include Google::Apis::Core::Hashable
|
7545
7933
|
|
7934
|
+
# Whether the ESX is hyperthreaded.
|
7935
|
+
# Corresponds to the JSON property `esxHyperthreading`
|
7936
|
+
# @return [String]
|
7937
|
+
attr_accessor :esx_hyperthreading
|
7938
|
+
|
7546
7939
|
# ESX version.
|
7547
7940
|
# Corresponds to the JSON property `esxVersion`
|
7548
7941
|
# @return [String]
|
@@ -7566,6 +7959,7 @@ module Google
|
|
7566
7959
|
|
7567
7960
|
# Update properties of this object
|
7568
7961
|
def update!(**args)
|
7962
|
+
@esx_hyperthreading = args[:esx_hyperthreading] if args.key?(:esx_hyperthreading)
|
7569
7963
|
@esx_version = args[:esx_version] if args.key?(:esx_version)
|
7570
7964
|
@osid = args[:osid] if args.key?(:osid)
|
7571
7965
|
@vcenter_version = args[:vcenter_version] if args.key?(:vcenter_version)
|