Class: Google::Cloud::Iot::V1::ListDeviceStatesRequest

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

Request for ListDeviceStates.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

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

Returns:

  • (::String)

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



305
306
307
308
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 305

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

#num_states::Integer

Returns The number of states to list. States are listed in descending order of update time. The maximum number of states retained is 10. If this value is zero, it will return all the states available.

Returns:

  • (::Integer)

    The number of states to list. States are listed in descending order of update time. The maximum number of states retained is 10. If this value is zero, it will return all the states available.



305
306
307
308
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 305

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