Class: Google::Apis::MigrationcenterV1alpha1::GuestOsDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::GuestOsDetails
- 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
Information from Guest-level collections.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::MigrationcenterV1alpha1::GuestConfigDetails
Guest OS config information.
-
#family ⇒ String
What family the OS belong to, if known.
-
#os_name ⇒ String
The name of the operating system.
-
#runtime ⇒ Google::Apis::MigrationcenterV1alpha1::GuestRuntimeDetails
Guest OS runtime information.
-
#version ⇒ String
The version of the operating system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestOsDetails
constructor
A new instance of GuestOsDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestOsDetails
Returns a new instance of GuestOsDetails.
4239 4240 4241 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::MigrationcenterV1alpha1::GuestConfigDetails
Guest OS config information.
Corresponds to the JSON property config
4217 4218 4219 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4217 def config @config end |
#family ⇒ String
What family the OS belong to, if known.
Corresponds to the JSON property family
4222 4223 4224 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4222 def family @family end |
#os_name ⇒ String
The name of the operating system.
Corresponds to the JSON property osName
4227 4228 4229 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4227 def os_name @os_name end |
#runtime ⇒ Google::Apis::MigrationcenterV1alpha1::GuestRuntimeDetails
Guest OS runtime information.
Corresponds to the JSON property runtime
4232 4233 4234 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4232 def runtime @runtime end |
#version ⇒ String
The version of the operating system.
Corresponds to the JSON property version
4237 4238 4239 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4237 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4244 4245 4246 4247 4248 4249 4250 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4244 def update!(**args) @config = args[:config] if args.key?(:config) @family = args[:family] if args.key?(:family) @os_name = args[:os_name] if args.key?(:os_name) @runtime = args[:runtime] if args.key?(:runtime) @version = args[:version] if args.key?(:version) end |