Reference documentation and code samples for the Google Cloud IoT Core V1 Client class ListDeviceStatesRequest.
Request for ListDeviceStates
.
Generated from protobuf message google.cloud.iot.v1.ListDeviceStatesRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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}
.
↳ num_states
int
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.
getName
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}
.
string
setName
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}
.
var
string
$this
getNumStates
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.
int
setNumStates
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.
var
int
$this