Class: Google::Apis::AdminDirectoryV1::MobileDeviceAction
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::MobileDeviceAction
- 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
-
#action ⇒ String
The action to be performed on the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MobileDeviceAction
constructor
A new instance of MobileDeviceAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MobileDeviceAction
Returns a new instance of MobileDeviceAction.
2840 2841 2842 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2840 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The action to be performed on the device.
Corresponds to the JSON property action
2838 2839 2840 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2838 def action @action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2845 2846 2847 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2845 def update!(**args) @action = args[:action] if args.key?(:action) end |