Google Cloud IoT Core V1 Client - Class ListDevicesResponse (1.7.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setDevices

The devices that match the request.

Parameter
Name Description
var array<Google\Cloud\Iot\V1\Device>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this