public sealed class CreateDeviceRequest : IMessage<CreateDeviceRequest>, IEquatable<CreateDeviceRequest>, IDeepCloneable<CreateDeviceRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud IoT v1 API class CreateDeviceRequest.
Request for CreateDevice.
Implements
IMessageCreateDeviceRequest, IEquatableCreateDeviceRequest, IDeepCloneableCreateDeviceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
CreateDeviceRequest()
public CreateDeviceRequest()CreateDeviceRequest(CreateDeviceRequest)
public CreateDeviceRequest(CreateDeviceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateDeviceRequest |
Properties
Device
public Device Device { get; set; }Required. The device registration details. The field name must be empty. The server
generates name from the device registry id and the
parent field.
| Property Value | |
|---|---|
| Type | Description |
Device |
|
Parent
public string Parent { get; set; }Required. The name of the device registry where this device should be created.
For example,
projects/example-project/locations/us-central1/registries/my-registry.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsRegistryName
public RegistryName ParentAsRegistryName { get; set; }RegistryName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
RegistryName |
|