Cloud IoT v1 API - Class CreateDeviceRegistryRequest (2.2.0)

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.

Inheritance

object > CreateDeviceRegistryRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

CreateDeviceRegistryRequest()

public CreateDeviceRegistryRequest()

CreateDeviceRegistryRequest(CreateDeviceRegistryRequest)

public CreateDeviceRegistryRequest(CreateDeviceRegistryRequest other)
Parameter
NameDescription
otherCreateDeviceRegistryRequest

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

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName