public class CloudIot.Projects.Locations.Registries.Groups.Devices extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.ConfigVersions
The "configVersions" collection of methods.
|
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.Get |
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.List |
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.ModifyCloudToDeviceConfig |
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.Patch |
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.SendCommandToDevice |
class |
CloudIot.Projects.Locations.Registries.Groups.Devices.States
The "states" collection of methods.
|
| Constructor and Description |
|---|
Devices() |
public CloudIot.Projects.Locations.Registries.Groups.Devices.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the device. For example,
`projects/p0/locations/us-
central1/registries/registry0/devices/device0` or
`projects/p0/locations/us-
central1/registries/registry0/devices/{num_id}`.IOExceptionpublic CloudIot.Projects.Locations.Registries.Groups.Devices.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The device registry path. Required. For example,
`projects/my-project/locations/us-
central1/registries/my-registry`.IOExceptionpublic CloudIot.Projects.Locations.Registries.Groups.Devices.ModifyCloudToDeviceConfig modifyCloudToDeviceConfig(String name, ModifyCloudToDeviceConfigRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - The name of the device. For example,
`projects/p0/locations/us-
central1/registries/registry0/devices/device0` or
`projects/p0/locations/us-
central1/registries/registry0/devices/{num_id}`.content - the ModifyCloudToDeviceConfigRequestIOExceptionpublic CloudIot.Projects.Locations.Registries.Groups.Devices.Patch patch(String name, Device content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource path name. For example,
`projects/p1/locations/us-
central1/registries/registry0/devices/dev0` or
`projects/p1/locations/us-
central1/registries/registry0/devices/{num_id}`.
When `name` is populated as a response
from the service, it always ends
in the device numeric ID.content - the DeviceIOExceptionpublic CloudIot.Projects.Locations.Registries.Groups.Devices.SendCommandToDevice sendCommandToDevice(String name, SendCommandToDeviceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the device. For example,
`projects/p0/locations/us-
central1/registries/registry0/devices/device0` or
`projects/p0/locations/us-
central1/registries/registry0/devices/{num_id}`.content - the SendCommandToDeviceRequestIOExceptionpublic CloudIot.Projects.Locations.Registries.Groups.Devices.ConfigVersions configVersions()
The typical use is:
CloudIot cloudiot = new CloudIot(...);CloudIot.ConfigVersions.List request = cloudiot.configVersions().list(parameters ...)
public CloudIot.Projects.Locations.Registries.Groups.Devices.States states()
The typical use is:
CloudIot cloudiot = new CloudIot(...);CloudIot.States.List request = cloudiot.states().list(parameters ...)
Copyright © 2011–2018 Google. All rights reserved.