Cloud IoT v1 API - Class GetDeviceRequest (2.2.0)

public sealed class GetDeviceRequest : IMessage<GetDeviceRequest>, IEquatable<GetDeviceRequest>, IDeepCloneable<GetDeviceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud IoT v1 API class GetDeviceRequest.

Request for GetDevice.

Inheritance

object > GetDeviceRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

GetDeviceRequest()

public GetDeviceRequest()

GetDeviceRequest(GetDeviceRequest)

public GetDeviceRequest(GetDeviceRequest other)
Parameter
NameDescription
otherGetDeviceRequest

Properties

DeviceName

public DeviceName DeviceName { get; set; }

DeviceName-typed view over the Name resource name property.

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