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
Name Description
data array

Optional. Data for populating the Message object.

↳ purge_succeeded bool

Whether the completion suggestions were successfully purged.

↳ error_samples array<Google\Rpc\Status>

A sample of errors encountered while processing the request.

getPurgeSucceeded

Whether the completion suggestions were successfully purged.

Returns
Type Description
bool

setPurgeSucceeded

Whether the completion suggestions were successfully purged.

Parameter
Name Description
var bool
Returns
Type Description
$this

getErrorSamples

A sample of errors encountered while processing the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this