Google Cloud Discovery Engine V1 Client - Class ListDocumentsResponse (1.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListDocumentsResponse.

Response message for DocumentService.ListDocuments method.

Generated from protobuf message google.cloud.discoveryengine.v1.ListDocumentsResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ documents array<Google\Cloud\DiscoveryEngine\V1\Document>

The Documents.

↳ next_page_token string

A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getDocuments

The Documents.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDocuments

The Documents.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1\Document>
Returns
Type Description
$this

getNextPageToken

A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this