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

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

Response message for CompletionService.PurgeCompletionSuggestions method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ purge_succeededbool

Whether the completion suggestions were successfully purged.

↳ error_samplesarray<Google\Rpc\Status>

A sample of errors encountered while processing the request.

getPurgeSucceeded

Whether the completion suggestions were successfully purged.

Returns
TypeDescription
bool

setPurgeSucceeded

Whether the completion suggestions were successfully purged.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getErrorSamples

A sample of errors encountered while processing the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Parameter
NameDescription
vararray<Google\Rpc\Status>
Returns
TypeDescription
$this