Cloud IoT v1 API - Class GatewayListOptions (2.1.0)

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

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

Options for limiting the list based on gateway type and associations.

Inheritance

Object > GatewayListOptions

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

GatewayListOptions()

public GatewayListOptions()

GatewayListOptions(GatewayListOptions)

public GatewayListOptions(GatewayListOptions other)
Parameter
NameDescription
otherGatewayListOptions

Properties

AssociationsDeviceId

public string AssociationsDeviceId { get; set; }

If set, returns only the gateways with which the specified device is associated. The device ID can be numeric (num_id) or the user-defined string (id). For example, if 456 is specified, returns only the gateways to which the device with num_id 456 is bound.

Property Value
TypeDescription
String

AssociationsGatewayId

public string AssociationsGatewayId { get; set; }

If set, only devices associated with the specified gateway are returned. The gateway ID can be numeric (num_id) or the user-defined string (id). For example, if 123 is specified, only devices bound to the gateway with num_id 123 are returned.

Property Value
TypeDescription
String

FilterCase

public GatewayListOptions.FilterOneofCase FilterCase { get; }
Property Value
TypeDescription
GatewayListOptions.FilterOneofCase

GatewayType

public GatewayType GatewayType { get; set; }

If GATEWAY is specified, only gateways are returned. If NON_GATEWAY is specified, only non-gateway devices are returned. If GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.

Property Value
TypeDescription
GatewayType