Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TotalMemoryEncryptionInfo

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

Overview

Memory encryption information of a device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TotalMemoryEncryptionInfo

Returns a new instance of GoogleChromeManagementV1TotalMemoryEncryptionInfo.



1977
1978
1979
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1977

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

Instance Attribute Details

#encryption_algorithmString

Memory encryption algorithm. Corresponds to the JSON property encryptionAlgorithm

Returns:

  • (String)


1960
1961
1962
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1960

def encryption_algorithm
  @encryption_algorithm
end

#encryption_stateString

The state of memory encryption on the device. Corresponds to the JSON property encryptionState

Returns:

  • (String)


1965
1966
1967
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1965

def encryption_state
  @encryption_state
end

#key_lengthFixnum

The length of the encryption keys. Corresponds to the JSON property keyLength

Returns:

  • (Fixnum)


1970
1971
1972
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1970

def key_length
  @key_length
end

#max_keysFixnum

The maximum number of keys that can be used for encryption. Corresponds to the JSON property maxKeys

Returns:

  • (Fixnum)


1975
1976
1977
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1975

def max_keys
  @max_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1982
1983
1984
1985
1986
1987
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1982

def update!(**args)
  @encryption_algorithm = args[:encryption_algorithm] if args.key?(:encryption_algorithm)
  @encryption_state = args[:encryption_state] if args.key?(:encryption_state)
  @key_length = args[:key_length] if args.key?(:key_length)
  @max_keys = args[:max_keys] if args.key?(:max_keys)
end