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

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

The inline source for CompletionSuggestions.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ ImportCompletionSuggestionsRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ suggestions array<Google\Cloud\DiscoveryEngine\V1\CompletionSuggestion>

Required. A list of all denylist entries to import. Max of 1000 items.

getSuggestions

Required. A list of all denylist entries to import. Max of 1000 items.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSuggestions

Required. A list of all denylist entries to import. Max of 1000 items.

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