Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::GatewayListOptions.
Options for limiting the list based on gateway type and associations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#associations_device_id
def associations_device_id() -> ::String
Returns
-
(::String) — 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, if456is specified, returns only the gateways to which the device withnum_id456 is bound.
#associations_device_id=
def associations_device_id=(value) -> ::String
Parameter
-
value (::String) — 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, if456is specified, returns only the gateways to which the device withnum_id456 is bound.
Returns
-
(::String) — 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, if456is specified, returns only the gateways to which the device withnum_id456 is bound.
#associations_gateway_id
def associations_gateway_id() -> ::String
Returns
-
(::String) — 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, if123is specified, only devices bound to the gateway withnum_id123 are returned.
#associations_gateway_id=
def associations_gateway_id=(value) -> ::String
Parameter
-
value (::String) — 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, if123is specified, only devices bound to the gateway withnum_id123 are returned.
Returns
-
(::String) — 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, if123is specified, only devices bound to the gateway withnum_id123 are returned.
#gateway_type
def gateway_type() -> ::Google::Cloud::Iot::V1::GatewayType
Returns
-
(::Google::Cloud::Iot::V1::GatewayType) — If
GATEWAYis specified, only gateways are returned. IfNON_GATEWAYis specified, only non-gateway devices are returned. IfGATEWAY_TYPE_UNSPECIFIEDis specified, all devices are returned.
#gateway_type=
def gateway_type=(value) -> ::Google::Cloud::Iot::V1::GatewayType
Parameter
-
value (::Google::Cloud::Iot::V1::GatewayType) — If
GATEWAYis specified, only gateways are returned. IfNON_GATEWAYis specified, only non-gateway devices are returned. IfGATEWAY_TYPE_UNSPECIFIEDis specified, all devices are returned.
Returns
-
(::Google::Cloud::Iot::V1::GatewayType) — If
GATEWAYis specified, only gateways are returned. IfNON_GATEWAYis specified, only non-gateway devices are returned. IfGATEWAY_TYPE_UNSPECIFIEDis specified, all devices are returned.