Class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Pricing options of an OS image.
Instance Attribute Summary collapse
-
#commitment_plan ⇒ String
Optional.
-
#license_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperatingSystemPricingPreferencesOperatingSystemPricing
constructor
A new instance of OperatingSystemPricingPreferencesOperatingSystemPricing.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperatingSystemPricingPreferencesOperatingSystemPricing
Returns a new instance of OperatingSystemPricingPreferencesOperatingSystemPricing.
4754 4755 4756 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4754 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commitment_plan ⇒ String
Optional. The plan of commitments for committed use discounts (CUD).
Corresponds to the JSON property commitmentPlan
4746 4747 4748 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4746 def commitment_plan @commitment_plan end |
#license_type ⇒ String
Optional. License type for premium images (RHEL, RHEL for SAP, SLES, SLES for
SAP, Windows Server).
Corresponds to the JSON property licenseType
4752 4753 4754 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4752 def license_type @license_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4759 4760 4761 4762 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4759 def update!(**args) @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan) @license_type = args[:license_type] if args.key?(:license_type) end |