Class: Google::Apis::AdminDirectoryV1::MobileDeviceAction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileDeviceAction

Returns a new instance of MobileDeviceAction.



3332
3333
3334
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3332

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

Instance Attribute Details

#actionString

The action to be performed on the device. Corresponds to the JSON property action

Returns:

  • (String)


3330
3331
3332
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3330

def action
  @action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3337
3338
3339
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3337

def update!(**args)
  @action = args[:action] if args.key?(:action)
end