public sealed class CreateDeviceRegistryRequest : IMessage<CreateDeviceRegistryRequest>, IEquatable<CreateDeviceRegistryRequest>, IDeepCloneable<CreateDeviceRegistryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class CreateDeviceRegistryRequest.
Request for CreateDeviceRegistry
.
Implements
IMessageCreateDeviceRegistryRequest, IEquatableCreateDeviceRegistryRequest, IDeepCloneableCreateDeviceRegistryRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
CreateDeviceRegistryRequest()
public CreateDeviceRegistryRequest()
CreateDeviceRegistryRequest(CreateDeviceRegistryRequest)
public CreateDeviceRegistryRequest(CreateDeviceRegistryRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateDeviceRegistryRequest |
Properties
DeviceRegistry
public DeviceRegistry DeviceRegistry { get; set; }
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
Property Value | |
---|---|
Type | Description |
DeviceRegistry |
Parent
public string Parent { get; set; }
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |