Class DeviceRegistry
A container for a group of devices.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudIot.v1.Data
Assembly: Google.Apis.CloudIot.v1.dll
Syntax
public class DeviceRegistry : IDirectResponseSchema
Properties
Credentials
The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
Declaration
[JsonProperty("credentials")]
public virtual IList<RegistryCredential> Credentials { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><RegistryCredential> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EventNotificationConfigs
The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
Declaration
[JsonProperty("eventNotificationConfigs")]
public virtual IList<EventNotificationConfig> EventNotificationConfigs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><EventNotificationConfig> |
HttpConfig
The DeviceService (HTTP) configuration for this device registry.
Declaration
[JsonProperty("httpConfig")]
public virtual HttpConfig HttpConfig { get; set; }
Property Value
Type | Description |
---|---|
HttpConfig |
Id
The identifier of this device registry. For example, myRegistry
.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
LogLevel
Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
Declaration
[JsonProperty("logLevel")]
public virtual string LogLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
MqttConfig
The MQTT configuration for this device registry.
Declaration
[JsonProperty("mqttConfig")]
public virtual MqttConfig MqttConfig { get; set; }
Property Value
Type | Description |
---|---|
MqttConfig |
Name
The resource path name. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
StateNotificationConfig
The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
Declaration
[JsonProperty("stateNotificationConfig")]
public virtual StateNotificationConfig StateNotificationConfig { get; set; }
Property Value
Type | Description |
---|---|
StateNotificationConfig |