Class: Google::Apis::MigrationcenterV1::BiosDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BiosDetails

Returns a new instance of BiosDetails.



716
717
718
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 716

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bios_nameString

BIOS name. This fields is deprecated. Please use the id field instead. Corresponds to the JSON property biosName

Returns:

  • (String)


682
683
684
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 682

def bios_name
  @bios_name
end

#idString

BIOS ID. Corresponds to the JSON property id

Returns:

  • (String)


687
688
689
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 687

def id
  @id
end

#manufacturerString

BIOS manufacturer. Corresponds to the JSON property manufacturer

Returns:

  • (String)


692
693
694
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 692

def manufacturer
  @manufacturer
end

#release_dateGoogle::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



704
705
706
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 704

def release_date
  @release_date
end

#smbios_uuidString

SMBIOS UUID. Corresponds to the JSON property smbiosUuid

Returns:

  • (String)


709
710
711
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 709

def smbios_uuid
  @smbios_uuid
end

#versionString

BIOS version. Corresponds to the JSON property version

Returns:

  • (String)


714
715
716
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 714

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



721
722
723
724
725
726
727
728
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 721

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