Google Cloud IoT Core V1 Client - Class ListDeviceStatesResponse (1.7.5)

Reference documentation and code samples for the Google Cloud IoT Core V1 Client class ListDeviceStatesResponse.

Response for ListDeviceStates .

Generated from protobuf message google.cloud.iot.v1.ListDeviceStatesResponse

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ device_states
array< Google\Cloud\Iot\V1\DeviceState >

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

getDeviceStates

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

Returns
Type
Description

setDeviceStates

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: