Class: Google::Apis::AndroidmanagementV1::RemoteLockEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::RemoteLockEvent
- 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
The device or profile has been remotely locked via the LOCK command.
Instance Attribute Summary collapse
-
#admin_package_name ⇒ String
Package name of the admin app requesting the change.
-
#admin_user_id ⇒ Fixnum
User ID of the admin app from the which the change was requested.
-
#target_user_id ⇒ Fixnum
User ID in which the change was requested in.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RemoteLockEvent
constructor
A new instance of RemoteLockEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RemoteLockEvent
Returns a new instance of RemoteLockEvent.
5011 5012 5013 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_package_name ⇒ String
Package name of the admin app requesting the change.
Corresponds to the JSON property adminPackageName
4999 5000 5001 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4999 def admin_package_name @admin_package_name end |
#admin_user_id ⇒ Fixnum
User ID of the admin app from the which the change was requested.
Corresponds to the JSON property adminUserId
5004 5005 5006 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5004 def admin_user_id @admin_user_id end |
#target_user_id ⇒ Fixnum
User ID in which the change was requested in.
Corresponds to the JSON property targetUserId
5009 5010 5011 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5009 def target_user_id @target_user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5016 5017 5018 5019 5020 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5016 def update!(**args) @admin_package_name = args[:admin_package_name] if args.key?(:admin_package_name) @admin_user_id = args[:admin_user_id] if args.key?(:admin_user_id) @target_user_id = args[:target_user_id] if args.key?(:target_user_id) end |