Class: Google::Apis::AndroidmanagementV1::KeyguardDismissAuthAttemptEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::KeyguardDismissAuthAttemptEvent
- 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
An attempt was made to unlock the device.
Instance Attribute Summary collapse
-
#strong_auth_method_used ⇒ Boolean
(also: #strong_auth_method_used?)
Whether a strong form of authentication (password, PIN, or pattern) was used to unlock device.
-
#success ⇒ Boolean
(also: #success?)
Whether the unlock attempt was successful.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyguardDismissAuthAttemptEvent
constructor
A new instance of KeyguardDismissAuthAttemptEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeyguardDismissAuthAttemptEvent
Returns a new instance of KeyguardDismissAuthAttemptEvent.
2690 2691 2692 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#strong_auth_method_used ⇒ Boolean Also known as: strong_auth_method_used?
Whether a strong form of authentication (password, PIN, or pattern) was used
to unlock device.
Corresponds to the JSON property strongAuthMethodUsed
2681 2682 2683 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2681 def strong_auth_method_used @strong_auth_method_used end |
#success ⇒ Boolean Also known as: success?
Whether the unlock attempt was successful.
Corresponds to the JSON property success
2687 2688 2689 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2687 def success @success end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2695 2696 2697 2698 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2695 def update!(**args) @strong_auth_method_used = args[:strong_auth_method_used] if args.key?(:strong_auth_method_used) @success = args[:success] if args.key?(:success) end |