Cloud Firestore V1 Client - Class ListFieldsResponse (1.40.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class ListFieldsResponse.

The response for FirestoreAdmin.ListFields.

Generated from protobuf message google.firestore.admin.v1.ListFieldsResponse

Namespace

Google \ Cloud \ Firestore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ fields array<Google\Cloud\Firestore\Admin\V1\Field>

The requested fields.

↳ next_page_token string

A page token that may be used to request another page of results. If blank, this is the last page.

getFields

The requested fields.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFields

The requested fields.

Parameter
NameDescription
var array<Google\Cloud\Firestore\Admin\V1\Field>
Returns
TypeDescription
$this

getNextPageToken

A page token that may be used to request another page of results. If blank, this is the last page.

Returns
TypeDescription
string

setNextPageToken

A page token that may be used to request another page of results. If blank, this is the last page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this