Google Cloud IoT Core V1 Client - Class ListDevicesResponse (1.6.4)

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

Response for ListDevices.

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

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ devices array<Google\Cloud\Iot\V1\Device>

The devices that match the request.

↳ next_page_token string

If not empty, indicates that there may be more devices that match the request; this value should be passed in a new ListDevicesRequest.

getDevices

The devices that match the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDevices

The devices that match the request.

Parameter
NameDescription
var array<Google\Cloud\Iot\V1\Device>
Returns
TypeDescription
$this

getNextPageToken

If not empty, indicates that there may be more devices that match the request; this value should be passed in a new ListDevicesRequest.

Returns
TypeDescription
string

setNextPageToken

If not empty, indicates that there may be more devices that match the request; this value should be passed in a new ListDevicesRequest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this