public sealed class GetDeviceRequest : IMessage<GetDeviceRequest>, IEquatable<GetDeviceRequest>, IDeepCloneable<GetDeviceRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud IoT v1 API class GetDeviceRequest.
Request for GetDevice.
Implements
IMessageGetDeviceRequest, IEquatableGetDeviceRequest, IDeepCloneableGetDeviceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
GetDeviceRequest()
public GetDeviceRequest()GetDeviceRequest(GetDeviceRequest)
public GetDeviceRequest(GetDeviceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetDeviceRequest |
Properties
DeviceName
public DeviceName DeviceName { get; set; }DeviceName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
DeviceName |
|
FieldMask
public FieldMask FieldMask { get; set; }The fields of the Device resource to be returned in the response. If the
field mask is unset or empty, all fields are returned. Fields have to be
provided in snake_case format, for example: last_heartbeat_time.
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|
Name
public string Name { get; set; }Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0 or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|