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.
5233 5234 5235 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5233 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
5221 5222 5223 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5221 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
5226 5227 5228 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5226 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
5231 5232 5233 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5231 def target_user_id @target_user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5238 5239 5240 5241 5242 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5238 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 |