Lines Matching full:device

21 use Google\Service\CloudIot\Device;  alias
39 * Creates a device in a device registry. (devices.create)
41 * @param string $parent Required. The name of the device registry where this
42 * device should be created. For example, `projects/example-project/locations
44 * @param Device $postBody
46 * @return Device
48 public function create($parent, Device $postBody, $optParams = [])
52 return $this->call('create', [$params], Device::class);
55 * Deletes a device. (devices.delete)
57 * @param string $name Required. The name of the device. For example,
70 * Gets details about a device. (devices.get)
72 * @param string $name Required. The name of the device. For example,
77 * @opt_param string fieldMask The fields of the `Device` resource to be
81 * @return Device
87 return $this->call('get', [$params], Device::class);
90 * List devices in a device registry.
93 * @param string $parent Required. The device registry path. Required. For
97 * @opt_param string deviceIds A list of device string IDs. For example,
100 * @opt_param string deviceNumIds A list of device numeric IDs. If empty, this
102 * @opt_param string fieldMask The fields of the `Device` resource to be
107 * only the gateways with which the specified device is associated. The device
109 * if `456` is specified, returns only the gateways to which the device with
136 * Modifies the configuration for the device, which is eventually sent from the
140 * @param string $name Required. The name of the device. For example,
154 * Updates a device. (devices.patch)
160 * the device numeric ID.
161 * @param Device $postBody
164 * @opt_param string updateMask Required. Only updates the `device` fields
168 * @return Device
170 public function patch($name, Device $postBody, $optParams = [])
174 return $this->call('patch', [$params], Device::class);
177 * Sends a command to the specified device. In order for a device to be able to
180 * /devices/{device-id}/commands/#. This subscription will receive commands at
181 * the top-level topic /devices/{device-id}/commands as well as commands for
182 * subfolders, like /devices/{device-id}/commands/subfolder. Note that
184 * be delivered to the device, this method will return an error; in particular,
185 * if the device is not subscribed, this method will return FAILED_PRECONDITION.
188 * expected from the device. (devices.sendCommandToDevice)
190 * @param string $name Required. The name of the device. For example,