Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo
- 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
-
#family ⇒ String
TPM family.
-
#firmware_version ⇒ String
TPM firmware version.
-
#manufacturer ⇒ String
TPM manufacturer code.
-
#spec_level ⇒ String
TPM specification level.
-
#tpm_model ⇒ String
TPM model number.
-
#vendor_specific ⇒ String
Vendor-specific information such as Vendor ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TpmVersionInfo
constructor
A new instance of TpmVersionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TpmVersionInfo
Returns a new instance of TpmVersionInfo.
1744 1745 1746 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#family ⇒ String
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
1716 1717 1718 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1716 def family @family end |
#firmware_version ⇒ String
TPM firmware version.
Corresponds to the JSON property firmwareVersion
1721 1722 1723 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1721 def firmware_version @firmware_version end |
#manufacturer ⇒ String
TPM manufacturer code.
Corresponds to the JSON property manufacturer
1726 1727 1728 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1726 def manufacturer @manufacturer end |
#spec_level ⇒ String
TPM specification level. See Library Specification for TPM 2.0 and Main
Specification for TPM 1.2.
Corresponds to the JSON property specLevel
1732 1733 1734 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1732 def spec_level @spec_level end |
#tpm_model ⇒ String
TPM model number.
Corresponds to the JSON property tpmModel
1737 1738 1739 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1737 def tpm_model @tpm_model end |
#vendor_specific ⇒ String
Vendor-specific information such as Vendor ID.
Corresponds to the JSON property vendorSpecific
1742 1743 1744 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1742 def vendor_specific @vendor_specific end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1749 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 |