public sealed class CreateDeviceRequest : IMessage<CreateDeviceRequest>, IEquatable<CreateDeviceRequest>, IDeepCloneable<CreateDeviceRequest>, IBufferMessage, IMessage
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
System.String
ParentAsRegistryName
public RegistryName ParentAsRegistryName { get; set; }
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The `CreateDeviceRequest` class is used to create a request for the `CreateDevice` operation within the Google Cloud IoT service."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in message handling and data management."],["It includes properties like `Device`, `Parent`, and `ParentAsRegistryName`, which are essential for specifying the details of the device to be created and its location within the device registry."],["The latest version is `2.2.0`, and multiple prior versions are available for reference."],["The `CreateDeviceRequest` is part of the `Google.Cloud.Iot.V1` namespace and is found within the `Google.Cloud.Iot.V1.dll` assembly."]]],[]]