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.
5218 5219 5220 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5218 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
5206 5207 5208 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5206 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
5211 5212 5213 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5211 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
5216 5217 5218 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5216 def target_user_id @target_user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5223 5224 5225 5226 5227 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5223 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 |