Cloud Firestore V1beta1 Client - Class ListDocumentsResponse (1.34.0)

Reference documentation and code samples for the Cloud Firestore V1beta1 Client class ListDocumentsResponse.

The response for Firestore.ListDocuments.

Generated from protobuf message google.firestore.v1beta1.ListDocumentsResponse

Namespace

Google \ Cloud \ Firestore \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ documents array<Google\Cloud\Firestore\V1beta1\Document>

The Documents found.

↳ next_page_token string

The next page token.

getDocuments

The Documents found.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDocuments

The Documents found.

Parameter
NameDescription
var array<Google\Cloud\Firestore\V1beta1\Document>
Returns
TypeDescription
$this

getNextPageToken

The next page token.

Returns
TypeDescription
string

setNextPageToken

The next page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this