Class CreateDeviceRequest (1.2.0)

public sealed class CreateDeviceRequest : IMessage<CreateDeviceRequest>, IEquatable<CreateDeviceRequest>, IDeepCloneable<CreateDeviceRequest>, IBufferMessage, IMessage

Request for CreateDevice.

Inheritance

Object > CreateDeviceRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

CreateDeviceRequest()

public CreateDeviceRequest()

CreateDeviceRequest(CreateDeviceRequest)

public CreateDeviceRequest(CreateDeviceRequest other)
Parameter
NameDescription
otherCreateDeviceRequest

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
TypeDescription
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
TypeDescription
String

ParentAsRegistryName

public RegistryName ParentAsRegistryName { get; set; }

RegistryName-typed view over the Parent resource name property.

Property Value
TypeDescription
RegistryName