Class: Google::Apis::VmmigrationV1::AppliedLicense
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::AppliedLicense
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
AppliedLicense holds the license data returned by adaptation module report.
Instance Attribute Summary collapse
-
#os_license ⇒ String
The OS license returned from the adaptation module's report.
-
#type ⇒ String
The license type that was used in OS adaptation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppliedLicense
constructor
A new instance of AppliedLicense.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppliedLicense
Returns a new instance of AppliedLicense.
141 142 143 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#os_license ⇒ String
The OS license returned from the adaptation module's report.
Corresponds to the JSON property osLicense
134 135 136 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 134 def os_license @os_license end |
#type ⇒ String
The license type that was used in OS adaptation.
Corresponds to the JSON property type
139 140 141 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 139 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
146 147 148 149 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 146 def update!(**args) @os_license = args[:os_license] if args.key?(:os_license) @type = args[:type] if args.key?(:type) end |