public class CloudIot.Projects.Locations.Registries.Devices extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudIot.Projects.Locations.Registries.Devices.ConfigVersions
The "configVersions" collection of methods.
|
class |
CloudIot.Projects.Locations.Registries.Devices.Create |
class |
CloudIot.Projects.Locations.Registries.Devices.Delete |
class |
CloudIot.Projects.Locations.Registries.Devices.Get |
class |
CloudIot.Projects.Locations.Registries.Devices.List |
class |
CloudIot.Projects.Locations.Registries.Devices.ModifyCloudToDeviceConfig |
class |
CloudIot.Projects.Locations.Registries.Devices.Patch |
class |
CloudIot.Projects.Locations.Registries.Devices.SendCommandToDevice |
class |
CloudIot.Projects.Locations.Registries.Devices.States
The "states" collection of methods.
|
| Constructor and Description |
|---|
Devices() |
public CloudIot.Projects.Locations.Registries.Devices.Create create(String parent, Device content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the device registry where this device should be created. For example,
`projects/example-project/locations/us-central1/registries/my-registry`.content - the DeviceIOExceptionpublic CloudIot.Projects.Locations.Registries.Devices.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. 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.Devices.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. 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.Devices.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The device registry path. Required. For example, `projects/my-project/locations/us-
central1/registries/my-registry`.IOExceptionpublic CloudIot.Projects.Locations.Registries.Devices.ModifyCloudToDeviceConfig modifyCloudToDeviceConfig(String name, ModifyCloudToDeviceConfigRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - Required. 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.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.Devices.SendCommandToDevice sendCommandToDevice(String name, SendCommandToDeviceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. 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.Devices.ConfigVersions configVersions()
The typical use is:
CloudIot cloudiot = new CloudIot(...);CloudIot.ConfigVersions.List request = cloudiot.configVersions().list(parameters ...)
public CloudIot.Projects.Locations.Registries.Devices.States states()
The typical use is:
CloudIot cloudiot = new CloudIot(...);CloudIot.States.List request = cloudiot.states().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.