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

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

Request for ListDeviceRegistries.

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

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and cloud region path. For example, projects/example-project/locations/us-central1.

↳ page_size int

The maximum number of registries to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

↳ page_token string

The value returned by the last ListDeviceRegistriesResponse; indicates that this is a continuation of a prior ListDeviceRegistries call and the system should return the next page of data.

getParent

Required. The project and cloud region path. For example, projects/example-project/locations/us-central1.

Returns
TypeDescription
string

setParent

Required. The project and cloud region path. For example, projects/example-project/locations/us-central1.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of registries to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

Returns
TypeDescription
int

setPageSize

The maximum number of registries to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The value returned by the last ListDeviceRegistriesResponse; indicates that this is a continuation of a prior ListDeviceRegistries call and the system should return the next page of data.

Returns
TypeDescription
string

setPageToken

The value returned by the last ListDeviceRegistriesResponse; indicates that this is a continuation of a prior ListDeviceRegistries call and the system should return the next page of data.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The project and cloud region path. For example, projects/example-project/locations/us-central1. Please see Google\Cloud\Iot\V1\DeviceManagerClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Iot\V1\ListDeviceRegistriesRequest