Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
- Inherits:
-
Object
- Object
- Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/smartdevicemanagement_v1/classes.rb,
lib/google/apis/smartdevicemanagement_v1/representations.rb,
lib/google/apis/smartdevicemanagement_v1/representations.rb
Overview
Request message for SmartDeviceManagementService.ExecuteDeviceCommand
Instance Attribute Summary collapse
-
#command ⇒ String
The command name to execute, represented by the fully qualified protobuf message name.
-
#params ⇒ Hash<String,Object>
The command message to execute, represented as a Struct.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
constructor
A new instance of GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
Returns a new instance of GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest.
82 83 84 |
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 82 def initialize(**args) update!(**args) end |
Instance Attribute Details
#command ⇒ String
The command name to execute, represented by the fully qualified protobuf
message name.
Corresponds to the JSON property command
75 76 77 |
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 75 def command @command end |
#params ⇒ Hash<String,Object>
The command message to execute, represented as a Struct.
Corresponds to the JSON property params
80 81 82 |
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 80 def params @params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
87 88 89 90 |
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 87 def update!(**args) @command = args[:command] if args.key?(:command) @params = args[:params] if args.key?(:params) end |