Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest

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

Overview

Request message for SmartDeviceManagementService.ExecuteDeviceCommand

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest

Returns a new instance of GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest.



82
83
84
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 82

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

Instance Attribute Details

#commandString

The command name to execute, represented by the fully qualified protobuf message name. Corresponds to the JSON property command

Returns:

  • (String)


75
76
77
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 75

def command
  @command
end

#paramsHash<String,Object>

The command message to execute, represented as a Struct. Corresponds to the JSON property params

Returns:

  • (Hash<String,Object>)


80
81
82
# File 'generated/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 'generated/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