google-apis-migrationcenter_v1alpha1 0.2.0 → 0.3.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 +4 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +685 -0
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +306 -0
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +345 -0
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MigrationcenterV1alpha1
|
18
18
|
# Version of the google-apis-migrationcenter_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230324"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -466,6 +466,18 @@ module Google
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
467
467
|
end
|
468
468
|
|
469
|
+
class ListReportConfigsResponse
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class ListReportsResponse
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
469
481
|
class ListSourcesResponse
|
470
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
483
|
|
@@ -502,6 +514,12 @@ module Google
|
|
502
514
|
include Google::Apis::Core::JsonObjectSupport
|
503
515
|
end
|
504
516
|
|
517
|
+
class Money
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
505
523
|
class NetworkAdapterDetails
|
506
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
525
|
|
@@ -622,12 +640,96 @@ module Google
|
|
622
640
|
include Google::Apis::Core::JsonObjectSupport
|
623
641
|
end
|
624
642
|
|
643
|
+
class Report
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
625
649
|
class ReportAssetFramesResponse
|
626
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
651
|
|
628
652
|
include Google::Apis::Core::JsonObjectSupport
|
629
653
|
end
|
630
654
|
|
655
|
+
class ReportConfig
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
661
|
+
class ReportConfigGroupPreferenceSetAssignment
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
667
|
+
class ReportSummary
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
|
+
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
671
|
+
end
|
672
|
+
|
673
|
+
class ReportSummaryAssetAggregateStats
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
679
|
+
class ReportSummaryChartData
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
685
|
+
class ReportSummaryChartDataDataPoint
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
691
|
+
class ReportSummaryGroupFinding
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
697
|
+
class ReportSummaryGroupPreferenceSetFinding
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
703
|
+
class ReportSummaryHistogramChartData
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
709
|
+
class ReportSummaryHistogramChartDataBucket
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
715
|
+
class ReportSummaryMachineFinding
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
721
|
+
class ReportSummaryMachineSeriesAllocation
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
727
|
+
class ReportSummaryUtilizationChartData
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
631
733
|
class RunImportJobRequest
|
632
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
735
|
|
@@ -1493,6 +1595,26 @@ module Google
|
|
1493
1595
|
end
|
1494
1596
|
end
|
1495
1597
|
|
1598
|
+
class ListReportConfigsResponse
|
1599
|
+
# @private
|
1600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1601
|
+
property :next_page_token, as: 'nextPageToken'
|
1602
|
+
collection :report_configs, as: 'reportConfigs', class: Google::Apis::MigrationcenterV1alpha1::ReportConfig, decorator: Google::Apis::MigrationcenterV1alpha1::ReportConfig::Representation
|
1603
|
+
|
1604
|
+
collection :unreachable, as: 'unreachable'
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
class ListReportsResponse
|
1609
|
+
# @private
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1611
|
+
property :next_page_token, as: 'nextPageToken'
|
1612
|
+
collection :reports, as: 'reports', class: Google::Apis::MigrationcenterV1alpha1::Report, decorator: Google::Apis::MigrationcenterV1alpha1::Report::Representation
|
1613
|
+
|
1614
|
+
collection :unreachable, as: 'unreachable'
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
|
1496
1618
|
class ListSourcesResponse
|
1497
1619
|
# @private
|
1498
1620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1550,6 +1672,15 @@ module Google
|
|
1550
1672
|
end
|
1551
1673
|
end
|
1552
1674
|
|
1675
|
+
class Money
|
1676
|
+
# @private
|
1677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
+
property :currency_code, as: 'currencyCode'
|
1679
|
+
property :nanos, as: 'nanos'
|
1680
|
+
property :units, :numeric_string => true, as: 'units'
|
1681
|
+
end
|
1682
|
+
end
|
1683
|
+
|
1553
1684
|
class NetworkAdapterDetails
|
1554
1685
|
# @private
|
1555
1686
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1752,12 +1883,187 @@ module Google
|
|
1752
1883
|
end
|
1753
1884
|
end
|
1754
1885
|
|
1886
|
+
class Report
|
1887
|
+
# @private
|
1888
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1889
|
+
property :create_time, as: 'createTime'
|
1890
|
+
property :description, as: 'description'
|
1891
|
+
property :display_name, as: 'displayName'
|
1892
|
+
property :name, as: 'name'
|
1893
|
+
property :state, as: 'state'
|
1894
|
+
property :summary, as: 'summary', class: Google::Apis::MigrationcenterV1alpha1::ReportSummary, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummary::Representation
|
1895
|
+
|
1896
|
+
property :type, as: 'type'
|
1897
|
+
property :update_time, as: 'updateTime'
|
1898
|
+
end
|
1899
|
+
end
|
1900
|
+
|
1755
1901
|
class ReportAssetFramesResponse
|
1756
1902
|
# @private
|
1757
1903
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1758
1904
|
end
|
1759
1905
|
end
|
1760
1906
|
|
1907
|
+
class ReportConfig
|
1908
|
+
# @private
|
1909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1910
|
+
property :create_time, as: 'createTime'
|
1911
|
+
property :description, as: 'description'
|
1912
|
+
property :display_name, as: 'displayName'
|
1913
|
+
collection :group_preferenceset_assignments, as: 'groupPreferencesetAssignments', class: Google::Apis::MigrationcenterV1alpha1::ReportConfigGroupPreferenceSetAssignment, decorator: Google::Apis::MigrationcenterV1alpha1::ReportConfigGroupPreferenceSetAssignment::Representation
|
1914
|
+
|
1915
|
+
property :name, as: 'name'
|
1916
|
+
property :update_time, as: 'updateTime'
|
1917
|
+
end
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
class ReportConfigGroupPreferenceSetAssignment
|
1921
|
+
# @private
|
1922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1923
|
+
property :group, as: 'group'
|
1924
|
+
property :preference_set, as: 'preferenceSet'
|
1925
|
+
end
|
1926
|
+
end
|
1927
|
+
|
1928
|
+
class ReportSummary
|
1929
|
+
# @private
|
1930
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1931
|
+
property :all_assets_stats, as: 'allAssetsStats', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats::Representation
|
1932
|
+
|
1933
|
+
collection :group_findings, as: 'groupFindings', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryGroupFinding, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryGroupFinding::Representation
|
1934
|
+
|
1935
|
+
end
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
class ReportSummaryAssetAggregateStats
|
1939
|
+
# @private
|
1940
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1941
|
+
property :asset_age, as: 'assetAge', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
1942
|
+
|
1943
|
+
property :core_count_histogram, as: 'coreCountHistogram', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData::Representation
|
1944
|
+
|
1945
|
+
property :memory_bytes_histogram, as: 'memoryBytesHistogram', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData::Representation
|
1946
|
+
|
1947
|
+
property :memory_utilization, as: 'memoryUtilization', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
1948
|
+
|
1949
|
+
property :memory_utilization_chart, as: 'memoryUtilizationChart', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryUtilizationChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryUtilizationChartData::Representation
|
1950
|
+
|
1951
|
+
property :operating_system, as: 'operatingSystem', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
1952
|
+
|
1953
|
+
property :storage_bytes_histogram, as: 'storageBytesHistogram', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData::Representation
|
1954
|
+
|
1955
|
+
property :storage_utilization, as: 'storageUtilization', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
1956
|
+
|
1957
|
+
property :storage_utilization_chart, as: 'storageUtilizationChart', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryUtilizationChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryUtilizationChartData::Representation
|
1958
|
+
|
1959
|
+
property :total_assets, :numeric_string => true, as: 'totalAssets'
|
1960
|
+
property :total_cores, :numeric_string => true, as: 'totalCores'
|
1961
|
+
property :total_memory_bytes, :numeric_string => true, as: 'totalMemoryBytes'
|
1962
|
+
property :total_storage_bytes, :numeric_string => true, as: 'totalStorageBytes'
|
1963
|
+
end
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
class ReportSummaryChartData
|
1967
|
+
# @private
|
1968
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1969
|
+
collection :data_points, as: 'dataPoints', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartDataDataPoint, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartDataDataPoint::Representation
|
1970
|
+
|
1971
|
+
end
|
1972
|
+
end
|
1973
|
+
|
1974
|
+
class ReportSummaryChartDataDataPoint
|
1975
|
+
# @private
|
1976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1977
|
+
property :label, as: 'label'
|
1978
|
+
property :value, as: 'value'
|
1979
|
+
end
|
1980
|
+
end
|
1981
|
+
|
1982
|
+
class ReportSummaryGroupFinding
|
1983
|
+
# @private
|
1984
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1985
|
+
property :asset_aggregate_stats, as: 'assetAggregateStats', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryAssetAggregateStats::Representation
|
1986
|
+
|
1987
|
+
property :description, as: 'description'
|
1988
|
+
property :display_name, as: 'displayName'
|
1989
|
+
property :overlapping_asset_count, :numeric_string => true, as: 'overlappingAssetCount'
|
1990
|
+
collection :preference_set_findings, as: 'preferenceSetFindings', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryGroupPreferenceSetFinding, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryGroupPreferenceSetFinding::Representation
|
1991
|
+
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
class ReportSummaryGroupPreferenceSetFinding
|
1996
|
+
# @private
|
1997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1998
|
+
property :description, as: 'description'
|
1999
|
+
property :display_name, as: 'displayName'
|
2000
|
+
property :machine_finding, as: 'machineFinding', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineFinding, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineFinding::Representation
|
2001
|
+
|
2002
|
+
property :machine_preferences, as: 'machinePreferences', class: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferences, decorator: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferences::Representation
|
2003
|
+
|
2004
|
+
property :monthly_cost_compute, as: 'monthlyCostCompute', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
|
2005
|
+
|
2006
|
+
property :monthly_cost_network_egress, as: 'monthlyCostNetworkEgress', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
|
2007
|
+
|
2008
|
+
property :monthly_cost_os_license, as: 'monthlyCostOsLicense', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
|
2009
|
+
|
2010
|
+
property :monthly_cost_other, as: 'monthlyCostOther', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
|
2011
|
+
|
2012
|
+
property :monthly_cost_storage, as: 'monthlyCostStorage', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
|
2013
|
+
|
2014
|
+
property :monthly_cost_total, as: 'monthlyCostTotal', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
|
2015
|
+
|
2016
|
+
property :preferred_region, as: 'preferredRegion'
|
2017
|
+
property :pricing_track, as: 'pricingTrack'
|
2018
|
+
property :top_priority, as: 'topPriority'
|
2019
|
+
end
|
2020
|
+
end
|
2021
|
+
|
2022
|
+
class ReportSummaryHistogramChartData
|
2023
|
+
# @private
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2025
|
+
collection :buckets, as: 'buckets', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartDataBucket, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartDataBucket::Representation
|
2026
|
+
|
2027
|
+
end
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
class ReportSummaryHistogramChartDataBucket
|
2031
|
+
# @private
|
2032
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2033
|
+
property :count, :numeric_string => true, as: 'count'
|
2034
|
+
property :lower_bound, :numeric_string => true, as: 'lowerBound'
|
2035
|
+
property :upper_bound, :numeric_string => true, as: 'upperBound'
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
|
2039
|
+
class ReportSummaryMachineFinding
|
2040
|
+
# @private
|
2041
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2042
|
+
property :allocated_asset_count, :numeric_string => true, as: 'allocatedAssetCount'
|
2043
|
+
collection :allocated_disk_types, as: 'allocatedDiskTypes'
|
2044
|
+
collection :allocated_regions, as: 'allocatedRegions'
|
2045
|
+
collection :machine_series_allocations, as: 'machineSeriesAllocations', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineSeriesAllocation, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryMachineSeriesAllocation::Representation
|
2046
|
+
|
2047
|
+
end
|
2048
|
+
end
|
2049
|
+
|
2050
|
+
class ReportSummaryMachineSeriesAllocation
|
2051
|
+
# @private
|
2052
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2053
|
+
property :allocated_asset_count, :numeric_string => true, as: 'allocatedAssetCount'
|
2054
|
+
property :machine_series, as: 'machineSeries', class: Google::Apis::MigrationcenterV1alpha1::MachineSeries, decorator: Google::Apis::MigrationcenterV1alpha1::MachineSeries::Representation
|
2055
|
+
|
2056
|
+
end
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
class ReportSummaryUtilizationChartData
|
2060
|
+
# @private
|
2061
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2062
|
+
property :free, :numeric_string => true, as: 'free'
|
2063
|
+
property :used, :numeric_string => true, as: 'used'
|
2064
|
+
end
|
2065
|
+
end
|
2066
|
+
|
1761
2067
|
class RunImportJobRequest
|
1762
2068
|
# @private
|
1763
2069
|
class Representation < Google::Apis::Core::JsonRepresentation
|