Google Cloud Discovery Engine V1 Client - Class InlineSource (0.6.0)

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

The inline source for the input config for ImportDocuments method.

Generated from protobuf message google.cloud.discoveryengine.v1.ImportDocumentsRequest.InlineSource

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ ImportDocumentsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ documentsarray<Google\Cloud\DiscoveryEngine\V1\Document>

Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.

getDocuments

Required. A list of documents to update/create. Each document must have a valid Document.id.

Recommended max of 100 items.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDocuments

Required. A list of documents to update/create. Each document must have a valid Document.id.

Recommended max of 100 items.

Parameter
NameDescription
vararray<Google\Cloud\DiscoveryEngine\V1\Document>
Returns
TypeDescription
$this