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.



1468
1469
1470
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1468

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)


1465
1466
1467
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1465

def success
  @success
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1473
1474
1475
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1473

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