Class: Google::Cloud::Iot::V1::GatewayListOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/iot/v1/device_manager.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#associations_device_id::String

Returns 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.

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, if 456 is specified, returns only the gateways to which the device with num_id 456 is bound.



229
230
231
232
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 229

class GatewayListOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#associations_gateway_id::String

Returns 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.

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, if 123 is specified, only devices bound to the gateway with num_id 123 are returned.



229
230
231
232
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 229

class GatewayListOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gateway_type::Google::Cloud::Iot::V1::GatewayType

Returns 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.

Returns:

  • (::Google::Cloud::Iot::V1::GatewayType)

    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.



229
230
231
232
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 229

class GatewayListOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end