Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

Trusted Platform Module (TPM) (Read-only)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TpmVersionInfo

Returns a new instance of TpmVersionInfo.



1546
1547
1548
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1546

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

Instance Attribute Details

#familyString

TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" -> 322e3000 Corresponds to the JSON property family

Returns:

  • (String)


1518
1519
1520
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1518

def family
  @family
end

#firmware_versionString

TPM firmware version. Corresponds to the JSON property firmwareVersion

Returns:

  • (String)


1523
1524
1525
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1523

def firmware_version
  @firmware_version
end

#manufacturerString

TPM manufacturer code. Corresponds to the JSON property manufacturer

Returns:

  • (String)


1528
1529
1530
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1528

def manufacturer
  @manufacturer
end

#spec_levelString

TPM specification level. See Library Specification for TPM 2.0 and Main Specification for TPM 1.2. Corresponds to the JSON property specLevel

Returns:

  • (String)


1534
1535
1536
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1534

def spec_level
  @spec_level
end

#tpm_modelString

TPM model number. Corresponds to the JSON property tpmModel

Returns:

  • (String)


1539
1540
1541
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1539

def tpm_model
  @tpm_model
end

#vendor_specificString

Vendor-specific information such as Vendor ID. Corresponds to the JSON property vendorSpecific

Returns:

  • (String)


1544
1545
1546
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1544

def vendor_specific
  @vendor_specific
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1551
1552
1553
1554
1555
1556
1557
1558
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1551

def update!(**args)
  @family = args[:family] if args.key?(:family)
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
  @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
  @spec_level = args[:spec_level] if args.key?(:spec_level)
  @tpm_model = args[:tpm_model] if args.key?(:tpm_model)
  @vendor_specific = args[:vendor_specific] if args.key?(:vendor_specific)
end