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-03-21 UTC."],[[["This document outlines the `CreateDeviceRequest` class within the `Google.Cloud.Iot.V1` namespace, used for creating a device in Google Cloud IoT Core."],["The `CreateDeviceRequest` class is part of version 2.0.0 of the Google.Cloud.Iot.V1 package and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes constructors for creating a new `CreateDeviceRequest` instance and copying an existing one, along with properties for `Device` registration details and the `Parent` registry name."],["The `Parent` property is required and specifies the registry where the device will be created, such as `projects/example-project/locations/us-central1/registries/my-registry`."],["There is a `ParentAsRegistryName` property, which provides a `RegistryName`-typed view of the `Parent` resource name."]]],[]]