Reference documentation and code samples for the Google Cloud IoT Core V1 Client class GatewayListOptions.
Options for limiting the list based on gateway type and associations.
Generated from protobuf message google.cloud.iot.v1.GatewayListOptions
Namespace
Google \ Cloud \ Iot \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gateway_type
int
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.
↳ associations_gateway_id
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, if 123
is specified, only devices bound to the gateway with num_id
123 are returned.
↳ associations_device_id
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, if 456
is specified, returns only the gateways to which the device with num_id
456 is bound.
getGatewayType
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.
int
hasGatewayType
setGatewayType
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.
var
int
$this
getAssociationsGatewayId
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.
string
hasAssociationsGatewayId
setAssociationsGatewayId
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.
var
string
$this
getAssociationsDeviceId
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.
string
hasAssociationsDeviceId
setAssociationsDeviceId
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.
var
string
$this
getFilter
string