Class: Google::Apis::AndroidmanagementV1::RemoteLockEvent

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

The device or profile has been remotely locked via the LOCK command.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemoteLockEvent

Returns a new instance of RemoteLockEvent.



5201
5202
5203
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5201

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#admin_package_nameString

Package name of the admin app requesting the change. Corresponds to the JSON property adminPackageName

Returns:

  • (String)


5189
5190
5191
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5189

def admin_package_name
  @admin_package_name
end

#admin_user_idFixnum

User ID of the admin app from the which the change was requested. Corresponds to the JSON property adminUserId

Returns:

  • (Fixnum)


5194
5195
5196
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5194

def admin_user_id
  @admin_user_id
end

#target_user_idFixnum

User ID in which the change was requested in. Corresponds to the JSON property targetUserId

Returns:

  • (Fixnum)


5199
5200
5201
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5199

def target_user_id
  @target_user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5206
5207
5208
5209
5210
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5206

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