google-apis-migrationcenter_v1alpha1 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e898a85a659254b1b3cf4ee5f3ce0c573093da5fe9ae5de1c8f43406152989fa
4
- data.tar.gz: 6cab870fb265160e8b26e44776c515acda232da4821025f7a12e315f866ac2a7
3
+ metadata.gz: 2b8e9bc3de2c88b6800df8b9f6dd8c78763afa7bd38448010e57ba62beb230ac
4
+ data.tar.gz: 9a574019137ea61f4286eee03292fdb9c6a1f5494e8a419ddf4f7a6bd38fc61c
5
5
  SHA512:
6
- metadata.gz: 004f2b95689768164a3f9e7d568bc6c989472d2fb65f754e0e375ba293c7e4e9e007b0983b5be07663e8a7e481a81fd718646fb666742a791d05de2a6e156b50
7
- data.tar.gz: b992df51245bb2738692fd35de19bfb73c58cab2f59ee654656f2242ffde3440a1cadc965aaee32d25cbef1de9efa7dbfc02310c7bb55d04aab872c3e65ce742
6
+ metadata.gz: 37bb124202fc1a49fe48e97e3bc43e7dabc2ba57a198d6d46900a575d7dcedc9d438ac600159134bcc1bd2e29d08cf564eabec97ae3e8bd71eb23b9f47ac40a8
7
+ data.tar.gz: 646d48d948d920c0639dacd33488fc83651cf0a593da1234b303a35cda388e83f87f8f1cebd5119fcf1029e9aad15628b48b4baa5a331858f3df876692731c84
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-migrationcenter_v1alpha1
2
2
 
3
+ ### v0.31.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240606
6
+
3
7
  ### v0.30.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240523
@@ -1213,12 +1213,17 @@ module Google
1213
1213
  attr_accessor :license_type
1214
1214
 
1215
1215
  # 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.
1216
+ # insights and recommendations for GCE. Not all machine types are available in
1217
+ # all zones and regions.
1218
1218
  # Corresponds to the JSON property `machinePreferences`
1219
1219
  # @return [Google::Apis::MigrationcenterV1alpha1::MachinePreferences]
1220
1220
  attr_accessor :machine_preferences
1221
1221
 
1222
+ # Pricing options for OS images.
1223
+ # Corresponds to the JSON property `osPricingPreferences`
1224
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences]
1225
+ attr_accessor :os_pricing_preferences
1226
+
1222
1227
  # Persistent disk type to use. If unspecified (default), all types are
1223
1228
  # considered, based on available usage data.
1224
1229
  # Corresponds to the JSON property `persistentDiskType`
@@ -1233,6 +1238,7 @@ module Google
1233
1238
  def update!(**args)
1234
1239
  @license_type = args[:license_type] if args.key?(:license_type)
1235
1240
  @machine_preferences = args[:machine_preferences] if args.key?(:machine_preferences)
1241
+ @os_pricing_preferences = args[:os_pricing_preferences] if args.key?(:os_pricing_preferences)
1236
1242
  @persistent_disk_type = args[:persistent_disk_type] if args.key?(:persistent_disk_type)
1237
1243
  end
1238
1244
  end
@@ -4016,8 +4022,8 @@ module Google
4016
4022
  end
4017
4023
 
4018
4024
  # 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.
4025
+ # insights and recommendations for GCE. Not all machine types are available in
4026
+ # all zones and regions.
4021
4027
  class MachinePreferences
4022
4028
  include Google::Apis::Core::Hashable
4023
4029
 
@@ -4672,6 +4678,68 @@ module Google
4672
4678
  end
4673
4679
  end
4674
4680
 
4681
+ # Pricing options for OS images.
4682
+ class OperatingSystemPricingPreferences
4683
+ include Google::Apis::Core::Hashable
4684
+
4685
+ # Pricing options of an OS image.
4686
+ # Corresponds to the JSON property `rhel`
4687
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4688
+ attr_accessor :rhel
4689
+
4690
+ # Pricing options of an OS image.
4691
+ # Corresponds to the JSON property `sles`
4692
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4693
+ attr_accessor :sles
4694
+
4695
+ # Pricing options of an OS image.
4696
+ # Corresponds to the JSON property `slesForSap`
4697
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4698
+ attr_accessor :sles_for_sap
4699
+
4700
+ # Pricing options of an OS image.
4701
+ # Corresponds to the JSON property `windows`
4702
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4703
+ attr_accessor :windows
4704
+
4705
+ def initialize(**args)
4706
+ update!(**args)
4707
+ end
4708
+
4709
+ # Update properties of this object
4710
+ def update!(**args)
4711
+ @rhel = args[:rhel] if args.key?(:rhel)
4712
+ @sles = args[:sles] if args.key?(:sles)
4713
+ @sles_for_sap = args[:sles_for_sap] if args.key?(:sles_for_sap)
4714
+ @windows = args[:windows] if args.key?(:windows)
4715
+ end
4716
+ end
4717
+
4718
+ # Pricing options of an OS image.
4719
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
4720
+ include Google::Apis::Core::Hashable
4721
+
4722
+ # Optional. The plan of commitments for committed use discounts (CUD).
4723
+ # Corresponds to the JSON property `commitmentPlan`
4724
+ # @return [String]
4725
+ attr_accessor :commitment_plan
4726
+
4727
+ # Optional. License type of the OS image.
4728
+ # Corresponds to the JSON property `licenseType`
4729
+ # @return [String]
4730
+ attr_accessor :license_type
4731
+
4732
+ def initialize(**args)
4733
+ update!(**args)
4734
+ end
4735
+
4736
+ # Update properties of this object
4737
+ def update!(**args)
4738
+ @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
4739
+ @license_type = args[:license_type] if args.key?(:license_type)
4740
+ end
4741
+ end
4742
+
4675
4743
  # This resource represents a long-running operation that is the result of a
4676
4744
  # network API call.
4677
4745
  class Operation
@@ -6508,6 +6576,11 @@ module Google
6508
6576
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType>]
6509
6577
  attr_accessor :node_types
6510
6578
 
6579
+ # Pricing options for OS images.
6580
+ # Corresponds to the JSON property `osPricingPreferences`
6581
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences]
6582
+ attr_accessor :os_pricing_preferences
6583
+
6511
6584
  def initialize(**args)
6512
6585
  update!(**args)
6513
6586
  end
@@ -6518,6 +6591,7 @@ module Google
6518
6591
  @cpu_overcommit_ratio = args[:cpu_overcommit_ratio] if args.key?(:cpu_overcommit_ratio)
6519
6592
  @host_maintenance_policy = args[:host_maintenance_policy] if args.key?(:host_maintenance_policy)
6520
6593
  @node_types = args[:node_types] if args.key?(:node_types)
6594
+ @os_pricing_preferences = args[:os_pricing_preferences] if args.key?(:os_pricing_preferences)
6521
6595
  end
6522
6596
  end
6523
6597
 
@@ -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.31.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 = "20240606"
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
 
@@ -1671,6 +1683,8 @@ module Google
1671
1683
  property :license_type, as: 'licenseType'
1672
1684
  property :machine_preferences, as: 'machinePreferences', class: Google::Apis::MigrationcenterV1alpha1::MachinePreferences, decorator: Google::Apis::MigrationcenterV1alpha1::MachinePreferences::Representation
1673
1685
 
1686
+ property :os_pricing_preferences, as: 'osPricingPreferences', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences::Representation
1687
+
1674
1688
  property :persistent_disk_type, as: 'persistentDiskType'
1675
1689
  end
1676
1690
  end
@@ -2733,6 +2747,28 @@ module Google
2733
2747
  end
2734
2748
  end
2735
2749
 
2750
+ class OperatingSystemPricingPreferences
2751
+ # @private
2752
+ class Representation < Google::Apis::Core::JsonRepresentation
2753
+ property :rhel, as: 'rhel', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2754
+
2755
+ property :sles, as: 'sles', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2756
+
2757
+ property :sles_for_sap, as: 'slesForSap', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2758
+
2759
+ property :windows, as: 'windows', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2760
+
2761
+ end
2762
+ end
2763
+
2764
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
2765
+ # @private
2766
+ class Representation < Google::Apis::Core::JsonRepresentation
2767
+ property :commitment_plan, as: 'commitmentPlan'
2768
+ property :license_type, as: 'licenseType'
2769
+ end
2770
+ end
2771
+
2736
2772
  class Operation
2737
2773
  # @private
2738
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3281,6 +3317,8 @@ module Google
3281
3317
  property :host_maintenance_policy, as: 'hostMaintenancePolicy'
3282
3318
  collection :node_types, as: 'nodeTypes', class: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType, decorator: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType::Representation
3283
3319
 
3320
+ property :os_pricing_preferences, as: 'osPricingPreferences', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences::Representation
3321
+
3284
3322
  end
3285
3323
  end
3286
3324
 
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.31.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-16 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.31.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: []