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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateDeviceRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eCreateDevice\u003c/code\u003e operation within the Google Cloud IoT service.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data management.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eDevice\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsRegistryName\u003c/code\u003e, which are essential for specifying the details of the device to be created and its location within the device registry.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is \u003ccode\u003e2.2.0\u003c/code\u003e, and multiple prior versions are available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDeviceRequest\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.Iot.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]