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

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

Overview

Trusted Platform Module (TPM) (Read-only)

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TpmVersionInfo

Returns a new instance of TpmVersionInfo.



1085
1086
1087
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1085

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

Instance Attribute Details

#familyString

TPM family. Corresponds to the JSON property family

Returns:

  • (String)


1058
1059
1060
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1058

def family
  @family
end

#firmware_versionString

TPM firmware version. Corresponds to the JSON property firmwareVersion

Returns:

  • (String)


1063
1064
1065
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1063

def firmware_version
  @firmware_version
end

#manufacturerString

TPM manufacturer code. Corresponds to the JSON property manufacturer

Returns:

  • (String)


1068
1069
1070
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1068

def manufacturer
  @manufacturer
end

#spec_levelString

TPM specification level. Corresponds to the JSON property specLevel

Returns:

  • (String)


1073
1074
1075
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1073

def spec_level
  @spec_level
end

#tpm_modelString

TPM model number. Corresponds to the JSON property tpmModel

Returns:

  • (String)


1078
1079
1080
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1078

def tpm_model
  @tpm_model
end

#vendor_specificString

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

Returns:

  • (String)


1083
1084
1085
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1083

def vendor_specific
  @vendor_specific
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1090
1091
1092
1093
1094
1095
1096
1097
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1090

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