google-apis-migrationcenter_v1alpha1 0.30.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e898a85a659254b1b3cf4ee5f3ce0c573093da5fe9ae5de1c8f43406152989fa
4
- data.tar.gz: 6cab870fb265160e8b26e44776c515acda232da4821025f7a12e315f866ac2a7
3
+ metadata.gz: 83fab98df673a425a73b9595fdd1f158a2c3817394e246960ce4682b050ade4c
4
+ data.tar.gz: 1862a026f390e0cd85ae16c76e6f53de30fb3d7ef416e0431ec9ca5f6cc65e0b
5
5
  SHA512:
6
- metadata.gz: 004f2b95689768164a3f9e7d568bc6c989472d2fb65f754e0e375ba293c7e4e9e007b0983b5be07663e8a7e481a81fd718646fb666742a791d05de2a6e156b50
7
- data.tar.gz: b992df51245bb2738692fd35de19bfb73c58cab2f59ee654656f2242ffde3440a1cadc965aaee32d25cbef1de9efa7dbfc02310c7bb55d04aab872c3e65ce742
6
+ metadata.gz: 4aacdba8a42f659202b2f4fa861accd3ce4f2ad21d19020af7734576d8dc563d2659d000b7bb3fcc6f6f6b4cc71ec6c902b90010018a202e6621ba5bfce197cd
7
+ data.tar.gz: 595c0608f4471b122df2a85bd8f97a0e37bc365b928759ee66f1a23e1721f79d19d0beae4c4deb9d0529f3229f407d8c4492645883fb6300bc064b081170d9d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-migrationcenter_v1alpha1
2
2
 
3
+ ### v0.32.0 (2024-06-26)
4
+
5
+ * Regenerated from discovery document revision 20240620
6
+
7
+ ### v0.31.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240606
10
+
3
11
  ### v0.30.0 (2024-06-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20240523
@@ -1148,6 +1148,13 @@ module Google
1148
1148
  # @return [Fixnum]
1149
1149
  attr_accessor :memory_mb
1150
1150
 
1151
+ # Output only. Whether simultaneous multithreading is enabled (see https://cloud.
1152
+ # google.com/sql/docs/sqlserver/create-instance#smt-create-instance).
1153
+ # Corresponds to the JSON property `smtEnabled`
1154
+ # @return [Boolean]
1155
+ attr_accessor :smt_enabled
1156
+ alias_method :smt_enabled?, :smt_enabled
1157
+
1151
1158
  # Compute Engine storage option descriptor.
1152
1159
  # Corresponds to the JSON property `storage`
1153
1160
  # @return [Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor]
@@ -1175,6 +1182,7 @@ module Google
1175
1182
  @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month)
1176
1183
  @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count)
1177
1184
  @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
1185
+ @smt_enabled = args[:smt_enabled] if args.key?(:smt_enabled)
1178
1186
  @storage = args[:storage] if args.key?(:storage)
1179
1187
  @version = args[:version] if args.key?(:version)
1180
1188
  @zone_availability = args[:zone_availability] if args.key?(:zone_availability)
@@ -1204,21 +1212,30 @@ module Google
1204
1212
  class ComputeEnginePreferences
1205
1213
  include Google::Apis::Core::Hashable
1206
1214
 
1207
- # If os_pricing_preferences is specified, it overrides this field. License type
1208
- # to consider when calculating costs for virtual machine insights and
1209
- # recommendations. If unspecified, costs are calculated based on the default
1210
- # licensing plan.
1215
+ # License type to consider when calculating costs for operating systems. If
1216
+ # unspecified, costs are calculated based on the default licensing plan. If
1217
+ # os_pricing_preferences is specified, it overrides this field.
1211
1218
  # Corresponds to the JSON property `licenseType`
1212
1219
  # @return [String]
1213
1220
  attr_accessor :license_type
1214
1221
 
1215
1222
  # The type of machines to consider when calculating virtual machine migration
1216
- # insights and recommendations. Not all machine types are available in all zones
1217
- # and regions.
1223
+ # insights and recommendations for GCE. Not all machine types are available in
1224
+ # all zones and regions.
1218
1225
  # Corresponds to the JSON property `machinePreferences`
1219
1226
  # @return [Google::Apis::MigrationcenterV1alpha1::MachinePreferences]
1220
1227
  attr_accessor :machine_preferences
1221
1228
 
1229
+ # Optional. Preferences for multithreading support.
1230
+ # Corresponds to the JSON property `multithreading`
1231
+ # @return [String]
1232
+ attr_accessor :multithreading
1233
+
1234
+ # Pricing options for OS images.
1235
+ # Corresponds to the JSON property `osPricingPreferences`
1236
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences]
1237
+ attr_accessor :os_pricing_preferences
1238
+
1222
1239
  # Persistent disk type to use. If unspecified (default), all types are
1223
1240
  # considered, based on available usage data.
1224
1241
  # Corresponds to the JSON property `persistentDiskType`
@@ -1233,6 +1250,8 @@ module Google
1233
1250
  def update!(**args)
1234
1251
  @license_type = args[:license_type] if args.key?(:license_type)
1235
1252
  @machine_preferences = args[:machine_preferences] if args.key?(:machine_preferences)
1253
+ @multithreading = args[:multithreading] if args.key?(:multithreading)
1254
+ @os_pricing_preferences = args[:os_pricing_preferences] if args.key?(:os_pricing_preferences)
1236
1255
  @persistent_disk_type = args[:persistent_disk_type] if args.key?(:persistent_disk_type)
1237
1256
  end
1238
1257
  end
@@ -1266,6 +1285,13 @@ module Google
1266
1285
  # @return [String]
1267
1286
  attr_accessor :series
1268
1287
 
1288
+ # Output only. Whether simultaneous multithreading is enabled (see https://cloud.
1289
+ # google.com/compute/docs/instances/set-threads-per-core).
1290
+ # Corresponds to the JSON property `smtEnabled`
1291
+ # @return [Boolean]
1292
+ attr_accessor :smt_enabled
1293
+ alias_method :smt_enabled?, :smt_enabled
1294
+
1269
1295
  # Output only. Compute Engine storage. Never empty.
1270
1296
  # Corresponds to the JSON property `storage`
1271
1297
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor>]
@@ -1282,6 +1308,7 @@ module Google
1282
1308
  @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
1283
1309
  @physical_core_count = args[:physical_core_count] if args.key?(:physical_core_count)
1284
1310
  @series = args[:series] if args.key?(:series)
1311
+ @smt_enabled = args[:smt_enabled] if args.key?(:smt_enabled)
1285
1312
  @storage = args[:storage] if args.key?(:storage)
1286
1313
  end
1287
1314
  end
@@ -4016,8 +4043,8 @@ module Google
4016
4043
  end
4017
4044
 
4018
4045
  # The type of machines to consider when calculating virtual machine migration
4019
- # insights and recommendations. Not all machine types are available in all zones
4020
- # and regions.
4046
+ # insights and recommendations for GCE. Not all machine types are available in
4047
+ # all zones and regions.
4021
4048
  class MachinePreferences
4022
4049
  include Google::Apis::Core::Hashable
4023
4050
 
@@ -4672,6 +4699,68 @@ module Google
4672
4699
  end
4673
4700
  end
4674
4701
 
4702
+ # Pricing options for OS images.
4703
+ class OperatingSystemPricingPreferences
4704
+ include Google::Apis::Core::Hashable
4705
+
4706
+ # Pricing options of an OS image.
4707
+ # Corresponds to the JSON property `rhel`
4708
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4709
+ attr_accessor :rhel
4710
+
4711
+ # Pricing options of an OS image.
4712
+ # Corresponds to the JSON property `sles`
4713
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4714
+ attr_accessor :sles
4715
+
4716
+ # Pricing options of an OS image.
4717
+ # Corresponds to the JSON property `slesForSap`
4718
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4719
+ attr_accessor :sles_for_sap
4720
+
4721
+ # Pricing options of an OS image.
4722
+ # Corresponds to the JSON property `windows`
4723
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4724
+ attr_accessor :windows
4725
+
4726
+ def initialize(**args)
4727
+ update!(**args)
4728
+ end
4729
+
4730
+ # Update properties of this object
4731
+ def update!(**args)
4732
+ @rhel = args[:rhel] if args.key?(:rhel)
4733
+ @sles = args[:sles] if args.key?(:sles)
4734
+ @sles_for_sap = args[:sles_for_sap] if args.key?(:sles_for_sap)
4735
+ @windows = args[:windows] if args.key?(:windows)
4736
+ end
4737
+ end
4738
+
4739
+ # Pricing options of an OS image.
4740
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
4741
+ include Google::Apis::Core::Hashable
4742
+
4743
+ # Optional. The plan of commitments for committed use discounts (CUD).
4744
+ # Corresponds to the JSON property `commitmentPlan`
4745
+ # @return [String]
4746
+ attr_accessor :commitment_plan
4747
+
4748
+ # Optional. License type of the OS image.
4749
+ # Corresponds to the JSON property `licenseType`
4750
+ # @return [String]
4751
+ attr_accessor :license_type
4752
+
4753
+ def initialize(**args)
4754
+ update!(**args)
4755
+ end
4756
+
4757
+ # Update properties of this object
4758
+ def update!(**args)
4759
+ @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
4760
+ @license_type = args[:license_type] if args.key?(:license_type)
4761
+ end
4762
+ end
4763
+
4675
4764
  # This resource represents a long-running operation that is the result of a
4676
4765
  # network API call.
4677
4766
  class Operation
@@ -6508,6 +6597,11 @@ module Google
6508
6597
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType>]
6509
6598
  attr_accessor :node_types
6510
6599
 
6600
+ # Pricing options for OS images.
6601
+ # Corresponds to the JSON property `osPricingPreferences`
6602
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences]
6603
+ attr_accessor :os_pricing_preferences
6604
+
6511
6605
  def initialize(**args)
6512
6606
  update!(**args)
6513
6607
  end
@@ -6518,6 +6612,7 @@ module Google
6518
6612
  @cpu_overcommit_ratio = args[:cpu_overcommit_ratio] if args.key?(:cpu_overcommit_ratio)
6519
6613
  @host_maintenance_policy = args[:host_maintenance_policy] if args.key?(:host_maintenance_policy)
6520
6614
  @node_types = args[:node_types] if args.key?(:node_types)
6615
+ @os_pricing_preferences = args[:os_pricing_preferences] if args.key?(:os_pricing_preferences)
6521
6616
  end
6522
6617
  end
6523
6618
 
@@ -7017,7 +7112,7 @@ module Google
7017
7112
  class VirtualMachineDetails
7018
7113
  include Google::Apis::Core::Hashable
7019
7114
 
7020
- # Number of CPU cores in the VirtualMachine. Must be non-negative.
7115
+ # Number of logical CPU cores in the VirtualMachine. Must be non-negative.
7021
7116
  # Corresponds to the JSON property `coreCount`
7022
7117
  # @return [Fixnum]
7023
7118
  attr_accessor :core_count
@@ -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.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240523"
25
+ REVISION = "20240620"
26
26
  end
27
27
  end
28
28
  end
@@ -856,6 +856,18 @@ module Google
856
856
  include Google::Apis::Core::JsonObjectSupport
857
857
  end
858
858
 
859
+ class OperatingSystemPricingPreferences
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
859
871
  class Operation
860
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
873
 
@@ -1650,6 +1662,7 @@ module Google
1650
1662
  property :egress_gb_per_month, :numeric_string => true, as: 'egressGbPerMonth'
1651
1663
  property :logical_core_count, as: 'logicalCoreCount'
1652
1664
  property :memory_mb, as: 'memoryMb'
1665
+ property :smt_enabled, as: 'smtEnabled'
1653
1666
  property :storage, as: 'storage', class: Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor, decorator: Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor::Representation
1654
1667
 
1655
1668
  property :version, as: 'version'
@@ -1671,6 +1684,9 @@ module Google
1671
1684
  property :license_type, as: 'licenseType'
1672
1685
  property :machine_preferences, as: 'machinePreferences', class: Google::Apis::MigrationcenterV1alpha1::MachinePreferences, decorator: Google::Apis::MigrationcenterV1alpha1::MachinePreferences::Representation
1673
1686
 
1687
+ property :multithreading, as: 'multithreading'
1688
+ property :os_pricing_preferences, as: 'osPricingPreferences', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences::Representation
1689
+
1674
1690
  property :persistent_disk_type, as: 'persistentDiskType'
1675
1691
  end
1676
1692
  end
@@ -1683,6 +1699,7 @@ module Google
1683
1699
  property :memory_mb, as: 'memoryMb'
1684
1700
  property :physical_core_count, as: 'physicalCoreCount'
1685
1701
  property :series, as: 'series'
1702
+ property :smt_enabled, as: 'smtEnabled'
1686
1703
  collection :storage, as: 'storage', class: Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor, decorator: Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor::Representation
1687
1704
 
1688
1705
  end
@@ -2733,6 +2750,28 @@ module Google
2733
2750
  end
2734
2751
  end
2735
2752
 
2753
+ class OperatingSystemPricingPreferences
2754
+ # @private
2755
+ class Representation < Google::Apis::Core::JsonRepresentation
2756
+ property :rhel, as: 'rhel', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2757
+
2758
+ property :sles, as: 'sles', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2759
+
2760
+ property :sles_for_sap, as: 'slesForSap', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2761
+
2762
+ property :windows, as: 'windows', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2763
+
2764
+ end
2765
+ end
2766
+
2767
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
2768
+ # @private
2769
+ class Representation < Google::Apis::Core::JsonRepresentation
2770
+ property :commitment_plan, as: 'commitmentPlan'
2771
+ property :license_type, as: 'licenseType'
2772
+ end
2773
+ end
2774
+
2736
2775
  class Operation
2737
2776
  # @private
2738
2777
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3281,6 +3320,8 @@ module Google
3281
3320
  property :host_maintenance_policy, as: 'hostMaintenancePolicy'
3282
3321
  collection :node_types, as: 'nodeTypes', class: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType, decorator: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType::Representation
3283
3322
 
3323
+ property :os_pricing_preferences, as: 'osPricingPreferences', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences::Representation
3324
+
3284
3325
  end
3285
3326
  end
3286
3327
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-migrationcenter_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []