Class: Google::Apis::MigrationcenterV1::BiosDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::BiosDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Details about the BIOS.
Instance Attribute Summary collapse
-
#bios_name ⇒ String
BIOS name.
-
#id ⇒ String
BIOS ID.
-
#manufacturer ⇒ String
BIOS manufacturer.
-
#release_date ⇒ Google::Apis::MigrationcenterV1::Date
Represents a whole or partial calendar date, such as a birthday.
-
#smbios_uuid ⇒ String
SMBIOS UUID.
-
#version ⇒ String
BIOS version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BiosDetails
constructor
A new instance of BiosDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BiosDetails
Returns a new instance of BiosDetails.
728 729 730 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 728 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bios_name ⇒ String
BIOS name. This fields is deprecated. Please use the id
field instead.
Corresponds to the JSON property biosName
694 695 696 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 694 def bios_name @bios_name end |
#id ⇒ String
BIOS ID.
Corresponds to the JSON property id
699 700 701 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 699 def id @id end |
#manufacturer ⇒ String
BIOS manufacturer.
Corresponds to the JSON property manufacturer
704 705 706 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 704 def manufacturer @manufacturer end |
#release_date ⇒ Google::Apis::MigrationcenterV1::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property releaseDate
716 717 718 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 716 def release_date @release_date end |
#smbios_uuid ⇒ String
SMBIOS UUID.
Corresponds to the JSON property smbiosUuid
721 722 723 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 721 def smbios_uuid @smbios_uuid end |
#version ⇒ String
BIOS version.
Corresponds to the JSON property version
726 727 728 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 726 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
733 734 735 736 737 738 739 740 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 733 def update!(**args) @bios_name = args[:bios_name] if args.key?(:bios_name) @id = args[:id] if args.key?(:id) @manufacturer = args[:manufacturer] if args.key?(:manufacturer) @release_date = args[:release_date] if args.key?(:release_date) @smbios_uuid = args[:smbios_uuid] if args.key?(:smbios_uuid) @version = args[:version] if args.key?(:version) end |