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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/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.



2396
2397
2398
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2396

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)


2394
2395
2396
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2394

def action
  @action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2401
2402
2403
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2401

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