@Generated("by gapic-generator-java")
Package com.google.cloud.iot.v1
A client to Cloud IoT API
The interfaces provided are listed below, along with usage samples.
======================= DeviceManagerClient =======================
Service Description: Internet of Things (IoT) service. Securely connect and manage IoT devices.
Sample for DeviceManagerClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DeviceManagerClient deviceManagerClient = DeviceManagerClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
DeviceRegistry deviceRegistry = DeviceRegistry.newBuilder().build();
DeviceRegistry response = deviceManagerClient.createDeviceRegistry(parent, deviceRegistry);
}
-
Class Summary Class Description BindDeviceToGatewayRequest Request for `BindDeviceToGateway`.BindDeviceToGatewayRequest.Builder Request for `BindDeviceToGateway`.BindDeviceToGatewayResponse Response for `BindDeviceToGateway`.BindDeviceToGatewayResponse.Builder Response for `BindDeviceToGateway`.CreateDeviceRegistryRequest Request for `CreateDeviceRegistry`.CreateDeviceRegistryRequest.Builder Request for `CreateDeviceRegistry`.CreateDeviceRequest Request for `CreateDevice`.CreateDeviceRequest.Builder Request for `CreateDevice`.DeleteDeviceRegistryRequest Request for `DeleteDeviceRegistry`.DeleteDeviceRegistryRequest.Builder Request for `DeleteDeviceRegistry`.DeleteDeviceRequest Request for `DeleteDevice`.DeleteDeviceRequest.Builder Request for `DeleteDevice`.Device The device resource.Device.Builder The device resource.DeviceConfig The device configuration.DeviceConfig.Builder The device configuration.DeviceCredential A server-stored device credential used for authentication.DeviceCredential.Builder A server-stored device credential used for authentication.DeviceManagerClient Service Description: Internet of Things (IoT) service.DeviceManagerClient.ListDeviceRegistriesFixedSizeCollection DeviceManagerClient.ListDeviceRegistriesPage DeviceManagerClient.ListDeviceRegistriesPagedResponse DeviceManagerClient.ListDevicesFixedSizeCollection DeviceManagerClient.ListDevicesPage DeviceManagerClient.ListDevicesPagedResponse DeviceManagerGrpc Internet of Things (IoT) service.DeviceManagerGrpc.DeviceManagerBlockingStub A stub to allow clients to do synchronous rpc calls to service DeviceManager.DeviceManagerGrpc.DeviceManagerFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service DeviceManager.DeviceManagerGrpc.DeviceManagerImplBase Base class for the server implementation of the service DeviceManager.DeviceManagerGrpc.DeviceManagerStub A stub to allow clients to do asynchronous rpc calls to service DeviceManager.DeviceManagerProto DeviceManagerSettings Settings class to configure an instance ofDeviceManagerClient
.DeviceManagerSettings.Builder Builder for DeviceManagerSettings.DeviceName DeviceName.Builder Builder for projects/{project}/locations/{location}/registries/{registry}/devices/{device}.DeviceRegistry A container for a group of devices.DeviceRegistry.Builder A container for a group of devices.DeviceState The device state, as reported by the device.DeviceState.Builder The device state, as reported by the device.EventNotificationConfig The configuration for forwarding telemetry events.EventNotificationConfig.Builder The configuration for forwarding telemetry events.GatewayConfig Gateway-related configuration and state.GatewayConfig.Builder Gateway-related configuration and state.GatewayListOptions Options for limiting the list based on gateway type and associations.GatewayListOptions.Builder Options for limiting the list based on gateway type and associations.GetDeviceRegistryRequest Request for `GetDeviceRegistry`.GetDeviceRegistryRequest.Builder Request for `GetDeviceRegistry`.GetDeviceRequest Request for `GetDevice`.GetDeviceRequest.Builder Request for `GetDevice`.HttpConfig The configuration of the HTTP bridge for a device registry.HttpConfig.Builder The configuration of the HTTP bridge for a device registry.ListDeviceConfigVersionsRequest Request for `ListDeviceConfigVersions`.ListDeviceConfigVersionsRequest.Builder Request for `ListDeviceConfigVersions`.ListDeviceConfigVersionsResponse Response for `ListDeviceConfigVersions`.ListDeviceConfigVersionsResponse.Builder Response for `ListDeviceConfigVersions`.ListDeviceRegistriesRequest Request for `ListDeviceRegistries`.ListDeviceRegistriesRequest.Builder Request for `ListDeviceRegistries`.ListDeviceRegistriesResponse Response for `ListDeviceRegistries`.ListDeviceRegistriesResponse.Builder Response for `ListDeviceRegistries`.ListDevicesRequest Request for `ListDevices`.ListDevicesRequest.Builder Request for `ListDevices`.ListDevicesResponse Response for `ListDevices`.ListDevicesResponse.Builder Response for `ListDevices`.ListDeviceStatesRequest Request for `ListDeviceStates`.ListDeviceStatesRequest.Builder Request for `ListDeviceStates`.ListDeviceStatesResponse Response for `ListDeviceStates`.ListDeviceStatesResponse.Builder Response for `ListDeviceStates`.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.ModifyCloudToDeviceConfigRequest Request for `ModifyCloudToDeviceConfig`.ModifyCloudToDeviceConfigRequest.Builder Request for `ModifyCloudToDeviceConfig`.MqttConfig The configuration of MQTT for a device registry.MqttConfig.Builder The configuration of MQTT for a device registry.PublicKeyCertificate A public key certificate format and data.PublicKeyCertificate.Builder A public key certificate format and data.PublicKeyCredential A public key format and data.PublicKeyCredential.Builder A public key format and data.RegistryCredential A server-stored registry credential used to validate device credentials.RegistryCredential.Builder A server-stored registry credential used to validate device credentials.RegistryName RegistryName.Builder Builder for projects/{project}/locations/{location}/registries/{registry}.ResourcesProto SendCommandToDeviceRequest Request for `SendCommandToDevice`.SendCommandToDeviceRequest.Builder Request for `SendCommandToDevice`.SendCommandToDeviceResponse Response for `SendCommandToDevice`.SendCommandToDeviceResponse.Builder Response for `SendCommandToDevice`.StateNotificationConfig The configuration for notification of new states received from the device.StateNotificationConfig.Builder The configuration for notification of new states received from the device.UnbindDeviceFromGatewayRequest Request for `UnbindDeviceFromGateway`.UnbindDeviceFromGatewayRequest.Builder Request for `UnbindDeviceFromGateway`.UnbindDeviceFromGatewayResponse Response for `UnbindDeviceFromGateway`.UnbindDeviceFromGatewayResponse.Builder Response for `UnbindDeviceFromGateway`.UpdateDeviceRegistryRequest Request for `UpdateDeviceRegistry`.UpdateDeviceRegistryRequest.Builder Request for `UpdateDeviceRegistry`.UpdateDeviceRequest Request for `UpdateDevice`.UpdateDeviceRequest.Builder Request for `UpdateDevice`.X509CertificateDetails Details of an X.509 certificate.X509CertificateDetails.Builder Details of an X.509 certificate. -
Enum Summary Enum Description DeviceCredential.CredentialCase GatewayAuthMethod The gateway authorization/authentication method.GatewayListOptions.FilterCase GatewayType Gateway type.HttpState Indicates whether DeviceService (HTTP) is enabled or disabled for the registry.LogLevel **Beta Feature** The logging verbosity for device activity.MqttState Indicates whether an MQTT connection is enabled or disabled.PublicKeyCertificateFormat The supported formats for the public key.PublicKeyFormat The supported formats for the public key.RegistryCredential.CredentialCase