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.



1376
1377
1378
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1376

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)


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

def success
  @success
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1381
1382
1383
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1381

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