Google Cloud Discovery Engine V1beta Client - Class InlineSource (0.11.3)

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

The inline source for the input config for ImportDocuments method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ ImportDocumentsRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ documents array<Google\Cloud\DiscoveryEngine\V1beta\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
Type Description
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
Name Description
var array<Google\Cloud\DiscoveryEngine\V1beta\Document>
Returns
Type Description
$this