Google Cloud Discovery Engine V1beta Client - Class ListDocumentsResponse (0.4.0)

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

Response message for DocumentService.ListDocuments method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ documents array<Google\Cloud\DiscoveryEngine\V1beta\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDocuments

The Documents.

Parameter
NameDescription
var array<Google\Cloud\DiscoveryEngine\V1beta\Document>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this