Class: Google::Apis::AndroidmanagementV1::CryptoSelfTestCompletedEvent

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

Overview

Validates whether Android’s built-in cryptographic library (BoringSSL) is valid. Should always succeed on device boot, if it fails, the device should be considered untrusted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CryptoSelfTestCompletedEvent

Returns a new instance of CryptoSelfTestCompletedEvent.



1369
1370
1371
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1369

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

Instance Attribute Details

#successBoolean Also known as: success?

Whether the test succeeded. Corresponds to the JSON property success

Returns:

  • (Boolean)


1366
1367
1368
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1366

def success
  @success
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1374
1375
1376
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1374

def update!(**args)
  @success = args[:success] if args.key?(:success)
end